]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Account for alloca use when collecting interface addresses (bug 16002)
[thirdparty/glibc.git] / ChangeLog
CommitLineData
44152e4b
AS
12014-03-24 Andreas Schwab <schwab@suse.de>
2
3 [BZ #16002]
4 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5 alloca_account and account alloca use for struct in6ailist.
6
b376a11a
JM
72014-03-24 Joseph Myers <joseph@codesourcery.com>
8
9 [BZ #16284]
10 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11 rounding mode to recompute results that overflow to infinity or
12 underflow to zero.
13 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14 bug 16284.
15 * math/auto-libm-test-out: Regenerated.
16 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17 (ccosh_test): Likewise.
18 (csin_test_data): Use plus_oflow.
19 (csin_test): Use ALL_RM_TEST.
20 (csinh_test_data): Use plus_oflow.
21 (csinh_test): Use ALL_RM_TEST.
22 * sysdeps/i386/fpu/libm-test-ulps: Update.
23 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24
f7be7376
JM
252014-03-21 Joseph Myers <joseph@codesourcery.com>
26
1ca2d03e
JM
27 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30
f7be7376
JM
31 [BZ #16731]
32 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33 when x - 1 is zero.
34 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38 argument is 1.
39 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
40 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
41 zero.
42 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43 * sysdeps/i386/fpu/libm-test-ulps: Update.
44 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45
fdf4534d
SP
462014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47
df26ea53
SP
48 * scripts/bench.pl: Remove file.
49 * scripts/bench.py: New benchmark script.
50 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
51 * benchtests/README: Mention python dependency.
52 * scripts/pylintrc: New file.
53 * scripts/pylint: New file.
54
fdf4534d
SP
55 * bits/mathdef.h: Use #ifdef instead of #if.
56 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
57 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
58 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
59 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
60 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
61 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
62
6f23d093
AZ
632014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
65
66 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
67 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
68 and strpbrk-ppc64 objects.
69 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
70 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
71 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
72 multiarch strpbrk for POWER7.
73 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
74 multiarch strpbrk for PPC64.
75 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
76 ifunc selector.
77 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
78 strpbrk for POWER7.
79
8c92dfff
JM
802014-03-20 Joseph Myers <joseph@codesourcery.com>
81
82 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
83 (atan_test): Likewise.
84 (atanh_test_data): Use NO_TEST_INLINE for two tests.
85 (atanh_test): Use ALL_RM_TEST.
86 (atan2_test_data): Likewise.
87 (cabs_test): Likewise.
88 (cacosh_test): Likewise.
89 (carg_test): Likewise.
90 (casin_test): Likewise.
91 (casinh_test): Likewise.
92 (cbrt_test): Likewise.
93 (csqrt_test): Likewise.
94 (erf_test): Likewise.
95 (erfc_test): Likewise.
96 (pow10_test): Likewise.
97 (exp2_test): Likewise.
98 (hypot_test): Likewise.
99 (j0_test): Likewise.
100 (j1_test): Likewise.
101 (lgamma_test): Likewise.
102 (gamma_test): Likewise.
103 (sincos_test): Likewise.
104 (tanh_test): Likewise.
105 (y0_test): Likewise.
106 (y1_test): Likewise.
107 * sysdeps/i386/fpu/libm-test-ulps: Update.
108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
109
6eaf95cb
AZ
1102014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
111
a387428c
SP
112 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
114 and strcspn-ppc64 objects.
115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
116 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
117 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
118 multiarch strcspn for POWER7.
119 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
120 multiarch strcspn for PPC64.
121 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
122 ifunc selector.
123 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
124 strcspn for POWER7.
125
ae3a5dff
JM
1262014-03-20 Joseph Myers <joseph@codesourcery.com>
127
128 * math/gen-libm-test.pl (generate_testfile): Expect only function
129 name as argument to AUTO_TESTS_* and pass results for all rounding
130 modes to parse_args.
131 (parse_auto_input): Separate inputs of automatic tests from
132 outputs before storing in %auto_tests.
133 * math/libm-test.inc (acos_test_data): Update call to
134 AUTO_TESTS_f_f.
135 (acos_test): Use ALL_RM_TEST.
136 (acos_tonearest_test_data): Remove.
137 (acos_test_tonearest): Likewise.
138 (acos_towardzero_test_data): Likewise.
139 (acos_test_towardzero): Likewise.
140 (acos_downward_test_data): Likewise.
141 (acos_test_downward): Likewise.
142 (acos_upward_test_data): Likewise.
143 (acos_test_upward): Likewise.
144 (acosh_test_data): Update call to AUTO_TESTS_f_f.
145 (asin_test_data): Likewise.
146 (asin_test): Use ALL_RM_TEST.
147 (asin_tonearest_test_data): Remove.
148 (asin_test_tonearest): Likewise.
149 (asin_towardzero_test_data): Likewise.
150 (asin_test_towardzero): Likewise.
151 (asin_downward_test_data): Likewise.
152 (asin_test_downward): Likewise.
153 (asin_upward_test_data): Likewise.
154 (asin_test_upward): Likewise.
155 (asinh_test_data): Update call to AUTO_TESTS_f_f.
156 (atan_test_data): Likewise.
157 (atanh_test_data): Likewise.
158 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
159 (cabs_test_data): Update call to AUTO_TESTS_c_f.
160 (carg_test_data): Likewise.
161 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
162 (ccos_test_data): Update call to AUTO_TESTS_c_c.
163 (ccosh_test_data): Likewise.
164 (cexp_test_data): Likewise.
165 (clog_test_data): Likewise.
166 (clog10_test_data): Likewise.
167 (cos_test_data): Update call to AUTO_TESTS_f_f.
168 (cos_test): Use ALL_RM_TEST.
169 (cos_tonearest_test_data): Remove.
170 (cos_test_tonearest): Likewise.
171 (cos_towardzero_test_data): Likewise.
172 (cos_test_towardzero): Likewise.
173 (cos_downward_test_data): Likewise.
174 (cos_test_downward): Likewise.
175 (cos_upward_test_data): Likewise.
176 (cos_test_upward): Likewise.
177 (cosh_test_data): Update call to AUTO_TESTS_f_f.
178 (cosh_test): Use ALL_RM_TEST.
179 (cosh_tonearest_test_data): Remove.
180 (cosh_test_tonearest): Likewise.
181 (cosh_towardzero_test_data): Likewise.
182 (cosh_test_towardzero): Likewise.
183 (cosh_downward_test_data): Likewise.
184 (cosh_test_downward): Likewise.
185 (cosh_upward_test_data): Likewise.
186 (cosh_test_upward): Likewise.
187 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
188 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
189 (ctan_test_data): Likewise.
190 (ctan_test): Use ALL_RM_TEST.
191 (ctan_tonearest_test_data): Remove.
192 (ctan_test_tonearest): Likewise.
193 (ctan_towardzero_test_data): Likewise.
194 (ctan_test_towardzero): Likewise.
195 (ctan_downward_test_data): Likewise.
196 (ctan_test_downward): Likewise.
197 (ctan_upward_test_data): Likewise.
198 (ctan_test_upward): Likewise.
199 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
200 (ctanh_test): Use ALL_RM_TEST.
201 (ctanh_tonearest_test_data): Remove.
202 (ctanh_test_tonearest): Likewise.
203 (ctanh_towardzero_test_data): Likewise.
204 (ctanh_test_towardzero): Likewise.
205 (ctanh_downward_test_data): Likewise.
206 (ctanh_test_downward): Likewise.
207 (ctanh_upward_test_data): Likewise.
208 (ctanh_test_upward): Likewise.
209 (erf_test_data): Update call to AUTO_TESTS_f_f.
210 (erfc_test_data): Likewise.
211 (exp_test_data): Likewise.
212 (exp_test): Use ALL_RM_TEST.
213 (exp_tonearest_test_data): Remove.
214 (exp_test_tonearest): Likewise.
215 (exp_towardzero_test_data): Likewise.
216 (exp_test_towardzero): Likewise.
217 (exp_downward_test_data): Likewise.
218 (exp_test_downward): Likewise.
219 (exp_upward_test_data): Likewise.
220 (exp_test_upward): Likewise.
221 (exp10_test_data): Update call to AUTO_TESTS_f_f.
222 (exp10_test): Use ALL_RM_TEST.
223 (exp10_tonearest_test_data): Remove.
224 (exp10_test_tonearest): Likewise.
225 (exp10_towardzero_test_data): Likewise.
226 (exp10_test_towardzero): Likewise.
227 (exp10_downward_test_data): Likewise.
228 (exp10_test_downward): Likewise.
229 (exp10_upward_test_data): Likewise.
230 (exp10_test_upward): Likewise.
231 (exp2_test_data): Update call to AUTO_TESTS_f_f.
232 (expm1_test_data): Likewise.
233 (expm1_test): Use ALL_RM_TEST.
234 (expm1_tonearest_test_data): Remove.
235 (expm1_test_tonearest): Likewise.
236 (expm1_towardzero_test_data): Likewise.
237 (expm1_test_towardzero): Likewise.
238 (expm1_downward_test_data): Likewise.
239 (expm1_test_downward): Likewise.
240 (expm1_upward_test_data): Likewise.
241 (expm1_test_upward): Likewise.
242 (fma_test_data): Update call to AUTO_TESTS_fff_f.
243 (fma_test): Use ALL_RM_TEST.
244 (fma_towardzero_test_data): Remove.
245 (fma_test_towardzero): Likewise.
246 (fma_downward_test_data): Likewise.
247 (fma_test_downward): Likewise.
248 (fma_upward_test_data): Likewise.
249 (fma_test_upward): Likewise.
250 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
251 (j0_test_data): Update call to AUTO_TESTS_f_f.
252 (j1_test_data): Likewise.
253 (jn_test_data): Update call to AUTO_TESTS_if_f.
254 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
255 (log_test_data): Update call to AUTO_TESTS_f_f.
256 (log10_test_data): Likewise.
257 (log1p_test_data): Likewise.
258 (log2_test_data): Likewise.
259 (pow_test_data): Update call to AUTO_TESTS_ff_f.
260 (pow_tonearest_test_data): Likewise.
261 (sin_test_data): Update call to AUTO_TESTS_f_f.
262 (sin_test): Use ALL_RM_TEST.
263 (sin_tonearest_test_data): Remove.
264 (sin_test_tonearest): Likewise.
265 (sin_towardzero_test_data): Likewise.
266 (sin_test_towardzero): Likewise.
267 (sin_downward_test_data): Likewise.
268 (sin_test_downward): Likewise.
269 (sin_upward_test_data): Likewise.
270 (sin_test_upward): Likewise.
271 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
272 (sinh_test_data): Update call to AUTO_TESTS_f_f.
273 (sinh_test): Use ALL_RM_TEST.
274 (sinh_tonearest_test_data): Remove.
275 (sinh_test_tonearest): Likewise.
276 (sinh_towardzero_test_data): Likewise.
277 (sinh_test_towardzero): Likewise.
278 (sinh_downward_test_data): Likewise.
279 (sinh_test_downward): Likewise.
280 (sinh_upward_test_data): Likewise.
281 (sinh_test_upward): Likewise.
282 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
283 (sqrt_test): Use ALL_RM_TEST.
284 (sqrt_tonearest_test_data): Remove.
285 (sqrt_test_tonearest): Likewise.
286 (sqrt_towardzero_test_data): Likewise.
287 (sqrt_test_towardzero): Likewise.
288 (sqrt_downward_test_data): Likewise.
289 (sqrt_test_downward): Likewise.
290 (sqrt_upward_test_data): Likewise.
291 (sqrt_test_upward): Likewise.
292 (tan_test_data): Update call to AUTO_TESTS_f_f.
293 (tan_test): Use ALL_RM_TEST.
294 (tan_tonearest_test_data): Remove.
295 (tan_test_tonearest): Likewise.
296 (tan_towardzero_test_data): Likewise.
297 (tan_test_towardzero): Likewise.
298 (tan_downward_test_data): Likewise.
299 (tan_test_downward): Likewise.
300 (tan_upward_test_data): Likewise.
301 (tan_test_upward): Likewise.
302 (tanh_test_data): Update call to AUTO_TESTS_f_f.
303 (tgamma_test_data): Likewise.
304 (y0_test_data): Likewise.
305 (y1_test_data): Likewise.
306 (yn_test_data): Update call to AUTO_TESTS_if_f.
307 (main): Do not call removed functions.
308
d71aeee8
JM
3092014-03-19 Joseph Myers <joseph@codesourcery.com>
310
311 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
312 (ldexp_test_data): Remove.
313 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
314 scalbn_test_data.
315 (scalb_test): Use ALL_RM_TEST.
316
baaf1ded
AS
3172014-03-19 Andreas Schwab <schwab@suse.de>
318
319 * nscd/nscd.service: Also invalidate netgroup cache on reload.
320
b1115e91
JM
3212014-03-19 Joseph Myers <joseph@codesourcery.com>
322
323 [BZ #16649]
324 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
325 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
326 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
327 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
328 (__ASSUME_PREADV): Undefine.
329 (__ASSUME_PWRITEV): Likewise.
330
0283ecca
RM
3312014-03-18 Roland McGrath <roland@hack.frob.com>
332
7d375303
RM
333 * bits/mman-linux.h: Add comment about non-Linux use.
334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
335 bits/mman-linux.h resting place.
336
0283ecca
RM
337 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
338 * bits/mman-linux.h: ... here.
339
aebe1003
AZ
3402014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
341
342 * conform/conformtest.pl: Add standard definition when calling C
343 preprocessor on data files.
344 (checknamespace): Remove unused variable.
345
b29b6bb8
JM
3462014-03-18 Joseph Myers <joseph@codesourcery.com>
347
348 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
349 minus_oflow, plus_uflow and minus_uflow in expected results.
350 * math/libm-test.inc (scalbn_test_data): Add more tests of
351 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
352 minus_uflow.
353 (scalbn_test): Use ALL_RM_TEST.
354 (scalbln_test_data): Add more tests of negative arguments. Use
355 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
356 (scalbln_test): Use ALL_RM_TEST.
357
c8f8fa15
RM
3582014-03-18 Roland McGrath <roland@hack.frob.com>
359
360 * scripts/abilist.awk: Ignore symbols marked with .hidden.
361
fede7a5f
WN
3622014-03-18 Will Newton <will.newton@linaro.org>
363
364 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
365 inaccurate comment.
366
80cf0a58
JM
3672014-03-18 Joseph Myers <joseph@codesourcery.com>
368
369 * Makerules [!subdir] (check-abi): Exit with error status if a
370 test failed.
371
b3620862
JM
3722014-03-17 Joseph Myers <joseph@codesourcery.com>
373
374 * math/libm-test.inc (nearbyint_test_data): Include all tests used
375 for rint. Include results for all rounding modes.
376 (nearbyint_test): Use ALL_RM_TEST.
377 (rint_test_data): Include all tests used for nearbyint.
378
788bba36
WN
3792014-03-17 Will Newton <will.newton@linaro.org>
380
04ec140a
WN
381 * nptl/sysdeps/pthread/pthread.h: Revert previous
382 change.
383
7579d8d5
WN
384 * sysdeps/generic/ldsodefs.h: Revert previous
385 change.
386
c15cf13a
WN
387 * libio/genops.c: Revert previous change.
388 * libio/libioP.h: Likewise.
389 * stdio-common/vfprintf.c: Likewise.
390
d0ac1324
WN
391 * sysdeps/generic/math_private.h: Revert previous
392 change.
393
9290130a
WN
394 * sysdeps/generic/math_private.h: Check whether
395 HAVE_RM_CTX is defined with #ifdef rather
396 than #if.
397
afb466fc
WN
398 * argp/argp-fmtstream.h: Check whether
399 __STRICT_ANSI__ is defined with #ifdef rather
400 than #if.
401 * argp/argp.h: Likewise.
402
f7efd7c3
WN
403 * libio/genops.c: Check whether
404 _IO_JUMPS_OFFSET is defined with #ifdef rather
405 than #if.
406 * libio/libioP.h: Likewise.
407 * stdio-common/vfprintf.c: Likewise.
408
53f1bed3
WN
409 * sysdeps/generic/ldsodefs.h: Check whether
410 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
411 than #if.
412
788bba36
WN
413 * nptl/sysdeps/pthread/pthread.h: Check
414 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
415 its value.
416
fcd89ebe
SP
4172014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
418
ae42bbc5
SP
419 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
420 setting O_APPEND.
421 * libio/tst-ftell-active-handler.c (do_append_test): Add a
422 test case.
423
ea33158c
SP
424 [BZ #16680]
425 * libio/fileops.c (_IO_file_open): Seek to end of file but
426 don't cache the offset.
427 (get_file_offset): Remove function.
428 (do_ftell): Use cached offset when available.
429 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
430 don't cache the offset.
431 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
432 case.
433 (do_one_test): Call it.
434 (do_ftell_test): Fix up expected old offset for a+ mode.
435 * libio/wfileops.c (do_ftell_wide): Used cached offset when
436 available.
437
b1dbb426
SP
438 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
439 up test status with function return status.
440 (do_write_test): Likewise.
441 (do_append_test): Likewise.
442
fcd89ebe
SP
443 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
444 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
445 Remove.
446
9962a2d3
JM
4472014-03-17 Joseph Myers <joseph@codesourcery.com>
448
449 * math/gen-libm-test.pl (parse_args): Handle results specified for
450 each rounding mode separately.
451 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
452 tests and results from lrint_tonearest_test_data,
453 lrint_towardzero_test_data, lrint_downward_test_data and
454 lrint_upward_test_data.
455 (lrint_test): Use ALL_RM_TEST.
456 (lrint_tonearest_test_data): Remove.
457 (lrint_test_tonearest): Likewise.
458 (lrint_towardzero_test_data): Likewise.
459 (lrint_test_towardzero): Likewise.
460 (lrint_downward_test_data): Likewise.
461 (lrint_test_downward): Likewise.
462 (lrint_upward_test_data): Likewise.
463 (lrint_test_upward): Likewise.
464 (llrint_test_data): Merge in per-rounding-mode tests and results
465 from llrint_tonearest_test_data, llrint_towardzero_test_data,
466 llrint_downward_test_data and llrint_upward_test_data.
467 (llrint_test): Use ALL_RM_TEST.
468 (llrint_tonearest_test_data): Remove.
469 (llrint_test_tonearest): Likewise.
470 (llrint_towardzero_test_data): Likewise.
471 (llrint_test_towardzero): Likewise.
472 (llrint_downward_test_data): Likewise.
473 (llrint_test_downward): Likewise.
474 (llrint_upward_test_data): Likewise.
475 (llrint_test_upward): Likewise.
476 (rint_test_data): Merge in per-rounding-mode tests and results
477 from rint_tonearest_test_data, rint_towardzero_test_data,
478 rint_downward_test_data and rint_upward_test_data. Add
479 per-rounding-mode results for tests not in those arrays.
480 (rint_test): Use ALL_RM_TEST.
481 (rint_tonearest_test_data): Remove.
482 (rint_test_tonearest): Likewise.
483 (rint_towardzero_test_data): Likewise.
484 (rint_test_towardzero): Likewise.
485 (rint_downward_test_data): Likewise.
486 (rint_test_downward): Likewise.
487 (rint_upward_test_data): Likewise.
488 (rint_test_upward): Likewise.
489 (main): Don't call removed functions.
490
5006148e
RM
4912014-03-14 Roland McGrath <roland@hack.frob.com>
492
493 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
494 "Compiled on ..." crapola. It is anti-useful.
495
d6fe5e58
JM
4962014-03-14 Joseph Myers <joseph@codesourcery.com>
497
498 * scripts/evaluate-test.sh: Handle fourth argument to determine
499 whether test run should stop on failure.
500 * Makeconfig (stop-on-test-failure): New variable.
501 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
502 $(stop-on-test-failure).
503 * Makefile (tests): Give a summary of results from testing and
504 exit with failure status if they include an ERROR or FAIL.
505 (xtests): Likewise.
506 * manual/install.texi (Configuring and compiling): Mention
507 stop-on-test-failure=y.
508 * INSTALL: Regenerated.
509
498a2233
RM
5102014-03-14 Roland McGrath <roland@hack.frob.com>
511
22dbc19d
RM
512 * scripts/versionlist.awk: New file.
513 * Makerules [$(build-shared) = yes]
514 (postclean-generated): Add Versions.def, not Versions.def.v and
515 Versions.def.v.i.
516 ($(common-objpfx)Versions.def.v.i): Target removed.
517 ($(common-objpfx)Versions.def): New target.
518 ($(common-objpfx)Versions.all): Depend on that rather that
519 $(common-objpfx)Versions.def.v.
520 * Versions.def: File removed.
521
498a2233
RM
522 * Makeconfig (+gccwarn): Add -Wundef.
523 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
524 a dl-sysdep.h breaking its contract.
525 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
526 * include/stackinfo.h: New file.
527 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
528 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
529 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
530 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
531 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
532 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
533 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
534 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
535 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
536 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
537 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
538 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
539 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
540 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
541 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
542
c7de5025
AZ
5432014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
544
545 [BZ #16707]
546 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
547 implementation.
548 * math/libm-test.inc (round_test_data): Add more tests.
549
98fb27a3
AZ
5502014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
551
552 [BZ #16706]
553 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
554 implementation.
555 * math/libm-test.inc (nearbyint_test_data): Add more tests.
556
374f7f61
AZ
5572014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
558
559 [BZ #16701]
560 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
561 implementation.
562 * math/libm-test.inc (ceil_test_data): Add more tests.
563
4655c291
AZ
5642014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
565
566 * math/libm-test.inc (trunc_test_data): Add more tests related to
567 BZ#16414.
568
d7329d4b
RM
5692014-03-14 Roland McGrath <roland@hack.frob.com>
570
571 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
572 with #if rather than #ifdef.
573 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
574
aa4de9ce
L
5752014-03-14 H.J. Lu <hongjiu.lu@intel.com>
576
577 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
578 first. Disable AVX-512 GCC support if assembler doesn't support
579 it.
580 * sysdeps/x86_64/configure: Regenerated.
581
2e03fae7
CD
5822014-03-13 Carlos O'Donell <carlos@redhat.com>
583
584 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
585 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
586 (__old_pthread_attr_setstack): Likewise.
587 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
588 [!_STACK_GROWS_DOWN]: Likewise.
589
43ca83ec
MF
5902014-03-13 Mike Frysinger <vapier@gentoo.org>
591
592 * config.make.in (have-bash2): Delete.
593 * configure.ac (libc_cv_have_bash2): Delete.
594 * configure: Regenerate.
595 * elf/Makefile (common-ldd-rewrite): Rename to ...
596 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
597 (sh-ldd-rewrite): Delete.
598 (bash-ldd-rewrite): Delete.
599 (have-bash2): Delete checks.
600 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
601
c66e48b4
MF
6022014-03-13 Mike Frysinger <vapier@gentoo.org>
603
604 * config.make.in (have-ksh): Delete.
605 (KSH): Delete.
606 * configure.ac (libc_cv_have_ksh): Delete.
607 * configure: Regenerate.
608
b93834ef
MF
6092014-03-13 Mike Frysinger <vapier@gentoo.org>
610
611 * elf/Makefile: Delete $(have-ksh) check.
612 ($(objpfx)sotruss): Change KSH to BASH.
613 * elf/sotruss.ksh: Rename to ...
614 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
615 function style to match POSIX. Drop ksh vim mode setting.
616
f3a4632a
MF
6172014-03-13 Mike Frysinger <vapier@gentoo.org>
618
619 * manual/time.texi (Specifying the Time Zone with TZ): Change
620 Tuesday to Thursday.
621
5896c8bd
MF
6222014-03-13 Mike Frysinger <vapier@gentoo.org>
623
624 * debug/tst-longjmp_chk2.c: Update header comment.
625 (stackoverflow_handler): Add comment. Call assert on pass value.
626
2d63a517
IZ
6272014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
628
629 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
630 (HAVE_AVX512_ASM_SUPPORT): Likewise.
631 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
632 (La_x86_64_vector): Add zmm.
633 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
634 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
635 ($(objpfx)tst-audit10): New target.
636 ($(objpfx)tst-audit10.out): Likewise.
637 (tst-audit10-ENV): New.
638 (AVX512-CFLAGS): Likewise.
639 (CFLAGS-tst-audit10.c): Likewise.
640 (CFLAGS-tst-auditmod10a.c): Likewise.
641 (CFLAGS-tst-auditmod10b.c): Likewise.
642 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
643 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
644 * sysdeps/x86_64/configure: Regenerated.
645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
646 AVX-512 zmm register support.
647 (_dl_x86_64_save_sse): Likewise.
648 (_dl_x86_64_restore_sse): Likewise.
649 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
650 size vector registers.
651 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
652 (ZMM_SIZE): Likewise.
653 * sysdeps/x86_64/tst-audit10.c: New file.
654 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
655 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
656
44c4e5d5
RM
6572014-03-13 Roland McGrath <roland@hack.frob.com>
658
659 * configure.ac (HAVE_EHDR_START): New check.
660 * configure: Regenerated.
661 * config.h.in (HAVE_EHDR_START): New #undef.
662 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
663 assuming the lowest-addressed segment maps the start of the file.
664
acd6e389
JM
6652014-03-13 Joseph Myers <joseph@codesourcery.com>
666
667 * INSTALL: Regenerated.
668
6f918f36
WN
6692014-03-13 Will Newton <will.newton@linaro.org>
670
671 * manual/setjmp.texi (System V contexts): Improve
672 clarity and grammar of documentation.
673
798212a0
PP
6742014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
675
676 [BZ #16381]
798212a0 677 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 678 (tests-pie): Add tst-pie2.
798212a0
PP
679 * elf/tst-pie2.c: New file.
680 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
681 for ET_EXEC.
682 * elf/rtld.c (map_doit): Load executable as lt_executable.
683 (dl_main): Likewise.
684
abe6d90c
JM
6852014-03-12 Joseph Myers <joseph@codesourcery.com>
686
687 [BZ #16642]
688 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
689 (__ASSUME_PSELECT): Undefine.
690
dd3946c6
AZ
6912014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692
693 [BZ #16689]
694 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
695 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
696 static build.
697 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
698 selector for static builds.
699
c44496df
SP
7002014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
701
702 [BZ #16695]
703 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
704 key in the buffer.
705
27c7220a
AZ
7062014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
707
708 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
709 selector for static builds.
710
600fa361
JM
7112014-03-11 Joseph Myers <joseph@codesourcery.com>
712
76c96cf7
JM
713 * sysdeps/mips/math_private.h [__mips_hard_float]
714 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
715 libc_feresetround_mips_ctx.
716 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
717 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
718 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
719
600fa361
JM
720 [BZ #16677]
721 * math/s_nextafter.c (__nextafter): Do not return value from
722 overflowing computation.
723 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
724 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
725 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
726 Likewise.
727 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
728 Likewise.
729 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
730 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
731
d7706c32
RM
7322014-03-11 Roland McGrath <roland@hack.frob.com>
733
734 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
735 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
736 Move sfi_sp use from the load-multiple (that no longer sets sp) to
737 the new mov targetting sp.
738
4facea47
AZ
7392014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
740
741 [BZ #16683]
742 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
743 Define it for static builds as well.
744 (NO_BZERO_IMPL): Likewise.
745
e65caf1f
VR
7462014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
747
748 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
749 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
750 multiarch strspn for PPC64.
751 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
752 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
754 (__libc_ifunc_impl_list): Likewise.
755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
756 multiarch optimizations
757 * string/strspn.c (strspn): Using macro to redefine symbol name.
758
ba9cc071
AZ
7592014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
760 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
761
762 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
763 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
764 multiarch strncat for PPC64.
765 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
766 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
768 (__libc_ifunc_impl_list): Likewise.
769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
770 multiarch optimizations
771
8b4ff974
SP
7722014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
773
774 [BZ #16639]
775 * nscd/nscd.service: Make service type forking.
776
54b46a4b
AZ
7772014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
778
779 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
780 sign in non default rounding modes.
781 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
782
e9996ef7
JM
7832014-03-08 Joseph Myers <joseph@codesourcery.com>
784
785 * math/libm-test.inc (ALL_RM_TEST): New macro.
786 (ceil_test): Use ALL_RM_TEST.
787 (cimag_test): Likewise.
788 (conj_test): Likewise.
789 (copysign_test): Likewise.
790 (cproj_test): Likewise.
791 (creal_test): Likewise.
792 (fabs_test): Likewise.
793 (floor_test): Likewise.
794 (fmax_test): Likewise.
795 (fmin_test): Likewise.
796 (fmod_test): Likewise.
797 (fpclassify_test): Likewise.
798 (frexp_test): Likewise.
799 (ilogb_test): Likewise.
800 (isfinite_test): Likewise.
801 (finite_test): Likewise.
802 (isgreater_test): Likewise.
803 (isgreaterequal_test): Likewise.
804 (isinf_test): Likewise.
805 (isless_test): Likewise.
806 (islessequal_test): Likewise.
807 (islessgreater_test): Likewise.
808 (isnan_test): Likewise.
809 (isnormal_test): Likewise.
810 (issignaling_test): Likewise.
811 (isunordered_test): Likewise.
812 (logb_test): Likewise.
813 (logb_downward_test_data): Remove.
814 (logb_test_downward): Likewise.
815 (lround_test): Use ALL_RM_TEST.
816 (llround_test): Likewise.
817 (modf_test): Likewise.
818 (nexttoward_test): Likewise.
819 (remainder_test): Likewise.
820 (drem_test): Likewise.
821 (remainder_tonearest_test_data): Likewise.
822 (remainder_test_tonearest): Likewise.
823 (drem_test_tonearest): Likewise.
824 (remainder_towardzero_test_data): Likewise.
825 (remainder_test_towardzero): Likewise.
826 (drem_test_towardzero): Likewise.
827 (remainder_downward_test_data): Likewise.
828 (remainder_test_downward): Likewise.
829 (drem_test_downward): Likewise.
830 (remainder_upward_test_data): Likewise.
831 (remainder_test_upward): Likewise.
832 (drem_test_upward): Likewise.
833 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
834 (round_test): Use ALL_RM_TEST.
835 (signbit_test): Likewise.
836 (trunc_test): Likewise.
837 (significand_test): Likewise.
838 (main): Don't call removed functions.
839
bc61d27c
JM
8402014-03-07 Joseph Myers <joseph@codesourcery.com>
841
5c780849
JM
842 [BZ #16674]
843 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
844 || __USE_XOPEN2K8].
845 (ILL_ILLOPN): Likewise.
846 (ILL_ILLADR): Likewise.
847 (ILL_ILLTRP): Likewise.
848 (ILL_PRVOPC): Likewise.
849 (ILL_PRVREG): Likewise.
850 (ILL_COPROC): Likewise.
851 (ILL_BADSTK): Likewise.
852 (FPE_INTDIV): Likewise.
853 (FPE_INTOVF): Likewise.
854 (FPE_FLTDIV): Likewise.
855 (FPE_FLTOVF): Likewise.
856 (FPE_FLTUND): Likewise.
857 (FPE_FLTRES): Likewise.
858 (FPE_FLTINV): Likewise.
859 (FPE_FLTSUB): Likewise.
860 (SEGV_MAPERR): Likewise.
861 (SEGV_ACCERR): Likewise.
862 (BUS_ADRALN): Likewise.
863 (BUS_ADRERR): Likewise.
864 (BUS_OBJERR): Likewise.
865 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
866 (TRAP_TRACE): Likewise.
867 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
868 __USE_XOPEN2K8].
869 (CLD_KILLED): Likewise.
870 (CLD_DUMPED): Likewise.
871 (CLD_TRAPPED): Likewise.
872 (CLD_STOPPED): Likewise.
873 (CLD_CONTINUED): Likewise.
874 (POLL_IN): Likewise.
875 (POLL_OUT): Likewise.
876 (POLL_MSG): Likewise.
877 (POLL_ERR): Likewise.
878 (POLL_PRI): Likewise.
879 (POLL_HUP): Likewise.
880 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
881 Likewise.
882 (ILL_ILLOPN): Likewise.
883 (ILL_ILLADR): Likewise.
884 (ILL_ILLTRP): Likewise.
885 (ILL_PRVOPC): Likewise.
886 (ILL_PRVREG): Likewise.
887 (ILL_COPROC): Likewise.
888 (ILL_BADSTK): Likewise.
889 (FPE_INTDIV): Likewise.
890 (FPE_INTOVF): Likewise.
891 (FPE_FLTDIV): Likewise.
892 (FPE_FLTOVF): Likewise.
893 (FPE_FLTUND): Likewise.
894 (FPE_FLTRES): Likewise.
895 (FPE_FLTINV): Likewise.
896 (FPE_FLTSUB): Likewise.
897 (SEGV_MAPERR): Likewise.
898 (SEGV_ACCERR): Likewise.
899 (BUS_ADRALN): Likewise.
900 (BUS_ADRERR): Likewise.
901 (BUS_OBJERR): Likewise.
902 (BUS_MCEERR_AR): Likewise.
903 (BUS_MCEERR_AO): Likewise.
904 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
905 (TRAP_TRACE): Likewise.
906 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
907 __USE_XOPEN2K8].
908 (CLD_KILLED): Likewise.
909 (CLD_DUMPED): Likewise.
910 (CLD_TRAPPED): Likewise.
911 (CLD_STOPPED): Likewise.
912 (CLD_CONTINUED): Likewise.
913 (POLL_IN): Likewise.
914 (POLL_OUT): Likewise.
915 (POLL_MSG): Likewise.
916 (POLL_ERR): Likewise.
917 (POLL_PRI): Likewise.
918 (POLL_HUP): Likewise.
919 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
920 (ILL_ILLOPN): Likewise.
921 (ILL_ILLADR): Likewise.
922 (ILL_ILLTRP): Likewise.
923 (ILL_PRVOPC): Likewise.
924 (ILL_PRVREG): Likewise.
925 (ILL_COPROC): Likewise.
926 (ILL_BADSTK): Likewise.
927 (FPE_INTDIV): Likewise.
928 (FPE_INTOVF): Likewise.
929 (FPE_FLTDIV): Likewise.
930 (FPE_FLTOVF): Likewise.
931 (FPE_FLTUND): Likewise.
932 (FPE_FLTRES): Likewise.
933 (FPE_FLTINV): Likewise.
934 (FPE_FLTSUB): Likewise.
935 (SEGV_MAPERR): Likewise.
936 (SEGV_ACCERR): Likewise.
937 (BUS_ADRALN): Likewise.
938 (BUS_ADRERR): Likewise.
939 (BUS_OBJERR): Likewise.
940 (BUS_MCEERR_AR): Likewise.
941 (BUS_MCEERR_AO): Likewise.
942 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
943 (TRAP_TRACE): Likewise.
944 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
945 __USE_XOPEN2K8].
946 (CLD_KILLED): Likewise.
947 (CLD_DUMPED): Likewise.
948 (CLD_TRAPPED): Likewise.
949 (CLD_STOPPED): Likewise.
950 (CLD_CONTINUED): Likewise.
951 (POLL_IN): Likewise.
952 (POLL_OUT): Likewise.
953 (POLL_MSG): Likewise.
954 (POLL_ERR): Likewise.
955 (POLL_PRI): Likewise.
956 (POLL_HUP): Likewise.
957 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
958 Likewise.
959 (ILL_ILLOPN): Likewise.
960 (ILL_ILLADR): Likewise.
961 (ILL_ILLTRP): Likewise.
962 (ILL_PRVOPC): Likewise.
963 (ILL_PRVREG): Likewise.
964 (ILL_COPROC): Likewise.
965 (ILL_BADSTK): Likewise.
966 (ILL_BADIADDR): Likewise.
967 (ILL_BREAK): Likewise.
968 (FPE_INTDIV): Likewise.
969 (FPE_INTOVF): Likewise.
970 (FPE_FLTDIV): Likewise.
971 (FPE_FLTOVF): Likewise.
972 (FPE_FLTUND): Likewise.
973 (FPE_FLTRES): Likewise.
974 (FPE_FLTINV): Likewise.
975 (FPE_FLTSUB): Likewise.
976 (FPE_DECOVF): Likewise.
977 (FPE_DECDIV): Likewise.
978 (FPE_DECERR): Likewise.
979 (FPE_INVASC): Likewise.
980 (FPE_INVDEC): Likewise.
981 (SEGV_MAPERR): Likewise.
982 (SEGV_ACCERR): Likewise.
983 (SEGV_PSTKOVF): Likewise.
984 (BUS_ADRALN): Likewise.
985 (BUS_ADRERR): Likewise.
986 (BUS_OBJERR): Likewise.
987 (BUS_MCEERR_AR): Likewise.
988 (BUS_MCEERR_AO): Likewise.
989 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
990 (TRAP_TRACE): Likewise.
991 (TRAP_BRANCH): Likewise.
992 (TRAP_HWBKPT): Likewise.
993 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
994 __USE_XOPEN2K8].
995 (CLD_KILLED): Likewise.
996 (CLD_DUMPED): Likewise.
997 (CLD_TRAPPED): Likewise.
998 (CLD_STOPPED): Likewise.
999 (CLD_CONTINUED): Likewise.
1000 (POLL_IN): Likewise.
1001 (POLL_OUT): Likewise.
1002 (POLL_MSG): Likewise.
1003 (POLL_ERR): Likewise.
1004 (POLL_PRI): Likewise.
1005 (POLL_HUP): Likewise.
1006 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1007 (ILL_ILLOPN): Likewise.
1008 (ILL_ILLADR): Likewise.
1009 (ILL_ILLTRP): Likewise.
1010 (ILL_PRVOPC): Likewise.
1011 (ILL_PRVREG): Likewise.
1012 (ILL_COPROC): Likewise.
1013 (ILL_BADSTK): Likewise.
1014 (FPE_INTDIV): Likewise.
1015 (FPE_INTOVF): Likewise.
1016 (FPE_FLTDIV): Likewise.
1017 (FPE_FLTOVF): Likewise.
1018 (FPE_FLTUND): Likewise.
1019 (FPE_FLTRES): Likewise.
1020 (FPE_FLTINV): Likewise.
1021 (FPE_FLTSUB): Likewise.
1022 (SEGV_MAPERR): Likewise.
1023 (SEGV_ACCERR): Likewise.
1024 (BUS_ADRALN): Likewise.
1025 (BUS_ADRERR): Likewise.
1026 (BUS_OBJERR): Likewise.
1027 (BUS_MCEERR_AR): Likewise.
1028 (BUS_MCEERR_AO): Likewise.
1029 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1030 (TRAP_TRACE): Likewise.
1031 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1032 __USE_XOPEN2K8].
1033 (CLD_KILLED): Likewise.
1034 (CLD_DUMPED): Likewise.
1035 (CLD_TRAPPED): Likewise.
1036 (CLD_STOPPED): Likewise.
1037 (CLD_CONTINUED): Likewise.
1038 (POLL_IN): Likewise.
1039 (POLL_OUT): Likewise.
1040 (POLL_MSG): Likewise.
1041 (POLL_ERR): Likewise.
1042 (POLL_PRI): Likewise.
1043 (POLL_HUP): Likewise.
1044 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1045 (ILL_ILLOPN): Likewise.
1046 (ILL_ILLADR): Likewise.
1047 (ILL_ILLTRP): Likewise.
1048 (ILL_PRVOPC): Likewise.
1049 (ILL_PRVREG): Likewise.
1050 (ILL_COPROC): Likewise.
1051 (ILL_BADSTK): Likewise.
1052 (FPE_INTDIV): Likewise.
1053 (FPE_INTOVF): Likewise.
1054 (FPE_FLTDIV): Likewise.
1055 (FPE_FLTOVF): Likewise.
1056 (FPE_FLTUND): Likewise.
1057 (FPE_FLTRES): Likewise.
1058 (FPE_FLTINV): Likewise.
1059 (FPE_FLTSUB): Likewise.
1060 (SEGV_MAPERR): Likewise.
1061 (SEGV_ACCERR): Likewise.
1062 (BUS_ADRALN): Likewise.
1063 (BUS_ADRERR): Likewise.
1064 (BUS_OBJERR): Likewise.
1065 (BUS_MCEERR_AR): Likewise.
1066 (BUS_MCEERR_AO): Likewise.
1067 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1068 (TRAP_TRACE): Likewise.
1069 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1070 __USE_XOPEN2K8].
1071 (CLD_KILLED): Likewise.
1072 (CLD_DUMPED): Likewise.
1073 (CLD_TRAPPED): Likewise.
1074 (CLD_STOPPED): Likewise.
1075 (CLD_CONTINUED): Likewise.
1076 (POLL_IN): Likewise.
1077 (POLL_OUT): Likewise.
1078 (POLL_MSG): Likewise.
1079 (POLL_ERR): Likewise.
1080 (POLL_PRI): Likewise.
1081 (POLL_HUP): Likewise.
1082 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1083 (ILL_ILLOPN): Likewise.
1084 (ILL_ILLADR): Likewise.
1085 (ILL_ILLTRP): Likewise.
1086 (ILL_PRVOPC): Likewise.
1087 (ILL_PRVREG): Likewise.
1088 (ILL_COPROC): Likewise.
1089 (ILL_BADSTK): Likewise.
1090 (FPE_INTDIV): Likewise.
1091 (FPE_INTOVF): Likewise.
1092 (FPE_FLTDIV): Likewise.
1093 (FPE_FLTOVF): Likewise.
1094 (FPE_FLTUND): Likewise.
1095 (FPE_FLTRES): Likewise.
1096 (FPE_FLTINV): Likewise.
1097 (FPE_FLTSUB): Likewise.
1098 (SEGV_MAPERR): Likewise.
1099 (SEGV_ACCERR): Likewise.
1100 (BUS_ADRALN): Likewise.
1101 (BUS_ADRERR): Likewise.
1102 (BUS_OBJERR): Likewise.
1103 (BUS_MCEERR_AR): Likewise.
1104 (BUS_MCEERR_AO): Likewise.
1105 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1106 (TRAP_TRACE): Likewise.
1107 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1108 __USE_XOPEN2K8].
1109 (CLD_KILLED): Likewise.
1110 (CLD_DUMPED): Likewise.
1111 (CLD_TRAPPED): Likewise.
1112 (CLD_STOPPED): Likewise.
1113 (CLD_CONTINUED): Likewise.
1114 (POLL_IN): Likewise.
1115 (POLL_OUT): Likewise.
1116 (POLL_MSG): Likewise.
1117 (POLL_ERR): Likewise.
1118 (POLL_PRI): Likewise.
1119 (POLL_HUP): Likewise.
1120 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1121 (ILL_ILLOPN): Likewise.
1122 (ILL_ILLADR): Likewise.
1123 (ILL_ILLTRP): Likewise.
1124 (ILL_PRVOPC): Likewise.
1125 (ILL_PRVREG): Likewise.
1126 (ILL_COPROC): Likewise.
1127 (ILL_BADSTK): Likewise.
1128 (ILL_DBLFLT): Likewise.
1129 (ILL_HARDWALL): Likewise.
1130 (FPE_INTDIV): Likewise.
1131 (FPE_INTOVF): Likewise.
1132 (FPE_FLTDIV): Likewise.
1133 (FPE_FLTOVF): Likewise.
1134 (FPE_FLTUND): Likewise.
1135 (FPE_FLTRES): Likewise.
1136 (FPE_FLTINV): Likewise.
1137 (FPE_FLTSUB): Likewise.
1138 (SEGV_MAPERR): Likewise.
1139 (SEGV_ACCERR): Likewise.
1140 (BUS_ADRALN): Likewise.
1141 (BUS_ADRERR): Likewise.
1142 (BUS_OBJERR): Likewise.
1143 (BUS_MCEERR_AR): Likewise.
1144 (BUS_MCEERR_AO): Likewise.
1145 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1146 (TRAP_TRACE): Likewise.
1147 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1148 __USE_XOPEN2K8].
1149 (CLD_KILLED): Likewise.
1150 (CLD_DUMPED): Likewise.
1151 (CLD_TRAPPED): Likewise.
1152 (CLD_STOPPED): Likewise.
1153 (CLD_CONTINUED): Likewise.
1154 (POLL_IN): Likewise.
1155 (POLL_OUT): Likewise.
1156 (POLL_MSG): Likewise.
1157 (POLL_ERR): Likewise.
1158 (POLL_PRI): Likewise.
1159 (POLL_HUP): Likewise.
1160 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1161 (ILL_ILLOPN): Likewise.
1162 (ILL_ILLADR): Likewise.
1163 (ILL_ILLTRP): Likewise.
1164 (ILL_PRVOPC): Likewise.
1165 (ILL_PRVREG): Likewise.
1166 (ILL_COPROC): Likewise.
1167 (ILL_BADSTK): Likewise.
1168 (FPE_INTDIV): Likewise.
1169 (FPE_INTOVF): Likewise.
1170 (FPE_FLTDIV): Likewise.
1171 (FPE_FLTOVF): Likewise.
1172 (FPE_FLTUND): Likewise.
1173 (FPE_FLTRES): Likewise.
1174 (FPE_FLTINV): Likewise.
1175 (FPE_FLTSUB): Likewise.
1176 (SEGV_MAPERR): Likewise.
1177 (SEGV_ACCERR): Likewise.
1178 (BUS_ADRALN): Likewise.
1179 (BUS_ADRERR): Likewise.
1180 (BUS_OBJERR): Likewise.
1181 (BUS_MCEERR_AR): Likewise.
1182 (BUS_MCEERR_AO): Likewise.
1183 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1184 (TRAP_TRACE): Likewise.
1185 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1186 __USE_XOPEN2K8].
1187 (CLD_KILLED): Likewise.
1188 (CLD_DUMPED): Likewise.
1189 (CLD_TRAPPED): Likewise.
1190 (CLD_STOPPED): Likewise.
1191 (CLD_CONTINUED): Likewise.
1192 (POLL_IN): Likewise.
1193 (POLL_OUT): Likewise.
1194 (POLL_MSG): Likewise.
1195 (POLL_ERR): Likewise.
1196 (POLL_PRI): Likewise.
1197 (POLL_HUP): Likewise.
1198 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1199 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1200
bc61d27c
JM
1201 [BZ #16670]
1202 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1203 before #include of <time.h>.
1204 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1205 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1206 (test-xfail-UNIX98/sched.h/conform): Likewise.
1207
302949e2
MS
12082014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1209
1210 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1211 error absence of trapping exception support.
1212 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1213
a00f522a
JM
12142014-03-07 Joseph Myers <joseph@codesourcery.com>
1215
6f99f280
JM
1216 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1217 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1218 * timezone/Makefile (testdata): Move definition above include of
1219 Rules.
1220 (test-zones): New variable.
1221 (tests-special): Add zone files.
1222 (build-testdata): Use $(evaluate-test).
1223
0b20a9e8
JM
1224 * elf/Makefile (tests-special): Rename tests to end with .out.
1225 ($(objpfx)noload-mem): Likewise.
1226 ($(objpfx)tst-leaks1-mem): Likewise.
1227 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1228 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1229 $(objpfx)test-iconvconfig.out.
1230 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1231 set -e inside subshell and redirect output to file.
1232 * iconvdata/Makefile (generated): Rename tests to end with .out.
1233 Correct type.
1234 (tests-special): Rename tests to end with .out.
1235 ($(objpfx)mtrace-tst-loading): Likewise.
1236 * intl/Makefile (generated): Likewise.
1237 (tests-special): Likewise.
1238 ($(objpfx)mtrace-tst-gettext): Likewise.
1239 * misc/Makefile (generated): Likewise.
1240 (tests-special): Likewise.
1241 ($(objpfx)tst-error1-mem): Likewise.
1242 * nptl/Makefile (tests-special): Likewise.
1243 ($(objpfx)tst-stack3-mem): Likewise.
1244 (generated): Likewise.
1245 * posix/Makefile (generated): Likewise.
1246 (tests-special): Likewise.
1247 (xtests-special): Likewise.
1248 ($(objpfx)tst-fnmatch-mem): Likewise.
1249 ($(objpfx)bug-regex2-mem): Likewise.
1250 ($(objpfx)bug-regex14-mem): Likewise.
1251 ($(objpfx)bug-regex21-mem): Likewise.
1252 ($(objpfx)bug-regex31-mem): Likewise.
1253 ($(objpfx)tst-vfork3-mem): Likewise.
1254 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1255 ($(objpfx)tst-pcre-mem): Likewise.
1256 ($(objpfx)tst-boost-mem): Likewise.
1257 ($(objpfx)bug-ga2-mem): Likewise.
1258 ($(objpfx)bug-glob2-mem): Likewise.
1259 * resolv/Makefile (generate): Likewise.
1260 (tests-special): Likewise.
1261 (xtests-special): Likewise.
1262 (generated): Likewise.
1263 ($(objpfx)mtrace-tst-leaks): Likewise.
1264 ($(objpfx)mtrace-tst-leaks2): Likewise.
1265
265d52ab
JM
1266 * scripts/merge-test-results.sh: New file.
1267 * Makefile (tests-special-notdir): New variable.
1268 (tests): Run merge-test-results.sh.
1269 (xtests): Likewise.
1270 * Rules (tests-special-notdir): New variable.
1271 (xtests-special-notdir): Likewise.
1272 (tests): Run merge-test-results.sh
1273 (xtests): Likewise.
1274
54ee292d
JM
1275 * Makeconfig (test-xfail-name): New variable.
1276 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1277 compute variable name for expected failures.
1278 * conform/Makefile (conformtest-headers-data): New variable.
1279 (conformtest-standards): Likewise.
1280 (conformtest-headers-ISO): Likewise.
1281 (conformtest-headers-ISO99): Likewise.
1282 (conformtest-headers-ISO11): Likewise.
1283 (conformtest-headers-POSIX): Likewise.
1284 (conformtest-headers-XPG3): Likewise.
1285 (conformtest-headers-XPG4): Likewise.
1286 (conformtest-headers-UNIX98): Likewise.
1287 (conformtest-headers-XOPEN2K): Likewise.
1288 (conformtest-headers-POSIX2008): Likewise.
1289 (conformtest-headers-XOPEN2K8): Likewise.
1290 (conformtest-header-list-base): Likewise.
1291 (conformtest-header-list-tests): Likewise.
1292 (conformtest-header-base): Likewise.
1293 (conformtest-header-tests): Likewise.
1294 (tests-special): Add $(conformtest-header-list-tests). If
1295 [$(fast-check) && !$(cross-compiling)], add
1296 $(conformtest-header-tests) instead of
1297 $(objpfx)run-conformtest.out.
1298 (generated): Add $(conformtest-header-list-base). If
1299 [$(fast-check) && !$(cross-compiling)], add
1300 $(conformtest-header-base). Remove previous setting.
1301 ($(conformtest-header-list-tests)): New target.
1302 (test-xfail-run-conformtest): Remove variable.
1303 ($(objpfx)run-conformtest.out): Remove target.
1304 (test-xfail-ISO11/complex.h/conform): New variable.
1305 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1306 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1307 (test-xfail-XPG3/varargs.h/conform): Likewise.
1308 (test-xfail-XPG4/varargs.h/conform): Likewise.
1309 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1310 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1311 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1312 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1313 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1314 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1315 (test-xfail-XPG3/ftw.h/conform): Likewise.
1316 (test-xfail-XPG3/grp.h/conform): Likewise.
1317 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1318 (test-xfail-XPG3/limits.h/conform): Likewise.
1319 (test-xfail-XPG3/pwd.h/conform): Likewise.
1320 (test-xfail-XPG3/search.h/conform): Likewise.
1321 (test-xfail-XPG3/signal.h/conform): Likewise.
1322 (test-xfail-XPG3/stdio.h/conform): Likewise.
1323 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1324 (test-xfail-XPG3/string.h/conform): Likewise.
1325 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1326 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1327 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1328 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1329 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1330 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1331 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1332 (test-xfail-XPG3/termios.h/conform): Likewise.
1333 (test-xfail-XPG3/time.h/conform): Likewise.
1334 (test-xfail-XPG3/unistd.h/conform): Likewise.
1335 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1336 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1337 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1338 (test-xfail-XPG4/netdb.h/conform): Likewise.
1339 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1340 (test-xfail-XPG4/signal.h/conform): Likewise.
1341 (test-xfail-XPG4/stdio.h/conform): Likewise.
1342 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1343 (test-xfail-XPG4/stropts.h/conform): Likewise.
1344 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1345 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1346 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1347 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1348 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1349 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1350 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1351 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1352 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1353 (test-xfail-XPG4/termios.h/conform): Likewise.
1354 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1355 (test-xfail-XPG4/unistd.h/conform): Likewise.
1356 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1357 (test-xfail-POSIX/sched.h/conform): Likewise.
1358 (test-xfail-POSIX/signal.h/conform): Likewise.
1359 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1360 (test-xfail-POSIX/tar.h/conform): Likewise.
1361 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1362 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1363 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1364 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1365 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1366 (test-xfail-UNIX98/sched.h/conform): Likewise.
1367 (test-xfail-UNIX98/signal.h/conform): Likewise.
1368 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1369 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1370 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1371 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1372 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1373 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1374 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1375 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1376 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1377 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1378 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1379 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1380 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1381 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1382 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1383 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1384 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1385 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1386 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1387 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1388 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1389 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1390 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1391 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1392 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1393 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1394 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1395 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1396 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1397 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1398 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1399 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1400 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1401 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1402 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1403 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1404 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1405 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1406 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1407 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1408 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1409 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1410 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1411 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1412 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1413 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1414 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1415 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1416 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1417 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1418 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1419 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1420 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1421 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1422 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1423 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1424 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1425 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1426 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1427 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1428 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1429 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1430 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1431 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1432 (conformtest-cc-flags): Likewise.
1433 ($(conformtest-header-tests): New target.
1434 * conform/check-header-lists.sh: New file.
1435 * conform/run-conformtest.sh: Remove.
1436
a00f522a
JM
1437 * conform/conformtest.pl: Allow ' and \ in values given for
1438 constants.
1439 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1440 inclusion.
1441 [POSIX] (sys/types.h): Likewise.
1442 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1443 inclusion.
1444 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1445 inclusion.
1446 * conform/data/signal.h-data (SIGIO): Remove expectation.
1447 [XPG3] (SIGBUS): Do not expect.
1448 [POSIX || XPG3] (SIGPOLL): Likewise.
1449 [POSIX || XPG3] (SIGPROF): Likewise.
1450 [POSIX || XPG3] (SIGSYS): Likewise.
1451 [XPG3] (SIGTRAP): Likewise.
1452 [POSIX || XPG3] (SIGURG): Likewise.
1453 [POSIX || XPG3] (SIGVTALRM): Likewise.
1454 [POSIX || XPG3] (SIGXCPU): Likewise.
1455 [POSIX || XPG3] (SIGXFSZ): Likewise.
1456 [POSIX] (SA_SIGINFO): Expect.
1457 [XPG3] (siginfo_t): Do not expect type or contents.
1458 [POSIX] (si_pid): Do not expect element.
1459 [POSIX] (si_uid): Likewise.
1460 [POSIX] (si_addr): Likewise.
1461 [POSIX] (si_status): Likewise.
1462 [POSIX] (si_band): Likewise.
1463 [XPG4] (si_value): Likewise.
1464 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1465 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1466 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1467 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1468 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1469 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1470 [POSIX || XPG3] (ILL_COPROC): Likewise.
1471 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1472 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1473 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1474 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1475 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1476 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1477 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1478 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1479 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1480 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1481 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1482 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1483 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1484 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1485 [POSIX || XPG3] (CLD_EXITED): Likewise.
1486 [POSIX || XPG3] (CLD_KILLED): Likewise.
1487 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1488 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1489 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1490 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1491 [POSIX || XPG3] (POLL_IN): Likewise.
1492 [POSIX || XPG3] (POLL_OUT): Likewise.
1493 [POSIX || XPG3] (POLL_MSG): Likewise.
1494 [POSIX || XPG3] (POLL_ERR): Likewise.
1495 [POSIX || XPG3] (POLL_PRI): Likewise.
1496 [POSIX || XPG3] (POLL_HUP): Likewise.
1497 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1498 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1499 (SIG*): Do not allow.
1500 [XPG3] (si_*): Likewise.
1501 [XPG3] (SI_*): Likewise.
1502 [XPG3 || XPG4] (sigev_*): Likewise.
1503 [XPG3 || XPG4] (SIGEV_*): Likewise.
1504 [XPG3 || XPG4] (sival_*): Likewise.
1505 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1506 [POSIX || XPG3] (BUS_*): Likewise.
1507 [POSIX || XPG3] (CLD_*): Likewise.
1508 [POSIX || XPG3] (FPE_*): Likewise.
1509 [POSIX || XPG3] (ILL_*): Likewise.
1510 [POSIX || XPG3] (POLL_*): Likewise.
1511 [POSIX || XPG3] (SEGV_*): Likewise.
1512 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1513 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1514 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1515 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1516 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1517 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1518 Specify type and value.
1519 (TVERSLEN): Likewise.
1520 (REGTYPE): Likewise.
1521 (AREGTYPE): Likewise.
1522 (LNKTYPE): Likewise.
1523 (SYMTYPE): Likewise.
1524 (CHRTYPE): Likewise.
1525 (BLKTYPE): Likewise.
1526 (DIRTYPE): Likewise.
1527 (FIFOTYPE): Likewise.
1528 (CONTTYPE): Likewise.
1529 (TSUID): Likewise.
1530 (TSGID): Likewise.
1531 (TSVTX): Likewise.
1532 (TUREAD): Likewise.
1533 (TUWRITE): Likewise.
1534 (TUEXEC): Likewise.
1535 (TGREAD): Likewise.
1536 (TGWRITE): Likewise.
1537 (TGEXEC): Likewise.
1538 (TOREAD): Likewise.
1539 (TOWRITE): Likewise.
1540 (TOEXEC): Likewise.
1541 [POSIX] (TSVTX): Expect constant.
1542
aa97dee1
JM
15432014-03-06 Joseph Myers <joseph@codesourcery.com>
1544
f214606a
JM
1545 * Makefile (tests): Change dependencies to ....
1546 (tests-special): ... additions to this variable.
1547 (tests): Depend on $(tests-special).
1548 * Makerules (check-abi-list): New variable.
1549 (check-abi): Depend on $(check-abi-list).
1550 [$(subdir) = elf] (tests-special): Add
1551 $(objpfx)check-abi-libc.out.
1552 [$(build-shared) = yes && subdir] (tests-special): Add
1553 $(check-abi-list).
1554 [$(build-shared) = yes && subdir] (tests): Do not depend on
1555 check-abi.
1556 * Rules (tests): Depend on $(tests-special).
1557 (xtests): Depend on $(xtests-special).
1558 * catgets/Makefile (tests): Change dependencies to ....
1559 (tests-special): ... additions to this variable.
1560 * conform/Makefile (tests): Change dependencies to ....
1561 (tests-special): ... additions to this variable.
1562 * elf/Makefile (tests): Change dependencies to ....
1563 (tests-special): ... additions to this variable.
1564 * grp/Makefile (tests): Change dependencies to ....
1565 (tests-special): ... additions to this variable.
1566 * iconv/Makefile (xtests): Change dependencies to ....
1567 (xtests-special): ... additions to this variable.
1568 * iconvdata/Makefile (tests): Change dependencies to ....
1569 (tests-special): ... additions to this variable.
1570 * intl/Makefile (tests): Change dependencies to ....
1571 (tests-special): ... additions to this variable. Also add
1572 $(objpfx)tst-gettext.out.
1573 * io/Makefile (tests): Change dependencies to ....
1574 (tests-special): ... additions to this variable.
1575 * libio/Makefile (tests): Change dependencies to ....
1576 (tests-special): ... additions to this variable.
1577 * malloc/Makefile (tests): Change dependencies to ....
1578 (tests-special): ... additions to this variable.
1579 * misc/Makefile (tests): Change dependencies to ....
1580 (tests-special): ... additions to this variable.
1581 * nptl/Makefile (tests): Change dependencies to ....
1582 (tests-special): ... additions to this variable.
1583 * nptl_db/Makefile (tests): Change dependencies to ....
1584 (tests-special): ... additions to this variable.
1585 * posix/Makefile (tests): Change dependencies to ....
1586 (tests-special): ... additions to this variable.
1587 (xtests): Change dependencies to ....
1588 (xtests-special): ... additions to this variable.
1589 * resolv/Makefile (tests): Change dependencies to ....
1590 (tests-special): ... additions to this variable.
1591 (xtests): Change dependencies to ....
1592 (xtests-special): ... additions to this variable.
1593 * stdio-common/Makefile (tests): Change dependencies to ....
1594 (tests-special): ... additions to this variable.
1595 (do-tst-unbputc): Remove target.
1596 (do-tst-printf): Likewise.
1597 * stdlib/Makefile (tests): Change dependencies to ....
1598 (tests-special): ... additions to this variable.
1599 * string/Makefile (tests): Change dependencies to ....
1600 (tests-special): ... additions to this variable.
1601 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1602 (tests-special): ... additions to this variable.
1603
81700b53
JM
1604 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1605 whole file.
1606 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1607 whole file.
1608 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1609 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1610
2ea18461
JM
1611 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1612 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1613 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1614 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1615 * conform/data/libgen.h-data [XPG3]: Likewise.
1616 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1617 * conform/data/ndbm.h-data [XPG3]: Likewise.
1618 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1619 * conform/data/netdb.h-data [XPG3]: Likewise.
1620 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1621 * conform/data/poll.h-data [XPG3]: Likewise.
1622 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1623 * conform/data/strings.h-data [XPG3]: Likewise.
1624 * conform/data/stropts.h-data [XPG3]: Likewise.
1625 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1626 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1627 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1628 Likewise.
1629 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1630 * conform/data/sys/time.h-data [XPG3]: Likewise.
1631 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1632 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1633 * conform/data/sys/un.h-data [XPG3]: Likewise.
1634 * conform/data/syslog.h-data [XPG3]: Likewise.
1635 * conform/data/ucontext.h-data [XPG3]: Likewise.
1636 * conform/data/utmpx.h-data [XPG3]: Likewise.
1637 * conform/data/varargs.h-data [UNIX98]: Enable file.
1638
355bc986
JM
1639 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1640
215db402
JM
1641 * math/libm-test.inc (struct test_f_f_data): Move expected results
1642 into structure for each rounding mode.
1643 (struct test_ff_f_data): Likewise.
1644 (struct test_ff_f_data_nexttoward): Likewise.
1645 (struct test_fi_f_data): Likewise.
1646 (struct test_fl_f_data): Likewise.
1647 (struct test_if_f_data): Likewise.
1648 (struct test_fff_f_data): Likewise.
1649 (struct test_c_f_data): Likewise.
1650 (struct test_f_f1_data): Likewise.
1651 (struct test_fF_f1_data): Likewise.
1652 (struct test_ffI_f1_data): Likewise.
1653 (struct test_c_c_data): Likewise.
1654 (struct test_cc_c_data): Likewise.
1655 (struct test_f_i_data): Likewise.
1656 (struct test_ff_i_data): Likewise.
1657 (struct test_f_l_data): Likewise.
1658 (struct test_f_L_data): Likewise.
1659 (struct test_fFF_11_data): Likewise.
1660 (RM_): New macro.
1661 (RM_FE_DOWNWARD): Likewise.
1662 (RM_FE_TONEAREST): Likewise.
1663 (RM_FE_TOWARDZERO): Likewise.
1664 (RM_FE_UPWARD): Likewise.
1665 (RUN_TEST_LOOP_f_f): Update references to expected results.
1666 (RUN_TEST_LOOP_2_f): Likewise.
1667 (RUN_TEST_LOOP_fff_f): Likewise.
1668 (RUN_TEST_LOOP_c_f): Likewise.
1669 (RUN_TEST_LOOP_f_f1): Likewise.
1670 (RUN_TEST_LOOP_fF_f1): Likewise.
1671 (RUN_TEST_LOOP_fI_f1): Likewise.
1672 (RUN_TEST_LOOP_ffI_f1): Likewise.
1673 (RUN_TEST_LOOP_c_c): Likewise.
1674 (RUN_TEST_LOOP_cc_c): Likewise.
1675 (RUN_TEST_LOOP_f_i): Likewise.
1676 (RUN_TEST_LOOP_f_i_tg): Likewise.
1677 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1678 (RUN_TEST_LOOP_f_b): Likewise.
1679 (RUN_TEST_LOOP_f_b_tg): Likewise.
1680 (RUN_TEST_LOOP_f_l): Likewise.
1681 (RUN_TEST_LOOP_f_L): Likewise.
1682 (RUN_TEST_LOOP_fFF_11): Likewise.
1683 * math/gen-libm-test.pl (parse_args): Output four copies of
1684 expected results for each test.
1685
67737b8f
JM
1686 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1687 (__ASSUME_UTIMES): Remove.
1688 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1689 (__ASSUME_UTIMES): Likewise.
1690
aa97dee1
JM
1691 * math/gen-auto-libm-tests.c: Update comment on output format.
1692 (output_for_one_input_case): Generate before-rounding and
1693 after-rounding information as conditions on output flags not
1694 floating-point format.
1695 * math/auto-libm-test-out: Regenerated.
1696 * math/gen-libm-test.pl (cond_value): New function.
1697 (or_cond_value): Use cond_value.
1698 (generate_testfile): Handle conditional exceptions.
1699
e6b6a857
JM
17002014-03-05 Joseph Myers <joseph@codesourcery.com>
1701
2f0a0f44
JM
1702 * math/libm-test.inc (max_valid_error): New variable.
1703 (init_max_error): Take new argument specifying whether function
1704 results are exactly determined. Set max_valid_error and bound
1705 other variables for errors based on this argument.
1706 (set_max_error): Do not record results above max_valid_error.
1707 (check_float_internal): Only accept errors of up to 0.5ulps if
1708 also at most max_valid_error.
1709 (START): Take new argument EXACT and pass it to init_max_error.
1710 (acos_test): Update call to START.
1711 (acos_test_tonearest): Likewise.
1712 (acos_test_towardzero): Likewise.
1713 (acos_test_downward): Likewise.
1714 (acos_test_upward): Likewise.
1715 (acosh_test): Likewise.
1716 (asin_test): Likewise.
1717 (asin_test_tonearest): Likewise.
1718 (asin_test_towardzero): Likewise.
1719 (asin_test_downward): Likewise.
1720 (asin_test_upward): Likewise.
1721 (asinh_test): Likewise.
1722 (atan_test): Likewise.
1723 (atanh_test): Likewise.
1724 (atan2_test): Likewise.
1725 (cabs_test): Likewise.
1726 (cacos_test): Likewise.
1727 (cacosh_test): Likewise.
1728 (carg_test): Likewise.
1729 (casin_test): Likewise.
1730 (casinh_test): Likewise.
1731 (catan_test): Likewise.
1732 (catanh_test): Likewise.
1733 (cbrt_test): Likewise.
1734 (ccos_test): Likewise.
1735 (ccosh_test): Likewise.
1736 (ceil_test): Likewise.
1737 (cexp_test): Likewise.
1738 (cimag_test): Likewise.
1739 (clog_test): Likewise.
1740 (clog10_test): Likewise.
1741 (conj_test): Likewise.
1742 (copysign_test): Likewise.
1743 (cos_test): Likewise.
1744 (cos_test_tonearest): Likewise.
1745 (cos_test_towardzero): Likewise.
1746 (cos_test_downward): Likewise.
1747 (cos_test_upward): Likewise.
1748 (cosh_test): Likewise.
1749 (cosh_test_tonearest): Likewise.
1750 (cosh_test_towardzero): Likewise.
1751 (cosh_test_downward): Likewise.
1752 (cosh_test_upward): Likewise.
1753 (cpow_test): Likewise.
1754 (cproj_test): Likewise.
1755 (creal_test): Likewise.
1756 (csin_test): Likewise.
1757 (csinh_test): Likewise.
1758 (csqrt_test): Likewise.
1759 (ctan_test): Likewise.
1760 (ctan_test_tonearest): Likewise.
1761 (ctan_test_towardzero): Likewise.
1762 (ctan_test_downward): Likewise.
1763 (ctan_test_upward): Likewise.
1764 (ctanh_test): Likewise.
1765 (ctanh_test_tonearest): Likewise.
1766 (ctanh_test_towardzero): Likewise.
1767 (ctanh_test_downward): Likewise.
1768 (ctanh_test_upward): Likewise.
1769 (erf_test): Likewise.
1770 (erfc_test): Likewise.
1771 (exp_test): Likewise.
1772 (exp_test_tonearest): Likewise.
1773 (exp_test_towardzero): Likewise.
1774 (exp_test_downward): Likewise.
1775 (exp_test_upward): Likewise.
1776 (exp10_test): Likewise.
1777 (exp10_test_tonearest): Likewise.
1778 (exp10_test_towardzero): Likewise.
1779 (exp10_test_downward): Likewise.
1780 (exp10_test_upward): Likewise.
1781 (pow10_test): Likewise.
1782 (exp2_test): Likewise.
1783 (expm1_test): Likewise.
1784 (expm1_test_tonearest): Likewise.
1785 (expm1_test_towardzero): Likewise.
1786 (expm1_test_downward): Likewise.
1787 (expm1_test_upward): Likewise.
1788 (fabs_test): Likewise.
1789 (fdim_test): Likewise.
1790 (floor_test): Likewise.
1791 (fma_test): Likewise.
1792 (fma_test_towardzero): Likewise.
1793 (fma_test_downward): Likewise.
1794 (fma_test_upward): Likewise.
1795 (fmax_test): Likewise.
1796 (fmin_test): Likewise.
1797 (fmod_test): Likewise.
1798 (fpclassify_test): Likewise.
1799 (frexp_test): Likewise.
1800 (hypot_test): Likewise.
1801 (ilogb_test): Likewise.
1802 (isfinite_test): Likewise.
1803 (finite_test): Likewise.
1804 (isgreater_test): Likewise.
1805 (isgreaterequal_test): Likewise.
1806 (isinf_test): Likewise.
1807 (isless_test): Likewise.
1808 (islessequal_test): Likewise.
1809 (islessgreater_test): Likewise.
1810 (isnan_test): Likewise.
1811 (isnormal_test): Likewise.
1812 (issignaling_test): Likewise.
1813 (isunordered_test): Likewise.
1814 (j0_test): Likewise.
1815 (j1_test): Likewise.
1816 (jn_test): Likewise.
1817 (ldexp_test): Likewise.
1818 (lgamma_test): Likewise.
1819 (gamma_test): Likewise.
1820 (lrint_test): Likewise.
1821 (lrint_test_tonearest): Likewise.
1822 (lrint_test_towardzero): Likewise.
1823 (lrint_test_downward): Likewise.
1824 (lrint_test_upward): Likewise.
1825 (llrint_test): Likewise.
1826 (llrint_test_tonearest): Likewise.
1827 (llrint_test_towardzero): Likewise.
1828 (llrint_test_downward): Likewise.
1829 (llrint_test_upward): Likewise.
1830 (log_test): Likewise.
1831 (log10_test): Likewise.
1832 (log1p_test): Likewise.
1833 (log2_test): Likewise.
1834 (logb_test): Likewise.
1835 (logb_test_downward): Likewise.
1836 (lround_test): Likewise.
1837 (llround_test): Likewise.
1838 (modf_test): Likewise.
1839 (nearbyint_test): Likewise.
1840 (nextafter_test): Likewise.
1841 (nexttoward_test): Likewise.
1842 (pow_test): Likewise.
1843 (pow_test_tonearest): Likewise.
1844 (pow_test_towardzero): Likewise.
1845 (pow_test_downward): Likewise.
1846 (pow_test_upward): Likewise.
1847 (remainder_test): Likewise.
1848 (drem_test): Likewise.
1849 (remainder_test_tonearest): Likewise.
1850 (drem_test_tonearest): Likewise.
1851 (remainder_test_towardzero): Likewise.
1852 (drem_test_towardzero): Likewise.
1853 (remainder_test_downward): Likewise.
1854 (drem_test_downward): Likewise.
1855 (remainder_test_upward): Likewise.
1856 (drem_test_upward): Likewise.
1857 (remquo_test): Likewise.
1858 (rint_test): Likewise.
1859 (rint_test_tonearest): Likewise.
1860 (rint_test_towardzero): Likewise.
1861 (rint_test_downward): Likewise.
1862 (rint_test_upward): Likewise.
1863 (round_test): Likewise.
1864 (scalb_test): Likewise.
1865 (scalbn_test): Likewise.
1866 (scalbln_test): Likewise.
1867 (signbit_test): Likewise.
1868 (sin_test): Likewise.
1869 (sin_test_tonearest): Likewise.
1870 (sin_test_towardzero): Likewise.
1871 (sin_test_downward): Likewise.
1872 (sin_test_upward): Likewise.
1873 (sincos_test): Likewise.
1874 (sinh_test): Likewise.
1875 (sinh_test_tonearest): Likewise.
1876 (sinh_test_towardzero): Likewise.
1877 (sinh_test_downward): Likewise.
1878 (sinh_test_upward): Likewise.
1879 (sqrt_test): Likewise.
1880 (sqrt_test_tonearest): Likewise.
1881 (sqrt_test_towardzero): Likewise.
1882 (sqrt_test_downward): Likewise.
1883 (sqrt_test_upward): Likewise.
1884 (tan_test): Likewise.
1885 (tan_test_tonearest): Likewise.
1886 (tan_test_towardzero): Likewise.
1887 (tan_test_downward): Likewise.
1888 (tan_test_upward): Likewise.
1889 (tanh_test): Likewise.
1890 (tgamma_test): Likewise.
1891 (trunc_test): Likewise.
1892 (y0_test): Likewise.
1893 (y1_test): Likewise.
1894 (yn_test): Likewise.
1895 (significand_test): Likewise.
1896
e6b6a857
JM
1897 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1898 individual tests in comment.
1899 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1900 (prev_max_error): New variable.
1901 (prev_real_max_error): Likewise.
1902 (prev_imag_max_error): Likewise.
1903 (compare_ulp_data): Don't refer to test names in comment.
1904 (find_test_ulps): Remove function.
1905 (find_function_ulps): Likewise.
1906 (find_complex_function_ulps): Likewise.
1907 (init_max_error): Take function name as argument. Look up ulps
1908 for that function.
1909 (print_ulps): Remove function.
1910 (print_max_error): Use prev_max_error instead of calling
1911 find_function_ulps.
1912 (print_complex_max_error): Use prev_real_max_error and
1913 prev_imag_max_error instead of calling find_complex_function_ulps.
1914 (check_float_internal): Take max_ulp parameter instead of calling
1915 find_test_ulps. Don't call print_ulps.
1916 (check_float): Update call to check_float_internal.
1917 (check_complex): Update calls to check_float_internal.
1918 (START): Pass argument to init_max_error.
1919 * math/gen-libm-test.pl (%results): Don't include "kind"
1920 information.
1921 (parse_ulps): Don't handle ulps of individual tests.
1922 (print_ulps_file): Likewise.
1923 (output_ulps): Likewise.
1924 * math/README.libm-test: Update.
1925 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1926 individual tests.
1927 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1928 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1929 * sysdeps/arm/libm-test-ulps: Likewise.
1930 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1931 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1932 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1933 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1934 * sysdeps/microblaze/libm-test-ulps: Likewise.
1935 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1936 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1937 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1938 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1939 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1940 * sysdeps/sh/libm-test-ulps: Likewise.
1941 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1942 * sysdeps/tile/libm-test-ulps: Likewise.
1943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1944
45adef3c
JM
19452014-03-04 Joseph Myers <joseph@codesourcery.com>
1946
1947 * math/libm-test.inc (print_complex_max_error): Check separately
1948 whether real and imaginary errors are within allowed range and
1949 pass 0 to print_complex_function_ulps instead of value within
1950 allowed range.
1951
000232b9
SP
19522014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1953
d4b17258
SP
1954 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1955 formatting.
1956 (get_handles_fopen): Likewise.
1957 (do_write_test): Likewise.
1958
091eff71
SP
1959 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1960
fa3cd248
SP
1961 * libio/fileops.c (do_ftell): Use cached offset when
1962 available.
1963 * libio/iofwide.c (do_ftell_wide): Likewise.
1964 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1965 _IO_file_attach.
1966 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1967
000232b9
SP
1968 [BZ #16532]
1969 * libio/libioP.h (get_file_offset): New function.
1970 * libio/fileops.c (get_file_offset): Likewise.
1971 (do_ftell): Likewise.
1972 (_IO_new_file_seekoff): Split out ftell logic.
1973 * libio/wfileops.c (do_ftell_wide): Likewise.
1974 (_IO_wfile_seekoff): Split out ftell logic.
1975 * libio/tst-ftell-active-handler.c: New test case.
1976 * libio/Makefile (tests): Add it.
1977
116f4d1a
RM
19782014-03-03 Roland McGrath <roland@hack.frob.com>
1979
1980 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1981 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1982
532a6035
SP
19832014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1984
1985 [BZ #16639]
1986 * nscd/connections.c (nscd_init): Call do_exit.
1987 (start_threads): Call do_exit and notify_parent.
1988 (begin_drop_privileges): Call do_exit.
1989 (finish_drop_privileges): Likewise.
1990 * nscd/selinux.c (preserve_capabilities): Likewise.
1991 (install_real_capabilities): Likewise.
1992 (nscd_selinux_enabled): Likewise.
1993 (avc_create_thread): Likewise.
1994 (avc_alloc_lock): Likewise.
1995 (nscd_avc_init): Likewise.
1996 * nscd/nscd.c (parent_fd): New static variable.
1997 (main): Create a pipe between parent and child processes.
1998 Skip closing parent_fd.
1999 (monitor_child): New function.
2000 (do_exit): Likewise.
2001 (notify_parent): Likewise.
2002 * nscd/nscd.h (notify_parent): Likewise.
2003 (do_exit): Likewise.
2004
d6285c9f
CD
20052014-03-03 Carlos O'Donell <carlos@redhat.com>
2006
2007 * malloc/malloc.c (__libc_calloc): Revert last change.
2008
2b85d2a0
AZ
20092014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2010
2011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2012
c7debbdf
RS
20132014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2014
2015 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2017 implementation.
2018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2019 (__libc_ifunc_impl_list): Likewise.
2020 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2021 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2022 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2023 * string/strrchr.c: Define STRRCHR.
2024
235eed86
OB
20252014-02-28 Ondřej Bílka <neleai@seznam.cz>
2026
2027 * benchtest/bench-strtok.c (simple_strtok): Delete.
2028 (strtok_string): Use as benchmark.
2029 * string/strtok (STRTOK): New macro.
2030
8e25d1e7
CD
20312014-02-28 Carlos O'Donell <carlos@redhat.com>
2032
ef563f92
CD
2033 * manual/threads.texi: Add header and standard comments to all
2034 functions.
2035
8e25d1e7
CD
2036 * elf/dl-lookup.c (check_match): New function.
2037 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2038 (do_lookup_x): Remove nested function check_match. Use non-nested
2039 function check_match.
2040
ff71cc37
RM
20412014-02-28 Roland McGrath <roland@hack.frob.com>
2042
f08e9a26
RM
2043 * csu/Makefile (generated, before-compile): Use += rather than =.
2044 * catgets/Makefile (generated, generated-dirs): Likewise.
2045 * debug/Makefile (generated): Likewise.
2046 * dlfcn/Makefile (generated): Likewise.
2047 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2048 * iconvdata/Makefile (before-compile, generated): Likewise.
2049 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2050 * libio/Makefile (generated): Likewise.
2051 * malloc/Makefile (generated): Likewise.
2052 * manual/Makefile (generated, generated-dirs): Likewise.
2053 * misc/Makefile (generated): Likewise.
2054 * posix/Makefile (generated): Likewise.
2055 * resolv/Makefile (generated): Likewise.
2056 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2057 * timezone/Makefile (generated, generated-dirs): Likewise.
2058
ff71cc37
RM
2059 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2060
fe13a20c
AZ
20612014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2062
2063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2064 implementation.
2065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2066 POWER8 llround ifunc implementation.
2067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2068 POWER8 implementation.
2069 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2070 POWER8 llround implementation.
2071
1ad8950a
AZ
20722014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2073
2074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2075 implementation.
2076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2077 POWER8 llrint ifunc implementation.
2078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2079 POWER8 implementation.
2080 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2081 POWER8 llrint implementation.
2082
cac626d6
AZ
20832014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2084
2085 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2086 implementation.
2087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2088 POWER8 finite ifunc implementation.
2089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2090 POWER8 implementation.
2091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2092 Likewise.
2093 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2094 POWER8 finite implementation.
2095 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2096
4393fc11
AZ
20972014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2098
2099 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2100 implementation.
2101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2102 POWER8 isinf ifunc implementation.
2103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2104 POWER8 implementation.
2105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2106 Likewise.
2107 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2108 POWER8 isinf implementation.
2109 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2110
487972ae
AZ
21112014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2112
2113 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2114 Add hwcap2 initialization.
2115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2116 implementation.
2117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2118 POWER8 isnan ifunc implementation.
2119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2120 POWER8 implementation.
2121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2122 Likewise.
2123 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2124 POWER8 isnan implementation.
2125 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2126
7d92b787
JY
21272014-02-27 Joey Ye <joey.ye@arm.com>
2128
2129 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2130 (_FP_NANFRAC_Q): Set to zero.
2131
1cadc858
SP
21322014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2133
2134 [BZ #16623]
2135 * math/auto-libm-test-in: New test inputs.
2136 * math/auto-libm-test-out: Regenerate.
2137 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2138 and DA.
2139 (__cos): Likewise.
2140 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2141
f8c17e79
JM
21422014-02-27 Joseph Myers <joseph@codesourcery.com>
2143
2144 * scripts/evaluate-test.sh: Take new argument indicating whether
2145 failure is expected.
2146 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2147 indicating whether failure is expected.
2148 * conform/Makefile (test-xfail-run-conformtest): New variable.
2149 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2150 level.
2151 * posix/Makefile (test-xfail-annexc): New variable.
2152 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2153
a5f891ac
JM
21542014-02-26 Joseph Myers <joseph@codesourcery.com>
2155
2156 * argp/Makefile: Include Makeconfig immediately after defining
2157 subdir.
2158 * assert/Makefile: Likewise.
2159 * benchtests/Makefile: Likewise.
2160 * catgets/Makefile: Likewise.
2161 * conform/Makefile: Likewise.
2162 * crypt/Makefile: Likewise.
2163 * csu/Makefile: Likewise.
2164 (all): Remove target.
2165 * ctype/Makefile: Include Makeconfig immediately after defining
2166 subdir.
2167 * debug/Makefile: Likewise.
2168 * dirent/Makefile: Likewise.
2169 * dlfcn/Makefile: Likewise.
2170 * gmon/Makefile: Likewise.
2171 * gnulib/Makefile: Likewise.
2172 * grp/Makefile: Likewise.
2173 * gshadow/Makefile: Likewise.
2174 * hesiod/Makefile: Likewise.
2175 * hurd/Makefile: Likewise.
2176 (all): Remove target.
2177 * iconvdata/Makefile: Include Makeconfig immediately after
2178 defining subdir.
2179 * inet/Makefile: Likewise.
2180 * intl/Makefile: Likewise.
2181 * io/Makefile: Likewise.
2182 * libio/Makefile: Likewise.
2183 (all): Remove target.
2184 * locale/Makefile: Include Makeconfig immediately after defining
2185 subdir.
2186 * login/Makefile: Likewise.
2187 * mach/Makefile: Likewise.
2188 (all): Remove target.
2189 * malloc/Makefile: Include Makeconfig immediately after defining
2190 subdir.
2191 (all): Remove target.
2192 * manual/Makefile: Include Makeconfig immediately after defining
2193 subdir.
2194 * math/Makefile: Likewise.
2195 * misc/Makefile: Likewise.
2196 * nis/Makefile: Likewise.
2197 * nss/Makefile: Likewise.
2198 * po/Makefile: Likewise.
2199 (all): Remove target.
2200 * posix/Makefile: Include Makeconfig immediately after defining
2201 subdir.
2202 * pwd/Makefile: Likewise.
2203 * resolv/Makefile: Likewise.
2204 * resource/Makefile: Likewise.
2205 * rt/Makefile: Likewise.
2206 * setjmp/Makefile: Likewise.
2207 * shadow/Makefile: Likewise.
2208 * signal/Makefile: Likewise.
2209 * socket/Makefile: Likewise.
2210 * soft-fp/Makefile: Likewise.
2211 * stdio-common/Makefile: Likewise.
2212 * stdlib/Makefile: Likewise.
2213 * streams/Makefile: Likewise.
2214 * string/Makefile: Likewise.
2215 * sunrpc/Makefile: Likewise.
2216 (all): Remove target.
2217 * sysvipc/Makefile: Include Makeconfig immediately after defining
2218 subdir.
2219 * termios/Makefile: Likewise.
2220 * time/Makefile: Likewise.
2221 * timezone/Makefile: Likewise.
2222 (all): Remove target.
2223 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2224 subdir.
2225 * wctype/Makefile: Likewise.
2226
5b456e9d
SE
22272014-02-26 Steve Ellcey <sellcey@mips.com>
2228
2229 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2230 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2231 (libc_feholdexcept_setround_mips): Ditto.
2232 (libc_feholdsetround): New.
2233 (libc_feholdsetroundf): New.
2234 (libc_feholdsetroundl): New.
2235 (libc_feupdateenv_test_mips): New.
2236 (libc_feupdateenv_test): New.
2237 (libc_feupdateenv_testf): New.
2238 (libc_feupdateenv_testl): New.
2239 (libc_feresetround): New.
2240 (libc_feresetroundf): New.
2241 (libc_feresetroundl): New.
2242 (libc_fetestexcept_mips): New.
2243 (libc_fetestexcept): New.
2244 (libc_fetestexceptf): New.
2245 (libc_fetestexceptl): New.
2246 (HAVE_RM_CTX): New.
2247 (libc_feholdexcept_setround_mips_ctx): New.
2248 (libc_feholdexcept_setround_ctx): New.
2249 (libc_feholdexcept_setroundf_ctx): New.
2250 (libc_feholdexcept_setroundl_ctx): New.
2251 (libc_fesetenv_mips_ctx): New.
2252 (libc_fesetenv_ctx): New.
2253 (libc_fesetenv_ctxf): New.
2254 (libc_fesetenv_ctxl): New.
2255 (libc_feupdateenv_mips_ctx): New.
2256 (libc_feupdateenv_ctx): New.
2257 (libc_feupdateenvf_ctx): New.
2258 (libc_feupdateenvl_ctx): New.
2259 (libc_feholdsetround_mips_ctx): New.
2260 (libc_feholdsetround_ctx): New.
2261 (libc_feholdsetroundf_ctx): New.
2262 (libc_feholdsetroundl_ctx): New.
2263 (libc_feresetround_mips_ctx): New.
2264 (libc_feresetround_ctx): New.
2265 (libc_feresetroundf_ctx): New.
2266 (libc_feresetroundl_ctx): New.
2267
085d0e35
CD
22682014-02-26 Carlos O'Donell <carlos@redhat.com>
2269
f067bf1f
CD
2270 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2271
085d0e35
CD
2272 * manual/ipc.texi: New file.
2273 * manual/Makefile (chapters): Add ipc.
2274 * manual/job.texi: Add "Inter-Process Communication" to next.
2275 * manual/process.texi: Add "Inter-Process Communication" to prev.
2276
86e58c08
AZ
22772014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2278
2279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2280
4248f0da
OB
22812014-02-26 Ondřej Bílka <neleai@seznam.cz>
2282
2283 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2284
cf822e3c
OB
2285 * manual/arith.texi: Fix spaces after sentences.
2286 * manual/charset.texi: Likewise.
2287 * manual/errno.texi: Likewise.
2288 * manual/install.texi: Likewise.
2289 * manual/llio.texi: Likewise.
2290 * manual/locale.texi: Likewise.
2291 * manual/maint.texi: Likewise.
2292 * manual/math.texi: Likewise.
2293 * manual/memory.texi: Likewise.
2294 * manual/message.texi: Likewise.
2295 * manual/probes.texi: Likewise.
2296 * manual/resource.texi: Likewise.
2297 * manual/signal.texi: Likewise.
2298 * manual/socket.texi: Likewise.
2299 * manual/stdio.texi: Likewise.
2300 * manual/string.texi: Likewise.
2301 * manual/time.texi: Likewise.
2302 * manual/users.texi: Likewise.
2303
ade40b10
CD
23042014-02-25 Carlos O'Donell <carlos@redhat.com>
2305
2306 [BZ #16632]
2307 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2308 _DEFAULT_SOURCE is defined.
2309
d0503676
CD
23102014-02-25 Ulrich Drepper <drepper@gmail.com>
2311 Carlos O'Donell <carlos@redhat.com>
2312
2313 [BZ #16613]
2314 * elf/dl-tls.c (_dl_count_modids): New function.
2315 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2316 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2317 audit library and increment generation counter.
2318 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2319 * elf/tst-audit9.c: New file.
2320 * elf/tst-auditmod9a.c: New file.
2321 * elf/tst-auditmod9b.c: New file.
2322 * elf/Makefile: Add rules to build and run tst-audit9.
2323
4cbf380c
FW
23242014-02-25 Florian Weimer <fweimer@redhat.com>
2325
2326 [BZ #15347]
2327 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2328
80a56cc3
WN
23292014-02-25 Will Newton <will.newton@linaro.org>
2330
2331 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2332 (__longjmp): Restore sp and lr before restoring callee
2333 saved registers. Add longjmp and longjmp_target
2334 SystemTap probe point.
2335 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2336 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2337 Define to zero to match jmpbuf layout.
2338 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2339 (__sigsetjmp): Save sp and lr before saving callee
2340 saved registers. Add setjmp SystemTap probe point.
2341
3ea0f74e
SL
23422014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2343
2344 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2345
b04acb26
AS
23462014-02-24 Andreas Schwab <schwab@suse.de>
2347
2348 [BZ #15804]
2349 * elf/pldd.c (wait_for_ptrace_stop): New function.
2350 (main): Call it after attaching.
2351
098ad55c
RM
23522014-02-22 Roland McGrath <roland@hack.frob.com>
2353
d4ec6ae1
RM
2354 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2355 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2356 Versions files is now verboten.
2357 * hurd/Versions (libc: GLIBC_2.0):
2358 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2359 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2360 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2361 * mach/Versions: Likewise.
2362
098ad55c
RM
2363 * csu/Versions: Remove unused %include.
2364 * resolv/Versions: Likewise.
2365
acd7f096
JM
23662014-02-21 Joseph Myers <joseph@codesourcery.com>
2367
f0881698
JM
2368 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2369 ($(objpfx)check-local-headers.out): Likewise.
2370 ($(objpfx)begin-end-check.out): Likewise.
2371 * Makerules (check-abi-%.out): Likewise.
2372 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2373 ($(objpfx)test2.cat): Likewise.
2374 ($(objpfx)de/libc.cat): Likewise.
2375 ($(objpfx)test-gencat.out): Likewise.
2376 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2377 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2378 ($(objpfx)noload-mem): Likewise.
2379 ($(objpfx)tst-pathopt.out): Likewise.
2380 ($(objpfx)tst-rtld-load-self.out): Likewise.
2381 ($(objpfx)tst-array1-cmp.out): Likewise.
2382 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2383 ($(objpfx)tst-array2-cmp.out): Likewise.
2384 ($(objpfx)tst-array3-cmp.out): Likewise.
2385 ($(objpfx)tst-array4-cmp.out): Likewise.
2386 ($(objpfx)tst-array5-cmp.out): Likewise.
2387 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2388 ($(objpfx)check-textrel.out): Likewise.
2389 ($(objpfx)check-execstack.out): Likewise.
2390 ($(objpfx)check-localplt.out): Likewise.
2391 ($(objpfx)order2-cmp.out): Likewise.
2392 ($(objpfx)tst-leaks1-mem): Likewise.
2393 ($(objpfx)tst-leaks1-static-mem): Likewise.
2394 ($(objpfx)tst-initorder-cmp.out): Likewise.
2395 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2396 ($(objpfx)tst-unused-dep.out): Likewise.
2397 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2398 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2399 * iconv/Makefile (test-iconvconfig): Likewise.
2400 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2401 ($(objpfx)iconv-test.out): Likewise.
2402 ($(objpfx)tst-tables.out): Likewise.
2403 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2404 ($(objpfx)tst-gettext.out): Likewise.
2405 ($(objpfx)tst-translit.out): Likewise.
2406 ($(objpfx)tst-gettext2.out): Likewise.
2407 ($(objpfx)tst-gettext4.out): Likewise.
2408 ($(objpfx)tst-gettext6.out): Likewise.
2409 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2410 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2411 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2412 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2413 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2414 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2415 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2416 ($(objpfx)wordexp-tst.out): Likewise.
2417 ($(objpfx)annexc.out): Likewise.
2418 ($(objpfx)tst-fnmatch-mem): Likewise.
2419 ($(objpfx)bug-regex2-mem): Likewise.
2420 ($(objpfx)bug-regex14-mem): Likewise.
2421 ($(objpfx)bug-regex21-mem): Likewise.
2422 ($(objpfx)bug-regex31-mem): Likewise.
2423 ($(objpfx)tst-vfork3-mem): Likewise.
2424 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2425 ($(objpfx)tst-pcre-mem): Likewise.
2426 ($(objpfx)tst-boost-mem): Likewise.
2427 ($(objpfx)tst-getconf.out): Likewise.
2428 ($(objpfx)bug-ga2-mem): Likewise.
2429 ($(objpfx)bug-glob2-mem): Likewise.
2430 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2431 ($(objpfx)mtrace-tst-leaks2): Likewise.
2432 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2433 ($(objpfx)tst-printf.out): Likewise.
2434 ($(objpfx)tst-setvbuf1.out): Likewise.
2435 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2436 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2437 ($(objpfx)tst-fmtmsg.out): Likewise.
2438 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2439 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2440
acd7f096
JM
2441 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2442 * bits/sigaction.h [__USE_MISC]: Likewise.
2443 * bits/waitstatus.h: Update #endif comments.
2444 * ctype/ctype.h: Likewise.
2445 * dirent/dirent.h: Likewise.
2446 [__USE_MISC]: Remove redundant conditionals.
2447 * grp/grp.h: Update #endif comments.
2448 [__USE_GNU]: Remove redundant conditionals.
2449 [__USE_MISC]: Likewise.
2450 * inet/netinet/in.h [__USE_GNU]: Likewise.
2451 * io/sys/stat.h [__USE_MISC]: Likewise.
2452 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2453 * libio/bits/stdio.h: Update #endif comments.
2454 [__USE_MISC]: Remove redundant conditionals.
2455 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2456 * libio/stdio.h: Update #endif comments.
2457 [__USE_MISC]: Remove redundant conditionals.
2458 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2459 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2460 * math/math.h: Update #else and #endif comments.
2461 [__USE_MISC]: Remove redundant conditionals.
2462 * misc/sys/uio.h: Update #endif comments.
2463 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2464 * posix/glob.h [__USE_MISC]: Likewise.
2465 * posix/sys/types.h: Update #endif comments.
2466 [__USE_MISC]: Remove redundant conditionals.
2467 * posix/sys/wait.h: Update #endif comments.
2468 [__USE_MISC]: Remove redundant conditionals.
2469 * posix/unistd.h: Update #endif comments.
2470 [__USE_MISC]: Remove redundant conditionals.
2471 * pwd/pwd.h [__USE_GNU]: Likewise.
2472 [__USE_MISC]: Likewise.
2473 * resolv/netdb.h [__USE_GNU]: Likewise.
2474 * signal/signal.h: Update #endif comments.
2475 [__USE_MISC]: Remove redundant conditionals.
2476 * stdlib/stdlib.h: Update #else and #endif comments.
2477 [__USE_MISC]: Remove redundant conditionals.
2478 [__USE_GNU]: Likewise.
2479 * string/bits/string2.h [__USE_MISC]: Likewise.
2480 * string/string.h: Update #endif comments.
2481 [__USE_MISC]: Remove redundant conditionals.
2482 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2483 Likewise.
2484 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2485 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2486 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2487 Likewise.
2488 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2489 Likewise.
2490 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2491 comments.
2492 [__USE_MISC]: Remove redundant conditionals.
2493 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2494 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2495 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2496 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2497 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2498 Likewise.
2499 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2500 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2501 Likewise.
2502 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2503 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2504 Likewise.
2505 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2506 Likewise.
2507 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2508 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2509 Likewise.
2510 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2511 Likewise.
2512 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2513 * sysdeps/x86/bits/string.h: Update #endif comments.
2514 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2515 conditionals.
2516 * time/sys/time.h: Update #endif comments.
2517 * time/time.h: Likewise.
2518 [__USE_MISC]: Remove redundant conditionals.
2519
a5d82e4e
YG
25202014-02-21 Yury Gribov <y.gribov@samsung.com>
2521
2522 [BZ #16600]
2523 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2524
9a80491d
AS
25252014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2526
2527 * Versions.def (librt): Add GLIBC_2.17.
2528
105fa381
AC
25292014-02-21 Adam Conrad <adconrad@0c3.net>
2530
2531 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2532 synonym for _SYS_AUXV_H to allow direct inclusion.
2533 * sysdeps/sparc/bits/hwcap.h: Likewise.
2534 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2535 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2536 * sysdeps/sparc/sysdep.h: Likewise.
2537
b8cd1c4e
SP
25382014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2539
2540 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2541
bd939d23
RS
25422014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2543
2544 * benchtests/bench-strrchr.c: Print length instead of position.
2545
5d7b57ca
JM
25462014-02-20 Joseph Myers <joseph@codesourcery.com>
2547
bc688c10
JM
2548 [BZ #16611]
2549 * sysdeps/unix/sysv/linux/kernel-features.h
2550 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2551 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2552 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2553 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2554 Likewise.
2555 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2556 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2557 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2558 (__ASSUME_SENDMMSG): Define instead of using previous
2559 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2560 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2561 (__ASSUME_SENDMMSG_SYSCALL): Define.
2562 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2563 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2564 Likewise.
2565 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2566 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2567 Likewise.
2568 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2569 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2570 Likewise.
2571 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2572 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2573 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2574 [__ASSUME_SENDMMSG]: Change conditionals to
2575 [__ASSUME_SENDMMSG_SOCKETCALL].
2576 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2577 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2578 Define.
2579 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2580 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2581 Likewise.
2582 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2583 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2584 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2585 [!__ASSUME_SENDMMSG]: Change conditional to
2586 [!__ASSUME_SENDMMSG_SOCKETCALL].
2587 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2588 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2589 Define.
2590
0e31b18c
JM
2591 [BZ #16610]
2592 * sysdeps/unix/sysv/linux/kernel-features.h
2593 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2594 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2595 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2596 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2597 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2598 [__i386__ || __sparc__]
2599 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2600 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2601 (__ASSUME_RECVMMSG): Define instead of using previous
2602 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2603 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2604 (__ASSUME_RECVMMSG_SYSCALL): Define.
2605 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2606 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2607 Likewise.
2608 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2609 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2610 Likewise.
2611 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2612 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2613 Likewise.
2614 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2615 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2616 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2617 [__ASSUME_RECVMMSG]: Change condition to
2618 [__ASSUME_RECVMMSG_SOCKETCALL].
2619 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2620 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2621 Define.
2622 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2623 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2624 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2625 Likewise.
2626 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2627 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2628 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2629 [!__ASSUME_RECVMMSG]: Change condition to
2630 [!__ASSUME_RECVMMSG_SOCKETCALL].
2631 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2632 (__ASSUME_RECVMMSG_SYSCALL): Define.
2633
dd481ccf
JM
2634 [BZ #16609]
2635 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2636 __powerpc__ || __s390__ || __sh__ || __sparc__]
2637 (__ASSUME_SOCKETCALL): Define.
2638 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2639 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2640 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2641 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2642 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2643 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2644 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2645 (__ASSUME_ACCEPT4): Define instead of using previous
2646 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2647 __powerpc__ || __sparc__ || __s390__)] condition.
2648 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2649 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2650 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2651 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2652 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2653 [!__ASSUME_ACCEPT4]: Change condition to
2654 [!__ASSUME_ACCEPT4_SOCKETCALL].
2655 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2656 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2657 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2658 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2659 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2660 __ASSUME_ACCEPT4_SYSCALL.
2661 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2662 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2663 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2664 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2665 __ASSUME_ACCEPT4_SYSCALL.
2666 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2667 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2668 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2669 [__ASSUME_ACCEPT4]: Change condition to
2670 [__ASSUME_ACCEPT4_SOCKETCALL].
2671 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2672 (__ASSUME_SOCKETCALL): Define.
2673 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2674 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2675 (__ASSUME_SOCKETCALL): Define.
2676 (__ASSUME_ACCEPT4): Remove.
2677 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2678 Define.
2679 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2680 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2681 Likewise.
2682 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2683 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2684
5d7b57ca
JM
2685 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2686 macro.
2687 (HWCAP_ARM_LPAE): Likewise.
2688 (HWCAP_ARM_EVTSTRM): Likewise.
2689 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2690 Add vpfd32, lpae and evtstrm.
2691 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2692 Increase to 22.
2693
63689d61
JM
26942014-02-19 Joseph Myers <joseph@codesourcery.com>
2695
2696 * math/auto-libm-test-in: Add tests of clog10.
2697 * math/auto-libm-test-out: Regenerated.
2698 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2699 * sysdeps/i386/fpu/libm-test-ulps: Update.
2700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2701
ab09bf61
AS
27022014-02-18 Andreas Schwab <schwab@suse.de>
2703
2704 [BZ #16574]
2705 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2706 Store non-zero if the second buffer was newly allocated.
2707 (send_dg): Likewise.
2708 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2709 to send_vc and send_dg.
2710 (res_nsend): Pass NULL for ansp2_malloced.
2711 * resolv/res_query.c (__libc_res_nquery): Add parameter
2712 answerp2_malloced and pass it down to __libc_res_nsend.
2713 (res_nquery): Pass additional NULL to __libc_res_nquery.
2714 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2715 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2716 second answer buffer if answerp2_malloced was set.
2717 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2718 (__libc_res_nquerydomain): Add parameter
2719 answerp2_malloced and pass it down to __libc_res_nquery.
2720 (res_nquerydomain): Pass additional NULL to
2721 __libc_res_nquerydomain.
2722 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2723 additional NULL to __libc_res_nsend and __libc_res_nquery.
2724 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2725 additional NULL to __libc_res_nsearch.
2726 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2727 parameter of __libc_res_nsearch to check for separately allocated
2728 second buffer.
2729 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2730 __libc_res_nquery.
2731 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2732 additional NULL to __libc_res_nquery.
2733 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2734 __libc_res_nsearch.
2735 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2736 * include/resolv.h: Update prototypes of __libc_res_nquery,
2737 __libc_res_nsearch, __libc_res_nsend.
2738
a4fb7861
JM
27392014-02-18 Joseph Myers <joseph@codesourcery.com>
2740
c6af2d89
JM
2741 * math/auto-libm-test-in: Add tests of fma.
2742 * math/auto-libm-test-out: Regenerated.
2743 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2744 (fma_towardzero_test_data): Likewise.
2745 (fma_downward_test_data): Likewise.
2746 (fma_upward_test_data): Likewise.
2747 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2748 mpc_mode.
2749 (rounding_modes): Add values for new field.
2750 (func_calc_method): Add value mpfr_fff_f.
2751 (func_calc_desc): Add mpfr_fff_f union field.
2752 (test_function): Add field exact_args.
2753 (FUNC): Add macro argument EXACT_ARGS.
2754 (FUNC_mpfr_f_f): Update call to FUNC.
2755 (FUNC_mpfr_f_f): Likewise.
2756 (FUNC_mpfr_ff_f): Likewise.
2757 (FUNC_mpfr_if_f): Likewise.
2758 (FUNC_mpc_c_f): Likewise.
2759 (FUNC_mpc_c_c): Likewise.
2760 (test_functions): Add fma. Update calls to FUNC.
2761 (handle_input_arg): Add argument exact_args.
2762 (add_test): Update call to handle_input_arg.
2763 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2764 (output_for_one_input_case): Update call to calc_generic_results.
2765 Recalculate exact zero results in each rounding mode.
2766
a4fb7861
JM
2767 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2768 non-negative before setting low bit.
2769 * math/auto-libm-test-in: Mark one asin test possibly having
2770 spurious underflow.
2771 * math/auto-libm-test-out: Regenerated.
2772 * sysdeps/i386/fpu/libm-test-ulps: Update.
2773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2774
ef114eaf
DH
27752014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2776
2b7f4f2c
SP
2777 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2778 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2779 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2780 * README: Add missing listing for microblaze*-*-linux-gnu.
2781
c70a4b1d
MF
27822014-02-16 Mike Frysinger <vapier@gentoo.org>
2783
2784 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2785 * sysdeps/unix/sysv/linux/ia64: Move directory from
2786 ports/sysdeps/unix/sysv/linux/ia64.
2787 * README: Update listing for ia64-*-linux-gnu.
2788
591aeaf7
TD
27892014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2790 Joseph Myers <joseph@codesourcery.com>
2791
2792 * Makeconfig (test-name): New variable.
2793 (evaluate-test): Likewise.
2794 * Makerules (do-test-clean): Remove .test-result files.
2795 (common-mostlyclean): Likewise.
2796 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2797 * scripts/evaluate-test.sh: New file.
2798
6e89caf1
JM
27992014-02-14 Joseph Myers <joseph@codesourcery.com>
2800
7f98f180
JM
2801 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2802 separate $(objpfx)tst-fopenloc-cmp.out and
2803 $(objpfx)tst-fopenloc-mem.out targets.
2804 (tests): Update dependencies.
2805 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2806 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2807 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2808 (tst-rxspencer-no-utf8-ARGS): New variable.
2809 (tst-rxspencer-no-utf8-ENV): Likewise.
2810 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2811 instead of $(objpfx)tst-rxspencer-mem.
2812 ($(objpfx)tst-rxspencer-mem): Change target to
2813 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2814 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2815 * posix/tst-rxspencer-no-utf8.c: New file.
2816
6e89caf1
JM
2817 * elf/Makefile ($(objpfx)order.out): Remove rule.
2818 [$(run-built-tests) = yes] (tests): Depend on
2819 $(objpfx)order-cmp.out.
2820 ($(objpfx)order-cmp.out): New rule.
2821 [$(run-built-tests) = yes] (tests): Depend on
2822 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2823 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2824 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2825 $(objpfx)tst-array5-static-cmp.out.
2826 ($(objpfx)tst-array1.out): Remove rule.
2827 ($(objpfx)tst-array1-cmp.out): New rule.
2828 ($(objpfx)tst-array1-static.out): Remove rule.
2829 ($(objpfx)tst-array1-static-cmp.out): New rule.
2830 ($(objpfx)tst-array2.out): Remove rule.
2831 ($(objpfx)tst-array2-cmp.out): New rule.
2832 ($(objpfx)tst-array3.out): Remove rule.
2833 ($(objpfx)tst-array3-cmp.out): New rule.
2834 ($(objpfx)tst-array4.out): Remove rule.
2835 ($(objpfx)tst-array4-cmp.out): New rule.
2836 ($(objpfx)tst-array5.out): Remove rule.
2837 ($(objpfx)tst-array5-cmp.out): New rule.
2838 ($(objpfx)tst-array5-static.out): Remove rule.
2839 ($(objpfx)tst-array5-static-cmp.out): New rule.
2840 [$(run-built-tests) = yes] (tests): Depend on
2841 $(objpfx)order2-cmp.out.
2842 ($(objpfx)order2.out): Remove rule.
2843 ($(objpfx)order2-cmp.out): New rule.
2844 ($(objpfx)tst-initorder.out): Remove rule.
2845 [$(run-built-tests) = yes] (tests): Depend on
2846 $(objpfx)tst-initorder-cmp.out.
2847 ($(objpfx)tst-initorder-cmp.out): New rule.
2848 ($(objpfx)tst-initorder2.out): Remove rule.
2849 [$(run-built-tests) = yes] (tests): Depend on
2850 $(objpfx)tst-initorder2-cmp.out.
2851 ($(objpfx)tst-initorder2-cmp.out): New rule.
2852 [$(run-built-tests) = yes] (tests): Depend on
2853 $(objpfx)tst-unused-dep-cmp.out.
2854 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2855 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2856 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2857 on $(objpfx)tst-setvbuf1-cmp.out.
2858 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2859 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2860 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2861 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2862 ($(objpfx)tst-svc.out): Remove rule.
2863 ($(objpfx)tst-svc-cmp.out): New rule.
2864
ed9a38e2
JM
28652014-02-13 Joseph Myers <joseph@codesourcery.com>
2866
2867 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2868 * ctype/ctype.h [__USE_MISC]: Likewise.
2869 * dirent/dirent.h [__USE_MISC]: Likewise.
2870 * grp/grp.h [__USE_MISC]: Likewise.
2871 * io/fcntl.h [__USE_MISC]: Likewise.
2872 * io/sys/stat.h [__USE_MISC]: Likewise.
2873 * libio/stdio.h [__USE_MISC]: Likewise.
2874 * posix/unistd.h [__USE_MISC]: Likewise.
2875 * pwd/pwd.h [__USE_MISC]: Likewise.
2876 * stdlib.h [__USE_MISC]: Likewise.
2877 * string/bits/string2.h [__USE_MISC]: Likewise.
2878 * string/string.h [__USE_MISC]: Likewise.
2879 * time/time.h [__USE_MISC]: Likewise.
2880
d6680619
AS
28812014-02-13 Andreas Schwab <schwab@suse.de>
2882
2883 [BZ #16574]
2884 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2885 second answer buffer if it was separately allocated.
2886
ace614b8
JM
28872014-02-12 Joseph Myers <joseph@codesourcery.com>
2888
743151ae
JM
2889 * sysdeps/mips/math-tests.h: Include <features.h>.
2890 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2891 (ROUNDING_TESTS_long_double): Do not define.
2892 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2893 (EXCEPTION_TESTS_long_double): Likewise.
2894 * sysdeps/mips/mips64/libm-test-ulps: Update.
2895
498afc54
JM
2896 * include/features.h (__USE_BSD): Remove macro definitions.
2897 (__USE_SVID): Likewise.
2898 (_BSD_SOURCE): Likewise.
2899 (_SVID_SOURCE): Likewise.
2900 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2901 from definition of _DEFAULT_SOURCE.
2902 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2903 [_DEFAULT_SOURCE].
2904 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2905 * bits/mman.h [__USE_BSD]: Likewise.
2906 * bits/termios.h [__USE_BSD]: Likewise.
2907 * bits/waitstatus.h [__USE_BSD]: Likewise.
2908 * ctype/ctype.h [__USE_SVID]: Likewise.
2909 * dirent/dirent.h [__USE_BSD]: Likewise.
2910 * grp/grp.h [__USE_SVID]: Likewise.
2911 [__USE_BSD]: Likewise.
2912 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2913 * io/fcntl.h [__USE_BSD]: Likewise.
2914 * io/ftw.h [__USE_BSD]: Likewise.
2915 * io/sys/stat.h [__USE_BSD]: Likewise.
2916 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2917 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2918 * libio/stdio.h [__USE_SVID]: Likewise.
2919 [__USE_BSD]: Likewise.
2920 * math/math.h [__USE_SVID]: Likewise.
2921 [__USE_BSD]: Likewise.
2922 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2923 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2924 * misc/search.h [__USE_SVID]: Likewise.
2925 * misc/sys/mman.h [__USE_BSD]: Likewise.
2926 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2927 * misc/sys/uio.h [__USE_BSD]: Likewise.
2928 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2929 * posix/glob.h [__USE_BSD]: Likewise.
2930 * posix/regex.h [__USE_BSD]: Likewise.
2931 * posix/sys/types.h [__USE_BSD]: Likewise.
2932 [__USE_SVID]: Likewise.
2933 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2934 * posix/sys/wait.h [__USE_BSD]: Likewise.
2935 [__USE_SVID]: Likewise.
2936 * posix/unistd.h [__USE_BSD]: Likewise.
2937 [__USE_SVID]: Likewise.
2938 * pwd/pwd.h [__USE_SVID]: Likewise.
2939 * resolv/netdb.h [__USE_BSD]: Likewise.
2940 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2941 * signal/signal.h [__USE_BSD]: Likewise.
2942 [__USE_SVID]: Likewise.
2943 * socket/sys/socket.h [__USE_BSD]: Likewise.
2944 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2945 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2946 [__USE_SVID]: Likewise.
2947 * string/bits/string2.h [__USE_BSD]: Likewise.
2948 [__USE_SVID]: Likewise.
2949 * string/bits/string3.h [__USE_BSD]: Likewise.
2950 * string/endian.h [__USE_BSD]: Likewise.
2951 * string/string.h [__USE_SVID]: Likewise.
2952 [__USE_BSD]: Likewise.
2953 * string/strings.h [__USE_BSD]: Likewise.
2954 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2955 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2956 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2957 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2958 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2959 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2960 Likewise.
2961 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2962 Likewise.
2963 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2964 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2965 Likewise.
2966 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2967 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2968 Likewise.
2969 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2970 Likewise.
2971 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2972 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2973 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2974 Likewise.
2975 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2976 Likewise.
2977 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2978 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2979 * termios/termios.h [__USE_BSD]: Likewise.
2980 * time/sys/time.h [__USE_BSD]: Likewise.
2981 * time/time.h [__USE_BSD]: Likewise.
2982 [__USE_SVID]: Likewise.
2983
dd7b064c
JM
2984 * Makefile (subdir_targets): Remove subdir_lint.out.
2985
a2c4c199
JM
2986 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2987 (do-tst-printf): Likewise.
2988 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2989 $(objpfx)tst-printf.out.
2990
8756f740
JM
2991 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2992
1b6dd3f1
JM
2993 * Makerules (check-abi-%): Change target to
2994 $(objpfx)check-abi-%.out.
2995 (check-abi target): Update dependencies.
2996 (check-abi-pattern variable): Redirect output of diff to $@.
2997 (check-abi variable): Likewise.
2998 * elf/Makefile (check-abi): Update dependencies.
2999
ace614b8
JM
3000 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3001 unused.
3002 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3003 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3004 subnormal range.
3005 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3006 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3007 value has largest subnormal exponent.
3008 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3009 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3010 * sysdeps/aarch64/soft-fp/sfp-machine.h
3011 (_FP_TININESS_AFTER_ROUNDING): New macro.
3012 * sysdeps/alpha/soft-fp/sfp-machine.h
3013 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3014 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3015 Likewise.
3016 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3017 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3018 * sysdeps/mips/soft-fp/sfp-machine.h
3019 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3020 * sysdeps/powerpc/soft-fp/sfp-machine.h
3021 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3022 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3023 Likewise.
3024 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3025 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3026 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3027 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3028 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3029 Likewise.
3030
fbfdf9cb
DAS
30312014-02-12 Dylan Alex Simon <dylan@dylex.net>
3032
3033 [BZ #16545]
3034 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3035 model 1.
3036
68b7efaa
RH
30372014-02-12 Richard Henderson <rth@redhat.com>
3038
c70a4b1d 3039 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3040 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3041 * sysdeps/unix/sysv/linux/alpha: Move directory from
3042 ports/sysdeps/unix/sysv/linux/alpha.
3043 * README: Update listing for alpha-*-linux-gnu.
3044
cb4a2928
JM
30452014-02-11 Joseph Myers <joseph@codesourcery.com>
3046
c941736c
JM
3047 * include/features.h: Update comment documenting feature test
3048 macros.
3049 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3050 _DEFAULT_SOURCE.
3051 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3052 (_SVID_SOURCE): Likewise.
3053 (_DEFAULT_SOURCE): Update description of default features.
3054 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3055 with _GNU_SOURCE.
3056 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3057 (S_ISVTX): Likewise.
3058 * manual/math.texi (Mathematical Constants): Likewise.
3059 * manual/signal.texi (Interrupted Primitives): Likewise.
3060 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3061 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3062 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3063 Don't refer to _SVID_SOURCE in warning text.
3064
e8d8d7ec
JM
3065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3066
cb4a2928
JM
3067 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3068 already defined.
3069 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3070 * sysdeps/mips/dl-lookup.c: Remove.
3071 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3072
7e6424e3
AK
30732014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3074
3075 [BZ #16447]
3076 * math/auto-libm-test-in: Add testcase for expl.
3077 * math/auto-libm-test-out: Regenerate.
3078 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3079 calculation of unsafe.
3080 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3081
75eff3fe
MS
30822014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3083
3084 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3085 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3086 ports/sysdeps/unix/sysv/linux/aarch64.
3087 * README: Update listing for aarch64*-*-linux-gnu.
3088
d35f1e80
WN
30892014-02-11 Will Newton <will.newton@linaro.org>
3090
3091 * manual/probes.texi (Mathematical Function Probes): Use
3092 "triggered" instead of "hit".
3093
7b3436d4
WN
30942014-02-11 Will Newton <will.newton@linaro.org>
3095
3096 * manual/probes.texi (Internal Probes): Add documentation
3097 of setjmp, longjmp and longjmp_target probes.
3098
b4f12ca3
WN
30992014-02-11 Will Newton <will.newton@linaro.org>
3100
3101 * include/stap-probe.h: Add comment about probe argument
3102 format.
3103
c13a72b7
WN
31042014-02-11 Will Newton <will.newton@linaro.org>
3105
3106 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3107 definition. (tr_where, tr_freehook, tr_mallochook,
3108 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3109
195b8165
DM
31102014-02-11 David S. Miller <davem@davemloft.net>
3111
3112 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3113 processing int_tests.
3114
2ad7600b
JM
31152014-02-10 Joseph Myers <joseph@codesourcery.com>
3116
3117 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3118 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3119 * sysdeps/unix/sysv/linux/mips: Move directory from
3120 ports/sysdeps/unix/sysv/linux/mips.
3121 * README: Update listing for mips-*-linux-gnu and
3122 mips64-*-linux-gnu.
3123
73588a72
AS
31242014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3125
3126 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3127 * sysdeps/unix/sysv/linux/m68k: Move directory from
3128 ports/sysdeps/unix/sysv/linux/m68k.
3129 * README: Update listing for m68k-*-linux-gnu.
3130
4372980f
CM
31312014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3132
3133 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3134 * sysdeps/unix/sysv/linux/generic: Move directory from
3135 ports/sysdeps/unix/sysv/linux/generic.
3136 * sysdeps/unix/sysv/linux/tile: Move directory from
3137 ports/sysdeps/unix/sysv/linux/tile.
3138 * README: Update listing for tile*-*-linux-gnu.
3139
a1ffb40e
OB
31402014-02-10 Ondřej Bílka <neleai@seznam.cz>
3141
3142 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3143 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3144 * catgets/open_catalog.c (__open_catalog): Likewise.
3145 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3146 * debug/confstr_chk.c: Likewise.
3147 * debug/fread_chk.c (__fread_chk): Likewise.
3148 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3149 * debug/getgroups_chk.c: Likewise.
3150 * debug/mbsnrtowcs_chk.c: Likewise.
3151 * debug/mbsrtowcs_chk.c: Likewise.
3152 * debug/mbstowcs_chk.c: Likewise.
3153 * debug/memcpy_chk.c: Likewise.
3154 * debug/memmove_chk.c: Likewise.
3155 * debug/mempcpy_chk.c: Likewise.
3156 * debug/memset_chk.c: Likewise.
3157 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3158 * debug/strcat_chk.c (__strcat_chk): Likewise.
3159 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3160 * debug/strncat_chk.c (__strncat_chk): Likewise.
3161 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3162 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3163 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3164 * debug/wcpncpy_chk.c: Likewise.
3165 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3166 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3167 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3168 * debug/wcsncpy_chk.c: Likewise.
3169 * debug/wcsnrtombs_chk.c: Likewise.
3170 * debug/wcsrtombs_chk.c: Likewise.
3171 * debug/wcstombs_chk.c: Likewise.
3172 * debug/wmemcpy_chk.c: Likewise.
3173 * debug/wmemmove_chk.c: Likewise.
3174 * debug/wmempcpy_chk.c: Likewise.
3175 * debug/wmemset_chk.c: Likewise.
3176 * dirent/scandirat.c (SCANDIRAT): Likewise.
3177 * dlfcn/dladdr1.c (dladdr1): Likewise.
3178 * dlfcn/dladdr.c (dladdr): Likewise.
3179 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3180 * dlfcn/dlerror.c (__dlerror): Likewise.
3181 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3182 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3183 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3184 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3185 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3186 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3187 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3188 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3189 Likewise.
3190 * elf/dl-conflict.c: Likewise.
3191 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3192 * elf/dl-dst.h: Likewise.
3193 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3194 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3195 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3196 * elf/dl-init.c (call_init, _dl_init): Likewise.
3197 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3198 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3199 _dl_map_object_from_fd, open_verify, open_path,
3200 _dl_map_object): Likewise.
3201 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3202 Likewise.
3203 * elf/dl-minimal.c (__libc_memalign): Likewise.
3204 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3205 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3206 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3207 * elf/dl-sym.c (do_sym): Likewise.
3208 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3209 _dl_tls_get_addr_soft): Likewise.
3210 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3211 * elf/dl-writev.h (_dl_writev): Likewise.
3212 * elf/ldconfig.c (search_dir): Likewise.
3213 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3214 dl_main): Likewise.
3215 * elf/setup-vdso.h (setup_vdso): Likewise.
3216 * grp/compat-initgroups.c (compat_call): Likewise.
3217 * grp/fgetgrent.c (fgetgrent): Likewise.
3218 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3219 * grp/putgrent.c (putgrent): Likewise.
3220 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3221 Likewise.
3222 * hurd/hurdinit.c: Likewise.
3223 * iconvdata/8bit-gap.c (struct): Likewise.
3224 * iconvdata/ansi_x3.110.c : Likewise.
3225 * iconvdata/big5.c : Likewise.
3226 * iconvdata/big5hkscs.c : Likewise.
3227 * iconvdata/cp1255.c: Likewise.
3228 * iconvdata/cp1258.c : Likewise.
3229 * iconvdata/cp932.c : Likewise.
3230 * iconvdata/euc-cn.c: Likewise.
3231 * iconvdata/euc-jisx0213.c : Likewise.
3232 * iconvdata/euc-jp.c: Likewise.
3233 * iconvdata/euc-jp-ms.c : Likewise.
3234 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3235 * iconvdata/gb18030.c : Likewise.
3236 * iconvdata/gbbig5.c (const): Likewise.
3237 * iconvdata/gbgbk.c: Likewise.
3238 * iconvdata/gbk.c : Likewise.
3239 * iconvdata/ibm1364.c : Likewise.
3240 * iconvdata/ibm930.c : Likewise.
3241 * iconvdata/ibm932.c: Likewise.
3242 * iconvdata/ibm933.c : Likewise.
3243 * iconvdata/ibm935.c : Likewise.
3244 * iconvdata/ibm937.c : Likewise.
3245 * iconvdata/ibm939.c : Likewise.
3246 * iconvdata/ibm943.c: Likewise.
3247 * iconvdata/iso_11548-1.c: Likewise.
3248 * iconvdata/iso-2022-cn.c : Likewise.
3249 * iconvdata/iso-2022-cn-ext.c : Likewise.
3250 * iconvdata/iso-2022-jp-3.c: Likewise.
3251 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3252 * iconvdata/iso-2022-kr.c : Likewise.
3253 * iconvdata/iso646.c (gconv_end): Likewise.
3254 * iconvdata/iso_6937-2.c : Likewise.
3255 * iconvdata/iso_6937.c : Likewise.
3256 * iconvdata/iso8859-1.c: Likewise.
3257 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3258 * iconvdata/shift_jisx0213.c : Likewise.
3259 * iconvdata/sjis.c : Likewise.
3260 * iconvdata/t.61.c : Likewise.
3261 * iconvdata/tcvn5712-1.c : Likewise.
3262 * iconvdata/tscii.c: Likewise.
3263 * iconvdata/uhc.c : Likewise.
3264 * iconvdata/unicode.c (gconv_end): Likewise.
3265 * iconvdata/utf-16.c (gconv_end): Likewise.
3266 * iconvdata/utf-32.c (gconv_end): Likewise.
3267 * iconvdata/utf-7.c (base64): Likewise.
3268 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3269 * iconv/gconv_close.c (__gconv_close): Likewise.
3270 * iconv/gconv_open.c (__gconv_open): Likewise.
3271 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3272 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3273 internal_ucs4le_loop_single, ucs4le_internal_loop,
3274 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3275 * iconv/iconv.c (iconv): Likewise.
3276 * iconv/iconv_close.c: Likewise.
3277 * iconv/loop.c (SINGLE): Likewise.
3278 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3279 * include/atomic.h: Likewise.
3280 * inet/inet6_option.c (option_alloc): Likewise.
3281 * intl/bindtextdom.c (set_binding_values): Likewise.
3282 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3283 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3284 * intl/localealias.c (read_alias_file): Likewise.
3285 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3286 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3287 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3288 * libio/fmemopen.c (fmemopen): Likewise.
3289 * libio/iofgets.c (_IO_fgets): Likewise.
3290 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3291 * libio/iofgetws.c (fgetws): Likewise.
3292 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3293 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3294 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3295 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3296 * locale/findlocale.c (_nl_find_locale): Likewise.
3297 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3298 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3299 Likewise.
3300 * locale/setlocale.c (setlocale): Likewise.
3301 * login/programs/pt_chown.c (main): Likewise.
3302 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3303 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3304 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3305 mmap, mmap64, mremap, munmap): Likewise.
3306 * math/e_exp2l.c: Likewise.
3307 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3308 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3309 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3310 * math/s_catan.c (__catan): Likewise.
3311 * math/s_catanf.c (__catanf): Likewise.
3312 * math/s_catanh.c (__catanh): Likewise.
3313 * math/s_catanhf.c (__catanhf): Likewise.
3314 * math/s_catanhl.c (__catanhl): Likewise.
3315 * math/s_catanl.c (__catanl): Likewise.
3316 * math/s_ccosh.c (__ccosh): Likewise.
3317 * math/s_ccoshf.c (__ccoshf): Likewise.
3318 * math/s_ccoshl.c (__ccoshl): Likewise.
3319 * math/s_cexp.c (__cexp): Likewise.
3320 * math/s_cexpf.c (__cexpf): Likewise.
3321 * math/s_cexpl.c (__cexpl): Likewise.
3322 * math/s_clog10.c (__clog10): Likewise.
3323 * math/s_clog10f.c (__clog10f): Likewise.
3324 * math/s_clog10l.c (__clog10l): Likewise.
3325 * math/s_clog.c (__clog): Likewise.
3326 * math/s_clogf.c (__clogf): Likewise.
3327 * math/s_clogl.c (__clogl): Likewise.
3328 * math/s_csin.c (__csin): Likewise.
3329 * math/s_csinf.c (__csinf): Likewise.
3330 * math/s_csinh.c (__csinh): Likewise.
3331 * math/s_csinhf.c (__csinhf): Likewise.
3332 * math/s_csinhl.c (__csinhl): Likewise.
3333 * math/s_csinl.c (__csinl): Likewise.
3334 * math/s_csqrt.c (__csqrt): Likewise.
3335 * math/s_csqrtf.c (__csqrtf): Likewise.
3336 * math/s_csqrtl.c (__csqrtl): Likewise.
3337 * math/s_ctan.c (__ctan): Likewise.
3338 * math/s_ctanf.c (__ctanf): Likewise.
3339 * math/s_ctanh.c (__ctanh): Likewise.
3340 * math/s_ctanhf.c (__ctanhf): Likewise.
3341 * math/s_ctanhl.c (__ctanhl): Likewise.
3342 * math/s_ctanl.c (__ctanl): Likewise.
3343 * math/w_pow.c: Likewise.
3344 * math/w_powf.c: Likewise.
3345 * math/w_powl.c: Likewise.
3346 * math/w_scalb.c (sysv_scalb): Likewise.
3347 * math/w_scalbf.c (sysv_scalbf): Likewise.
3348 * math/w_scalbl.c (sysv_scalbl): Likewise.
3349 * misc/error.c (error_tail): Likewise.
3350 * misc/pselect.c (__pselect): Likewise.
3351 * nis/nis_callback.c (__nis_create_callback): Likewise.
3352 * nis/nis_call.c (__nisfind_server): Likewise.
3353 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3354 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3355 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3356 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3357 * nis/nis_lookup.c (nis_lookup): Likewise.
3358 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3359 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3360 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3361 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3362 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3363 internal_getgrgid_r): Likewise.
3364 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3365 Likewise.
3366 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3367 internal_getpwuid_r): Likewise.
3368 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3369 internal_getspnam_r): Likewise.
3370 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3371 _nss_nis_getaliasbyname_r): Likewise.
3372 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3373 _nss_nis_getntohost_r): Likewise.
3374 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3375 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3376 Likewise.
3377 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3378 internal_nis_gethostent_r, internal_gethostbyname2_r,
3379 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3380 _nss_nis_gethostbyname4_r): Likewise.
3381 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3382 initgroups_netid): Likewise.
3383 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3384 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3385 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3386 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3387 _nss_nis_getprotobynumber_r): Likewise.
3388 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3389 _nss_nis_getsecretkey): Likewise.
3390 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3391 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3392 Likewise.
3393 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3394 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3395 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3396 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3397 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3398 _nss_nis_getspnam_r): Likewise.
3399 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3400 Likewise.
3401 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3402 _nss_nisplus_getntohost_r): Likewise.
3403 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3404 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3405 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3406 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3407 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3408 Likewise.
3409 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3410 _nss_nisplus_getnetbyaddr_r): Likewise.
3411 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3412 _nss_nisplus_getprotobynumber_r): Likewise.
3413 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3414 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3415 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3416 Likewise.
3417 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3418 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3419 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3420 _nss_nisplus_getspnam_r): Likewise.
3421 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3422 * nscd/aicache.c (addhstaiX): Likewise.
3423 * nscd/cache.c (cache_search, prune_cache): Likewise.
3424 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3425 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3426 * nscd/grpcache.c (addgrbyX): Likewise.
3427 * nscd/hstcache.c (addhstbyX): Likewise.
3428 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3429 * nscd/mem.c (gc, mempool_alloc): Likewise.
3430 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3431 Likewise.
3432 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3433 Likewise.
3434 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3435 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3436 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3437 Likewise.
3438 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3439 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3440 * nscd/nscd_helper.c (__readvall, open_socket,
3441 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3442 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3443 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3444 * nscd/pwdcache.c (addpwbyX): Likewise.
3445 * nscd/selinux.c (preserve_capabilities): Likewise.
3446 * nscd/servicescache.c (addservbyX): Likewise.
3447 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3448 * posix/fnmatch.c (fnmatch): Likewise.
3449 * posix/getopt.c (_getopt_internal_r): Likewise.
3450 * posix/glob.c (glob, glob_in_dir): Likewise.
3451 * posix/wordexp.c (exec_comm_child): Likewise.
3452 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3453 gaih_getanswer_slice): Likewise.
3454 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3455 * resolv/res_init.c: Likewise.
3456 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3457 * resolv/res_query.c (__libc_res_nquery): Likewise.
3458 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3459 Likewise.
3460 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3461 * stdio-common/perror.c (perror): Likewise.
3462 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3463 * stdio-common/tmpnam.c (tmpnam): Likewise.
3464 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3465 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3466 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3467 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3468 * stdlib/putenv.c (putenv): Likewise.
3469 * stdlib/setenv.c (__add_to_environ): Likewise.
3470 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3471 * stdlib/strtol_l.c (INTERNAL): Likewise.
3472 * string/memmem.c (memmem): Likewise.
3473 * string/strerror.c (strerror): Likewise.
3474 * string/strnlen.c (__strnlen): Likewise.
3475 * string/test-memmem.c (simple_memmem): Likewise.
3476 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3477 * sunrpc/pm_getport.c (__get_socket): Likewise.
3478 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3479 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3480 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3481 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3482 Likewise.
3483 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3484 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3485 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3486 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3487 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3488 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3489 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3490 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3491 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3492 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3493 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3494 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3496 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3497 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3498 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3499 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3500 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3501 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3502 Likewise.
3503 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3504 Likewise.
3505 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3506 Likewise.
3507 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3508 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3509 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3510 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3511 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3512 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3513 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3514 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3515 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3516 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3517 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3518 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3519 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3520 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3521 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3522 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3523 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3524 Likewise.
3525 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3526 Likewise.
3527 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3528 Likewise.
3529 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3530 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3531 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3532 Likewise.
3533 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3534 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3535 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3536 * sysdeps/posix/sleep.c: Likewise.
3537 * sysdeps/posix/tempname.c: Likewise.
3538 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3539 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3540 Likewise.
3541 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3542 elf_machine_rela): Likewise.
3543 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3544 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3545 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3546 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3547 Likewise.
3548 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3549 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3550 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3551 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3552 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3553 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3554 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3555 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3556 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3557 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3558 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3559 elf_machine_lazy_rel): Likewise.
3560 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3561 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3562 elf_machine_lazy_rel): Likewise.
3563 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3564 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3565 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3566 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3567 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3568 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3569 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3571 Likewise.
3572 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3573 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3574 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3575 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3576 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3577 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3578 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3579 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3580 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3581 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3582 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3583 Likewise.
3584 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3585 (__posix_fallocate64_l64): Likewise.
3586 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3587 (posix_fallocate): Likewise.
3588 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3589 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3590 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3591 getifaddrs_internal): Likewise.
3592 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3593 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3594 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3595 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3596 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3597 (__posix_fallocate64_l64): Likewise.
3598 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3599 Likewise.
3600 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3601 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3602 Likewise.
3603 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3604 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3605 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3606 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3607 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3608 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3609 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3610 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3611 Likewise.
3612 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3613 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3614 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3615 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3616 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3617 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3618 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3619 Likewise.
3620 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3621 (posix_fallocate): Likewise.
3622 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3623 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3624 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3625 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3626 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3627 Likewise.
3628 * time/asctime.c (asctime_internal): Likewise.
3629 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3630 * time/tzset.c (__tzset_parse_tz): Likewise.
3631 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3632 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3633 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3634 * wcsmbs/wcsmbsload.h: Likewise.
3635
f3d338c9
OB
36362014-02-10 Ondřej Bílka <neleai@seznam.cz>
3637
3638 [BZ #15894]
3639 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3640
bdfe308a
OB
36412014-02-10 Ondřej Bílka <neleai@seznam.cz>
3642
3643 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3644 arena_get2): Remove THREAD_STATS conditionals.
3645 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3646 __malloc_stats, int): Likewise.
3647
d674667c
MF
36482014-02-08 Mike Frysinger <vapier@gentoo.org>
3649
3650 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3651 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3652
6349768c
MF
36532014-02-08 Mike Frysinger <vapier@gentoo.org>
3654
3655 * manual/setjmp.texi: Fix typos/grammar errors.
3656
0b7c7473
MF
36572014-02-08 Mike Frysinger <vapier@gentoo.org>
3658
3659 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3660 Only return early when n is <= 0. Delete unused return statement.
3661
ac8cc9e3
MF
36622014-02-08 Mike Frysinger <vapier@gentoo.org>
3663
3664 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3665 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3666 * debug/tst-longjmp_chk3.c: New file.
3667
c5bb8e23
MF
36682014-02-08 Mike Frysinger <vapier@gentoo.org>
3669
3670 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3671 (test_main): Replace code with set_fortify_handler call.
3672 * debug/test-strcpy_chk.c: Likewise.
3673 * debug/tst-chk1.c: Likewise.
3674 * debug/tst-longjmp_chk.c: Likewise.
3675 * test-skeleton.c: Include fcntl.h & paths.h
3676 (set_fortify_handler): Define.
3677
10444e42
MF
36782014-02-08 Mike Frysinger <vapier@gentoo.org>
3679
3680 * debug/tst-longjmp_chk.c: Add header comment and include
3681 ../test-skeleton.c.
3682 (do_test): Mark static.
3683 (TEST_FUNCTION): Define.
3684
1e805e8d
MF
36852014-02-08 Mike Frysinger <vapier@gentoo.org>
3686
3687 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3688 (IP_PMTUDISC_INTERFACE): Likewise.
3689 (IP_MULTICAST_IF): Likewise.
3690 (IP_MULTICAST_TTL): Likewise.
3691 (IP_MULTICAST_LOOP): Likewise.
3692 (IP_ADD_MEMBERSHIP): Likewise.
3693 (IP_DROP_MEMBERSHIP): Likewise.
3694 (IP_UNBLOCK_SOURCE): Likewise.
3695 (IP_BLOCK_SOURCE): Likewise.
3696 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3697 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3698 (IP_MSFILTER): Likewise.
3699 (MCAST_JOIN_GROUP): Likewise.
3700 (MCAST_BLOCK_SOURCE): Likewise.
3701 (MCAST_UNBLOCK_SOURCE): Likewise.
3702 (MCAST_LEAVE_GROUP): Likewise.
3703 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3704 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3705 (MCAST_MSFILTER): Likewise.
3706 (IP_MULTICAST_ALL): Likewise.
3707 (IP_UNICAST_IF): Likewise.
3708
73f79bb7
MF
37092014-02-08 Mike Frysinger <vapier@gentoo.org>
3710
3711 * timezone/Makefile: Delete $(have-ksh) check.
3712 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3713 * timezone/tzselect.ksh: Add +x mode bits.
3714
8da79b60
MF
37152014-02-08 Mike Frysinger <vapier@gentoo.org>
3716
3717 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3718 (ANON_INODE_FS_MAGIC): Likewise.
3719 (BDEVFS_MAGIC): Likewise.
3720 (BINFMTFS_MAGIC): Likewise.
3721 (BTRFS_TEST_MAGIC): Likewise.
3722 (CRAMFS_MAGIC_WEND): Likewise.
3723 (DEBUGFS_MAGIC): Likewise.
3724 (ECRYPTFS_SUPER_MAGIC): Likewise.
3725 (EXT3_SUPER_MAGIC): Likewise.
3726 (EXT4_SUPER_MAGIC): Likewise.
3727 (FUTEXFS_SUPER_MAGIC): Likewise.
3728 (HOSTFS_SUPER_MAGIC): Likewise.
3729 (HUGETLBFS_MAGIC): Likewise.
3730 (MINIX3_SUPER_MAGIC): Likewise.
3731 (MTD_INODE_FS_MAGIC): Likewise.
3732 (NILFS_SUPER_MAGIC): Likewise.
3733 (OPENPROM_SUPER_MAGIC): Likewise.
3734 (PIPEFS_MAGIC): Likewise.
3735 (PSTOREFS_MAGIC): Likewise.
3736 (QNX6_SUPER_MAGIC): Likewise.
3737 (RAMFS_MAGIC): Likewise.
3738 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3739 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3740 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3741 (SECURITYFS_MAGIC): Likewise.
3742 (SELINUX_MAGIC): Likewise.
3743 (SMACK_MAGIC): Likewise.
3744 (SOCKFS_MAGIC): Likewise.
3745 (SQUASHFS_MAGIC): Likewise.
3746 (STACK_END_MAGIC): Likewise.
3747 (TMPFS_MAGIC): Likewise.
3748 (USBDEVICE_SUPER_MAGIC): Likewise.
3749 (V9FS_MAGIC): Likewise.
3750 (XENFS_SUPER_MAGIC): Likewise.
3751 (CRAMFS_MAGIC): Fix typo in comment.
3752 (EXT2_SUPER_MAGIC): Update comment.
3753 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3754
464263cc
JM
37552014-02-08 Joseph Myers <joseph@codesourcery.com>
3756
c6bfe5c4
JM
3757 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3758 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3759 * sysdeps/unix/sysv/linux/arm: Move directory from
3760 ports/sysdeps/unix/sysv/linux/arm.
3761 * README: Update listing for arm-*-linux-gnueabi.
3762
464263cc
JM
3763 * README: Remove mention of am33.
3764
32749f6c
RM
37652014-02-07 Roland McGrath <roland@hack.frob.com>
3766
3767 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3768 than the comma operator, to avoid "rhs of comma has no effect"
3769 compiler warnings.
3770 (__sigfillset, __sigandset, __sigorset): Likewise.
3771 * include/signal.h (__sigemptyset): Likewise.
3772 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3773
d5b396c1
AM
37742014-02-07 Allan McRae <allan@archlinux.org>
3775
3776 * version.h (RELEASE): Set to "development".
3777 (VERSION): Set to "2.19.90"
3778 * NEWS: Add 2.20 section.
3779
3bfff2ed
CD
37802014-02-06 Carlos O'Donell <carlos@redhat.com>
3781
3782 [BZ #16529]
3783 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3784
ee7cc385
SP
37852014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3786
3787 * manual/contrib.texi: Update entry for Carlos O'Donell,
3788 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3789
f877c4f2
CD
37902014-02-05 Carlos O'Donell <carlos@rehdat.com>
3791
27e839f6
CD
3792 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3793
f877c4f2
CD
3794 * sysdeps/unix/sysv/linux/kernel-features.h
3795 [__LINUX_KERNEL_VERSION >= 0x020621]
3796 (__ASSUME_PROC_PID_TASK_COMM): Define.
3797
68159946
SP
37982014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3799
ba17cdbd
SP
3800 [BZ #16398]
3801 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3802 conversion when destination buffer does not have enough space.
3803 * libio/tst-ftell-partial-wide.c: New test case.
3804 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3805
68159946
SP
3806 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3807 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3808 Leonard and Allan McRae.
3809
2b528732
DM
38102014-02-04 David S. Miller <davem@davemloft.net>
3811
3812 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3813 32-bit.
3814
0ff82463
AZ
38152014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3816
c01603f7
AZ
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3818 file
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3820 New file
3821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3822 file.
3823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3824 file.
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3826 New file.
3827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3828 file.
3829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3830 file.
3831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3832 New file.
3833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3834 New file.
3835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3836 New file.
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3838 New file.
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3840 New file.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3842 New file.
3843
38442014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3845
0ff82463
AZ
3846 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3847 * shlib-versions: Likewise.
3848
1695c773
AZ
38492014-02-04 Roland McGrath <roland@hack.frob.com>
3850 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3851
3852 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3853 (abilist-pattern): New variable, set to %-le.abilist.
3854
3855 * Makerules (abilist-pattern): New variable.
3856 (vpath): Use $(abilist-pattern) in place of %.abilist.
3857 (check-abi-% pattern rule): Likewise.
3858 (check-abi, update-abi): Likewise.
3859
6c0ce4b4
EW
38602014-02-04 Eric Wong <normalperson@yhbt.net>
3861
3862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3863
dc98b8f5
EW
38642014-02-04 Eric Wong <normalperson@yhbt.net>
3865
3866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3867
481e3524
CD
38682014-02-03 Carlos O'Donell <carlos@redhat.com>
3869
3870 * manual/startup.texi: Add next, previous, and top entries for
3871 the `Program Arguments' and `Environment Variables' nodes.
3872
375592d3
AO
38732014-02-03 Alexandre Oliva <aoliva@redhat.com>
3874
3875 * manual/macros.texi: Add comments before MTASC-safety macros.
3876
f54838ba
AO
3877 * manual/users.texi: Document MTASC-safety properties.
3878
909e12ad
AO
3879 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3880 pthread_getspecific, pthread_setspecific): Format with
3881 @deftypefun, and add @safety note.
3882 * manual/signal.texi: Move comments that analyze the above
3883 functions to their home place.
3884
fd3daba4
AM
38852014-02-03 Allan McRae <allan@archlinux.org>
3886
3887 * po/sl.po: Update Slovenian translation from translation project.
3888
597636d7
AO
38892014-02-02 Alexandre Oliva <aoliva@redhat.com>
3890
3891 * manual/time.texi (timegm): Add missing blank after @c.
3892 Reported by Joseph Myers <joseph@codesourcery.com>.
3893
ee196e3c
AO
38942014-02-01 Alexandre Oliva <aoliva@redhat.com>
3895
3896 * manual/check-safety.sh: New.
3897 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3898
f8d529d5
AO
3899 * manual/terminal.texi: Document MTASC-safety properties.
3900
de55fdf4
AO
3901 * manual/filesys.texi: Document MTASC-safety properties.
3902
c3299c08
AO
3903 * manual/errno.texi: Document MTASC-safety properties.
3904
06e90b14
AO
3905 * manual/intro.texi: Document safety identifiers and
3906 conditionals.
3907
1acd4371
AO
3908 * manual/string.texi (wcstok): Fix prototype.
3909 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3910
23e5b8cb
AO
3911 * manual/time.texi: Document MTASC-safety properties.
3912
11087373
AO
3913 * manual/string.texi: Document MTASC-safety properties.
3914
5da2c93d
AO
3915 * manual/threads.texi: Document MTASC-safety properties.
3916
171e9210
AO
3917 * manual/stdio.texi: Document MTASC-safety properties.
3918
d9e02532
AO
3919 * manual/syslog.texi: Document MTASC-safety properties.
3920
6af8bab7
AO
3921 * manual/sysinfo.texi: Document MTASC-safety properties.
3922
663b02d7
AO
3923 * manual/startup.texi: Document MTASC-safety properties.
3924
973f180b
AO
3925 * manual/socket.texi: Document MTASC-safety properties.
3926
8f3c25c8
AO
3927 * manual/signal.texi: Document MTASC-safety properties.
3928
542210fb
AO
39292014-01-31 Alexandre Oliva <aoliva@redhat.com>
3930
3931 * manual/setjmp.texi: Document MTASC-safety properties.
3932
433c45a2
AO
3933 * manual/search.texi: Document MTASC-safety properties.
3934
c8ce789c
AO
3935 * manual/resource.texi: Document MTASC-safety properties.
3936
19f5d29c
AO
3937 * manual/process.texi: Document MTASC-safety properties.
3938
e2dfb7f4
AO
3939 * manual/platform.texi: Document MTASC-safety properties.
3940
8c1413f5
AO
3941 * manual/pipe.texi: Document MTASC-safety properties.
3942
03483ada
AO
3943 * manual/pattern.texi: Document MTASC-safety properties.
3944
29e7e2df
AO
3945 * manual/message.texi: Document MTASC-safety properties.
3946
9f529d7c
AO
3947 [BZ #12751]
3948 * manual/memory.texi: Document MTASC-safety properties.
3949
27aaa791
AO
3950 * manual/math.texi: Document MTASC-safety properties.
3951
f2d58726
AO
3952 * manual/locale.texi: Document MTASC-safety properties.
3953
2cc3615c
AO
3954 * manual/llio.texi: Document MTASC-safety properties.
3955
d9f0ec97
AO
3956 * manual/libdl.texi: New.
3957
e7c4409a
AO
3958 * manual/lang.texi: Document MTASC-safety properties.
3959
27bdc63c
AO
3960 * manual/job.texi: Document MTASC-safety properties.
3961
a7b90ea9
AO
3962 * manual/getopt.texi: Document MTASC-safety properties.
3963
c49130e3
AO
3964 * manual/ctype.texi: Document MTASC-safety properties.
3965
0d23a5c1
MR
39662014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3967
3968 [BZ #16046]
3969 * csu/libc-tls.c (static_map): Remove variable.
3970 (__libc_setup_tls): Use main executable's link map for TLS data.
3971 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3972 casing for LM_ID_BASE and GL(dl_nns).
3973 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3974 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3975 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3976 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3977 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3978 member.
3979 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3980 l_phnum members.
3981
0037bb60
AO
39822014-01-30 Alexandre Oliva <aoliva@redhat.com>
3983
3984 * manual/debug.texi: Document MTASC-safety properties.
3985
409e00bd
L
39862014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3987
3988 [BZ #16510]
3989 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3990 of __x86_64__ when disabling x87 inline functions.
3991
86e60666
AO
39922014-01-29 Alexandre Oliva <aoliva@redhat.com>
3993
3994 * manual/charset.texi: Document MTASC-safety properties.
3995
76167637
AO
3996 * manual/crypt.texi: Document MTASC-safety properties.
3997
e567f2a0
AO
3998 * manual/conf.texi: Document MTASC-safety properties.
3999
b719dafd
AO
4000 * manual/arith.texi: Document MTASC-safety properties.
4001
4a16c662
AO
4002 * manual/argp.texi: Document MTASC-safety properties.
4003
0a57b83e
AO
4004 * manual/macros.texi: Introduce macros to document multi
4005 thread, asynchronous signal and asynchronous cancellation
4006 safety properties.
4007 * manual/intro.texi: Introduce the properties themselves.
4008
feab2397
KK
40092014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4010
4011 * sysdeps/sh/sh4/Makefile: New file.
4012
1c0d11bc
AS
40132014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4014
4015 * math/gen-libm-test.pl ($srcdir): New variable.
4016 ($auto_input): Use it.
4017
af37a8a3
SP
40182014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4019
d7b00f98
SP
4020 [BZ #16506]
4021 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4022 access beyond array bounds when parsing netgroups file.
4023
af37a8a3
SP
4024 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4025 the old buffer before realloc.
4026
0c00f062
AM
40272014-01-27 Allan McRae <allan@archlinux.org>
4028
4029 * po/fr.po: Update French translation from translation project.
4030
7d69a1b0
KK
40312014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4032
4033 * sysdeps/sh/libm-test-ulps: Regenerate.
4034
6e697ff7
DM
40352014-01-24 David S. Miller <davem@davemloft.net>
4036
4037 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4038
9cadb35c
KK
40392014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4040
4041 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4042 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4043
5d41dadf
SP
40442013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4045
4046 [BZ #16474]
4047 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4048 string pointers after reallocation.
4049
0bad441c
KK
40502014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4051
4052 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4053 __SH4A__ instead of __SH_FPU_ANY__.
4054
7007c661
KK
40552014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4056
4057 * sysdeps/sh/fpu_control.h: New file.
4058 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4059 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4060 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4061 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4062 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4063 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4064 * sysdeps/sh/sys/ucontext.h: Remove.
4065 * sysdeps/sh/sys: Remove directory.
4066
0f0c35e4
AK
40672014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4068
4069 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4070 s390/sys/ucontext.h.
4071 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4072 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4073
4959e284
L
40742014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4075
4076 [BZ #15605]
4077 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4078
d98720e0
AZ
40792014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4080
4081 [BZ#16431]
4082 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4083 Adjust the vDSO correctly for internal calls.
4084 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4085
91cbd0bc
AM
40862014-01-20 Allan McRae <allan@archlinux.org>
4087
4088 * po/ca.po: Update Catalan translation from translation project.
4089
7a02cfad
MF
40902014-01-16 Mike Frysinger <vapier@gentoo.org>
4091
4092 * sysdeps/s390/sotruss-lib.c: New file.
4093
736c304a
AZ
40942014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4095
4096 [BZ#16430]
6e077ee5 4097 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4098 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4099 local calls issues by not having a PLT stub required for IFUNC calls.
4100 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4101
94d0cea0
JM
41022014-01-16 Joseph Myers <joseph@codesourcery.com>
4103
4104 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4105 * math/test-fpucw-static.c: Likewise.
4106
980cb518
SP
41072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4108
4109 [BZ #16453]
4110 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4111
2393fc01
AZ
41122014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4113
4114 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4115 implementation for powerpc.
4116
d359bcc2
OB
41172014-01-15 Ondřej Bílka <neleai@seznam.cz>
4118
4119 [BZ #14782]
4120 * sysdeps/posix/system.c (__libc_system): Do not enable
4121 asynchronous cancellation.
4122
7beb48cb
AK
41232014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4124
4125 [BZ #16427]
4126 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4127 handling only for numbers special also in the IEEE case.
4128
c20d5bf5
AK
41292014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4130
4131 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4132
e83bd4ee
AM
41332014-01-11 Allan McRae <allan@archlinux.org>
4134
76d0ea69
AM
4135 * po/bg.po: Update Bulgarian translation from translation project.
4136
e83bd4ee
AM
4137 * po/de.po: Update German translation from translation project.
4138
bc2ba20a
RM
41392014-01-10 Roland McGrath <roland@hack.frob.com>
4140
4141 * sysdeps/generic/gcc-compat.h: New file.
4142
649ecea2
SP
41432014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4144
4145 * benchtests/asin-inputs: Correct slow inputs.
4146 * benchtests/acos-inputs: Likewise.
4147
1b19c006
AM
41482014-01-10 Allan McRae <allan@archlinux.org>
4149
a46dab08
AM
4150 * po:sv.po: Update Swedish translation from translation project.
4151
421df74a
AM
4152 * po/vi.po: Update Vietnamese translation from translation project.
4153
d61c51a7
AM
4154 * po/eo.po: Update Esperanto translation from translation project.
4155
0339a319
AM
4156 * po/cs.po: Update Czech translation from translation project.
4157
94ad3e99
AM
4158 * po/nl.po: Update Dutch translation from translation project.
4159
e349ca71
AM
4160 * po/pl.po: Update Polish translation from translation project.
4161
ddf930c1
AM
4162 * po/ru.po: Update Russian translation from translation project.
4163
1b19c006
AM
4164 * po/uk.po: Update Ukrainian translation from translation project.
4165
9f236c49
BM
41662014-01-08 Brooks Moses <bmoses@google.com>
4167
4168 * elf/dl-load.c: Fix comment typo.
4169
cd6701cf
CD
41702014-01-08 Carlos O'Donell <carlos@redhat.com>
4171
4172 * po/header.pot: Rename to...
4173 * po/pot.header: ... this.
4174 * po/Makefile: Use pot.header.
4175
66671c84
YK
41762014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4177 Maxim Kuvyrkov <maxim@kugelworks.com>
4178
4179 [BZ #16394]
cd6701cf
CD
4180 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4181 SRC and DEST against LEN.
66671c84 4182
38f34581
AZ
41832014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4184
4185 [BZ #16414]
4186 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4187 implementation.
4188 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4189
41902014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4191
4192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4193
4c327f2a
JM
41942014-01-08 Joseph Myers <joseph@codesourcery.com>
4195
4196 [BZ #16408]
4197 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4198 for large positive arguments.
4199
b821f414
JM
42002014-01-07 Joseph Myers <joseph@codesourcery.com>
4201
1f0f2067
JM
4202 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4203
a5a326f6
JM
4204 * math/auto-libm-test-in: Mark various tests with
4205 xfail-rounding:ldbl-128ibm.
4206 * math/auto-libm-test-out: Regenerated.
4207
b821f414
JM
4208 [BZ #16407]
4209 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4210 Increase overflow threshold.
4211
94c8a4bc
OB
42122014-01-07 Ondřej Bílka <neleai@seznam.cz>
4213
4214 [BZ #14286]
4215 * stdio-common/vfprintf.c: Check for integer overflow.
4216
87ded0c3
AK
42172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4218
4219 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4220 the first argument and return value of __tls_get_addr_internal.
4221
c5eebdd0
AK
42222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4223
4224 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4225 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4226
05d138ef
AK
42272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4228
4229 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4230 * sysdeps/s390/rtld-global-offsets.sym: New file.
4231 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4232 GLIBC_2.19 symbol.
4233 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4234 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4235 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4236 ... this.
4237 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4238 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4239 ... this.
4240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4241 Regenerate.
4242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4243 Regenerate.
4244 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4245 halfs of GPRs for high_gprs contexts.
4246 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4247 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4248 field.
4249 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4250 uc_flags field.
4251 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4252 64 bit versions:
4253 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4254 for high GPRs (uc_high_gprs) and for future extensions
4255 (__reserved).
4256 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4257 for future extensions (__reserved).
4258 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4259 64 bit versions:
4260 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4261 SC_HIGHGPRS offset definition.
4262 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4263 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4264
93a45ff1
AK
42652014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4266
4267 * Versions.def: Add GLIBC_2.19 for libpthread.
4268 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4269 siglongjmp for libpthread with GLIBC_2.19 symver.
4270 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4271 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4272 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4273 * sysdeps/s390/__longjmp.c: New file.
4274 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4275 * sysdeps/s390/longjmp.c: New file.
4276 * sysdeps/s390/setjmp.S: New file.
4277 * sysdeps/s390/sigjmp.S: New file.
4278 * sysdeps/s390/v1-longjmp.c: New file.
4279 * sysdeps/s390/v1-setjmp.h: New file.
4280 * sysdeps/s390/v1-sigjmp.c: New file.
4281 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4282 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4283 GLIBC_2.19 version.
4284 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4285 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4286 versioned symbols for ____longjmp_chk.
4287 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4288 Likewise.
4289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4290 Regenerate.
4291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4292 Regenerate.
4293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4294 Regenerate.
4295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4296 Regenerate.
4297 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4298 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4299 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4300 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4301 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4302 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4303 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4304 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4305 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4306 * sysdeps/s390/rtld-__longjmp.c: New file.
4307 * sysdeps/s390/rtld-setjmp.S: New file.
4308
eb3fc44b
JM
43092014-01-06 Joseph Myers <joseph@codesourcery.com>
4310
4311 [BZ #16400]
4312 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4313 Return -__logl (x) for small positive arguments without evaluating
4314 a polynomial.
4315
9341dde4
MF
43162014-01-06 Mike Frysinger <vapier@gentoo.org>
4317
4318 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4319 Rename to ...
4320 (__ptrace_peeksiginfo_args): ... this.
4321 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4322 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4323 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4324
4cff0293
AM
43252014-01-06 Allan McRae <allan@archlinux.org>
4326
4327 * inet/netinet/in.h: Fix typo in comment.
4328
75595dcf
AJ
43292014-01-05 Andreas Jaeger <aj@suse.de>
4330
4331 * sysdeps/i386/fpu/libm-test-ulps: Update.
4332
79c1e109
AM
43332014-01-05 Allan McRae <allan@archlinux.org>
4334
dd804818
AM
4335 * po/libc.pot: Regenerated.
4336
79c1e109
AM
4337 * malloc/memusagestat.c: Fix gettext call formatting.
4338
0c813d1f
SK
43392014-01-04 Sami Kerola <kerolasa@iki.fi>
4340
4341 * nscd/nscd.c: Improve usage() output.
4342
20f4a8d9
MF
43432014-01-04 Mike Frysinger <vapier@gentoo.org>
4344
4345 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4346 * sysdeps/unix/sysv/linux/configure: Regenerated.
4347 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4348 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4349
22562bb2
JM
43502014-01-03 Joseph Myers <joseph@codesourcery.com>
4351
4352 [BZ #16390]
4353 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4354 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4355
d7ad2d9b
AZ
43562014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4357
4358 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4359 extra tokens at end of #undef directive.
4360 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4361 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4362 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4363
7dd009d8
JM
43642014-01-03 Joseph Myers <joseph@codesourcery.com>
4365
24db925a
JM
4366 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4367
7dd009d8
JM
4368 * math/auto-libm-test-in: Mark various tests with
4369 xfail-rounding:ldbl-128ibm.
4370 * math/auto-libm-test-out: Regenerated.
4371
396e3ecf
JM
43722014-01-02 Joseph Myers <joseph@codesourcery.com>
4373
819e5d50
JM
4374 [BZ #16386]
4375 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4376 numbers with subnormal high part when calculating exponent.
4377
90b6a1e5
JM
4378 [BZ #16385]
4379 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4380 fabs.
4381
396e3ecf
JM
4382 [BZ #16384]
4383 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4384 M_LN2l.
4385 (__ieee754_acoshl): Use __log1pl not __log1p.
4386
6c8dbf00
OB
43872013-01-02 Ondřej Bílka <neleai@seznam.cz>
4388
4389 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4390 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4391 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4392 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4393 Convert to GNU style.
4394 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4395 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4396 memalign_check, __malloc_set_state): Likewise.
4397 * malloc/mallocbug.c (main): Likewise.
4398 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4399 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4400 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4401 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4402 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4403 * malloc/malloc.h: Likewise.
4404 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4405 memalignhook, reallochook, mabort): Likewise.
4406 * malloc/mcheck.h: Likewise.
4407 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4408 mmap64, mremap, munmap, dest): Likewise.
4409 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4410 * malloc/morecore.c (__default_morecore): Likewise.
4411 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4412 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4413 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4414 print_and_abort): Likewise.
4415 * malloc/obstack.h: Likewise.
4416 * malloc/set-freeres.c (__libc_freeres): Likewise.
4417 * malloc/tst-mallocstate.c (main): Likewise.
4418 * malloc/tst-mtrace.c (main): Likewise.
4419 * malloc/tst-realloc.c (do_test): Likewise.
4420
d4124212
SP
44212013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4422
9a3c6a6f
SP
4423 [BZ #16366]
4424 * nscd/netgroupcache.c (do_notfound): New function.
4425 (addgetnetgrentX): Use it.
4426
d4124212
SP
4427 [BZ # 16365]
4428 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4429 NSS_STATUS_NOTFOUND.
4430
97b9a009
JM
44312014-01-01 Joseph Myers <joseph@codesourcery.com>
4432
4433 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4435
d4697bc9
AM
44362014-01-01 Allan McRae <allan@archlinux.org>
4437
ddb3687f
AM
4438 * scripts/update-copyrights: Update configure input file suffix.
4439
88726d48
AM
4440 * NEWS: Update copyright year.
4441 * catgets/gencat.c: Likewise.
4442 * csu/version.c: Likewise.
4443 * debug/catchsegv.sh: Likewise.
4444 * debug/pcprofiledump.c: Likewise.
4445 * debug/xtrace.sh: Likewise.
4446 * elf/ldconfig.c: Likewise.
4447 * elf/ldd.bash.in: Likewise.
4448 * elf/pldd.c: Likewise.
4449 * elf/sotruss.ksh: Likewise.
4450 * elf/sprof.c: Likewise.
4451 * iconv/iconv_prog.c: Likewise.
4452 * iconv/iconvconfig.c: Likewise.
4453 * locale/programs/locale.c: Likewise.
4454 * locale/programs/localedef.c: Likewise.
4455 * login/programs/pt_chown.c: Likewise.
4456 * malloc/memusage.sh: Likewise.
4457 * malloc/memusagestat.c: Likewise.
4458 * malloc/mtrace.pl: Likewise.
4459 * manual/libc.texinfo: Likewise.
4460 * nscd/nscd.c: Likewise.
4461 * nss/getent.c: Likewise.
4462 * nss/makedb.c: Likewise.
4463 * posix/getconf.c: Likewise.
4464 * scripts/test-installation.pl: Likewise.
4465
d4697bc9
AM
4466 * All files with FSF copyright notices: Update copyright dates
4467 using scripts/update-copyrights.
4468 * intl/plural.c: Regenerated.
4469 * locale/programs/charmap-kw.h: Likewise.
4470 * locale/programs/locfile-kw.h: Likewise.
4471
c8590f9d
MF
44722013-12-31 Mike Frysinger <vapier@gentoo.org>
4473
4474 * sysdeps/unix/sysv/linux/configure: Regenerated.
4475 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4476 the linux/fanotify.h header.
4477 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4478 HAVE_LINUX_FANOTIFY_H is defined.
4479
b19221b9
SP
44802013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4481
dd1d85e5
SP
4482 * benchtests/cos-inputs: New inputs.
4483 * benchtests/sin-inputs: Likewise.
4484
1acbb90f
SP
4485 * benchtests/atan-inputs: New inputs. Fix name of multiple
4486 precision fallback inputs.
4487
4c012ed3
SP
4488 * benchtests/atanh-inputs: New inputs.
4489 * benchtests/tanh-inputs: Likewise.
4490
eff98324
SP
4491 * benchtests/acosh-inputs: New inputs.
4492 * benchtests/asinh-inputs: Likewise.
4493
ce641152
SP
4494 * benchtests/cosh-inputs: New inputs.
4495 * benchtests/sinh-inputs: Likewise.
4496
b19221b9
SP
4497 * benchtests/acos-inputs: Add more inputs.
4498 * benchtests/asin-inputs: Likewise.
4499
030a4976 45002013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4501
030a4976 4502 [BZ #16375]
9dcc8f11
VS
4503 * manual/arith.texi: Fix spelling.
4504 * manual/charset.texi: Likewise.
4505 * manual/errno.texi: Likewise.
4506 * manual/filesys.texi: Likewise.
4507 * manual/lang.texi: Likewise.
4508 * manual/llio.texi: Likewise.
4509 * manual/locale.texi: Likewise.
4510 * manual/message.texi: Likewise.
4511 * manual/resource.texi: Likewise.
4512 * manual/search.texi: Likewise.
4513 * manual/setjmp.texi: Likewise.
4514 * manual/stdio.texi: Likewise.
4515 * manual/string.texi: Likewise.
4516 * manual/sysinfo.texi: Likewise.
4517 * manual/time.texi: Likewise.
4518
11520a57
CD
45192013-12-27 Carlos O'Donell <carlos@redhat.com>
4520
4521 * po/sl.po: New file.
4522
471103ae
MF
45232013-12-27 Mike Frysinger <vapier@gentoo.org>
4524
4525 * .gitignore: Add core/.gdbinit/.gdb_history.
4526
6c9642ed
AM
45272013-12-27 Allan McRae <allan@archlinux.org>
4528
4529 [BZ #16369]
4530 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4531 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4532
3f637079
BM
45332013-12-24 Brooks Moses <bmoses@google.com>
4534
4535 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4536 all compilers that claim C++98 compliance, not just GCC.
4537 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4538 Likewise.
4539
abc26e99
MK
45402013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4541
4542 * NEWS: Restore accidentally deleted bug-fix entries.
4543
362b47fe
MK
45442013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4545 Ondřej Bílka <neleai@seznam.cz>
4546
4547 [BZ #15073]
4548 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4549 have_lock.
362b47fe 4550
b9bcbbcb
OB
45512013-12-23 Ondřej Bílka <neleai@seznam.cz>
4552
4553 [BZ #12986]
4554 * manual/stdio.texi (String Input Conversions): Clarify that character
4555 classes are not supported.
4556
fb55fcd2
AZ
45572013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4558
4559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4560
ef7344f0
JM
45612013-12-22 Joseph Myers <joseph@codesourcery.com>
4562
4f40e4b3
JM
4563 [BZ #16337]
4564 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4565 Calculate results for small negative arguments directly rather
4566 than using reflection formula with special underflow handling.
4567
ef7344f0
JM
4568 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4569 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4570 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4571 (fchflags): Likewise.
4572 (revoke): Likewise.
4573 (setlogin): Likewise.
4574 (sigaltstack): Likewise.
4575 (wait4): Likewise.
4576 (sigblock): Remove.
4577 (sigsetmask): Likewise.
4578 (wait3): Likewise.
4579 (waitpid): Likewise.
4580 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4581 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4582 file.
4583 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4584 * sysdeps/unix/bsd/Makefile: ... here.
4585 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4586 * sysdeps/unix/bsd/Versions: ... here.
4587 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4588 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4589 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4590 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4591 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4592 * sysdeps/unix/bsd/sigblock.c: ... here.
4593 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4594 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4595 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4596 * sysdeps/unix/bsd/sigvec.c: ... here.
4597 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4598 * sysdeps/unix/bsd/tcdrain.c: ... here.
4599 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4600 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4601 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4602 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4603 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4604 * sysdeps/unix/bsd/wait.c: ... here.
4605 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4606 * sysdeps/unix/bsd/wait3.c: ... here.
4607 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4608 * sysdeps/unix/bsd/waitpid.c: ... here.
4609
5b0626b9
JM
46102013-12-21 Joseph Myers <joseph@codesourcery.com>
4611
4612 [BZ #16356]
4613 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4614 round-to-nearest for [!USE_AS_EXPM1L].
4615 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4616 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4617 more tests of exp and exp10. Expect some exp10 tests to miss
4618 exceptions or fail in directed rounding modes.
4619 * math/auto-libm-test-out: Regenerated.
4620 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4621 (exp10_test_tonearest): New function.
4622 (exp10_towardzero_test_data): New array.
4623 (exp10_test_towardzero): New function.
4624 (exp10_downward_test_data): New array.
4625 (exp10_test_downward): New function.
4626 (exp10_upward_test_data): New array.
4627 (exp10_test_upward): New function.
4628 (main): Call the new functions.
4629 * sysdeps/i386/fpu/libm-test-ulps: Update.
4630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4631
7fda5682
JM
46322013-12-20 Joseph Myers <joseph@codesourcery.com>
4633
31e3a405
JM
4634 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4635 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4636 * math/auto-libm-test-out: Regenerated.
4637 * math/libm-test.inc (acosh_test_data): Add more tests.
4638 (atanh_test_data): Likewise.
4639 (ceil_test_data): Likewise.
4640 (copysign_test_data): Likewise.
4641 * sysdeps/i386/fpu/libm-test-ulps: Update.
4642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4643
85bff96a
JM
4644 * timezone/checktab.awk: Update from tzcode 2013i.
4645 * timezone/private.h: Likewise.
4646 * timezone/scheck.c: Likewise.
4647 * timezone/tzfile.h: Likewise.
4648 * timezone/tzselect.ksh: Likewise.
4649 * timezone/zdump.c: Likewise.
4650 * timezone/zic.c: Likewise.
4651
b7867a3b
JM
4652 * math/auto-libm-test-in: Add tests of cpow.
4653 * math/auto-libm-test-out: Regenerated.
4654 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4655 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4656 mpc_cc_c.
4657 (func_calc_desc): Add mpc_cc_c union field.
4658 (test_functions): Add cpow.
4659 (special_fill_2pi): New function.
4660 (special_real_inputs): Add 2pi.
4661 (calc_generic_results): Handle mpc_cc_c.
4662 * sysdeps/i386/fpu/libm-test-ulps: Update.
4663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4664
7fda5682
JM
4665 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4666 csqrt, ctan and ctanh.
4667 * math/auto-libm-test-out: Regenerated.
4668 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4669 (TEST_COND_x86): Likewise.
4670 (ccos_test_data): Use AUTO_TESTS_c_c.
4671 (ccosh_test_data): Likewise.
4672 (cexp_test_data): Likewise.
4673 (clog_test_data): Likewise.
4674 (csqrt_test_data): Likewise.
4675 (ctan_test_data): Likewise.
4676 (ctan_tonearest_test_data): Likewise.
4677 (ctan_towardzero_test_data): Likewise.
4678 (ctan_downward_test_data): Likewise.
4679 (ctan_upward_test_data): Likewise.
4680 (ctanh_test_data): Likewise.
4681 (ctanh_tonearest_test_data): Likewise.
4682 (ctanh_towardzero_test_data): Likewise.
4683 (ctanh_downward_test_data): Likewise.
4684 (ctanh_upward_test_data): Likewise.
4685 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4686 mpc_c_c.
4687 (func_calc_desc): Add mpc_c_c union field.
4688 (FUNC_mpc_c_c): New macro.
4689 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4690 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4691 ctanh.
4692 (special_fill_min_subnorm_p120): New function.
4693 (special_real_inputs): Add min_subnorm_p120.
4694 (calc_generic_results): Handle mpc_c_c.
4695 * sysdeps/i386/fpu/libm-test-ulps: Update.
4696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4697
5ff8d60e
SP
46982013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4699
392dd2de
SP
4700 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4701 do_sin_slow): New functions.
4702 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4703 cslow2, csloww1, csloww2): Use the new functions.
4704
84ba214c
SP
4705 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4706 Use M to change sign of result instead of X. Assume X is
4707 positive.
4708 (csloww1): Likewise.
4709 (__sin): Adjust.
4710 (__cos): Adjust.
4711
975195e4
SP
4712 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4713 arguments A and DA.
4714 (__sin): Adjust.
4715 (__cos): Likewise.
4716
5ff8d60e
SP
4717 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4718 (__cos): Likewise.
4719 (sloww1): Don't adjust sign of DX.
4720 (csloww1): Likewise.
4721 (sloww2): Use X directly and don't adjust sign of DX.
4722 (csloww2): Likewise.
4723
eb983568
JM
47242013-12-19 Joseph Myers <joseph@codesourcery.com>
4725
64a17f1a
JM
4726 * math/auto-libm-test-in: Add tests of cabs and carg.
4727 * math/auto-libm-test-out: Regenerated.
4728 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4729 (carg_test_data): Likewise.
4730 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4731 mpc_c_f.
4732 (func_calc_desc): Add mpc_c_f union field.
4733 (test_functions): Add cabs and carg.
4734 (calc_generic_results): Handle mpc_c_f.
4735
eb983568
JM
4736 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4737 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4738 as a macro and a compat symbol.
4739 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4740 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4741 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4742 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4743 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4744 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4745 not use .hidden.
4746 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4747 Likewise.
4748 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4749 Likewise.
4750 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4751 Likewise.
4752 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4753 Likewise.
4754 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4755 Likewise.
4756 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4757 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4758 from GLIBC_2.3.2.
4759
6eeb678a
AZ
47602013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4761
4762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4763
6f6fc482
JM
47642013-12-19 Joseph Myers <joseph@codesourcery.com>
4765
21fea2e2
JM
4766 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4767 trailing whitespace removed.
4768 * scripts/config.guess: Update to version 2013-11-29.
4769 * scripts/config.sub: Update to version 2013-10-01.
4770
6f6fc482
JM
4771 * math/auto-libm-test-in: Add tests of sincos.
4772 * math/auto-libm-test-out: Regenerated.
4773 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4774 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4775 mpfr_f_11.
4776 (func_calc_desc): Add mpfr_f_11 union field.
4777 (test_functions): Add sincos.
4778 (calc_generic_results): Handle mpfr_f_11.
4779 * sysdeps/i386/fpu/libm-test-ulps: Update.
4780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4781
83f5c32d
AS
47822013-12-19 Andreas Schwab <schwab@suse.de>
4783
4784 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4785 CALL_MCOUNT.
4786 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4787 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4788 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4789
c688b419
JM
47902013-12-19 Joseph Myers <joseph@codesourcery.com>
4791
335ee092
JM
4792 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4793 * sysdeps/i386/fpu/libm-test-ulps: Update.
4794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4795
f88acd39
JM
4796 [BZ #16293]
4797 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4798 round-to-nearest mode when using frndint.
4799 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4800 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4801 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4802 Likewise.
4803 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4804 sinh test to fail.
4805 * math/auto-libm-test-out: Regenerated.
4806 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4807 (TEST_COND_x86): Likewise.
4808 (expm1_tonearest_test_data): New array.
4809 (expm1_test_tonearest): New function.
4810 (expm1_towardzero_test_data): New array.
4811 (expm1_test_towardzero): New function.
4812 (expm1_downward_test_data): New array.
4813 (expm1_test_downward): New function.
4814 (expm1_upward_test_data): New array.
4815 (expm1_test_upward): New function.
4816 (main): Run the new test functions.
4817 * sysdeps/i386/fpu/libm-test-ulps: Update.
4818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4819
c688b419
JM
4820 * include/features.h: Update comment documenting feature test
4821 macros. Mention _DEFAULT_SOURCE in comment.
4822 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4823 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4824 _BSD_SOURCE and _SVID_SOURCE.
4825 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4826 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4827 !_SVID_SOURCE]: Likewise.
4828 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4829 (__USE_POSIX_IMPLICITLY): Define.
4830 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4831 (_POSIX_SOURCE): Undefine and redefine.
4832 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4833 (_POSIX_C_SOURCE): Likewise.
4834 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4835 (Feature Test Macros): Update documentation of default features.
4836
9f6e964c
RS
48372013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4838
4839 * benchtests/Makefile: Add bench-strtok.
4840 * benchtests/bench-strtok.c: New file: strtok benchtest.
4841
ee0a148a
AM
48422013-12-19 Allan McRae <allan@archlinux.org>
4843
4844 * manual/install.texi: Suppress menu for plain text output.
4845 * INSTALL: Regenerated.
4846
b9ab448f
BM
48472013-12-18 Brooks Moses <bmoses@google.com>
4848
4849 [BZ #15846]
4850 * misc/getauxval.c: Include errno.h.
4851 (__getauxval): Set errno to ENOENT if the requested type is not
4852 found.
4853 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4854 don't declare with __attribute_const__.
4855 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4856 * manual/startup.texi: Document that getauxval sets errno.
4857
23776487
JM
48582013-12-18 Joseph Myers <joseph@codesourcery.com>
4859
f889953b
JM
4860 * math/auto-libm-test-in: Add tests of jn and yn.
4861 * math/auto-libm-test-out: Regenerated.
4862 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4863 (yn_test_data): Likewise.
4864 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4865 mpfr_if_f.
4866 (func_calc_desc): Add mpfr_if_f union field.
4867 (FUNC_mpfr_if_f): New macro.
4868 (test_functions): Add jn and yn.
4869 (calc_generic_results): Assert type of second input for
4870 mpfr_ff_f. Handle mpfr_if_f.
4871 (output_for_one_input_case): Disable all checking for arguments
4872 fitting floating-point types in case of an integer argument.
4873 * sysdeps/i386/fpu/libm-test-ulps: Update.
4874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4875
23776487
JM
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4877 Don't expect fegetround reference in libm.so.
4878
cb756c6d
MS
48792013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4880
4881 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4882 $(config-cflags-nofma).
4883
2dec468f
JM
48842013-12-18 Joseph Myers <joseph@codesourcery.com>
4885
5953eb3a
JM
4886 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4887 * math/auto-libm-test-out: Regenerated.
4888
2dec468f
JM
4889 [BZ #16338]
4890 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4891 to determine exponent and adjust argument to have exponent of -1.
4892 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4893 log2.
4894 * math/auto-libm-test-out: Regenerated.
4895 * sysdeps/i386/fpu/libm-test-ulps: Update.
4896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4897
4d84e6ad
OB
48982013-12-18 Ondřej Bílka <neleai@seznam.cz>
4899
4900 * manual/probes.texi: Remove cases when per-thread arenas are
4901 disabled.
4902
1818483b
AS
49032013-12-18 Andreas Schwab <schwab@suse.de>
4904
4905 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4906 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4907 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4908 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4909 * sysdeps/i386/i686/multiarch/Makefile: Update.
4910 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4911
25de95bf
JM
49122013-12-17 Joseph Myers <joseph@codesourcery.com>
4913
4914 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4915 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4916
674762d9
PE
49172013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4918
ed27ed83 4919 [BZ #15968]
0748546f
PE
4920 Support TZ transition times < 00:00:00.
4921 This is needed for version-3 tz-format files; it supports time
4922 stamps past 2037 for America/Godthab (the only entry in the tz
4923 database for which this change is relevant).
4924 * manual/time.texi (TZ Variable): Document transition times
4925 from -167:59:59 through -00:00:01.
4926 * time/tzset.c (tz_rule): Time of day is now signed.
4927 (__tzset_parse_tz): Parse negative time of day.
4928
4480e934
PE
4929 Document TZ transition times >= 25:00:00.
4930 * manual/time.texi (TZ Variable): Document transition times from
4931 25:00:00 through 167:59:59. These are already supported, and this
4932 support will help with version-3 tz-format files.
4933
69947401
PE
4934 * manual/time.texi (TZ Variable): Modernize North America example
4935 to reflect current (i.e., 2007-and-later) daylight saving rules.
4936
674762d9
PE
4937 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4938
7011c262
JM
49392013-12-17 Joseph Myers <joseph@codesourcery.com>
4940
2fc6557e
JM
4941 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4942 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4944 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4945 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4946 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4947 * sysdeps/unix/bsd/clock.c: Likewise.
4948 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4949 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4950 * sysdeps/unix/bsd/init-posix.c: Likewise.
4951 * sysdeps/unix/bsd/poll.c: Likewise.
4952 * sysdeps/unix/bsd/ptsname.c: Likewise.
4953 * sysdeps/unix/bsd/seekdir.c: Likewise.
4954 * sysdeps/unix/bsd/setegid.c: Likewise.
4955 * sysdeps/unix/bsd/seteuid.c: Likewise.
4956 * sysdeps/unix/bsd/setgid.c: Likewise.
4957 * sysdeps/unix/bsd/setrgid.c: Likewise.
4958 * sysdeps/unix/bsd/setruid.c: Likewise.
4959 * sysdeps/unix/bsd/setsid.c: Likewise.
4960 * sysdeps/unix/bsd/setuid.c: Likewise.
4961 * sysdeps/unix/bsd/sigaction.c: Likewise.
4962 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4963 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4964 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4965 * sysdeps/unix/bsd/telldir.c: Likewise.
4966 * sysdeps/unix/bsd/times.c: Likewise.
4967 * sysdeps/unix/bsd/usleep.c: Likewise.
4968
029c7b25
JM
4969 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4970 ($(objpfx)libbsd-compat.a): Remove rule.
4971
7011c262
JM
4972 * include/features.h (__FAVOR_BSD): Do not define.
4973 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4974 features conflicting with POSIX.
4975 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4976 (_BSD_SOURCE): Remove description of not being a subset of other
4977 feature test macros.
4978 * manual/job.texi (getpgrp): Do not document BSD version.
4979 (getpgid): Do not document by reference to BSD getpgrp.
4980 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4981 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4982 * signal/signal.h [__FAVOR_BSD]: Likewise.
4983 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4984 instead of making contents conditional on [__FAVOR_BSD].
4985 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4986
affb6f78
AZ
49872013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4988
4989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4990
c88769dd
JM
49912013-12-17 Joseph Myers <joseph@codesourcery.com>
4992
6432a540
JM
4993 [BZ #16314]
4994 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4995 values below 2**-450, not 2**-500.
4996 * math/auto-libm-test-in: Don't allow spurious underflow from
4997 hypot.
4998 * math/auto-libm-test-out: Regenerated.
4999
c88769dd
JM
5000 [BZ #16316]
5001 [BZ #16330]
5002 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5003 values of ha and hb and sort them after adjusting subnormal
5004 arguments.
5005 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5006 Likewise.
5007 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5008 values of ea and eb and sort them after adjusting subnormal
5009 arguments.
5010 * math/auto-libm-test-in: Do not expect some hypot tests of
5011 subnormals to fail. Add more hypot tests.
5012 * math/auto-libm-test-out: Regenerated.
5013
29618f6b
KK
50142013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5015
5016 [BZ #13304]
5017 * sysdeps/sh/s_fma.c: New file.
5018 * sysdeps/sh/s_fmaf.c: New file.
5019 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5020 version.
5021 * sysdeps/sh/Implies: Add sh/soft-fp.
5022
eacfdfbf
RM
50232013-12-16 Roland McGrath <roland@hack.frob.com>
5024
5025 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5026 level of indirection to members `objname', `errstring', `malloced'.
5027 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5028 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5029 it as the __longjmp argument (just pass 1 instead).
5030 (_dl_catch_error): Initialize C with argument pointers and address of
5031 volatile local ERRCODE rather than copying values out of C at return.
5032
ff362e5b
JM
50332013-12-16 Joseph Myers <joseph@codesourcery.com>
5034
5035 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5036 * math/auto-libm-test-out: Regenerated.
5037 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5038 (hypot_test_data): Likewise.
5039 (pow_test_data): Likewise.
5040 (pow_tonearest_test_data): Likewise.
5041 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5042 mpfr_ff_f.
5043 (func_calc_desc): Add mpfr_ff_f union field.
5044 (FUNC_mpfr_ff_f): New macro.
5045 (test_functions): Add atan2, hypot and pow.
5046 (special_fill_min): New function.
5047 (special_fill_minus_min): Likewise.
5048 (special_fill_min_subnorm): Likewise.
5049 (special_fill_minus_min_subnorm): Likewise.
5050 (special_real_inputs): Add min, -min, min_subnorm and
5051 -min_subnorm.
5052 (calc_generic_results): Handle mpfr_ff_f.
5053 * sysdeps/i386/fpu/libm-test-ulps: Update.
5054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5055
5764c27f
WN
50562013-12-16 Will Newton <will.newton@linaro.org>
5057
5058 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5059 (Aligned Memory Blocks): Add documentation for aligned_alloc
5060 and suggest it as an alternative to posix_memalign.
5061 (Hooks for Malloc): Document __memalign_hook is also called
5062 for aligned_alloc. (Summary of Malloc): Add summary for
5063 aligned alloc. Document __memalign_hook is also called
5064 for aligned_alloc.
5065
0a096e44
WN
50662013-12-16 Will Newton <will.newton@linaro.org>
5067
5068 * manual/memory.texi (Malloc Examples): Clarify default
5069 alignment documentation. Suggest posix_memalign rather
5070 than memalign or valloc.
5071 (Aligned Memory Blocks): Remove suggestion to use memalign
5072 or valloc. Remove obsolete comment about BSD.
5073 Document memalign errno values and mark the function obsolete.
5074 Document posix_memalign returned error codes. Mark valloc
5075 as obsolete. (Hooks for Malloc): __memalign_hook is also
5076 called for posix_memalign and valloc.
5077 (Summary of Malloc): Add posix_memalign to function summary.
5078 __memalign_hook is also called for posix_memalign and valloc.
5079
8d561986
SP
50802013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5081
5082 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5083 TAYLOR_SIN.
5084 (__sin): Adjust.
5085 (__cos): Likewise.
5086 (sloww): Use mynumber union. Expand ternary operator into
5087 if-else statements.
5088 (cslow): use mynumber union.
5089
73616a74
AM
50902013-12-16 Allan McRae <allan@archlinux.org>
5091
9e8ac24b
AM
5092 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5093 * configure: Regenerated.
5094
6f8e37eb
AM
5095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5096
8894bad3
AM
5097 [BZ #14120]
5098 * configure.ac: Added --enable-maintainer-mode. Check for
5099 autoconf when enabled.
5100 * configure: Regenerated.
5101
73616a74
AM
5102 * nscd/nscd.service: New file.
5103 * nscd/nscd.tmpfiles: New file.
5104
584b18eb
OB
51052013-12-14 Ondřej Bílka <neleai@seznam.cz>
5106
5107 [BZ #12100]
5108 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5109 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5110 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5111 (strstr): Add __strstr_sse2_unaligned ifunc.
5112 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5113 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5114 (strcasestr): Remove __strcasestr_sse42 ifunc.
5115 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5116 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5118
8a5c7897
KK
51192013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5120
5121 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5122 * sysdeps/sh/bits/fenv.h: ... here.
5123 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5124
fd712ef3
AZ
51252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5126
5127 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5128
42fcb46c
AZ
51292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5130
5131 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5132 hypotf multiarch implementations.
5133 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5134 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5135 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5136 multiarch hypot for PPC64.
5137 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5138 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5139 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5140 multiarch hypotf for PPC64.
5141
83efded4
AZ
51422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5143
5144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5145 modff multiarch implementations.
5146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5149 multiarch modf for PPC64.
5150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5153 multiarch modff for PPC64.
5154
43e246d2
AZ
51552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5156
5157 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5158 and logl multiarch implementations.
5159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5162 multiarch logb for PPC64.
5163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5166 multiarch logb for PPC64.
5167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5170 multiarch logb for PPC64.
5171
8fdad123
AZ
51722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5173
5174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5175 isinff multiarch implementation.
5176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5177 file.
5178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5180 multiarch isinf for PPC64.
5181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5182 file.
5183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5184 multiarch isinff for PPC64.
5185
1481d706
AZ
51862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5187
5188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5189 finitef multiarch implementation.
5190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5191 file.
5192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5194 multiarch finite for PPC64.
5195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5196 file.
5197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5198 multiarch finitef for PPC64.
5199
5ccd5fc8
AZ
52002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5201
5202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5203 lrint multiarch implementation.
5204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5205 file.
5206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5208 multiarch llrint for PPC64.
5209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5210 multiarch lrint for PPC64.
5211
2568f3fa
AZ
52122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5213
5214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5215 copysignf multiarch implementation.
5216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5217 file.
5218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5219 file.
5220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5221 multiarch copysign for PPC64.
5222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5223 multiarch copysignf for PPC64.
5224
1cb341fd
AZ
52252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5226
5227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5228 multiarch implementation.
5229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5230 file.
5231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5232 file.
5233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5234 file.
5235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5236 file.
5237 multiarch llround for PPC64.
5238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5239 multiarch trunc for PPC64.
5240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5241 multiarch truncf for PPC64.
5242
59a3e194
AZ
52432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5244
5245 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5246 multiarch implementation.
5247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5248 file.
5249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5250 file.
5251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5252 file.
5253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5254 file.
5255 multiarch llround for PPC64.
5256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5257 multiarch round for PPC64.
5258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5259 multiarch roundf for PPC64.
5260
357fd3b4
AZ
52612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5262
5263 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5264 multiarch implementation.
5265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5266 file.
5267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5268 file.
5269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5270 file.
5271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5272 file.
5273 multiarch llround for PPC64.
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5275 multiarch floor for PPC64.
5276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5277 multiarch floorf for PPC64.
5278
96770f12
AZ
52792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5280
5281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5282 multiarch implementation.
5283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5284 file.
5285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5286 file.
5287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5288 file.
5289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5290 file.
5291 multiarch llround for PPC64.
5292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5293 multiarch ceil for PPC64.
5294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5295 multiarch ceilf for PPC64.
5296
c3627f6e
AZ
52972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5298
5299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5300 multiarch implementation.
5301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5302 file.
5303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5304 file.
5305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5306 file.
5307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5308 multiarch llround for PPC64.
5309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5310 multiarch lround for PPC64.
5311
b2284ad7
AZ
53122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5313
5314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5315 multiarch implementation.
5316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5319 file.
5320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5323 multiarch isnan for PPC64.
5324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5325 multiarch isnanf for PPC64.
5326
69bbc63d
AZ
53272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5328
5329 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5330 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5331 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5332 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5333 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5335
c24517c9
AZ
53362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5337
5338 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5339 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5342
a52374e8
AZ
53432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5344
5345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5346 multiarch implementations.
5347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5348 (__libc_ifunc_impl_list): Likewise.
5349 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5350 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5351 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5352 multiarch stpcpy for PPC64.
5353
7f5ec113
AZ
53542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5355
5356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5357 multiarch implementations.
5358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5359 (__libc_ifunc_impl_list): Likewise.
5360 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5361 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5362 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5363 multiarch strcpy for PPC64.
5364
e28bcd42
AZ
53652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5366
5367 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5368 redefine function name.
5369 (_wordcopy_fwd_dest_aligned): Likewise.
5370 (_wordcopy_bwd_aligned): Likewise.
5371 (_wordcopy_bwd_dest_aligned): Likewise.
5372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5373 multiarch implementations.
5374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5375 (__libc_ifunc_impl_list): Likewise.
5376 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5377 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5378 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5379 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5380 multiarch wcscpy for PPC64.
5381
92cacfce
AZ
53822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5383
5384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5385 multiarch implementations.
5386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5387 (__libc_ifunc_impl_list): Likewise.
5388 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5389 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5390 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5391 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5392 multiarch wcscpy for PPC64.
5393
7b714620
AZ
53942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5395
5396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5397 multiarch implementations.
5398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5399 (__libc_ifunc_impl_list): Likewise.
5400 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5401 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5402 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5403 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5404 multiarch wcsrchr for PPC64.
5405
16fd2ae3
AZ
54062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5407
5408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5409 multiarch implementations.
5410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5411 (__libc_ifunc_impl_list): Likewise.
5412 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5413 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5414 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5415 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5416 multiarch wcschr for PPC64.
5417
9ee2969b
AZ
54182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5419
5420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5421 multiarch implementations.
5422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5423 (__libc_ifunc_impl_list): Likewise.
5424 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5425 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5426 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5427 multiarch strchrnul for PPC64.
5428
372dc060
AZ
54292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5430
5431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5432 implementations.
5433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5434 (__libc_ifunc_impl_list): Likewise.
5435 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5436 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5437 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5438 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5439 strchr for PPC64.
5440
24c2c3b9
AZ
54412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5442
5443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5444 implementations.
5445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5446 (__libc_ifunc_impl_list): Likewise.
5447 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5448 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5449 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5450 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5451 strncmp for PPC64.
5452
1c92d9a0
AZ
54532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5454
5455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5456 multiarch implementations.
5457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5458 (__libc_ifunc_impl_list): Likewise.
5459 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5460 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5461 strncasecmp for PPC64.
5462 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5463 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5464 multiarch strncasecmp_l for PPC64.
5465
17de3ee3
AZ
54662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5467
5468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5469 multiarch implementations.
5470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5471 (__libc_ifunc_impl_list): Likewise.
5472 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5473 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5474 multiarch strcasecmp for PPC64.
5475 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5476 file.
5477 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5478 multiarch strcasecmp_l for PPC64.
5479
62982bf9
AZ
54802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481
5482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5483 implementations.
5484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5485 (__libc_ifunc_impl_list): Likewise.
5486 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5487 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5488 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5489 strnlen for PPC64.
5490
a65f4904
AZ
54912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5492
5493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5494 implementations.
5495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5496 (__libc_ifunc_impl_list): Likewise.
5497 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5498 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5499 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5500 strlen for PPC64.
5501
1fd005ad
AZ
55022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5503
5504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5505 implementations.
5506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5507 (__libc_ifunc_impl_list): Likewise.
5508 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5509 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5510 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5511 rawmemrchr for PPC64.
5512
cd05ba91
AZ
55132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5514
5515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5516 implementation.
5517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5518 (__libc_ifunc_impl_list): Likewise.
5519 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5520 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5521 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5522 memrchr for PPC64.
5523
870f8676
AZ
55242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5525
5526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5527 implementation.
5528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5529 (__libc_ifunc_impl_list): Likewise.
5530 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5531 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5532 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5533 memchr for PPC64.
5534
f00be62b
AZ
55352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5536
5537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5538 implementation.
5539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5540 (__libc_ifunc_impl_list): Likewise.
5541 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5542 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5543 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5544 mempcpy for PPC64.
5545
8a29a3d0
AZ
55462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5547
5548 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5549 avoid cretion of __bzero symbol.
5550 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5551 Likewise.
5552 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5553 Likewise.
5554 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5555 Likewise.
5556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5557 multiarch implementations.
5558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5559 (__libc_ifunc_impl_list): Likewise.
5560 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5561 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5562 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5563 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5564 bzero for PPC32.
5565 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5566 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5567 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5568 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5569 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5570 memset for PPC64.
5571 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5572
07253fcf
AZ
55732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5574
5575 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5577 implementations.
5578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5579 (__libc_ifunc_impl_list): Likewise.
5580 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5581 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5582 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5583 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5584 memcmp for PPC64.
5585
b5beafbc
AZ
55862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5587
5588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5589 multiarch for POWER/PPC64.
5590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5591 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5592 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5593 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5594 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5595 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5596 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5597 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5598 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5599 memcpy for PPC64.
5600
5e6a4d4b
AZ
56012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5602
5603 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5604 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5605 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5606 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5607 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5608 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5609 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5610 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5611 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5612 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5613 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5614 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5615 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5616 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5617 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5625
ddfab6dc
KK
56262013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5627
5628 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5629
19b5525e
SP
56302013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5631
5632 * benchtests/Makefile (bench): Add exp2 and log2.
5633 (LDLIBS-bench-exp2): Add -lm.
5634 (LDLIBS-bench-log2): Likewise.
5635 * benchtests/exp2-inputs: New inputs file.
5636 * benchtests/log2-inputs: New inputs file.
5637 * benchtests/log-inputs: Add new inputs.
5638 * benchtests/tan-inputs: Likewise.
5639
196f7f5d
SP
56402013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5641
7a74607f
SP
5642 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5643 definition...
5644 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5645 csloww1, csloww2): ... from here.
5646
196f7f5d
SP
5647 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5648 instead of structures.
5649 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5650 (POLYNOMIAL): Likewise.
5651 (TAYLOR_SLOW): Likewise.
5652 (__sin): Likewise.
5653 (__cos): Likewise.
5654 (slow1): Likewise.
5655 (slow2): Likewise.
5656 (sloww): Likewise.
5657 (sloww1); Likewise.
5658 (sloww2): Likewise.
5659 (bsloww1): Likewise.
5660 (bsloww2): Likewise.
5661 (cslow2): Likewise.
5662 (csloww): Likewise.
5663 (csloww1): Likewise.
5664 (csloww2): Likewise.
5665
0dfa665c
OB
56662013-12-10 Ondřej Bílka <neleai@seznam.cz>
5667
5668 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5669 (__malloc_assert, __libc_realloc, __libc_calloc,
5670 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5671 memcpy and memset.
5672 * malloc/hooks.c (realloc_check): Likewise.
5673
5782a80f
OB
56742013-12-10 Ondřej Bílka <neleai@seznam.cz>
5675
5676 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5677 * malloc/arena.c: Remove PER_THREAD conditional.
5678 [!PER_THREAD]: Remove code.
5679 (ptmalloc_unlock_all2): Likewise.
5680 (ptmalloc_init): Likewise.
5681 (_int_new_arena): Likewise.
5682 (arena_get2): Likewise.
5683 * malloc/hooks.c (__malloc_get_state): Likewise.
5684 (__malloc_set_state): Likewise.
5685 * malloc/malloc.c: Likewise.
5686 (struct malloc_state): Likewise.
5687 (struct malloc_par): Likewise.
5688 (__libc_realloc): Likewise.
5689 (__libc_mallopt): Likewise.
5690
aeb95445
AZ
56912013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5692
5693 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5694
e8349efd
OB
56952013-12-09 Ondřej Bílka <neleai@seznam.cz>
5696
5697 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5698 macro to a function. Check for zero perturb_byte.
5699 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5700
f3eeb3fc
OB
57012013-12-09 Ondřej Bílka <neleai@seznam.cz>
5702
5703 * malloc/malloc.c: (force_reg): Remove.
5704 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5705 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5706 force_reg by atomic_forced_read.
5707 * malloc/arena.c (ptmalloc_init): Likewise.
5708 * malloc/hooks.c (top_check): Likewise.
5709
be2f9009
AZ
57102013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5711
5712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5713
e7b914bd
MT
57142013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5715
5716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5717
9f0be4f8
JM
57182013-12-08 Joseph Myers <joseph@codesourcery.com>
5719
5720 * math/auto-libm-test-in: Add tests of lgamma.
5721 * math/auto-libm-test-out: Regenerated.
5722 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5723 (M_LOG_2_SQRT_PIl): Likewise.
5724 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5725 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5726 mpfr_f_f1.
5727 (func_calc_desc): Add mpfr_f_f1 union field.
5728 (ARGS1): New macro.
5729 (ARGS2): Likewise.
5730 (ARGS3): Likewise.
5731 (ARGS4): Likewise.
5732 (RET1): Likewise.
5733 (RET2): Likewise.
5734 (CALC): Likewise.
5735 (FUNC): Likewise.
5736 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5737 (test_functions): Add lgamma.
5738 (calc_generic_results): Handle mpfr_f_f1.
5739 * sysdeps/i386/fpu/libm-test-ulps: Update.
5740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5741
24eeafdb
AZ
57422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5743
5744 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5745 __mpn_add_n for PowerPC64/POWER7.
5746 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5747 __mpn_sub_n for PowerPC64/POWER7.
5748
4a2c0fd4
AZ
57492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5750
5751 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5752 __mpn_addmul_1 for PowerPC64.
5753 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5754 __mpn_submul_1 for PowerPC64.
5755 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5756 for PowerPC64.
5757 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5758 for PowerPC64.
5759
4b5b548c
FS
57602013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5761
5762 [BZ #15089]
5763 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5764
0a3ac0aa
AZ
57652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5766
5767 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5768
ccdc8438
AZ
57692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5770
5771 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5772 add multiarch folders.
5773 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5774 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5775 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5776 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5777 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5778 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5779 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5780 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5781 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5782 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5783 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5790
2e973d99
AZ
57912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5792
5793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5794 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5796 New file.
5797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5798 New file.
5799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5800 multiarch __ieee754_hypot for PowerPC32.
5801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5802 New file.
5803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5804 New file.
5805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5806 multiarch __ieee754_hypotf for PowerPC32.
5807
2d9470b2
AZ
58082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5809
5810 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5811 long_double_symbol only if __logbl is defined.
5812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5813 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5814 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5815 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5817 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5818 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5819 path for implementation.
5820 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5821 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5823 logb, and logbl multiarch implementations for PowerPC32.
5824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5825 file.
5826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5827 file.
5828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5829 multiarch logb for PowerPC32.
5830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5831 file.
5832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5833 file.
5834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5835 multiarch logbf for PowerPC32.
5836 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5838 file.
5839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5840 multiarch logbl implementation for PowerPC32.
5841
5212ffce
AZ
58422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5843
5844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5845 and modff multiarch implementations.
5846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5847 New file.
5848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5849 New file.
5850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5851 multiarch modf for PowerPC32.
5852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5853 New file.
5854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5855 New file.
5856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5857 multiarch modff for PowerPC32.
5858
79dccf31
AZ
58592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5860
5861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5862 and lrintf multiarch implementations.
5863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5864 New file.
5865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5866 New file.
5867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5868 multiarch lrint for PowerPC32.
5869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5870 file: multiarch lrintf for PowerPC32.
5871
deb66480
AZ
58722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5873
5874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5875 and lroundf multiarch implementations.
5876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5877 New file.
5878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5879 New file.
5880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5881 New file.
5882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5883 multiarch lround for PowerPC32.
5884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5885 file: multiarch lroundf for PowerPC32.
5886
264b036b
AZ
58872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5888
5889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5890 copysign and copysignf multiarch implementations.
5891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5892 New file.
5893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5894 New file.
5895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5896 file: multiarch copysign for PowerPC32.
5897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5898 file: multiarch copysignf for PowerPC32.
5899
d47db6c9
AZ
59002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5901
5902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5903 and truncf multiarch implementations.
5904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5905 New file.
5906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5907 file.
5908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5909 multiarch trunc for PowerPC32.
5910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5911 New file.
5912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5913 New file.
5914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5915 multiarch truncf for PowerPC32.
5916
ddb60b5a
AZ
59172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5918
5919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5920 and roundf multiarch implementations.
5921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5922 New file.
5923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5924 file.
5925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5926 multiarch round for PowerPC32.
5927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5928 New file.
5929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5930 New file.
5931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5932 multiarch roundf for PowerPC32.
5933
bedcf49b
AZ
59342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935
5936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5937 and floorf multiarch implementations.
5938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5939 New file.
5940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5941 file.
5942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5943 multiarch floor for PowerPC32.
5944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5945 New file.
5946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5947 New file.
5948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5949 multiarch floorf for PowerPC32.
5950
35ae5b40
AZ
59512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5952
5953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5954 and ceilf multiarch implementations.
5955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5956 New file.
5957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5958 file.
5959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5960 multiarch ceil for PowerPC32.
5961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5962 New file.
5963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5964 file.
5965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5966 multiarch ceilf for PowerPC32.
5967
ae1a4cd9
AZ
59682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5969
5970 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5971 is defined.
5972 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5973 FINITEF is defined.
5974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5975 and finitef multiarch implementations.
5976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5977 New file.
5978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5979 file.
5980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5981 multiarch finite for PowerPC32.
5982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5983 New file.
5984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5985 file: multiarch finitef for PowerPC32.
5986
64fffd65
AZ
59872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5988
5989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5990 and isinff multiarch implementations.
5991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5992 file.
5993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5994 file.
5995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5996 multiarch isinf for PowerPC32.
5997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5998 New file.
5999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6000 multiarch isinff for PowerPC32.
6001
8e4e7ba2
AZ
60022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6003
6004 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6005 alias when __isnan is defined.
6006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6007 and isnanf multiarch implementations.
6008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6009 file.
6010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6011 file.
6012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6013 file.
6014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6015 file.
6016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6017 multiarch isnan for PowerPC32.
6018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6019 New file.
6020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6021 New file.
6022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6023 multiarch isnanf for PowerPC32.
6024
ddba588e
AZ
60252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026
6027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6028 and sqrtf multiarch implementations.
6029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6030 file.
6031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6032 file.
6033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6034 multiarch sqrt for PowerPC32.
6035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6036 file.
6037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6038 file.
6039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6040 multiarch sqrtf for PowerPC32.
6041
0f96a2f0
AZ
60422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6043
6044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6045 and llroundf multiarch implementations.
6046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6047 New file.
6048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6049 New file.
6050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6051 New file.
6052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6053 file: multiarch llround for PowerPC32.
6054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6055 file: multiarch llroundf for PowerPC32.
6056
c9b5d79e
AZ
60572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6058
6059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6060 multiarch PowerPC32 fpu implementations.
6061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6062 New file.
6063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6064 New file.
6065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6066 multiarch llrint for PowerPC32.
6067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6068 New file.
6069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6070 New file.
6071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6072 file.
6073
9cbb3aab
AZ
60742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6075
6076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6077
ea5a72f8
AZ
60782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6079
6080 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6081 file.
6082 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6083 file.
6084 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6085 file.
6086 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6087 multiarch wordcopy for PPC32.
6088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6089 wordcopy objects.
6090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6091 (__libc_ifunc_impl_list): Likewise.
6092 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6093 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6094 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6095 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6096 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6097 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6098
93be09e7
AZ
60992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6100
6101 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6103 file.
6104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6105 file.
6106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6107 file.
6108 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6109 multiarch wcscpy for PPC32.
6110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6111 multiarch objects.
6112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6113 (__libc_ifunc_impl_list): Likewise.
6114 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6115 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6116 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6117 sysdeps/powerpc/power6/wcscpy.c.
6118
bb04e529
AZ
61192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6120
6121 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6123 file.
6124 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6125 file.
6126 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6127 file.
6128 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6129 multiarch wcsrchr for PPC32.
6130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6131 multiarch objects.
6132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6133 (__libc_ifunc_impl_list): Likewise.
6134 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6135 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6136 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6137 sysdeps/powerpc/power6/wcsrchr.c.
6138
05b5cd1c
AZ
61392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6140
6141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6142 file.
6143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6144 file.
6145 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6147 multiarch wcschr for PPc32.
6148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6149 multiarch objects.
6150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6151 (__libc_ifunc_impl_list): Likewise.
6152 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6153 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6154 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6155 sysdeps/powerpc/power6/wcschr.c.
6156
ba964147
AZ
61572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6158
6159 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6160 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6161 file.
6162 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6163 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6164 file: multiarch strchr for PPC32.
6165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6166 multiarch objects.
6167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6168 (__libc_ifunc_impl_list): Likewise.
6169
31c81aaa
AZ
61702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6171
6172 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6173 name.
6174 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6175 file.
6176 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6177 file.
6178 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6179 multiarch strchrnul for PPC32.
6180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6181 multiarch objects.
6182 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6183 (__libc_ifunc_impl_list): Likewise.
6184
0d0607d9
AZ
61852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6186
6187 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6188 file.
6189 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6190 multiarch strncasecmp for PPC32.
6191 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6192 file.
6193 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6194 multiarch strncasecmp_l for PPC32.
6195 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6196 strncasecmp multiarch objects.
6197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6198 (__libc_ifunc_impl_list): Likewise.
6199
4dfd5c86
AZ
62002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6201
6202 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6203 file.
6204 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6205 multiarch strncasecmp for PPC32.
6206 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6207 New file.
6208 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6209 multiarch strcasecmp_l for PPC32.
6210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6211 multiarch objects.
6212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6213 (__libc_ifunc_impl_list): Likewise.
6214
a19e01a3
AZ
62152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6216
6217 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6218 file.
6219 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6220 file.
6221 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6222 multiarch strncmp for PPC32.
6223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6224 multiarch objects.
6225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6226 (__libc_ifunc_impl_list): Likewise.
6227
ae9cf7a2
AZ
62282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6229
6230 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6231 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6232 file.
6233 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6234 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6236 multiarch objects.
6237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6238 (__libc_ifunc_impl_list): Likewise.
6239
3148bb7d
AZ
62402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6241
6242 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6243 file.
6244 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6245 file.
6246 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6248 multiarch objects.
6249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6250 (__libc_ifunc_impl_list): Likewise.
6251
7af8b946
AZ
62522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6253
6254 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6255 file.
6256 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6257 file.
6258 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6259 multiarch rawmemchr for PPC32.
6260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6261 multiarch objects.
6262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6263 (__libc_ifunc_impl_list): Likewise.
6264
03a6aa6a
AZ
62652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6266
6267 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6268 file.
6269 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6270 file.
6271 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6272 file: memrchr multiarch for PPC32.
6273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6274 multiarch objects.
6275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6276 (__libc_ifunc_impl_list): Likewise.
6277
1c62e6d9
AZ
62782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6279
6280 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6281 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6282 file.
6283 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6284 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6285 multiarch memchr for PPC32.
6286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6287 multiarch objects.
6288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6289 (__libc_ifunc_impl_list): Likewise.
6290
87da8bdb
AZ
62912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6292
6293 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6294 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6295 file.
6296 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6297 file.
6298 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6299 file: multiarch mempcpy for PPC32.
6300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6301 multiarch objects.
6302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6303 (__libc_ifunc_impl_list): Likewise.
6304
20ed4714
AZ
63052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6306
6307 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6308 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6309 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6310 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6311 multiarch bzero for PPC32.
6312 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6313 file.
6314 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6315 file.
6316 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6317 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6318 file: multiarch memset for PPC32.
6319 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6321 memset multiarch objects.
6322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6323 (__libc_ifunc_impl_list): Likewise.
6324
ab3e3a46
AZ
63252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6326
6327 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6328 file.
6329 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6330 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6331 memcmp for PPC32.
6332 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6334 multiarch objects.
6335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6336 (__libc_ifunc_impl_list): Likewise.
6337
930de6f0
AZ
63382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6339
6340 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6341 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6343 file.
6344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6345 file.
6346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6347 file.
6348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6349 multiarch memcpy for PPC32.
6350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6351 multiarch objects.
6352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6353 (__libc_ifunc_impl_list): Likewise.
6354
4c628e00
AZ
63552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6356
6357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6358 support multiarch for POWER/PPC32.
6359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6360 Likewise.
6361 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6363 Implies file to make multiarch folder appers before the fpu and
6364 default folder for power4 configuration.
6365
f4479220
SP
63662013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6367
6368 * scripts/bench.pl: Append volatile keyword to type.
6369
8517800f
KK
63702013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6371
6372 * sysdeps/sh/sotruss-lib.c: New file.
6373 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6374
180138f1
AZ
63752013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6376
6377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6378
bbf37bdc
JM
63792013-12-05 Joseph Myers <joseph@codesourcery.com>
6380
e47cc4e0
JM
6381 [BZ #6810]
6382 * math/w_tgamma.c: Include <errno.h>.
6383 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6384 * math/w_tgammaf.c: Include <errno.h>.
6385 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6386 * math/w_tgammal.c: Include <errno.h>.
6387 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6388 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6389 underflow. Add more tgamma tests.
6390 * math/auto-libm-test-out: Regenerated.
6391 * sysdeps/i386/fpu/libm-test-ulps: Update.
6392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6393
bbf37bdc
JM
6394 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6395 sin, sinh, tan, tanh, tgamma, y0 and y1.
6396 * math/auto-libm-test-out: Regenerated.
6397 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6398 (TEST_COND_x86): Likewise.
6399 (M_E2l): Remove macro.
6400 (M_E3l): Likewise.
6401 (M_2_SQRT_PIl): Likewise.
6402 (M_SQRT_PIl): Likewise.
6403 (M_1_DIV_El): Likewise.
6404 (log_test_data): Use AUTO_TESTS_f_f.
6405 (log10_test_data): Likewise.
6406 (log1p_test_data): Likewise.
6407 (log2_test_data): Likewise.
6408 (sin_test_data): Likewise.
6409 (sin_tonearest_test_data): Likewise.
6410 (sin_towardzero_test_data): Likewise.
6411 (sin_downward_test_data): Likewise.
6412 (sin_upward_test_data): Likewise.
6413 (sinh_test_data): Likewise.
6414 (sinh_tonearest_test_data): Likewise.
6415 (sinh_towardzero_test_data): Likewise.
6416 (sinh_downward_test_data): Likewise.
6417 (sinh_upward_test_data): Likewise.
6418 (tan_test_data): Likewise.
6419 (tan_tonearest_test_data): Likewise.
6420 (tan_towardzero_test_data): Likewise.
6421 (tan_downward_test_data): Likewise.
6422 (tan_upward_test_data): Likewise.
6423 (tanh_test_data): Likewise.
6424 (tgamma_test_data): Likewise.
6425 (y0_test_data): Likewise.
6426 (y1_test_data): Likewise.
6427 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6428 (special_real_inputs): Add pi/4.
6429 * sysdeps/i386/fpu/libm-test-ulps: Update.
6430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6431
eb5ad6b9
AZ
64322013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6433
6434 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6435 "longjmp_target" static probes.
6436 (__longjmp): Rename to __longjmp_symbol.
6437 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6438 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6439 on which longjmp to generate.
6440 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6441 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6442 probe.
6443 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6444 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6445 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6446 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6447 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6448 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6450 __longjmp_symbol based on which __longjmp to generate.
6451 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6452 probe.
6453 (setjmp): Rename to setjmp_symbol.
6454 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6455 (_setjmp): Rename to _setjmp_symbol.
6456 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6457 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6458 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6459 which setjmp to generate.
6460 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6461 "longjmp_target" static probes.
6462
d136c6dc
SP
64632013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6464
9298ecba
SP
6465 * benchtests/README: Add note about output arguments.
6466 * benchtests/bench-sincos.c: Remove file.
6467 * benchtests/sincos-inputs: New file.
6468 * scripts/bench.pl: Identify output arguments and define
6469 static variables for them.
6470
232983e9
SP
6471 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6472
d136c6dc
SP
6473 [BZ #15941]
6474 * Makefile (INSTALL): Add install-plain.texi as the primary
6475 dependency.
6476 * manual/install-plain.texi: New file.
6477 * manual/install.texi: Include node directive only for
6478 non-plaintext output.
6479
699ff837
JM
64802013-12-04 Joseph Myers <joseph@codesourcery.com>
6481
ab07cea8
JM
6482 * stdlib/longlong.h: Update from GCC.
6483
699ff837
JM
6484 [BZ #6807]
6485 [BZ #15901]
6486 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6487 * math/w_j0f.c (y0f): Likewise.
6488 * math/w_j0l.c (__y0l): Likewise.
6489 * math/w_j1.c (y1): Likewise.
6490 * math/w_j1f.c (y1f): Likewise.
6491 * math/w_j1l.c (__y1l): Likewise
6492 * math/w_jn.c (yn): Likewise.
6493 * math/w_jnf.c (ynf): Likewise.
6494 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6495 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6496 value for Bessel function domain errors outside _SVID_ mode.
6497 Adjust sign of return value for yn (negative integer, 0).
6498 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6499 by zero in return for negative x and set sign appropriately for
6500 negative n.
6501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6502 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6503 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6504 expectations in error cases.
6505 (y1_test_data): Likewise.
6506 (yn_test_data): Likewise.
6507 * sysdeps/i386/fpu/libm-test-ulps: Update.
6508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6509
5b118558
UW
65102013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6511
6512 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6513 "64" to "64-v1". Add "64-v2".
6514 (abi-64-options): Rename to ...
6515 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6516 (abi-64-condition): Rename to ...
6517 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6518 (abi-64-ld-soname): Rename to ...
6519 (abi-64-v1-ld-soname): ... this.
6520 (abi-64-v2-options): Define.
6521 (abi-64-v2-condition): Likewise.
6522 (abi-64-v2-ld-soname): Likewise.
6523 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6524 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6528
61cd8fe4
UW
65292013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6530 Alan Modra <amodra@gmail.com>
6531
6532 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6533 New versions for use with the ELFv2 ABI.
6534 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6535 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6536 declaration.
6537 (struct La_ppc64v2_retval): Likewise.
6538 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6539 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6540 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6541 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6542 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6543 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6544 Do not save or restore CR.
6545 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6546 (_dl_profile_resolve): Do no save or restore CR. Support extended
6547 return values for ELFv2 ABI. Fix location of FPR return registers.
6548 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6549 updated values for _CALL_ELF == 2.
6550 (La_regs, La_retval, int_retval): Likewise.
6551
8b8a692c
UW
65522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6553
6554 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6555 (FRAME_MIN_SIZE_PARM): Likewise.
6556 (FRAME_BACKCHAIN): Likewise.
6557 (FRAME_CR_SAVE): Likewise.
6558 (FRAME_LR_SAVE): Likewise.
6559 (FRAME_TOC_SAVE): Likewise.
6560 (FRAME_PARM_SAVE): Likewise.
6561 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6562 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6563 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6564 (call_mcount_parm_offset): New macro.
6565 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6566 (PROF): Use symbolic stack frame offsets.
6567 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6568 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6569 Redefine in terms of FRAME_MIN_SIZE.
6570 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6571 (_dl_profile_resolve): Likewise. Update comment.
6572 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6573 symbols stack frame offsets.
6574 (__sigsetjmp): Likewise.
6575 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6576 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6577 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6578 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6579
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6581 (FRAME_BACKCHAIN): Remove.
6582 (FRAME_CR_SAVE): Likewise.
6583 (FRAME_LR_SAVE): Likewise.
6584 (FRAME_COMPILER_DW): Likewise.
6585 (FRAME_LINKER_DW): Likewise.
6586 (FRAME_TOC_SAVE): Likewise.
6587 (FRAME_PARM_SAVE): Likewise.
6588 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6589 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6590 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6592 (CHECK_SP): Use symbolic stack frame offsets.
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6594 zone" instead of caller's parameter save area for temp storage.
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6596 Likewise. Also, use symbolic stack frame offsets.
6597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6598 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6599 our own stack frame instead of the caller's.
6600 (__socket): Use symbolic stack frame offsets.
6601
122b66de
UW
66022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6603 Alan Modra <amodra@gmail.com>
6604
6605 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6606 Define.
6607 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6608 PPC64_LOCAL_ENTRY_OFFSET): Define.
6609 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6610 New function.
6611 (elf_machine_fixup_plt): Call it.
6612 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6613 reloc arguments.
6614 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6615 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6616 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6617 r2 before calling target.
6618
696caf1d
UW
66192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6620 Alan Modra <amodra@gmail.com>
6621
6622 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6623 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6624 versions of macros to support ELFv2 ABI.
6625 (LOCALENTRY): New macro.
6626 (ENTRY, EALIGN): Use it.
6627 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6628 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6629 fall through into ENTRY entry point.
6630 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6631 Only define if _CALL_ELF != 2.
6632
6633 (elf_machine_matches_host): Verify ABI version matches.
6634 (RTLD_START): Use LOCALENTRY.
6635 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6636 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6637 (PLT_ENTRY_WORDS): New macro.
6638 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6639 (elf_machine_runtime_setup): Support ELFv2 ABI.
6640 (elf_machine_fixup_plt): Likewise.
6641 (elf_machine_plt_conflict): Likewise.
6642 (resolve_ifunc): Likewise.
6643 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6644 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6645 Likewise.
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6647 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6649 (makecontext): Support ELFv2 ABI.
6650 * elf/elf.h (EF_PPC64_ABI): Define.
6651
d31beafa
UW
66522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6653
6654 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6655 New assembler macro.
6656 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6657 [ASSEMBLER] (ENTRY): ... but instead here ...
6658 [ASSEMBLER] (EALIGN): ... and here.
6659 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6660 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6661 [!ASSEMBLER] (ENTRY_2): Use it.
6662 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6663 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6664 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6665 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6666 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6668 Use PPC64_LOAD_FUNCPTR.
6669
b525166b
UW
66702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6671
6672 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6673
7ec07d9a
AM
66742013-12-04 Alan Modra <amodra@gmail.com>
6675
6676 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6677 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6678 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6679 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6680
6681 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6682 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6683 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6684 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6685 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6686 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6687
5162e7dd
UW
66882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6689
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6691 (__makecontext): Fix incorrect CFI when backtracing out of
6692 context created via makecontext.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6694 (__setcontext): Fix incorrect CFI during switch to new context.
6695 (__novec_setcontext): Likewise.
6696
19e3372b
OB
66972013-12-04 Ondřej Bílka <neleai@seznam.cz>
6698
6699 [BZ #4772]
6700 * time/strptime_l.c (__strptime_internal): Allow modifiers
6701 in strptime.
6702 * time/tst-strptime.c (day_tests): Add testcase.
6703
6704
ecaf142d
SP
67052013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6706
6707 * scripts/bench.pl: Skip over blank lines.
6708
fbf964ae
PE
67092013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6710
6711 [BZ #926]
6712 * manual/time.texi (Calendar Time): Clarify what timezone functions
6713 use.
6714
fa60a674
AZ
67152013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6716
6717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6718
d674f0ef
OB
67192013-12-04 Ondřej Bílka <neleai@seznam.cz>
6720
6721 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6722 implementation.
6723 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6724 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6725 * debug/memset_chk.c (__memset_chk): Likewise.
6726 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6727 * debug/strncpy_chk.c: Likewise.
6728
17dea188
JM
67292013-12-03 Joseph Myers <joseph@codesourcery.com>
6730
749008ff
JM
6731 [BZ #15268]
6732 [BZ #15425]
6733 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6734 (__ieee754_exp): For possibly underflowing results, check size of
6735 result and force underflow exception if required.
6736 * math/auto-libm-test-in: Add more tests of exp.
6737 * math/auto-libm-test-out: Regenerated.
6738 * sysdeps/i386/fpu/libm-test-ulps: Update.
6739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6740
17dea188
JM
6741 [BZ #16283]
6742 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6743 * math/w_exp2f.c (__exp2f): Likewise.
6744 * math/w_exp2l.c (__exp2l): Likewise.
6745 * math/auto-libm-test-in: Do not allow missing errno on exp2
6746 underflow.
6747 * math/auto-libm-test-out: Regenerated.
6748
b20de2c3
OB
67492013-12-03 Ondřej Bílka <neleai@seznam.cz>
6750
6751 [BZ #16274]
6752 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6753 handle filename validation.
6754 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6755 (do_open): Delete.
6756
d8e2dbe3
JM
67572013-12-03 Joseph Myers <joseph@codesourcery.com>
6758
34e16df5
JM
6759 [BZ #6786]
6760 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6761 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6762 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6763 <float.h>.
6764 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6765 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6766 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6767 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6768 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6769 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6770 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6771 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6772 Add more erfc tests.
6773 * math/auto-libm-test-out: Regenerated.
6774 * sysdeps/i386/fpu/libm-test-ulps: Update.
6775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6776
d8e2dbe3
JM
6777 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6778 exp2, expm1, j0 and j1.
6779 * math/auto-libm-test-out: Regenerated.
6780 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6781 (erfc_test_data): Likewise.
6782 (exp_test_data): Likewise.
6783 (exp_tonearest_test_data): Likewise.
6784 (exp_towardzero_test_data): Likewise.
6785 (exp_downward_test_data): Likewise.
6786 (exp_upward_test_data): Likewise.
6787 (exp10_test_data): Likewise.
6788 (exp2_test_data): Likewise.
6789 (expm1_test_data): Likewise.
6790 (j0_test_data): Likewise.
6791 (j1_test_data): Likewise.
6792 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6793 (input_flag_type): Add flag_xfail_rounding.
6794 (input_flags): Add xfail-rounding.
6795 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6796 (output_for_one_input_case): Handle flag_xfail_rounding.
6797 * sysdeps/i386/fpu/libm-test-ulps: Update.
6798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6799
18d14251
AJ
68002013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6801
3d2e6075 6802 [BZ #16289]
18d14251
AJ
6803 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6804 division by 0.
6805
520d437b
SP
68062013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6807
6808 [BZ #16195]
6809 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6810 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6811 (STAP_PROBE0): New macro.
6812 (STAP_PROBE1): Likewise.
6813 (STAP_PROBE2): Likewise.
6814 (STAP_PROBE3): Likewise.
6815 (STAP_PROBE4): Likewise.
6816
416e0145
OB
68172013-12-02 Ondřej Bílka <neleai@seznam.cz>
6818
6819 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6820
9d17796a
SE
68212013-12-02 Steve Ellcey <sellcey@mips.com>
6822
6823 * benchtests/Makefile (bench): Add sqrt.
6824 (LDLIBS-bench-sqrt): New.
6825 * benchtests/sqrt-input: New.
6826
f524d6a8
PS
68272013-12-02 Pavel Simerda <psimerda@redhat.com>
6828
639a0ef8
PS
6829 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6830 (GAIH_EAI): Likewise.
6831 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6832 (gaih_inet): Likewise.
6833 (getaddrinfo): Don't use GAIH_EAI.
6834
f524d6a8
PS
6835 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6836 (struct gaih): Remove definition.
6837
df3aedaf
SP
68382013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6839
6840 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6841 Use HERRNOP directly.
6842
1ab19dec
AZ
68432013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6844
b42ad38d 6845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6846
176b0c79
JM
68472013-11-30 Joseph Myers <joseph@codesourcery.com>
6848
6849 * math/gen-auto-libm-tests.c (test_functions): Add more
6850 single-argument functions.
6851 (special_fill_pi_2): New function.
6852 (special_fill_minus_pi_2): Likewise.
6853 (special_fill_pi_6): Likewise.
6854 (special_fill_minus_pi_6): Likewise.
6855 (special_fill_pi_3): Likewise.
6856 (special_fill_2pi_3): Likewise.
6857 (special_fill_e): Likewise.
6858 (special_fill_1_e): Likewise.
6859 (special_fill_e_minus_1): Likewise.
6860 (special_real_inputs): Add more special inputs.
6861 (output_for_one_input_case): Do not require ERANGE on underflow to
6862 zero if round-to-nearest result does not underflow to zero, unless
6863 exact results required.
6864 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6865 atan, atanh, cbrt, cos and cosh.
6866 * math/auto-libm-test-out: Regenerated.
6867 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6868 (acos_tonearest_test_data): Likewise.
6869 (acos_towardzero_test_data): Likewise.
6870 (acos_downward_test_data): Likewise.
6871 (acos_upward_test_data): Likewise.
6872 (acosh_test_data): Likewise.
6873 (asin_test_data): Likewise.
6874 (asin_tonearest_test_data): Likewise.
6875 (asin_towardzero_test_data): Likewise.
6876 (asin_upward_test_data): Likewise.
6877 (asinh_test_data): Likewise.
6878 (atan_test_data): Likewise.
6879 (atanh_test_data): Likewise.
6880 (cbrt_test_data): Likewise.
6881 (cos_test_data): Likewise.
6882 (cos_tonearest_test_data): Likewise.
6883 (cos_towardzero_test_data): Likewise.
6884 (cos_downward_test_data): Likewise.
6885 (cos_upward_test_data): Likewise.
6886 (cosh_test_data): Likewise.
6887 (cosh_tonearest_test_data): Likewise.
6888 (cosh_towardzero_test_data): Likewise.
6889 (cosh_downward_test_data): Likewise.
6890 (cosh_upward_test_data): Likewise.
6891 * sysdeps/i386/fpu/libm-test-ulps: Update.
6892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6893
ffb536d0
JM
68942013-11-29 Joseph Myers <joseph@codesourcery.com>
6895
2a77a467
JM
6896 [BZ #6787]
6897 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6898 * math/w_exp10f.c (__exp10f): Likewise.
6899 * math/w_exp10l.c (__exp10l): Likewise.
6900 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6901 errno settings in existing tests.
6902
ea3bc4e8
JM
6903 [BZ #14032]
6904 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6905 precision control set to double precision.
6906 * sysdeps/i386/fpu/w_sqrt.c: New file.
6907 * math/auto-libm-test-in: Add more tests.
6908 * math/auto-libm-test-out: Update.
6909
0712c9d8
JM
6910 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6911 (sqrt_test_tonearest): New function.
6912 (sqrt_towardzero_test_data): New variable.
6913 (sqrt_test_towardzero): New function.
6914 (sqrt_downward_test_data): New variable.
6915 (sqrt_test_downward): New function.
6916 (sqrt_upward_test_data): New variable.
6917 (sqrt_test_upward): New function.
6918 (main): Call the new functions.
6919
ffb536d0
JM
6920 * math/gen-auto-libm-tests.c: New file.
6921 * math/auto-libm-test-in: Likewise.
6922 * math/auto-libm-test-out: New generated file.
6923 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6924 variables.
6925 (%beautify): Add generated representations of zero.
6926 (top level): Set $auto_input and call parse_auto_input.
6927 (beautify): Remove trailing "f" from hex float constants.
6928 (parse_args): Handle XFAIL_TEST.
6929 (convert_condition): New function.
6930 (or_value): Likewise.
6931 (or_cond_value): Likewise.
6932 (generate_testfile): Handle AUTO_TESTS_* lines.
6933 (parse_auto_input): New function.
6934 * math/libm-test.inc (XFAIL_TEST): New macro.
6935 (ERRNO_UNCHANGED): Update value.
6936 (ERRNO_EDOM): Likewise.
6937 (ERRNO_ERANGE): Likewise.
6938 (IGNORE_RESULT): Likewise.
6939 (TEST_COND_flt_32): New macro.
6940 (TEST_COND_dbl_64): Likewise.
6941 (TEST_COND_ldbl_96_intel): Likewise.
6942 (TEST_COND_ldbl_96_m68k): Likewise.
6943 (TEST_COND_ldbl_128): Likewise.
6944 (TEST_COND_ldbl_128ibm): Likewise.
6945 (TEST_COND_long32): Likewise.
6946 (TEST_COND_long64): Likewise.
6947 (TEST_COND_before_rounding): Likewise.
6948 (TEST_COND_after_rounding): Likewise.
6949 (enable_test): Handle XFAIL_TEST flag.
6950 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6951 with finite results.
6952 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6953 auto-libm-test-out.
6954
acd98a8e
AK
69552013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6956 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6957
6958 [BZ #16214]
6959 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6960 __tls_get_addr_internal instead of __tls_get_offset in order to
6961 avoid GOT pointer dependency. Make rtld export
6962 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6963 __tls_get_addr since we are a __tls_get_offset platform.
6964 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6965 GOT pointer being set up before.
6966 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6967
3c1c46a6
JM
69682013-11-28 Joseph Myers <joseph@codesourcery.com>
6969
7475aef5
JM
6970 * manual/math.texi (Errors in Math Functions): Document accuracy
6971 goals.
6972
8bca7cd8
JM
6973 [BZ #15004]
6974 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6975 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6976 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6977 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6978 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6979 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6980 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6981 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6982 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6983 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6984 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6986 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6987 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6988 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6990
91a1f3fe
JM
6991 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6992 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6993 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6994 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6995 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6996 Likewise.
6997 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6998 Likewise.
6999 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7000 Likewise.
7001 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7002 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7003 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7004 atomic-feupdateenv and flt-rounds.
7005 * sysdeps/powerpc/nofpu/Versions (libc): Add
7006 __atomic_feholdexcept, __atomic_feclearexcept,
7007 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7008 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7009 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7010 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7011 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7012 here.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7014 Update.
7015
c5df7609
JM
7016 * manual/arith.texi (FP Exceptions): Document that exceptions may
7017 not be raised when matherr is used.
7018 (Math Error Reporting): Document overflow in directed rounding
7019 modes. Document that errno may not be set when finite values are
7020 returned on overflow. Document intent to set errno on underflow
7021 only for underflow to zero.
7022
3c1c46a6
JM
7023 [BZ #16271]
7024 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7025 round-to-nearest then adjust result for other rounding modes.
7026 * include/fenv.h (fegetround): Use libm_hidden_proto.
7027 * math/fegetround.c (fegetround): Use libm_hidden_def.
7028 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7029 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7030 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7031 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7032 Likewise.
7033 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7034 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7035 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7036 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7037
5a4c6d53
SP
70382013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7039
7040 [BZ #16077]
7041 * nss/Versions (libnss_files): Add
7042 _nss_files_gethostbyname3_r.
7043 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7044 New function.
7045 (HOST_DB_LOOKUP): Remove macro.
7046 (_nss_files_gethostbyname_r): Implement function without the
7047 HOST_DB_LOOKUP macro.
7048 (_nss_files_gethostbyname2_r): Likewise.
7049
897b98ba
OB
70502013-11-28 Ondřej Bílka <neleai@seznam.cz>
7051
7052 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7053
6f476861
UB
70542013-11-26 Uros Bizjak <ubizjak@gmail.com>
7055
7056 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7057 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7058 warning.
7059
bd12ab55
AZ
70602013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7061
7062 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7063 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7064 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7065 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7066 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7067 __fe_nomask_env_priv and attribute_hidden.
7068 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7069 (libc_feupdateenv_test_ppc): Likewise.
7070 (libc_feresetround_ppc): Likewise.
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7072 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7073 compat_symbol macro.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7075 (__fe_nomask_env): Likewise.
7076 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7077
52bb6543
OB
70782013-11-26 Ondřej Bílka <neleai@seznam.cz>
7079
7080 * string/Makefile: Remove ifunc tests.
7081 * string/test-string.h: Define TEST_IFUNC.
7082 * string/test-bcopy-ifunc.c: Remove.
7083 * string/test-bzero-ifunc.c: Likewise.
7084 * string/test-memccpy-ifunc.c: Likewise.
7085 * string/test-memchr-ifunc.c: Likewise.
7086 * string/test-memcmp-ifunc.c: Likewise.
7087 * string/test-memcpy-ifunc.c: Likewise.
7088 * string/test-memmem-ifunc.c: Likewise.
7089 * string/test-memmove-ifunc.c: Likewise.
7090 * string/test-mempcpy-ifunc.c: Likewise.
7091 * string/test-memrchr-ifunc.c: Likewise.
7092 * string/test-memset-ifunc.c: Likewise.
7093 * string/test-rawmemchr-ifunc.c: Likewise.
7094 * string/test-stpcpy-ifunc.c: Likewise.
7095 * string/test-stpncpy-ifunc.c: Likewise.
7096 * string/test-strcasecmp-ifunc.c: Likewise.
7097 * string/test-strcasestr-ifunc.c: Likewise.
7098 * string/test-strcat-ifunc.c: Likewise.
7099 * string/test-strchr-ifunc.c: Likewise.
7100 * string/test-strchrnul-ifunc.c: Likewise.
7101 * string/test-strcmp-ifunc.c: Likewise.
7102 * string/test-strcpy-ifunc.c: Likewise.
7103 * string/test-strcspn-ifunc.c: Likewise.
7104 * string/test-strlen-ifunc.c: Likewise.
7105 * string/test-strncasecmp-ifunc.c: Likewise.
7106 * string/test-strncat-ifunc.c: Likewise.
7107 * string/test-strncmp-ifunc.c: Likewise.
7108 * string/test-strncpy-ifunc.c: Likewise.
7109 * string/test-strnlen-ifunc.c: Likewise.
7110 * string/test-strpbrk-ifunc.c: Likewise.
7111 * string/test-strrchr-ifunc.c: Likewise.
7112 * string/test-strspn-ifunc.c: Likewise.
7113 * string/test-strstr-ifunc.c: Likewise.
7114
ab260039 71152013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7116
7117 * benchtests/Makefile: Remove ifunc tests.
7118 * benchtests/bench-string.h: Define TEST_IFUNC.
7119 * benchtests/bench-bcopy-ifunc.c: Remove.
7120 * benchtests/bench-bzero-ifunc.c: Likewise.
7121 * benchtests/bench-memccpy-ifunc.c: Likewise.
7122 * benchtests/bench-memchr-ifunc.c: Likewise.
7123 * benchtests/bench-memcmp-ifunc.c: Likewise.
7124 * benchtests/bench-memcpy-ifunc.c: Likewise.
7125 * benchtests/bench-memmem-ifunc.c: Likewise.
7126 * benchtests/bench-memmove-ifunc.c: Likewise.
7127 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7128 * benchtests/bench-memrchr-ifunc.c: Likewise.
7129 * benchtests/bench-memset-ifunc.c: Likewise.
7130 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7131 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7132 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7133 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7134 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7135 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7136 * benchtests/bench-strcat-ifunc.c: Likewise.
7137 * benchtests/bench-strchr-ifunc.c: Likewise.
7138 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7139 * benchtests/bench-strcmp-ifunc.c: Likewise.
7140 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7141 * benchtests/bench-strcpy-ifunc.c: Likewise.
7142 * benchtests/bench-strcspn-ifunc.c: Likewise.
7143 * benchtests/bench-strlen-ifunc.c: Likewise.
7144 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7145 * benchtests/bench-strncat-ifunc.c: Likewise.
7146 * benchtests/bench-strncmp-ifunc.c: Likewise.
7147 * benchtests/bench-strncpy-ifunc.c: Likewise.
7148 * benchtests/bench-strnlen-ifunc.c: Likewise.
7149 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7150 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7151 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7152 * benchtests/bench-strspn-ifunc.c: Likewise.
7153 * benchtests/bench-strstr-ifunc.c: Likewise.
7154
71552013-11-26 Ondřej Bílka <neleai@seznam.cz>
7156
ab260039
OB
7157 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7158
d1d9eaf4 71592013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7160
d1d9eaf4
OB
7161 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7162 * rt/aio.h: Likewise.
7163 * sysdeps/gnu/bits/utmp.h: Likewise.
7164 * sysdeps/gnu/bits/utmpx.h: Likewise.
7165 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7166 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7167 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7168 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7169 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7170 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7171 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7172 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7173 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7174 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7175 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7176 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7177 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7179 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7180 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7181 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7182 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7183 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7184 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7185 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7186 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7187 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7188 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7189 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7191 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7192 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7193 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7194 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7195 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7196 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7197 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7198 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7199 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7200 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7201 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7202 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7203 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7204 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7205 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7206 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7207
a7624ed9
CD
72082013-11-25 Carlos O'Donell <carlos@redhat.com>
7209
7210 [BZ #16245]
7211 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7212 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7213
63cfe52b
JM
72142013-11-25 Joseph Myers <joseph@codesourcery.com>
7215
7216 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7217 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7218 Likewise.
7219
41e8926a
AZ
72202013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7221
7222 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7223 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7224 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7225 (__fesetround): Remove define.
7226 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7227 rounding and exceptions handling.
7228 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7229 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7230 (__fe_nomask_env): Likewise.
7231 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7232 __fegetround instead of fegetround.
7233 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7234 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7235
6851bd4d
RM
72362013-11-21 Roland McGrath <roland@hack.frob.com>
7237
070906ff
RM
7238 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7239 it's there.
7240
6851bd4d
RM
7241 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7242
84ae135d
MI
72432013-11-21 Meador Inge <meadori@codesourcery.com>
7244
7245 [BZ #11157]
7246 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7247 (encrypt_r): Likewise.
7248 * malloc/obstack.h (obstack_free): Likewise.
7249 * posix/unistd.h (encrypt): Likewise.
7250
daf75146
GM
72512013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7252
7253 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7254 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7255 DL_CALL_DT_FINI() that call the functions directly.
7256 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7257 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7258 * elf/dl-fini.c: Likewise.
7259
10ad46bc
OB
72602013-11-20 Ondřej Bílka <neleai@seznam.cz>
7261
7262 * malloc/hooks.c (memalign_check): Add alignment rounding.
7263 * malloc/malloc.c (_mid_memalign): New function.
7264 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7265 Implement by calling _mid_memalign.
7266 * manual/probes.texi (Memory Allocation Probes): Remove
7267 memory_valloc_retry and memory_pvalloc_retry.
7268
f3fd2628
SP
72692013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7270
4712799f
SP
7271 * locale/programs/locarchive.c (open_archive): Add const
7272 qualifier to ARCHIVEFNAME and copy default fname to
7273 DEFAULT_FNAME.
7274
0417b20f
SP
7275 [BZ #15601]
7276 * libio/tst-widetext.input: Rename Oriya to Odia.
7277 * locale/iso-639.def: Likewise.
7278
f3fd2628
SP
7279 * manual/probes.texi (Mathematical Function Probes): Add
7280 documentation for sin, cos, asin and acos probes.
7281 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7282 (__sin32): Add slowasin probe.
7283 (__cos32): Add slowacos probe.
7284 (__mpsin): Add slowsin probe.
7285 (__mpcos): Add slowcos probe.
7286
73c1ce4f
JM
72872013-11-19 Joseph Myers <joseph@codesourcery.com>
7288
7289 [BZ #15483]
7290 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7291 thread-local __sim_exceptions_thread and global
7292 __sim_exceptions_global.
7293 (__sim_disabled_exceptions): Change to thread-local
7294 __sim_disabled_exceptions_thread and global
7295 __sim_disabled_exceptions_global.
7296 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7297 and global __sim_round_mode_global.
7298 (__simulate_exceptions): Use thread-local floating-point state and
7299 set global state from it as needed.
7300 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7301 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7302 __sim_round_mode_thread.
7303 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7304 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7305 and global __sim_exceptions_global.
7306 (__sim_disabled_exceptions): Change to thread-local
7307 __sim_disabled_exceptions_thread and global
7308 __sim_disabled_exceptions_global.
7309 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7310 and global __sim_round_mode_global.
7311 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7312 (SIM_SET_GLOBAL): Likewise.
7313 * sysdeps/powerpc/soft-fp/sfp-machine.h
7314 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7315 __sim_round_mode_thread.
7316 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7317 __sim_disabled_exceptions_thread.
7318 (__sim_exceptions): Change to __sim_exceptions_thread.
7319 (__sim_disabled_exceptions): Change to
7320 __sim_disabled_exceptions_thread.
7321 (__sim_round_mode): Change to __sim_round_mode_thread.
7322 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7323 thread-local floating-point state and set global state from it as
7324 needed.
7325 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7326 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7327 (__sim_disabled_exceptions): Remove extern declaration.
7328 (feenableexcept): Use thread-local floating-point state and set
7329 global state from it as needed.
7330 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7331 extern declaration.
7332 (__sim_disabled_exceptions): Likewise.
7333 (__sim_round_mode): Likewise.
7334 (__fegetenv): Use thread-local floating-point state.
7335 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7336 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7337 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7338 floating-point state and set global state from it as needed.
7339 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7340 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7341 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7342 Likewise.
7343 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7344 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7345 Likewise.
7346 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7347 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7348 Use __sim_round_mode_thread.
7349 * math/test-fenv-tls.c: New file.
7350 * math/Makefile (tests): Add test-fenv-tls.
7351 ($(objpfx)test-fenv-tls): Depend on
7352 $(common-objpfx)nptl/libpthread.so.
7353
b5449b12
AS
73542013-11-19 Andreas Schwab <schwab@suse.de>
7355
7356 * locale/programs/locale.c (show_info): Decode wordarray elements.
7357 * locale/categories.def (LC_MONETARY): Add element for
7358 _NL_MONETARY_CRNCYSTR.
7359 * locale/C-monetary.c (conversion_rate): New variable.
7360 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7361 element.
7362
e186536b
CM
73632013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7364
7365 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7366 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7367
5c349950
PP
73682013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7369
7370 * elf/Makefile (tst-auxv): New test.
7371 * elf/tst-auxv.c: New
7372 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7373
699df45b
JM
73742013-11-18 Joseph Myers <joseph@codesourcery.com>
7375
7376 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7377 (hidden_proto): Caller changed.
7378 (hidden_tls_proto): New macro.
7379 (libc_hidden_tls_proto): Likewise.
7380 (rtld_hidden_tls_proto): Likewise.
7381 (libm_hidden_tls_proto): Likewise.
7382 (libresolv_hidden_tls_proto): Likewise.
7383 (librt_hidden_tls_proto): Likewise.
7384 (libdl_hidden_tls_proto): Likewise.
7385 (libnss_files_hidden_tls_proto): Likewise.
7386 (libnsl_hidden_tls_proto): Likewise.
7387 (libnss_nisplus_hidden_tls_proto): Likewise.
7388 (libutil_hidden_tls_proto): Likewise.
7389
b7589107
OB
73902013-11-18 Ondřej Bílka <neleai@seznam.cz>
7391
7392 [BZ #10253]
7393 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7394 (decompose_rpath): Defer expansion to fillin_rpath.
7395 (_dl_init_paths): Pass linkmap to fillin_rpath.
7396
250c23bd
RS
73972013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7398
7399 * benchtests/Makefile: Add strsep.
7400 * benchtests/bench-strsep.c: New file: strsep benchtest.
7401 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7402
a7931fcf
AS
74032013-11-18 Andreas Schwab <schwab@suse.de>
7404
7405 * locale/programs/locale.c (show_info) [case byte]: Check for
7406 '\377' instead of '\177'.
7407 * locale/C-monetary.c (not_available): Always use "\377".
7408 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7409 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7410 detect unavailable sign_posn locale elements.
7411 * locale/localeconv.c (__localeconv): For grouping and
7412 mon_grouping handle "\177" and "\377" like no grouping.
7413 (INT_ELEM): New macro. Use it to set all numeric members.
7414 * locale/programs/ld-monetary.c (monetary_read)
7415 <tok_mon_grouping>: Normalize single -1 to the empty string.
7416 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7417 Likewise.
7418
728dab0e
OB
74192013-11-07 Ondřej Bílka <neleai@seznam.cz>
7420
7421 [BZ #16055]
7422 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7423 when we match (nil).
7424 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7425
66294491
JM
74262013-11-16 Joseph Myers <joseph@codesourcery.com>
7427
ce665817
JM
7428 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7429 (NO_TEST_INLINE): Update value.
7430 (ERRNO_UNCHANGED): Likewise.
7431 (ERRNO_EDOM): Likewise.
7432 (ERRNO_ERANGE): Likewise.
7433 (IGNORE_RESULT): Likewise.
7434 (check_float_internal): Check signs of NaN results if
7435 TEST_NAN_SIGN used.
7436 (check_complex): Pass TEST_NAN_SIGN flag through to second
7437 check_float_internal call.
7438 (copysign_test_data): Add tests with quiet NaNs as second
7439 argument. Use TEST_NAN_SIGN.
7440 (fabs_test_data): Add test of negative quiet NaN argument. Use
7441 TEST_NAN_SIGN.
7442 (signbit_test_data): Add tests of quiet NaN argument.
7443 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7444
ee1466a9
JM
7445 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7446 $ignore_result.
7447 (parse_args): Handle function results specified as IGNORE.
7448 * math/libm-test.inc (IGNORE_RESULT): New macro.
7449 (check_float_internal): Do not check numerical result if flag
7450 IGNORE_RESULT set.
7451 (check_complex): Pass through IGNORE_RESULT to second
7452 check_float_internal call.
7453 (check_int): Do not check numerical result if flag IGNORE_RESULT
7454 set.
7455 (check_long): Likewise.
7456 (check_bool): Likewise.
7457 (check_longlong): Likewise.
7458 (lrint_test_data): Add tests of infinite and NaN arguments.
7459 (lrint_tonearest_test_data): Likewise.
7460 (lrint_towardzero_test_data): Likewise.
7461 (lrint_downward_test_data): Likewise.
7462 (lrint_upward_test_data): Likewise.
7463 (llrint_test_data): Likewise.
7464 (llrint_tonearest_test_data): Likewise.
7465 (llrint_towardzero_test_data): Likewise.
7466 (llrint_downward_test_data): Likewise.
7467 (llrint_upward_test_data): Likewise.
7468 (lround_test_data): Likewise.
7469 (llround_test_data): Likewise.
7470
14407b7e
JM
7471 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7472 (ERRNO_UNCHANGED): Update value.
7473 (ERRNO_EDOM): Likewise.
7474 (ERRNO_ERANGE): Likewise.
7475 (NO_TEST_INLINE_FLOAT): New macro.
7476 (NO_TEST_INLINE_DOUBLE): Likewise.
7477 (enable_test): New function.
7478 (RUN_TEST_f_f): Check enable_test before running test.
7479 (RUN_TEST_2_f): Likewise.
7480 (RUN_TEST_fff_f): Likewise.
7481 (RUN_TEST_c_f): Likewise.
7482 (RUN_TEST_f_f1): Likewise.
7483 (RUN_TEST_fF_f1): Likewise.
7484 (RUN_TEST_fI_f1): Likewise.
7485 (RUN_TEST_ffI_f1): Likewise.
7486 (RUN_TEST_c_c): Likewise.
7487 (RUN_TEST_cc_c): Likewise.
7488 (RUN_TEST_f_i): Likewise.
7489 (RUN_TEST_f_i_tg): Likewise.
7490 (RUN_TEST_ff_i_tg): Likewise.
7491 (RUN_TEST_f_b): Likewise.
7492 (RUN_TEST_f_b_tg): Likewise.
7493 (RUN_TEST_f_l): Likewise.
7494 (RUN_TEST_f_L): Likewise.
7495 (RUN_TEST_fFF_11): Likewise.
7496 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7497 conditionals.
7498 (cosh_test_data): Likewise.
7499 (exp_test_data): Likewise.
7500 (expm1_test_data): Likewise.
7501 (hypot_test_data): Likewise.
7502 (pow_test_data): Likewise.
7503 (sinh_test_data): Likewise.
7504 (tanh_test_data): Likewise.
7505 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7506 flags argument.
7507
ca07f197
JM
7508 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7509 tests with quiet NaN input and output.
7510 (acosh_test_data): Likewise.
7511 (asin_test_data): Likewise.
7512 (asinh_test_data): Likewise.
7513 (atan_test_data): Likewise.
7514 (atanh_test_data): Likewise.
7515 (atan2_test_data): Likewise.
7516 (cbrt_test_data): Likewise.
7517 (cos_test_data): Likewise.
7518 (cosh_test_data): Likewise.
7519 (erf_test_data): Likewise.
7520 (erfc_test_data): Likewise.
7521 (exp_test_data): Likewise.
7522 (exp10_test_data): Likewise.
7523 (exp2_test_data): Likewise.
7524 (expm1_test_data): Likewise.
7525 (hypot_test_data): Likewise.
7526 (j0_test_data): Likewise.
7527 (j1_test_data): Likewise.
7528 (jn_test_data): Likewise.
7529 (lgamma_test_data): Likewise.
7530 (log_test_data): Likewise.
7531 (log10_test_data): Likewise.
7532 (log1p_test_data): Likewise.
7533 (log2_test_data): Likewise.
7534 (pow_test_data): Likewise.
7535 (scalb_test_data): Likewise.
7536 (sin_test_data): Likewise.
7537 (sincos_test_data): Likewise.
7538 (sinh_test_data): Likewise.
7539 (tan_test_data): Likewise.
7540 (tanh_test_data): Likewise.
7541 (tgamma_test_data): Likewise.
7542 (y0_test_data): Likewise.
7543 (y1_test_data): Likewise.
7544 (yn_test_data): Likewise.
7545
66294491
JM
7546 [BZ #16167]
7547 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7548 argument being NaN and avoid computations with second argument in
7549 that case.
7550 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7551 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7552 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7553
1820b143
CL
75542013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7555
7556 * locale/iso-639.def: Add Chitwani Tharu (the).
7557
714bd261
AS
75582013-11-14 Andreas Schwab <schwab@suse.de>
7559
7560 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7561 word instead of empty string.
7562
7ab44563
AZ
75632013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7564
7565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7566 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7568 (__fe_nomask_env): Likewise.
7569
e8470ea2
SE
75702013-11-13 Steve Ellcey <sellcey@mips.com>
7571
7572 * benchtests/bench-timing.h: Include time.h.
7573
17c1d9f0
L
75742013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7575
7576 [BZ #15997]
7577 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7578 to 3.4.0 for x32.
7579 * sysdeps/unix/sysv/linux/configure: Regenerated.
7580
9310c284
JM
75812013-11-13 Joseph Myers <joseph@codesourcery.com>
7582
7583 [BZ #16151]
7584 * stdlib/strtod_l.c (round_and_return): Do not consider
7585 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7586 exponent one less than half the least subnormal exponent.
7587 * stdlib/test-strtod-round-data: Add more tests.
7588 * stdlib/tst-strtod-round.c (tests): Regenerated.
7589
7a2ad8cf
AZ
75902013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7591
7592 [BZ #14143]
7593 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7594 (__fe_mask_env): Likewise.
7595 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7596 libm_hidden_proto and add function prototype.
7597 (__fe_mask_env): Add function prototype.
7598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7599 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7601 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7603 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7604
50727aa7
MS
76052013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7606
b2f386c1 7607 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7608 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7609
a615be46
MS
76102013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7611
7612 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7613 of htab_find_slot().
7614
7ddace62
DM
76152013-11-11 David S. Miller <davem@davemloft.net>
7616
7617 [BZ #16150]
7618 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7619 symbol in the non-vis3 case in static builds.
7620 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7621 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7622 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7623 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7624
9182aa67
JK
76252013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7626
7627 [BZ #387]
7628 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7629 it is empty.
7630
450a2e2d
AZ
76312013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7632
b2f386c1
SP
7633 * benchtests/Makefile: Add bench-strtod.
7634 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7635
8ec3f656
AS
76362013-11-11 Andreas Schwab <schwab@suse.de>
7637
7638 [BZ #16153]
7639 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7640 terminating NUL in key length.
7641
76a9b998
AZ
76422013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7643
7644 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7645 Add artificial ODP entry for vDSO symbol for PPC64.
7646 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7647 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7648
e4368156
OB
76492013-11-07 Ondřej Bílka <neleai@seznam.cz>
7650
7651 [BZ #15374]
7652 * nss/getent.c (services_keys): Recognize services starting with digit.
7653
8d6bb57c
DM
76542013-11-06 David S. Miller <davem@davemloft.net>
7655
7656 [BZ #15985]
7657 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7658 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7659
e256c421
WN
76602013-11-06 Will Newton <will.newton@linaro.org>
7661
7662 * manual/memory.texi (Malloc Examples): Remove register
7663 keyword from examples.
7664
f6e12daa 76652013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7666
f6e12daa 7667 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7668
9d880655
AS
76692013-11-04 Joseph Myers <joseph@codesourcery.com>
7670
fd2f9486 7671 [BZ #6981]
9d880655
AS
7672 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7673 depending on [__GCC_IEC_559 > 0].
7674 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7675 depending on [__GCC_IEC_559_COMPLEX > 0].
7676
ae129d3c
CL
76772013-11-03 Chris Leonard <cjl@sugarlabs.org>
7678
7679 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7680 to iso-639.def.
7681
4a15c2a4 76822013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7683
7684 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7685
8b35e35d
OB
76862013-11-01 Ondřej Bílka <neleai@seznam.cz>
7687
7688 [BZ #16112]
7689 * malloc/malloc (malloc_info): Do not handle first bin as
7690 special case.
7691
1d70fd6c
CL
76922013-11-01 Chris Leonard <cjl@sugarlabs.org>
7693
7694 * locale/iso-639.def: Add Central Nahuatl (nhn).
7695
8c5c2600
BH
76962013-11-01 Bruno Haible <bruno@clisp.org>
7697
7698 [BZ #7003]
7699 * manual/math.texi (BSD Random): Specify range upper bound as
7700 in POSIX.
7701
da5579c2
CL
77022013-10-31 Chris Leonard <cjl@sugarlabs.org>
7703
7704 * locale/iso-639.def: Add Meadow Mari (mhr).
7705
5d30d853
OB
77062013-10-31 Ondřej Bílka <neleai@seznam.cz>
7707
7708 [BZ #14752], [BZ #15763]
7709 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7710 Validate name.
7711 * rt/tst_shm.c: Add test for escaping directory.
7712
a4966c61
AS
77132013-10-31 Andreas Schwab <schwab@suse.de>
7714
8a43e768 7715 [BZ #15917]
a4966c61
AS
7716 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7717 followed by 'x' as part of digit sequence.
7718 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7719
28d708c4
MAP
77202013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7721
7722 [BZ #16037]
7723 * configure.ac: allow GNU Make 4.0 and greater.
7724 * configure: Regenerated.
7725
a56ee40b
WN
77262013-10-30 Will Newton <will.newton@linaro.org>
7727
7728 [BZ #16038]
7729 * malloc/hooks.c (memalign_check): Limit alignment to the
7730 maximum representable power of two.
7731 * malloc/malloc.c (__libc_memalign): Likewise.
7732 * malloc/tst-memalign.c (do_test): Add test for very
7733 large alignment values.
7734 * malloc/tst-posix_memalign.c (do_test): Likewise.
7735
c6e4925d
OB
77362013-10-30 Ondřej Bílka <neleai@seznam.cz>
7737
7738 [BZ #11087]
7739 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7740 (munmap_chunk): Likewise.
7741 (mremap_chunk): Likewise.
7742
77432013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7744
8a43e768 7745 [BZ #15799]
bbea82f7
OB
7746 * stdlib/div.c (div): Remove obsolete code.
7747 * stdlib/ldiv.c (ldiv): Likewise.
7748 * stdlib/lldiv.c (lldiv): Likewise.
7749
977f4b31
SP
77502013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7751
7752 [BZ #16071]
7753 * nss/nss_files/files-XXX.c (get_contents_ret): New
7754 enumerator.
7755 (get_contents): New function.
7756 (internal_getent): Use it. Expand size of LINEBUFLEN.
7757
cb8a6dbd
MF
77582013-10-30 Mike Frysinger <vapier@gentoo.org>
7759
7760 * configure.in: Moved to ...
7761 * configure.ac: ... here. Change reference to configure.in
7762 to configure.ac.
7763 * sysdeps/arm/preconfigure.ac: ... here.
7764 configure.in to configure.ac.
7765 * sysdeps/gnu/configure.in: Moved to ...
7766 * sysdeps/gnu/configure.ac: ... here.
7767 * sysdeps/i386/configure.in: Moved to ...
7768 * sysdeps/i386/configure.ac: ... here.
7769 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7770 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7771 * sysdeps/mach/configure.in: Moved to ...
7772 * sysdeps/mach/configure.ac: ... here.
7773 * sysdeps/mach/hurd/configure.in: Moved to ...
7774 * sysdeps/mach/hurd/configure.ac: ... here.
7775 * sysdeps/powerpc/configure.in: Moved to ...
7776 * sysdeps/powerpc/configure.ac: ... here.
7777 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7778 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7779 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7780 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7781 * sysdeps/s390/s390-32/configure.in: Moved to ...
7782 * sysdeps/s390/s390-32/configure.ac: ... here.
7783 * sysdeps/s390/s390-64/configure.in: Moved to ...
7784 * sysdeps/s390/s390-64/configure.ac: ... here.
7785 * sysdeps/sh/configure.in: Moved to ...
7786 * sysdeps/sh/configure.ac: ... here.
7787 * sysdeps/sparc/configure.in: Moved to ...
7788 * sysdeps/sparc/configure.ac: ... here.
7789 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7790 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7791 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7792 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7793 * sysdeps/x86_64/configure.in: Moved to ...
7794 * sysdeps/x86_64/configure.ac: ... here.
7795 * sysdeps/x86_64/preconfigure.in: Moved to ...
7796 * sysdeps/x86_64/preconfigure.ac: ... here.
7797 * aclocal.m4: Change reference to configure.in to configure.ac.
7798 * config.h.in: Likewise.
7799 * manual/install.texi: Likewise.
7800 * manual/maint.texi: Likewise.
7801 * Makefile: Likewise.
7802 * malloc/Makefile: Likewise.
7803 * nscd/Makefile: Likewise.
7804 * Makeconfig: Change reference to configure.in and
7805 preconfigure.in to configure.ac and preconfigure.ac
7806 respectively.
7807 * INSTALL: Regenerated.
7808 * configure: Likewise.
7809 * sysdeps/gnu/configure: Likewise.
7810 * sysdeps/i386/configure: Likewise.
7811 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7812 * sysdeps/mach/configure: Likewise.
7813 * sysdeps/mach/hurd/configure: Likewise.
7814 * sysdeps/powerpc/configure: Likewise.
7815 * sysdeps/powerpc/powerpc32/configure: Likewise.
7816 * sysdeps/powerpc/powerpc64/configure: Likewise.
7817 * sysdeps/s390/s390-32/configure: Likewise.
7818 * sysdeps/s390/s390-64/configure: Likewise.
7819 * sysdeps/sh/configure: Likewise.
7820 * sysdeps/sparc/configure: Likewise.
7821 * sysdeps/unix/sysv/linux/configure: Likewise.
7822 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7823 * sysdeps/x86_64/configure: Likewise.
7824 * sysdeps/x86_64/preconfigure: Likewise.
7825
36a4953a
AS
78262013-10-29 Andreas Schwab <schwab@suse.de>
7827
7828 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7829
c79a1204
SP
78302013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7831
dfa1b402
SP
7832 * benchtests/pow-inputs: Add new inputs.
7833
54f73d9c
SP
7834 * benchtests/exp-inputs: Add new inputs.
7835
c79a1204
SP
7836 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7837 conditional check for return value.
7838 (__cos32): Likewise.
7839
67beb545 78402013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7841
7842 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7843 to provide a boost for large inputs with word alignment.
7844 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7845 implementation based on optimized PPC64 strcpy.
7846 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7847 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7848 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7849 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7850
151659f6
OB
78512013-10-25 Ondřej Bílka <neleai@seznam.cz>
7852
482a077e 7853 [BZ #2801]
151659f6
OB
7854 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7855
10b0f26b
OB
78562013-10-25 Ondřej Bílka <neleai@seznam.cz>
7857
7858 [BZ #14876]
7859 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7860 * time/tst-strptime.c (day_tests): Add testcase.
7861
ca42d35e
OB
78622013-10-25 Ondřej Bílka <neleai@seznam.cz>
7863
482a077e 7864 [BZ #14029]
ca42d35e
OB
7865 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7866
52e6d801
FB
78672013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7868
7869 [BZ #16074]
7870 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7871 MAP_FAILED on error.
7872
7cbcdb36
SP
78732013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7874
7875 [BZ #16072]
7876 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7877 heap for large requests.
7878
894f3f10
AM
78792013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7880
7881 [BZ #9954]
7882 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7883 result if the result has no associated interface.
7884 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7885 interface for all 127.X.Y.Z addresses.
7886
b85545a6
CL
78872013-10-24 Chris Leonard <cjl@sugarlabs.org>
7888
7889 * locale/iso-639.def: Add Ligurian (lij)
7890
d1f23d46
OB
78912013-10-21 Ondřej Bílka <neleai@seznam.cz>
7892
7893 [BZ #15825]
7894 * sunrpc/rpc_main.c: Document rpcgen -5.
7895
4db5b08f
MS
78962013-10-19 Michael Stahl <mstahl@redhat.com>
7897
7898 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7899
a471e96a
OB
79002013-10-19 Ondřej Bílka <neleai@seznam.cz>
7901
d1f23d46 7902 [BZ #10278]
a471e96a
OB
7903 * posix/glob.c: Match only directories when trailing slash is present.
7904 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7905 (main): Add testcase.
7906
45c30c61
OB
79072013-10-19 Ondřej Bílka <neleai@seznam.cz>
7908
7909 [BZ #15670]
7910 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7911
484c12fb
CD
79122013-10-18 Carlos O'Donell <carlos@redhat.com>
7913
3d7dc513
CD
7914 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7915 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7916 AUTH_DES and cindex for FIPS 140-2.
7917 (DES Encryption): Add cindex FIPS 46-3.
7918
484c12fb
CD
7919 * locale/locarchive.h (struct locarhandle): Add fname.
7920 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7921 if an optional argument was specified to --list-archive,
7922 otherwise NULL.
7923 * locale/programs/locarchive.c (show_archive_content): Take new
7924 argument fname and pass it via ah.fname to open_archive.
7925 * locale/programs/localedef.h: Update decl.
7926 (open_archive): If AH->fname is non-null, open that file
7927 rather than the default file name, and don't ignore ENOENT.
7928 (create_archive): Set AH.fname to NULL.
7929 (delete_locales_from_archive): Likewise.
7930 (add_locales_to_archive): Likewise.
7931 * locale/programs/locfile.c (write_all_categories): Likewise.
7932
3c8325fb
JM
79332013-10-18 Joseph Myers <joseph@codesourcery.com>
7934 Aldy Hernandez <aldyh@redhat.com>
7935
7936 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7937 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7938 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7939 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7940 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7941 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7942 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7943 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7944 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7945 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7946 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7947 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7948 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7949 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7950 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7951 Likewise.
7952 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7953 Likewise.
7954 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7955 Likewise.
7956 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7957 Likewise.
7958 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7959 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7960 Likewise.
7961 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7962 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7963 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7964 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7965 Likewise.
7966 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7967 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7968 * sysdeps/powerpc/preconfigure: Likewise.
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7970 Likewise.
7971 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7972 Replace contents of file by #include of <fenv_libc.h>.
7973 * sysdeps/powerpc/soft-fp/sfp-machine.h
7974 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7975 and <sys/prctl.h>.
7976 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7977 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7979 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7982 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7983 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7984 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7985 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7986 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7987 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7989 Allow copysignl PLT reference to be missing.
7990
5abe0682
RS
79912013-10-18 Richard Sandiford <richard@codesourcery.com>
7992 Joseph Myers <joseph@codesourcery.com
7993
7994 [BZ #15948]
7995 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7996 single character.
7997 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7998
c7738d08
SP
79992013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8000
8001 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8002 * elf/tst-tls1.c: Likewise.
8003 * elf/tst-tls10.h: Likewise.
8004 * elf/tst-tls14.c: Likewise.
8005 * elf/tst-tls2.c: Likewise.
8006 * elf/tst-tls3.c: Likewise.
8007 * elf/tst-tls4.c: Likewise.
8008 * elf/tst-tls5.c: Likewise.
8009 * elf/tst-tls6.c: Likewise.
8010 * elf/tst-tls7.c: Likewise.
8011 * elf/tst-tls8.c: Likewise.
8012 * elf/tst-tls9.c: Likewise.
8013 * elf/tst-tlsmod1.c: Likewise.
8014 * elf/tst-tlsmod13.c: Likewise.
8015 * elf/tst-tlsmod13a.c: Likewise.
8016 * elf/tst-tlsmod14a.c: Likewise.
8017 * elf/tst-tlsmod16a.c: Likewise.
8018 * elf/tst-tlsmod16b.c: Likewise.
8019 * elf/tst-tlsmod2.c: Likewise.
8020 * elf/tst-tlsmod3.c: Likewise.
8021 * elf/tst-tlsmod4.c: Likewise.
8022 * elf/tst-tlsmod5.c: Likewise.
8023 * elf/tst-tlsmod6.c: Likewise.
8024
0bfcf2c7
OB
80252013-10-18 Ondřej Bílka <neleai@seznam.cz>
8026
8027 [BZ #12486]
8028 * malloc/malloc.c: remove checks for statistics.
8029
264aad1e
OB
80302013-10-17 Ondřej Bílka <neleai@seznam.cz>
8031
8032 [BZ #15277]
8033 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8034 * inet/tst-network.c: Add testcase.
8035
b957ced8
AS
80362013-10-17 Andreas Schwab <schwab@suse.de>
8037
8038 [BZ #15218]
8039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8040 to determine canonical name.
8041
c5d5d574
OB
80422013-10-17 Ondřej Bílka <neleai@seznam.cz>
8043
8044 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8045 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8067 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8068 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8069 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8070 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8071 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8072 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8073 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8074 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8075 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8076 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8077 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8085 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8086 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8087 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8088 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8089 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8090 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8091 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8092 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8101 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8102
e5c2c2d0
JM
81032013-10-17 Joseph Myers <joseph@codesourcery.com>
8104
8105 [BZ #16041]
8106 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8107 make result into a quiet NaN.
8108
51ca9e29
JM
81092013-10-16 Joseph Myers <joseph@codesourcery.com>
8110
8111 * soft-fp/adddf3.c: Fix horizontal whitespace.
8112 * soft-fp/addsf3.c: Likewise.
8113 * soft-fp/addtf3.c: Likewise.
8114 * soft-fp/divdf3.c: Likewise.
8115 * soft-fp/divsf3.c: Likewise.
8116 * soft-fp/divtf3.c: Likewise.
8117 * soft-fp/double.h: Likewise.
8118 * soft-fp/eqdf2.c: Likewise.
8119 * soft-fp/eqsf2.c: Likewise.
8120 * soft-fp/eqtf2.c: Likewise.
8121 * soft-fp/extenddftf2.c: Likewise.
8122 * soft-fp/extended.h: Likewise.
8123 * soft-fp/extendsfdf2.c: Likewise.
8124 * soft-fp/extendsftf2.c: Likewise.
8125 * soft-fp/extendxftf2.c: Likewise.
8126 * soft-fp/fixdfdi.c: Likewise.
8127 * soft-fp/fixdfsi.c: Likewise.
8128 * soft-fp/fixdfti.c: Likewise.
8129 * soft-fp/fixsfdi.c: Likewise.
8130 * soft-fp/fixsfsi.c: Likewise.
8131 * soft-fp/fixsfti.c: Likewise.
8132 * soft-fp/fixtfdi.c: Likewise.
8133 * soft-fp/fixtfsi.c: Likewise.
8134 * soft-fp/fixtfti.c: Likewise.
8135 * soft-fp/fixunsdfdi.c: Likewise.
8136 * soft-fp/fixunsdfsi.c: Likewise.
8137 * soft-fp/fixunsdfti.c: Likewise.
8138 * soft-fp/fixunssfdi.c: Likewise.
8139 * soft-fp/fixunssfsi.c: Likewise.
8140 * soft-fp/fixunssfti.c: Likewise.
8141 * soft-fp/fixunstfdi.c: Likewise.
8142 * soft-fp/fixunstfsi.c: Likewise.
8143 * soft-fp/fixunstfti.c: Likewise.
8144 * soft-fp/floatdidf.c: Likewise.
8145 * soft-fp/floatdisf.c: Likewise.
8146 * soft-fp/floatditf.c: Likewise.
8147 * soft-fp/floatsidf.c: Likewise.
8148 * soft-fp/floatsisf.c: Likewise.
8149 * soft-fp/floatsitf.c: Likewise.
8150 * soft-fp/floattidf.c: Likewise.
8151 * soft-fp/floattisf.c: Likewise.
8152 * soft-fp/floattitf.c: Likewise.
8153 * soft-fp/floatundidf.c: Likewise.
8154 * soft-fp/floatundisf.c: Likewise.
8155 * soft-fp/floatunditf.c: Likewise.
8156 * soft-fp/floatunsidf.c: Likewise.
8157 * soft-fp/floatunsisf.c: Likewise.
8158 * soft-fp/floatunsitf.c: Likewise.
8159 * soft-fp/floatuntidf.c: Likewise.
8160 * soft-fp/floatuntisf.c: Likewise.
8161 * soft-fp/floatuntitf.c: Likewise.
8162 * soft-fp/fmadf4.c: Likewise.
8163 * soft-fp/fmasf4.c: Likewise.
8164 * soft-fp/fmatf4.c: Likewise.
8165 * soft-fp/gedf2.c: Likewise.
8166 * soft-fp/gesf2.c: Likewise.
8167 * soft-fp/getf2.c: Likewise.
8168 * soft-fp/ledf2.c: Likewise.
8169 * soft-fp/lesf2.c: Likewise.
8170 * soft-fp/letf2.c: Likewise.
8171 * soft-fp/muldf3.c: Likewise.
8172 * soft-fp/mulsf3.c: Likewise.
8173 * soft-fp/multf3.c: Likewise.
8174 * soft-fp/negdf2.c: Likewise.
8175 * soft-fp/negsf2.c: Likewise.
8176 * soft-fp/negtf2.c: Likewise.
8177 * soft-fp/op-1.h: Likewise.
8178 * soft-fp/op-2.h: Likewise.
8179 * soft-fp/op-4.h: Likewise.
8180 * soft-fp/op-8.h: Likewise.
8181 * soft-fp/op-common.h: Likewise.
8182 * soft-fp/quad.h: Likewise.
8183 * soft-fp/single.h: Likewise.
8184 * soft-fp/soft-fp.h: Likewise.
8185 * soft-fp/sqrtdf2.c: Likewise.
8186 * soft-fp/sqrtsf2.c: Likewise.
8187 * soft-fp/sqrttf2.c: Likewise.
8188 * soft-fp/subdf3.c: Likewise.
8189 * soft-fp/subsf3.c: Likewise.
8190 * soft-fp/subtf3.c: Likewise.
8191 * soft-fp/truncdfsf2.c: Likewise.
8192 * soft-fp/trunctfdf2.c: Likewise.
8193 * soft-fp/trunctfsf2.c: Likewise.
8194 * soft-fp/trunctfxf2.c: Likewise.
8195 * soft-fp/unorddf2.c: Likewise.
8196 * soft-fp/unordsf2.c: Likewise.
8197 * soft-fp/unordtf2.c: Likewise.
8198
9ebb0332
JM
81992013-10-15 Joseph Myers <joseph@codesourcery.com>
8200
8201 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8202 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8203
4b1a6d8b
OB
82042013-10-15 Ondřej Bílka <neleai@seznam.cz>
8205
8206 * elf/dl-libc.c: Clear initfini list after freeing.
8207
1e145589
JM
82082013-10-14 Joseph Myers <joseph@codesourcery.com>
8209
8210 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8211 * soft-fp/addsf3.c: Likewise.
8212 * soft-fp/addtf3.c: Likewise.
8213 * soft-fp/divdf3.c: Likewise.
8214 * soft-fp/divsf3.c: Likewise.
8215 * soft-fp/divtf3.c: Likewise.
8216 * soft-fp/double.h: Likewise.
8217 * soft-fp/eqdf2.c: Likewise.
8218 * soft-fp/eqsf2.c: Likewise.
8219 * soft-fp/eqtf2.c: Likewise.
8220 * soft-fp/extenddftf2.c: Likewise.
8221 * soft-fp/extended.h: Likewise.
8222 * soft-fp/extendsfdf2.c: Likewise.
8223 * soft-fp/extendsftf2.c: Likewise.
8224 * soft-fp/extendxftf2.c: Likewise.
8225 * soft-fp/fixdfdi.c: Likewise.
8226 * soft-fp/fixdfsi.c: Likewise.
8227 * soft-fp/fixdfti.c: Likewise.
8228 * soft-fp/fixsfdi.c: Likewise.
8229 * soft-fp/fixsfsi.c: Likewise.
8230 * soft-fp/fixsfti.c: Likewise.
8231 * soft-fp/fixtfdi.c: Likewise.
8232 * soft-fp/fixtfsi.c: Likewise.
8233 * soft-fp/fixtfti.c: Likewise.
8234 * soft-fp/fixunsdfdi.c: Likewise.
8235 * soft-fp/fixunsdfsi.c: Likewise.
8236 * soft-fp/fixunsdfti.c: Likewise.
8237 * soft-fp/fixunssfdi.c: Likewise.
8238 * soft-fp/fixunssfsi.c: Likewise.
8239 * soft-fp/fixunssfti.c: Likewise.
8240 * soft-fp/fixunstfdi.c: Likewise.
8241 * soft-fp/fixunstfsi.c: Likewise.
8242 * soft-fp/fixunstfti.c: Likewise.
8243 * soft-fp/floatdidf.c: Likewise.
8244 * soft-fp/floatdisf.c: Likewise.
8245 * soft-fp/floatditf.c: Likewise.
8246 * soft-fp/floatsidf.c: Likewise.
8247 * soft-fp/floatsisf.c: Likewise.
8248 * soft-fp/floatsitf.c: Likewise.
8249 * soft-fp/floattidf.c: Likewise.
8250 * soft-fp/floattisf.c: Likewise.
8251 * soft-fp/floattitf.c: Likewise.
8252 * soft-fp/floatundidf.c: Likewise.
8253 * soft-fp/floatundisf.c: Likewise.
8254 * soft-fp/floatunsidf.c: Likewise.
8255 * soft-fp/floatunsisf.c: Likewise.
8256 * soft-fp/floatuntidf.c: Likewise.
8257 * soft-fp/floatuntisf.c: Likewise.
8258 * soft-fp/floatuntitf.c: Likewise.
8259 * soft-fp/fmadf4.c: Likewise.
8260 * soft-fp/fmasf4.c: Likewise.
8261 * soft-fp/fmatf4.c: Likewise.
8262 * soft-fp/gedf2.c: Likewise.
8263 * soft-fp/gesf2.c: Likewise.
8264 * soft-fp/getf2.c: Likewise.
8265 * soft-fp/ledf2.c: Likewise.
8266 * soft-fp/lesf2.c: Likewise.
8267 * soft-fp/letf2.c: Likewise.
8268 * soft-fp/muldf3.c: Likewise.
8269 * soft-fp/mulsf3.c: Likewise.
8270 * soft-fp/multf3.c: Likewise.
8271 * soft-fp/negdf2.c: Likewise.
8272 * soft-fp/negsf2.c: Likewise.
8273 * soft-fp/negtf2.c: Likewise.
8274 * soft-fp/op-1.h: Likewise.
8275 * soft-fp/op-2.h: Likewise.
8276 * soft-fp/op-4.h: Likewise.
8277 * soft-fp/op-8.h: Likewise.
8278 * soft-fp/op-common.h: Likewise.
8279 * soft-fp/quad.h: Likewise.
8280 * soft-fp/single.h: Likewise.
8281 * soft-fp/soft-fp.h: Likewise.
8282 * soft-fp/sqrtdf2.c: Likewise.
8283 * soft-fp/sqrtsf2.c: Likewise.
8284 * soft-fp/sqrttf2.c: Likewise.
8285 * soft-fp/subdf3.c: Likewise.
8286 * soft-fp/subsf3.c: Likewise.
8287 * soft-fp/subtf3.c: Likewise.
8288 * soft-fp/truncdfsf2.c: Likewise.
8289 * soft-fp/trunctfdf2.c: Likewise.
8290 * soft-fp/trunctfsf2.c: Likewise.
8291 * soft-fp/trunctfxf2.c: Likewise.
8292 * soft-fp/unorddf2.c: Likewise.
8293 * soft-fp/unordsf2.c: Likewise.
8294 * soft-fp/unordtf2.c: Likewise.
8295
17c48a60
OB
82962013-10-14 Ondřej Bílka <neleai@seznam.cz>
8297
8298 [BZ #15672]
8299 * misc/error.c (error_tail): Fix possible buffer overflow.
8300
cabba934
OB
83012013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8302
8303 [BZ #13028]
8304 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8305 address.
8306
94bf958a
PM
83072013-10-14 P. J. McDermott <pj@pehjota.net>
8308
8309 [BZ #832]
8310 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8311 testing pipefail option.
8312
71b4dea7
JM
83132013-10-12 Joseph Myers <joseph@codesourcery.com>
8314
8315 * soft-fp/double.h: Indent preprocessor directives inside #if.
8316 * soft-fp/extended.h: Likewise.
8317 * soft-fp/op-2.h: Likewise.
8318 * soft-fp/op-4.h: Likewise.
8319 * soft-fp/op-common.h: Likewise.
8320 * soft-fp/quad.h: Likewise.
8321 * soft-fp/single.h: Likewise.
8322 * soft-fp/soft-fp.h: Likewise.
8323
55602758
YC
83242013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8325
8326 * iconv/iconv_prog.c: Fix typos.
8327 * stdio-common/psiginfo-data.h: Likewise.
8328
9cd83302
RT
83292013-10-12 Reuben Thomas <rrt@sc3d.org>
8330
8331 [BZ #15764]
8332 * locale/setlocale.c: Fix typo.
8333
99fd9f47
JM
83342013-10-12 Joseph Myers <joseph@codesourcery.com>
8335
b7ea74f0
JM
8336 [BZ #16036]
8337 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8338 signaling NaN arguments.
8339 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8340 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8341
8a509447
JM
8342 [BZ #14910]
8343 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8344 unordered operands.
8345 * soft-fp/gesf2.c (__gesf2): Likewise.
8346 * soft-fp/getf2.c (__getf2): Likewise.
8347 * soft-fp/ledf2.c (__ledf2): Likewise.
8348 * soft-fp/lesf2.c (__lesf2): Likewise.
8349 * soft-fp/letf2.c (__letf2): Likewise.
8350
98998e9f
JM
8351 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8352 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8353 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8354 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8355 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8356 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8357 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8358 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8359 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8360 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8361 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8362 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8363 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8364 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8365 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8366 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8367 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8368 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8369 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8370 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8371 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8372 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8373 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8374 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8375 * soft-fp/floattidf.c (__floattidf): Likewise.
8376 * soft-fp/floattisf.c (__floattisf): Likewise.
8377 * soft-fp/floattitf.c (__floattitf): Likewise.
8378 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8379 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8380 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8381 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8382 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8383 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8384 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8385 * soft-fp/gesf2.c (__gesf2): Likewise.
8386 * soft-fp/getf2.c (__getf2): Likewise.
8387 * soft-fp/ledf2.c (__ledf2): Likewise.
8388 * soft-fp/lesf2.c (__lesf2): Likewise.
8389 * soft-fp/letf2.c (__letf2): Likewise.
8390
8edc4a11
JM
8391 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8392 Undefine and redefine.
8393 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8394 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8395 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8396 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8397 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8398 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8399 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8400 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8401 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8402 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8403 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8404 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8405 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8406 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8407 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8408
8399acaf
JM
8409 [BZ #16032]
8410 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8411 without decrementing exponent if mantissa >= that for the
8412 denominator, not >.
8413 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8414 denominator, not >. Decrement exponent in < case instead of
8415 incrementing in >= case.
8416 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8417 without decrementing exponent if mantissa >= that for the
8418 denominator, not >.
8419
99fd9f47
JM
8420 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8421 computing saturated result for unsigned overflow.
8422
10e1cf6b
SP
84232013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8424 Jeff Law <law@redhat.com>
8425
8426 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8427 (atan2Mp): Add systemtap probe marker.
8428 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8429 (__ieee754_log): Add systemtap probe marker.
8430 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8431 (atanMp): Add systemtap probe marker.
8432 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8433 (tanMp): Add systemtap probe marker.
8434 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8435 (__slowexp): Add systemtap probe marker.
8436 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8437 (__slowpow): Add systemtap probe marker.
8438 * manual/probes.texi: Document probes.
8439
3d110c7c
EB
84402013-10-11 Eric Biggers <ebiggers3@gmail.com>
8441
8442 [BZ #15362]
8443 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8444 written.
8445 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8446 written.
8447 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8448 written to buffer but not flushed.
8449 * libio/iofwrite_u.c: Likewise.
8450 * libio/iopadn.c: Return bytes returned even if EOF was
8451 encountered.
8452 * libio/iowpadn.c: Likewise.
8453 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8454 if _IO_padn does not write the whole buffer.
8455 [!COMPILE_WPRINTF] (PAD): Likewise.
8456
75b4202a
DM
84572013-10-10 David S. Miller <davem@davemloft.net>
8458
8459 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8460 directory block.
8461
6c6352e6
JM
84622013-10-10 Joseph Myers <joseph@codesourcery.com>
8463
33b853c3
JM
8464 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8465 instead of FSF address.
8466 * soft-fp/fixdfti.c: Likewise.
8467 * soft-fp/fixsfti.c: Likewise.
8468 * soft-fp/fixtfti.c: Likewise.
8469 * soft-fp/fixunsdfti.c: Likewise.
8470 * soft-fp/fixunssfti.c: Likewise.
8471 * soft-fp/fixunstfti.c: Likewise.
8472 * soft-fp/floattidf.c: Likewise.
8473 * soft-fp/floattisf.c: Likewise.
8474 * soft-fp/floattitf.c: Likewise.
8475 * soft-fp/floatuntidf.c: Likewise.
8476 * soft-fp/floatuntisf.c: Likewise.
8477 * soft-fp/floatuntitf.c: Likewise.
8478 * soft-fp/trunctfxf2.c: Likewise.
8479
6c6352e6
JM
8480 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8481 * soft-fp/fixdfti.c: Likewise.
8482 * soft-fp/fixsfti.c: Likewise.
8483 * soft-fp/fixtfti.c: Likewise.
8484 * soft-fp/fixunsdfti.c: Likewise.
8485 * soft-fp/fixunssfti.c: Likewise.
8486 * soft-fp/fixunstfti.c: Likewise.
8487 * soft-fp/floattidf.c: Likewise.
8488 * soft-fp/floattisf.c: Likewise.
8489 * soft-fp/floattitf.c: Likewise.
8490 * soft-fp/floatuntidf.c: Likewise.
8491 * soft-fp/floatuntisf.c: Likewise.
8492 * soft-fp/floatuntitf.c: Likewise.
8493 * soft-fp/trunctfxf2.c: Likewise.
8494
3bf78b71
DM
84952013-10-10 David S. Miller <davem@davemloft.net>
8496
8497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8498
6f10289e
JM
84992013-10-10 Joseph Myers <joseph@codsourcery.com>
8500
bd878fc0
JM
8501 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8502 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8503 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8504 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8505 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8506 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8507 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8508
6f10289e
JM
8509 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8510 for NaNs before doing comparisons on argument.
8511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8512 Likewise.
8513
321e2684
WN
85142013-10-10 Will Newton <will.newton@linaro.org>
8515
8516 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8517 passed to _int_memalign does not overflow.
8518
40fefba1
TR
85192013-10-10 Torvald Riegel <triegel@redhat.com>
8520
8521 * scripts/bench.pl: Add include-sources directive.
8522 * benchtests/README: Update documentation.
8523
2ae21ed2
JM
85242013-10-10 Joseph Myers <joseph@codesourcery.com>
8525
dcc2dd3f
JM
8526 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8527 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8528 instead of FP_INIT_ROUNDMODE.
8529 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8530 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8531
2ae21ed2
JM
8532 [BZ #16034]
8533 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8534 copy class of input value.
8535 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8536 not handle exceptions.
8537 * soft-fp/negsf2.c (__negsf2): Likewise.
8538 * soft-fp/negtf2.c (__negtf2): Likewise.
8539 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8540
cb8f9562
JM
85412013-10-09 Joseph Myers <joseph@codesourcery.com>
8542
8543 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8544 semicolon. From Linux kernel.
8545
5b60c59d
AB
85462013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8547
8548 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8549
b86835ca
YC
85502013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8551
8552 [BZ #156]
8553 * manual/socket.texi: Added statement about buffer
8554 for gethostbyname2_r.
8555
e7044ea7
OB
85562013-10-08 Ondřej Bílka <neleai@seznam.cz>
8557
8558 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8559 Use .p2align directive instead, throughout.
8560 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8561 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8562 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8564 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8565 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8566 * sysdeps/x86_64/strchr.S: Likewise.
8567 * sysdeps/x86_64/strrchr.S: Likewise.
8568
09544cbc
SP
85692013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8570
88576635
SP
8571 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8572
e7b2d1dd
SP
8573 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8574
09544cbc
SP
8575 * sysdeps/generic/math_private.h (__mpsin1): Remove
8576 declaration.
8577 (__mpcos1): Likewise.
8578 (__mpsin): New argument __range_reduce.
8579 (__mpcos): Likewise.
8580 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8581 (slow): Use __mpsin and __mpcos.
8582 (slow1): Likewise.
8583 (slow2): Likewise.
8584 (sloww): Likewise.
8585 (sloww1): Likewise.
8586 (sloww2): Likewise.
8587 (bsloww): Likewise.
8588 (bsloww1): Likewise.
8589 (bsloww2): Likewise.
8590 (cslow2): Likewise.
8591 (csloww): Likewise.
8592 (csloww1): Likewise.
8593 (csloww2): Likewise.
8594 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8595 range_reduce. Merge in __mpsin1.
8596 (__mpcos): Likewise.
8597 (__mpsin1): Remove.
8598 (__mpcos1): Likewise.
8599
7602d070
JM
86002013-10-07 Joseph Myers <joseph@codesourcery.com>
8601
8602 * locale/loadlocale.c (_nl_intern_locale_data): Use
8603 LOCFILE_ALIGNED_P.
8604 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8605 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8606 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8607 obstack data is appropriately aligned.
8608 (obstack_int32_grow_fast): Likewise.
8609 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8610 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8611 (add_locale_uint32_array): Likewise.
8612
a357259b
SP
86132013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8614
8615 * benchtests/Makefile: Remove ARGLIST and RET variables.
8616 ($(objpfx)bench-%.c): Pass only function name to the script.
8617 * benchtests/README: Update documentation.
8618 * benchtests/acos-inputs: Add new directives.
8619 * benchtests/acosh-inputs: Likewise.
8620 * benchtests/asin-inputs: Likewise.
8621 * benchtests/asinh-inputs: Likewise.
8622 * benchtests/atan-inputs: Likewise.
8623 * benchtests/atanh-inputs: Likewise.
8624 * benchtests/cos-inputs: Likewise.
8625 * benchtests/cosh-inputs: Likewise.
8626 * benchtests/exp-inputs: Likewise.
8627 * benchtests/log-inputs: Likewise.
8628 * benchtests/pow-inputs: Likewise.
8629 * benchtests/rint-inputs: Likewise.
8630 * benchtests/sin-inputs: Likewise.
8631 * benchtests/sinh-inputs: Likewise.
8632 * benchtests/tan-inputs: Likewise.
8633 * benchtests/tanh-inputs: Likewise.
8634 * scripts/bench.pl: Add support for new directives.
8635
9ec1b13d
AM
86362013-10-07 Alan Modra <amodra@gmail.com>
8637
8638 * README: Fix careless merge.
8639
8b7d57cd
AM
86402013-10-05 Alan Modra <amodra@gmail.com>
8641
8642 * NEWS: Mention powerpc64le support and bugs fixed.
8643 * README: Both big-endian and little-endian powerpc64 supported.
8644
7b7bab13
ST
86452013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8646
8647 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8648 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8649 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8650 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8651
d39baad1
RA
86522013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8653
8654 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8655 match prototype.
8656
cd78f7e7
JM
86572013-10-04 Joseph Myers <joseph@codesourcery.com>
8658
29d73d86
JM
8659 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8660 Move -mhard-float appending from
8661 ports/sysdeps/powerpc/powerpc32/Makefile.
8662 [$(with-fp) = yes] (ASFLAGS): Likewise.
8663 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8664 * sysdeps/powerpc/nofpu: Move directory from
8665 ports/sysdeps/powerpc/nofpu.
8666 * sysdeps/powerpc/soft-fp: Move directory from
8667 ports/sysdeps/powerpc/soft-fp.
8668 * sysdeps/powerpc/powerpc32/405: Move directory from
8669 ports/sysdeps/powerpc/powerpc32/405.
8670 * sysdeps/powerpc/powerpc32/440: Move directory from
8671 ports/sysdeps/powerpc/powerpc32/440.
8672 * sysdeps/powerpc/powerpc32/464: Move directory from
8673 ports/sysdeps/powerpc/powerpc32/464.
8674 * sysdeps/powerpc/powerpc32/476: Move directory from
8675 ports/sysdeps/powerpc/powerpc32/476.
8676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8677 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8679 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8681 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8683 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8685 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8686 * README: Update for powerpc-*-linux-gnu software floating point
8687 support in libc.
8688
e246b347
JM
8689 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8690 case to powerpc/powerpc32*.
8691 * sysdeps/unix/sysv/linux/configure: Regenerated.
8692
89c2003e
JM
8693 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8694 (_FPU_MASK_OM): Define as 0x04.
8695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8697 0x00c10080.
8698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8699 0x0000003c.
8700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8701
cd78f7e7
JM
8702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8703 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8704 getcontext_e500.
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8706 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8707 setcontext_e500.
8708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8709 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8710 and setcontext_e500.
8711
c755294d
CL
87122013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8713
8714 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8715
e16d221c
SP
87162013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8717
8718 * manual/threads.texi (Default Thread Attributes): Fix typo.
8719
215c7d43
WN
87202013-10-04 Will Newton <will.newton@linaro.org>
8721
8722 * malloc/Makefile: Add tst-memalign.
8723 * malloc/tst-memalign.c: New file.
8724
27d0461b
WN
8725 * malloc/tst-posix_memalign.c: Add comments.
8726 (do_test): Add comments and call free on all potentially
8727 allocated pointers. Add space after cast.
8728
1bc92709
WN
8729 * malloc/tst-pvalloc.c: Add comments.
8730 (do_test): Add comments and call free on all potentially
8731 allocated pointers. Remove duplicate check for NULL pointer.
8732 Add space after cast.
8733
66a9be9d
WN
8734 * malloc/tst-valloc.c: Add comments.
8735 (do_test): Add comments and call free on all potentially
8736 allocated pointers. Remove duplicate check for NULL pointer.
8737 Add space after cast.
8738
4cb81307
AM
87392013-10-04 Alan Modra <amodra@gmail.com>
8740
8741 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8742 Use stdint types in rather than __attribute__((mode())).
8743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8744
f8e3e9f3
AM
87452013-10-04 Alan Modra <amodra@gmail.com>
8746
8747 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8748 Correct handling of unaligned relocs for little-endian.
8749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8750
8f9ebb08
AM
87512013-10-04 Alan Modra <amodra@gmail.com>
8752
8753 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8754 * configure: Regenerate.
8755 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8756 * shlib-versions: Likewise.
8757
0edf96c2
AM
87582013-10-04 Alan Modra <amodra@gmail.com>
8759
8760 * string/tester.c (test_memrchr): Increment reported test cycle.
8761
e0f7a380
AM
87622013-10-04 Alan Modra <amodra@gmail.com>
8763
8764 * string/test-memcpy.c (do_one_test): When reporting errors, print
8765 string address and don't overrun end of string.
8766
466b0393
AM
87672013-10-04 Alan Modra <amodra@gmail.com>
8768
8769 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8770 insrdi. Make better use of reg selection to speed exit slightly.
8771 Schedule entry path a little better. Remove useless "are we done"
8772 checks on entry to main loop. Handle wrapping around zero address.
8773 Correct main loop count. Handle single left-over word from main
8774 loop inline rather than by using loop_small. Remove extra word
8775 case in loop_small caused by wrong loop count. Add little-endian
8776 support.
8777 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8778 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8779 cache hint.
8780 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8781 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8782 support. Avoid rlwimi.
8783 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8784
3be87c77
AM
87852013-10-04 Alan Modra <amodra@gmail.com>
8786
8787 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8788 insrdi. Formatting.
3be87c77
AM
8789 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8790 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8791 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8792 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8793 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8794 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8795
759cfef3
AM
87962013-10-04 Alan Modra <amodra@gmail.com>
8797
8798 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8799 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8800 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8801 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8802 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8803 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8804 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8805 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8806 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8807 use of regs. Use power7 mtocrf. Tidy function tails.
8808
fe6e95d7
AM
88092013-10-04 Alan Modra <amodra@gmail.com>
8810
8811 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8812 Formatting. Consistently use rXXX register defines or rN defines.
8813 Use early exit labels that avoid restoring unused non-volatile regs.
8814 Make cr field use more consistent with rWORDn compares. Rename
8815 regs used as shift registers for unaligned loop, using rN defines
8816 for short lifetime/multiple use regs.
8817 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8818 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8819 addi 1,1,64 to pop stack frame. Simplify return value code.
8820 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8821
664318c3
AM
88222013-10-04 Alan Modra <amodra@gmail.com>
8823
8824 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8825 support. Correct typos, formatting. Optimize tail. Use insrdi
8826 rather than rlwimi.
8827 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8828 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8829 little-endian support. Correct typos.
8830 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8831 rather than rlwimi.
8832 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8833 in loop and entry code to keep "and." results.
8834 (strchr): Add little-endian support. Comment. Move cntlzd
8835 earlier in tail.
8836 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8837
43b84013
AM
88382013-10-04 Alan Modra <amodra@gmail.com>
8839
8840 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8841 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8842 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8843 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8844
8a7413f9
AM
88452013-10-04 Alan Modra <amodra@gmail.com>
8846
8847 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8848 (rTMP): Define as r11.
8849 (strcmp): Add little-endian support. Optimise tail.
8850 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8851 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8852 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8853 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8854 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8855 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8856 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8857
33ee81de
AM
88582013-10-04 Alan Modra <amodra@gmail.com>
8859
8860 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8861 little-endian support. Remove unnecessary "are we done" tests.
8862 Handle "s" wrapping around zero and extremely large "size".
8863 Correct main loop count. Handle single left-over word from main
8864 loop inline rather than by using small_loop. Correct comments.
8865 Delete "zero" tail, use "end_max" instead.
8866 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8867
db9b4570
AM
88682013-10-04 Alan Modra <amodra@gmail.com>
8869
8870 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8871 support. Don't branch over align.
8872 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8873 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8874 support. Rearrange tmp reg use to suit. Comment.
8875 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8876
f7c399cf
AM
88772013-10-04 Alan Modra <amodra@gmail.com>
8878
8879 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8880
0b2c2ace
AM
88812013-10-04 Alan Modra <amodra@gmail.com>
8882
8883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8884 conditional form of branch and link when obtaining pc.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8886
02f04a6c
AM
88872013-10-04 Alan Modra <amodra@gmail.com>
8888
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8890 HIWORD/LOWORD.
8891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8893
9b874b2f
AM
88942013-10-04 Alan Modra <amodra@gmail.com>
8895
8896 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8897 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8898 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8899 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8900 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8901 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8902 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8903 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8904 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8905 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8906
be1e5d31
AB
89072013-10-04 Anton Blanchard <anton@au1.ibm.com>
8908 Alistair Popple <alistair@ozlabs.au.ibm.com>
8909 Alan Modra <amodra@gmail.com>
8910
8911 [BZ #15723]
8912 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8913 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8914 _dl_hwcap access for little-endian.
8915 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8916 destroy vmx regs when saving unaligned.
8917 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8918 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8919 destroy vmx regs when saving unaligned.
8920
fef13a78
AM
89212013-10-04 Alan Modra <amodra@gmail.com>
8922
8923 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8924 Don't use a union to pack hi/low value.
8925
76a66d51
AB
89262013-10-04 Anton Blanchard <anton@au1.ibm.com>
8927
8928 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8929 for little-endian.
8930 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8931 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8932 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8933 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8934 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8935
6a31fe7f
AM
89362013-10-04 Alan Modra <amodra@gmail.com>
8937
8938 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8939 constants to usual value for .cst8 section, and remove redundant
8940 high address load.
8941 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8942 constant for 0x1p52. Load little-endian words of double from
8943 correct stack offsets.
8944
7b88401f
AM
89452013-10-04 Alan Modra <amodra@gmail.com>
8946
8947 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8948 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8949 words of double from correct stack offsets.
8950 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8951 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8952 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8953 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8954 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8955 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8956 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8957 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8958 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8959 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8960 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8961 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8962 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8963 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8964 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8965 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8966 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8967
9c008155
AM
89682013-10-04 Alan Modra <amodra@gmail.com>
8969
8970 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8971 64-bit int/double union.
8972 (_FPU_SETCW): Likewise.
8973 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8974 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8975
da13146d
AM
89762013-10-04 Alan Modra <amodra@gmail.com>
8977
8978 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8979 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8980
603e8410
AM
89812013-10-04 Alan Modra <amodra@gmail.com>
8982
8983 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8984 use vector int constants.
8985 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8986
4a28b3ca
AB
89872013-10-04 Anton Blanchard <anton@au1.ibm.com>
8988
8989 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8990 array with long long.
8991 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8992 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8993 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8994 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8995 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8996 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8997 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8998 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8999 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9000 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9001 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9002 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9003 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9004
2ca85d2b
AB
90052013-10-04 Anton Blanchard <anton@au1.ibm.com>
9006
9007 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9008 (__signbit): Likewise. Correct for little-endian.
9009 (__signbitl): Call __signbit.
9010 (lrint): Correct for little-endian.
9011 (lrintf): Call lrint.
9012
62a728ae
AM
90132013-10-04 Alan Modra <amodra@gmail.com>
9014
9015 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9016 union 32-bit int array member with 64-bit int array.
9017 (t515, tm256): Double rather than long double.
9018 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9019
32c301df
AM
90202013-10-04 Alan Modra <amodra@gmail.com>
9021
9022 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9023 Delete.
9024 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9025 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9026 version of math_ldbl.h.
9027
650ef4bd
AM
90282013-10-04 Alan Modra <amodra@gmail.com>
9029
9030 [BZ #15734], [BZ #15735]
9031 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9032 all uses of ieee875 long double macros and unions. Simplify test
9033 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9034 ldbl_extract_mantissa value for ix,iy exponents. Properly
9035 normalize after ldbl_extract_mantissa, and don't add hidden bit
9036 already handled. Don't treat low word of ieee854 mantissa like
9037 low word of IBM long double and mask off bit when testing for
9038 zero.
9039 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9040 all uses of ieee875 long double macros and unions. Simplify tests
9041 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9042 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9043 two1022, instead use their values. Recognise that tests for large
9044 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9045 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9046 Rewrite all uses of ieee875 long double macros and unions. Simplify
9047 test for 0.0L and nan. Correct negation.
9048 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9049 ieee875 long double macros and unions. Correct output for large
9050 magnitude x. Correct absolute value calculation.
9051 (__erfcl): Likewise.
9052 * math/libm-test.inc: Add tests for errors discovered in IBM long
9053 double versions of fmodl, remainderl, erfl and erfcl.
9054
765714ca
AM
90552013-10-04 Alan Modra <amodra@gmail.com>
9056
9057 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9058 all uses of ieee854 long double macros and unions. Simplify tests
9059 for long doubles that are fully specified by the high double.
9060 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9061 Likewise.
9062 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9063 Remove dead code too.
9064 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9065 (__ieee754_ynl): Likewise.
9066 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9067 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9068 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9069 Remove dead code too.
9070 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9071 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9072 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9073 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9074 Simplify.
9075 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9076 Simplify.
9077 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9079 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9080 Comment on variable precision.
9081 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9082 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9083 Likewise.
9084 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9088 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9089
4ebd120c
AM
90902013-10-04 Alan Modra <amodra@gmail.com>
9091
9092 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9093 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9094 all uses of ieee854 long double macros and unions.
9095 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9096 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9097 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9098 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9099 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9100 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9101 Likewise.
9102 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9103 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9104 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9105 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9106 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9107 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9108 Simplify sign and nan test too.
9109 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9110 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9111 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9112 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9113 Likewise.
9114 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9115 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9116 Likewise.
9117 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9118 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9119 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9120 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9121 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9122 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9123
1b6adf88
AM
91242013-10-04 Alan Modra <amodra@gmail.com>
9125
9126 * stdio-common/printf_size.c (__printf_size): Don't use
9127 union ieee854_long_double in fpnum union.
9128 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9129 signbit macro to retrieve sign from long double.
9130 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9131 retrieve sign from long double.
9132 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9133 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9134 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9135 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9136 * math/test-misc.c (main): Don't use union ieee854_long_double.
9137
4cf69995
AM
91382013-10-04 Alan Modra <amodra@gmail.com>
9139
9140 [BZ #15680]
9141 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9142 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9143 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9144 calculation. Remove unnecessary test for denormal exponent.
9145 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9146 Correct handling of denormals. Avoid undefined shift behaviour.
9147 Correct normalisation of low mantissa when low double is denormal.
9148 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9149 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9150 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9151 Correct normalisation of low mantissa. Test for overflow of high
9152 mantissa and normalise.
9153 (ldbl_nearbyint): Use more readable constant for two52.
9154 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9155 (__mpn_construct_long_double): Fix test for overflow of high
9156 mantissa and correct normalisation. Avoid undefined shift.
9157
9605ca6c
AM
91582013-10-04 Alan Modra <amodra@gmail.com>
9159
9160 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9161 (union ibm_extended_long_double): Define as an array of ieee754_double.
9162 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9163 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9164 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9165 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9169 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9173
975569d0
JM
91742013-10-03 Joseph Myers <joseph@codesourcery.com>
9175
d3d23756
JM
9176 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9177 page size instead of calling getpagesize.
9178
975569d0
JM
9179 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9180 (LOCFILE_ALIGN_MASK): Likewise.
9181 (LOCFILE_ALIGN_UP): Likewise.
9182 (LOCFILE_ALIGNED_P): Likewise.
9183 * locale/programs/ld-collate.c (collate_output): Use the new
9184 macros instead of __alignof__ (int32_t).
9185 * locale/weight.h (findidx): Likewise.
9186
b1fe1f2b
OB
91872013-10-03 Ondřej Bílka <neleai@seznam.cz>
9188
9189 [BZ #431]
9190 * manual/string.texi: Fix strncat and wcsncat.
9191
5f855e35
BM
91922013-10-03 Brooks Moses <bmoses@google.com>
9193
9194 [BZ #15915]
9195 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9196 * Makerules: ...here, and adjust associated comments.
9197
3cef6009
WN
91982013-10-02 Will Newton <will.newton@linaro.org>
9199
9200 * malloc/Makefile: Add tst-pvalloc.
9201 * malloc/tst-pvalloc.c: New file.
9202
7815420b
WN
92032013-10-02 Will Newton <will.newton@linaro.org>
9204
9205 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9206 improve test coverage.
9207
4868b204
WN
92082013-10-02 Will Newton <will.newton@linaro.org>
9209
9210 * malloc/Makefile: Add tst-posix_memalign.
9211 * malloc/tst-posix_memalign.c: New file.
9212
29c793b3
EB
92132013-10-01 Eric Blake <eblake@redhat.com>
9214
9215 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9216 Use __THROWNL rather than __THROW on static functions.
9217
fd967522
PM
92182013-09-30 Petr Machata <pmachata@redhat.com>
9219
9220 * elf/elf.h (R_AARCH64_ABS16): New macro.
9221 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9222 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9223 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9224 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9225 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9226 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9227 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9228 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9229 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9230 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9231 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9232 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9233 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9234 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9235 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9236 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9237 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9238 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9239 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9240 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9241 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9242 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9243 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9244 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9245 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9246 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9247 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9248 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9249 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9250 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9251 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9252 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9253 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9254 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9255 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9256 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9257 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9258 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9259 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9260 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9261 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9262 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9263 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9264 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9265 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9266 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9267 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9268 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9269 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9270 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9271 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9272 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9273 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9274 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9275 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9276 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9277 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9278 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9279 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9280 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9281 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9282 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9283 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9284 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9285 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9286 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9287 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9288 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9289 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9290 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9291 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9292 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9293 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9294 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9295 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9296 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9297 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9298 (R_AARCH64_TLSDESC_LDR): Likewise.
9299 (R_AARCH64_TLSDESC_ADD): Likewise.
9300 (R_AARCH64_TLSDESC_CALL): Likewise.
9301
b2179107
AS
93022013-09-30 Andreas Schwab <schwab@suse.de>
9303
9304 [BZ #15048]
9305 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9306 the nss database lookup.
9307 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9309
47f28d0a
MF
93102013-09-28 Mike Frysinger <vapier@gentoo.org>
9311
9312 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9313
93142013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9315
9316 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9317 ${Bash-specific parameter/pattern/string} parameter expansion.
9318 * sysdeps/unix/make-syscalls.sh: Likewise.
9319
f4518a17
KK
93202013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9321
9322 * sysdeps/sh/stackguard-macros.h: New file.
9323
dc1a95c7
OB
93242013-09-26 Ondřej Bílka <neleai@seznam.cz>
9325
9326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9327 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9328 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9329 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9330 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9331 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9332
5ebbff8f
AZ
93332013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9334
9335 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9336 Fix thread ID register.
9337
4fd2cf9f
JM
93382013-09-25 Joseph Myers <joseph@codesourcery.com>
9339
9340 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9341 [POSIX || UNIX98]: Require rather than permitting all symbols from
9342 <time.h>.
9343 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9344 element of struct sched_param.
9345 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9346 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9347 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9348 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9349 constant.
9350
12c22bc4
OL
93512013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9352
9353 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9354 argument calculation.
9355
a03d8ea7
JM
93562013-09-24 Joseph Myers <joseph@codesourcery.com>
9357
9358 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9359 Expect macro.
9360 [POSIX] (pthread_attr_t): Do not require type.
9361 [POSIX] (pthread_cond_t): Likewise.
9362 [POSIX] (pthread_condattr_t): Likewise.
9363 [POSIX] (pthread_key_t): Likewise.
9364 [POSIX] (pthread_mutex_t): Likewise.
9365 [POSIX] (pthread_mutexattr_t): Likewise.
9366 [POSIX] (pthread_once_t): Likewise.
9367 [POSIX] (pthread_t): Likewise.
9368 [POSIX-based standards] (pthread_atfork): Expect function.
9369
6055173a
JM
93702013-09-24 Joseph Myers <joseph@codesourcery.com>
9371 Richard Sandiford <richard@codesourcery.com>
9372
9373 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9374 (swap_endianness_p): New extern variable.
9375 (set_big_endian): New inline function.
9376 (maybe_swap_uint32): Likewise.
9377 (maybe_swap_uint32_array): Likewise.
9378 (maybe_swap_uint32_obstack): Likewise.
9379 * locale/programs/locfile.c: Include <stdbool.h>.
9380 (swap_endianness_p): New variable.
9381 (add_locale_uint32): Call maybe_swap_uint32.
9382 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9383 (write_locale_data): Call maybe_swap_uint32_array.
9384 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9385 maybe_swap_uint32.
9386 (obstack_int32_grow_fast): Likewise.
9387 (output_weightwc): Call maybe_swap_uint32_obstack.
9388 (collate_output): Likewise.
9389 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9390 (OPT_LITTLE_ENDIAN): Likewise.
9391 (options): Add --little-endian and --big-endian options.
9392 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9393 * locale/programs/locarchive.c: Include "locfile.h".
9394 (GET): New macro.
9395 (SET): Likewise.
9396 (INC): Likewise.
9397 (create_archive): Use the new macros to access fields of
9398 structures directly mapped from or written to locale archives.
9399 (oldlocrecentcmp): Likewise.
9400 (enlarge_archive): Likewise.
9401 (insert_name): Likewise.
9402 (add_alias): Likewise.
9403 (add_locale): Likewise.
9404 (delete_locales_from_archive): Likewise.
9405 (show_archive_content): Likewise.
9406 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9407 locale data.
9408
39bf0bb4
RM
94092013-09-24 Roland McGrath <roland@hack.frob.com>
9410
9411 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9412 http://www.gnu.org/doc/freemanuals.texi.
9413 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9414
f02eed10
WN
94152013-09-24 Will Newton <will.newton@linaro.org>
9416
9417 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9418 macro.
9419
a3a6c312
JM
94202013-09-23 Joseph Myers <joseph@codesourcery.com>
9421
9422 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9423 unsigned char.
9424
107375ac
MR
94252013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9426
9427 * manual/threads.texi (POSIX Threads): Fix a typo.
9428
141f3a77
SP
94292013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9430
303e567a
SP
9431 [BZ #14547]
9432 * string/tst-strcoll-overflow.c: New test case.
9433 * string/Makefile (xtests): Add tst-strcoll-overflow.
9434 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9435 cache if string sizes may cause integer overflow.
9436
141f3a77
SP
9437 [BZ #14547]
9438 * string/strcoll_l.c (coll_seq): New members rule, idx,
9439 save_idx and back_us.
9440 (get_next_seq_nocache): New function.
9441 (do_compare_nocache): New function.
9442 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9443 when malloc fails.
9444
c61b4d41
CD
94452013-09-23 Carlos O'Donell <carlos@redhat.com>
9446
0b1f8e35
CD
9447 [BZ #15754]
9448 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9449 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9450 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9451
c61b4d41
CD
9452 [BZ #15754]
9453 * elf/Makefile (tests): Add tst-ptrguard1.
9454 (tests-static): Add tst-ptrguard1-static.
9455 (tst-ptrguard1-ARGS): Define.
9456 (tst-ptrguard1-static-ARGS): Define.
9457 * elf/tst-ptrguard1.c: New file.
9458 * elf/tst-ptrguard1-static.c: New file.
9459 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9460 * sysdeps/i386/stackguard-macros.h: Likewise.
9461 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9462 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9463 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9464 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9465 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9466 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9467
94682013-09-23 Hector Marco <hecmargi@upv.es>
9469 Ismael Ripoll <iripoll@disca.upv.es>
9470 Carlos O'Donell <carlos@redhat.com>
9471
9472 [BZ #15754]
9473 * sysdeps/generic/stackguard-macros.h: Define
9474 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9475 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9476 Define __pointer_chk_guard_local.
9477 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9478 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9479
f5f4e7b4
VV
94802013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9481
9482 [BZ #15859]
9483 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9484
5bb43a43
AS
94852013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9486
9487 * include/string.h (__ffs): Declare as hidden.
9488 * string/ffs.c (__ffs): Define as hidden.
9489 * sysdeps/i386/ffs.c (__ffs): Likewise.
9490 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9491 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9492 * sysdeps/s390/ffs.c (__ffs): Likewise.
9493 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9494
3ea5be54
AO
94952013-09-20 Alexandre Oliva <aoliva@redhat.com>
9496
ffb89e53
AO
9497 * NEWS: Mention malloc probes.
9498
322dea08
AO
9499 * malloc/arena.c (new_heap): New memory_heap_new probe.
9500 (grow_heap): New memory_heap_more probe.
9501 (shrink_heap): New memory_heap_less probe.
9502 (heap_trim): New memory_heap_free probe.
9503 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9504 (systrim): New memory_sbrk_less probe.
9505 * manual/probes.texi: Document them.
9506
655673f3
AO
9507 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9508 * manual/probes.texi: Document it.
9509
35fed6f1
AO
9510 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9511 (__libc_realloc): Add memory_realloc_retry probe.
9512 (__libc_memalign): Add memory_memalign_retry probe.
9513 (__libc_valloc): Add memory_valloc_retry probe.
9514 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9515 (__libc_calloc): Add memory_calloc_retry probe.
9516 * manual/probes.texi: Document them.
9517
6999d38c
AO
9518 * malloc/arena.c (get_free_list): Add probe
9519 memory_arena_reuse_free_list.
9520 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9521 and memory_arena_reuse.
9522 (arena_get2) [!PER_THREAD]: Likewise.
9523 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9524 memory_arena_reuse_realloc.
9525 * manual/probes.texi: Document them.
9526
0653427f
AO
9527 * malloc/malloc.c (__libc_free): Add
9528 memory_mallopt_free_dyn_thresholds probe.
9529 (__libc_mallopt): Add multiple memory_mallopt probes.
9530 * manual/probes.texi: Document them.
9531
3ea5be54
AO
9532 * malloc/malloc.c: Include stap-probe.h.
9533 (__libc_mallopt): Add memory_mallopt probe.
9534 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9535 * manual/probes.texi: New.
9536 * manual/Makefile (chapters): Add probes.
9537 * manual/threads.texi: Set next node.
9538
e35696c3 95392013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9540
e35696c3
CL
9541 [BZ #15963, #13985]
9542 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9543 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9544 Add `Chinese' to `nan' entry name.
9545
4aafb73c
SP
95462013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9547
9548 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9549 (POLYNOMIAL): Likewise.
9550 (TAYLOR_SINCOS): Likewise.
9551 (TAYLOR_SLOW): Likewise.
9552 (__sin): Use TAYLOR_SINCOS.
9553 (__cos): Likewise.
9554 (slow): Use TAYLOR_SLOW.
9555 (sloww): Likewise.
9556 (bsloww): Likewise.
9557 (csloww): Likewise.
9558
d84f25c7
LD
95592013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9560
9561 * stdlib/strtod_l.c: Fix buffer overrun.
9562
5eea0404
SP
95632013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9564
7849ff93
SP
9565 * benchtests/Makefile (bench): Add sincos.
9566 * benchtests/bench-sincos.c: New file.
9567
cfa3c886
SP
9568 * math/libm-test.inc (cos_test_data): New test inputs.
9569 (sin_test_data): Likewise.
9570
b348e1e3
SP
9571 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9572 macro.
9573 (__sin): Use it.
9574 (__cos): Likewise.
9575 (slow1): Likewise.
9576 (slow2): Likewise.
9577 (sloww1): Likewise.
9578 (sloww2): Likewise.
9579 (bsloww1): Likewise.
9580 (bsloww2): Likewise.
9581 (cslow2): Likewise.
9582 (csloww1): Likewise.
9583 (csloww2): Likewise.
9584
6cce25f8
SP
9585 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9586 function.
9587 (__sin): Use it.
9588 (__cos): Likewise.
9589
5eea0404
SP
9590 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9591 gotos.
9592 (__cos): Likewise.
9593
9c21573c
MR
95942013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9595
9596 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9597 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9598 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9599 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9600 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9601 * elf/cache.c (print_entry): Handle the new cache flags.
9602
24d22e65
JM
96032013-09-18 Joseph Myers <joseph@codesourcery.com>
9604 Aldy Hernandez <aldyh@redhat.com>
9605
9606 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9607 Change condition to [_SOFT_FLOAT].
9608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9620 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9623 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9624 declaration.
9625
d13ef066
JM
96262013-09-18 Joseph Myers <joseph@codesourcery.com>
9627
2e071de0
JM
9628 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9629 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9630 (__longjmp): Use LOAD_GP to load saved GPRs.
9631 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9632 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9633 (__sigsetjmp): Use SAVE_GP to save GPRs.
9634
d13ef066
JM
9635 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9636 Do not append -msoft-float.
9637 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9638
97a0650b
SP
96392013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9640
9641 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9642
11ca09e9
JM
96432013-09-17 Joseph Myers <joseph@codesourcery.com>
9644
9645 [BZ #15966]
9646 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9647 (_FPU_GETCW): Use initial "__" on variable and field names but not
9648 on macro parameter name.
9649 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9650 parentheses around reference to macro parameter.
9651
08ffcf34
RS
96522013-09-13 Richard Sandiford <richard@codesourcery.com>
9653
9654 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9655 prototype.
9656 (ctype_startup): Use uint32_t in cast and sizeof for
9657 ctype->charnames.
9658
ae7080d3
JL
96592013-09-11 Jia Liu <proljc@gmail.com>
9660
9661 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9662 __daddr_t_defined.
9663 [__FreeBSD__]: Likewise.
9664
5905e7b3
OB
96652013-09-11 Ondřej Bílka <neleai@seznam.cz>
9666
9667 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9668 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9669 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9670 (strchr): Remove __strchr_sse42 ifunc selection.
9671 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9672 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9673
b987c776
WN
96742013-09-11 Will Newton <will.newton@linaro.org>
9675
9676 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9677 parameter to RES. Remove hardcoded 1000 value.
9678 * benchtests/bench-skeleton.c (main): Pass RES parameter
9679 to TIMING_INIT and multiply result by 1000.
9680
ddf985af
AZ
96812013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9682
9683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9684
ffdd3181
AS
96852013-09-11 Andreas Schwab <schwab@suse.de>
9686
9687 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9688 if not defined.
9689 (O_TMPFILE) [__USE_GNU]: Define.
9690 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9691 Define.
9692
b73ed247
WN
96932013-09-11 Will Newton <will.newton@linaro.org>
9694
9695 [BZ #15857]
9696 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9697 does not overflow.
9698
55e17aad
WN
96992013-09-11 Will Newton <will.newton@linaro.org>
9700
9701 [BZ #15856]
9702 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9703 does not overflow.
9704
1159a193
WN
97052013-09-11 Will Newton <will.newton@linaro.org>
9706
9707 [BZ #15855]
9708 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9709 does not overflow.
9710
5905e7b3 97112013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9712
9713 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9714 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9715 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9716 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9718
cdfc721b
AM
97192013-09-10 Allan McRae <allan@archlinux.org>
9720
aa04af00
AM
9721 [BZ #15748]
9722 * manual/arith.texi (Parsing of Floats): Clarify
9723 cross-reference.
9724
cdfc721b
AM
9725 [BZ #15849]
9726 * manual/install.texi (Running make install): Mention
9727 --enable-pt-chown.
9728 * INSTALL: Regenerated.
9729
95e7cf29
MR
97302013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9731
9732 * csu/init-first.c (_init): Remove the !SHARED condition around
9733 FPU control word initialization.
9734 * elf/dl-support.c (_dl_fpu_control): New variable.
9735 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9736 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9737 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9738 * math/test-fpucw-static.c: New file.
9739 * math/test-fpucw-ieee.c: New file.
9740 * math/test-fpucw-ieee-static.c: New file.
9741 * math/Makefile (tests): Add `test-fpucw-ieee' and
9742 `$(tests-static)'.
9743 (tests-static): New variable.
9744 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9745 dependency to...
9746 [($(build-shared),yes)]
9747 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9748 ... this.
9749 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9750 New dependency.
9751
83e43bf0
AM
97522013-09-09 Allan McRae <allan@archlinux.org>
9753
a9f5ce09
AM
9754 [BZ #15939]
9755 * manual/string.texi (Collation Functions): Fix typo in
9756 strcoll example.
9757 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9758
34829bc2
AM
9759 [BZ #15893]
9760 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9761
3932737d
AM
9762 [BZ #15892]
9763 * libio/memstream.c (open_memstream): Fix memory leak.
9764 * libio/wmemstream.c (open_wmemstream): Likewise.
9765
83e43bf0
AM
9766 [BZ #15895]
9767 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9768
0c66b8e9
WN
97692013-09-09 Will Newton <will.newton@linaro.org>
9770
9771 * malloc/Makefile: Add tst-realloc to tests.
9772 * malloc/tst-realloc.c: New file.
9773
f6b00fd1
AM
97742013-09-09 Allan McRae <allan@archlinux.org>
9775
9776 [BZ #15844]
9777 * COPYING: Update from GNU website to fix FSF address.
9778 * COPYING.LIB: Likewise.
9779
eec55e16
DM
97802013-09-06 David S. Miller <davem@davemloft.net>
9781
9782 * po/zh_TW.po: Update Chinese (traditional) translation from
9783 translation project.
9784
1ecbb381
RS
97852013-09-06 Richard Sandiford <richard@codesourcery.com>
9786 Joseph Myers <joseph@codesourcery.com>
9787
9788 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9789 "localeinfo.h".
9790 (obstack_chunk_alloc): New macro.
9791 (obstack_chunk_free): Likewise.
9792 (record_offset): New function.
9793 (init_locale_data): Likewise.
9794 (align_locale_data): Likewise.
9795 (add_locale_empty): Likewise.
9796 (add_locale_raw_data): Likewise.
9797 (add_locale_raw_obstack): Likewise.
9798 (add_locale_string): Likewise.
9799 (add_locale_wstring): Likewise.
9800 (add_locale_uint32): Likewise.
9801 (add_locale_uint32_array): Likewise.
9802 (add_locale_char): Likewise.
9803 (start_locale_structure): Likewise.
9804 (end_locale_structure): Likewise.
9805 (start_locale_prelude): Likewise.
9806 (end_locale_prelude): Likewise.
9807 (write_locale_data): Take locale_file structure rather than an
9808 iovec.
9809 * locale/programs/locfile.h: Include "obstack.h".
9810 (struct locale_file): Change to store locale file contents instead
9811 of header.
9812 (init_locale_data): New prototype.
9813 (align_locale_data): Likewise.
9814 (add_locale_empty): Likewise.
9815 (add_locale_raw_data): Likewise.
9816 (add_locale_raw_obstack): Likewise.
9817 (add_locale_string): Likewise.
9818 (add_locale_wstring): Likewise.
9819 (add_locale_uint32): Likewise.
9820 (add_locale_uint32_array): Likewise.
9821 (add_locale_char): Likewise.
9822 (start_locale_structure): Likewise.
9823 (end_locale_structure): Likewise.
9824 (start_locale_prelude): Likewise.
9825 (end_locale_prelude): Likewise.
9826 (write_locale_data): Update prototype.
9827 * locale/programs/3level.h (struct TABLE): Remove result field.
9828 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9829 Use new locale_file interface.
9830 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9831 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9832 * locale/programs/ld-address.c (address_output): Use new
9833 locale_file interface.
9834 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9835 NO_ADD_LOCALE.
9836 (collate_finish): Don't call collseq_table_finalize.
9837 (collate_output): Use new locale_file interface.
9838 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9839 in file.
9840 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9841 (TABLE): Move defines earlier in file.
9842 (ELEMENT): Likewise.
9843 (DEFAULT): Likewise.
9844 (wctrans_table_add): Move macro and inline function earlier in
9845 file.
9846 (struct wctype_table): Move type earlier in file.
9847 (add_locale_wctype_table): New static prototype.
9848 (struct locale_ctype_t): Use logical types instead of struct iovec
9849 pointers for members.
9850 (ctype_output): Use new locale_file interface.
9851 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9852 new locale_file interface.
9853 (allocate_arrays): Update for use of new locale_file interface.
9854 * locale/programs/ld-identification.c (identification_output): Use
9855 new locale_file interface.
9856 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9857 * locale/programs/ld-messages.c (messages_output): Likewise.
9858 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9859 * locale/programs/ld-name.c (name_output): Likewise.
9860 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9861 * locale/programs/ld-paper.c (paper_output): Likewise.
9862 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9863 * locale/programs/ld-time.c (time_output): Likewise.
9864
e029e2e5
AZ
98652013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9866
9867 * benchtests/Makefile: Add memrchr benchmark.
9868 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9869 benchmark as memrchr.
9870 * benchtests/bench-memrchr-ifunc.c: New file.
9871 * benchtests/bench-memrchr.c: New file.
9872
bbf6e8e4
WN
98732013-09-06 Will Newton <will.newton@linaro.org>
9874
9875 * benchtests/Makefile (string-bench): Add memcpy.
9876
6c82a2f8
CD
98772013-09-05 Carlos O'Donell <carlos@redhat.com>
9878 Cong Wang <amwang@redhat.com>
9879
e732c5f0 9880 [BZ #15850]
6c82a2f8
CD
9881 * sysdeps/unix/sysv/linux/bits/in.h
9882 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9883 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9884 before __USE_KERNEL_IPV6_DEFS uses.
9885 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9886 IPPROTO_BEETPH.
9887 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9888 sockaddr_in6, or ipv6_mreq.
9889
5430fc65
AZ
98902013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9891
9892 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9893 memory access for final bytes in some large inputs.
9894 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9895
4660856c
AZ
98962013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9897
9898 * string/test-memrchr.c: New file.
9899 * string/test-memrchr-ifunc.c: New file.
9900 * string/Makefile: Add new memrchr testcase.
9901
bb8ea713
MF
99022013-09-05 Mike Frysinger <vapier@gentoo.org>
9903
9904 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9905 fanotify_init returns EPERM.
9906
b92a20b5
JM
99072013-09-04 Joseph Myers <joseph@codesourcery.com>
9908
9909 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9910 errors.
9911 (top level): Treat second token from macro or constant entries for
9912 allowed headers as allowed.
9913 * include/complex.h: Condition internal declarations on
9914 [!_ISOMAC].
9915 * include/fenv.h: Condition include of <stdbool.h> and internal
9916 declarations on [!_ISOMAC].
7447ccd9
CL
9917
99182013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9919
3e181dda 9920 [BZ #15923]
7447ccd9
CL
9921 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9922
3f2e46a4
JM
99232013-09-04 Joseph Myers <joseph@codesourcery.com>
9924
9925 * configure.in (--enable-versioning): Remove configure option.
9926 (libc_cv_asm_symver_directive): Remove configure test.
9927 (libc_cv_ld_version_script_option): Likewise.
9928 (VERSIONING): Remove variable and AC_SUBST.
9929 (DO_VERSIONING): Remove AC_DEFINE.
9930 * configure: Regenerated.
9931 * config.h.in (DO_VERSIONING): Remove macro.
9932 * Makerules [$(versioning) = yes]: Change conditionals to
9933 [$(build-shared) = yes].
9934 * config.make.in (versioning): Remove variable.
9935 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9936 [$(build-shared) = yes].
9937 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9938 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9939 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9940 [$(build-shared) = yes].
9941 * extra-lib.mk [$(versioning) = yes]: Likewise.
9942 * hurd/Makefile [$(versioning) = yes]: Likewise.
9943 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9944 [SHARED].
9945 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9946 [SHARED].
9947 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9948 [SHARED && !NO_HIDDEN].
9949 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9950 [SHARED].
9951 [SHARED && DO_VERSIONING]: Likewise..
9952 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9953 [$(build-shared) = yes].
9954 * manual/install.texi (--disable-versioning): Remove
9955 documentation.
9956 * INSTALL: Regenerated.
9957 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9958 to [SHARED].
9959 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9960 [$(build-shared) = yes].
9961 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9962 * sysdeps/i386/i686/multiarch/strstr-c.c
9963 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9964 [SHARED && !NO_HIDDEN].
9965 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9966 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9967 * sysdeps/powerpc/powerpc32/dl-machine.c
9968 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9969 * sysdeps/powerpc/powerpc32/sysdep.h
9970 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9971 to [SHARED && PIC && !NO_HIDDEN].
9972 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9973 conditional to [SHARED].
9974
44558701
WN
99752013-09-04 Will Newton <will.newton@linaro.org>
9976
9977 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9978 * benchtests/bench-string.h: Include bench-timing.h instead
9979 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9980 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9981 call to HP_TIMING_DIFF_INIT.
9982 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9983 instead of hp-timing.h macros.
9984 * benchtests/bench-memchr.c: Likewise.
9985 * benchtests/bench-memcmp.c: Likewise.
9986 * benchtests/bench-memcpy.c: Likewise.
9987 * benchtests/bench-memmem.c: Likewise.
9988 * benchtests/bench-memmove.c: Likewise.
9989 * benchtests/bench-memset.c: Likewise.
9990 * benchtests/bench-rawmemchr.c: Likewise.
9991 * benchtests/bench-strcasecmp.c: Likewise.
9992 * benchtests/bench-strcasestr.c: Likewise.
9993 * benchtests/bench-strcat.c: Likewise.
9994 * benchtests/bench-strchr.c: Likewise.
9995 * benchtests/bench-strcmp.c: Likewise.
9996 * benchtests/bench-strcpy.c: Likewise.
9997 * benchtests/bench-strcpy_chk.c: Likewise.
9998 * benchtests/bench-strlen.c: Likewise.
9999 * benchtests/bench-strncasecmp.c: Likewise.
10000 * benchtests/bench-strncat.c: Likewise.
10001 * benchtests/bench-strncmp.c: Likewise.
10002 * benchtests/bench-strncpy.c: Likewise.
10003 * benchtests/bench-strnlen.c: Likewise.
10004 * benchtests/bench-strpbrk.c: Likewise.
10005 * benchtests/bench-strrchr.c: Likewise.
10006 * benchtests/bench-strspn.c: Likewise.
10007 * benchtests/bench-strstr.c: Likewise.
10008
cae16d66
WN
100092013-09-04 Will Newton <will.newton@linaro.org>
10010
10011 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10012
ffa3cd7f
JM
100132013-09-03 Joseph Myers <joseph@codesourcery.com>
10014
10015 [BZ #15427]
10016 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10017 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10018 * math/libm-test.inc (lgamma_test_data): Add more tests.
10019 * sysdeps/i386/fpu/libm-test-ulps: Update.
10020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10021
8f02859f
OB
100222013-09-03 Ondřej Bílka <neleai@seznam.cz>
10023
10024 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10025 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10026 Add ifunc.
10027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10028 Add strcmp-sse2-unaligned
10029 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10030
18d43716
MF
100312013-09-02 Mike Frysinger <vapier@gentoo.org>
10032
10033 * Versions.def (libc): Add GLIBC_2.19.
10034
ac444012
MF
100352013-09-02 Mike Frysinger <vapier@gentoo.org>
10036
10037 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10038 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10039
b7835e32
JM
100402013-09-02 Joseph Myers <joseph@codesourcery.com>
10041
10042 [BZ #14155]
10043 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10044 intermediate calculations in recurrence.
10045 (__ieee754_ynf): Likewise.
10046 * math/libm-test.inc (jn_test_data): Do not allow spurious
10047 underflow exception. Add more tests.
10048 (yn_test_data): Add more tests.
10049 * sysdeps/i386/fpu/libm-test-ulps: Update.
10050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10051
8220f4f0
OB
100522013-09-02 Ondřej Bílka <neleai@seznam.cz>
10053
10054 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10055
f24a6d08
OB
100562013-08-30 Ondřej Bílka <neleai@seznam.cz>
10057
10058 * csu/init-first.c: Fix then/than typos.
10059 * locale/programs/ld-collate.c: Likewise.
10060 * locale/programs/linereader.h: Likewise.
10061 * manual/charset.texi: Likewise.
10062 * manual/filesys.texi: Likewise.
10063 * manual/stdio.texi: Likewise.
10064 * manual/string.texi: Likewise.
10065 * stdlib/fmtmsg.c: Likewise.
10066 * sysdeps/i386/stpncpy.S: Likewise.
10067 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10068 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10069 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10070 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10071
382466e0
OB
100722013-08-30 Ondřej Bílka <neleai@seznam.cz>
10073
10074 * elf/dl-open.c: Fix typos.
10075 * iconvdata/gbbig5.c: Likewise.
10076 * iconvdata/iso-2022-jp.c: Likewise.
10077 * iconv/gconv_int.h: Likewise.
10078 * iconv/loop.c: Likewise.
10079 * nis/rpcsvc/nis.h: Likewise.
10080 * resolv/ns_name.c: Likewise.
10081 * stdio-common/vfscanf.c: Likewise.
10082 * streams/stropts.h: Likewise.
10083 * sunrpc/rpc_thread.c: Likewise.
10084 * sysdeps/i386/strpbrk.S: Likewise.
10085 * sysdeps/ieee754/k_standard.c: Likewise.
10086 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10087 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10088 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10089 * sysdeps/mach/hurd/profil.c: Likewise.
10090 * sysdeps/s390/dl-procinfo.h: Likewise.
10091 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10092 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10093 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10094 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10095 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10096
0186c6e9
OB
100972013-08-30 Ondřej Bílka <neleai@seznam.cz>
10098
10099 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10100 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10101
d4e16af1
OB
101022013-08-29 Ondřej Bílka <neleai@seznam.cz>
10103
10104 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10105 aix specific files.
10106 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10107 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10108 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10109 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10110 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10111 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10112 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10113 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10114
88335980
TS
101152013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10116 Roland McGrath <roland@hack.frob.com>
10117
10118 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10119 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10120
ed479b02
ST
101212013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10122
10123 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10124 __executable_start symbol instead of _start.
10125
f1cc4c86
TS
101262013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10127
d821f07c
TS
10128 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10129 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10130 Move macros to...
10131 * sysdeps/gnu/ldsodefs.h: ... this new file.
10132
c54290cf
TS
10133 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10134 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10135 instead of ELFOSABI_LINUX.
10136
0007fc9b 10137 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10138 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10139 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10140 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10141 Likewise.
10142 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10143 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10144 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10145 Likewise.
10146 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10147 (ibm_extended_long_double): Add ieee_nan member.
10148 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10149 (do_test): New function.
10150
f1cc4c86
TS
10151 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10152 TEST_TRUNC.
10153 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10154 functions, renamed from truncdfsf_test, trunctfsf_test,
10155 trunctfdf_test.
10156 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10157 functions.
10158 (do_test): Run all these.
10159
6f65e668
OB
101602013-08-29 Ondřej Bílka <neleai@seznam.cz>
10161
10162 * argp/argp-help.c: Fix typos.
10163 * argp/argp-parse.c: Likewise.
10164 * debug/backtracesyms.c: Likewise.
10165 * elf/elf.h: Likewise.
10166 * malloc/malloc.c: Likewise.
10167 * nis/nis_print.c: Likewise.
10168 * resolv/res_comp.c: Likewise.
10169 * stdlib/stdlib.h: Likewise.
10170 * sunrpc/clnt_tcp.c: Likewise.
10171 * sunrpc/clnt_udp.c: Likewise.
10172 * sunrpc/clnt_unix.c: Likewise.
10173 * sysdeps/unix/bsd/ptsname.c: Likewise.
10174 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10175 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10177 Likewise.
10178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10179 Likewise.
10180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10181 Likewise.
6f65e668
OB
10182 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10183
3a309239
SP
101842013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10185
10186 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10188
3b813b29
MF
101892013-08-27 Mike Frysinger <vapier@gentoo.org>
10190
10191 [BZ #15897]
10192 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10193 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10194 ($(objpfx)bug-dl-leaf): New rule.
10195 ($(objpfx)bug-dl-leaf.so): Likewise.
10196 ($(objpfx)bug-dl-leaf.out): Likewise.
10197 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10198 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10199 * dlfcn/bug-dl-leaf.c: New test.
10200 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10201 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10202 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10203 (dlclose): Likewise.
10204 (dlmopen): Likewise.
10205
8cc3269f
RM
102062013-08-27 Roland McGrath <roland@hack.frob.com>
10207
7f9d0034
RM
10208 * include/netdb.h [!_ISOMAC]:
10209 Don't include <tls.h>.
10210 (h_errno, __libc_h_errno): Move declaration and macros out of
10211 [_LIBC_REENTRANT].
10212
fb431262
RM
10213 * include/resolv.h [_RESOLV_H_]:
10214 Don't include <tls.h>.
10215 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10216 * resolv/res_libc.c: Don't include <tls.h>.
10217 (_res): Use __attribute__ ((nocommon)) in place of
10218 __attribute__ ((section (".bss"))).
10219
bd81123a
RM
10220 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10221 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10222
c4e42566
RM
10223 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10224
f890a59b
RM
10225 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10226 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10227
10228 * resolv/res_mkquery.c: Include <sys/time.h>.
10229
5d1f0a09
RM
10230 * inet/ifreq.c: Moved to ...
10231 * sysdeps/unix/ifreq.c: ... here.
10232 * inet/ifreq.c: New file, true stub version.
10233
6fcf28b3
RM
10234 * socket/sa_len.c: New file.
10235 * socket/Makefile (aux): Add it.
10236 * sysdeps/unix/sysv/linux/Makefile
10237 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10238 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10239 and #include <socket/sa_len.c>.
10240 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10241 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10242
e041fb8b
RM
10243 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10244 * bits/socket.h: ... here.
10245
8cc3269f
RM
10246 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10247 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10248 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10249
5d228a43
AS
102502013-08-27 Andreas Schwab <schwab@suse.de>
10251
45b8accc
AS
10252 [BZ #15736]
10253 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10254 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10255 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10256 * string/test-strcasecmp.c (test_main): Run tests in several
10257 locales.
10258 * string/test-strncasecmp.c (test_main): Likewise.
10259
5d228a43
AS
10260 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10261 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10262 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10264 (__strncasecmp_ssse3) [PIC]: Likewise.
10265
59d112a4
RM
102662013-08-26 Roland McGrath <roland@hack.frob.com>
10267
53234cc3
RM
10268 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10269
59d112a4
RM
10270 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10271 instead of explicitly declaring xdecrypt.
10272 * nis/nss_nis/nis-publickey.c: Likewise.
10273
595aba70
SP
102742013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10275
10276 [BZ #15890]
10277 * nscd/aicache.c: Include res_hconf.h.
10278 (addhstaiX): Initialize res_hconf.
10279
ffabd393
AS
102802013-08-26 Andreas Schwab <schwab@suse.de>
10281
10282 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10283 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10284
e0a69f5c
SP
102852013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10286
10287 * nscd/aicache.c (addhstaiX): Fix indentation.
10288
8c12f01d
MF
102892013-08-25 Mike Frysinger <vapier@gentoo.org>
10290
10291 * configure.ac: Quote $build_pt_chown test.
10292 * configure: Regenerated.
10293
8fe89494
JM
102942013-08-23 Joseph Myers <joseph@codesourcery.com>
10295
10296 [BZ #15532]
10297 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10298 * math/s_cexpf.c (__cexpf): Likewise.
10299 * math/s_cexpl.c (__cexpl): Likewise.
10300 * math/libm-test.inc (cexp_test_data): Correct expected return
10301 value for NaN + i0. Add another test.
10302
75b181d6
DM
103032013-08-22 David S. Miller <davem@davemloft.net>
10304
10305 * po/ca.po: Update Catalan translation from translation project.
936241e4 10306 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10307
acd06bb1
JM
103082013-08-21 Joseph Myers <joseph@codesourcery.com>
10309
10310 [BZ #15797]
10311 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10312 is infinite, not alongside NaN test.
10313 * math/s_fdimf.c (__fdimf): Likewise.
10314 * math/s_fdiml.c (__fdiml): Likewise.
10315 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10316 errno is unchanged.
10317
c0c3f78a
OB
103182013-08-21 Ondřej Bílka <neleai@seznam.cz>
10319
10320 * argp/argp-help.c: Fix typos.
10321 * crypt/speeds.c: Likewise.
10322 * csu/check_fds.c: Likewise.
10323 * elf/dl-load.c: Likewise.
10324 * elf/dl-open.c: Likewise.
10325 * elf/reldep3.c: Likewise.
10326 * elf/reldep.c: Likewise.
10327 * elf/sprof.c: Likewise.
10328 * iconv/iconv_charmap.c: Likewise.
10329 * iconv/skeleton.c: Likewise.
10330 * iconv/strtab.c: Likewise.
10331 * io/lockf64.c: Likewise.
10332 * libio/libioP.h: Likewise.
10333 * resolv/gai_notify.c: Likewise.
10334 * resolv/ns_name.c: Likewise.
10335 * resolv/ns_samedomain.c: Likewise.
10336 * resolv/res_send.c: Likewise.
10337 * stdlib/random.c: Likewise.
10338 * sunrpc/rpc/xdr.h: Likewise.
10339 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10340 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10341 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10342 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10343 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10344 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10345 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10346 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10347 * sysdeps/mach/hurd/check_fds.c: Likewise.
10348 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10349 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10350 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10351 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10352 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10353 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10354 * sysdeps/pthread/aio_notify.c: Likewise.
10355 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10356 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10357 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10358 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10359 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10360
46ed1038
LD
103612013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10362
10363 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10364 version if bit_Slow_SSE4_2 is set.
10365 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10366 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10367
d400dcac
AZ
103682013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10369
10370 [BZ #15867]
10371 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10372 trampoline stack frame information.
10373 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10375 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10376 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10377 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10378 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10379 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10380 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10381 sa_flags value.
10382 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10383 interrupting a syscall and set with option SA_SIGINFO.
10384
42c8fdd8
JM
103852013-08-20 Joseph Myers <joseph@codesourcery.com>
10386
c980f2f4
JM
10387 [BZ #15531]
10388 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10389 argument is infinite.
10390 * math/s_cprojf.c (__cprojf): Likewise.
10391 * math/s_cprojl.c (__cprojl): Likewise.
10392 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10393 * math/libm-test.inc (cproj_test_data): Add more tests.
10394
0716c4fc
JM
10395 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10396
42c8fdd8
JM
10397 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10398 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10399 size. Use __ffs to determine corresponding shift.
10400
b31469d0
JM
104012013-08-20 Joseph Myers <joseph@codesourcery.com>
10402 Roland McGrath <roland@hack.frob.com>
10403
10404 * Makefile (INSTALL): Remove trailing blank lines from output of
10405 makeinfo.
10406
4e39af6e
AK
104072013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10408
10409 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10410 Align 32 bit compat elf_greg to 8 bytes.
10411
f315524e
AA
104122013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10413
10414 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10415
1326ba1a
SP
104162013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10417
10418 * string/strcoll_l.c (coll_seq): New structure.
10419 (get_next_seq_cached): New function.
10420 (get_next_seq): New function.
10421 (do_compare): New function.
10422 (STRCOLL): Use GNU style definition. Simplify implementation
10423 by using get_next_seq, get_next_seq_cached and do_compare.
10424
91ce4085
FW
104252013-08-16 Florian Weimer <fweimer@redhat.com>
10426
10427 [BZ #14699]
10428 CVE-2013-4237
10429 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10430 member.
10431 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10432 member.
10433 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10434 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10435 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10436 conditional.
10437 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10438 GETDENTS_64BIT_ALIGNED.
10439 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10440 * manual/filesys.texi (Reading/Closing Directory): Document
10441 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10442 strongly.
10443 * manual/conf.texi (Limits for Files): Add portability note to
10444 NAME_MAX, PATH_MAX.
10445 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10446
ca0a6bc4
AS
104472013-08-13 Andreas Schwab <schwab@suse.de>
10448
10449 [BZ #15749]
10450 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10451 of fabs.
10452 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10453 LDBL_MAX_EXP >= 16384]: Add tests for it.
10454
6c1fd795
DM
104552013-08-12 David S. Miller <davem@davemloft.net>
10456
10457 * version.h (RELEASE): Set to "development".
10458 (VERSION): Set to "2.18.90".
10459 * NEWS: Add 2.19 section.
10460
31ad488d
DM
104612013-08-03 David S. Miller <davem@davemloft.net>
10462
10463 * po/ko.po: Update Korean translation from translation project.
10464
db24e684
DM
104652013-08-01 David S. Miller <davem@davemloft.net>
10466
10467 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10468 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10469 Bilka.
10470
f723285b
DM
104712013-07-30 David S. Miller <davem@davemloft.net>
10472
10473 * po/fr.po: Update French translation from translation project.
10474
3cbc52db
DM
104752013-07-28 David S. Miller <davem@davemloft.net>
10476
30bbc0cc
DM
10477 * po/cs.po: Update Czech translation from translation project.
10478
3cbc52db
DM
10479 * po/sv.po: Update Swedish translation from translation project.
10480
d492e6d0
DM
104812013-07-27 David S. Miller <davem@davemloft.net>
10482
f1a7f492
DM
10483 * po/eo.po: Update Esperanto translation from translation project.
10484
90e62a4a
DM
10485 * po/vi.po: Update Vietnamese translation from translation project.
10486
d492e6d0
DM
10487 * po/de.po: Update German translation from translation project.
10488
d4baa62d
DM
104892013-07-26 David S. Miller <davem@davemloft.net>
10490
641aa7b4
DM
10491 * po/bg.po: Update Bulgarian translation from translation project.
10492
d4baa62d
DM
10493 * po/nl.po: Update Dutch translation from translation project.
10494 * po/pl.po: Update Polish translation from translation project.
10495 * po/ru.po: Update Russian translation from translation project.
10496
61a9dcb9
DM
104972013-07-24 David S. Miller <davem@davemloft.net>
10498
10499 * po/libc.pot: Update.
10500
7b1f8b58
AZ
105012013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10502
10503 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10504 variable page size.
10505 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10506 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10507 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10508
a8fc7a03
AK
105092013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10510
10511 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10512
e4608715
CD
105132013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10514 Andreas Schwab <schwab@suse.de>
10515 Roland McGrath <roland@hack.frob.com>
10516 Joseph Myers <joseph@codesourcery.com>
10517 Carlos O'Donell <carlos@redhat.com>
10518
10519 [BZ #15755]
10520 * config.h.in: Define HAVE_PT_CHOWN.
10521 * config.make.in (build-pt-chown): New variable.
10522 * configure.in (--enable-pt_chown): New configure option.
10523 * configure: Regenerate.
10524 * login/Makefile: Include Makeconfig. Build pt_chown only if
10525 build-pt-chown is enabled.
10526 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10527 pt_chown to fix pty ownership.
10528 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10529 CLOSE_ALL_FDS.
10530 * manual/install.texi (Configuring and compiling): Mention
10531 --enable-pt_chown. Add @findex for grantpt.
10532 * INSTALL: Regenerate.
10533
da2d62df
DM
105342013-07-20 David S. Miller <davem@davemloft.net>
10535
10536 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10537 difference between 32-bit and 64-bit.
10538
d7e06450
CD
105392013-07-15 Carlos O'Donell <carlos@redhat.com>
10540
10541 [BZ #15711]
10542 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10543 Avoid system header dependency with -ffreestanding.
10544 ($(objpfx)bits/syscall%d): Likewise.
10545
f959cfd7
DM
105462013-07-13 David S. Miller <davem@davemloft.net>
10547
10548 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10549 underflows from atanl/atan2l due to bug 15319.
10550 (casinh_test_data): Likewise.
10551
c61f8513
DM
105522013-07-07 David S. Miller <davem@davemloft.net>
10553
10554 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10555
72c90ed0
JA
105562013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10557
10558 * sysdeps/i386/fpu/libm-test-ulps: Update.
10559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10560
52dfbe13
SP
105612013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10562
10563 * configure.in (--enable-lock-elision): Fix message text.
10564 * INSTALL: Regenerate.
10565 * configure: Regenerate.
10566
3f169543
AZ
105672013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10568
10569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10570
521c6785
AJ
105712013-07-03 Andreas Jaeger <aj@suse.de>
10572
10573 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10574 define.
10575 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10576 (ptrace_peeksiginfo_args): Add.
10577 (__ptrace_peeksiginfo_flags): Add.
10578 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10579 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10580 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10581
d2cc15cb
AM
105822013-07-03 Allan McRae <allan@archlinux.org>
10583
10584 * sysdeps/i386/fpu/libm-test-ulps: Update.
10585
3aaeeca7
DM
105862013-07-02 David S. Miller <davem@davemloft.net>
10587
10588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10589
5314ed1a
MT
105902013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10591
10592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10593
67338156
JM
105942013-07-02 Joseph Myers <joseph@codesourcery.com>
10595
10596 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10598
1717da59
AK
105992013-07-02 Andi Kleen <ak@linux.intel.com>
10600
10601 * config.h.in (ENABLE_LOCK_ELISION): Add.
10602 * configure.in (--enable-lock-elision): Add option.
10603 * manual/install.texi: Document --enable lock elision.
10604 * configure: Regenerate
10605 * INSTALL: Regenerate.
10606
1c81621c
L
106072013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10608
10609 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10610 SSE4.2 strcasecmp for libc.a.
10611 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10612
77f01ab5
JM
106132013-07-02 Joseph Myers <joseph@codesourcery.com>
10614
10615 [BZ #13304]
10616 * soft-fp/op-common.h (_FP_FMA): New macro.
10617 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10618 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10619 (_FP_MUL_MEAT_1_imm): ... here.
10620 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10621 (_FP_MUL_MEAT_1_wide): ... here.
10622 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10623 (_FP_MUL_MEAT_1_hard): ... here.
10624 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10625 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10626 (_FP_MUL_MEAT_2_wide): ... here.
10627 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10628 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10629 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10630 (_FP_MUL_MEAT_2_gmp): ... here.
10631 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10632 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10633 (_FP_MUL_MEAT_4_wide): ... here.
10634 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10635 (_FP_MUL_MEAT_4_gmp): ... here.
10636 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10637 (_FP_WFRACBITS_DW_S): Likewise.
10638 (_FP_WFRACXBITS_DW_S): Likewise.
10639 (_FP_HIGHBIT_DW_S): Likewise.
10640 (FP_FMA_S): Likewise.
10641 (_FP_FRAC_HIGH_DW_S): Likewise.
10642 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10643 (_FP_WFRACBITS_DW_D): Likewise.
10644 (_FP_WFRACXBITS_DW_D): Likewise.
10645 (_FP_HIGHBIT_DW_D): Likewise.
10646 (FP_FMA_D): Likewise.
10647 (_FP_FRAC_HIGH_DW_D): Likewise.
10648 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10649 (_FP_WFRACBITS_DW_E): Likewise.
10650 (_FP_WFRACXBITS_DW_E): Likewise.
10651 (_FP_HIGHBIT_DW_E): Likewise.
10652 (FP_FMA_E): Likewise.
10653 (_FP_FRAC_HIGH_DW_E): Likewise.
10654 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10655 (_FP_WFRACBITS_DW_Q): Likewise.
10656 (_FP_WFRACXBITS_DW_Q): Likewise.
10657 (_FP_HIGHBIT_DW_Q): Likewise.
10658 (FP_FMA_Q): Likewise.
10659 (_FP_FRAC_HIGH_DW_Q): Likewise.
10660 * soft-fp/fmasf4.c: New file.
10661 * soft-fp/fmadf4.c: Likewise.
10662 * soft-fp/fmatf4.c: Likewise.
10663
6308fd9a
LD
106642013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10665
10666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10667 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10668 Silvermont.
10669 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10670 macro.
10671 (index_Slow_SSE4_2): Likewise.
10672 (index_Prefer_PMINUB_for_stringop): Likewise.
10673 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10674 bit_Slow_SSE4_2 is set.
10675 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10676 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10677
89cd9569
RA
106782013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10679
10680 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10681 rtld_global._dl_hwcap2.
10682 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10683 POWER8.
10684 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10685 POWER8 feature descriptions defined in _dl_hwcap2.
10686 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10687 string handling for POWER8 feature bits.
10688 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10689 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10690 _dl_powerpc_cap_flags.
10691 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10692 * sysdeps/powerpc/rtld-global-offsets.sym
10693 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10694 _dl_hwcap2 in the rtld_global_ro structure.
10695
1ae8bfe0
RA
106962013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10697
10698 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10699 hardware capabilities in support of AT_HWCAP2.
10700 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10701 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10702 GLRO(dl_hwcap2).
10703 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10704 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10705 explicitly the unknown a_type display mechanism is used.
10706 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10707 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10708 struct member.
10709 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10710 to macro prototype for AT_HWCAP2 support.
10711 * sysdeps/i386/dl-procinfo.h: Likewise.
10712 * sysdeps/s390/dl-procinfo.h: Likewise.
10713 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10714 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10715 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10716 return -1 for unknown a_type display fallback.
10717 * sysdeps/sparc/dl-procinfo.h: Likewise.
10718 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10719 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10720
8fbec010
JM
107212013-06-28 Joseph Myers <joseph@codesourcery.com>
10722
10723 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10724 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10725
0432680e
PY
107262013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10727
10728 [BZ #12492]
10729 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10730 mprotect making __stack_prot writable.
10731
ce61a2ad
NF
107322013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10733 Joseph Myers <joseph@codesourcery.com>
10734
10735 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10736 as being properly aligned.
10737
f91f1c0f
MR
107382013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10739
3d0f5d0c
MR
10740 * dlfcn/modstatic5.c: New file.
10741 * dlfcn/tststatic5.c: New file.
10742 * dlfcn/Makefile (tests): Add tststatic5.
10743 (tests-static): Likewise.
10744 (modules-names): Add modstatic5.
10745 (tststatic5-ENV): New variable.
10746 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10747
f91f1c0f
MR
10748 [BZ #15022]
10749 * elf/dl-support.c (_dl_main_map): New variable.
10750 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10751 (_dl_nns, _dl_load_adds): Set to 1.
10752 (_dl_initial_searchlist): Refer to _dl_main_map.
10753 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10754 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10755 call to _dl_get_origin.
10756 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10757 around call_map.
10758 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10759 * dlfcn/modstatic3.c: New file.
10760 * dlfcn/tststatic3.c: New file.
10761 * dlfcn/tststatic4.c: New file.
10762 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10763 (tests-static): Likewise.
10764 (modules-names): Add modstatic3.
10765 (tststatic3-ENV, tststatic4-ENV): New variables.
10766 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10767 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10768
cbe7d24b
JM
107692013-06-26 Joseph Myers <joseph@codesourcery.com>
10770
10771 * configure.in (CC): Require GCC version 4.4 or later.
10772 * configure: Regenerated.
10773 * manual/install.texi (Tools for Compilation): Update GCC version
10774 requirement.
10775 * INSTALL: Regenerated.
10776
11b8a0e1
LD
107772013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10778
10779 [BZ #15674]
bb5bb87c
L
10780 * string/test-memcmp.c (check2): New.
10781 (main): Call check2.
10782
11b8a0e1
LD
10783 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10784
b0037103
MR
107852013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10786
10787 [BZ #15022]
10788 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10789 over to...
10790 (dl_open_worker) [!SHARED]: ... here.
10791
c18c701d
RA
107922013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10793
10794 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10795
1d17fa5f
RH
107962013-06-25 Richard Henderson <rth@redhat.com>
10797
10798 * locale/programs/locarchive.c: Include <libc-internal.h>
10799
8fcb833a
JM
108002013-06-25 Joseph Myers <joseph@codesourcery.com>
10801
10802 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10803 trailing whitespace removed.
10804
17db6e8d
MF
108052013-06-24 Mike Frysinger <vapier@gentoo.org>
10806
10807 [BZ #10283]
17db6e8d
MF
10808 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10809 * locale/programs/locarchive.c: Include libc-mmap.h.
10810 (prepare_address_space): Take two new outputs (the mmap base and len).
10811 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10812 values.
10813 (create_archive): Declare new mmap base and len values for
10814 prepare_address_space, and store the result in ah.
10815 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10816 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10817 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10818 Declare new mmap base and len values for
10819 prepare_address_space, and store the result in new_ah.
10820 (open_archive): Declare new mmap base and len values for
10821 prepare_address_space, and store the result in ah.
10822 (close_archive): If ah->mmap_base is not NULL, use that and
10823 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10824 * sysdeps/generic/libc-mmap.h: New file.
10825
d605071e
MF
108262013-06-24 Mike Frysinger <vapier@gentoo.org>
10827
10828 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10829 (ALIGN_UP): Likewise.
10830 (PTR_ALIGN_DOWN): Likewise.
10831 (PTR_ALIGN_UP): Likewise.
10832
2f063a6e
RA
108332013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10834
10835 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10836 entry mapped to PPC_PLATFORM_POWER8.
10837 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10838 POWER8.
10839 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10840 (_dl_string_platform): Add case for exporting platform position for
10841 POWER8.
10842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10843 search path to sysdeps/powerpc/powerpc32/power8 directory.
10844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10845 search path to sysdeps/powerpc/powerpc64/power8 directory.
10846 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10847 power7 directories.
10848 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10849 power7 directories.
10850
a31ee4b3
SP
108512013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10852
a74ca98f
SP
10853 * INSTALL: Regenerate.
10854
a31ee4b3
SP
10855 * nscd/connections.c (nscd_init): Fix comment.
10856
695c378f
JM
108572013-06-22 Joseph Myers <joseph@codesourcery.com>
10858
d8412221
JM
10859 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10860
695c378f
JM
10861 [BZ #15667]
10862 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10863 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10864
d1d54715
MR
108652013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10866
10867 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10868 DL_DST_REQ_STATIC.
10869 (DL_DST_REQ_STATIC): Remove macro.
10870
8fdda7af
JM
108712013-06-21 Joseph Myers <joseph@codesourcery.com>
10872
10873 [BZ #7006]
10874 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10875 with a shift of 0 bits.
10876
f3bc5e5a
MR
108772013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10878
10879 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10880 $(tststatic-ENV).
10881
be09e8c9
KK
108822013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10883
10884 [BZ #15655]
10885 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10886
85c2e611
AZ
108872013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10888
10889 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10890 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10891 accepts -fno-tree-loop-distribute-patterns.
10892 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10893 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10894 recursive call.
10895 * string/memset.c (memset): Likewise.
10896 * string/test-memmove.c (simple_memmove): Disable loop transformation
10897 to library calls.
10898 * string/test-memset.c (simple_memset): Likewise.
10899 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10900 * benchtests/bench-memset.c (simple_memset): Likewise.
10901 * configure: Regenerated.
10902
c91e0825
JM
109032013-06-20 Joseph Myers <joseph@codesourcery.com>
10904
b8c792af
JM
10905 * math/test-misc.c (main): Ignore fesetround failure when failures
10906 of subsequent rounding tests would be ignored.
10907
c91e0825
JM
10908 [BZ #15654]
10909 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10910 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10911 * math/fegetenv.c (__fegetenv): Return 0.
10912 * math/fegetexcept.c (fegetexcept): Return 0.
10913 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10914 FE_TONEAREST.
10915 * math/feholdexcpt.c (feholdexcept): Return 0.
10916 * math/fesetenv.c (__fesetenv): Return 0.
10917 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10918 argument FE_TONEAREST.
10919 * math/feupdateenv.c (__feupdateenv): Return 0.
10920 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10921
bfcacbde
RM
109222013-06-18 Roland McGrath <roland@hack.frob.com>
10923
10924 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10925 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10926 ($(objpfx)rtld-%.os rules): Use them.
10927
e55a9b25
AZ
109282013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10929
10930 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10931 fields.
10932
346d65b3
RM
109332013-06-17 Roland McGrath <roland@hack.frob.com>
10934
12086fb4
RM
10935 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10936 length of target pattern, then descending length of dependency pattern.
10937 * configure.in (AWK): Require gawk 3.1.2 or newer.
10938 * manual/install.texi (Tools for Compilation): Say that we do.
10939 * configure: Regenerated.
10940
346d65b3
RM
10941 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10942 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10943 * scripts/sysd-rules.awk: ... this new script.
10944 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10945 than a glob-style pattern.
10946
1a846317
JM
109472013-06-17 Joseph Myers <joseph@codesourcery.com>
10948
10949 * math/test-misc.c (main): Do not treat incorrectly rounded
10950 conversions as failure unless ROUNDING_TESTS passes.
10951
8fc75e6f
JM
109522013-06-15 Joseph Myers <joseph@codesourcery.com>
10953
3711a167
JM
10954 [BZ #15631]
10955 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10956 restore exception state around main square root computation, then
10957 check for inexactness explicitly.
10958
8fc75e6f
JM
10959 * math/libm-test.inc (fma_test_data): Add another test.
10960
61dd6208
SP
109612013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10962
adf23d2c
SP
10963 * manual/threads.texi (Non-POSIX Extensions): New document
10964 node. Document pthread_getattr_default_np and
10965 pthread_setattr_default_np.
10966
61dd6208
SP
10967 * Versions.def (libpthread): Add GLIBC_2.18.
10968 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10970 Likewise.
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10972 Likewise.
10973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10974 Likewise.
10975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10976 Likewise.
10977 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10978 Likewise.
10979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10980 Likewise.
10981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10982 Likewise.
10983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10984 Likewise.
10985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10986 Likewise.
10987
d086fc7b
LD
109882013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10989
10990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10991 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10992
747ef469
SP
109932013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10994 H.J. Lu <hjl.tools@gmail.com>
10995
10996 [BZ #15627]
10997 * sysdeps/x86_64/rtld-memset.c: Remove file.
10998 * sysdeps/x86_64/rtld-memset.S: New file.
10999
1b2feed2
JM
110002013-06-14 Joseph Myers <joseph@codesourcery.com>
11001
11002 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11003 (test_in_one_mode): Take arguments for whether the rounding mode
11004 is supported for each floating-point type.
11005 (do_test): Pass new arguments to test_in_one_mode using
11006 ROUNDING_TESTS.
11007
a58ad3f8
RM
110082013-06-13 Roland McGrath <roland@hack.frob.com>
11009
11010 * posix/tst-waitid.c (do_test): Distinguish different instances of
11011 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11012 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11013 before entering the kernel for waitpid.
11014
c204ab28
SP
110152013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11016
11017 * NEWS: Fix note on clock function precision. Text by Roland
11018 McGrath.
11019
f4a29fba
RM
110202013-06-13 Roland McGrath <roland@hack.frob.com>
11021
11022 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11023 it into place only when and if the sanity check passes.
11024
1f24b9ad
JM
110252013-06-13 Joseph Myers <joseph@codesourcery.com>
11026
11027 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11028 output for whether conversion result is exact. Take argument
11029 indicating whether type is IBM long double.
11030 (round_for_all): Change need_exact field to ibm_ld.
11031 * stdlib/tst-strtod-round.c (struct exactness): New type.
11032 (struct test): Change bool ld_ok field to struct exactness exact.
11033 (TEST): Update all definitions for change to field.
11034 (tests): Regenerate array contents.
11035 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11036 field value. Check for IBM long double here.
11037 (do_test): Update calls to test_in_one_mode.
11038
58206c68
SP
110392013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11040
11041 [BZ #12515]
11042 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11043 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11044
2d6f4c5b 110452013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11046
11047 [BZ #15605]
11048 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11049 generated by the compiler on loop optimizations.
11050 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11051 general definitions.
11052
94f2c076
JM
110532013-06-12 Joseph Myers <joseph@codesourcery.com>
11054
11055 * math/bug-nextafter.c: Include <math-tests.h>.
11056 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11057 the relevant type.
11058 * math/bug-nexttoward.c: Include <math-tests.h>.
11059 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11060 the relevant type.
11061 * math/test-misc.c: Include <math-tests.h>.
11062 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11063 the relevant type.
11064
e0e50a0a
AJ
110652013-06-12 Andreas Jaeger <aj@suse.de>
11066
11067 * po/ia.po: Update Interlingua translation from translation
11068 project.
11069
25061094
SP
110702013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11071
11072 * include/fenv.h: Include stdbool.h.
11073 (struct rm_ctx): New structure.
11074 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11075 Define macro.
11076 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11077 (SET_RESTORE_ROUNDF): Likewise.
11078 (SET_RESTORE_ROUNDL): Likewise.
11079 (SET_RESTORE_ROUND_NOEX): Likewise.
11080 (SET_RESTORE_ROUND_NOEXF): Likewise.
11081 (SET_RESTORE_ROUND_NOEXL): Likewise.
11082 (SET_RESTORE_ROUND_53BIT): Likewise.
11083 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11084 (libc_feresetround_noexf_ctx): Likewise.
11085 (libc_feresetround_noexl_ctx): Likewise.
11086 (libc_feholdsetround_53bit_ctx): Likewise.
11087 (libc_feresetround_53bit_ctx): Likewise.
11088 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11089 (libc_feholdexcept_setround_sse_ctx): New function.
11090 (libc_fesetenv_sse_ctx): Likewise.
11091 (libc_feupdateenv_sse_ctx): Likewise.
11092 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11093 (libc_feholdexcept_setround_387_ctx): Likewise.
11094 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11095 (libc_feholdsetround_387_prec_ctx): Likewise.
11096 (libc_feholdsetround_387_ctx): Likewise.
11097 (libc_feholdsetround_387_53bit_ctx): Likewise.
11098 (libc_feholdsetround_sse_ctx): Likewise.
11099 (libc_feresetround_sse_ctx): Likewise.
11100 (libc_feresetround_387_ctx): Likewise.
11101 (libc_feupdateenv_387_ctx): Likewise.
11102 (libc_feholdexcept_setroundf_ctx): Define macro.
11103 (libc_fesetenvf_ctx): Likewise.
11104 (libc_feupdateenvf_ctx): Likewise.
11105 (libc_feholdsetroundf_ctx): Likewise.
11106 (libc_feresetroundf_ctx): Likewise.
11107 (libc_feholdexcept_setround_ctx): Likewise.
11108 (libc_fesetenv_ctx): Likewise.
11109 (libc_feupdateenv_ctx): Likewise.
11110 (libc_feholdsetround_ctx): Likewise.
11111 (libc_feresetround_ctx): Likewise.
11112 (libc_feholdexcept_setroundl_ctx): Likewise.
11113 (libc_feupdateenvl_ctx): Likewise.
11114 (libc_feholdsetroundl_ctx): Likewise.
11115 (libc_feresetroundl_ctx): Likewise.
11116 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11117 (libc_feresetround_53bit_ctx): Likewise.
11118
59b30555
SP
111192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11120
11121 * locale/iso-639.def: Convert to UTF-8.
11122
f1d73d30
JM
111232013-06-11 Joseph Myers <joseph@codesourcery.com>
11124
11125 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11126 (EXCEPTION_TESTS_double): Likewise.
11127 (EXCEPTION_TESTS_long_double): Likewise.
11128 (EXCEPTION_TESTS): Likewise.
11129 * math/libm-test.inc (test_exceptions): Only test exceptions if
11130 EXCEPTION_TESTS (FLOAT).
11131
94aca5e7
SP
111322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11133
11134 * benchtests/Makefile (string-bench): Add strcpy_chk and
11135 stpcpy_chk.
11136 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11137 * benchtests/bench-stpcpy_chk.c: New file.
11138 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11139 * benchtests/bench-strcpy_chk.c: New file.
11140 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11141 code.
11142 (do_test): Likewise.
11143
fac0c5f2
RA
111442013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11145
11146 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11147 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11148 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11149 with tabs where appropriate.
11150 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11151 dl-procinfo.h.
11152 [PPC_PLATFORM_PPC440]: Likewise.
11153 [PPC_PLATFORM_PPC464]: Likewise.
11154 [PPC_PLATFORM_PPC476]: Likewise.
11155 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11156 ppc464, and ppc476 platform strings merging from ports/
11157 dl-procinfo.h.
11158
f22bc486
AS
111592013-06-11 Andreas Schwab <schwab@suse.de>
11160
11161 [BZ #14991]
11162 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11163 (from_ucs4_idx): Regenerate.
11164 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11165 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11166 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11167 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11168 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11169 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11170 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11171 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11172 from FROM_LOOP and TO_LOOP specific macros.
11173 (BODY): Handle combining characters.
11174 * iconvdata/BIG5HKSCS.irreversible: Update.
11175 * iconvdata/BIG5HKSCS.precomposed: New file.
11176 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11177 characters.
11178 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11179
c1f75dc3
SP
111802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11181
4eacded2
SP
11182 * include/sys/time.h: Fix indentation and add copyright header.
11183
fec799f8
SP
11184 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11185 (do_test): Likewise.
11186 * string/test-memchr.c (do_one_test): Likewise.
11187 (do_test): Likewise.
11188 * string/test-memcmp.c (do_one_test): Likewise.
11189 (do_test): Likewise.
11190 * string/test-memcpy.c (do_one_test): Likewise.
11191 (do_test): Likewise.
11192 * string/test-memmem.c (do_one_test): Likewise.
11193 (do_test): Likewise.
11194 (do_random_tests): Likewise.
11195 * string/test-memmove.c (do_one_test): Likewise.
11196 (do_test): Likewise.
11197 * string/test-memset.c (do_one_test): Likewise.
11198 (do_test): Likewise.
11199 * string/test-rawmemchr.c (do_one_test): Likewise.
11200 (do_test): Likewise.
11201 * string/test-strcasecmp.c (do_one_test): Likewise.
11202 (do_test): Likewise.
11203 * string/test-strcasestr.c (do_one_test): Likewise.
11204 (do_test): Likewise.
11205 * string/test-strcat.c (do_one_test): Likewise.
11206 (do_test): Likewise.
11207 * string/test-strchr.c (do_one_test): Likewise.
11208 (do_test): Likewise.
11209 * string/test-strcmp.c (do_one_test): Likewise.
11210 (do_test): Likewise.
11211 * string/test-strcpy.c (do_one_test): Likewise.
11212 (do_test): Likewise.
11213 * string/test-string.h: Likewise.
11214 (test_init): Likewise.
11215 * string/test-strlen.c (do_one_test): Likewise.
11216 (do_test): Likewise.
11217 * string/test-strncasecmp.c (do_one_test): Likewise.
11218 (do_test): Likewise.
11219 * string/test-strncat.c (do_one_test): Likewise.
11220 (do_test): Likewise.
11221 * string/test-strncmp.c (do_one_test): Likewise.
11222 (do_test_limit): Likewise.
11223 (do_test): Likewise.
11224 * string/test-strncpy.c (do_one_test): Likewise.
11225 (do_test): Likewise.
11226 * string/test-strnlen.c (do_one_test): Likewise.
11227 (do_test): Likewise.
11228 * string/test-strpbrk.c (do_one_test): Likewise.
11229 (do_test): Likewise.
11230 * string/test-strrchr.c (do_one_test): Likewise.
11231 (do_test): Likewise.
11232 * string/test-strspn.c (do_one_test): Likewise.
11233 (do_test): Likewise.
11234 * string/test-strstr.c (do_one_test): Likewise.
11235 (do_test): Likewise.
11236
97020474
SP
11237 * benchtests/Makefile (string-bench): Add string benchmarks.
11238 * benchtests/bench-bcopy-ifunc.c: New file.
11239 * benchtests/bench-bcopy.c: New file.
11240 * benchtests/bench-bzero-ifunc.c: New file.
11241 * benchtests/bench-bzero.c: New file.
11242 * benchtests/bench-memccpy-ifunc.c: New file.
11243 * benchtests/bench-memccpy.c: New file.
11244 * benchtests/bench-memchr-ifunc.c: New file.
11245 * benchtests/bench-memchr.c: New file.
11246 * benchtests/bench-memcmp-ifunc.c: New file.
11247 * benchtests/bench-memcmp.c: New file.
11248 * benchtests/bench-memmem-ifunc.c: New file.
11249 * benchtests/bench-memmem.c: New file.
11250 * benchtests/bench-memmove-ifunc.c: New file.
11251 * benchtests/bench-memmove.c: New file.
11252 * benchtests/bench-mempcpy-ifunc.c: New file.
11253 * benchtests/bench-mempcpy.c: New file.
11254 * benchtests/bench-memset-ifunc.c: New file.
11255 * benchtests/bench-memset.c: New file.
11256 * benchtests/bench-rawmemchr-ifunc.c: New file.
11257 * benchtests/bench-rawmemchr.c: New file.
11258 * benchtests/bench-stpcpy-ifunc.c: New file.
11259 * benchtests/bench-stpcpy.c: New file.
11260 * benchtests/bench-stpncpy-ifunc.c: New file.
11261 * benchtests/bench-stpncpy.c: New file.
11262 * benchtests/bench-strcasecmp-ifunc.c: New file.
11263 * benchtests/bench-strcasecmp.c: New file.
11264 * benchtests/bench-strcasestr-ifunc.c: New file.
11265 * benchtests/bench-strcasestr.c: New file.
11266 * benchtests/bench-strcat-ifunc.c: New file.
11267 * benchtests/bench-strcat.c: New file.
11268 * benchtests/bench-strchr-ifunc.c: New file.
11269 * benchtests/bench-strchr.c: New file.
11270 * benchtests/bench-strchrnul-ifunc.c: New file.
11271 * benchtests/bench-strchrnul.c: New file.
11272 * benchtests/bench-strcmp-ifunc.c: New file.
11273 * benchtests/bench-strcmp.c: New file.
11274 * benchtests/bench-strcpy-ifunc.c: New file.
11275 * benchtests/bench-strcpy.c: New file.
11276 * benchtests/bench-strcspn-ifunc.c: New file.
11277 * benchtests/bench-strcspn.c: New file.
11278 * benchtests/bench-strlen-ifunc.c: New file.
11279 * benchtests/bench-strlen.c: New file.
11280 * benchtests/bench-strncasecmp-ifunc.c: New file.
11281 * benchtests/bench-strncasecmp.c: New file.
11282 * benchtests/bench-strncat-ifunc.c: New file.
11283 * benchtests/bench-strncat.c: New file.
11284 * benchtests/bench-strncmp-ifunc.c: New file.
11285 * benchtests/bench-strncmp.c: New file.
11286 * benchtests/bench-strncpy-ifunc.c: New file.
11287 * benchtests/bench-strncpy.c: New file.
11288 * benchtests/bench-strnlen-ifunc.c: New file.
11289 * benchtests/bench-strnlen.c: New file.
11290 * benchtests/bench-strpbrk-ifunc.c: New file.
11291 * benchtests/bench-strpbrk.c: New file.
11292 * benchtests/bench-strrchr-ifunc.c: New file.
11293 * benchtests/bench-strrchr.c: New file.
11294 * benchtests/bench-strspn-ifunc.c: New file.
11295 * benchtests/bench-strspn.c: New file.
11296 * benchtests/bench-strstr-ifunc.c: New file.
11297 * benchtests/bench-strstr.c: New file.
11298
c1f75dc3
SP
11299 * benchtests/Makefile: Disable parallel execution of targets.
11300 (string-bench): Add memcpy.
11301 (benchset): New variable to store a list of benchmark sets.
11302 (bench-func): Renamed from bench.
11303 (bench-set): New target.
11304 (bench): Depend on bench-func and bench-set.
11305 * benchtests/README: Add section on benchmark sets.
11306 * benchtests/bench-memcpy-ifunc.c: New file.
11307 * benchtests/bench-memcpy.c: New file.
11308 * benchtests/bench-string.h: New file.
11309
50fd745b
AS
113102013-06-11 Andreas Schwab <schwab@suse.de>
11311
11312 [BZ #15577]
11313 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11314 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11315 values in the triple.
11316 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11317 terminator in the group key.
11318
3ee7e9fe
AJ
113192013-06-11 Andreas Jaeger <aj@suse.de>
11320
11321 * po/zh_TW.po: Update Chinese (traditional) translation from
11322 translation project.
11323
89fb6835
SP
113242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11325
11326 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11327 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11328 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11329 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11330 (clock_getcpuclockid): Likewise.
11331 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11332 Add weak_alias and libc_hidden_def.
11333 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11334 * rt/clock_gettime.c (clock_gettime): Rename to
11335 __clock_gettime. Add weak_alias and libc_hidden_def.
11336 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11337 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11338 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11339 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11340 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11341 Likewise.
11342 * rt/clock_settime.c (clock_settime): Rename to
11343 __clock_settime. Add weak_alias and libc_hidden_def.
11344 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11345
0efa6f8b
JM
113462013-06-10 Joseph Myers <joseph@codesourcery.com>
11347
b8c61b4b
JM
11348 * mach/err_boot.sub: Remove trailing whitespace.
11349 * mach/err_ipc.sub: Likewise.
11350 * mach/err_mach.sub: Likewise.
11351
0efa6f8b
JM
11352 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11353 (ROUNDING_TESTS_double): Likewise.
11354 (ROUNDING_TESTS_long_double): Likewise.
11355 (ROUNDING_TESTS): Likewise.
11356 * math/libm-test.inc: Include <math-tests.h>.
11357 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11358 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11359 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11360 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11361
50b818bf
SP
113622013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11363
11364 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11365 of assigning.
11366
60d2f8f3
JM
113672013-06-08 Joseph Myers <joseph@codesourcery.com>
11368
4902d2c3
JM
11369 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11370 otherwise empty TRANS lines.
11371 * sysdeps/gnu/errlist.c: Regenerated.
11372
60d2f8f3
JM
11373 * catgets/gencat.c (error_print): Use (void) in function
11374 definition.
11375 * crypt/crypt_util.c (__init_des): Likewise.
11376 * crypt/speeds.c (Stop): Likewise.
11377 (main): Likewise.
11378 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11379 * inet/ruserpass.c (token): Likewise.
11380 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11381 * intl/localealias.c (extend_alias_table): Likewise.
11382 * intl/plural-exp.c (init_germanic_plural): Likewise.
11383 * libio/fcloseall.c (__fcloseall): Likewise.
11384 * libio/genops.c (_IO_flush_all): Likewise.
11385 (_IO_flush_all_linebuffered): Likewise.
11386 (_IO_cleanup): Likewise.
11387 (_IO_iter_begin): Likewise.
11388 (_IO_iter_end): Likewise.
11389 (_IO_list_lock): Likewise.
11390 (_IO_list_unlock): Likewise.
11391 (_IO_list_resetlock): Likewise.
11392 * libio/getchar.c (getchar): Likewise.
11393 * libio/getchar_u.c (getchar_unlocked): Likewise.
11394 * libio/getwchar.c (getwchar): Likewise.
11395 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11396 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11397 * login/getpt.c (__getpt): Likewise.
11398 * login/tst-utmp.c (main): Likewise.
11399 * malloc/hooks.c (__malloc_check_init): Likewise.
11400 * malloc/malloc.c (__malloc_stats): Likewise.
11401 * malloc/mtrace.c (tr_break): Likewise.
11402 (mtrace): Likewise.
11403 (muntrace): Likewise.
11404 * misc/fstab.c (endfsent): Likewise.
11405 * misc/getclktck.c (__getclktck): Likewise.
11406 * misc/getdtsz.c (__getdtablesize): Likewise.
11407 * misc/gethostid.c (gethostid): Likewise.
11408 * misc/getpagesize.c (__getpagesize): Likewise.
11409 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11410 (__get_nprocs): Likewise.
11411 (__get_phys_pages): Likewise.
11412 (__get_avphys_pages): Likewise.
11413 * misc/getttyent.c (getttyent): Likewise.
11414 (setttyent): Likewise.
11415 (endttyent): Likewise.
11416 * misc/getusershell.c (getusershell): Likewise.
11417 (endusershell): Likewise.
11418 (setusershell): Likewise.
11419 (initshells): Likewise.
11420 * misc/hsearch.c (__hdestroy): Likewise.
11421 * misc/sync.c (sync): Likewise.
11422 * misc/syslog.c (closelog_internal): Likewise.
11423 (closelog): Likewise.
11424 * misc/ttyslot.c (ttyslot): Likewise.
11425 * misc/vhangup.c (vhangup): Likewise.
11426 * posix/fork.c (__fork): Likewise.
11427 * posix/getegid.c (__getegid): Likewise.
11428 * posix/geteuid.c (__geteuid): Likewise.
11429 * posix/getgid.c (__getgid): Likewise.
11430 * posix/getpid.c (__getpid): Likewise.
11431 * posix/getppid.c (__getppid): Likewise.
11432 * posix/getuid.c (__getuid): Likewise.
11433 * posix/pause.c (pause): Likewise.
11434 * posix/setpgrp.c (setpgrp): Likewise.
11435 * posix/setsid.c (__setsid): Likewise.
11436 * posix/test-vfork.c (noop): Likewise.
11437 * resolv/gethnamaddr.c (_endhtent): Likewise.
11438 (_gethtent): Likewise.
11439 (ht_endhostent): Likewise.
11440 (gethostent): Likewise.
11441 (dns_service): Likewise.
11442 * stdlib/drand48.c (drand48): Likewise.
11443 * stdlib/lrand48.c (lrand48): Likewise.
11444 * stdlib/mrand48.c (mrand48): Likewise.
11445 * stdlib/rand.c (rand): Likewise.
11446 * stdlib/random.c (__random): Likewise.
11447 * stdlib/setenv.c (clearenv): Likewise.
11448 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11449 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11450 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11451 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11452 (__get_nprocs): Likewise.
11453 (__get_phys_pages): Likewise.
11454 (__get_avphys_pages): Likewise.
11455 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11456 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11457 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11458 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11459 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11460 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11461 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11462 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11463 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11464 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11465 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11466 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11467 * sysdeps/posix/clock.c (clock): Likewise.
11468 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11469 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11470 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11471 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11472 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11473 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11474 (__get_nprocs_conf): Likewise.
11475 (__get_phys_pages): Likewise.
11476 (__get_avphys_pages): Likewise.
11477 * time/clock.c (clock): Likewise.
11478 * time/tzset.c (__tzname_max): Likewise.
11479
2e09a79a
JM
114802013-06-07 Joseph Myers <joseph@codesourcery.com>
11481
11482 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11483 (__bswap_32): Do not use "register".
11484 * crypt/crypt.c (_ufc_doit_r): Likewise.
11485 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11486 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11487 * gmon/gmon.c (__monstartup): Likewise.
11488 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11489 * hurd/hurdmalloc.c (more_memory): Likewise.
11490 (malloc): Likewise.
11491 (free): Likewise.
11492 (realloc): Likewise.
11493 (malloc_fork_prepare): Likewise.
11494 (malloc_fork_parent): Likewise.
11495 (malloc_fork_child): Likewise.
11496 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11497 (_svcauth_des): Likewise.
11498 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11499 * inet/inet_net.c (inet_network): Likewise.
11500 * inet/inet_netof.c (inet_netof): Likewise.
11501 * inet/rcmd.c (__validuser2_sa): Likewise.
11502 * io/fts.c (fts_open): Likewise.
11503 (fts_load): Likewise.
11504 (fts_close): Likewise.
11505 (fts_read): Likewise.
11506 (fts_children): Likewise.
11507 (fts_build): Likewise.
11508 (fts_stat): Likewise.
11509 (fts_sort): Likewise.
11510 (fts_alloc): Likewise.
11511 (fts_lfree): Likewise.
11512 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11513 (_IO_file_xsgetn): Likewise.
11514 (_IO_file_xsgetn_mmap): Likewise.
11515 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11516 (_IO_cookie_write): Likewise.
11517 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11518 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11519 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11520 * malloc/obstack.c (_obstack_begin): Likewise.
11521 (_obstack_begin_1): Likewise.
11522 (_obstack_newchunk): Likewise.
11523 (_obstack_allocated_p): Likewise.
11524 (obstack_free): Likewise.
11525 (_obstack_memory_used): Likewise.
11526 * misc/getttyent.c (getttynam): Likewise.
11527 (getttyent): Likewise.
11528 (skip): Likewise.
11529 (value): Likewise.
11530 * misc/getusershell.c (initshells): Likewise.
11531 * misc/syslog.c (__vsyslog_chk): Likewise.
11532 * misc/ttyslot.c (ttyslot): Likewise.
11533 * nis/nis_hash.c (__nis_hash): Likewise.
11534 * posix/fnmatch_loop.c (FCT): Likewise.
11535 * posix/getconf.c (print_all): Likewise.
11536 (main): Likewise.
11537 * posix/getopt.c (exchange): Likewise.
11538 * posix/glob.c (globfree): Likewise.
11539 (prefix_array): Likewise.
11540 (__glob_pattern_type): Likewise.
11541 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11542 (NS_GET32): Likewise.
11543 (NS_PUT16): Likewise.
11544 (NS_PUT32): Likewise.
11545 * resolv/gethnamaddr.c (getanswer): Likewise.
11546 (gethostbyname2): Likewise.
11547 (gethostbyaddr): Likewise.
11548 (_gethtent): Likewise.
11549 (_gethtbyname2): Likewise.
11550 (_gethtbyaddr): Likewise.
11551 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11552 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11553 * resolv/res_init.c (__res_vinit): Likewise.
11554 (net_mask): Likewise.
11555 * resolv/res_mkquery.c (outchar): Likewise.
11556 (PRINT): Likewise.
11557 * stdio-common/printf_fp.c (outchar): Likewise.
11558 (PRINT): Likewise.
11559 * stdio-common/printf_fphex.c (outchar): Likewise.
11560 (PRINT): Likewise.
11561 * stdio-common/printf_size.c (outchar): Likewise.
11562 (PRINT): Likewise.
11563 * stdio-common/test_rdwr.c (main): Likewise.
11564 * stdio-common/tfformat.c (matches): Likewise.
11565 * stdio-common/vfprintf.c (outchar): Likewise.
11566 (printf_unknown): Likewise.
11567 (buffered_vfprintf): Likewise.
11568 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11569 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11570 (ReadFile): Likewise.
11571 * stdlib/qsort.c (SWAP): Likewise.
11572 (_quicksort): Likewise.
11573 * stdlib/setenv.c (__add_to_environ): Likewise.
11574 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11575 * stdlib/strtol_l.c (__strtol_l): Likewise.
11576 * stdlib/tst-strtod.c (main): Likewise.
11577 * stdlib/tst-strtol.c (main): Likewise.
11578 * stdlib/tst-strtoll.c (main): Likewise.
11579 * string/bits/string2.h (__strcmp_cc): Likewise.
11580 (__strcmp_cg): Likewise.
11581 (__strcspn_c1): Likewise.
11582 (__strcspn_c2): Likewise.
11583 (__strcspn_c3): Likewise.
11584 (__strspn_c1): Likewise.
11585 (__strspn_c2): Likewise.
11586 (__strspn_c3): Likewise.
11587 (__strsep_1c): Likewise.
11588 (__strsep_2c): Likewise.
11589 (__strsep_3c): Likewise.
11590 * string/memccpy.c (__memccpy): Likewise.
11591 * string/stpcpy.c (__stpcpy): Likewise.
11592 * string/strcmp.c (strcmp): Likewise.
11593 * string/strrchr.c (strrchr): Likewise.
11594 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11595 Likewise.
11596 * sysdeps/mach/hurd/getcwd.c
11597 (_hurd_canonicalize_directory_name_internal): Likewise.
11598 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11599 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11600 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11601 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11602 Likewise, in both definitions.
11603 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11604 definitions.
11605 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11606 64] (__bswap_64): Likewise.
11607 * time/test_time.c (main): Likewise.
11608 * time/tzfile.c (__tzfile_read): Likewise.
11609 (__tzfile_compute): Likewise.
11610 * time/tzset.c (__tzset_parse_tz): Likewise.
11611 (tzset_internal): Likewise.
11612 (compute_change): Likewise.
11613 * wcsmbs/wcscat.c (__wcscat): Likewise.
11614 * wcsmbs/wcschr.c (wcschr): Likewise.
11615 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11616 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11617 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11618 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11619 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11620 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11621 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11622 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11623 * wcsmbs/wmemset.c (wmemset): Likewise.
11624
9e54314b
JM
116252013-06-06 Joseph Myers <joseph@codesourcery.com>
11626
11627 * scripts/config.guess: Update to version 2013-05-16.
11628 * scripts/config.sub: Update to version 2013-04-24.
11629 * scripts/install-sh: Update to version 2011-11-20.07.
11630 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11631 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11632
350635a5
OB
116332013-06-06 Ondřej Bílka <neleai@seznam.cz>
11634
11635 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11636 * elf/sln.c: Likewise.
11637 * hurd/hurd/ioctl.h: Likewise.
11638 * hurd/hurdmalloc.c: Likewise.
11639 * hurd/xattr.c: Likewise.
11640 * include/shlib-compat.h: Likewise.
11641 * inet/ruserpass.c: Likewise.
11642 * libio/iofgets_u.c: Likewise.
11643 * libio/iofgetws_u.c: Likewise.
11644 * locale/programs/ld-identification.c: Likewise.
11645 * locale/programs/ld-time.c: Likewise.
11646 * mach/msg-destroy.c: Likewise.
11647 * nss/nss_files/files-netgrp.c: Likewise.
11648 * resolv/res_data.c: Likewise.
11649 * soft-fp/op-1.h: Likewise.
11650 * soft-fp/op-2.h: Likewise.
11651 * soft-fp/op-4.h: Likewise.
11652 * soft-fp/op-common.h: Likewise.
11653 * stdio-common/printf_fphex.c: Likewise.
11654 * stdlib/strtod_l.c: Likewise.
11655 * sunrpc/rpc/clnt.h: Likewise.
11656 * sysdeps/generic/framestate.c: Likewise.
11657 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11658 * sysdeps/i386/bsd-setjmp.S: Likewise.
11659 * sysdeps/i386/__longjmp.S: Likewise.
11660 * sysdeps/i386/setjmp.S: Likewise.
11661 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11662 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11663 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11664 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11671 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11674 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11675 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11676 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11677 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11679 * sysdeps/ieee754/support.c: Likewise.
11680 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11681 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11682 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11683 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11684 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11685 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11686 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11687 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11688 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11689 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11690 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11691 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11692 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11693 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11694 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11695 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11696 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11698
44a988af
OB
116992013-06-05 Ondřej Bílka <neleai@seznam.cz>
11700
25506f09 11701 * posix/transbug.c: Remove executable mode.
44a988af 11702
9c84384c
JM
117032013-06-05 Joseph Myers <joseph@codesourcery.com>
11704
11705 * crypt/speeds.c: Remove trailing whitespace.
11706 * dlfcn/default.c: Likewise.
11707 * elf/ifuncdep2.c: Likewise.
11708 * elf/ifuncmain1.c: Likewise.
11709 * elf/ifuncmain1vis.c: Likewise.
11710 * elf/testobj.h: Likewise.
11711 * elf/tst-stackguard1.c: Likewise.
11712 * gmon/sys/gmon.h: Likewise.
11713 * hurd/hurdmsg.c: Likewise.
11714 * hurd/new-fd.c: Likewise.
11715 * hurd/ports-get.c: Likewise.
11716 * iconvdata/ibm1008_420.c: Likewise.
11717 * inet/tst-getni1.c: Likewise.
11718 * inet/tst-getni2.c: Likewise.
11719 * libio/ioungetc.c: Likewise.
11720 * libio/wfiledoalloc.c: Likewise.
11721 * manual/libm-err-tab.pl: Likewise.
11722 * math/w_dremf.c: Likewise.
11723 * misc/ftruncate.c: Likewise.
11724 * posix/bug-glob2.c: Likewise.
11725 * posix/tst-pcre.c: Likewise.
11726 * posix/wait4.c: Likewise.
11727 * resolv/README: Likewise.
11728 * resolv/res_debug.h: Likewise.
11729 * resolv/tst-inet_ntop.c: Likewise.
11730 * setjmp/bug269-setjmp.c: Likewise.
11731 * soft-fp/extended.h: Likewise.
11732 * soft-fp/op-1.h: Likewise.
11733 * soft-fp/op-2.h: Likewise.
11734 * soft-fp/op-4.h: Likewise.
11735 * soft-fp/op-8.h: Likewise.
11736 * soft-fp/testit.c: Likewise.
11737 * stdio-common/bug16.c: Likewise.
11738 * stdlib/random.c: Likewise.
11739 * sunrpc/rpcsvc/rquota.x: Likewise.
11740 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11741 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11742 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11743 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11744 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11745 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11746 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11747 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11748 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11749 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11750 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11753 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11767 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11769 * sysdeps/ieee754/s_lib_version.c: Likewise.
11770 * sysdeps/mach/hurd/check_fds.c: Likewise.
11771 * sysdeps/mach/hurd/getsockname.c: Likewise.
11772 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11773 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11774 * sysdeps/powerpc/bits/link.h: Likewise.
11775 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11776 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11777 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11778 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11779 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11780 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11781 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11782 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11783 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11784 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11785 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11786 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11787 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11788 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11789 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11790 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11791 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11792 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11793 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11794 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11795 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11796 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11797 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11798 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11799 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11800 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11801 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11802 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11803 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11804 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11805 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11806 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11807 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11808 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11809 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11810 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11811 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11812 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11813 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11814 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11815 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11816 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11817 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11818 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11819 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11820 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11821 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11822 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11823 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11824 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11825 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11827 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11828 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11829 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11830 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11831 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11832 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11833 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11834 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11835 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11836 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11837 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11838 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11839 * sysdeps/powerpc/sysdep.h: Likewise.
11840 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11841 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11842 * sysdeps/sh/dl-trampoline.S: Likewise.
11843 * sysdeps/sh/memset.S: Likewise.
11844 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11845 * sysdeps/sh/strlen.S: Likewise.
11846 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11847 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11848 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11849 * sysdeps/sparc/sparc32/rem.S: Likewise.
11850 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11851 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11852 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11853 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11854 * sysdeps/sparc/sparc32/urem.S: Likewise.
11855 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11856 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11857 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11858 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11859 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11860 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11861 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11862 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11863 * sysdeps/unix/bsd/times.c: Likewise.
11864 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11865 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11869 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11870 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11871 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11872 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11873 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11874 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11875 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11876 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11877 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11878 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11879 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11880 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11881 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11882 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11883 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11884 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11885 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11886 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11887 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11888 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11889 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11890 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11891 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11892 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11893 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11894 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11895 * sysdeps/x86_64/strcspn.S: Likewise.
11896
869378a5
RA
118972013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11898
11899 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11900 generated file. Regenerate properly from gen-translit.pl.
11901 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11902 locale/C-translit.h.
11903
840e2943
AS
119042013-06-05 Andreas Schwab <schwab@suse.de>
11905
11906 [BZ #15100]
11907 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11908 week as 6 instead of -1.
11909 * time/tst-strptime.c (day_tests): Add test case.
11910
4c60cb0c
SP
119112013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11912
11913 * sysdeps/generic/math_private.h
11914 (libc_feholdexcept_setround_53bit): Replace with
11915 libc_feholdsetround_53bit.
11916 (libc_feupdateenv_53bit): Replace with
11917 libc_feresetround_53bit.
11918 (SET_RESTORE_ROUND_53BIT): Adjust.
11919
d180203e
SP
119202013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11921
96df079a
SP
11922 * string/test-strchrnul.c: Add copyright header.
11923
d180203e
SP
11924 * posix/tst-getaddrinfo4.c: Increase test timeout.
11925
8b0ccb2d
CD
119262013-06-03 Carlos O'Donell <carlos@redhat.com>
11927
11928 [BZ #15536]
11929 * math/libm-test.inc (MAX_EXP): Remove
11930 (MIN_EXP): Define.
11931 (ulp): Use MIN_EXP - MANT_DIG.
11932 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11933
3b3c4d40
CD
119342013-05-31 Carlos O'Donell <carlos@redhat.com>
11935
11936 * po/be.po: Revert last change.
11937 * po/zh_CN.po: Likewise.
11938 * po/header.pot: Likewise.
11939
fab7ce3f
JM
119402013-05-31 Joseph Myers <joseph@codesourcery.com>
11941
11942 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11943 link-libc-deps to empty as target-specific variable.
11944 * Makerules (link-libc-args): New variable.
11945 (libc-for-link): Likewise.
11946 (link-libc-deps): Likewise.
11947 (lib%.so): Depend on $(link-libc-deps). Link with
11948 $(link-libc-args).
11949 (build-module): Link with $(link-libc-args).
11950 (build-module-asneeded): Likewise.
11951 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11952 list of objects.
11953 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11954 target-specific variable.
11955 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11956 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11957 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11958 libc.
11959 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11960 libc and ld.so.
11961 ($(objpfx)libpcprofile.so): Likewise.
11962 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11963 libc_nonshared.a.
11964 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11965 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11966 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11967 $(link-libc-deps).
11968 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11969 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11970 * login/Makefile ($(objpfx)libutil.so): Likewise.
11971 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11972 * math/Makefile ($(objpfx)libm.so): Likewise.
11973 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11974 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11975 variable instead of depending directly on libc.
11976 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11977 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11978 $(link-libc-deps).
11979 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11980 libc.
11981 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11982 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11983 ($(objpfx)libanl.so): Likewise.
11984 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11985 ld.so.
11986 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11987 $(link-libc-deps).
11988 * sysdeps/i386/fpu/Makefile: Remove file.
11989 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11990 ($(objpfx)libm.so): Remove dependency on ld.so.
11991
eca5920c
PF
119922013-05-30 Patsy Franklin <pfrankli@redhat.com>
11993
11994 [BZ # 15553]
11995 * nis/yp_xdr.c (XDRMAXNAME): Define.
11996 (XDRMAXRECORD): Define.
11997 (xdr_domainname): Use XDRMAXNAME.
11998 (xdr_mapname): Likewise.
11999 (xdr_peername): Likewise.
12000 (xdr_keydat): Use XDRMAXRECORD.
12001 (xdr_valdat): Likewise.
12002
120032013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12004
12005 [BZ #14256]
12006 * manual/errno.texi (ESTALE): Update to account for more than
12007 just NFS file systems.
12008 * sysdeps/gnu/errlist.c: Regenerated.
12009
b9375348
SP
120102013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12011
12012 [BZ #15465]
12013 * elf/Makefile (tests): Add tst-null-argv.
12014 (modules-names): Add tst-null-argv-lib.
12015 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12016 (tst-null-argv-ENV): Set environment for tst-null-argv.
12017 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12018 (RTLD_PROGNAME): New macro.
12019 * elf/tst-null-argv.c: New test case.
12020 * elf/tst-null-argv-lib.c: Library for test case.
12021 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12022 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12023 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12024 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12025 * elf/dl-init.c (call_init): Likewise.
12026 (_dl_init): Likewise.
12027 * elf/dl-load.c (print_search_path): Likewise.
12028 (_dl_map_object): Likewise.
12029 * elf/dl-lookup.c (do_lookup_x): Likewise.
12030 (add_dependency): Likewise.
12031 (_dl_lookup_symbol_x): Likewise.
12032 (_dl_debug_bindings): Likewise.
12033 * elf/dl-open.c (_dl_show_scope): Likewise.
12034 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12035 * elf/dl-version.c (match_symbol): Likewise.
12036 (_dl_check_map_versions): Likewise.
12037 * elf/rtld.c (dl_main): Likewise.
12038 (print_unresolved): Use RTLD_PROGNAME.
12039 (print_missing_version): Likewise.
12040 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12041 (elf_machine_rela): Likewise.
12042 * sysdeps/powerpc/powerpc32/dl-machine.c
12043 (__process_machine_rela): Likewise.
12044 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12045 Likewise.
12046 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12047 Likewise.
12048 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12049 Likewise.
12050 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12051 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12052 Likewise.
12053 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12054 Likewise.
12055 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12056
8a9f20c8
CD
120572013-05-28 Carlos O'Donell <carlos@redhat.com>
12058
12059 * po/be.po: Add descriptive title.
12060 * po/zh_CN.po: Likewise.
12061 * po/header.pot: Likewise.
12062
0e60d68e
MF
120632013-05-28 Mike Frysinger <vapier@gentoo.org>
12064
12065 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12066 error message.
12067 (enlarge_archive): Likewise.
12068
56b672e9
BN
120692013-05-28 Ben North <ben@redfrontdoor.org>
12070
12071 * manual/arith.texi (frexp): It is the magnitude of the return
12072 value which lies in [0.5, 1), not the return value itself.
12073
5e056687
AZ
120742013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12075
12076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12077
2b66ef5d
TS
120782013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12079
528c2405
TS
12080 * stdio-common/bug26.c (main): Correct fscanf template.
12081
07b4c13d
TS
12082 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12083 declare _dl_skip_args.
12084
ec9dd97c
TS
12085 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12086 Don't declare.
12087
2b66ef5d
TS
12088 * manual/platform.texi: Add missing @end deftypefun.
12089
4f8dfe27
JM
120902013-05-24 Joseph Myers <joseph@codesourcery.com>
12091
0323d086
JM
12092 [BZ #15529]
12093 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12094 bit of mantissa of 2^16382.
12095 * math/libm-test.inc (hypot_test_data): Add more tests.
12096
dd4259b9
JM
12097 * math/libm-test.inc: Add drem and pow10 to list of tested
12098 functions.
12099 (pow10_test): New function.
12100 (drem_test): Likewise.
12101 (drem_test_tonearest): Likewise.
12102 (drem_test_towardzero): Likewise.
12103 (drem_test_downward): Likewise.
12104 (drem_test_upward): Likewise.
12105 (main): Call the new functions.
12106
4f8dfe27
JM
12107 * math/libm-test.inc (finite_test_data): Remove.
12108 (finite_test): Run tests from isfinite_test_data.
12109 (gamma_test_data): Remove.
12110 (gamma_test): Run tests from lgamma_test_data.
12111 * sysdeps/i386/fpu/libm-test-ulps: Update.
12112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12113
d116b7c4
AZ
121142013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12115
12116 * manual/platform.texi: Add PowerPC PPR function set documentation.
12117 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12118 implementation.
12119
e96e3767
CD
121202013-05-24 Carlos O'Donell <carlos@redhat.com>
12121
12122 * math/libm-test.inc (MAX_EXP): Define.
12123 (ULPDIFF): Define.
12124 (ulp): New function.
12125 (check_float_internal): Use ULPDIFF.
12126 (cpow_test): Disable failing test.
12127 (check_ulp): Test ulp() implemetnation.
12128 (main): Call check_ulp before starting tests.
12129
b679a606
JM
121302013-05-24 Joseph Myers <joseph@codesourcery.com>
12131
e8bdba36
JM
12132 * math/gen-libm-test.pl (generate_testfile): Do not handle
12133 START_DATA and END_DATA.
12134 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12135 END_DATA.
12136 (acos_tonearest_test_data): Likewise.
12137 (acos_towardzero_test_data): Likewise.
12138 (acos_downward_test_data): Likewise.
12139 (acos_upward_test_data): Likewise.
12140 (acosh_test_data): Likewise.
12141 (asin_test_data): Likewise.
12142 (asin_tonearest_test_data): Likewise.
12143 (asin_towardzero_test_data): Likewise.
12144 (asin_downward_test_data): Likewise.
12145 (asin_upward_test_data): Likewise.
12146 (asinh_test_data): Likewise.
12147 (atan_test_data): Likewise.
12148 (atanh_test_data): Likewise.
12149 (atan2_test_data): Likewise.
12150 (cabs_test_data): Likewise.
12151 (cacos_test_data): Likewise.
12152 (cacosh_test_data): Likewise.
12153 (carg_test_data): Likewise.
12154 (casin_test_data): Likewise.
12155 (casinh_test_data): Likewise.
12156 (catan_test_data): Likewise.
12157 (catanh_test_data): Likewise.
12158 (cbrt_test_data): Likewise.
12159 (ccos_test_data): Likewise.
12160 (ccosh_test_data): Likewise.
12161 (ceil_test_data): Likewise.
12162 (cexp_test_data): Likewise.
12163 (cimag_test_data): Likewise.
12164 (clog_test_data): Likewise.
12165 (clog10_test_data): Likewise.
12166 (conj_test_data): Likewise.
12167 (copysign_test_data): Likewise.
12168 (cos_test_data): Likewise.
12169 (cos_tonearest_test_data): Likewise.
12170 (cos_towardzero_test_data): Likewise.
12171 (cos_downward_test_data): Likewise.
12172 (cos_upward_test_data): Likewise.
12173 (cosh_test_data): Likewise.
12174 (cosh_tonearest_test_data): Likewise.
12175 (cosh_towardzero_test_data): Likewise.
12176 (cosh_downward_test_data): Likewise.
12177 (cosh_upward_test_data): Likewise.
12178 (cpow_test_data): Likewise.
12179 (cproj_test_data): Likewise.
12180 (creal_test_data): Likewise.
12181 (csin_test_data): Likewise.
12182 (csinh_test_data): Likewise.
12183 (csqrt_test_data): Likewise.
12184 (ctan_test_data): Likewise.
12185 (ctan_tonearest_test_data): Likewise.
12186 (ctan_towardzero_test_data): Likewise.
12187 (ctan_downward_test_data): Likewise.
12188 (ctan_upward_test_data): Likewise.
12189 (ctanh_test_data): Likewise.
12190 (ctanh_tonearest_test_data): Likewise.
12191 (ctanh_towardzero_test_data): Likewise.
12192 (ctanh_downward_test_data): Likewise.
12193 (ctanh_upward_test_data): Likewise.
12194 (erf_test_data): Likewise.
12195 (erfc_test_data): Likewise.
12196 (exp_test_data): Likewise.
12197 (exp_tonearest_test_data): Likewise.
12198 (exp_towardzero_test_data): Likewise.
12199 (exp_downward_test_data): Likewise.
12200 (exp_upward_test_data): Likewise.
12201 (exp10_test_data): Likewise.
12202 (exp2_test_data): Likewise.
12203 (expm1_test_data): Likewise.
12204 (fabs_test_data): Likewise.
12205 (fdim_test_data): Likewise.
12206 (finite_test_data): Likewise.
12207 (floor_test_data): Likewise.
12208 (fma_test_data): Likewise.
12209 (fma_towardzero_test_data): Likewise.
12210 (fma_downward_test_data): Likewise.
12211 (fma_upward_test_data): Likewise.
12212 (fmax_test_data): Likewise.
12213 (fmin_test_data): Likewise.
12214 (fmod_test_data): Likewise.
12215 (fpclassify_test_data): Likewise.
12216 (frexp_test_data): Likewise.
12217 (gamma_test_data): Likewise.
12218 (hypot_test_data): Likewise.
12219 (ilogb_test_data): Likewise.
12220 (isfinite_test_data): Likewise.
12221 (isgreater_test_data): Likewise.
12222 (isgreaterequal_test_data): Likewise.
12223 (isinf_test_data): Likewise.
12224 (isless_test_data): Likewise.
12225 (islessequal_test_data): Likewise.
12226 (islessgreater_test_data): Likewise.
12227 (isnan_test_data): Likewise.
12228 (isnormal_test_data): Likewise.
12229 (issignaling_test_data): Likewise.
12230 (isunordered_test_data): Likewise.
12231 (j0_test_data): Likewise.
12232 (j1_test_data): Likewise.
12233 (jn_test_data): Likewise.
12234 (ldexp_test_data): Likewise.
12235 (lgamma_test_data): Likewise.
12236 (lrint_test_data): Likewise.
12237 (lrint_tonearest_test_data): Likewise.
12238 (lrint_towardzero_test_data): Likewise.
12239 (lrint_downward_test_data): Likewise.
12240 (lrint_upward_test_data): Likewise.
12241 (llrint_test_data): Likewise.
12242 (llrint_tonearest_test_data): Likewise.
12243 (llrint_towardzero_test_data): Likewise.
12244 (llrint_downward_test_data): Likewise.
12245 (llrint_upward_test_data): Likewise.
12246 (log_test_data): Likewise.
12247 (log10_test_data): Likewise.
12248 (log1p_test_data): Likewise.
12249 (log2_test_data): Likewise.
12250 (logb_test_data): Likewise.
12251 (logb_downward_test_data): Likewise.
12252 (lround_test_data): Likewise.
12253 (llround_test_data): Likewise.
12254 (modf_test_data): Likewise.
12255 (nearbyint_test_data): Likewise.
12256 (nextafter_test_data): Likewise.
12257 (nexttoward_test_data): Likewise.
12258 (pow_test_data): Likewise.
12259 (pow_tonearest_test_data): Likewise.
12260 (pow_towardzero_test_data): Likewise.
12261 (pow_downward_test_data): Likewise.
12262 (pow_upward_test_data): Likewise.
12263 (remainder_test_data): Likewise.
12264 (remainder_tonearest_test_data): Likewise.
12265 (remainder_towardzero_test_data): Likewise.
12266 (remainder_downward_test_data): Likewise.
12267 (remainder_upward_test_data): Likewise.
12268 (remquo_test_data): Likewise.
12269 (rint_test_data): Likewise.
12270 (rint_tonearest_test_data): Likewise.
12271 (rint_towardzero_test_data): Likewise.
12272 (rint_downward_test_data): Likewise.
12273 (rint_upward_test_data): Likewise.
12274 (round_test_data): Likewise.
12275 (scalb_test_data): Likewise.
12276 (scalbn_test_data): Likewise.
12277 (scalbln_test_data): Likewise.
12278 (signbit_test_data): Likewise.
12279 (sin_test_data): Likewise.
12280 (sin_tonearest_test_data): Likewise.
12281 (sin_towardzero_test_data): Likewise.
12282 (sin_downward_test_data): Likewise.
12283 (sin_upward_test_data): Likewise.
12284 (sincos_test_data): Likewise.
12285 (sinh_test_data): Likewise.
12286 (sinh_tonearest_test_data): Likewise.
12287 (sinh_towardzero_test_data): Likewise.
12288 (sinh_downward_test_data): Likewise.
12289 (sinh_upward_test_data): Likewise.
12290 (sqrt_test_data): Likewise.
12291 (tan_test_data): Likewise.
12292 (tan_tonearest_test_data): Likewise.
12293 (tan_towardzero_test_data): Likewise.
12294 (tan_downward_test_data): Likewise.
12295 (tan_upward_test_data): Likewise.
12296 (tanh_test_data): Likewise.
12297 (tgamma_test_data): Likewise.
12298 (trunc_test_data): Likewise.
12299 (y0_test_data): Likewise.
12300 (y1_test_data): Likewise.
12301 (yn_test_data): Likewise.
12302 (significand_test_data): Likewise.
12303
b679a606
JM
12304 * math/gen-libm-test.pl (@functions): Remove variable.
12305 (generate_testfile): Don't handle START and END lines.
12306 * math/libm-test.inc (START): New macro.
12307 (END): Likewise.
12308 (END_COMPLEX): Likewise.
12309 (acos_test): Use END macro without arguments.
12310 (acos_test_tonearest): Likewise.
12311 (acos_test_towardzero): Likewise.
12312 (acos_test_downward): Likewise.
12313 (acos_test_upward): Likewise.
12314 (acosh_test): Likewise.
12315 (asin_test): Likewise.
12316 (asin_test_tonearest): Likewise.
12317 (asin_test_towardzero): Likewise.
12318 (asin_test_downward): Likewise.
12319 (asin_test_upward): Likewise.
12320 (asinh_test): Likewise.
12321 (atan_test): Likewise.
12322 (atanh_test): Likewise.
12323 (atan2_test): Likewise.
12324 (cabs_test): Likewise.
12325 (cacos_test): Use END_COMPLEX macro without arguments.
12326 (cacosh_test): Likewise.
12327 (carg_test): Use END macro without arguments.
12328 (casin_test): Use END_COMPLEX macro without arguments.
12329 (casinh_test): Likewise.
12330 (catan_test): Likewise.
12331 (catanh_test): Likewise.
12332 (cbrt_test): Use END macro without arguments.
12333 (ccos_test): Use END_COMPLEX macro without arguments.
12334 (ccosh_test): Likewise.
12335 (ceil_test): Use END macro without arguments.
12336 (cexp_test): Use END_COMPLEX macro without arguments.
12337 (cimag_test): Use END macro without arguments.
12338 (clog_test): Use END_COMPLEX macro without arguments.
12339 (clog10_test): Likewise.
12340 (conj_test): Likewise.
12341 (copysign_test): Use END macro without arguments.
12342 (cos_test): Likewise.
12343 (cos_test_tonearest): Likewise.
12344 (cos_test_towardzero): Likewise.
12345 (cos_test_downward): Likewise.
12346 (cos_test_upward): Likewise.
12347 (cosh_test): Likewise.
12348 (cosh_test_tonearest): Likewise.
12349 (cosh_test_towardzero): Likewise.
12350 (cosh_test_downward): Likewise.
12351 (cosh_test_upward): Likewise.
12352 (cpow_test): Use END_COMPLEX macro without arguments.
12353 (cproj_test): Likewise.
12354 (creal_test): Use END macro without arguments.
12355 (csin_test): Use END_COMPLEX macro without arguments.
12356 (csinh_test): Likewise.
12357 (csqrt_test): Likewise.
12358 (ctan_test): Likewise.
12359 (ctan_test_tonearest): Likewise.
12360 (ctan_test_towardzero): Likewise.
12361 (ctan_test_downward): Likewise.
12362 (ctan_test_upward): Likewise.
12363 (ctanh_test): Likewise.
12364 (ctanh_test_tonearest): Likewise.
12365 (ctanh_test_towardzero): Likewise.
12366 (ctanh_test_downward): Likewise.
12367 (ctanh_test_upward): Likewise.
12368 (erf_test): Use END macro without arguments.
12369 (erfc_test): Likewise.
12370 (exp_test): Likewise.
12371 (exp_test_tonearest): Likewise.
12372 (exp_test_towardzero): Likewise.
12373 (exp_test_downward): Likewise.
12374 (exp_test_upward): Likewise.
12375 (exp10_test): Likewise.
12376 (exp2_test): Likewise.
12377 (expm1_test): Likewise.
12378 (fabs_test): Likewise.
12379 (fdim_test): Likewise.
12380 (finite_test): Likewise.
12381 (floor_test): Likewise.
12382 (fma_test): Likewise.
12383 (fma_test_towardzero): Likewise.
12384 (fma_test_downward): Likewise.
12385 (fma_test_upward): Likewise.
12386 (fmax_test): Likewise.
12387 (fmin_test): Likewise.
12388 (fmod_test): Likewise.
12389 (fpclassify_test): Likewise.
12390 (frexp_test): Likewise.
12391 (gamma_test): Likewise.
12392 (hypot_test): Likewise.
12393 (ilogb_test): Likewise.
12394 (isfinite_test): Likewise.
12395 (isgreater_test): Likewise.
12396 (isgreaterequal_test): Likewise.
12397 (isinf_test): Likewise.
12398 (isless_test): Likewise.
12399 (islessequal_test): Likewise.
12400 (islessgreater_test): Likewise.
12401 (isnan_test): Likewise.
12402 (isnormal_test): Likewise.
12403 (issignaling_test): Likewise.
12404 (isunordered_test): Likewise.
12405 (j0_test): Likewise.
12406 (j1_test): Likewise.
12407 (jn_test): Likewise.
12408 (ldexp_test): Likewise.
12409 (lgamma_test): Likewise.
12410 (lrint_test): Likewise.
12411 (lrint_test_tonearest): Likewise.
12412 (lrint_test_towardzero): Likewise.
12413 (lrint_test_downward): Likewise.
12414 (lrint_test_upward): Likewise.
12415 (llrint_test): Likewise.
12416 (llrint_test_tonearest): Likewise.
12417 (llrint_test_towardzero): Likewise.
12418 (llrint_test_downward): Likewise.
12419 (llrint_test_upward): Likewise.
12420 (log_test): Likewise.
12421 (log10_test): Likewise.
12422 (log1p_test): Likewise.
12423 (log2_test): Likewise.
12424 (logb_test): Likewise.
12425 (logb_test_downward): Likewise.
12426 (lround_test): Likewise.
12427 (llround_test): Likewise.
12428 (modf_test): Likewise.
12429 (nearbyint_test): Likewise.
12430 (nextafter_test): Likewise.
12431 (nexttoward_test): Likewise.
12432 (pow_test): Likewise.
12433 (pow_test_tonearest): Likewise.
12434 (pow_test_towardzero): Likewise.
12435 (pow_test_downward): Likewise.
12436 (pow_test_upward): Likewise.
12437 (remainder_test): Likewise.
12438 (remainder_test_tonearest): Likewise.
12439 (remainder_test_towardzero): Likewise.
12440 (remainder_test_downward): Likewise.
12441 (remainder_test_upward): Likewise.
12442 (remquo_test): Likewise.
12443 (rint_test): Likewise.
12444 (rint_test_tonearest): Likewise.
12445 (rint_test_towardzero): Likewise.
12446 (rint_test_downward): Likewise.
12447 (rint_test_upward): Likewise.
12448 (round_test): Likewise.
12449 (scalb_test): Likewise.
12450 (scalbn_test): Likewise.
12451 (scalbln_test): Likewise.
12452 (signbit_test): Likewise.
12453 (sin_test): Likewise.
12454 (sin_test_tonearest): Likewise.
12455 (sin_test_towardzero): Likewise.
12456 (sin_test_downward): Likewise.
12457 (sin_test_upward): Likewise.
12458 (sincos_test): Likewise.
12459 (sinh_test): Likewise.
12460 (sinh_test_tonearest): Likewise.
12461 (sinh_test_towardzero): Likewise.
12462 (sinh_test_downward): Likewise.
12463 (sinh_test_upward): Likewise.
12464 (sqrt_test): Likewise.
12465 (tan_test): Likewise.
12466 (tan_test_tonearest): Likewise.
12467 (tan_test_towardzero): Likewise.
12468 (tan_test_downward): Likewise.
12469 (tan_test_upward): Likewise.
12470 (tanh_test): Likewise.
12471 (tgamma_test): Likewise.
12472 (trunc_test): Likewise.
12473 (y0_test): Likewise.
12474 (y1_test): Likewise.
12475 (yn_test): Likewise.
12476 (significand_test): Likewise.
12477
bae143d2
OB
124782013-05-24 Ondřej Bílka <neleai@seznam.cz>
12479
12480 [BZ #15381]
12481 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12482
9323d39b
EM
124832013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12484
d4ea44a0 12485 [BZ #14894]
9323d39b
EM
12486 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12487 __ppc_mdoio and __ppc_mdoom.
12488 * manual/platform.texi: Document new functions __ppc_yield,
12489 __ppc_mdoio and __ppc_mdoom.
12490
13e23af7
CD
124912013-05-22 Carlos O'Donell <carlos@redhat.com>
12492
12493 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12494 (main): Mention "tls" pseudo-hwcap is legacy.
12495 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12496
351fe550
JM
124972013-05-22 Joseph Myers <joseph@codesourcery.com>
12498
12499 * math/gen-libm-test.pl (parse_args): Output only string of
12500 arguments as text for test name, not full call or descriptions of
12501 tests for extra outputs.
12502 (generate_testfile): Do not pass function name to parse_args.
12503 Generate this_func variable from START.
12504 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12505 field to arg_str.
12506 (struct test_ff_f_data): Likewise.
12507 (test_ff_f_data_nexttoward): Likewise.
12508 (struct test_fi_f_data): Likewise.
12509 (struct test_fl_f_data): Likewise.
12510 (struct test_if_f_data): Likewise.
12511 (struct test_fff_f_data): Likewise.
12512 (struct test_c_f_data): Likewise.
12513 (struct test_f_f1_data): Likewise. Remove field extra_name.
12514 (struct test_fF_f1_data): Likewise.
12515 (struct test_ffI_f1_data): Likewise.
12516 (struct test_c_c_data): Rename test_name field to arg_str.
12517 (struct test_cc_c_data): Likewise.
12518 (struct test_f_i_data): Likewise.
12519 (struct test_ff_i_data): Likewise.
12520 (struct test_f_l_data): Likewise.
12521 (struct test_f_L_data): Likewise.
12522 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12523 and extra2_name.
12524 (COMMON_TEST_SETUP): New macro.
12525 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12526 (COMMON_TEST_CLEANUP): Likewise.
12527 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12528 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12529 macros.
12530 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12531 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12532 macros.
12533 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12534 (RUN_TEST_fff_f): Take argument string. Call new setup and
12535 cleanup macros.
12536 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12537 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12538 macros.
12539 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12540 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12541 macros.
12542 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12543 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12544 cleanup macros.
12545 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12546 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12547 cleanup macros.
12548 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12549 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12550 cleanup macros.
12551 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12552 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12553 macros.
12554 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12555 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12556 macros.
12557 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12558 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12559 macros.
12560 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12561 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12562 cleanup macros.
12563 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12564 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12565 cleanup macros.
12566 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12567 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12568 macros.
12569 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12570 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12571 cleanup macros.
12572 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12573 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12574 macros.
12575 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12576 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12577 macros.
12578 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12579 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12580 cleanup macros.
12581 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12582
85118d4d
EBM
125832013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12584
12585 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12586 to _sifields.sigfault.
12587 (si_addr_lsb): Define new macro.
12588 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12589 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12590 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12591
7a44c18f
CD
125922013-05-03 Carlos O'Donell <carlos at redhat.com>
12593
12594 [BZ #15441]
12595 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12596 returns -1.
12597 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12598 null return -1.
12599 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12600 loading the domain.
12601
b50a7181
JM
126022013-05-22 Joseph Myers <joseph@codesourcery.com>
12603
12604 * math/gen-libm-test.pl (parse_args): Do not include expected
12605 result in test name.
12606 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12607 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12608 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12609 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12610 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12612
051063c8
SP
126132013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12614
3ce9e010
SP
12615 * benchtests/Makefile: Sort function entries.
12616
051063c8
SP
12617 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12618 tanh, asinh, acosh, atanh.
12619 * benchtests/acos-inputs: New file.
12620 * benchtests/acosh-inputs: New file.
12621 * benchtests/asin-inputs: New file.
12622 * benchtests/asinh-inputs: New file.
12623 * benchtests/atanh-inputs: New file.
12624 * benchtests/cosh-inputs: New file.
12625 * benchtests/log-inputs: New file.
12626 * benchtests/sinh-inputs: New file.
12627 * benchtests/tanh-inputs: New file.
12628
47c22455
DL
126292013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12630
12631 [BZ #15339]
12632 * posix/tst-getaddrinfo4.c: New test.
12633 * posix/Makefile (tests): Add it.
12634
3d04f5db
SP
126352013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12636
12637 [BZ #15339]
12638 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12639 when no services were used.
12640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12641 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12642
d5dd6189
AS
126432013-05-21 Andreas Schwab <schwab@suse.de>
12644
12645 [BZ #15014]
12646 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12647 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12648 successful.
12649 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12650 redundant variable declarations and reallocation of buffer when
12651 parsing as IPv6 address. Always set NSS status when called from
12652 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12653 buffer too small. Correct computation of needed size.
12654 * nss/Makefile (tests): Add test-digits-dots.
12655 * nss/test-digits-dots.c: New test.
12656
fef94eab
SP
126572013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12658
12659 * benchtests/Makefile: Remove instructions for adding
12660 benchmark tests.
12661 * benchtests/README: New file to explain how to execute and
12662 enhance the benchmark tests.
12663
e39adf43
AS
126642013-05-21 Andreas Schwab <schwab@suse.de>
12665
12666 [BZ #15493]
12667 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12668 * setjmp/tst-sigsetjmp.c: New test.
12669
b2b671b6
OB
126702013-05-20 Ondřej Bílka <neleai@seznam.cz>
12671
12672 * sysdeps/x86_64/memset.S (memset): New implementation.
12673 (__bzero): Likewise.
12674 (__memset_tail): New function.
12675
2d48b41c
OB
126762013-05-20 Ondřej Bílka <neleai@seznam.cz>
12677
12678 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12679 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12680 __memcpy_sse2_unaligned ifunc selection.
12681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12682 Add memcpy-sse2-unaligned.S.
12683 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12684 Add: __memcpy_sse2_unaligned.
12685
f16cc3eb
JM
126862013-05-19 Joseph Myers <joseph@codesourcery.com>
12687
3e694268
JM
12688 [BZ #15490]
12689 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12690 math_force_eval before restoring floating-point envrionment.
12691 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12692 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12693 Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12695 <math_private.h>.
12696 (__nearbyintl): Use math_force_eval before restoring
12697 floating-point environment.
12698 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12699
db62a907
JM
12700 * math/gen-libm-test.pl (special_functions): Remove.
12701 (parse_args): Don't handle TEST_extra. Handle functions with no
12702 return value.
12703 * math/libm-test.inc (struct test_sincos_data): Replace with
12704 struct test_fFF_11_data.
12705 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12706 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12707 (sincos_test_data): Change element type to struct
12708 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12709 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12710 RUN_TEST_LOOP_sincos.
12711 * math/README.libm-test: Don't mention special handling of
12712 individual functions.
12713 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12714 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12715 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12716 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12717 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12719
f16cc3eb
JM
12720 * math/gen-libm-test.pl (get_variable): Remove function.
12721 (parse_args): Don't show pointer parameters to call in test
12722 names. Use "extra output N" in test names for extra outputs
12723 rather than naming variables.
12724
3779b5b6
JM
127252013-05-18 Joseph Myers <joseph@codesourcery.com>
12726
2ee094ff
JM
12727 [BZ #15488]
12728 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12729 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12730 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12731 double tests.
12732 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12733 disable.
12734 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12735 check_long_double.
12736
3779b5b6
JM
12737 * math/gen-libm-test.pl (@tests): Remove variable.
12738 ($count): Likewise.
12739 (new_test): Remove function.
12740 (show_exceptions): New function.
12741 (special_functions): Use show_exceptions instead of new_test.
12742 (parse_args): Likewise.
12743 (generate_testfile): Pass only function name in generated call to
12744 print_max_error or print_complex_max_error.
12745 (get_ulps): Do not handle complex tests specially.
12746 (output_test): Rename to ...
12747 (get_all_ulps_for_test): ... this. Return a string rather than
12748 printing to a file. Require ulps to be present.
12749 (output_ulps): Generate arrays rather than #defines.
12750 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12751 (struct ulp_data): New type.
12752 (BUILD_COMPLEX_ULP): Remove macro.
12753 (compare_ulp_data): New function.
12754 (find_ulps): Likewise.
12755 (find_test_ulps): Likewise.
12756 (find_function_ulps): Likewise.
12757 (find_complex_function_ulps): Likewise.
12758 (print_max_error): Determine allowed ulps using
12759 find_function_ulps.
12760 (print_complex_max_error): Determine allowed ulps using
12761 find_complex_function_ulps.
12762 (check_float_internal): Determine max ulps using find_test_ulps.
12763 (check_float): Do not take max_ulp parameter. Update call to
12764 check_float_internal.
12765 (check_complex): Likewise.
12766 (check_int): Do not take max_ulp parameter.
12767 (check_long): Likewise.
12768 (check_bool): Likewise.
12769 (check_longlong): Likewise.
12770 (struct test_f_f_data): Remove max_ulp field.
12771 (struct test_ff_f_data): Likewise.
12772 (struct test_ff_f_data_nexttoward): Likewise.
12773 (struct test_fi_f_data): Likewise.
12774 (struct test_fl_f_data): Likewise.
12775 (struct test_if_f_data): Likewise.
12776 (struct test_fff_f_data): Likewise.
12777 (struct test_c_f_data): Likewise.
12778 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12779 (struct test_fF_f1_data): Likewise.
12780 (struct test_ffI_f1_data): Likewise.
12781 (struct test_c_c_data): Remove max_ulp field.
12782 (struct test_cc_c_data): Likewise.
12783 (struct test_f_i_data): Likewise.
12784 (struct test_ff_i_data): Likewise.
12785 (struct test_f_l_data): Likewise.
12786 (struct test_f_L_data): Likewise.
12787 (struct test_sincos_data): Likewise.
12788 (RUN_TEST_f_f): Do not handle ulps.
12789 (RUN_TEST_LOOP_f_f): Likewise.
12790 (RUN_TEST_2_f): Likewise.
12791 (RUN_TEST_LOOP_2_f): Likewise.
12792 (RUN_TEST_fff_f): Likewise.
12793 (RUN_TEST_LOOP_fff_f): Likewise.
12794 (RUN_TEST_c_f): Likewise.
12795 (RUN_TEST_LOOP_c_f): Likewise.
12796 (RUN_TEST_f_f1): Likewise.
12797 (RUN_TEST_LOOP_f_f1): Likewise.
12798 (RUN_TEST_fF_f1): Likewise.
12799 (RUN_TEST_LOOP_fF_f1): Likewise.
12800 (RUN_TEST_fI_f1): Likewise.
12801 (RUN_TEST_LOOP_fI_f1): Likewise.
12802 (RUN_TEST_ffI_f1): Likewise.
12803 (RUN_TEST_LOOP_ffI_f1): Likewise.
12804 (RUN_TEST_c_c): Likewise.
12805 (RUN_TEST_LOOP_c_c): Likewise.
12806 (RUN_TEST_cc_c): Likewise.
12807 (RUN_TEST_LOOP_cc_c): Likewise.
12808 (RUN_TEST_f_i): Likewise.
12809 (RUN_TEST_LOOP_f_i): Likewise.
12810 (RUN_TEST_f_i_tg): Likewise.
12811 (RUN_TEST_LOOP_f_i_tg): Likewise.
12812 (RUN_TEST_ff_i_tg): Likewise.
12813 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12814 (RUN_TEST_f_b): Likewise.
12815 (RUN_TEST_LOOP_f_b): Likewise.
12816 (RUN_TEST_f_b_tg): Likewise.
12817 (RUN_TEST_LOOP_f_b_tg): Likewise.
12818 (RUN_TEST_f_l): Likewise.
12819 (RUN_TEST_LOOP_f_l): Likewise.
12820 (RUN_TEST_f_L): Likewise.
12821 (RUN_TEST_LOOP_f_L): Likewise.
12822 (RUN_TEST_sincos): Likewise.
12823 (RUN_TEST_LOOP_sincos): Likewise.
12824
8269107f
JM
128252013-05-17 Joseph Myers <joseph@codesourcery.com>
12826
bb38759d
JM
12827 [BZ #15480]
12828 [BZ #15485]
12829 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12830 main case of finite arguments, set rounding mode to FE_TONEAREST
12831 and discard exceptions.
12832 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12833 exceptions.
12834 (remainder_tonearest_test_data): New variable.
12835 (remainder_test_tonearest): New function.
12836 (remainder_towardzero_test_data): New variable.
12837 (remainder_test_towardzero): New function.
12838 (remainder_downward_test_data): New variable.
12839 (remainder_test_downward): New function.
12840 (remainder_upward_test_data): New variable.
12841 (remainder_test_upward): New function.
12842 (main): Call the new test functions.
12843
a00bdcf0
JM
12844 * math/libm-test.inc (struct test_f_f1_data): Remove field
12845 extra_init.
12846 (struct test_fF_f1_data): Likewise.
12847 (struct test_ffI_f1_data): Likewise.
12848 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12849 based on value of EXTRA_EXPECTED.
12850 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12851 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12852 EXTRA_VAR based on value of EXTRA_EXPECTED.
12853 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12854 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12855 EXTRA_VAR based on value of EXTRA_EXPECTED.
12856 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12857 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12858 EXTRA_VAR based on value of EXTRA_EXPECTED.
12859 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12860 * math/gen-libm-test.pl (parse_args): Don't output initializers
12861 for extra output values.
12862
de407f79
JM
12863 * math/libm-test.inc (check_int): Expect result to be exactly
12864 equal to expected value and do not handle ulps.
12865 (check_long): Likewise.
12866 (check_longlong): Likewise.
12867
8269107f
JM
12868 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12869 exceptions.
12870 (cimag_test_data): Likewise.
12871 (conj_test_data): Likewise.
12872 (copysign_test_data): Likewise.
12873 (cproj_test_data): Likewise.
12874 (creal_test_data): Likewise.
12875 (fabs_test_data): Likewise.
12876 (fdim_test_data): Likewise.
12877 (finite_test_data): Likewise.
12878 (floor_test_data): Likewise.
12879 (fmax_test_data): Likewise.
12880 (fmin_test_data): Likewise.
12881 (fmod_test_data): Likewise.
12882 (fpclassify_test_data): Likewise.
12883 (frexp_test_data): Likewise.
12884 (ilogb_test_data): Likewise.
12885 (isfinite_test_data): Likewise.
12886 (isgreater_test_data): Likewise.
12887 (isgreaterequal_test_data): Likewise.
12888 (isinf_test_data): Likewise.
12889 (isless_test_data): Likewise.
12890 (islessequal_test_data): Likewise.
12891 (islessgreater_test_data): Likewise.
12892 (isnan_test_data): Likewise.
12893 (isnormal_test_data): Likewise.
12894 (issignaling_test_data): Likewise.
12895 (isunordered_test_data): Likewise.
12896 (ldexp_test_data): Likewise.
12897 (lrint_test_data): Likewise.
12898 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12899 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12900 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12901 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12902 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12903 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12904 test input.
12905 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12906 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12907 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12908 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12909 that test input.
12910 (lrint_downward_test_data): Test for "inexact" exceptions.
12911 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12912 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12913 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12914 test input.
12915 (lrint_upward_test_data): Test for "inexact" exceptions.
12916 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12917 test input.
12918 (llrint_test_data): Test for "inexact" exceptions.
12919 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12920 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12921 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12922 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12923 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12924 (llrint_downward_test_data): Test for "inexact" exceptions.
12925 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12926 (llrint_upward_test_data): Test for "inexact" exceptions.
12927 (logb_test_data): Likewise.
12928 (logb_downward_test_data): Likewise.
12929 (nextafter_test_data): Likewise.
12930 (nexttoward_test_data): Likewise.
12931 (remainder_test_data): Likewise.
12932 (remquo_test_data): Likewise.
12933 (scalbn_test_data): Likewise.
12934 (scalbln_test_data): Likewise.
12935 (signbit_test_data): Likewise.
12936 (sqrt_test_data): Likewise.
12937 (significand_test_data): Likewise.
12938
48a18de1
SP
129392013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12940
12941 [BZ #15424]
12942 * benchtests/bench-modf.c (struct args): Mark arg0 as
12943 volatile.
12944 * scripts/bench.pl: Mark members of struct args as volatile.
12945
13d3b41a
AZ
129462013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12947
68191c1d 12948 [BZ # 15497]
13d3b41a
AZ
12949 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12950 negative infinity on POWER6 or lower.
12951 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12952
2848b105
MR
129532013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12954
12955 [BZ #15442]
12956 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12957 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12958 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12959 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12960 (_FP_SETQNAN): New macro.
12961 (_FP_SETQNAN_SEMIRAW): Likewise.
12962 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12963 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12964 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12965 (FP_EXTEND): Use _FP_FRAC_SNANP.
12966 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12967 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12968 into account.
12969 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12970 New macro.
12971 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12972 Likewise.
12973
323e5cb7
JM
129742013-05-16 Joseph Myers <joseph@codesourcery.com>
12975
c58b274f
JM
12976 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12977 with DIVIDE_BY_ZERO_EXCEPTION.
12978 (gamma_test_data): Likewise.
12979 (lgamma_test_data): Likewise.
12980 (log_test_data): Likewise.
12981 (log10_test_data): Likewise.
12982 (log2_test_data): Likewise.
12983 (tgamma_test_data): Likewise.
12984
0ab34904
JM
12985 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12986 (acos_test_tonearest): Likewise.
12987 (acos_test_towardzero): Likewise.
12988 (acos_test_downward): Likewise.
12989 (acos_test_upward): Likewise.
12990 (acosh_test): Likewise.
12991 (asin_test): Likewise.
12992 (asin_test_tonearest): Likewise.
12993 (asin_test_towardzero): Likewise.
12994 (asin_test_downward): Likewise.
12995 (asin_test_upward): Likewise.
12996 (asinh_test): Likewise.
12997 (atan_test): Likewise.
12998 (atanh_test): Likewise.
12999 (atan2_test): Likewise.
13000 (cabs_test): Likewise.
13001 (cacos_test): Likewise.
13002 (cacosh_test): Likewise.
13003 (casin_test): Likewise.
13004 (casinh_test): Likewise.
13005 (catan_test): Likewise.
13006 (catanh_test): Likewise.
13007 (cbrt_test): Likewise.
13008 (ccos_test): Likewise.
13009 (ccosh_test): Likewise.
13010 (cexp_test): Likewise.
13011 (clog_test): Likewise.
13012 (clog10_test): Likewise.
13013 (cos_test): Likewise.
13014 (cos_test_tonearest): Likewise.
13015 (cos_test_towardzero): Likewise.
13016 (cos_test_downward): Likewise.
13017 (cos_test_upward): Likewise.
13018 (cosh_test): Likewise.
13019 (cosh_test_tonearest): Likewise.
13020 (cosh_test_towardzero): Likewise.
13021 (cosh_test_downward): Likewise.
13022 (cosh_test_upward): Likewise.
13023 (cpow_test): Likewise.
13024 (csin_test): Likewise.
13025 (csinh_test): Likewise.
13026 (csqrt_test): Likewise.
13027 (ctan_test): Likewise.
13028 (ctan_test_tonearest): Likewise.
13029 (ctan_test_towardzero): Likewise.
13030 (ctan_test_downward): Likewise.
13031 (ctan_test_upward): Likewise.
13032 (ctanh_test): Likewise.
13033 (ctanh_test_tonearest): Likewise.
13034 (ctanh_test_towardzero): Likewise.
13035 (ctanh_test_downward): Likewise.
13036 (ctanh_test_upward): Likewise.
13037 (erf_test): Likewise.
13038 (erfc_test): Likewise.
13039 (exp_test): Likewise.
13040 (exp_test_tonearest): Likewise.
13041 (exp_test_towardzero): Likewise.
13042 (exp_test_downward): Likewise.
13043 (exp_test_upward): Likewise.
13044 (exp10_test): Likewise.
13045 (exp2_test): Likewise.
13046 (expm1_test): Likewise.
13047 (fmod_test): Likewise.
13048 (gamma_test): Likewise.
13049 (hypot_test): Likewise.
13050 (j0_test): Likewise.
13051 (j1_test): Likewise.
13052 (jn_test): Likewise.
13053 (lgamma_test): Likewise.
13054 (log_test): Likewise.
13055 (log10_test): Likewise.
13056 (log1p_test): Likewise.
13057 (log2_test): Likewise.
13058 (logb_test_downward): Likewise.
13059 (pow_test): Likewise.
13060 (pow_test_tonearest): Likewise.
13061 (pow_test_towardzero): Likewise.
13062 (pow_test_downward): Likewise.
13063 (pow_test_upward): Likewise.
13064 (remainder_test): Likewise.
13065 (remquo_test): Likewise.
13066 (sin_test): Likewise.
13067 (sin_test_tonearest): Likewise.
13068 (sin_test_towardzero): Likewise.
13069 (sin_test_downward): Likewise.
13070 (sin_test_upward): Likewise.
13071 (sincos_test): Likewise.
13072 (sinh_test): Likewise.
13073 (sinh_test_tonearest): Likewise.
13074 (sinh_test_towardzero): Likewise.
13075 (sinh_test_downward): Likewise.
13076 (sinh_test_upward): Likewise.
13077 (sqrt_test): Likewise.
13078 (tan_test): Likewise.
13079 (tan_test_tonearest): Likewise.
13080 (tan_test_towardzero): Likewise.
13081 (tan_test_downward): Likewise.
13082 (tan_test_upward): Likewise.
13083 (tanh_test): Likewise.
13084 (tgamma_test): Likewise.
13085 (y0_test): Likewise.
13086 (y1_test): Likewise.
13087 (yn_test): Likewise.
13088
323e5cb7
JM
13089 * math/gen-libm-test.pl (adjust_arg): Remove function.
13090 (special_function): Remove argument $in_func. Only handle
13091 generating output for tables of tests, not inside functions.
13092 (parse_args): Likewise.
13093 (generate_testfile): Remove variable $in_func. Update call to
13094 parse_args.
13095 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13096 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13097 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13098 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13099 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13100 (MAX_VALUE_INIT): Rename macro to max_value.
13101 (MIN_VALUE_INIT): Rename macro to min_value.
13102 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13103 (plus_zero): Remove variable.
13104 (minus_zero): Likewise.
13105 (plus_infty): Likewise.
13106 (minus_infty): Likewise.
13107 (qnan_value): Likewise.
13108 (max_value): Likewise.
13109 (min_value): Likewise.
13110 (min_subnorm_value): Likewise.
13111
e054f494
RA
131122013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13113
13114 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13115 uint64_t or uint32_t usage.
13116 * crypt/sha256-block.c: Likewise.
13117 * crypt/sha256-crypt.c: Likewise.
13118 * crypt/sha256.c: Likewise.
13119 * crypt/sha512-block.c: Likewise.
13120 * crypt/sha512-crypt.c: Likewise.
13121 * crypt/sha512.c: Likewise.
13122 * debug/backtrace-tst.c: Likewise.
13123 * debug/pcprofiledump.c: Likewise.
13124 * elf/cache.c: Likewise.
13125 * elf/dl-cache.c: Likewise.
13126 * elf/dl-misc.c: Likewise.
13127 * elf/dl-profile.c: Likewise.
13128 * elf/dl-support.c: Likewise.
13129 * elf/ldconfig.c: Likewise.
13130 * elf/sprof.c: Likewise.
13131 * iconv/dummy-repertoire.c: Likewise.
13132 * iconv/iconv_charmap.c: Likewise.
13133 * iconv/skeleton.c: Likewise.
13134 * iconvdata/8bit-generic.c: Likewise.
13135 * iconvdata/cp737.h: Likewise.
13136 * iconvdata/cp775.h: Likewise.
13137 * iconvdata/ibm1008.h: Likewise.
13138 * iconvdata/ibm1025.h: Likewise.
13139 * iconvdata/ibm1046.h: Likewise.
13140 * iconvdata/ibm1097.h: Likewise.
13141 * iconvdata/ibm1112.h: Likewise.
13142 * iconvdata/ibm1122.h: Likewise.
13143 * iconvdata/ibm1123.h: Likewise.
13144 * iconvdata/ibm1124.h: Likewise.
13145 * iconvdata/ibm1129.h: Likewise.
13146 * iconvdata/ibm1130.h: Likewise.
13147 * iconvdata/ibm1132.h: Likewise.
13148 * iconvdata/ibm1133.h: Likewise.
13149 * iconvdata/ibm1137.h: Likewise.
13150 * iconvdata/ibm1140.h: Likewise.
13151 * iconvdata/ibm1141.h: Likewise.
13152 * iconvdata/ibm1142.h: Likewise.
13153 * iconvdata/ibm1143.h: Likewise.
13154 * iconvdata/ibm1144.h: Likewise.
13155 * iconvdata/ibm1145.h: Likewise.
13156 * iconvdata/ibm1146.h: Likewise.
13157 * iconvdata/ibm1147.h: Likewise.
13158 * iconvdata/ibm1148.h: Likewise.
13159 * iconvdata/ibm1149.h: Likewise.
13160 * iconvdata/ibm1153.h: Likewise.
13161 * iconvdata/ibm1154.h: Likewise.
13162 * iconvdata/ibm1155.h: Likewise.
13163 * iconvdata/ibm1156.h: Likewise.
13164 * iconvdata/ibm1157.h: Likewise.
13165 * iconvdata/ibm1158.h: Likewise.
13166 * iconvdata/ibm1160.h: Likewise.
13167 * iconvdata/ibm1161.h: Likewise.
13168 * iconvdata/ibm1162.h: Likewise.
13169 * iconvdata/ibm1163.h: Likewise.
13170 * iconvdata/ibm1164.h: Likewise.
13171 * iconvdata/ibm1166.h: Likewise.
13172 * iconvdata/ibm1167.h: Likewise.
13173 * iconvdata/ibm12712.h: Likewise.
13174 * iconvdata/ibm1390.h: Likewise.
13175 * iconvdata/ibm1399.h: Likewise.
13176 * iconvdata/ibm16804.h: Likewise.
13177 * iconvdata/ibm4517.h: Likewise.
13178 * iconvdata/ibm4899.h: Likewise.
13179 * iconvdata/ibm4909.h: Likewise.
13180 * iconvdata/ibm4971.h: Likewise.
13181 * iconvdata/ibm5347.h: Likewise.
13182 * iconvdata/ibm803.h: Likewise.
13183 * iconvdata/ibm856.h: Likewise.
13184 * iconvdata/ibm901.h: Likewise.
13185 * iconvdata/ibm902.h: Likewise.
13186 * iconvdata/ibm9030.h: Likewise.
13187 * iconvdata/ibm9066.h: Likewise.
13188 * iconvdata/ibm921.h: Likewise.
13189 * iconvdata/ibm922.h: Likewise.
13190 * iconvdata/ibm9448.h: Likewise.
13191 * iconvdata/isiri-3342.h: Likewise.
13192 * iconvdata/jis0201.h: Likewise.
13193 * include/link.h: Likewise.
13194 * include/netdb.h: Likewise.
13195 * inet/check_native.c: Likewise.
13196 * inet/check_pf.c: Likewise.
13197 * inet/getipv4sourcefilter.c: Likewise.
13198 * inet/getnameinfo.c: Likewise.
13199 * inet/getsourcefilter.c: Likewise.
13200 * inet/htonl.c: Likewise.
13201 * inet/setipv4sourcefilter.c: Likewise.
13202 * inet/setsourcefilter.c: Likewise.
13203 * inet/test-inet6_opt.c: Likewise.
13204 * inet/tst-network.c: Likewise.
13205 * locale/C-collate.c: Likewise.
13206 * locale/C-ctype.c: Likewise.
13207 * locale/C-time.c: Likewise.
13208 * locale/C-translit.h: Likewise.
13209 * locale/loadarchive.c: Likewise.
13210 * locale/programs/3level.h: Likewise.
13211 * locale/programs/charmap.c: Likewise.
13212 * locale/programs/charmap.h: Likewise.
13213 * locale/programs/ld-address.c: Likewise.
13214 * locale/programs/ld-collate.c: Likewise.
13215 * locale/programs/ld-ctype.c: Likewise.
13216 * locale/programs/ld-identification.c: Likewise.
13217 * locale/programs/ld-measurement.c: Likewise.
13218 * locale/programs/ld-messages.c: Likewise.
13219 * locale/programs/ld-monetary.c: Likewise.
13220 * locale/programs/ld-name.c: Likewise.
13221 * locale/programs/ld-numeric.c: Likewise.
13222 * locale/programs/ld-paper.c: Likewise.
13223 * locale/programs/ld-telephone.c: Likewise.
13224 * locale/programs/ld-time.c: Likewise.
13225 * locale/programs/linereader.c: Likewise.
13226 * locale/programs/locale.c: Likewise.
13227 * locale/programs/locarchive.c: Likewise.
13228 * locale/programs/locfile.h: Likewise.
13229 * locale/programs/repertoire.c: Likewise.
13230 * locale/programs/simple-hash.c: Likewise.
13231 * locale/programs/simple-hash.h: Likewise.
13232 * malloc/memusage.c: Likewise.
13233 * malloc/memusagestat.c: Likewise.
13234 * nis/nis_defaults.c: Likewise.
13235 * nis/nis_hash.c: Likewise.
13236 * nis/nis_print.c: Likewise.
13237 * nis/nis_xdr.c: Likewise.
13238 * nscd/connections.c: Likewise.
13239 * nscd/hstcache.c: Likewise.
13240 * nscd/nscd_gethst_r.c: Likewise.
13241 * nscd/nscd_getserv_r.c: Likewise.
13242 * nscd/nscd_helper.c: Likewise.
13243 * nscd/servicescache.c: Likewise.
13244 * nss/makedb.c: Likewise.
13245 * nss/nss_db/db-XXX.c: Likewise.
13246 * nss/nss_db/db-initgroups.c: Likewise.
13247 * nss/nss_db/db-netgrp.c: Likewise.
13248 * nss/nss_files/files-network.c: Likewise.
13249 * nss/nss_files/files-parse.c: Likewise.
13250 * posix/bug-regex5.c: Likewise.
13251 * posix/fnmatch_loop.c: Likewise.
13252 * posix/regcomp.c: Likewise.
13253 * posix/regexec.c: Likewise.
13254 * posix/tst-rfc3484-2.c: Likewise.
13255 * posix/tst-rfc3484-3.c: Likewise.
13256 * posix/tst-rfc3484.c: Likewise.
13257 * resolv/nss_dns/dns-canon.c: Likewise.
13258 * resolv/nss_dns/dns-network.c: Likewise.
13259 * resolv/res_init.c: Likewise.
13260 * resolv/res_mkquery.c: Likewise.
13261 * resolv/tst-aton.c: Likewise.
13262 * stdlib/cxa_atexit.c: Likewise.
13263 * stdlib/cxa_finalize.c: Likewise.
13264 * stdlib/gen-fpioconst.c: Likewise.
13265 * stdlib/strtol_l.c: Likewise.
13266 * string/tst-endian.c: Likewise.
13267 * sunrpc/auth_des.c: Likewise.
13268 * sunrpc/clnt_udp.c: Likewise.
13269 * sunrpc/rtime.c: Likewise.
13270 * sunrpc/svcauth_des.c: Likewise.
13271 * sunrpc/xdr.c: Likewise.
13272 * sunrpc/xdr_intXX_t.c: Likewise.
13273 * sunrpc/xdr_rec.c: Likewise.
13274 * sysdeps/generic/ldconfig.h: Likewise.
13275 * sysdeps/generic/ldsodefs.h: Likewise.
13276 * sysdeps/generic/memusage.h: Likewise.
13277 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13278 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13279 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13280 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13282 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13287 * sysdeps/posix/getaddrinfo.c: Likewise.
13288 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13289 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13290 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13291 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13292 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13293 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13294 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13295 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13296 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13297 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13298 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13299 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13300 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13301 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13302 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13303 * sysdeps/x86_64/dl-tls.h: Likewise.
13304 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13305 * time/alt_digit.c: Likewise.
13306 * time/era.c: Likewise.
13307 * wcsmbs/tst-c16c32-1.c: Likewise.
13308
8c75f674
JM
133092013-05-16 Joseph Myers <joseph@codesourcery.com>
13310
13311 * math/libm-test.inc (struct test_sincos_data): New type.
13312 (RUN_TEST_LOOP_sincos): New macro.
13313 (sincos_test_data): New variable.
13314 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13315
e6e49e59
RH
133162013-05-16 Richard Henderson <rth@redhat.com>
13317
13318 * math/atest-exp2.c (LIMB64): New macro.
13319 (CONSTSZ): New macro.
13320 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13321 (hexdig): Move ...
13322 (print_mpn_fp): ... to function scope.
13323 (read_mpn_hex): Remove.
13324 (get_log2): Remove.
13325 (exp2_mpn): Use mp_log2.
13326 (main): Use mp_exp1.
13327
15c7c18d
JM
133282013-05-16 Joseph Myers <joseph@codesourcery.com>
13329
105a07df
JM
13330 * math/libm-test.inc: Remove comment about not testing "inexact"
13331 exceptions.
13332 (INEXACT_EXCEPTION): New macro.
13333 (NO_INEXACT_EXCEPTION): Likewise.
13334 (INVALID_EXCEPTION_OK): Update value.
13335 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13336 (OVERFLOW_EXCEPTION_OK): Likewise.
13337 (UNDERFLOW_EXCEPTION_OK): Likewise.
13338 (IGNORE_ZERO_INF_SIGN): Likewise.
13339 (ERRNO_UNCHANGED): Likewise.
13340 (ERRNO_EDOM): Likewise.
13341 (ERRNO_ERANGE): Likewise.
13342 (test_exceptions): Handle testing "inexact" exceptions.
13343 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13344 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13345 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13346 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13347 INEXACT_EXCEPTION.
13348 (rint_towardzero_test_data): Likewise.
13349 (rint_downward_test_data): Likewise.
13350 (rint_upward_test_data): Likewise.
13351
e9eee333
JM
13352 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13353 with OVERFLOW_EXCEPTION.
13354 (exp10_test_data): Likewise.
13355 (exp2_test_data): Likewise.
13356 (expm1_test_data): Likewise.
13357 (lgamma_test_data): Likewise.
13358 (pow_test_data): Likewise.
13359 (tgamma_test_data): Likewise.
13360 (yn_test_data): Remove duplicate test of overflow.
13361
1c38ff73
JM
13362 * math/libm-test.inc (struct test_cc_c_data): New type.
13363 (RUN_TEST_LOOP_cc_c): New macro.
13364 (cpow_test_data): New variable.
13365 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13366
15c7c18d
JM
13367 * math/libm-test.inc (struct test_f_L_data): New type.
13368 (RUN_TEST_LOOP_f_L): New macro.
13369 (llrint_test_data): New variable.
13370 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13371 (llrint_tonearest_test_data): New variable.
13372 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13373 (llrint_towardzero_test_data): New variable.
13374 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13375 (llrint_downward_test_data): New variable.
13376 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13377 (llrint_upward_test_data): New variable.
13378 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13379 (llround_test_data): New variable.
13380 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13381
f137ff13
PC
133822013-05-13 Peter Collingbourne <pcc@google.com>
13383
13384 * math/atest-exp2.c (get_log2): Remove const attribute.
13385
3608cb24
JM
133862013-05-15 Joseph Myers <joseph@codesourcery.com>
13387
13388 * math/libm-test.inc (struct test_f_l_data): New type.
13389 (RUN_TEST_LOOP_f_l): New macro.
13390 (lrint_test_data): New variable.
13391 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13392 (lrint_tonearest_test_data): New variable.
13393 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13394 (lrint_towardzero_test_data): New variable.
13395 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13396 (lrint_downward_test_data): New variable.
13397 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13398 (lrint_upward_test_data): New variable.
13399 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13400 (lround_test_data): New variable.
13401 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13402
39b1f617
PC
134032013-05-15 Peter Collingbourne <pcc@google.com>
13404
1deff3dc
PC
13405 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13406 (EXTRACT_WORDS64) Use where appropriate.
13407 (INSERT_WORDS64) Likewise.
13408
791f3ba0
PC
13409 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13410 constraints with x constraints.
13411 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13412
39b1f617
PC
13413 * malloc/obstack.c (_obstack_compat): Add initializer.
13414
12fba011
EM
134152013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13416
13417 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13418 si_trapno and add si_addr_lsb to _sifields.sigfault.
13419 (si_trapno): Remove macro.
13420 (si_addr_lsb): Define new macro.
13421 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13422
d369f531
JM
134232013-05-15 Joseph Myers <joseph@codesourcery.com>
13424
b861c6c4
JM
13425 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13426 instead of TEST_f_l.
13427 (llrint_test_tonearest): Likewise.
13428 (llrint_test_towardzero): Likewise.
13429 (llrint_test_downward): Likewise.
13430 (llrint_test_upward): Likewise.
13431 (llround_test): Likewise.
13432
7abeee12
JM
13433 * math/libm-test.inc (struct test_f_i_data): Add comment.
13434 (RUN_TEST_LOOP_f_b): New macro.
13435 (RUN_TEST_LOOP_f_b_tg): Likewise.
13436 (finite_test_data): New variable.
13437 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13438 (isfinite_test_data): New variable.
13439 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13440 (isinf_test_data): New variable.
13441 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13442 (isnan_test_data): New variable.
13443 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13444 (isnormal_test_data): New variable.
13445 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13446 (issignaling_test_data): New variable.
13447 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13448 (signbit_test_data): New variable.
13449 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13450
cbe8c4d3
JM
13451 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13452 with INVALID_EXCEPTION.
13453 (acosh_test_data): Likewise.
13454 (asin_test_data): Likewise.
13455 (atanh_test_data): Likewise.
13456 (fmod_test_data): Likewise.
13457 (log_test_data): Likewise.
13458 (log10_test_data): Likewise.
13459 (log2_test_data): Likewise.
13460 (pow_test_data): Likewise.
13461 (sqrt_test_data): Likewise.
13462 (y0_test_data): Likewise.
13463 (y1_test_data): Likewise.
13464 (yn_test_data): Likewise.
13465
5575c0e5
JM
13466 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13467 function contents.
13468
d369f531
JM
13469 * math/libm-test.inc (struct test_ff_i_data): New type.
13470 (RUN_TEST_LOOP_ff_i_tg): New macro.
13471 (isgreater_test_data): New variable.
13472 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13473 (isgreaterequal_test_data): New variable.
13474 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13475 (isless_test_data): New variable.
13476 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13477 (islessequal_test_data): New variable.
13478 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13479 (islessgreater_test_data): New variable.
13480 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13481 (isunordered_test_data): New variable.
13482 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13483
781fd748
DM
134842013-05-14 David S. Miller <davem@davemloft.net>
13485
13486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13487
87aa21df
JM
134882013-05-14 Joseph Myers <joseph@codesourcery.com>
13489
5e908270
JM
13490 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13491
f71172e5
JM
13492 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13493 extra_test to int.
13494 (struct test_f_i_data): Change type of max_ulp to int.
13495
8cfa635a
JM
13496 * math/libm-test.inc (test_ffI_f1_data): New type.
13497 (RUN_TEST_LOOP_ffI_f1): New macro.
13498 (remquo_test_data): New variable.
13499 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13500
2bcb36b2
JM
13501 * setjmp/tst-setjmp-fp.c: New file.
13502 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13503 (link-libm): New variable.
13504 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13505
acbd839a
JM
13506 * math/libm-test.inc (struct test_f_i_data): New type.
13507 (RUN_TEST_LOOP_f_i): New macro.
13508 (RUN_TEST_LOOP_f_i_tg): Likewise.
13509 (fpclassify_test_data): New variable.
13510 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13511 (ilogb_test_data): New variable.
13512 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13513
e414d745
JM
13514 * math/libm-test.inc (scalbln_test): Correct function name in END
13515 call.
13516
d9c2a0fd
JM
13517 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13518 (RUN_TEST_LOOP_fI_f1): New macro.
13519 (frexp_test_data): New variable.
13520 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13521
9dc9095d
JM
13522 * math/libm-test.inc (struct test_fF_f1_data): New type.
13523 (RUN_TEST_LOOP_fF_f1): New macro.
13524 (modf_test_data): New variable.
13525 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13526
87aa21df
JM
13527 * math/libm-test.inc (struct test_f_f1_data): New type.
13528 (RUN_TEST_LOOP_f_f1): New macro.
13529 (gamma_test_data): New variable.
13530 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13531 (lgamma_test_data): New variable.
13532 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13533
141af660
CD
135342013-05-13 Carlos O'Donell <carlos@redhat.com>
13535
13536 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13537 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13538 (main): Comment "tls" pseudo-hwcap.
13539
6d33265c
JM
135402013-05-13 Joseph Myers <joseph@codesourcery.com>
13541
68fc074c
JM
13542 * math/libm-test.inc (struct test_fl_f_data): New type.
13543 (RUN_TEST_LOOP_fl_f): New variable.
13544 (scalbln_test_data): New variable.
13545 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13546
243216e1
JM
13547 * math/libm-test.inc (struct test_fi_f_data): New type.
13548 (RUN_TEST_LOOP_fi_f): New macro.
13549 (ldexp_test_data): New variable.
13550 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13551 (scalbn_test_data): New variable.
13552 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13553
6a1992e2
JM
13554 * math/libm-test.inc (struct test_c_f_data): New type.
13555 (RUN_TEST_LOOP_c_f): New macro.
13556 (cabs_test_data): New variable.
13557 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13558 (carg_test_data): New variable.
13559 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13560 (cimag_test_data): New variable.
13561 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13562 (creal_test_data): New variable.
13563 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13564
0e400df5
JM
13565 * math/libm-test.inc (struct test_if_f_data): New type.
13566 (RUN_TEST_LOOP_if_f): New macro.
13567 (jn_test_data): New variable.
13568 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13569 (yn_test_data): New variable.
13570 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13571
6d33265c
JM
13572 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13573
f98ece5f
AZ
135742013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13575
13576 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13577 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13578
0f7d347b
SP
135792013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13580
43fe811b
SP
13581 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13582 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13583 (bench-deps): Add bench-timing.h.
13584 * benchtests-bench-skeleton.c: Include bench-timing.h.
13585 (main): Use TIMING_* macros instead of clock_gettime.
13586 * benchtests/bench-timing.h: New file.
13587
0f7d347b
SP
13588 [BZ #14582]
13589 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13590 Renamed from _LIB_VERSION.
13591 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13592
601a3a5f
JM
135932013-05-12 Joseph Myers <joseph@codesourcery.com>
13594
4f184d30
JM
13595 * math/libm-test.inc (struct test_fff_f_data): New type.
13596 (RUN_TEST_LOOP_fff_f): New macro.
13597 (fma_test_data): New variable.
13598 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13599 (fma_towardzero_test_data): New variable.
13600 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13601 (fma_downward_test_data): New variable.
13602 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13603 (fma_upward_test_data): New variable.
13604 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13605
08198877
JM
13606 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13607 (struct test_c_c_data): New type.
13608 (RUN_TEST_LOOP_c_c): New macro.
13609 (cacos_test_data): New variable.
13610 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13611 (cacosh_test_data): New variable.
13612 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13613 (casin_test_data): New variable.
13614 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13615 (casinh_test_data): New variable.
13616 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13617 (catan_test_data): New variable.
13618 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13619 (catanh_test_data): New variable.
13620 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13621 (ccos_test_data): New variable.
13622 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13623 (ccosh_test_data): New variable.
13624 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13625 (cexp_test_data): New variable.
13626 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13627 (clog_test_data): New variable.
13628 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13629 (clog10_test_data): New variable.
13630 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13631 (conj_test_data): New variable.
13632 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13633 (cproj_test_data): New variable.
13634 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13635 (csin_test_data): New variable.
13636 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13637 (csinh_test_data): New variable.
13638 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13639 (csqrt_test_data): New variable.
13640 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13641 (ctan_test_data): New variable.
13642 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13643 (ctan_tonearest_test_data): New variable.
13644 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13645 (ctan_towardzero_test_data): New variable.
13646 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13647 (ctan_downward_test_data): New variable.
13648 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13649 (ctan_upward_test_data): New variable.
13650 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13651 (ctanh_test_data): New variable.
13652 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13653 (ctanh_tonearest_test_data): New variable.
13654 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13655 (ctanh_towardzero_test_data): New variable.
13656 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13657 (ctanh_downward_test_data): New variable.
13658 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13659 (ctanh_upward_test_data): New variable.
13660 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13661 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13662 of BUILD_COMPLEX.
13663
601a3a5f
JM
13664 * math/libm-test.inc (struct test_ff_f_data): New type.
13665 (struct test_ff_f_data_nexttoward): Likewise.
13666 (RUN_TEST_LOOP_2_f): New macro.
13667 (RUN_TEST_LOOP_ff_f): Likewise.
13668 (atan2_test_data): New variable.
13669 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13670 (copysign_test_data): New variable.
13671 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13672 (fdim_test_data): New variable.
13673 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13674 (fmax_test_data): New variable.
13675 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13676 (fmin_test_data): New variable.
13677 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13678 (fmod_test_data): New variable.
13679 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13680 (hypot_test_data): New variable.
13681 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13682 (nextafter_test_data): New variable.
13683 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13684 (nexttoward_test_data): New variable.
13685 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13686 (pow_test_data): New variable.
13687 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13688 (pow_tonearest_test_data): New variable.
13689 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13690 (pow_towardzero_test_data): New variable.
13691 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13692 (pow_downward_test_data): New variable.
13693 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13694 (pow_upward_test_data): New variable.
13695 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13696 (remainder_test_data): New variable.
13697 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13698 (scalb_test_data): New variable.
13699 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13700 * sysdeps/i386/fpu/libm-test-ulps: Update.
13701
74c57478
JM
137022013-05-11 Joseph Myers <joseph@codesourcery.com>
13703
8329e4da
JM
13704 * math/libm-test.inc (fma_test): Use max_value instead of local
13705 variable fltmax.
13706 (nextafter_test): Likewise.
13707
74c57478
JM
13708 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13709 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13710 (acos_downward_test_data): New variable.
13711 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13712 (acos_upward_test_data): New variable.
13713 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13714 (acosh_test_data): New variable.
13715 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13716 (asin_test_data): New variable.
13717 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13718 (asin_tonearest_test_data): New variable.
13719 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13720 (asin_towardzero_test_data): New variable.
13721 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13722 (asin_downward_test_data): New variable.
13723 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13724 (asin_upward_test_data): New variable.
13725 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13726 (asinh_test_data): New variable.
13727 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13728 (atan_test_data): New variable.
13729 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13730 (atanh_test_data): New variable.
13731 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13732 (cbrt_test_data): New variable.
13733 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13734 (ceil_test_data): New variable.
13735 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13736 (cos_test_data): New variable.
13737 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13738 (cos_tonearest_test_data): New variable.
13739 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13740 (cos_towardzero_test_data): New variable.
13741 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13742 (cos_downward_test_data): New variable.
13743 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13744 (cos_upward_test_data): New variable.
13745 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13746 (cosh_test_data): New variable.
13747 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13748 (cosh_tonearest_test_data): New variable.
13749 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13750 (cosh_towardzero_test_data): New variable.
13751 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13752 (cosh_downward_test_data): New variable.
13753 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13754 (cosh_upward_test_data): New variable.
13755 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13756 (erf_test_data): New variable.
13757 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13758 (erfc_test_data): New variable.
13759 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13760 (exp_test_data): New variable.
13761 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13762 (exp_tonearest_test_data): New variable.
13763 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13764 (exp_towardzero_test_data): New variable.
13765 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13766 (exp_downward_test_data): New variable.
13767 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13768 (exp_upward_test_data): New variable.
13769 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13770 (exp10_test_data): New variable.
13771 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13772 (exp2_test_data): New variable.
13773 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13774 (expm1_test_data): New variable.
13775 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13776 (fabs_test_data): New variable.
13777 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13778 (floor_test_data): New variable.
13779 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13780 (j0_test_data): New variable.
13781 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13782 (j1_test_data): New variable.
13783 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13784 (log_test_data): New variable.
13785 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13786 (log10_test_data): New variable.
13787 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13788 (log1p_test_data): New variable.
13789 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13790 (log2_test_data): New variable.
13791 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13792 (logb_test_data): New variable.
13793 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13794 (logb_downward_test_data): New variable.
13795 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13796 (nearbyint_test_data): New variable.
13797 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13798 (rint_test_data): New variable.
13799 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13800 (rint_tonearest_test_data): New variable.
13801 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13802 (rint_towardzero_test_data): New variable.
13803 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13804 (rint_downward_test_data): New variable.
13805 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13806 (rint_upward_test_data): New variable.
13807 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13808 (round_test_data): New variable.
13809 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13810 (sin_test_data): New variable.
13811 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13812 (sin_tonearest_test_data): New variable.
13813 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13814 (sin_towardzero_test_data): New variable.
13815 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13816 (sin_downward_test_data): New variable.
13817 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13818 (sin_upward_test_data): New variable.
13819 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13820 (sinh_test_data): New variable.
13821 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13822 (sinh_tonearest_test_data): New variable.
13823 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13824 (sinh_towardzero_test_data): New variable.
13825 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13826 (sinh_downward_test_data): New variable.
13827 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13828 (sinh_upward_test_data): New variable.
13829 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13830 (sqrt_test_data): New variable.
13831 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13832 (tan_test_data): New variable.
13833 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13834 (tan_tonearest_test_data): New variable.
13835 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13836 (tan_towardzero_test_data): New variable.
13837 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13838 (tan_downward_test_data): New variable.
13839 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13840 (tan_upward_test_data): New variable.
13841 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13842 (tanh_test_data): New variable.
13843 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13844 (tgamma_test_data): New variable.
13845 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13846 (trunc_test_data): New variable.
13847 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13848 (y0_test_data): New variable.
13849 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13850 (y1_test_data): New variable.
13851 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13852 (significand_test_data): New variable.
13853 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13854
7187d844
CG
138552013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13856
13857 [BZ #12387]
13858 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13859
f63fae73
PT
138602013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13861
13862 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13863
8a67a4b3
AJ
138642013-05-10 Andreas Jaeger <aj@suse.de>
13865
13866 [BZ #15448]
13867 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13868 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13869
51df539d
JM
138702013-05-10 Joseph Myers <joseph@codesourcery.com>
13871
13872 * math/gen-libm-test.pl (adjust_arg): New function.
13873 (special_functions): Handle generating output in both functions
13874 and arrays.
13875 (parse_args): Likewise.
13876 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13877 $in_func argument to parse_args.
13878 * math/libm-test.inc (struct test_f_f_data): New type.
13879 (IF_ROUND_INIT_): New macro.
13880 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13881 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13882 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13883 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13884 (ROUND_RESTORE_): Likewise.
13885 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13886 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13887 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13888 (ROUND_RESTORE_FE_UPWARD): Likewise.
13889 (RUN_TEST_LOOP_f_f): New macro.
13890 (acos_test_data): New variable.
13891 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13892 (acos_tonearest_test_data): New variable.
13893 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13894
5c637fe5
SP
138952013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13896
13897 * benchtests/bench-skeleton.c (startup): Fix coding style.
13898
ab2b9461
JM
138992013-05-10 Joseph Myers <joseph@codesourcery.com>
13900
13901 [BZ #6809]
13902 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13903 negative infinity argument.
13904 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13905 negative infinity argument.
13906 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13907 negative infinity argument.
13908 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13909 domain errors.
13910
4c0fe6fe
FW
139112013-05-10 Florian Weimer <fweimer@redhat.com>
13912
13913 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13914 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13915 * iconv/iconv_prog.c (main): Likewise.
13916 * locale/programs/charmap-dir.c (charmap_readdir)
13917 (fopen_uncompressed): Likewise.
13918 * locale/programs/locfile.c (siblings_uncached)
13919 (write_locale_data): Use lstat64 instead of lstat.
13920 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13921 stat.
13922
a3375d29
AJ
139232013-05-10 Andreas Jaeger <aj@suse.de>
13924
13925 [BZ #15395]
13926 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13927 localization.
13928 Include <locale.h>.
13929
36129722
CD
139302013-05-09 Carlos O'Donell <carlos@redhat.com>
13931
13932 * elf/dl-close.c (_dl_close_worker): Add comments.
13933
faa7f811
JM
139342013-05-09 Joseph Myers <joseph@codesourcery.com>
13935
ed41ffef
JM
13936 [BZ #15359]
13937 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13938 high part of pi/2.
13939 (__ieee754_rem_pio2l): Update comments.
13940
d0213cd0
JM
13941 [BZ #15429]
13942 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13943 high part of pi/2.
13944 (__ieee754_rem_pio2l): Update comments.
13945
0d3e777a
JM
13946 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13947 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13948
24f56066
JM
13949 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13950 M_PI_4l.
13951
faa7f811
JM
13952 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13953 (M_PI_34_LOG10El): Likewise.
13954 (M_PI2_LOG10El): Likewise.
13955 (M_PI4_LOG10El): Likewise.
13956 (M_PI_LOG10El): Likewise.
13957
e9a5e0fd
AZ
139582013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13959
13960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13961
d8cd06db
JM
139622013-05-08 Joseph Myers <joseph@codesourcery.com>
13963
a0d9f9d7
JM
13964 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13965 (MINUS_ZERO_INIT): Likewise.
13966 (PLUS_INFTY_INIT): Likewise.
13967 (MINUS_INFTY_INIT): Likewise.
13968 (QNAN_VALUE_INIT): Likewise.
13969 (MAX_VALUE_INIT): Likewise.
13970 (MIN_VALUE_INIT): Likewise.
13971 (MIN_SUBNORM_VALUE_INIT): Likewise.
13972 (plus_zero): Initialize with PLUS_ZERO_INIT.
13973 (minus_zero): Initialize with MINUS_ZERO_INIT.
13974 (plus_infty): Initialize with PLUS_INFTY_INIT.
13975 (minus_infty): Initialize with MINUS_INFTY_INIT.
13976 (qnan_value): Initialize with QNAN_VALUE_INIT.
13977 (max_value): Initialize with MAX_VALUE_INIT.
13978 (min_value): Initialize with MIN_VALUE_INIT.
13979 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13980
ae08db3b
JM
13981 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13982 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13983 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13984 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13985
f44bf14a
JM
13986 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13987 (RUN_TEST_2_f): Likewise.
13988 (RUN_TEST_ff_f): Likewise.
13989 (RUN_TEST_fi_f): Likewise.
13990 (RUN_TEST_fl_f): Likewise.
13991 (RUN_TEST_fff_f): Likewise.
13992 (RUN_TEST_c_f): Likewise.
13993 (RUN_TEST_f_f1): Likewise.
13994 (RUN_TEST_fF_f1): Likewise.
13995 (RUN_TEST_fI_f1): Likewise.
13996 (RUN_TEST_ffI_f1): Likewise.
13997 (RUN_TEST_c_c): Likewise.
13998 (RUN_TEST_cc_c): Likewise.
13999 (RUN_TEST_f_i): Likewise.
14000 (RUN_TEST_f_i_tg): Likewise.
14001 (RUN_TEST_ff_i_tg): Likewise.
14002 (RUN_TEST_f_b): Likewise.
14003 (RUN_TEST_f_b_tg): Likewise.
14004 (RUN_TEST_f_l): Likewise.
14005 (RUN_TEST_f_L): Likewise.
14006 (RUN_TEST_sincos): Likewise.
14007 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14008 whether to show exceptions. Do not include ");\n" in return
14009 value.
14010 (special_functions): Output call to RUN_TEST_sincos instead of
14011 check_float calls. Update calls to new_test.
14012 (parse_args): Output call to single RUN_TEST_* macro instead of
14013 check_* calls and other assignments. Update calls to new_test.
14014
d8cd06db
JM
14015 [BZ #2546]
14016 [BZ #2560]
14017 [BZ #5159]
14018 [BZ #15426]
14019 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14020 input to result for tgamma overflow.
14021 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14022 (gamma_coeff): New variable.
14023 (NCOEFF): New macro.
14024 (gamma_positive): New function.
14025 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14026 underflow here. Use gamma_positive instead of exp (lgamma) for
14027 other arguments.
14028 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14029 (gamma_coeff): New variable.
14030 (NCOEFF): New macro.
14031 (gammaf_positive): New function.
14032 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14033 underflow here. Use gamma_positive instead of exp (lgamma) for
14034 other arguments.
14035 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14036 (gamma_coeff): New variable.
14037 (NCOEFF): New macro.
14038 (gammal_positive): New function.
14039 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14040 underflow here. Use gamma_positive instead of exp (lgamma) for
14041 other arguments.
14042 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14043 (gamma_coeff): New variable.
14044 (NCOEFF): New macro.
14045 (gammal_positive): New function.
14046 (__ieee754_gammal_r): Handle positive infinity, overflow and
14047 underflow here. Handle NaN the same as positive infinity. Remove
14048 check x < 0xffffffff for negative integers. Use gamma_positive
14049 instead of exp (lgamma) for other arguments.
14050 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14051 (gamma_coeff): New variable.
14052 (NCOEFF): New macro.
14053 (gammal_positive): New function.
14054 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14055 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14056 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14057 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14058 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14059 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14060 * sysdeps/generic/math_private.h (__gamma_productf): New
14061 prototype.
14062 (__gamma_product): Likewise.
14063 (__gamma_productl): Likewise.
14064 * math/Makefile (libm-calls): Add gamma_product.
14065 * math/libm-test.inc (tgamma_test): Add more tests.
14066 * sysdeps/i386/fpu/libm-test-ulps: Update.
14067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14068
bb7cf681
OB
140692013-05-08 Ondřej Bílka <neleai@seznam.cz>
14070
14071 * benchtests/bench-skeleton.c (main): Preheat CPU.
14072
ba853947
AJ
140732013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14074
14075 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14076
8347c74c
RM
140772013-05-07 Roland McGrath <roland@hack.frob.com>
14078
14079 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14080 and _dl_skip_args_internal.
14081
e8dd4791
CD
140822013-05-07 Carlos O'Donell <carlos@redhat.com>
14083
14084 * manual/message.texi (Message Translation): Talk about users.
14085 Message to key mapping impacts design.
14086
c7405830
RM
140872013-05-06 Roland McGrath <roland@hack.frob.com>
14088
a9173057
RM
14089 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14090
976e2f03
RM
14091 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14092
9723ffc5
RM
14093 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14094 * sysdeps/wordsize-64/glob64.c: ... here.
14095
962e6658
RM
14096 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14097 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14098 New macros.
14099
ee586a6d
RM
14100 * debug/getlogin_r_chk.c: Moved to ...
14101 * login/getlogin_r_chk.c: ... here.
14102 * debug/Makefile (routines): Move getlogin_r_chk to ...
14103 * login/Makefile (routines): ... here.
14104 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14105 * login/Versions (libc: GLIBC_2.4): ... here.
14106
355f9165
RM
14107 * io/poll.c (__poll): Renamed from poll.
14108 Add libc_hidden_def.
14109 (poll): Define as weak alias.
14110
bd9ffde6
RM
14111 * debug/ptsname_r_chk.c: Moved to ...
14112 * login/ptsname_r_chk.c: ... here.
14113 * debug/Makefile (routines): Move ptsname_r_chk to ...
14114 * login/Makefile (routines): ... here.
14115 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14116 * login/Versions (libc: GLIBC_2.4): ... here.
14117
8fb16a04
RM
14118 * posix/getlogin.c: Moved to ...
14119 * login/getlogin.c: ... here.
14120 * posix/getlogin_r.c: Moved to ...
14121 * login/getlogin_r.c: ... here.
14122 * posix/getlogin_r.c: Moved to ...
14123 * login/getlogin_r.c: ... here.
14124 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14125 * login/Makefile (routines): ... here.
14126 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14127 * login/Versions (libc: GLIBC_2.0): ... here.
14128
b99b892f
RM
14129 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14130 (setrlimit): Define as weak alias.
14131
c7405830
RM
14132 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14133 Call __ names for open, ftruncate, and close.
14134 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14135 (truncate): Define as weak alias.
14136
5bf96de5
JM
141372013-05-06 Joseph Myers <joseph@codesourcery.com>
14138
9ea3513c
JM
14139 * math/gen-libm-test.pl (parse_args): Initialize x before each
14140 test of frexp, modf and remquo.
14141
5bf96de5
JM
14142 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14143 test signgam value.
14144
16e616a7
AZ
141452013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14146
14147 [BZ #15418]
14148 [BZ #15419]
14149 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14150 internal tests.
14151 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14152
d5e82754
RM
141532013-05-06 Roland McGrath <roland@hack.frob.com>
14154
14155 * elf/dl-writev.h: New file.
14156 * elf/dl-misc.c: Include it.
14157 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14158 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14159
a7548d41
JM
141602013-05-04 Joseph Myers <joseph@codesourcery.com>
14161
b7dab1e4
JM
14162 * math/libm-test.inc (noXFails): Remove variable.
14163 (noXPasses): Likewise.
14164 (BUILD_COMPLEX_INT): Remove macro.
14165 (print_screen): Remove xfail argument.
14166 (print_screen_max_error): Likewise.
14167 (update_stats): Likewise.
14168 (print_max_error): Likewise. Update calls to other affected
14169 functions.
14170 (print_complex_max_error): Likewise.
14171 (test_single_exception): Update calls to print_screen.
14172 (test_single_errno): Likewise.
14173 (check_float_internal): Remove xfail argument. Update calls to
14174 other affected functions.
14175 (check_float): Likewise.
14176 (check_complex): Likewise.
14177 (check_int): Likewise.
14178 (check_long): Likewise.
14179 (check_bool): Likewise.
14180 (check_longlong): Likewise.
14181 (main): Don't print noXFails and noXPasses.
14182 * math/gen-libm-test.pl (top level): Don't mention expected
14183 failure handling in comment.
14184 (new_test): Don't handle expected failures.
14185 (parse_args): Don't mention expected failure handling in comment.
14186 (generate_testfile): Don't handle expected failures.
14187 (parse_ulps): Likewise.
14188 (print_ulps_file): Likewise.
14189 (get_failure): Remove function.
14190 (output_test): Don't handle expected failures.
14191 * make/README.libm-test: Don't mention expected failure handling.
14192
a7548d41
JM
14193 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14194 (minus_zero): Likewise.
14195 (plus_infty): Likewise.
14196 (minus_infty): Likewise.
14197 (qnan_value): Likewise.
14198 (max_value): Likewise.
14199 (min_value): Likewise.
14200 (min_subnorm_value): Likewise.
14201 (initialize): Do not initialize those variables dynamically.
14202
60bfd54c
RM
142032013-05-03 Roland McGrath <roland@hack.frob.com>
14204
cc0e6ed8
RM
14205 * io/open.c (__open_2): Moved to ...
14206 * io/open_2.c: ... this new file.
14207 * io/open64.c (__open64_2): Moved to ...
14208 * io/open64_2.c: ... this new file.
14209 * io/openat.c (__openat_2): Moved to ...
14210 * io/openat_2.c: ... this new file.
14211 * io/openat64.c (__openat64_2): Moved to ...
14212 * io/openat64_2.c: ... this new file.
14213 * io/Makefile (routines): Add them.
14214 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14215 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14216 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14217 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14218 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14219 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14220 (__openat64): Add hidden_ver.
14221 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14222 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14223
60bfd54c
RM
14224 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14225 Separately conditionalize setting of GLRO(dl_sysinfo) so
14226 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14227 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14228
83e7640f
AZ
142292013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14230
14231 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14232 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14233 definition.
14234 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14235 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14236 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14237 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14238 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14239
d5dc2af3
JM
142402013-05-03 Joseph Myers <joseph@codesourcery.com>
14241
c31a5b1e
JM
14242 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14243 test signgam value.
14244
d5dc2af3
JM
14245 * math/libm-test.inc (hypot_test): Do not use
14246 IGNORE_ZERO_INF_SIGN.
14247
164fd39d
AJ
142482013-05-03 Andreas Jaeger <aj@suse.de>
14249
14250 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14251 Linux 3.9.
14252 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14253 (PF_MAX): Adjust for VSOCK change.
14254
8237f48c
AZ
142552013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14256
14257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14258
9df02941
CD
142592013-05-02 Carlos O'Donell <carlos@redhat.com>
14260
14261 [BZ #15264]
14262 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14263 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14264 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14265
d422395e
DM
142662013-05-02 David S. Miller <davem@davemloft.net>
14267
14268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14269
a07c5731
OB
142702013-05-01 Ondřej Bílka <neleai@seznam.cz>
14271
14272 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14273
1324e37f
RM
142742013-05-01 Roland McGrath <roland@hack.frob.com>
14275
14276 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14277
0695940b
RS
142782013-05-01 Richard Smith <richard@metafoo.co.uk>
14279
bb5f27ad 14280 [BZ #14952]
0695940b
RS
14281 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14282 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14283 Use __attribute__ ((__gnu_inline__)).
14284 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14285 Don't use __attribute__ ((__gnu_inline__)).
14286
10de07f5
JM
142872013-05-01 Joseph Myers <joseph@codesourcery.com>
14288
14289 [BZ #15423]
14290 * math/s_catan.c (__catan): Handle small real or imaginary part of
14291 input specially to avoid spurious underflow.
14292 * math/s_catanf.c (__catanf): Likewise.
14293 * math/s_catanh.c (__catanh): Likewise.
14294 * math/s_catanhf.c (__catanhf): Likewise.
14295 * math/s_catanhl.c (__catanhl): Likewise.
14296 * math/s_catanl.c (__catanl): Likewise.
14297 * math/libm-test.inc (catan_test): Add more tests.
14298 (catanh_test): Likewise.
14299 * sysdeps/i386/fpu/libm-test-ulps: Update.
14300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14301
cb4d5414
AZ
143022013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14303
14304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14305
caf84319
JM
143062013-04-30 Joseph Myers <joseph@codesourcery.com>
14307
14308 [BZ #15416]
14309 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14310 accurately for denominator in atan2.
14311 * math/s_catanf.c (__catanf): Likewise.
14312 * math/s_catanh.c (__catanh): Likewise.
14313 * math/s_catanhf.c (__catanhf): Likewise.
14314 * math/s_catanhl.c (__catanhl): Likewise.
14315 * math/s_catanl.c (__catanl): Likewise.
14316 * math/libm-test.inc (catan_test): Add more tests.
14317 (catanh_test): Likewise.
14318 * sysdeps/i386/fpu/libm-test-ulps: Update.
14319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14320
d569c6ee
SP
143212013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14322
6dbe713d
SP
14323 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14324
f0ee064b
SP
14325 * benchtests/Makefile (bench): Remove slow benchmarks.
14326 * benchtests/atan-inputs: Add slow benchmark inputs.
14327 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14328 (BENCH_FUNC): Accept variant offset.
14329 (VARIANT): Define.
14330 * benchtests/bench-skeleton.c (main): Run benchmark for each
14331 variant.
14332 * benchtests/cos-inputs: Add slow benchmark inputs.
14333 * benchtests/exp-inputs: Likewise.
14334 * benchtests/pow-inputs: Likewise.
14335 * benchtests/sin-inputs: Likewise.
14336 * benchtests/slowatan-inputs: Remove.
14337 * benchtests/slowatan.c: Remove.
14338 * benchtests/slowcos-inputs: Remove.
14339 * benchtests/slowcos.c: Remove.
14340 * benchtests/slowexp-inputs: Remove.
14341 * benchtests/slowexp.c: Remove.
14342 * benchtests/slowpow-inputs: Remove.
14343 * benchtests/slowpow.c: Remove.
14344 * benchtests/slowsin-inputs: Remove.
14345 * benchtests/slowsin.c: Remove.
14346 * benchtests/slowtan-inputs: Remove.
14347 * benchtests/slowtan.c: Remove.
14348 * benchtests/tan-inputs: Add slow benchmark inputs.
14349 * scripts/bench.pl: Parse comments and directives.
14350
d569c6ee
SP
14351 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14352 in CPPFLAGS.
14353 ($(objpfx)bench-%.c): Remove *-ITER.
14354 * benchtests/bench-modf.c: Remove definition of ITER.
14355 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14356 (main): Loop for DURATION seconds instead of fixed number of
14357 iterations.
14358 * scripts/bench.pl: Don't expect iterations in parameters.
14359
a6a242fe
RM
143602013-04-29 Roland McGrath <roland@hack.frob.com>
14361
14362 * io/fchdir.c (__fchdir): Renamed from fchdir.
14363 (fchdir): Define as weak alias.
14364
f2da7793
JM
143652013-04-29 Joseph Myers <joseph@codesourcery.com>
14366
14367 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14368 (ERRNO_EDOM): Likewise.
14369 (ERRNO_ERANGE): Likewise.
14370 (noErrnoTests): New variable.
14371 (init_max_error): Set errno to 0.
14372 (test_single_errno): New function.
14373 (test_errno): Likewise.
14374 (check_float_internal): Call test_errno. Set errno to 0.
14375 (check_complex): Refer to errno tests in comment.
14376 (check_int): Call test_errno. Set errno to 0.
14377 (check_long): Likewise.
14378 (check_bool): Likewise.
14379 (check_longlong): Likewise.
14380 (cos_test): Use ERRNO_* flags for errno tests instead of
14381 check_int.
14382 (expm1_test): Likewise.
14383 (fmod_test): Likewise.
14384 (ilogb_test): Likewise.
14385 (lgamma_test): Likewise.
14386 (pow_test): Likewise.
14387 (remainder_test): Likewise.
14388 (sin_test): Likewise.
14389 (tan_test): Likewise.
14390 (yn_test): Likewise.
14391 (initialize): Set errno to 0.
14392 (main): Print number of errno tests.
14393 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14394
b1a36ceb
AJ
143952013-04-29 Andreas Jaeger <aj@suse.de>
14396
c3ed8088
AJ
14397 [BZ #15084]
14398 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14399 and RES_USEVC.
14400
f1a24198
AJ
14401 [BZ #15085]
14402 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14403 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14404 unimplemented.
14405
9ce3b2cb
AJ
14406 [BZ #15380]
14407 * stdlib/random.c (__initstate): Return NULL if
14408 __initstate fails.
14409
f1a24198 14410 [BZ #15086]
b1a36ceb
AJ
14411 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14412 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14413 RES_SNGLKUPREOP.
14414
7e7b6f36
AZ
144152013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14416
14417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14418
4d14f449
JM
144192013-04-29 Joseph Myers <joseph@codesourcery.com>
14420
14421 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14422 of individual tests.
14423 (casin_test): Likewise.
14424 (casinh_test): Likewise.
14425
5b4217d7
JM
144262013-04-27 Joseph Myers <joseph@codesourcery.com>
14427
14428 [BZ #15409]
14429 * math/s_catan.c (__catan): Handle arguments with large real or
14430 imaginary part separately without squaring.
14431 * math/s_catanf.c (__catanf): Likewise.
14432 * math/s_catanh.c (__catanh): Likewise.
14433 * math/s_catanhf.c (__catanhf): Likewise.
14434 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14435 and redefine.
14436 (__catanhl): Handle arguments with large real or imaginary part
14437 separately without squaring.
14438 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14439 and redefine.
14440 (__catanl): Handle arguments with large real or imaginary part
14441 separately without squaring.
14442 * math/libm-test.inc (catan_test): Add more tests.
14443 (catanh_test): Likewise.
14444 * sysdeps/i386/fpu/libm-test-ulps: Update.
14445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14446
4220c3ef
AJ
144472013-04-27 Andreas Jaeger <aj@suse.de>
14448
14449 [BZ #15007]
14450 * stdlib/stdlib.h: Update guards for qecvt.
14451 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14452 <stdlib.h>.
14453
4721b2d1
AM
144542013-04-27 Allan McRae <allan@archlinux.org>
14455
14456 * sysdeps/i386/fpu/libm-test-ulps: Update.
14457
f0302940
JM
144582013-04-26 Joseph Myers <joseph@codesourcery.com>
14459
9457fd95
JM
14460 [BZ #15406]
14461 * math/s_catan.c: Include <float.h>.
14462 (__catan): Ensure underflow exception occurs for underflowed
14463 result.
14464 * math/s_catanf.c: Include <float.h>.
14465 (__catanf): Ensure underflow exception occurs for underflowed
14466 result.
14467 * math/s_catanh.c: Include <float.h>.
14468 (__catanh): Ensure underflow exception occurs for underflowed
14469 result.
14470 * math/s_catanhf.c: Include <float.h>.
14471 (__catanhf): Ensure underflow exception occurs for underflowed
14472 result.
14473 * math/s_catanhl.c: Include <float.h>.
14474 (__catanhl): Ensure underflow exception occurs for underflowed
14475 result.
14476 * math/s_catanl.c: Include <float.h>.
14477 (__catanl): Ensure underflow exception occurs for underflowed
14478 result.
14479 * math/libm-test.inc (catan_test): Add more tests.
14480 (catanh_test): Likewise.
14481
f0302940
JM
14482 [BZ #15405]
14483 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14484 underflowed result.
14485 * math/s_ccoshf.c (__ccoshf): Likewise.
14486 * math/s_ccoshl.c (__ccoshl): Likewise.
14487 * math/s_csin.c (__csin): Likewise.
14488 * math/s_csinf.c (__csinf): Likewise.
14489 * math/s_csinh.c (__csinh): Likewise.
14490 * math/s_csinhf.c (__csinhf): Likewise.
14491 * math/s_csinhl.c (__csinhl): Likewise.
14492 * math/s_csinl.c (__csinl): Likewise.
14493 * math/libm-test.inc (ccos_test): Add more tests.
14494 (ccosh_test): Likewise.
14495 (csin_test): Likewise.
14496 (csinh_test): Likewise.
14497
aa630f59
AZ
144982013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14499
14500 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14501 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14502 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14503 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14504 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14505 powerpc/power5+/fpu folders.
14506 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14507
14508
1b835983
MT
145092013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14510
14511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14512
73709b26
JM
145132013-04-25 Joseph Myers <joseph@codesourcery.com>
14514
14515 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14516 additions to variable.
14517 [$(config-machine) = x86_64] (modules-names): Likewise.
14518 ($(objpfx)tst-audit3): Remove dependency.
14519 ($(objpfx)tst-audit3.out): Likewise.
14520 ($(objpfx)tst-audit4): Likewise.
14521 ($(objpfx)tst-audit4.out): Likewise.
14522 ($(objpfx)tst-audit5): Likewise.
14523 ($(objpfx)tst-audit5.out): Likewise.
14524 ($(objpfx)tst-audit6): Likewise.
14525 ($(objpfx)tst-audit6.out): Likewise.
14526 ($(objpfx)tst-audit7): Likewise.
14527 ($(objpfx)tst-audit7.out): Likewise.
14528 (tst-audit3-ENV): Remove variable.
14529 (tst-audit4-ENV): Likewise.
14530 (tst-audit5-ENV): Likewise.
14531 (tst-audit6-ENV): Likewise.
14532 (tst-audit7-ENV): Likewise.
14533 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14534 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14535 addition to variable.
14536 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14537 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14538 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14539 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14540 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14541 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14542 tst-audit3, tst-audit4 and tst-audit5.
14543 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14544 tst-audit6 and tst-audit7.
14545 [$(subdir) = elf] (modules-names): Add audit modules for those
14546 tests.
14547 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14548 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14549 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14550 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14551 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14552 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14553 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14554 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14555 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14556 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14557 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14558 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14559 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14560 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14561 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14562 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14563 Likewise.
14564 [$(subdir) = elf && $(config-cflags-avx) = yes]
14565 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14566 [$(subdir) = elf && $(config-cflags-avx) = yes]
14567 (CFLAGS-tst-auditmod4a.c): Likewise.
14568 [$(subdir) = elf && $(config-cflags-avx) = yes]
14569 (CFLAGS-tst-auditmod4b.c): Likewise.
14570 [$(subdir) = elf && $(config-cflags-avx) = yes]
14571 (CFLAGS-tst-auditmod6b.c): Likewise.
14572 [$(subdir) = elf && $(config-cflags-avx) = yes]
14573 (CFLAGS-tst-auditmod6c.c): Likewise.
14574 [$(subdir) = elf && $(config-cflags-avx) = yes]
14575 (CFLAGS-tst-auditmod7b.c): Likewise.
14576 * elf/tst-audit3.c: Move to ...
14577 * sysdeps/x86_64/tst-audit3.c: ... here.
14578 * elf/tst-audit4.c: Move to ...
14579 * sysdeps/x86_64/tst-audit4.c: ... here.
14580 * elf/tst-audit5.c: Move to ...
14581 * sysdeps/x86_64/tst-audit5.c: ... here.
14582 * elf/tst-audit6.c: Move to ...
14583 * sysdeps/x86_64/tst-audit6.c: ... here.
14584 * elf/tst-audit7.c: Move to ...
14585 * sysdeps/x86_64/tst-audit7.c: ... here.
14586 * elf/tst-auditmod3a.c: Move to ...
14587 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14588 * elf/tst-auditmod3b.c: Move to ...
14589 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14590 * elf/tst-auditmod4a.c: Move to ...
14591 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14592 * elf/tst-auditmod4b.c: Move to ...
14593 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14594 * elf/tst-auditmod5a.c: Move to ...
14595 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14596 * elf/tst-auditmod5b.c: Move to ...
14597 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14598 * elf/tst-auditmod6a.c: Move to ...
14599 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14600 * elf/tst-auditmod6b.c: Move to ...
14601 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14602 * elf/tst-auditmod6c.c: Move to ...
14603 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14604 * elf/tst-auditmod7a.c: Move to ...
14605 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14606 * elf/tst-auditmod7b.c: Move to ...
14607 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14608
1ef74943
PP
146092013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14610
14611 [BZ #15366]
14612 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14613 define unconditionally.
14614 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14615 define unconditionally.
14616 (INT8_C, INT16_C, etc.): Likewise.
14617
93fd48c5
MR
146182013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14619
ae9552cf
MR
14620 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14621 __ehdr_start with hidden visibility.
14622
93fd48c5
MR
14623 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14624
418601aa
CD
146252013-04-24 Carlos O'Donell <carlos@redhat.com>
14626
14627 * math/libm-test.inc (cos_test): Use accurate hex constants.
14628 (sincost_test): Likewise.
14629
2f38fbfe
JM
146302013-04-24 Joseph Myers <joseph@codesourcery.com>
14631
5e221800
JM
14632 * math/libm-test.inc (catan_test): Add more tests.
14633 (catanh_test): Likewise.
14634
77f143fd
JM
14635 * math/s_catanf.c (__catanf): Use suffixed floating-point
14636 constants.
14637 * math/s_catanhf.c (__catanhf): Likewise.
14638 * math/s_catanhl.c (__catanhl): Likewise.
14639 * math/s_catanl.c (__catanl): Likewise.
14640
2f38fbfe
JM
14641 [BZ #15394]
14642 * math/s_catan.c (__catan): Calculate imaginary part of result
14643 with log1p not log unless computing log of number close to 0.
14644 * math/s_catanf.c (__catanf): Likewise.
14645 * math/s_catanl.c (__catanl): Likewise.
14646 * math/s_catanh.c (__catanh): Calculate real part of result with
14647 log1p not log unless computing log of number close to 0.
14648 * math/s_catanhf.c (__catanhf): Likewise.
14649 * math/s_catanhl.c (__catanhl): Likewise.
14650 * math/libm-test.inc (catan_test): Add more tests.
14651 (catanh_test): Likewise.
14652 * sysdeps/i386/fpu/libm-test-ulps: Update.
14653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14654
45d69176
SP
146552013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14656
14657 * benchtests/Makefile: Mention files in which fast and slow
14658 paths of math functions are implemented.
14659
87f51853
RM
146602013-04-23 Roland McGrath <roland@hack.frob.com>
14661
14662 * sysdeps/posix/timespec_get.c: New file.
14663
3c026539
AZ
146642013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14665
14666 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14667 POWER.
14668 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14669 for POWER.
14670 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14671 powerpc/power5/fpu folders.
14672 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14673 * benchtests/Makefile: Add modf testcase.
14674 * benchtests/bench-modf.c: New file: Benchmark test for mo
14675
ff491d14
SP
146762013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14677
14678 [BZ #14888]
14679 * time/Makefile (tests): Add tst-strptime-whitespace.
14680 * time/strptime_l.c (get_number): Use ISSPACE.
14681 (__strptime_internal): Likewise.
14682 * time/tst-strptime-whitespace.c: New test case.
14683
7ed3f4e8
AS
146842013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14685
14686 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14687 member.
14688 (_nss_files_init): Set it here.
14689
5c95f7b6
HC
146902013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14691
14692 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14693 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14694 unsigned.
14695
d34c9158
JBG
146962013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14697
14698 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14699
2169712d
SP
147002013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14701
14702 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14703 size just once.
14704
29c5de99
DM
147052013-04-21 David S. Miller <davem@davemloft.net>
14706
14707 * po/ru.po: Update Russion translation from translation project.
14708
ccdad15d
AC
147092013-04-17 Adam Conrad <adconrad@0c3.net>
14710
14711 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14712 and setfsgid.
14713
0f122b8d
CD
147142013-04-17 Carlos O'Donell <carlos@redhat.com>
14715
5c5b07da 14716 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14717 * configure: Regenerate.
5c5b07da 14718 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14719 Add example to error message.
14720 * sysdeps/i386/configure: Regenerate.
14721
037714dd
SP
147222013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14723
14724 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14725 slowtan.
14726 * benchtests/cos-inputs: New file.
14727 * benchtests/slowcos-inputs: New file.
14728 * benchtests/slowcos.c: New file.
14729 * benchtests/slowtan-inputs: New file.
14730 * benchtests/slowtan.c: New file.
14731 * benchtests/tan-inputs: New file.
14732
e913141d
RM
147332013-04-16 Roland McGrath <roland@hack.frob.com>
14734
14735 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14736 considered kosher.
14737
a2964074
SP
147382013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14739
4856bcd2
SP
14740 * benchtests/Makefile: Include cppflags-iterator.mk to add
14741 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14742
a2964074
SP
14743 * Makefile.in (bench-clean): New target.
14744 * benchtests/Makefile (bench-clean): Likewise.
14745
9fbf9aca
DH
147462013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14747
14748 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14749
207d1e2a
TS
147502013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14751
14752 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14753
306dfba9
AS
147542013-04-15 Andreas Schwab <schwab@suse.de>
14755
14756 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14757 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14758 * nscd/pwdcache.c (cache_addpw): Likewise.
14759 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14760 more than recsize.
14761
206a6699
SP
147622013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14763
14764 * benchtests/Makefile (bench): Write all output to
14765 bench-out.tmp together.
14766
0582f6b3
AS
147672013-04-15 Andreas Schwab <schwab@suse.de>
14768
14769 * nscd/nscd.c (main): Don't fork again after closing files.
14770
acb4325f
SP
147712013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14772
5cb26d0a
SP
14773 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14774
acb4325f
SP
14775 * benchtests/Rules (bench-deps): Collect dependencies into a
14776 single variable. Add Makefile to dependencies.
14777 ($(objpfx)bench-%.c): Depend on bench-deps.
14778
47792506
RM
147792013-04-12 Roland McGrath <roland@hack.frob.com>
14780 Xavier Roche <roche+kml2@exalead.com>
14781
14782 [BZ #15361]
14783 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14784 just that it's a file descriptor.
14785 * manual/llio.texi (Synchronizing AIO Operations): Update description
14786 for EBADF error from aio_fsync.
14787
8fc1bee5
SP
147882013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14789
14790 * Rules (bench): Move target definition...
14791 * benchtests/Makefile: ... here.
14792
aba5e333
CD
147932013-04-11 Carlos O'Donell <carlos@redhat.com>
14794
14795 * math/libm-test.inc (cos_test): Fix PI/2 test.
14796 (sincos_test): Likewise.
14797 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14798 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14799
273cdee8
AS
148002013-04-11 Andreas Schwab <schwab@suse.de>
14801
6ecec3b6
AS
14802 [BZ #13988]
14803 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14804 accept exponent character only when digits were seen.
14805 * stdio-common/Makefile (tests): Add bug26.
14806 * stdio-common/bug26.c: New file.
14807
273cdee8
AS
14808 [BZ #14293]
14809 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14810 non-freeable.
14811
8da491f5
SP
148122013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14813
01dc6df9
SP
14814 * Makeconfig (rtld-prefix): Define built linker prefix.
14815 * Rules (run-bench): Use it.
14816 * math/Makefile (run-regen-ulps): Likewise.
14817
8da491f5
SP
14818 * Rules (bench): Remove eval.
14819
abe7f530
SP
148202013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14821 Roland McGrath <roland@hack.frob.com>
14822 Ondrej Bilka <neleai@seznam.cz>
14823
14824 [BZ #15346]
14825 * time/getdate.c: Include ctype.h and alloca.h.
14826 (__getdate_r): Trim leading and trailing spaces of input.
14827 * time/tst-getdate.c (tests): Add tests with leading and
14828 trailing spaces.
14829
61c23e62
RM
148302013-04-08 Roland McGrath <roland@hack.frob.com>
14831
14832 [BZ #14280]
14833 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14834 when computing value.
14835
7208a313
CD
148362013-04-06 Carlos O'Donell <carlos@redhat.com>
14837
085b2d41
CD
14838 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14839 Use testrun.sh to run libm tests.
14840
7208a313
CD
14841 [BZ #15309]
14842 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14843
872c0acd
MM
148442013-04-06 Marko Myllynen <myllynen@redhat.com>
14845
14846 [BZ #15264]
14847 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14848
26510bdd
CD
148492013-04-06 Carlos O'Donell <carlos@redhat.com>
14850
14851 * Makefile.in (regen-ulps): New target.
14852 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14853 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14854 [ifneq (no,$(PERL)] (regen-ulps): New target.
14855 [ifeq (no,$(PERL)] (regen-ulps): New target.
14856 * math/libm-test.inc (ulps_file_name): Define.
14857 (output_dir): New variable.
14858 (options): Add "output-dir" option.
14859 (parse_opt): Handle 'o' case.
14860 (main): If output_dir is non-NULL use it as a prefix
14861 otherwise use "".
14862 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14863
a01f19c8
CD
148642013-04-06 Carlos O'Donell <carlos@redhat.com>
14865
14866 [BZ #10060, #10062]
14867 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14868 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14869 fail configure if __sync_val_compare_and_swap is not inlined.
14870 * sysdeps/i386/configure: Regenerate.
14871 * configure.in: Build for i686 when configured for i386.
14872 * configure: Regenerate.
14873 * README: Remove i386 reference.
14874
b7a329a5
CD
148752013-04-06 Carlos O'Donell <carlos@redhat.com>
14876
14877 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14878 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14879
bf0f50df
TS
148802013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14881
ee091edf
TS
14882 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14883 (lmsnanval): New variables.
14884 (F): Add conversion tests.
14885 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14886 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14887
a8b792d6
TS
14888 * stdio-common/tstdiomisc.c (F): Properly collect individual
14889 tests' results.
14890
a1cbf437
TS
14891 [BZ #14686, #15336]
14892 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14893 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14894 Instead, use input NaN values or generate a qNaN by arithmetic
14895 operation. Also fix bugs to comply with the standard.
14896 * math/libm-test.inc (remainder_test): Add more tests.
14897
8b43a0c9
TS
14898 [BZ #15335, #15342]
14899 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14900 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14901 input NaN values or generate a qNaN by arithmetic operation.
14902
d91da4ce
TS
14903 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14904 unreachable code.
14905
bf0f50df
TS
14906 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14907 definitions.
14908
05e166c8
JM
149092013-04-03 Joseph Myers <joseph@codesourcery.com>
14910
14911 [BZ #14478]
14912 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14913 underflowed result.
14914 * math/s_cexpf.c (__cexpf): Likewise.
14915 * math/s_cexpl.c (__cexpl): Likewise.
14916 * math/libm-test.inc (cexp_test): Add more tests.
14917
1cef1b19
AS
149182013-04-03 Andreas Schwab <schwab@suse.de>
14919
14920 [BZ #15330]
14921 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14922 order arrays from heap if bigger than alloca cutoff.
14923
74d87055
TS
149242013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14925
14926 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14927 (SNAN_TESTS_double): Refer to GCC PR56831.
14928 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14929 GCC PR56828.
14930
d755bba4
SP
149312013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14932
90d5d5bb
SP
14933 * Rules (bench): Move bench.out after the run is complete.
14934
73e0cd5d
SP
14935 * Rules (bench): Echo currently running benchmark.
14936
64aabd4b
SP
14937 * benchtests/Makefile (bench): Add atan and slowatan.
14938 * benchtests/atan-inputs: New file.
14939 * benchtests/slowatan-inputs: New file.
14940 * benchtests/slowatan.c: New file.
14941
c871eccd
SP
14942 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14943 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14944 its value.
14945
d755bba4
SP
14946 [BZ #15305]
14947 * sysdeps/unix/sysv/linux/kernel-features.h
14948 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14949 __ASSUME_XFS_RESTRICTED_CHOWN.
14950 * sysdeps/unix/sysv/linux/pathconf.c
14951 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14952 Save and restore errno.
14953
52ce4860
JM
149542013-04-02 Joseph Myers <joseph@codesourcery.com>
14955
14956 [BZ #15327]
14957 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14958 arguments using __kernel_casinh.
14959 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14960 arguments using __kernel_casinhf.
14961 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14962 arguments using __kernel_casinhl.
14963 * math/libm-test.inc (cacosh_test): Add more tests.
14964 * sysdeps/i386/fpu/libm-test-ulps: Update.
14965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14966
81f311c2
SP
149672013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14968
e7906a47
SP
14969 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14970 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14971
92e3664b
SP
14972 * bench/Makefile (bench): Add sin and slowsin.
14973 * benchtests/sin-inputs: New file.
14974 * benchtests/slowsin-inputs: New file.
14975 * benchtests/slowsin.c: New file.
14976
81f311c2
SP
14977 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14978 (bench): Add slowexp and slowpow.
14979 (exp-ITER): Increase iterations.
14980 (pow-ITER): Likewise.
14981 * benchtests/exp-inputs: Change input.
14982 * benchtests/pow-inputs: Likewise.
14983 * benchtests/slowexp-inputs: New file.
14984 * benchtests/slowexp.c: New file.
14985 * benchtests/slowpow-inputs: New file.
14986 * benchtests/slowpow.c: New file.
14987
ab0f1aa9
AZ
149882013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14989
14990 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14991 instructions.
14992 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14993 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14994 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14995 * benchtests/Makefile: Add rint benchtest.
14996 * benchtests/rint-inputs: Input for rint benchtest.
14997
57267616
TS
149982013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14999
15000 * Versions.def (libm): Add GLIBC_2.18.
15001 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15002 hidden libm prototypes.
15003 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15004 * math/Makefile (libm-calls): Add s_issignaling.
15005 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15006 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15007 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15008 declaration.
15009 * math/math.h [__USE_GNU] (issignaling): New macro.
15010 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15011 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15012 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15013 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15014 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15016 * manual/arith.texi (issignaling): New section.
15017 * manual/libm-err-tab.pl (@all_functions): Update comment.
15018 * math/gen-libm-test.pl (parse_args): Apply special handling for
15019 issignaling.
15020 * math/libm-test.inc (print_float, issignaling_test): New
15021 functions.
15022 (check_float_internal): Add issignaling checks.
15023 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15024 default definition.
15025 * sysdeps/powerpc/math-tests.h: New file.
15026 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15027 tests.
15028 * math/test-snan.c (TEST_FUNC): Likewise.
15029
6142896d
DM
150302013-03-30 David S. Miller <davem@davemloft.net>
15031
15032 * po/de.po: Update from translation team.
15033
ccc8cadf
JM
150342013-03-30 Joseph Myers <joseph@codesourcery.com>
15035
15036 [BZ #10357]
15037 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15038 imaginary part less than 1.0 and real part less than 0.5
15039 specially.
15040 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15041 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15042 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15043 (cacos_test): Add more tests.
15044 (casin_test): Likewise.
15045 (casinh_test): Likewise.
15046 * sysdeps/i386/fpu/libm-test-ulps: Update.
15047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15048
0f6a8d4b
SP
150492013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15050
0d1029de
SP
15051 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15052 ONE with its value.
15053
c2d94018
SP
15054 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15055 (__pow_mp): Replace ONE and MONE with their values.
15056 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15057 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15058 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15059 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15060 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15061 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15062
27ec37f1
SP
15063 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15064
a64d7e0e
SP
15065 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15066 (__pow_mp): Replace ZERO and MZERO with their values.
15067 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15068 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15069 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15071 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15072 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15073 (__sqr): Likewise.
15074
d26dd3eb
SP
15075 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15076
0f6a8d4b
SP
15077 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15078
e57b0c61
RM
150792013-03-28 Roland McGrath <roland@hack.frob.com>
15080
15081 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15082 Declare with __attribute__ ((weak)).
15083 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15084 Call __call_tls_dtors only if it's not NULL.
15085
356b3480
RM
150862013-03-28 Roland McGrath <roland@hack.frob.com>
15087
288f7d79
RM
15088 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15089 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15090 magic __ehdr_start linker symbol if it's defined.
15091 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15092 them up here if it was already done.
15093
dc0a0263
RM
15094 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15095 (_dl_aux_init): Use const in cast when setting it.
15096 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15097 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15098 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15099
3d3436ae
RM
15100 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15101 Declare them here.
15102 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15103 * csu/libc-tls.c: Nor here.
15104 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15105
356b3480
RM
15106 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15107 (__libc_message): Never call vsyslog.
15108
b0f1246a
AM
151092013-03-28 Alan Modra <amodra@gmail.com>
15110
15111 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15112 Define as empty.
15113 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15114 Likewise.
15115
fbbe2b9a
AZ
151162013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15117
15118 [BZ #15214]
15119 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15120 underflow.
15121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15122
1728ab37
SP
151232013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15124
7a86be6e
SP
15125 [BZ #15304]
15126 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15127 Don't add gid passed as argument.
15128
1728ab37
SP
15129 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15130
3a7182a1
JM
151312013-03-27 Joseph Myers <joseph@codesourcery.com>
15132
15133 [BZ #15307]
15134 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15135 imaginary part between 1.0 and 1.5 and real part less than 0.5
15136 specially.
15137 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15138 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15139 * math/libm-test.inc (cacos_test): Add more tests.
15140 (casin_test): Likewise.
15141 (casinh_test): Likewise.
15142 * sysdeps/i386/fpu/libm-test-ulps: Update.
15143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15144
6f2e90e7
SP
151452013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15146
5739f705
SP
15147 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15148 constants.
15149 (norm): Likewise.
15150 (denorm): Likewise.
15151 (__dbl_mp): Likewise.
15152 (add_magnitudes): Likewise.
15153 (sub_magnitudes): Likewise.
15154 (__add): Likewise.
15155 (__sub): Likewise.
15156 (__mul): Likewise.
15157 (__sqr): Likewise.
15158 (__inv): Likewise.
15159 (__dvd): Likewise.
15160
e375e83d
SP
15161 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15162 commented code.
15163 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15164 (__dubcos): Likewise.
15165 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15166 (__ieee754_acos): Likewise.
15167 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15168 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15169 (__exp1): Likewise.
15170 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15172 (log1): Likewise.
15173 (my_log2): Likewise.
15174 (checkint): Likewise.
15175 * sysdeps/ieee754/dbl-64/e_remainder.c
15176 (__ieee754_remainder): Likewise.
15177 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15178 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15179 (bsloww): Likewise.
15180 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15181
6f2e90e7
SP
15182 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15183 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15184 MANTISSA_STORE_T to store computations on mantissa. Use
15185 macros for rounding and division.
15186 (denorm): Likewise.
15187 (__dbl_mp): Likewise.
15188 (add_magnitudes): Likewise.
15189 (sub_magnitudes): Likewise.
15190 (__mul): Likewise.
15191 (__sqr): Likewise.
15192 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15193 powers of two in terms of TWOPOW macro.
15194 (mp_no): Make type of mantissa as MANTISSA_T.
15195 [!RADIXI]: Define RADIXI.
15196 [!TWO52]: Define TWO52.
15197 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15198
fce14d4e
AZ
151992013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15200
15201 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15202 llroundl symbol when building for PPC32.
15203
9ad027fb
MW
152042013-03-24 Mark H Weaver <mhw@netris.org>
15205
15206 * manual/arith.texi (Normalization Functions): Fix prototypes for
15207 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15208
e42a38dd
AZ
152092013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15210
15211 [BZ #13889]
15212 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15213 high value to check if expl overflow.
15214 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15215 to check for underflow and overflow.
15216 * math/libm-test.inc: Add exp test.
15217
2e0fb521
DL
152182013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15219
15220 [BZ #11120]
15221 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15222 with NOT_IN_libc.
15223
b5784d95
AZ
152242013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15225
15226 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15227 symbol.
15228
5aa4a1a1
TS
152292013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15230
bdef0be7
TS
15231 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15232 wrap blocks consisting of several statements.
15233
5aa4a1a1
TS
15234 * sysdeps/generic/math-tests.h: New file.
15235 * sysdeps/i386/fpu/math-tests.h: Likewise.
15236 * math/test-snan.c: Include it.
15237 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15238
98c48fe5
JM
152392013-03-21 Joseph Myers <joseph@codesourcery.com>
15240
15241 [BZ #15285]
15242 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15243 (__ieee754_j0l): Do not improve calculations using cos of twice
15244 input for inputs above LDBL_MAX / 2.0L.
15245 (__ieee754_y0l): Likewise.
15246 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15247 (__ieee754_j1l): Do not improve calculations using cos of twice
15248 input for inputs above LDBL_MAX / 2.0L.
15249 (__ieee754_y1l): Likewise.
15250 * math/libm-test.inc (j0_test): Add another test.
15251 (j1_test): Likewise.
15252 (y0_test): Likewise.
15253 (y1_test): Likewise.
15254 * sysdeps/i386/fpu/libm-test-ulps: Update.
15255
3775a8bc
SP
152562013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15257
15258 * Rules ($(objpfx)bench-%.c): Include code from a C source
15259 file.
15260
0a1b2ae6
JM
152612013-03-21 Joseph Myers <joseph@codesourcery.com>
15262
15263 [BZ #15287]
15264 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15265 imaginary part 1.0 and real part less than 0.5 specially.
15266 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15267 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15268 * math/libm-test.inc (cacos_test): Add more tests.
15269 (casin_test): Likewise.
15270 (casinh_test): Likewise.
15271 * sysdeps/i386/fpu/libm-test-ulps: Update.
15272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15273
b33d4ce4
SP
152742013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15275
15276 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15277 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15278
bef0b507
JM
152792013-03-20 Joseph Myers <joseph@codesourcery.com>
15280
15281 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15282 * config.make.in (config-cflags-sse4): Remove variable.
15283 (config-cflags-avx): Likewise.
15284 (config-cflags-sse2avx): Likewise.
15285 (config-cflags-novzeroupper): Likewise.
15286 (config-asflags-i686): Likewise.
15287 (have-mfma4): Likewise.
15288 (have-as-vis3): Likewise.
15289 (MIG): Likewise.
15290 * configure.in (MIG): Do not AC_SUBST.
15291 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15292 (libc_cv_cc_sse4): Do not AC_SUBST.
15293 (libc_cv_cc_avx): Likewise.
15294 (libc_cv_cc_sse2avx): Likewise.
15295 (libc_cv_cc_novzeroupper): Likewise.
15296 (libc_cv_cc_fma4): Likewise.
15297 (libc_cv_as_i686): Likewise.
15298 (libc_cv_sparc_as_vis3): Likewise.
15299 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15300 LIBC_CONFIG_VAR.
15301 (config-asflags-i686): Likewise.
15302 (config-cflags-avx): Likewise.
15303 (config-cflags-sse2avx): Likewise.
15304 (have-mfma4): Likewise.
15305 (config-cflags-novzeroupper): Likewise.
15306 * sysdeps/mach/configure.in (MIG): Likewise.
15307 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15308 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15309 LIBC_CONFIG_VAR.
15310 (config-cflags-avx): Likewise.
15311 (config-cflags-sse2avx): Likewise.
15312 (have-mfma4): Likewise.
15313 (config-cflags-novzeroupper): Likewise.
15314 * configure: Regenerated.
15315 * sysdeps/i386/configure: Likewise.
15316 * sysdeps/mach/configure: Likewise.
15317 * sysdeps/sparc/configure: Likewise.
15318 * sysdeps/x86_64/configure: Likewise.
15319
912cc4b3
RM
153202013-03-20 Roland McGrath <roland@hack.frob.com>
15321
15322 [BZ #14812]
15323 * locale/programs/localedef.c (options): Put N_ translation marker
15324 on argument names, not just descriptions.
15325
04eed2b0
MS
153262013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15327
15328 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15329
a065ceff
OB
153302013-03-20 Ondřej Bílka <neleai@seznam.cz>
15331
9bb2a810 15332 [BZ #14176]
a065ceff
OB
15333 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15334
a600e5ce
RM
153352013-03-19 Roland McGrath <roland@hack.frob.com>
15336
15337 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15338 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15339 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15340 [!BEFORE_ABORT] (before_abort): New function.
15341 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15342 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15343 (writev_for_fatal): New function.
15344 (WRITEV_FOR_FATAL): New macro; call that.
15345 (backtrace_and_maps): New function.
15346 (BEFORE_ABORT): New macro; call that.
15347 (struct str_list): Type removed.
15348 (__libc_message, __libc_fatal): Functions removed.
15349 Include <sysdeps/posix/libc_fatal.c> instead.
15350
6b18bea6
JM
153512013-03-19 Joseph Myers <joseph@codesourcery.com>
15352
15353 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15354 constants.
15355 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15356 double constants.
15357
aaa8cb4b
AS
153582013-03-19 Andreas Schwab <schwab@suse.de>
15359
44673770
AS
15360 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15361 * sysdeps/gnu/configure: Regenerate.
15362
aaa8cb4b
AS
15363 * configure.in: Substitute libc_cv_rtlddir.
15364 * configure: Regenerate.
15365 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15366 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15367 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15368 * elf/Makefile (install-others, CFLAGS-interp.c)
15369 (ldso_install, common-ldd-rewrite): Likewise.
15370 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15371 $(inst_slibdir)/$(rtld-installed-name).
15372 * scripts/rellns-sh: Add -p option.
15373 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15374 for source.
15375
d3cfc668
SP
153762013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15377
15378 * manual/nptl.texi: Renamed to ...
15379 * manual/threads.texi: ... this.
15380 * manual/Makefile (chapters): Update.
15381
0e2b9cdd
RM
153822013-03-18 Roland McGrath <roland@hack.frob.com>
15383
15384 [BZ #14812]
15385 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15386 on argument names, not just descriptions.
0e2b9cdd
RM
15387 * malloc/memusagestat.c (options): Likewise.
15388 * nss/getent.c (options): Likewise.
63270c24
RM
15389
153902013-03-18 Benno Schulenberg <bensberg@justemail.net>
15391
15392 [BZ #14812]
15393 * iconv/iconv_prog.c (options): Put N_ translation marker
15394 on argument names, not just descriptions.
15395 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15396
b2e1393c
OB
153972013-03-18 Ondrej Bilka <neleai@seznam.cz>
15398
15399 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15400 implementation which is faster on all x86_64 architectures.
15401 Tested on AMD, Intel Nehalem, SNB, IVB.
15402 * sysdeps/x86_64/strnlen.S: Likewise.
15403
15404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15405 Remove all multiarch strlen and strnlen versions.
15406 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15407 Remove strlen and strnlen related parts.
15408
15409 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15410 Inline strlen part.
15411 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15412
15413 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15414 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15415 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15416 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15417 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15418 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15419
ec4ff04d
CD
154202013-03-17 Carlos O'Donell <carlos@redhat.com>
15421
15422 * manual/memory.texi (Malloc Tunable Parameters):
15423 Sort parameters alphabetically. Add comments for missing entries.
15424
cd18e90a
DM
154252013-03-17 David S. Miller <davem@davemloft.net>
15426
15427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15428
2a185d32
JM
154292013-03-16 Joseph Myers <joseph@codesourcery.com>
15430
d2f9799e
JM
15431 [BZ #15283]
15432 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15433 for arguments at most half maximum finite value.
15434 * math/libm-test.inc (j0_test): Add more tests.
15435 (j1_test): Likewise.
15436 (y0_test): Likewise.
15437 (y1_test): Likewise.
15438 * sysdeps/i386/fpu/libm-test-ulps: Update.
15439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15440
2a185d32
JM
15441 [BZ #14155]
15442 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15443 1 / x and functions P and Q for arguments above 0x1p256L.
15444 (__ieee754_y0l): Likewise.
15445 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15446 (__ieee754_y1l): Likewise.
15447 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15448 (j1_test): Likewise.
15449 (y0_test): Likewise.
15450 (y1_test): Likewise.
15451
6cbec759
TS
154522013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15453
15454 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15455 variable.
15456
bc16e260
RM
154572013-03-15 Roland McGrath <roland@hack.frob.com>
15458
aefc9b8c
RM
15459 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15460 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15461 zero since it's initialized to EXEC_PAGESIZE.
15462
bc16e260
RM
15463 * sysdeps/unix/sysv/linux/ldsodefs.h
15464 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15465 * sysdeps/generic/ldsodefs.h: ... here.
15466
a57da955
TS
154672013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15468
af00a34d
TS
15469 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15470
495ded2c
TS
15471 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15472 math/test-snan.c.
15473 * math/test-snan.c: Renamed from
15474 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15475 * math/Makefile (tests): Add test-snan.
15476 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15477 test-powerpc-snan.
15478
777b0332
TS
15479 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15480 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15481 functions.
15482 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15483 __builtin_nan family of functions.
15484 * math/libm-test.inc (initialize): Initialize qnan_value with
15485 __builtin_nan family of functions.
15486 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15487 Remove variables.
15488 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15489 Remove functions.
15490 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15491 storage class. Initialize qNaN_var and sNaN_var with
15492 __builtin_nan and __builtin_nans families of functions,
15493 respectively.
15494
64d063b8
TS
15495 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15496 (sqrt_test): Remove duplicate test with qNaN input.
15497 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15498 (round_test, signbit_test, significand_test): Note missing +/-Inf
15499 as well as qNaN tests.
15500
67e971f1
TS
15501 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15502 qNaN_var. Fix a few strings, too.
15503 * math/libm-test.inc (nan_value): Rename to qnan_value.
15504 * math/gen-libm-test.pl (%beautify): Adjust to that.
15505 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15506 * math/test-misc.c (main): Likewise.
15507 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15508 to __qnan_bytes, and __qnan_union, respectively.
15509 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15510 Likewise.
15511 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15512 and lqnanval, respectively.
15513 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15514 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15515 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15516 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15517
64487e12
TS
15518 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15519 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15520 doubles.
15521
e015e27b
TS
15522 * math/test-misc.c (main): Fix copy'n'pastos.
15523 * misc/tst-efgcvt.c (special): Likewise.
15524
a57da955
TS
15525 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15526 Remove declarations.
15527
1e380345
SP
155282013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15529
15530 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15531 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15532 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15533 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15534
ef26eece
AZ
155352013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15536
15537 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15538 macro to return vdso values correctly in IFUNC implementations.
15539 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15540 Optimization by using IFUNC.
15541
8cfdb7e0
SP
155422013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15543 Richard Henderson <rth@redhat.com>
15544 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15545
15546 * Makefile.in (bench): New target.
15547 * NEWS: Mention the benchmark framework.
15548 * Rules (bench): Likewise.
15549 (binaries-bench): Generate binaries for functions to
15550 benchmark.
15551 * benchtests/Makefile: New makefile for benchmark tests.
15552 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15553 programs.
15554 * benchtests/exp-inputs: New input file for EXP function.
15555 * benchtests/pow-inputs: New input file for POW function.
15556 * scripts/bench.pl: New script to generate source files for
15557 benchmark programs.
15558
bcda9880
SP
155592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15560
d22ca8cd
SP
15561 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15562 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15563 computations on mantissa. Use macros for rounding and
15564 division.
15565 (denorm): Likewise.
15566 (__dbl_mp): Likewise.
15567 (add_magnitudes): Likewise.
15568 (sub_magnitudes): Likewise.
15569 (__mul): Likewise.
15570 (__sqr): Likewise.
15571 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15572 powers of two in terms of TWOPOW macro.
15573 (mp_no): Make type of mantissa as MANTISSA_T.
15574 [!RADIXI]: Define RADIXI.
15575 [!TWO52]: Define TWO52.
15576 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15577
bcda9880
SP
15578 * manual/nptl.texi (cindex): Modify threads to pthreads.
15579
06d5adfb
JM
155802013-03-15 Joseph Myers <joseph@codesourcery.com>
15581
15582 * sysdeps/x86_64/preconfigure: Regenerated.
15583
41c7328e
JM
155842013-03-14 Joseph Myers <joseph@codesourcery.com>
15585
15586 [BZ #14155]
15587 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15588 0x1p28 and above.
15589 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15590 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15591 0x1p28 and above.
15592 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15593 * math/libm-test.inc (j0_test): Do not allow one spurious
15594 underflow exception.
15595 (y1_test): Likewise.
15596
e25cfa60
SP
155972013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15598
0409959c
SP
15599 * manual/Makefile (chapters): Add nptl.
15600 * manual/debug.texi (Debugging Support): Add link to Threads
15601 chapter.
15602 * manual/nptl.texi: New file.
15603
e25cfa60
SP
15604 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15605
58a1335e
PB
156062013-03-14 Petr Baudis <pasky@ucw.cz>
15607
15608 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15609 for non-NULL pointer before the memory validity test. Pointed
15610 out by Holger Brunck <holger.brunck@keymile.com>.
15611
9dc7c64f
AS
156122013-03-13 Andreas Schwab <schwab@suse.de>
15613
15614 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15615 instead of .os.
15616
54206aa6
JM
156172013-03-13 Joseph Myers <joseph@codesourcery.com>
15618
15619 * timezone/zic.c: Update from tzcode 2013b.
15620
e98cdb38
CD
156212013-03-12 Carlos O'Donell <carlos@redhat.com>
15622
15623 * manual/install.texi (Configuring and compiling):
15624 Mention i686 and i586.
15625 * INSTALL: Regenerate.
15626
9967e003
RM
156272013-03-12 Roland McGrath <roland@hack.frob.com>
15628
15629 * sysdeps/init_array/elf-init.c: New file.
15630 * csu/elf-init.c
15631 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15632 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15633
15634 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15635 __gmon_start__ as global, but as static with a .preinit_array pointer.
15636 * sysdeps/init_array/gmon-start.c: New file. Use that.
15637 * sysdeps/init_array/crti.S: New file, empty except for comments.
15638 * sysdeps/init_array/crtn.S: Likewise.
15639
e6b5a293 156402013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15641
15642 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15643 definining bcopy.
80f844c9
OB
15644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15645 Remove Prefer_SSE_for_memop.
15646 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15647 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15648 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15650 memset-x86-64.
80f844c9 15651 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15652 Remove bzero, memset ifunc support.
80f844c9
OB
15653 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15654 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15655 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15656 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15657
fb6b0fcb
AS
156582013-03-11 Andreas Schwab <schwab@suse.de>
15659
15660 [BZ #15234]
15661 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15662 by SHLIB_COMPAT.
15663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15664 (GLIBC_2.16): Remove pthread_atfork.
15665
3e6bd4b1
PP
156662013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15667
15668 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15669 (ptestcases.h): Likewise.
15670
222d7f00
RM
156712013-03-08 Roland McGrath <roland@hack.frob.com>
15672
15673 * Makeconfig ($(common-objpfx)config.status): Depend on
15674 sysdeps/*/preconfigure{,.in} too.
15675
1ba4f030
JM
156762013-03-08 Joseph Myers <joseph@codesourcery.com>
15677
a222d91a
JM
15678 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15679 (__free_hook): Use void * instead of __malloc_ptr_t.
15680 (__malloc_hook): Likewise.
15681 (__realloc_hook): Likewise.
15682 (__memalign_hook): Likewise.
15683 (__after_morecore_hook): Likewise.
15684 * malloc/arena.c (save_malloc_hook): Likewise.
15685 (save_free_hook): Likewise.
15686 * malloc/hooks.c (malloc_hook_ini): Likewise.
15687 (realloc_hook_ini): Likewise.
15688 (memalign_hook_ini): Likewise.
15689 * malloc/malloc.c (malloc_hook_ini): Likewise.
15690 (realloc_hook_ini): Likewise.
15691 (memalign_hook_ini): Likewise.
15692 (__free_hook): Likewise.
15693 (__malloc_hook): Likewise.
15694 (__realloc_hook): Likewise.
15695 (__memalign_hook): Likewise.
15696 (__libc_malloc): Likewise.
15697 (__libc_free): Likewise.
15698 (__libc_realloc): Likewise.
15699 (__libc_memalign): Likewise.
15700 (__libc_valloc): Likewise.
15701 (__libc_pvalloc): Likewise.
15702 (__libc_calloc): Likewise.
15703 (__posix_memalign): Likewise.
15704 * malloc/morecore.c (__sbrk): Likewise.
15705 (__default_morecore): Likewise.
15706
5cc45e10
JM
15707 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15708
dd54b864
JM
15709 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15710 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15711 __malloc_ptrdiff_t.
15712
1ba4f030
JM
15713 * malloc/malloc.h (__malloc_size_t): Remove macro.
15714 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15715 __malloc_size_t.
15716 (old_memalign_hook): Likewise.
15717 (old_realloc_hook): Likewise.
15718 (struct hdr): Likewise.
15719 (flood): Likewise.
15720 (mallochook): Likewise.
15721 (memalignhook): Likewise.
15722 (reallochook): Likewise.
15723 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15724 (tr_old_realloc_hook): Likewise.
15725 (tr_old_memalign_hook): Likewise.
15726 (tr_mallochook): Likewise.
15727 (tr_reallochook): Likewise.
15728 (tr_memalignhook): Likewise.
15729
edf66e57
AZ
157302013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15731
15732 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15733 default_ldbl_pack and using as default implementation.
15734 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15735 implementation.
15736 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15737 redundant definition.
15738 (ldbl_insert_mantissa): Likewise.
15739 (ldbl_canonicalize): Likewise.
15740 (ldbl_nearbyint): Likewise.
15741 (ldbl_pack): Rename to ldbl_pack_ppc.
15742 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15743 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15744 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15745
6d9145d8
SP
157462013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15747
15748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15749 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15750 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15751 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15753 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15754 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15755 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15756
4dd4e157
AJ
157572013-03-07 Andreas Jaeger <aj@suse.de>
15758
15759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15760 bits/mman-linux.h.
15761
adbb8027
SP
157622013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15763
ce544b5b
SP
15764 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15765 Include mpa.h and declare __MPEXP.
15766 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15767 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15768 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15769 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15770 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15771 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15772 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15773
4cc149fd
SP
15774 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15775 (__slowpow): Use long double EXPL and LOGL functions to
15776 compute POW.
15777 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15778 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15779 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15780 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15781 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15782 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15783
e6ebd4a7
SP
15784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15785 intermediate variable to calculate exponent.
15786 (__sqr): Likewise.
15787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15788 Likewise.
15789 (__sqr): Likewise.
15790
82a9811d
SP
15791 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15792 [!NO__SQR]: Define __sqr.
15793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15794 and NO__SQR. Remove all code except __mul and __sqr. Include
15795 sysdeps/ieee754/dbl-64/mpa.c.
15796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15797
adbb8027
SP
15798 [BZ #12723]
15799 * posix/Makefile (tests): Add tst-pathconf.
15800 * posix/tst-pathconf.c: New test case.
15801 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15802 _PC_PIPE_BUF.
15803 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15804
39120df9
PF
158052013-03-06 Patsy Franklin <pfrankli@redhat.com>
15806
15807 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15808
67525cb8
AJ
158092013-03-06 Andreas Jaeger <aj@suse.de>
15810
664a9ce4
AJ
15811 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15812 definition via __MAP_ANONYMOUS.
15813
8e39047d
AJ
15814 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15815 it's not part of Linux headers.
15816
67525cb8
AJ
15817 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15818 (MAP_HUGE_MASK): Define.
15819
15820 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15821 Define.
15822 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15823 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15824 Define.
15825 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15826 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15827 Define.
15828 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15829 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15830 Define.
15831 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15832
15833 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15834 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15835 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15836 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15837 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15838 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15839
15840 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15841 Handle f2fs.
15842
15843 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15844 Handle f2fs and efivarfs.
15845
15846 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15847 f2fs.
15848
15849 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15850 (EFIVARFS_MAGIC): Add.
15851 (F2FS_LINK_MAX): Add.
15852
e1b42695
PP
158532013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15854
15855 * stdio-common/vfprintf.c: Replace __builtin_expect with
15856 __glibc_unlikely.
15857
2d67d91a
JM
158582013-03-06 Joseph Myers <joseph@codesourcery.com>
15859
15860 [BZ #13550]
15861 * sysdeps/generic/bp-sym.h: Remove file.
15862 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15863 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15864 <bp-sym.h> and <bp-asm.h>.
15865 (__longjmp): Don't use BP_SYM.
15866 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15867 and <bp-asm.h>.
15868 (memcpy): Don't use BP_SYM.
15869 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15870 <bp-sym.h> and <bp-asm.h>.
15871 (memcpy): Don't use BP_SYM.
15872 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15873 <bp-asm.h>.
15874 (memcpy): Don't use BP_SYM.
15875 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15876 <bp-asm.h>.
15877 (memset): Don't use BP_SYM.
15878 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15879 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15880 (__bzero): Don't use BP_SYM.
15881 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15882 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15883 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15884 <bp-sym.h> and <bp-asm.h>.
15885 (memcmp): Don't use BP_SYM. Remove comment about bounded
15886 pointers.
15887 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15888 <bp-sym.h> and <bp-asm.h>.
15889 (memcpy): Don't use BP_SYM.
15890 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15891 <bp-sym.h> and <bp-asm.h>.
15892 (memset): Don't use BP_SYM.
15893 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15894 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15895 (__bzero): Don't use BP_SYM.
15896 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15897 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15898 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15899 <bp-sym.h> and <bp-asm.h>.
15900 (strncmp): Don't use BP_SYM. Remove comment about bounded
15901 pointers.
15902 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15903 <bp-sym.h> and <bp-asm.h>.
15904 (memcpy): Don't use BP_SYM.
15905 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15906 <bp-sym.h> and <bp-asm.h>.
15907 (memset): Don't use BP_SYM.
15908 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15909 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15910 (__bzero): Don't use BP_SYM.
15911 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15912 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15913 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15914 <bp-sym.h> and <bp-asm.h>.
15915 (__memchr): Don't use BP_SYM.
15916 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15917 <bp-sym.h> and <bp-asm.h>.
15918 (memcmp): Don't use BP_SYM. Remove comment about bounded
15919 pointers.
15920 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15921 <bp-sym.h> and <bp-asm.h>.
15922 (memcpy): Don't use BP_SYM.
15923 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15924 <bp-sym.h> and <bp-asm.h>.
15925 (__mempcpy): Don't use BP_SYM.
15926 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15927 <bp-sym.h> and <bp-asm.h>.
15928 (__memrchr): Don't use BP_SYM.
15929 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15930 <bp-sym.h> and <bp-asm.h>.
15931 (memset): Don't use BP_SYM.
15932 (__bzero): Likewise.
15933 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15934 <bp-sym.h> and <bp-asm.h>.
15935 (__rawmemchr): Don't use BP_SYM.
15936 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15937 <bp-sym.h> and <bp-asm.h>.
15938 (__STRCMP): Don't use BP_SYM.
15939 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15940 <bp-sym.h> and <bp-asm.h>.
15941 (strchr): Don't use BP_SYM.
15942 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15943 <bp-sym.h> and <bp-asm.h>.
15944 (__strchrnul): Don't use BP_SYM.
15945 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15946 <bp-sym.h> and <bp-asm.h>.
15947 (strlen): Don't use BP_SYM.
15948 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15949 <bp-sym.h> and <bp-asm.h>.
15950 (strncmp): Don't use BP_SYM. Remove comment about bounded
15951 pointers.
15952 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15953 <bp-sym.h> and <bp-asm.h>.
15954 (__strnlen): Don't use BP_SYM.
15955 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15956 <bp-sym.h> and <bp-asm.h>.
15957 (__GI__setjmp): Don't use BP_SYM.
15958 (_setjmp): Likewise.
15959 (__sigsetjmp): Likewise.
15960 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15961 (L(start_addresses)): Don't use BP_SYM.
15962 (_start): Likewise.
15963 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15964 <bp-asm.h>.
15965 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15966 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15967 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15968 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15969 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15970 <bp-asm.h>.
15971 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15972 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15973 about bounded pointers.
15974 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15975 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15976 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15977 <bp-asm.h>.
15978 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15979 about bounded pointers. Remove GKM FIXME comments.
15980 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15981 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15982 <bp-asm.h>.
15983 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15984 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15985 Remove GKM FIXME comments.
15986 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15987 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15988 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15989 <bp-asm.h>.
15990 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15991 about bounded pointers. Remove GKM FIXME comment.
15992 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15993 and <bp-asm.h>.
15994 (strncmp): Don't use BP_SYM. Remove comment about bounded
15995 pointers.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15997 <bp-sym.h> and <bp-asm.h>.
15998 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16000 <bp-sym.h> and <bp-asm.h>.
16001 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16002 comment.
16003
cdcf361f
PP
160042013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16005
16006 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16007 call free(NULL).
16008
3c4a2b15
DM
160092013-03-05 David S. Miller <davem@davemloft.net>
16010
16011 * po/es.po: Update from translation team.
16012
cdcf361f 160132013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16014
16015 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16016 <bits/mman-linux.h>.
16017 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16018 is fine.
16019 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16020 <bits/mman-linux.h> to end of file.
16021 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16022 is fine.
16023 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16024 <bits/mman-linux.h> to end of file.
16025 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16026 is fine.
16027 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16028 <bits/mman-linux.h> to end of file.
16029
16030 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16031 (MCL_CURRENT, MCL_FUTURE): Define here.
16032
5f67c04f
AK
160332013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16034
8a4473cc 16035 [BZ #15232]
5f67c04f
AK
16036 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16037 attribute_hidden.
16038 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16039
c3e94a95
AK
160402013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16041
16042 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16043 fourth parameter needed for rt_sigprocmask syscall.
16044 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16045 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16046 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16047 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16048 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16049 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16050
cfb6382a
JM
160512013-03-04 Joseph Myers <joseph@codesourcery.com>
16052
16053 [BZ #13550]
16054 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16055 comment about bounded pointers.
16056 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16057 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16058
539d8e01
AJ
160592013-03-04 Andreas Jaeger <aj@suse.de>
16060
16061 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16062 common definitions.
16063
16064 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16065 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16066 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16067 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16068 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16069 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16070
2e167a70 160712013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16072
16073 [BZ #15055]
16074 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16075 __ieee754_sqrl instead of __sqrl.
16076
68508633
JM
160772013-03-01 Joseph Myers <joseph@codesourcery.com>
16078
16079 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16080 * sysdeps/powerpc/fpu_control.h: ... here.
16081 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16082 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16083 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16084 * sysdeps/powerpc/bits/mathinline.h: ... here.
16085
7775448e
RM
160862013-03-01 Roland McGrath <roland@hack.frob.com>
16087
16088 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16089 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16090 to just [NEED_DL_SYSINFO_DSO].
16091 * elf/dl-support.c: Likewise.
16092 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16093 * elf/rtld.c (dl_main): Likewise.
16094 * elf/setup-vdso.h (setup_vdso): Likewise.
16095 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16096 * sysdeps/unix/sysv/linux/dl-sysdep.c
16097 (_dl_discover_osversion): Likewise.
16098
4e9b5995
CD
160992013-03-01 Carlos O'Donell <carlos@redhat.com>
16100
16101 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16102 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16103
e23872c8
SP
161042013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16105
e5c74c63
SP
16106 * NEWS: Mention libm performance improvements and non-x86 PI
16107 futex support.
16108
e23872c8
SP
16109 * csu/libc-start.c (__pthread_initialize_minimal): Change
16110 function arguments.
16111 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16112
b5510883
JM
161132013-02-28 Joseph Myers <joseph@codesourcery.com>
16114
16115 [BZ #13550]
16116 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16117 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16118 <bp-sym.h> and <bp-asm.h>.
16119 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16120 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16121 and <bp-asm.h>.
16122 (memcpy): Don't use BP_SYM.
16123 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16124 <bp-asm.h>.
16125 (__mpn_add_n): Don't use BP_SYM.
16126 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16127 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16128 and <bp-asm.h>.
16129 (__mpn_addmul_1): Don't use BP_SYM.
16130 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16131 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16132 <bp-sym.h>.
16133 (_setjmp): Don't use BP_SYM.
16134 (__novmx_setjmp): Likewise.
16135 (__GI__setjmp): Likewise.
16136 (__vmx_setjmp): Likewise.
16137 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16138 <bp-sym.h>.
16139 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16140 (__bzero): Don't use BP_SYM.
16141 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16142 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16143 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16144 <bp-sym.h> and <bp-asm.h>.
16145 (memcpy): Don't use BP_SYM.
16146 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16147 <bp-sym.h> and <bp-asm.h>.
16148 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16149 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16150 <bp-sym.h> and <bp-asm.h>.
16151 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16152 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16153 <bp-asm.h>.
16154 (__mpn_lshift): Don't use BP_SYM.
16155 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16156 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16157 <bp-asm.h>.
16158 (memset): Don't use BP_SYM.
16159 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16160 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16161 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16162 <bp-asm.h>.
16163 (__mpn_mul_1): Don't use BP_SYM.
16164 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16165 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16166 <bp-sym.h> and <bp-asm.h>.
16167 (memcmp): Don't use BP_SYM.
16168 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16169 <bp-sym.h> and <bp-asm.h>.
16170 (memcpy): Don't use BP_SYM.
16171 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16172 <bp-sym.h> and <bp-asm.h>.
16173 (memset): Don't use BP_SYM.
16174 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16175 <bp-sym.h> and <bp-asm.h>.
16176 (strncmp): Don't use BP_SYM.
16177 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16178 <bp-sym.h> and <bp-asm.h>.
16179 (memcpy): Don't use BP_SYM.
16180 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16181 <bp-sym.h> and <bp-asm.h>.
16182 (memset): Don't use BP_SYM.
16183 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16184 <bp-sym.h> and <bp-asm.h>.
16185 (__memchr): Don't use BP_SYM.
16186 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16187 <bp-sym.h> and <bp-asm.h>.
16188 (memcmp): Don't use BP_SYM.
16189 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16190 <bp-sym.h> and <bp-asm.h>.
16191 (memcpy): Don't use BP_SYM.
16192 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16193 <bp-sym.h> and <bp-asm.h>.
16194 (__mempcpy): Don't use BP_SYM.
16195 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16196 <bp-sym.h> and <bp-asm.h>.
16197 (__memrchr): Don't use BP_SYM.
16198 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16199 <bp-sym.h> and <bp-asm.h>.
16200 (memset): Don't use BP_SYM.
16201 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16202 <bp-sym.h> and <bp-asm.h>.
16203 (__rawmemchr): Don't use BP_SYM.
16204 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16205 <bp-sym.h> and <bp-asm.h>.
16206 (__STRCMP): Don't use BP_SYM.
16207 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16208 <bp-sym.h> and <bp-asm.h>.
16209 (strchr): Don't use BP_SYM.
16210 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16211 <bp-sym.h> and <bp-asm.h>.
16212 (__strchrnul): Don't use BP_SYM.
16213 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16214 <bp-sym.h> and <bp-asm.h>.
16215 (strlen): Don't use BP_SYM.
16216 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16217 <bp-sym.h> and <bp-asm.h>.
16218 (strncmp): Don't use BP_SYM.
16219 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16220 <bp-sym.h> and <bp-asm.h>.
16221 (__strnlen): Don't use BP_SYM.
16222 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16223 <bp-asm.h>.
16224 (__mpn_rshift): Don't use BP_SYM.
16225 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16226 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16227 <bp-sym.h> and <bp-asm.h>.
16228 (__sigsetjmp): Don't use BP_SYM.
16229 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16230 (L(start_addresses)): Don't use BP_SYM.
16231 (_start): Likewise.
16232 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16233 <bp-asm.h>.
16234 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16235 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16236 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16237 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16238 <bp-asm.h>.
16239 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16240 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16241 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16242 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16243 <bp-asm.h>.
16244 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16245 comments.
16246 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16247 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16248 <bp-asm.h>.
16249 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16250 FIXME comments.
16251 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16252 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16253 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16254 <bp-asm.h>.
16255 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16256 comment.
16257 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16258 and <bp-asm.h>.
16259 (strncmp): Don't use BP_SYM,
16260 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16261 <bp-asm.h>.
16262 (__mpn_sub_n): Don't use BP_SYM.
16263 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16264 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16265 and <bp-asm.h>.
16266 (__mpn_submul_1): Don't use BP_SYM.
16267 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16269 <bp-sym.h> and <bp-asm.h>.
16270 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16272 <bp-sym.h> and <bp-asm.h>.
16273 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16274 comment.
16275
8d19fe64
SP
162762013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16277
16278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16279 Use ZK to minimize writes to Z.
16280 (sub_magnitudes): Simplify code a bit.
16281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16282 Use ZK to minimize writes to Z.
16283 (sub_magnitudes): Simplify code a bit.
16284
85bd816a
RM
162852013-02-27 Roland McGrath <roland@hack.frob.com>
16286
16287 * csu/gmon-start.c: Add special exception to license text.
16288
b5977bf2
RH
162892013-02-27 Richard Henderson <rth@redhat.com>
16290
16291 * scripts/config.guess: Update from config.git.
16292 * scripts/config.sub: Likewise.
16293
11d6e2f2
SP
162942013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16295
09c14ed2
SP
16296 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16297
a688864e
SP
16298 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16299
6295157a
SP
16300 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16301
b8de2202
SP
16302 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16303
11d6e2f2
SP
16304 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16305
7e80ddb8
RM
163062013-02-26 Roland McGrath <roland@hack.frob.com>
16307
16308 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16309 [$(build-shared = yes].
7e80ddb8 16310
7da6d9ed
SP
163112013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16312
45f05884
SP
16313 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16314 (__mul): Reduce iterations for calculating mantissa.
16315
2236d359
SP
16316 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16317 MPTWO.
16318 (__mpranred): Likewise.
16319
7da6d9ed
SP
16320 [BZ #15160]
16321 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16322 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16323
b7688c42
PE
163242013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16325
16326 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16327 Define __attribute__.
16328
53a5c423
SP
163292013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16330
16331 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16332 unused.
16333 * posix/regex_internal.h (__attribute): Remove.
16334 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16335 (re_string_context_at): Likewise.
16336 (bitset_not): Use __attribute__ and mark function as possibly
16337 unused.
16338 (bitset_merge): Likewise.
16339 (bitset_mask): Likewise.
16340 (re_string_char_size_at): Likewise.
16341 (re_string_wchar_at): Likewise.
16342 (re_string_elem_size_at): Likewise.
16343
60f5a8b5
SP
163442013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16345
2a983a2e
SP
16346 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16347 code.
16348 (cc32): Likewise.
16349
e69804d1
SP
16350 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16351 (__acr): Likewise.
16352 (__cpy): Likewise.
16353 (norm): Likewise.
16354 (denorm): Likewise.
16355 (__dbl_mp): Likewise.
16356 (add_magnitudes): Likewise.
16357 (sub_magnitudes): Likewise.
16358 (__mul): Likewise.
16359 (__inv): Likewise.
16360
2f22a1e8
SP
16361 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16362 style.
16363
8930ddc7
SP
16364 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16365 style.
16366
dc60cb11
SP
16367 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16368 code.
16369
60f5a8b5
SP
16370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16371 up changes with default code.
16372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16373 Likewise.
16374
b4d1fd33
AM
163752013-02-24 Allan McRae <allan@archlinux.org>
16376
faf6f8bc
AM
16377 * manual/socket.texi (The Internet Namespace): Order menu items
16378 to match that in the file.
16379
b4d1fd33
AM
16380 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16381 node listing of the info page menu.
16382
2366713d
JM
163832013-02-21 Joseph Myers <joseph@codesourcery.com>
16384
16385 [BZ #13550]
16386 * sysdeps/i386/bp-asm.h: Remove file.
16387 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16388 (PARMS): Do not use macros from bp-asm.h.
16389 (S1): Likewise.
16390 (S2): Likewise.
16391 (SIZE): Likewise.
16392 (__mpn_add_n): Do not use BP_SYM
16393 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16394 "bp-asm.h".
16395 (PARMS): Do not use macros from bp-asm.h.
16396 (S1): Likewise.
16397 (SIZE): Likewise.
16398 (__mpn_addmul_1): Do not use BP_SYM
16399 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16400 "bp-asm.h".
16401 (PARMS): Do not use macros from bp-asm.h.
16402 (SIGMSK): Likewise.
16403 (_setjmp): Likewise. Do not use BP_SYM.
16404 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16405 "bp-asm.h".
16406 (PARMS): Do not use macros from bp-asm.h.
16407 (SIGMSK): Likewise.
16408 (setjmp): Likewise. Do not use BP_SYM.
16409 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16410 "bp-asm.h".
16411 (PARMS): Do not use macros from bp-asm.h.
16412 (__frexp): Do not use BP_SYM.
16413 (frexp): Likewise.
16414 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16415 "bp-asm.h".
16416 (PARMS): Do not use macros from bp-asm.h.
16417 (__frexpf): Do not use BP_SYM.
16418 (frexpf): Likewise.
16419 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16420 "bp-asm.h".
16421 (PARMS): Do not use macros from bp-asm.h.
16422 (__frexpl): Do not use BP_SYM.
16423 (frexpl): Likewise.
16424 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16425 "bp-asm.h".
16426 (PARMS): Do not use macros from bp-asm.h.
16427 (__remquo): Do not use BP_SYM.
16428 (remquo): Likewise.
16429 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16430 "bp-asm.h".
16431 (PARMS): Do not use macros from bp-asm.h.
16432 (__remquof): Do not use BP_SYM.
16433 (remquof): Likewise.
16434 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16435 "bp-asm.h".
16436 (PARMS): Do not use macros from bp-asm.h.
16437 (__remquol): Do not use BP_SYM.
16438 (remquol): Likewise.
16439 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16440 "bp-asm.h".
16441 (PARMS): Do not use macros from bp-asm.h.
16442 (DEST): Likewise.
16443 (SRC): Likewise.
16444 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16445 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16446 "bp-asm.h".
16447 (PARMS): Do not use macros from bp-asm.h.
16448 (strlen): Do not use BP_SYM.
16449 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16450 "bp-asm.h".
16451 (PARMS): Do not use macros from bp-asm.h.
16452 (S1): Likewise.
16453 (S2): Likewise.
16454 (SIZE): Likewise.
16455 (__mpn_add_n): Do not use BP_SYM.
16456 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16457 "bp-asm.h".
16458 (PARMS): Do not use macros from bp-asm.h.
16459 (S1): Likewise.
16460 (SIZE): Likewise.
16461 (__mpn_addmul_1): Do not use BP_SYM.
16462 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16463 weak_alias.
16464 (bzero): Likewise.
16465 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16466 "bp-asm.h".
16467 (PARMS): Do not use macros from bp-asm.h.
16468 (S): Likewise.
16469 (SIZE): Likewise.
16470 (__mpn_lshift): Do not use BP_SYM.
16471 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16472 "bp-asm.h".
16473 (PARMS): Do not use macros from bp-asm.h.
16474 (DEST): Likewise.
16475 (SRC): Likewise.
16476 (LEN): Likewise.
16477 (memcpy): Likewise. Do not use BP_SYM.
16478 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16479 libc_hidden_def and weak_alias.
16480 (mempcpy): Do not use BP_SYM in weak_alias.
16481 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16482 "bp-asm.h".
16483 (PARMS): Do not use macros from bp-asm.h.
16484 (DEST): Likewise.
16485 (LEN): Likewise.
16486 [!BZERO_P] (CHR): Likewise.
16487 (memset): Likewise. Do not use BP_SYM.
16488 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16489 "bp-asm.h".
16490 (PARMS): Do not use macros from bp-asm.h.
16491 (S1): Likewise.
16492 (SIZE): Likewise.
16493 (__mpn_mul_1): Do not use BP_SYM.
16494 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16495 "bp-asm.h".
16496 (PARMS): Do not use macros from bp-asm.h.
16497 (S): Likewise.
16498 (SIZE): Likewise.
16499 (__mpn_rshift): Do not use BP_SYM.
16500 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16501 "bp-asm.h".
16502 (PARMS): Do not use macros from bp-asm.h.
16503 (STR): Likewise.
16504 (CHR): Likewise.
16505 (strchr): Likewise. Do not use BP_SYM.
16506 (index): Do not use BP_SYM in weak_alias.
16507 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16508 "bp-asm.h".
16509 (PARMS): Do not use macros from bp-asm.h.
16510 (DEST): Likewise.
16511 (SRC): Likewise.
16512 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16513 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16514 "bp-asm.h".
16515 (PARMS): Do not use macros from bp-asm.h.
16516 (strlen): Do not use BP_SYM.
16517 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16518 "bp-asm.h".
16519 (PARMS): Do not use macros from bp-asm.h.
16520 (S1): Likewise.
16521 (S2): Likewise.
16522 (SIZE): Likewise.
16523 (__mpn_sub_n): Do not use BP_SYM.
16524 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16525 "bp-asm.h".
16526 (PARMS): Do not use macros from bp-asm.h.
16527 (S1): Likewise.
16528 (SIZE): Likewise.
16529 (__mpn_submul_1): Do not use BP_SYM.
16530 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16531 "bp-asm.h".
16532 (PARMS): Do not use macros from bp-asm.h.
16533 (S1): Likewise.
16534 (S2): Likewise.
16535 (SIZE): Likewise.
16536 (__mpn_add_n): Do not use BP_SYM.
16537 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16538 weak_alias.
16539 (bzero): Likewise.
16540 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16541 "bp-asm.h".
16542 (PARMS): Do not use macros from bp-asm.h.
16543 (BLK2): Likewise.
16544 (LEN): Likewise.
16545 (memcmp): Do not use BP_SYM.
16546 (bcmp): Do not use BP_SYM in weak_alias.
16547 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16548 "bp-asm.h".
16549 (PARMS): Do not use macros from bp-asm.h.
16550 (DEST): Likewise.
16551 (SRC): Likewise.
16552 (LEN): Likewise.
16553 (memcpy): Likewise. Do not use BP_SYM.
16554 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16555 "bp-asm.h".
16556 (PARMS): Do not use macros from bp-asm.h.
16557 (DEST): Likewise.
16558 (SRC): Likewise.
16559 (LEN): Likewise.
16560 (memmove): Likewise. Do not use BP_SYM.
16561 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16562 "bp-asm.h".
16563 (PARMS): Do not use macros from bp-asm.h.
16564 (DEST): Likewise.
16565 (SRC): Likewise.
16566 (LEN): Likewise.
16567 (__mempcpy): Likewise. Do not use BP_SYM.
16568 (mempcpy): Do not use BP_SYM in weak_alias.
16569 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16570 "bp-asm.h".
16571 (PARMS): Do not use macros from bp-asm.h.
16572 (DEST): Likewise.
16573 (LEN): Likewise.
16574 [!BZERO_P] (CHR): Likewise.
16575 (memset): Likewise. Do not use BP_SYM.
16576 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16577 "bp-asm.h".
16578 (PARMS): Do not use macros from bp-asm.h.
16579 (STR2): Likewise.
16580 (strcmp): Do not use BP_SYM.
16581 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16582 "bp-asm.h".
16583 (PARMS): Do not use macros from bp-asm.h.
16584 (STR): Likewise.
16585 (DELIM): Likewise.
16586 [USE_AS_STRTOK_R] (SAVE): Likewise.
16587 (FUNCTION): Likewise. Do not use BP_SYM.
16588 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16589 aliases.
16590 (strtok_r): Likewise.
16591 (__GI___strtok_r): Likewise.
16592 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16593 (PARMS): Do not use macros from bp-asm.h.
16594 (S): Likewise.
16595 (SIZE): Likewise.
16596 (__mpn_lshift): Do not use BP_SYM.
16597 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16598 (PARMS): Do not use macros from bp-asm.h.
16599 (STR): Likewise.
16600 (CHR): Likewise.
16601 (__memchr): Do not use BP_SYM.
16602 (memchr): Do not use BP_SYM in weak_alias.
16603 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16604 (PARMS): Do not use macros from bp-asm.h.
16605 (BLK2): Likewise.
16606 (LEN): Likewise.
16607 (memcmp): Do not use BP_SYM.
16608 (bcmp): Do not use BP_SYM in weak_alias.
16609 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16610 (PARMS): Do not use macros from bp-asm.h.
16611 (S1): Likewise.
16612 (SIZE): Likewise.
16613 (__mpn_mul_1): Do not use BP_SYM.
16614 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16615 "bp-asm.h".
16616 (PARMS): Do not use macros from bp-asm.h.
16617 (STR): Likewise.
16618 (CHR): Likewise.
16619 (__rawmemchr): Do not use BP_SYM.
16620 (rawmemchr): Do not use BP_SYM in weak_alias.
16621 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16622 (PARMS): Do not use macros from bp-asm.h.
16623 (S): Likewise.
16624 (SIZE): Likewise.
16625 (__mpn_rshift): Do not use BP_SYM.
16626 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16627 (PARMS): Do not use macros from bp-asm.h.
16628 (SIGMSK): Likewise.
16629 (__sigsetjmp): Likewise. Do not use BP_SYM.
16630 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16631 (_start): Do not use BP_SYM.
16632 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16633 (PARMS): Do not use macros from bp-asm.h.
16634 (DEST): Likewise.
16635 (SRC): Likewise.
16636 (__stpcpy): Likewise. Do not use BP_SYM.
16637 (stpcpy): Do not use BP_SYM in weak_alias.
16638 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16639 "bp-asm.h".
16640 (PARMS): Do not use macros from bp-asm.h.
16641 (DEST): Likewise.
16642 (SRC): Likewise.
16643 (LEN): Likewise.
16644 (__stpncpy): Likewise. Do not use BP_SYM.
16645 (stpncpy): Do not use BP_SYM in weak_alias.
16646 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16647 (PARMS): Do not use macros from bp-asm.h.
16648 (STR): Likewise.
16649 (CHR): Likewise.
16650 (strchr): Likewise. Do not use BP_SYM.
16651 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16652 "bp-asm.h".
16653 (PARMS): Do not use macros from bp-asm.h.
16654 (STR): Likewise.
16655 (CHR): Likewise.
16656 (__strchrnul): Likewise. Do not use BP_SYM.
16657 (strchrnul): Do not use BP_SYM in weak_alias.
16658 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16659 "bp-asm.h".
16660 (PARMS): Do not use macros from bp-asm.h.
16661 (STOP): Likewise.
16662 (strcspn): Do not use BP_SYM.
16663 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16664 "bp-asm.h".
16665 (PARMS): Do not use macros from bp-asm.h.
16666 (STR): Likewise.
16667 (STOP): Likewise.
16668 (strpbrk): Likewise. Do not use BP_SYM.
16669 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16670 "bp-asm.h".
16671 (PARMS): Do not use macros from bp-asm.h.
16672 (STR): Likewise.
16673 (CHR): Likewise.
16674 (strrchr): Likewise. Do not use BP_SYM.
16675 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16676 (PARMS): Do not use macros from bp-asm.h.
16677 (SKIP): Likewise.
16678 (strspn): Do not use BP_SYM.
16679 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16680 (PARMS): Do not use macros from bp-asm.h.
16681 (STR): Likewise.
16682 (DELIM): Likewise.
16683 (SAVE): Likewise.
16684 (FUNCTION): Likewise. Do not use BP_SYM.
16685 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16686 aliases.
16687 (strtok_r): Likewise.
16688 (__GI___strtok_r): Likewise.
16689 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16690 (PARMS): Do not use macros from bp-asm.h.
16691 (S1): Likewise.
16692 (S2): Likewise.
16693 (SIZE): Likewise.
16694 (__mpn_sub_n): Do not use BP_SYM.
16695 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16696 "bp-asm.h".
16697 (PARMS): Do not use macros from bp-asm.h.
16698 (S1): Likewise.
16699 (SIZE): Likewise.
16700 (__mpn_submul_1): Do not use BP_SYM.
16701 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16702 <bp-sym.h>.
16703 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16704 and <bp-asm.h>.
16705 (PARMS): Do not use macros from bp-asm.h.
16706 (FLAGS): Likewise.
16707 (PTID): Likewise.
16708 (TLS): Likewise.
16709 (CTID): Likewise.
16710 (__clone): Do not use BP_SYM.
16711 (clone): Do not use BP_SYM in weak_alias.
16712 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16713 and <bp-asm.h>.
16714 (PARMS): Do not use macros from bp-asm.h.
16715 (LEN): Likewise.
16716 (__mmap64): Do not use BP_SYM.
16717 (mmap64): Do not use BP_SYM in weak_alias.
16718 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16719 <bp-sym.h> and <bp-asm.h>.
16720 (PARMS): Do not use macros from bp-asm.h.
16721 (__posix_fadvise64_l64): Do not use BP_SYM.
16722 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16723 (PARMS): Do not use macros from bp-asm.h.
16724 (NSOPS): Likewise.
16725 (semtimedop): Do not use BP_SYM.
16726 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16727 and <bp-asm.h>.
16728
582a3cff
AM
167292013-02-21 Allan McRae <allan@archlinux.org>
16730
16731 * manual/message.texi (Charset conversion in gettext):
16732 Move @end statement to beginning of line.
16733
bab8a695
SP
167342013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16735
80945231
SP
16736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16737 static.
16738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16739 Likewise.
16740
bab8a695
SP
16741 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16742 (denorm): Likewise.
16743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16745
e21d7aa7
AK
167462013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16747
16748 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16749 tail-call to the resolved function if pltexit isn't needed.
16750
4c7a4263
SP
167512013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16752
16753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16754 or Y being zero as being unlikely.
16755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16756 Likewise.
16757
41f49342
CD
167582013-02-20 Carlos O'Donell <carlos@redhat.com>
16759
16760 * manual/nss.texi (System Databases and Name Service Switch):
16761 Remove frobnicate @pxref.
16762
50022a93
TS
167632013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16764
16765 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16766 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16767
08cbd996
PM
167682013-02-20 Petr Machata <pmachata@redhat.com>
16769
16770 * elf/elf.h (R_ARM_TARGET1): New macro.
16771 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16772 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16773 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16774 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16775 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16776 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16777 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16778 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16779 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16780 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16781 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16782 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16783 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16784 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16785 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16786 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16787 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16788 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16789 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16790 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16791 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16792 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16793 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16794 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16795 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16796 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16797 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16798 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16799 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16800 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16801 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16802 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16803 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16804 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16805 (R_ARM_THM_GOT_BREL12): Likewise.
16806 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16807 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16808 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16809 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16810 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16811 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16812 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16813 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16814 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16815
c7b275d6
TS
168162013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16817
16818 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16819 __attribute_used__ to __attribute__ ((unused)).
16820
20cd7fb3
SP
168212013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16822
16823 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16824 powerpc mpa.c.
16825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16826 comment formatting.
16827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16828
92945b52
JM
168292013-02-19 Joseph Myers <joseph@codesourcery.com>
16830
16831 [BZ #13550]
16832 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16833 Remove macro.
16834 (ENTER): Remove both macro definitions.
16835 (LEAVE): Likewise.
16836 (CHECK_BOUNDS_LOW): Likewise.
16837 (CHECK_BOUNDS_HIGH): Likewise.
16838 (CHECK_BOUNDS_BOTH): Likewise.
16839 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16840 (RETURN_BOUNDED_POINTER): Likewise.
16841 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16842 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16843 (POP_ERRNO_LOCATION_RETURN): Likewise.
16844 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16845 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16846 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16847 macros.
16848 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16849 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16850 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16851 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16852 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16853 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16854 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16855 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16856 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16857 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16858 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16859 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16860 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16861 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16862 removed macros.
16863 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16864 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16865 macros.
16866 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16867 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16868 * sysdeps/i386/i586/memset.S (memset): Likewise.
16869 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16870 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16871 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16872 macros.
16873 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16874 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16875 Change uses of L(2) to L(out).
16876 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16877 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16878 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16879 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16880 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16881 removed macros.
16882 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16883 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16884 macros.
16885 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16886 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16887 (RETURN): Do not use macro LEAVE.
16888 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16889 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16890 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16891 * sysdeps/i386/i686/memset.S (memset): Likewise.
16892 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16893 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16894 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16895 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16896 Likewise.
16897 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16898 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16899 L(1_2) and L(1_3) into L(1).
16900 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16901 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16902 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16903 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16904 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16905 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16906 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16907 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16908 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16909 macros.
16910 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16911 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16912 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16913 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16914 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16915 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16916 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16917 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16918 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16919 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16920 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16921 * sysdeps/i386/strspn.S (strspn): Likewise.
16922 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16923 conditional code.
16924 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16925 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16926 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16927 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16928 L(1_3) into L(1_1).
16929 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16930 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16931 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16932 macros.
16933 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16934
2389741a
JJ
169352013-02-19 Jakub Jelinek <jakub@redhat.com>
16936
16937 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16938 macro.
16939
2016b3cd
SP
169402013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16941
e4f22324
SP
16942 * math/atest-exp.c (exp_mpn): Remove ROUND.
16943 * math/atest-exp2.c (exp_mpn): Likewise.
16944 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16945
2016b3cd
SP
16946 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16947 * stdlib/tst-tls-atexit-lib.c: Likewise.
16948 * stdlib/tst-tls-atexit.c: Likewise.
16949
4be9b544
MF
169502013-02-18 Mike Frysinger <vapier@gentoo.org>
16951
16952 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16953 and __attribute_alloc_size__.
16954
2f62b9ee
MF
169552013-02-18 Mike Frysinger <vapier@gentoo.org>
16956
16957 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16958 __attribute_alloc_size__.
16959 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16960 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16961
6ff444c4
MF
169622013-02-18 Mike Frysinger <vapier@gentoo.org>
16963
16964 * include/programs/xmalloc.h: New file.
16965 * catgets/gencat.c: Include it.
16966 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16967 * elf/pldd.c: Likewise.
16968 * iconv/iconv_charmap.c: Likewise.
16969 * iconv/iconvconfig.c: Likewise.
16970 * iconv/strtab.c: Likewise.
16971 * locale/programs/locale.c: Likewise.
16972 * locale/programs/localedef.h: Likewise.
16973 * locale/programs/simple-hash.c: Likewise.
16974 * nscd/nscd.h: Likewise.
16975 * nss/makedb.c: Likewise.
16976 * sysdeps/generic/ldconfig.h: Likewise.
16977
be179c8a
SP
169782013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16979
ba384f6e
SP
16980 * Versions.def: Add GLIBC_2.18.
16981 * include/link.h (struct link_map): New member l_tls_dtor_count.
16982 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16983 (__call_tls_dtors): Likewise.
16984 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16985 __cxa_thread_atexit_impl.
16986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16987 Likewise.
16988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16989 Likewise.
16990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16991 Likewise.
16992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16993 Likewise.
16994 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16996 Likewise.
16997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16998 Likewise.
16999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17001 Likewise.
17002 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17003 (tests): Add test case tst-tls-atexit.
17004 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17005 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17006 (GLIBC_PRIVATE): Add __call_tls_dtors.
17007 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17008 for libstdc++.
17009 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17010 * stdlib/tst-tls-atexit.c: New test case.
17011 * stdlib/tst-tls-atexit-lib.c: New test case.
17012
ffaa74cf 17013 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17014
be179c8a
SP
17015 * elf/Versions (ld): Add _dl_find_dso_for_object.
17016 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17017 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17018 (dl_open_worker): Use _dl_find_dso_for_object.
17019 * elf/dl-sym.c (do_sym): Likewise.
17020 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17021
f78b5caa
AK
170222013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17023
17024 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17025 Syntactic changes only.
17026 (_dl_runtime_profile): Do a tail-call to the resolved function.
17027
29691210
JM
170282013-02-17 Joseph Myers <joseph@codesourcery.com>
17029
17030 [BZ #13550]
17031 * sysdeps/x86_64/bp-asm.h: Remove file.
17032 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17033 <bp-sym.h> and <bp-asm.h>.
17034 (__clone): Do not use BP_SYM.
17035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17036 <bp-sym.h> and <bp-asm.h>.
17037 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17038 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17039 "bp-asm.h".
17040 (_setjmp): Do not use BP_SYM.
17041 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17042 "bp-asm.h".
17043 (setjmp): Do not use BP_SYM.
17044 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17045 libc_hidden_def.
17046 (mempcpy): Do not use BP_SYM in weak_alias.
17047 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17048 "bp-asm.h".
17049 (strchr): Do not use BP_SYM.
17050 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17051 "bp-asm.h".
17052 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17053 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17054 (_start): Do not use BP_SYM.
17055 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17056 "bp-asm.h".
17057 (strcat): Do not use BP_SYM.
17058 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17059 "bp-asm.h".
17060 (STRCMP): Do not use BP_SYM.
17061 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17062 "bp-asm.h".
17063 (STRCPY): Do not use BP_SYM.
17064 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17065 "bp-asm.h".
17066 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17067 "bp-asm.h".
17068 (FUNCTION): Do not use BP_SYM.
17069 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17070 weak_alias.
17071 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17072
f238fd19
AJ
170732013-02-17 Andreas Jaeger <aj@suse.de>
17074
17075 * time/Versions: Sort entries.
17076 * string/Versions: Likewise.
17077 * resolv/Versions: Likewise.
17078 * posix/Versions: Likewise.
17079 * iconv/Versions: Likewise.
17080 * elf/Versions: Likewise.
17081 * wcsmbs/Versions: Likewise.
17082
bd07f23c 170832013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17084
22af19f9
SP
17085 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17086 loop termination condition.
17087
4709fe76
SP
17088 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17089 variable to calculate EZ.
17090 (__sqr): Likewise.
2d0e0f29
SP
17091
17092 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17093 the lower precision input.
17094
daaa7713
JM
170952013-02-15 Joseph Myers <joseph@codesourcery.com>
17096
17097 [BZ #13550]
17098 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17099 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17100 (run-via-rtld-prefix): Do not handle %-bp tests.
17101 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17102 (all-object-suffixes): Remove .ob.
17103 (bppfx): Remove variable.
17104 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17105 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17106 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17107 [$(build-bounded) = yes] (libtype.ob): Likewise.
17108 * Makerules (elide-routines.ob): Remove variable.
17109 (do-tests-clean): Do not handle *-bp.out.
17110 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17111 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17112 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17113 (tests): Do not include $(tests-bp.out).
17114 (xtests): Do not include $(xtests-bp.out).
17115 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17116 [$(build-bounded) = yes] ($(addprefix
17117 $(objpfx),$(binaries-bounded))): Remove rule.
17118 ($(objpfx)%-bp.out): Remove rule.
17119 * config.make.in (build-bounded): Remove variable.
17120 * crypt/Makefile [$(build-bounded) = yes]
17121 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17122 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17123 append to variable.
17124 [$(build-bounded) = yes] (install-lib): Likewise.
17125 [$(build-bounded) = yes] (generated): Likewise.
17126 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17127 Remove rule.
17128 * intl/Makefile [$(build-bounded) = yes]
17129 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17130 * math/Makefile [$(build-bounded) = yes]
17131 ($(tests:%=$(objpfx)%-bp): Likewise.
17132 * misc/Makefile [$(build-bounded) = yes]
17133 ($(objpfx)tst-tsearch-bp): Likewise.
17134 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17135 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17136 Remove dependency.
17137 * string/Makefile (o-objects.ob): Remove variable.
17138 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17139 (CFLAGS-.ob): Remove variable.
17140 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17141 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17142 both definitions of variable.
17143 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17144 (ASFLAGS-.ob): Remove variable.
17145
e97ed6dd
JM
171462013-02-14 Joseph Myers <joseph@codesourcery.com>
17147
2bdd4ca6
JM
17148 [BZ #13550]
17149 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17150 Remove __BOUNDED_POINTERS__ from condition.
17151 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17152 * string/bits/string2.h [!__NO_STRING_INLINES &&
17153 !__BOUNDED_POINTERS__]: Likewise.
17154 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17155 Likewise.
17156 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17157 Remove conditional code.
17158 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17159 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17160 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17161 condition.
17162
e97ed6dd
JM
17163 [BZ #13550]
17164 * csu/libc-start.c: Do not include <bp-sym.h>.
17165 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17166 * elf/dl-open.c: Do not include <bp-sym.h>.
17167 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17168 * math/fegetenv.c: Do not include <bp-sym.h>.
17169 (fegetenv): Do not use BP_SYM in versioned symbols.
17170 * nptl/sysdeps/pthread/bits/libc-lockP.h
17171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17172 <bp-sym.h>.
17173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17174 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17176 (__pthread_mutex_destroy): Likewise.
17177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17178 (__pthread_mutex_lock): Likewise.
17179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17180 (__pthread_mutex_trylock): Likewise.
17181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17182 (__pthread_mutex_unlock): Likewise.
17183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17184 (__pthread_mutexattr_init): Likewise.
17185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17186 (__pthread_mutexattr_destroy): Likewise.
17187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17188 (__pthread_mutexattr_settype): Likewise.
17189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17190 (__pthread_rwlock_init): Likewise.
17191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17192 (__pthread_rwlock_destroy): Likewise.
17193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17194 (__pthread_rwlock_rdlock): Likewise.
17195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17196 (__pthread_rwlock_tryrdlock): Likewise.
17197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17198 (__pthread_rwlock_wrlock): Likewise.
17199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17200 (__pthread_rwlock_trywrlock): Likewise.
17201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17202 (__pthread_rwlock_unlock): Likewise.
17203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17204 (__pthread_key_create): Likewise.
17205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17206 (__pthread_setspecific): Likewise.
17207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17208 (__pthread_getspecific): Likewise.
17209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17210 Likewise.
17211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17212 (_pthread_cleanup_push_defer): Likewise.
17213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17214 (_pthread_cleanup_pop_restore): Likewise.
17215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17216 (pthread_setcancelstate): Likewise.
17217 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17218 <bp-sym.h>.
17219 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17220 (memchr): Do not use BP_SYM in weak_alias.
17221 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17222 (fegetenv): Do not use BP_SYM in versioned symbols.
17223 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17224 (fesetenv): Do not use BP_SYM in versioned symbols.
17225 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17226 (feupdateenv): Do not use BP_SYM in versioned symbols.
17227 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17228 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17229 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17230 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17231 (open64): Do not use BP_SYM in weak_alias.
17232 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17233 (fegetenv): Do not use BP_SYM in versioned symbols.
17234 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17235 (fesetenv): Do not use BP_SYM in versioned symbols.
17236 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17237 (feupdateenv): Do not use BP_SYM in versioned symbols.
17238 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17239 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17240 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17241 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17242 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17243 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17244 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17245 <bp-sym.h>.
17246 (__libc_start_main): Do not use BP_SYM.
17247
d6752ccd
SP
172482013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17249
cb57ce60
SP
17250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17251 redundant return line.
17252 (norm): Likewise.
17253 (denorm): Likewise.
17254 (dbl_mp): Likewise.
17255 (sub_magnitudes): Likewise.
17256 (__add): Likewise.
17257 (__sub): Likewise.
17258 (__mul): Likewise.
17259 (__inv): Likewise.
17260 (__dvd): Likewise.
17261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17262 (norm): Likewise.
17263 (denorm): Likewise.
17264 (dbl_mp): Likewise.
17265 (sub_magnitudes): Likewise.
17266 (__add): Likewise.
17267 (__sub): Likewise.
17268 (__mul): Likewise.
17269 (__inv): Likewise.
17270 (__dvd): Likewise.
17271
f414520d
SP
17272 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17273 instead of __mul.
17274 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17275 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17276 (cc32): Likewise.
17277
d6752ccd
SP
17278 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17279 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17280 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17281 of __mul for squares.
17282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17283 function
17284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17285 Likewise.
17286 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17287 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17288
70d9946a
JM
172892013-02-13 Joseph Myers <joseph@codesourcery.com>
17290
17291 [BZ #13550]
17292 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17293 code.
17294 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17295 prototype or function definition. Rename ubp_* variables and
17296 parameters. Remove argv definitions conditional on
17297 [__BOUNDED_POINTERS__].
17298 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17299 * elf/dl-runtime.c (_dl_fixup): Likewise.
17300 * include/set-hooks.h (RUN_HOOK): Likewise.
17301 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17302 definition.
17303 * string/strcpy.c (strcpy): Do not use __unbounded.
17304 * sysdeps/generic/frame.h (struct layout): Likewise.
17305 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17306 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17307 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17308 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17309 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17310 (__backtrace): Likewise.
17311 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17312 use __ptrvalue.
17313 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17314 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17315 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17316 Likewise.
17317 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17318 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17319 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17320 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17321 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17322 Do not use __unbounded.
17323 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17324 Rename __unboundedrlimits parameter to rlimits in prototype.
17325 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17326 Do not use __unbounded.
17327 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17328 not use __ptrvalue.
17329 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17330 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17331 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17332 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17333 __ptrvalue or __unbounded.
17334 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17335 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17336 use __unbounded.
17337 (__new_msgctl): Do not use __ptrvalue.
17338 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17339 __unbounded.
17340 (__libc_msgrcv): Do not use __ptrvalue.
17341 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17342 startup_info): Do not use __unbounded.
17343 (__libc_start_main): Likewise. Rename ubp_* variables and
17344 parameters. Remove argv definitions conditional on
17345 [__BOUNDED_POINTERS__].
17346 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17347 __ptrvalue.
17348 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17349 use __unbounded.
17350 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17351 or __ptrvalue.
17352 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17353 use __unbounded.
17354 (__new_shmctl): Do not use __ptrvalue.
17355 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17356 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17357 Likewise.
17358 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17359 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17360 (__libc_sigaction): Likewise.
17361 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17362 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17363 Likewise.
17364 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17365
cc7834d6
OB
173662013-02-13 Ondřej Bílka <neleai@seznam.cz>
17367
ffb1ec7b 17368 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17369
17370 * string/mempcpy.c: Implement by calling memcpy.
17371
bdf02814
SP
173722013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17373
c2af38aa
SP
17374 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17375
4e92d59e
SP
17376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17377 evaluation.
17378
909279a5
SP
17379 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17380 values in the mantissa.
17381
bdf02814
SP
17382 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17383 minimize writes to Z.
17384 (sub_magnitudes): Simplify code a bit.
17385
cd525923
RM
173862013-02-12 Roland McGrath <roland@hack.frob.com>
17387
17388 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17389 from the message. The linker prefixes all warnings with that already.
17390
7e2f0d2d
AS
173912013-02-12 Andreas Schwab <schwab@suse.de>
17392
a445af0b
AS
17393 [BZ #15078]
17394 * posix/regexec.c (extend_buffers): Add parameter min_len.
17395 (check_matching): Pass minimum needed length.
17396 (clean_state_log_if_needed): Likewise.
17397 (get_subexp): Likewise.
17398 * posix/Makefile (tests): Add bug-regex34.
17399 (bug-regex34-ENV): Define.
17400 * posix/bug-regex34.c: New file.
17401
7e2f0d2d
AS
17402 [BZ #11561]
17403 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17404 elements compare against the byte sequence of it, not its name.
17405 * posix/Makefile (tests): Add bug-regex35.
17406 (bug-regex35-ENV): Define.
17407 * posix/bug-regex35.c: New file.
17408
a175b684
TV
174092013-02-11 Tom de Vries <tom@codesourcery.com>
17410
17411 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17412 comment.
17413 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17414 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17415 (CHECK_EOL): Add undef.
17416
310998fe 174172013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17418
17419 * bits/stdlib-bsearch.h: New file.
17420 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17421 * stdlib/stdlib.h: Likewise.
41eda41d 17422
8ded91fb
RM
174232013-02-11 Roland McGrath <roland@hack.frob.com>
17424
17425 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17426 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17427 declaration.
17428 * manual/search.texi (Array Search Function): Add missing const in
17429 lfind prototype.
17430 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17431 declaration to use rlim_t.
17432 (Basic Scheduling Functions): Remove erroneous const from
17433 sched_getparam prototype. Remove erroneous * from
17434 sched_get_priority_max and sched_get_priority_min prototypes.
17435 (Resource Usage): Fix summary @comment on vtimes to refer to
17436 sys/vtimes.h rather than vtimes.h.
17437 Add missing *s in vtimes prototype.
17438 (Limits on Resources): Fix ulimit prototype to return long int.
17439 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17440 prototypes to use long int rather than double.
17441 (BSD Random): Fix initstate and setstate to use char *, not void *.
17442 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17443 prototype to make second argument 'struct aiocb64 *const[]'.
17444 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17445 (Status of AIO Operations): Remove erroneous const in aio_return and
17446 aio_return64 prototypes.
17447 (Synchronizing I/O): Fix sync prototype to return void.
17448 * manual/startup.texi (Suboptions): Remove an erroneous const in
17449 getsubopt prototype.
17450 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17451 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17452 use size_t rather than int.
17453 (Scanning All Users): Likewise for getpwent_r.
17454 (Setting Groups): Add missing const to setgroups prototype.
17455 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17456 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17457 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17458 'const void *' rather than 'const char *'.
17459 (Host Address Functions): Likewise for inet_ntop.
17460 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17461 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17462 ssize_t for return value.
17463 (Sending Data): Likewise for send, sendto, sendmsg.
17464 (Socket Option Functions): Add a missing const in setsockopt prototype.
17465 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17466 use wchar_t for the argument.
17467 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17468 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17469 take no arguments.
17470 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17471 double/float/long double for second argument.
17472 Fix return types of significand, significandf, significandl.
17473 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17474 argument in fchmod prototype.
17475 (File Owner): Use uid_t and gid_t in fchown prototype.
17476 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17477 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17478 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17479 use 'const struct dirent **' as argument types to CMP function pointer
17480 argument.
17481 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17482 (File Times): Fix summary magic @comment for struct utimbuf and utime
17483 to refer to utime.h, not time.h.
17484 * manual/string.texi (Argz Functions): Add missing const in
17485 argz_extract and argz_next prototypes.
17486 (Finding Tokens in a String): Likewise for basename.
17487 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17488 (Copying and Concatenation): Fix typo in wmemmove prototype.
17489 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17490 (Signal Stack): Remove erroneous const in sigstack prototype.
17491 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17492 prototype.
17493 (Simple Calendar Time): Likewise for stime.
17494 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17495 prototype.
17496 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17497 say sys/sysctl.h instead.
17498 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17499 and vsyslog prototypes.
17500
fe77fe6d
TV
175012013-02-11 Tom de Vries <tom@codesourcery.com>
17502
17503 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17504 Remove.
17505
3a09b620
RM
175062013-02-11 Roland McGrath <roland@hack.frob.com>
17507
17508 * misc/sys/mman.h: Fix typo in mremap comment.
17509
550a0b89
RM
175102013-02-08 Roland McGrath <roland@hack.frob.com>
17511
17512 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17513 the '\0' terminator.
17514
a2da1673
JM
175152013-02-08 Joseph Myers <joseph@codesourcery.com>
17516
17517 [BZ #13550]
17518 * debug/segfault.c: Don't include <bp-checks.h>.
17519 * sysdeps/generic/bp-checks.h: Remove file.
17520 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17521 (__GETDENTS): Don't use CHECK_N.
17522 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17523 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17524 (__getgroups): Don't use CHECK_N.
17525 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17526 (setgroups): Don't use CHECK_N.
17527 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17528 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17529 (__libc_msgrcv): Don't use CHECK_N.
17530 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17531 (__libc_msgsnd): Don't use CHECK_N.
17532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17533 <bp-checks.h>.
17534 (__libc_pread): Don't use CHECK_N.
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17536 include <bp-checks.h>.
17537 (__libc_pread64): Don't use CHECK_N.
17538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17539 include <bp-checks.h>.
17540 (__libc_pwrite): Don't use CHECK_N.
17541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17542 include <bp-checks.h>.
17543 (__libc_pwrite64): Don't use CHECK_N.
17544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17545 <bp-checks.h>.
17546 (__libc_pread): Don't use CHECK_N.
17547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17548 include <bp-checks.h>.
17549 (__libc_pread64): Don't use CHECK_N.
17550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17551 include <bp-checks.h>.
17552 (__libc_pwrite): Don't use CHECK_N.
17553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17554 include <bp-checks.h>.
17555 (__libc_pwrite64): Don't use CHECK_N.
17556 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17557 (do_pread): Don't use CHECK_N.
17558 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17559 (do_pread64): Don't use CHECK_N.
17560 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17561 (do_pwrite): Don't use CHECK_N.
17562 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17563 (do_pwrite64): Don't use CHECK_N.
17564 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17565 (__libc_readv): Don't use CHECK_N.
17566 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17567 (semop): Don't use CHECK_N.
17568 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17569 <bp-checks.h>.
17570 (semtimedop): Don't use CHECK_N.
17571 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17572 (__libc_pread): Don't use CHECK_N.
17573 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17574 <bp-checks.h>.
17575 (__libc_pread64): Don't use CHECK_N.
17576 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17577 <bp-checks.h>.
17578 (__libc_pwrite): Don't use CHECK_N.
17579 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17580 <bp-checks.h>.
17581 (__libc_pwrite64): Don't use CHECK_N.
17582 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17583 <bp-checks.h>.
17584 (__libc_msgrcv): Don't use CHECK_N.
17585 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17586 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17587 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17588 (__libc_writev): Don't use CHECK_N.
17589
b84660a8
RM
175902013-02-08 Roland McGrath <roland@hack.frob.com>
17591
7f3e75f8
RM
17592 * string/strcpy.c: Removed unused variable.
17593
b84660a8
RM
17594 * Makeconfig (+sysdep-includes): Define with := rather than =.
17595 Use an existing include/ subdir of each sysdeps dir before it.
17596
471514d3
CD
175972013-02-08 Carlos O'Donell <carlos@redhat.com>
17598
17599 * nscd/connection.c (register_traced_file): Comment function.
17600 [HAVE_INOTIFY] (union __inev): Define.
17601 [HAVE_INOTIFY] (inotify_check_files): New function.
17602 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17603 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17604 clear_db_cache.
17605 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17606
b2d3c3be
CD
176072013-02-08 Carlos O'Donell <carlos@redhat.com>
17608
17609 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17610 loaded if not already and that a failure is permanent.
17611
b39949d2
CD
176122013-02-08 Carlos O'Donell <carlos@redhat.com>
17613
ddacd1db 17614 [BZ #15006]
b39949d2
CD
17615 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17616 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17617
b2c9eff4
JM
176182013-02-08 Joseph Myers <joseph@codesourcery.com>
17619
f3aae3f3
JM
17620 [BZ #13550]
17621 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17622 (CHECK_1_NULL_OK): Likewise.
17623 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17624 (__fxstat): Do not use CHECK_1.
17625 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17626 <bp-checks.h>.
17627 (___fxstat64): Do not use CHECK_1.
17628 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17629 <bp-checks.h>.
17630 (__fxstatat): Do not use CHECK_1.
17631 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17632 <bp-checks.h>.
17633 (__fxstatat64): Do not use CHECK_1.
17634 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17635 <bp-checks.h>.
17636 (__fxstat): Do not use CHECK_1.
17637 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17638 <bp-checks.h>.
17639 (__fxstatat): Do not use CHECK_1.
17640 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17641 <bp-checks.h>.
17642 (__getresgid): Do not use CHECK_1.
17643 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17644 <bp-checks.h>.
17645 (__getresuid): Do not use CHECK_1.
17646 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17647 <bp-checks.h>.
17648 (__lxstat): Do not use CHECK_1.
17649 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17650 <bp-checks.h>.
17651 (__old_msgctl): Do not use CHECK_1.
17652 (__new_msgctl): Likewise.
17653 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17654 <bp-checks.h>.
17655 (__new_setrlimit): Do not use CHECK_1.
17656 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17657 <bp-checks.h>.
17658 (__old_shmctl): Do not use CHECK_1.
17659 (__new_shmctl): Likewise.
17660 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17661 <bp-checks.h>.
17662 (__xstat): Do not use CHECK_1.
17663 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17664 (__lxstat): Do not use CHECK_1.
17665 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17666 <bp-checks.h>.
17667 (___lxstat64): Do not use CHECK_1.
17668 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17669 (__old_msgctl): Do not use CHECK_1.
17670 (__new_msgctl): Likewise.
17671 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17672 <bp-checks.h>.
17673 (__gettimeofday): Do not use CHECK_1.
17674 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17675 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17676 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17677 <bp-checks.h>.
17678 (__gettimeofday): Do not use CHECK_1.
17679 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17680 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17681 (__new_shmctl): Do not use CHECK_1.
17682 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17683 <bp-checks.h>.
17684 (do_sigtimedwait): Do not use CHECK_1.
17685 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17686 <bp-checks.h>.
17687 (do_sigwaitinfo): Do not use CHECK_1.
17688 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17689 <bp-checks.h>.
17690 (msgctl): Do not use CHECK_1.
17691 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17692 <bp-checks.h>.
17693 (shmctl): Do not use CHECK_1.
17694 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17695 (ustat): Do not use CHECK_1.
17696 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17697 <bp-checks.h>.
17698 (__fxstat): Do not use CHECK_1.
17699 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17700 <bp-checks.h>.
17701 (__fxstatat): Do not use CHECK_1.
17702 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17703 <bp-checks.h>.
17704 (__lxstat): Do not use CHECK_1.
17705 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17706 <bp-checks.h>.
17707 (__xstat): Do not use CHECK_1.
17708 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17709 (__xstat): Do not use CHECK_1.
17710 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17711 (___xstat64): Do not use CHECK_1.
17712
b2c9eff4
JM
17713 [BZ #13550]
17714 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17715 definitions.
17716 (CHECK_BOUNDS_HIGH): Likewise.
17717 * string/strcpy.c: Do not include <bp-checks.h>.
17718 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17719
f1d70dad
RM
177202013-02-07 Roland McGrath <roland@hack.frob.com>
17721
17722 * nscd/nscd-client.h (__nscd_drop_map_ref):
17723 Add __attribute__ ((unused)).
17724 * nis/nss-nisplus.h (niserr2nss): Likewise.
17725
17726 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17727 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17728
17729 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17730 Remove inline keyword.
17731 * include/rounding-mode.h (round_away): Likewise.
17732 * libio/wfileops.c (adjust_wide_data): Likewise.
17733 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17734 (__m128i_strloadu_tolower): Likewise.
17735 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17736 (__m128i_strloadu_tolower): Likewise.
17737 * time/mktime.c (ydhms_diff): Likewise.
17738 * locale/elem-hash.h (elem_hash): Likewise.
17739 * locale/setlocale.c (setdata): Likewise.
17740 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17741 (re_string_wchar_at): Likewise.
17742 (bitset_not, bitset_merge, bitset_mask): Likewise.
17743 [!(__GNUC__ > 3)] (inline): Remove macro.
17744 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17745 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17746 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17747 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17748 * string/memcmp.c (memcmp_bytes): Likewise.
17749 * locale/programs/locarchive.c (compute_hashval): Likewise.
17750 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17751 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17752 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17753 * nss/getent.c (print_rpc, print_protocols): Likewise.
17754 (print_passwd, print_group, print_aliases): Likewise.
17755 * nis/nss-nisplus.h (niserr2nss): Likewise.
17756 * nscd/connections.c (restart_p): Likewise.
17757 Change return type to bool.
17758
eab55bfb
RM
177592013-02-05 Roland McGrath <roland@hack.frob.com>
17760
7bd642f5
RM
17761 * Makeconfig (all-Depend-files): Add existing
17762 $(sorted-subdirs:=/Depend) files.
17763 (all-subdirs): Remove nss.
17764 * sysdeps/unix/inet/Subdirs: Add it here instead.
17765 * hesiod/Depend: New file.
17766
573c29b2
RM
17767 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17768 instead of calling alloca.
17769
b2e25af0
RM
17770 * io/lseek.c (__lseek): Rename to __libc_lseek.
17771 Define __lseek as an alias.
17772
eab55bfb
RM
17773 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17774
9a0d1941
CD
177752013-02-04 Carlos O'Donell <carlos@redhat.com>
17776
17777 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17778 else clause and remove check for non-standard endianness.
17779
b83bbec4
DM
177802013-02-04 David S. Miller <davem@davemloft.net>
17781
17782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17783
6277fdab
JM
177842013-02-04 Joseph Myers <joseph@codesourcery.com>
17785
17786 [BZ #13550]
17787 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17788 (__ubp_memchr): Remove prototype.
17789 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17790 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17791 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17792 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17793 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17794 Remove alias.
17795 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17796 (__ubp_memchr): Likewise.
17797 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17798 (__ubp_memchr): Likewise.
17799 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17800 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17801 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17802 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17803 CHECK_STRING.
17804 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17805 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17806 (__getcwd): Do not use CHECK_STRING.
17807 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17808 <bp-checks.h>.
17809 (__real_chown): Do not use CHECK_STRING.
17810 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17811 <bp-checks.h>.
17812 (fchownat): Do not use CHECK_STRING.
17813 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17814 CHECK_STRING.
17815 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17816 <bp-checks.h>.
17817 (__lchown): Do not use CHECK_STRING.
17818 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17819 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17820 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17821 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17823 include <bp-checks.h>.
17824 (truncate64): Do not use CHECK_STRING.
17825 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17826 <bp-checks.h>.
17827 (__real_chown): Do not use CHECK_STRING.
17828 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17829 <bp-checks.h>.
17830 (__lchown): Do not use CHECK_STRING.
17831 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17832 <bp-checks.h>.
17833 (__chown): Do not use CHECK_STRING.
17834 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17835 <bp-checks.h>.
17836 (truncate64): Do not use CHECK_STRING.
17837 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17838 Likewise.
17839 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17840 (__xmknod): Do not use CHECK_STRING.
17841 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17842 <bp-checks.h>.
17843 (__xmknodat): Do not use CHECK_STRING.
17844 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17845 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17846
903ae060
AS
178472013-02-04 Andreas Schwab <schwab@suse.de>
17848
17849 [BZ #14142]
17850 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17851 * include/netdb.h: Likewise for h_errno.
17852 * elf/tst-stackguard1.c: Include <tls.h>.
17853
542f9466
JK
178542013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17855
17856 * elf/link.h (struct link_map): Extend the l_addr comment.
17857 * include/link.h (struct link_map): Likewise.
17858
e782a927
JM
178592013-02-01 Joseph Myers <joseph@codesourcery.com>
17860
17861 [BZ #13550]
17862 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17863 (BOUNDED_1): Remove macro.
17864 * debug/backtrace.c: Don't include <bp-checks.h>.
17865 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17866 (__backtrace): Likewise.
17867 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17868 <bp-checks.h>.
17869 (__backtrace): Don't use BOUNDED_1.
17870 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17871 <bp-checks.h>.
17872 (__backtrace): Don't use BOUNDED_1.
17873 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17874 (__backtrace): Don't use BOUNDED_1.
17875 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17876 (shmat): Don't use BOUNDED_N.
17877
8cf28c5e
JM
178782013-01-31 Joseph Myers <joseph@codesourcery.com>
17879
3a7ac8a0
JM
17880 [BZ #13550]
17881 * sysdeps/generic/bp-start.h: Remove file.
17882 * csu/libc-start.c: Don't include <bp-start.h>.
17883 (LIBC_START_MAIN): Set up __environ directly instead of using
17884 INIT_ARGV_and_ENVIRON.
17885 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17886 <bp-start.h>.
17887
f3499f95
JM
17888 [BZ #13550]
17889 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17890 definitions.
17891 (CHECK_FCNTL): Likewise.
17892 (CHECK_N_PAGES): Likewise.
17893
32a45bea
JM
17894 [BZ #13550]
17895 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17896 definitions.
17897 (CHECK_SIGSET_NULL_OK): Likewise.
17898 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17899 <bp-checks.h>.
17900 (sigpending): Don't use CHECK_SIGSET.
17901 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17902 <bp-checks.h>.
17903 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17904 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17905 <bp-checks.h>.
17906 (do_sigsuspend): Don't use CHECK_SIGSET.
17907 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17908 use CHECK_SIGSET.
17909 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17910 (do_sigwait): Don't use CHECK_SIGSET.
17911 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17912 use CHECK_SIGSET.
17913 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17914 include <bp-checks.h>.
17915 (sigpending): Don't use CHECK_SIGSET.
17916 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17917 include <bp-checks.h>.
17918 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17919 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17920 <bp-checks.h>.
17921 (sigpending): Don't use CHECK_SIGSET.
17922 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17923 <bp-checks.h>.
17924 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17925
2e8a5c8c
JM
17926 [BZ #13550]
17927 * sysdeps/generic/bp-semctl.h: Remove file.
17928 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17929 <bp-checks.h> and <bp-semctl.h>.
17930 (__old_semctl): Don't use CHECK_SEMCTL.
17931 (__new_semctl): Likewise.
17932 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17933 and <bp-semctl.h>.
17934 (__old_semctl): Don't use CHECK_SEMCTL.
17935 (__new_semctl): Likewise.
17936 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17937 <bp-checks.h> and <bp-semctl.h>.
17938 (__old_semctl): Don't use CHECK_SEMCTL.
17939 (__new_semctl): Likewise.
17940 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17941 <bp-checks.h> and <bp-semctl.h>.
17942 (semctl): Don't use CHECK_SEMCTL.
17943
c2d54929
JM
17944 [BZ #13550]
17945 * Makerules (elide-bp-thunks): Remove variable.
17946 (elide-routines.oS): Don't use $(elide-bp-thunks).
17947 (elide-routines.os): Likewise.
17948 (elide-routines.o): Likewise.
17949 (elide-routines.op): Likewise.
17950 (elide-routines.og): Likewise.
17951 (objects): Don't use $(bp-thunks).
17952 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17953 include.
17954 (common-generated): Do not add s-proto-bp.d.
17955 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17956 (int): Likewise.
17957 (typ): Likewise.
17958 Do not generate makefile rules for bounded-pointer thunks.
17959 * sysdeps/generic/bp-thunks.h: Remove file.
17960 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17961 * sysdeps/unix/s-proto-bp.S: Likewise.
17962
8cf28c5e
JM
17963 [BZ #15062]
17964 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17965 parts of result separately when argument is not close to line from
17966 -i to i and one part of argument is small.
17967 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17968 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17969 * math/libm-test.inc (cacos_test): Add more tests.
17970 (casin_test): Likewise.
17971 (casinh_test): Likewise.
17972 * sysdeps/i386/fpu/libm-test-ulps: Update.
17973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17974
c4e33b8d
DM
179752013-01-31 David S. Miller <davem@davemloft.net>
17976
17977 * po/de.po: Update from translation team.
17978
3b60b421
MK
179792013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17980
17981 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17982
bb931195
TS
179832013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17984
b5a5da23
TS
17985 * configure.in (_AC_PROG_CC_C89): New definition.
17986 * configure: Regenerate.
17987
bb931195
TS
17988 * configure.in (AC_PROG_CPP): New definition.
17989 * configure: Regenerate.
17990
8c53a12c
JM
179912013-01-23 Joseph Myers <joseph@codesourcery.com>
17992
17993 * debug/tst-backtrace.h: New file.
17994 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17995 (ret): Remove variable.
17996 (x): Likewise.
17997 (FAIL): Remove macro.
17998 (NO_INLINE): Likewise.
17999 (fn1): Use match function instead of strstr.
18000 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18001 (ret): Remove variable.
18002 (x): Likewise.
18003 (FAIL): Remove macro.
18004 (NO_INLINE): Likewise.
18005 (fn): Use match function instead of strstr.
18006 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18007 (ret): Remove variable.
18008 (x): Likewise.
18009 (FAIL): Remove macro.
18010 (NO_INLINE): Likewise.
18011 (handle_signal): Use match function instead of strstr.
18012 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18013 (ret): Remove variable.
18014 (x): Likewise.
18015 (FAIL): Remove macro.
18016 (NO_INLINE): Likewise.
18017 (handle_signal): Use match function instead of strstr.
18018
4858fa2a
RM
180192013-01-23 Roland McGrath <roland@hack.frob.com>
18020
18021 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18022
bae8e7f5
DM
180232013-01-23 David S. Miller <davem@davemloft.net>
18024
18025 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18026 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18027 argument of CAS if possible.
18028 * sysdeps/sparc/sparc64/bits/atomic.h
18029 (__arch_compare_and_exchange_val_32_acq): Likewise.
18030 (__arch_compare_and_exchange_val_64_acq): Likewise.
18031
9cbbc4ae
PT
180322013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18033
18034 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18035 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18036 Include <limits.h>.
67b3f58c 18037 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18038
5655a0b5
AC
180392013-01-23 Adam Conrad <adconrad@0c3.net>
18040
18041 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18042 (LDFLAGS-tst-array5): Likewise.
18043
052aff95
JM
180442013-01-23 Joseph Myers <joseph@codesourcery.com>
18045
18046 [BZ #15036]
18047 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18048 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18049 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18050 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18051
7c1e01aa
DM
180522013-01-21 David S. Miller <davem@davemloft.net>
18053
18054 * sysdeps/sparc/backtrace.c: New file.
18055 * sysdeps/sparc/sparc32/backtrace.h: New file.
18056 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18057 * sysdeps/sparc/sparc64/backtrace.h: New file.
18058 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18059 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18060 -funwind-tables.
18061
ab087e0a
AS
180622013-01-21 Andreas Schwab <schwab@suse.de>
18063
18064 [BZ #15020]
18065 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18066 closed its stdout.
18067
ed689c2f
AS
180682013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18069
18070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18071 "mpa2.h".
18072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18073
31d470ac
JM
180742013-01-18 Joseph Myers <joseph@codesourcery.com>
18075 Mark Mitchell <mark@codesourcery.com>
18076 Tom de Vries <tom@codesourcery.com>
18077 Paul Pluzhnikov <ppluzhnikov@google.com>
18078
18079 * debug/tst-backtrace2.c: New file.
18080 * debug/tst-backtrace3.c: Likewise.
18081 * debug/tst-backtrace4.c: Likewise.
18082 * debug/tst-backtrace5.c: Likewise.
18083 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18084 (CFLAGS-tst-backtrace3.c): Likewise.
18085 (CFLAGS-tst-backtrace4.c): Likewise.
18086 (CFLAGS-tst-backtrace5.c): Likewise.
18087 (LDFLAGS-tst-backtrace2): Likewise.
18088 (LDFLAGS-tst-backtrace3): Likewise.
18089 (LDFLAGS-tst-backtrace4): Likewise.
18090 (LDFLAGS-tst-backtrace5): Likewise.
18091 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18092 tst-backtrace4 and tst-backtrace5.
18093
90567f30 180942013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18095 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18096
18097 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18098 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18099 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18100 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18102 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18103 "+r" and remove output regs list as redundant. Add explicit inline
18104 asm to specify register of return val to work around compiler codegen
18105 bug. Remove (int) cast on return value. Add return type parameter to
18106 use in macro so that this macro does not truncate return value for
18107 64-bit values.
18108 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18109 pass to INTERNAL_VSYSCALL_NCS.
18110 (INLINE_VSYSCALL): Add 'long int' as return type to
18111 INTERNAL_VSYSCALL_NCS macro invocation.
18112 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18113 INTERNAL_VSYSCALL_NCS macro invocation.
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18115
d3b9ea61
SP
181162013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18117
0b57daeb
SP
18118 [BZ #14496]
18119 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18120 Fix application of SIMD FP exception mask.
18121
caa99d06
SP
18122 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18123 mp_no from a power of two.
18124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18125 __mpexp_twomm1. Use __pow_mp.
18126
d3b9ea61
SP
18127 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18128 multiplication.
18129
1dbaee3c
DM
181302013-01-17 David S. Miller <davem@davemloft.net>
18131
18132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18133
728d7b43
JM
181342013-01-17 Joseph Myers <joseph@codesourcery.com>
18135
18136 [BZ #15023]
18137 * include/complex.h: Condition contents on [!_COMPLEX_H].
18138 (__kernel_casinhf): New prototype.
18139 (__kernel_casinh): Likewise.
18140 (__kernel_casinhl): Likewise.
18141 * math/Makefile (libm_calls): Add k_casinh.
18142 * math/k_casinh.c: New file.
18143 * math/k_casinhf.c: Likewise.
18144 * math/k_casinhl.c: Likewise.
18145 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18146 finite nonzero arguments.
18147 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18148 finite nonzero arguments.
18149 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18150 finite nonzero arguments.
18151 * math/s_casinh.c: Do not include <float.h>.
18152 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18153 * math/s_casinhf.c: Do not include <float.h>.
18154 (__casinhf): Move code for finite nonzero arguments to
18155 k_casinhf.c.
18156 * math/s_casinhl.c: Do not include <float.h>.
18157 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18158 redefine.
18159 (__casinhl): Move code for finite nonzero arguments to
18160 k_casinhl.c.
18161 * math/libm-test.inc (cacos_test): Add more tests.
18162 * sysdeps/i386/fpu/libm-test-ulps: Update.
18163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18164
2a26ef3a
PT
181652013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18166
18167 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18168 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18169 [!HAVE_MREMAP]: Remove [defined linux] case.
18170 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18171
a897655d
SP
181722013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18173
18174 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18175
881ebe89 181762013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18177
18178 * elf/elf.h (R_386_SIZE32): New relocation.
18179 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18180 R_386_SIZE32.
18181 (elf_machine_rela): Likewise.
18182 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18183 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18184
59981e9b
JM
181852013-01-17 Joseph Myers <joseph@codesourcery.com>
18186
18187 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18188 (FP_FAST_FMA): Do not define.
18189 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18190 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18191 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18192 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18193 !_SOFT_FLOAT]: Likewise.
18194 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18195 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18196 value.
18197 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18198 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18199 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18200 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18201 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18202 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18203 file.
18204
cfa8054f
AS
182052013-01-16 Andreas Schwab <schwab@suse.de>
18206
18207 [BZ #14327]
18208 * include/stdlib.h (__mktemp): Add declaration.
18209 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18210 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18211
dd930cc5
SP
182122013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18213
881ebe89
SP
18214 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18215 definitions.
18216 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18217 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18218 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18219 definitions here.
18220 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18221 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18222 definitions.
18223 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18224 and ONE.
18225 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18226 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18227 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18228 definitions.
18229 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18230 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18231 definitions.
18232 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18233
dd930cc5
SP
18234 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18235
c19a9f89
DM
182362013-01-15 David S. Miller <davem@davemloft.net>
18237
1aa61767
DM
18238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18239 trunc{,f} to libm-sysdep_routes.
18240 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18242 file.
18243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18245 file.
18246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18247 file.
18248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18250 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18251 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18252 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18253 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18254 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18255 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18256
c42d5e98
DM
18257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18258 nearbyint{,f} to libm-sysdep_routes.
18259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18261 New file.
18262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18263 file.
18264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18265 New file.
18266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18267 file.
18268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18271 file.
18272 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18273 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18274 file.
18275 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18276 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18277 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18278
c19a9f89
DM
18279 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18280 libc_feholdexcept and libc_fesetenv.
18281
357679d2
MF
182822013-01-15 Mike Frysinger <vapier@gentoo.org>
18283
18284 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18285
65a82e3d
DM
182862013-01-14 David S. Miller <davem@davemloft.net>
18287
8b954ab9
DM
18288 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18289 (SPARC_ASM_VIS2_IFUNC): Likewise.
18290 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18292 use of 'siam' instruction.
18293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18294 Likewise.
18295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18296 Likewise.
18297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18298 Likewise.
18299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18304 file.
18305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18306 file.
18307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18308 file.
18309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18310 file.
18311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18316 new VIS2 routines.
18317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18320 Likewise.
18321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18326 routines to libm-sysdep_routines.
18327 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18328
65a82e3d
DM
18329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18330 fdim/fdimf to libm-sysdep_routines.
18331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18332 file.
18333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18335 file.
18336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18339 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18340 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18341 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18342 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18343
e34ab705
SP
183442013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18345
2a91b573
SP
18346 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18347 to optimize copies.
18348
1066a534
SP
18349 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18352
e34ab705
SP
18353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18354 local variable MPTWO.
18355 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18356 Likewise.
18357
aba5e596
MF
183582013-01-13 Mike Frysinger <vapier@gentoo.org>
18359
18360 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18361 GLOB_NOESCAPE.
18362
e557e9e5
MF
183632013-01-13 Mike Frysinger <vapier@gentoo.org>
18364
18365 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18366
0428cec9
MF
183672013-01-13 Mike Frysinger <vapier@gentoo.org>
18368
18369 * manual/pattern.texi (glob_t): Document gl_flags.
18370 (glob64_t): Likewise.
18371
8794a964
DM
183722013-01-11 David S. Miller <davem@davemloft.net>
18373
66438c3f
RM
18374 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18375 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18376 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18377 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18378 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18379 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18380 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18381 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18382 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18383 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18384 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18385 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18386 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18387
4ae4244d
DM
18388 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18389 sparc V9 rather than using V8 code.
18390 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18391 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18392
8794a964
DM
18393 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18394 Move to...
18395 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18396 Here.
18397
6270516e
RM
183982013-01-11 Roland McGrath <roland@hack.frob.com>
18399
18400 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18401 not in the main loop.
18402 * configure: Regenerated.
18403
6a57d931
JM
184042013-01-11 Joseph Myers <joseph@codesourcery.com>
18405
18406 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18407 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18408 to just #else.
18409 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18410 [!__GLIBC_HAVE_LONG_LONG] case.
18411 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18412 condition to just #else.
18413 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18414 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18415 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18416 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18417 unconditional.
18418 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18419 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18420 #elif condition to just #else.
18421 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18422 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18423 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18424 #elif condition to just #else.
18425
0e8529e9
SE
184262013-01-11 Steve Ellcey <sellcey@mips.com>
18427
18428 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18429 (EF_MIPS_ARCH_64): Fix value.
18430 (EF_MIPS_ARCH_32R2): New.
18431 (EF_MIPS_ARCH_64R2): New.
18432
740b3dbe
L
184332013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18434
18435 * Makeconfig (+link-pie-before-libc): New.
18436 (+link-pie-after-libc): Likewise.
18437 (+link-pie-tests): Likewise.
18438 (+link-pie): Rewritten.
18439 (link-before-libc): Remove $(config-LDFLAGS).
18440 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18441 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18442 (config-LDFLAGS): Renamed to ...
18443 (rtld-LDFLAGS): This.
18444 (rtld-tests-LDFLAGS): New macro.
18445 (link-libc-rpath-link): Likewise.
18446 (link-libc-tests-rpath-link): Likewise.
18447 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18448 (link-libc): Prepand $(link-libc-rpath-link).
18449 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18450 (test-program-prefix): New macro.
18451 (test-via-rtld-prefix): Likewise.
18452 (test-program-cmd): Likewise.
18453 (host-test-program-cmd): Likewise.
18454 * Makefile ($(common-objpfx)testrun.sh): Replace
18455 $(run-program-prefix) with $(test-program-prefix).
18456 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18457 $(rtld-LDFLAGS).
18458 ($(common-objpfx)shlib.lds): Likewise.
18459 (build-module-helper): Likewise.
18460 ($(common-objpfx)format.lds): Likewise.
18461 * Rules (binaries-pie-tests): New.
18462 (binaries-pie-notests): Likewise.
18463 (binaries-pie): Rewritten.
18464 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18465 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18466 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18467 (make-test-out): Replace $(host-built-program-cmd) with
18468 $(host-test-program-cmd).
18469 * config.make.in (build-hardcoded-path-in-tests): New variable.
18470 * configure.in (--enable-hardcoded-path-in-tests): New configure
18471 option.
18472 (hardcoded_path_in_tests): New AC_SUBST.
18473 * configure: Regenerated.
18474 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18475 $(built-program-cmd) with $(test-program-cmd).
18476 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18477 (test_program_cmd): This.
18478 * elf/Makefile ($(objpfx)order.out): Run test with
18479 $(test-program-prefix).
18480 ($(objpfx)order2.out): Likewise.
18481 ($(objpfx)tst-initorder.out): Likewise.
18482 ($(objpfx)tst-initorder2.out): Likewise.
18483 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18484 $(test-program-cmd).
18485 ($(objpfx)tst-array1-static.out): Likewise.
18486 ($(objpfx)tst-array2.out): Likewise.
18487 ($(objpfx)tst-array3.out): Likewise.
18488 ($(objpfx)tst-array4.out): Likewise.
18489 ($(objpfx)tst-array5.out): Likewise.
18490 ($(objpfx)tst-array5-static.out): Likewise.
18491 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18492 $(test-program-cmd).
18493 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18494 $(run-program-prefix) with $(test-program-prefix).
18495 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18496 (test_program_prefix): This.
18497 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18498 $(run-program-prefix) with $(test-program-prefix).
18499 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18500 (test_program_prefix): This.
18501 * iconvdata/tst-tables.sh: Likewise.
18502 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18503 $(run-program-prefix) with $(test-program-prefix).
18504 ($(objpfx)tst-translit.out): Likewise.
18505 ($(objpfx)tst-gettext2.out): Likewise.
18506 ($(objpfx)tst-gettext4.out): Likewise.
18507 ($(objpfx)tst-gettext6.out): Likewise.
18508 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18509 (test_program_prefix): This.
18510 * intl/tst-gettext2.sh: Likewise.
18511 * intl/tst-gettext4.sh Likewise.
18512 * intl/tst-gettext6.sh: Likewise.
18513 * intl/tst-translit.sh: Likewise.
18514 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18515 with $(test-program-cmd).
18516 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18517 $(run-program-prefix) with $(test-program-prefix).
18518 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18519 (test_program_prefix): This.
18520 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18521 $(run-program-prefix) with $(test-program-prefix).
18522 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18523 (test_program_prefix): This.
18524 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18525 * posix/Makefile ($(objpfx)globtest.out): Replace
18526 $(run-via-rtld-prefix) and $(test-wrapper) with
18527 $(test-program-prefix) and $(test-via-rtld-prefix).
18528 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18529 $(test-program-prefix).
18530 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18531 $(host-test-program-cmd).
18532 (tst-spawn-ARGS): Likewise.
18533 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18534 $(test-program-prefix).
18535 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18536 (test_via_rtld_prefix): This.
18537 (test_wrapper): Renamed to ...
18538 (test_program_prefix): This.
18539 (run_program_prefix): Replaced by test_program_prefix.
18540 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18541 (test_program_prefix): This.
18542 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18543 with $(host-test-program-cmd).
18544 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18545 $(run-program-prefix) with $(test-program-prefix).
18546 ($(objpfx)tst-printf.out): Likewise.
18547 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18548 $(test-program-cmd).
18549 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18550 (test_program_prefix): This.
18551 * stdio-common/tst-unbputc.sh: Likewise.
18552 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18553 $(run-program-prefix) with $(test-program-prefix).
18554 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18555 (test_program_prefix): This.
18556 * string/Makefile ($(objpfx)tst-svc.out): Replace
18557 $(built-program-cmd) with $(test-program-cmd).
18558
c6fe55cf
AJ
185592013-01-11 Andreas Jaeger <aj@suse.de>
18560
18561 [BZ #15003]
18562 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18563 value. Sync with Linux 3.7.
18564
9e6919c8
DM
185652013-01-10 David S. Miller <davem@davemloft.net>
18566
18567 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18568 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18569 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18570
1c9f1a02
RM
185712013-01-10 Roland McGrath <roland@hack.frob.com>
18572
18573 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18574 never set.
18575 * configure: Regenerated.
18576
b9de2dde
DM
185772013-01-10 David S. Miller <davem@davemloft.net>
18578
18579 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18580 sparc V9 rather than using V8 code.
18581 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18582 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18583
e7f68ef4
RM
185842013-01-10 Roland McGrath <roland@hack.frob.com>
18585
18586 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18587 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18588 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18589 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18590 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18591 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18592 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18593 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18594 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18595 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18596 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18597 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18598 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18599 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18600 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18601 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18602 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18603 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18604 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18605 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18606 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18607 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18608 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18609 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18610 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18611 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18612 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18613
5a47cc9c
DM
186142013-01-10 David S. Miller <davem@davemloft.net>
18615
18616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18617
4cf8f209
L
186182013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18619
18620 * posix/Makefile (tests-static): New variable.
18621 (tests): Add $(tests-static).
18622 (tst-exec-static-ARGS): New variable.
18623 (tst-spawn-static-ARGS): Likewise.
18624 * posix/tst-exec-static.c: New file.
18625 * posix/tst-spawn-static.c: Likewise.
18626 * posix/tst-exec.c: Support run directly.
18627 * posix/tst-spawn.c: Likewise.
18628
fed0faa1
JM
186292013-01-10 Joseph Myers <joseph@codesourcery.com>
18630
828beb13
JM
18631 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18632 long.
18633 * math/bits/mathcalls.h (llrint): Likewise.
18634 (llround): Likewise.
18635 * stdlib/stdlib.h (struct drand48_data): Likewise.
18636 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18637 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18638 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18639 Likewise.
18640 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18641 Likewise.
18642 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18643 (elf_greg_t): Likewise.
18644 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18645 (__jmp_buf): Likewise.
18646 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18647 definitions.
18648 (llrint): Likewise, for all definitions.
18649 (llrintl): Likewise.
18650
fed0faa1
JM
18651 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18652 Remove [__GNUC__] condition.
18653 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18654 condition to just [__USE_ISOC99].
18655 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18656
1a20cb20
L
186572013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18658
18659 [BZ #14200]
18660 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18661 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18662 defined.
18663 (_POSIX_V6_ILP32_OFF32): Likewise.
18664 (_XBS5_ILP32_OFF32): Likewise.
18665 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18666 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18667
751b85f7
SP
186682013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18669
7490eb81
SP
18670 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18671
751b85f7
SP
18672 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18673 doubles __mpexp_twomm1. Adjust usage.
18674 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18675 Remove.
18676
988197f0
AS
186772013-01-10 Andreas Schwab <schwab@suse.de>
18678
18679 [BZ #14964]
18680 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18681 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18682
e83d7298
DM
186832013-01-09 David S. Miller <davem@davemloft.net>
18684
034ed64b 18685 [BZ #15003]
e83d7298
DM
18686 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18687 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18688 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18689 TCP_FASTOPEN): Define.
18690 (tcp_repair_opt): New structure.
18691 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18692 enum values.
18693 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18694 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18695 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18696 (tcp_cookie_transactions): New structure.
18697
d5e0b9bd
AB
186982013-01-09 Anton Blanchard <anton@samba.org>
18699
18700 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18701 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18702 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18703 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18704
0c07e3ea
JM
187052013-01-09 Joseph Myers <joseph@codesourcery.com>
18706
18707 * include/features.h (__USE_ANSI): Remove.
18708
232f7002
RM
187092013-01-09 Roland McGrath <roland@hack.frob.com>
18710
ad98e30c
RM
18711 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18712
232f7002
RM
18713 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18714
950c99ca
SP
187152013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18716
b5792741
SP
18717 * sysdeps/s390/fpu/libm-test-ulps: Update.
18718
47cf2278
SP
18719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18720
950c99ca
SP
18721 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18722 (__acr): Likewise.
18723 (__cpy): Likewise.
18724 (norm): Likewise.
18725 (denorm): Likewise.
18726 (__mp_dbl): Likewise.
18727 (__dbl_mp): Likewise.
18728 (add_magnitudes): Likewise.
18729 (sub_magnitudes): Likewise.
18730 (__add): Likewise.
18731 (__sub): Likewise.
18732 (__mul): Likewise.
18733 (__inv): Likewise.
18734 (__dvd): Likewise.
18735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18736 (__acr): Likewise.
18737 (__cpy): Likewise.
18738 (norm): Likewise.
18739 (denorm): Likewise.
18740 (__mp_dbl): Likewise.
18741 (__dbl_mp): Likewise.
18742 (add_magnitudes): Likewise.
18743 (sub_magnitudes): Likewise.
18744 (__add): Likewise.
18745 (__sub): Likewise.
18746 (__mul): Likewise.
18747 (__inv): Likewise.
18748 (__dvd): Likewise.
18749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18750 (__acr): Likewise.
18751 (__cpy): Likewise.
18752 (norm): Likewise.
18753 (denorm): Likewise.
18754 (__mp_dbl): Likewise.
18755 (__dbl_mp): Likewise.
18756 (add_magnitudes): Likewise.
18757 (sub_magnitudes): Likewise.
18758 (__add): Likewise.
18759 (__sub): Likewise.
18760 (__mul): Likewise.
18761 (__inv): Likewise.
18762 (__dvd): Likewise.
18763
eede9df9
JM
187642013-01-08 Joseph Myers <joseph@codesourcery.com>
18765
18766 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18767 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18768 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18769 2 && __USE_EXTERN_INLINES]: Likewise.
18770
c40ea3d9
AJ
187712013-01-08 Andreas Jaeger <aj@suse.de>
18772
18773 [BZ# 14985]
18774 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18775 Remove.
18776 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18777 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18778
2ccdea26
AB
187792013-01-07 Anton Blanchard <anton@samba.org>
18780
18781 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18782 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18783 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18784 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18785 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18786 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18787 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18788 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18790 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18791 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18792 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18793 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18794 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18795 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18796 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18797 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18798 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18799 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18800 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18801 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18802 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18803 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18804 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18805 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18806 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18807 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18808 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18809 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18810 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18811 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18813 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18814 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18815 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18816 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18817 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18818 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18819 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18820 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18821 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18822 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18823 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18824
a9708fed
JM
188252013-01-07 Joseph Myers <joseph@codesourcery.com>
18826
375607b9
JM
18827 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18828 (__MALLOC_PMT): Likewise.
18829 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18830 [__GNUC__], only on [_LIBC].
18831 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18832 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18833 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18834 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18835 forward declaration.
18836 (realloc_hook_ini): Likewise.
18837 (memalign_hook_ini): Likewise.
18838 (__libc_memalign): Do not use __MALLOC_PMT in variable
18839 declaration.
18840 (__libc_valloc): Likewise.
18841 (__libc_pvalloc): Likewise.
18842 (__libc_calloc): Likewise.
18843 (__posix_memalign): Likewise.
18844
a9708fed
JM
18845 [BZ #14996]
18846 * math/s_casinh.c: Include <float.h>.
18847 (__casinh): Do not do computation with squaring and square root
18848 for large arguments.
18849 * math/s_casinhf.c: Include <float.h>.
18850 (__casinhf): Do not do computation with squaring and square root
18851 for large arguments.
18852 * math/s_casinhl.c: Include <float.h>.
18853 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18854 (__casinhl): Do not do computation with squaring and square root
18855 for large arguments.
18856 * math/libm-test.inc (casin_test): Add more tests.
18857 (casinh_test): Likewise.
18858 * sysdeps/i386/fpu/libm-test-ulps: Update.
18859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18860
afec409a
L
188612013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18862
18863 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18864 (__x86_64_raw_data_cache_size): Likewise.
18865 (__x86_64_data_cache_size_half): Likewise.
18866 (__x86_64_raw_data_cache_size_half): Likewise.
18867 (__x86_64_shared_cache_size): Likewise.
18868 (__x86_64_raw_shared_cache_size): Likewise.
18869 (__x86_64_shared_cache_size_half): Likewise.
18870 (__x86_64_raw_shared_cache_size_half): Likewise.
18871 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18872 to ...
18873 (__x86_data_cache_size): This.
18874 (__x86_64_raw_data_cache_size): Renamed to ...
18875 (__x86_raw_data_cache_size): This.
18876 (__x86_64_data_cache_size_half): Renamed to ...
18877 (__x86_data_cache_size_half): This.
18878 (__x86_64_raw_data_cache_size_half): Renamed to ...
18879 (__x86_raw_data_cache_size_half): This.
18880 (__x86_64_shared_cache_size): Renamed to ...
18881 (__x86_shared_cache_size): This.
18882 (__x86_64_raw_shared_cache_size): Renamed to ...
18883 (__x86_raw_shared_cache_size): This.
18884 (__x86_64_shared_cache_size_half): Renamed to ...
18885 (__x86_shared_cache_size_half): This.
18886 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18887 (__x86_raw_shared_cache_size_half): This.
18888 * sysdeps/x86_64/memcpy.S: Updated.
18889 * sysdeps/x86_64/memset.S: Likewise.
18890 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18891 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18892 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18893
0b3986d0
DM
188942013-01-04 David S. Miller <davem@davemloft.net>
18895
18896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18897
e47686e9
AS
188982013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18899
d643bac1
AS
18900 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18901 1 to avoid redefinition warning.
18902 (__USE_GNU): Don't define.
18903 (init_signaling_nan): Protoize.
18904
e47686e9
AS
18905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18906
b18decba
SP
189072013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18908
fffb407f
SP
18909 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18911 (__cpymn): Likewise.
18912 (norm): Remove commented code.
18913 (denorm): Likewise.
18914 (__mp_dbl): Likewise.
18915 (__inv): Likewise.
18916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18917 (__cpymn): Likewise.
18918 (norm): Remove commented code.
18919 (denorm): Likewise.
18920 (__mp_dbl): Likewise.
18921 (__inv): Likewise.
18922
b18decba
SP
18923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18924 mp_no value for 1.0 and 2.0.
18925 (norm): Use RADIXI instead of radixi.d.
18926 (denorm): Likewise.
18927 (__mul): Use 0.0 instead of zero.d.
18928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18929 mp_no value for 1.0 and 2.0.
18930 (norm): Use RADIXI instead of radixi.d.
18931 (denorm): Likewise.
18932 (__mul): Use 0.0 instead of zero.d.
18933
cdc1c96f
JM
189342013-01-04 Joseph Myers <joseph@codesourcery.com>
18935
18936 [BZ #14994]
18937 * math/s_casinh.c (__casinh): Reduce finite argument to first
18938 quadrant then set signs of results at the end.
18939 * math/s_casinhf.c (__casinhf): Likewise.
18940 * math/s_casinhl.c (__casinhl): Likewise.
18941 * math/libm-test.inc (casin_test): Add more tests.
18942 (casinh_test): Likewise.
18943 * sysdeps/i386/fpu/libm-test-ulps: Update.
18944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18945
302913e1
SP
189462013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18947
6420d207
SP
18948 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18949
a9e48ab4
SP
18950 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18951
b7837264
SP
18952 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18953 declarations.
18954 (denorm): Likewise.
18955 (__mp_dbl): Likewise.
18956 (__inv): Likewise.
18957
f8af25d2
SP
18958 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18959 and adjust the header comment.
18960
302913e1
SP
18961 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18962 variable name from declaration.
18963
5d7dd1ca
L
189642013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18965
18966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18967 Initialize COMMON_CPUID_INDEX_7 element.
18968 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18969 (CPUID_RTM): Likewise.
18970 (HAS_RTM): Likewise.
18971 (COMMON_CPUID_INDEX_7): New enum.
18972
2f5f40f4
AS
189732013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18974
18975 [BZ #14981]
18976 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18977 size is zero, record memory as freed.
18978
4056f4a0
AJ
189792013-01-03 Andreas Jaeger <aj@suse.de>
18980
18981 * po/ia.po: Add new Interlingua translation.
18982
ab15736f 189832012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
18984
18985 * locale/programs/localedef.c: Fix description of '--posix' flag.
18986
568035b7
JM
189872013-01-02 Joseph Myers <joseph@codesourcery.com>
18988
e6898b8d
JM
18989 * NEWS: Update dates in second copyright notice.
18990 * README: Update copyright dates in example.
18991 * manual/libc.texinfo: Update copyright dates.
18992 * scripts/test-installation.pl: Update copyright date in --version
18993 output.
18994
0e2f9562
JM
18995 * hurd/ctty-input.c: Fix copyright notice formatting.
18996 * hurd/ctty-output.c: Likewise.
18997 * hurd/dtable.c: Likewise.
18998 * hurd/hurd-raise.c: Likewise.
18999 * hurd/hurdprio.c: Likewise.
19000 * hurd/msgportdemux.c: Likewise.
19001 * misc/sys/file.h: Likewise.
19002 * misc/sys/ioctl.h: Likewise.
19003 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19004 * sysdeps/mach/hurd/chdir.c: Likewise.
19005 * sysdeps/mach/hurd/fchdir.c: Likewise.
19006 * sysdeps/mach/hurd/rename.c: Likewise.
19007 * sysdeps/mach/hurd/rmdir.c: Likewise.
19008 * sysdeps/mach/hurd/seekdir.c: Likewise.
19009 * sysdeps/mach/hurd/setsid.c: Likewise.
19010 * sysdeps/posix/wait3.c: Likewise.
19011
568035b7
JM
19012 * All files with FSF copyright notices: Update copyright dates
19013 using scripts/update-copyrights.
19014 * intl/plural.c: Regenerated.
19015 * locale/programs/charmap-kw.h: Likewise.
19016 * locale/programs/locfile-kw.h: Likewise.
19017
da08f647
SP
190182013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19019
0f5477af
SP
19020 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19021 four values.
19022
44e0d4c2
SP
19023 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19024 calculation loop and add branch prediction.
19025
4d55b4e5
SP
19026 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19027 check access beyond bounds of m1np.
19028
da08f647
SP
19029 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19030 MPTWO.
19031 (__inv): Remove local variable MPTWO to use the global
19032 constant.
19033 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19034 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19035 variable MPTWO.
19036 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19037 MP3HALFS static const.
19038
8e051029
DM
190392013-01-01 David S. Miller <davem@davemloft.net>
19040
19041 * po/ca.po: Update from translation team.
19042
f4cf5f2d
JM
190432013-01-01 Joseph Myers <joseph@codesourcery.com>
19044
19045 * scripts/update-copyrights: New file.
19046 * Makeconfig: Reformat copyright notice.
19047 * ctype/ctype.h: Likewise.
19048 * debug/swprintf_chk.c: Likewise.
19049 * elf/dl-cache.c: Likewise.
19050 * elf/dl-debug.c: Likewise.
19051 * elf/dl-object.c: Likewise.
19052 * grp/initgroups.c: Likewise.
19053 * hurd/Makefile: Likewise.
19054 * hurd/hurd/signal.h: Likewise.
19055 * hurd/hurdfault.c: Likewise.
19056 * hurd/hurdioctl.c: Likewise.
19057 * hurd/hurdlookup.c: Likewise.
19058 * hurd/intr-msg.c: Likewise.
19059 * iconv/gconv_open.c: Likewise.
19060 * libio/swprintf.c: Likewise.
19061 * locale/lc-ctype.c: Likewise.
19062 * locale/nl_langinfo.c: Likewise.
19063 * mach/Machrules: Likewise.
19064 * mach/Makefile: Likewise.
19065 * malloc/obstack.h: Likewise.
19066 * manual/Makefile: Likewise.
19067 * manual/tsort.awk: Likewise.
19068 * misc/bits/stab.def: Likewise.
19069 * nis/nis_print_group_entry.c: Likewise.
19070 * nis/nis_table.c: Likewise.
19071 * nis/nss_compat/compat-pwd.c: Likewise.
19072 * nis/nss_compat/compat-spwd.c: Likewise.
19073 * po/Makefile: Likewise.
19074 * posix/fnmatch.c: Likewise.
19075 * posix/regex.h: Likewise.
19076 * resolv/Makefile: Likewise.
19077 * resolv/nss_dns/dns-network.c: Likewise.
19078 * resolv/res_hconf.c: Likewise.
19079 * scripts/gen-sorted.awk: Likewise.
19080 * soft-fp/soft-fp.h: Likewise.
19081 * stdio-common/printf.h: Likewise.
19082 * stdlib/monetary.h: Likewise.
19083 * stdlib/random.c: Likewise.
19084 * stdlib/random_r.c: Likewise.
19085 * sysdeps/generic/Makefile: Likewise.
19086 * sysdeps/gnu/Makefile: Likewise.
19087 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19089 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19091 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19092 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19094 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19095 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19096 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19097 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19098 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19099 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19100 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19101 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19102 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19103 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19104 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19105 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19106 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19107 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19108 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19109 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19112 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19113 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19114 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19115 * sysdeps/mach/hurd/errnos.awk: Likewise.
19116 * sysdeps/mach/hurd/fork.c: Likewise.
19117 * sysdeps/mach/hurd/getcwd.c: Likewise.
19118 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19119 * sysdeps/mach/hurd/mmap.c: Likewise.
19120 * sysdeps/mach/hurd/utimes.c: Likewise.
19121 * sysdeps/mach/hurd/xmknod.c: Likewise.
19122 * sysdeps/posix/profil.c: Likewise.
19123 * sysdeps/posix/readdir_r.c: Likewise.
19124 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19125 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19126 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19127 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19129 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19130 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19131 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19133 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19134 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19135 * sysdeps/pthread/lio_listio.c: Likewise.
19136 * sysdeps/sparc/dl-procinfo.h: Likewise.
19137 * sysdeps/unix/i386/sysdep.S: Likewise.
19138 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19139 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19140 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19141 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19143 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19144 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19145 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19146 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19147 * sysdeps/wordsize-32/divdi3.c: Likewise.
19148 * time/sys/time.h: Likewise.
19149 * wcsmbs/Makefile: Likewise.
19150
0549fbba
DM
191512013-01-01 David S. Miller <davem@davemloft.net>
19152
a141f1a7
DM
19153 * po/fr.po: Update from translation team.
19154
0549fbba
DM
19155 * catgets/gencat.c: Update copyright year.
19156 * csu/version.c: Likewise.
19157 * debug/catchsegv.sh: Likewise.
19158 * debug/pcprofiledump.c: Likewise.
19159 * debug/xtrace.sh: Likewise.
19160 * elf/ldconfig.c: Likewise.
19161 * elf/ldd.bash.in: Likewise.
19162 * elf/pldd.c: Likewise.
19163 * elf/sotruss.ksh: Likewise.
19164 * elf/sprof.c: Likewise.
19165 * iconv/iconv_prog.c: Likewise.
19166 * iconv/iconvconfig.c: Likewise.
19167 * locale/programs/locale.c: Likewise.
19168 * locale/programs/localedef.c: Likewise.
19169 * login/programs/pt_chown.c: Likewise.
19170 * malloc/memusage.sh: Likewise.
19171 * malloc/memusagestat.c: Likewise.
19172 * malloc/mtrace.pl: Likewise.
19173 * nscd/nscd.c: Likewise.
19174 * nss/getent.c: Likewise.
19175 * nss/makedb.c: Likewise.
19176 * posix/getconf.c: Likewise.
19177
18ea052c
SP
191782012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19179
19180 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19181 numbers.
19182
9c89fca6
MF
191832012-12-30 Mike Frysinger <vapier@gentoo.org>
19184
19185 * math/bits/mathcalls.h (modf): Use __nonnull.
19186
085ec079
SP
191872012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19188
19189 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19190 (split): Use macro CN instead of the bare value.
19191 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19192 could be used.
19193 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19194 instead of the bare value.
19195 (power1): Likewise.
19196
6d9f97e1
SP
191972012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19198
d63f73be
SP
19199 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19200 __ATAN_TWOM.
19201 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19202
6d9f97e1
SP
19203 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19204 their values.
19205 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19206 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19207 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19208 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19209
4c4febf5
AJ
192102012-12-28 Andreas Jaeger <aj@suse.de>
19211
af5843ef
AJ
19212 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19213 values are from Linux 3.7.
19214
4c4febf5
AJ
19215 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19216 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19217
99136f82
SP
192182012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19219
2f216c3c 19220 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19221 TRUE case.
19222
99136f82
SP
19223 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19224 (norm): Likewise.
19225 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19226 variables with preprocessor constants.
19227 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19228 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19229 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19230
7fffbdff
BH
192312012-12-27 Bruno Haible <bruno@clisp.org>
19232
19233 [BZ #14317]
19234 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19235 only if needed.
19236
b76eb5f0
SP
192372012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19238
31a7fe5c
SP
19239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19240 and use variable directly.
19241 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19242
b76eb5f0
SP
19243 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19244 MPONE.
19245 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19246 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19247 variable MPONE.
19248 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19249 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19250 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19251 include directive. Remove local variable MPONE.
19252 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19253 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19254 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19255
2c8bfe7d
DM
192562012-12-25 David S. Miller <davem@davemloft.net>
19257
19258 * version.h (RELEASE): Set to "development".
19259 (VERSION): Set to "2.17.90".
19260 * NEWS: Add 2.18 section.
19261
147d03b0
DM
192622012-12-21 David S. Miller <davem@davemloft.net>
19263
19264 * po/hr.po: Update from translation team.
19265
a8ebb2b9
AK
192662012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19267
19268 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19269
95b4f1b6
SE
192702012-12-19 Steve Ellcey <sellcey@mips.com>
19271
b2d94007 19272 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19273
cedb2a90
MS
192742012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19275
19276 * manual/contrib.texi (Contributors): Spelling correction.
19277
bbf527d6
DM
192782012-12-15 David S. Miller <davem@davemloft.net>
19279
19280 * po/ru.po: Update from translation team.
19281
bc38c906
DM
192822012-12-13 David S. Miller <davem@davemloft.net>
19283
85429b1a
DM
19284 * NEWS: Mention IFUNC testsuite enhancements.
19285
d283e353
DM
19286 * po/pl.po: Update from translation team.
19287 * po/bg.po: Likewise.
19288
bc38c906
DM
19289 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19290 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19291
a181b0d7
DM
192922012-12-11 David S. Miller <davem@davemloft.net>
19293
4641d57e
DM
19294 * po/sv.po: Update from translation team.
19295
f7bc6495
DM
19296 * po/vi.po: Update from translation team.
19297
6fc9048f
DM
19298 * po/cs.po: Update from translation team.
19299
a181b0d7
DM
19300 * po/de.po: Update from translation team.
19301 * po/eo.po: Likewise.
19302 * po/nl.po: Likewise.
19303
f70bfe80
SP
193042012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19305
3c8b4190
SP
19306 [BZ #14246]
19307 * manual/argp.texi (Argp Helper Functions): Move node to follow
19308 Argp Parsing State.
19309
f70bfe80
SP
19310 [BZ #14872]
19311 * manual/conf.texi (Limits on File System Capacity): Mention if
19312 terminating null is included in the max size.
19313
188f0adf
AJ
193142012-12-10 Andreas Jaeger <aj@suse.de>
19315
19316 * po/cs.po: Update from translation team.
19317
56e7d3ad
SP
193182012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19319
19320 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19321 void pointer and cast to uintptr_t.
19322 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19323 path.
19324 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19325 * sysdeps/s390/s390-64/memset.S: Likewise.
19326
76f2d2ea 193272012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19328
19329 [BZ #14833]
19330 * menual/message.texi (Message Translation): Fix typos.
19331 (Helper programs for gettext): Likewise.
19332
67cbf9a2
AS
193332012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19334
19335 [BZ #14898]
19336 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19337 Change to -1.
19338
682d0e9a
DM
193392012-12-07 David S. Miller <davem@davemloft.net>
19340
19341 * po/libc.pot: Update.
19342
573cd484
RH
193432012-12-07 Richard Henderson <rth@redhat.com>
19344
7e9da188 19345 [BZ #10114]
573cd484
RH
19346 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19347 normal/normal case to before the switch.
19348 (_FP_DIV): Likewise.
19349
e933a943
MF
193502012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19351 Mike Frysinger <vapier@gentoo.org>
19352
19353 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19354 check for __NR_fadvise64_64.
19355
82123268
CM
193562012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19357
19358 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19359 0, not just to plain "0" as a statement.
19360 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19361 with cw.
19362
d9814526
JM
193632012-12-06 Joseph Myers <joseph@codesourcery.com>
19364
19365 * NEWS: Use sourceware.org in Bugzilla URL.
19366
7728c574
SP
193672012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19368
f16946dd
SP
19369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19370 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19371
5704bbcb
SP
19372 * stdio-common/tst-put-error.c (do_test): Add newline to the
19373 padded test to ensure flush.
19374
17aa0516
JL
193752012-12-05 Jeff Law <law@redhat.com>
19376
19377 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19378
363313b5
JM
193792012-12-05 Joseph Myers <joseph@codesourcery.com>
19380
effbd42a
JM
19381 * README: Don't refer to ports add-on as distributed separately.
19382 Mention AArch64 in list of systems supported in the ports add-on.
19383
87600365
JM
19384 * LICENSES: Add more non-FSF copyright and license notices.
19385
a0d7066a
JM
19386 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19387 ((unused)).
19388
66ca5a5b
JM
19389 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19390
363313b5
JM
19391 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19392 10000 as width of padded output.
19393
b37984ad
JM
193942012-12-04 Joseph Myers <joseph@codesourcery.com>
19395
9003570a
JM
19396 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19397
b37984ad
JM
19398 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19399 variable LX with __attribute__ ((unused)).
19400 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19401 Likewise.
19402 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19403 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19404 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19405 with __attribute__ ((unused)).
19406
c8df52ec
DM
194072012-12-04 David S. Miller <davem@abraco.davemloft.net>
19408
19409 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19410
b3b099af
JM
194112012-12-04 Joseph Myers <joseph@codesourcery.com>
19412
c33aa6e3
JM
19413 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19414 (CFLAGS-nldbl-acos.c): New variable.
19415 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19416 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19417 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19418 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19419 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19420 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19421 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19422 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19423 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19424 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19425 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19426 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19427 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19428 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19429 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19430 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19431 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19432 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19433 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19434 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19435 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19436 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19437 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19438 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19439 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19440 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19441 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19442 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19443 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19444 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19445 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19446 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19447 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19448 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19449 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19450 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19451 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19452 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19453 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19454 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19455 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19456 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19457 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19458 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19459 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19460 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19461 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19462 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19463 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19464 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19465 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19466 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19467 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19468 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19469 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19470 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19471 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19472 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19473 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19474 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19475 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19476 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19477 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19478 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19479 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19480 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19481 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19482 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19483 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19484 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19485 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19486 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19487 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19488 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19489 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19490 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19491 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19492 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19493 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19494 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19495 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19496 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19497 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19498 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19499 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19500 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19501 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19502 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19503 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19504 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19505 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19506 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19507 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19508 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19509 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19510 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19511 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19512
20f0018d
JM
19513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19514 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19515
b3b099af
JM
19516 [BZ #14914]
19517 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19518 whole low double instead of just low 47 bits when splitting values
19519 into two parts.
19520
029264d1
AM
195212012-12-03 Allan McRae <allan@archlinux.org>
19522
19523 * manual/stdio.texi (Predefined Printf Handlers): Remove
19524 @hsep and @vsep usage.
19525
c9d6789e
MF
195262012-12-03 Mike Frysinger <vapier@gentoo.org>
19527
19528 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19529 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19530
4b7634a5
JL
195312012-12-03 Jeff Law <law@redhat.com>
19532
19533 * time/sys/time.h (settimeofday): Do not mark TV argument
19534 as __nonnull.
19535
eb6cbd24
MF
195362012-12-01 Mike Frysinger <vapier@gentoo.org>
19537
19538 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19539 when currently writing and seek to current position when not.
19540 * libio/Makefile (tests): Remove bug-fclose1.
19541 * libio/bug-fclose1.c: Delete.
19542
f638872a
JM
195432012-12-01 Joseph Myers <joseph@codesourcery.com>
19544
19545 * manual/arith.texi (feenableexcept): Fix typo.
19546 (fedisableexcept): Likewise.
19547
48085d14
RM
195482012-11-30 Roland McGrath <roland@hack.frob.com>
19549
19550 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19551 second, differently-typed declaration, rather than a cast.
19552
1a538b9f
SP
195532012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19554
19555 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19556 * include/rpc/svc.h: ... here.
19557
d07f2ff1 195582012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19559
19560 [BZ #13013]
19561 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19562 depending n and resplen2 to catch cases where answer
19563 equals answerp2.
19564
c93ec1f0
CD
195652012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19566
19567 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19568 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19569
37db69de
MF
195702012-11-29 Mike Frysinger <vapier@gentoo.org>
19571
19572 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19573
e10c4e4f
RM
195742012-11-29 Roland McGrath <roland@hack.frob.com>
19575
19576 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19577
2af1b328
JL
195782012-11-28 Jeff Law <law@redhat.com>
19579
19580 [BZ #13761]
19581 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19582 dataset_temporary. Track alloca usage into alloca_used.
19583 If dataset is large allocate and release it via malloc/free.
19584
111db5b1
FW
195852012-06-04 Florian Weimer <fweimer@redhat.com>
19586
f06cc227 19587 [BZ #14197]
111db5b1
FW
19588 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19589
dd694abd
DM
195902012-11-28 David S. Miller <davem@davemloft.net>
19591
19592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19593
9984dd01
JM
195942012-11-28 Joseph Myers <joseph@codesourcery.com>
19595
19596 [BZ #14803]
19597 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19598 of pi/2 rounded to nearest to 64 bits.
19599 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19600 nearest to 64 bits.
19601 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19602 bits.
19603
14bc93a9
JL
196042012-11-28 Jeff Law <law@redhat.com>
19605 Martin Osvald <mosvald@redhat.com>
19606
19607 [BZ #14889]
19608 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19609 * sunrpc/svc.c: Include time.h.
19610 (__svc_accept_failed): New function.
19611 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19612 any reason other than EINTR, call __svc_accept_failed.
19613 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19614 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19615
e3c6aa3a
AS
196162012-11-28 Andreas Schwab <schwab@suse.de>
19617
19618 * scripts/abilist.awk: Also handle indirect functions in .opd
19619 section.
19620
1bead169
JM
196212012-11-28 Joseph Myers <joseph@codesourcery.com>
19622
19623 [BZ #13881]
19624 * sysdeps/x86/fpu/powl_helper.c: New file.
19625 * sysdeps/x86/fpu/Makefile: Likewise.
19626 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19627 (p3): New object.
19628 (__ieee754_powl): Use __powl_helper for finite arguments except
19629 integer exponents below 8.
19630 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19631 (p3): New object.
19632 (__ieee754_powl): Use __powl_helper for finite arguments except
19633 integer exponents below 8.
19634 * math/libm-test.inc (pow_test): Add more tests and enable some
19635 previously disabled tests.
19636 * sysdeps/i386/fpu/libm-test-ulps: Update.
19637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19638
0817d63d
SP
196392012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19640 Carlos O'Donell <carlos_odonell@mentor.com>
19641
19642 * nss/makedb.c (is_prime): Assert that input is odd and greater
19643 than 4. Note that fact in a comment too.
19644 (next_prime): Add 4 to input.
19645
de2fd463
SP
196462012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19647
19648 [BZ #11741]
19649 * libio/Makefile (tests): Add test case tst-fwrite-error.
19650 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19651 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19652 * libio/tst-fwrite-error.c: New test case.
19653
c515fb51
L
196542012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19655
19656 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19657 before casting to void *.
19658 * include/libc-internal.h (__pointer_type): New macro.
19659 (__integer_if_pointer_type_sub): Likewise.
19660 (__integer_if_pointer_type): Likewise.
19661 (cast_to_integer): Likewise.
19662 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19663 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19664 before casting to atomic64_t.
19665 (atomic_exchange_acq): Likewise.
19666 (__arch_exchange_and_add_body): Likewise.
19667 (__arch_add_body): Likewise.
19668 (atomic_add_negative): Likewise.
19669 (atomic_add_zero): Likewise.
19670
4cf77aa9
JM
196712012-11-26 Joseph Myers <joseph@codesourcery.com>
19672
19673 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19674 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19675 (add_fdes): Likewise.
19676 (linear_search_fdes): Likewise.
19677 (binary_search_unencoded_fdes): Likewise.
19678
d260b3b4
AS
196792012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19680
19681 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19682
67060746
AC
196832012-11-24 Adam Conrad <adconrad@0c3.net>
19684
19685 * configure.in: Autodetect C++ header directories.
19686 * configure: Regenerated.
19687
800938a1
MF
196882012-11-23 Mike Frysinger <vapier@gentoo.org>
19689
19690 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19691
4e6e34e6
AS
196922012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19693
19694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19695
7c7feb47
JM
196962012-11-22 Joseph Myers <joseph@codesourcery.com>
19697
7184dcdf
JM
19698 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19699 LDBL_MANT_DIG == 106]: Disable some tests.
19700 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19701 Likewise.
19702 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19703 Likewise.
19704
0a42601f
JM
19705 [BZ #14871]
19706 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19707 input for small inputs. Return +/- pi/2 for large inputs.
19708 * math/libm-test.inc (atan_test): Add more tests.
19709
79c9b9fe
JM
19710 * sysdeps/generic/unwind-dw2-fde-glibc.c
19711 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19712 __attribute__ ((unused)).
19713
c60d3bf2
JM
19714 [BZ #14645]
19715 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19716 x * y if x and y are nonzero and z is zero.
19717
ef1e0867
JM
19718 [BZ #14811]
19719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19720 nonzero exponents with absolute value below 0x1p-117 to +/-
19721 0x1p-117.
19722
1468ded3
JM
19723 [BZ #14869]
19724 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19725 up arguments below 2**-450, not just those below 2**-500.
19726 * math/libm-test.inc (hypot_test): Add another test.
19727
8e27e3cc
JM
19728 [BZ #14868]
19729 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19730 Return a+b for ratio over 2**120, not 2**60.
19731 * math/libm-test.inc (hypot_test): Add another test.
19732
c9c0279b
JM
19733 * math/libm-test.inc (clog_test): Use
19734 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19735 (clog10_test): Likewise.
19736
7c7feb47
JM
19737 [BZ #6778]
19738 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19739
fff1530e
AS
197402012-11-22 Andreas Schwab <schwab@suse.de>
19741
19742 * sysdeps/i386/fpu/libm-test-ulps: Update.
19743
94558d30
PT
197442012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19745
19746 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19747 printf output with newline.
19748
7e1be741
L
197492012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19750
6bfea974
L
19751 [BZ #14865]
19752 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19753 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19754 -z nodlopen, -z initfirst and -z execstack support.
19755 * configure: Regenerated.
19756
7e1be741
L
19757 * elf/elf.h (DF_1_NODIRECT): New macro.
19758 (DF_1_IGNMULDEF): Likewise.
19759 (DF_1_NOKSYMS): Likewise.
19760 (DF_1_NOHDR): Likewise.
19761 (DF_1_EDITED): Likewise.
19762 (DF_1_NORELOC): Likewise.
19763 (DF_1_SYMINTPOSE): Likewise.
19764 (DF_1_GLOBAUDIT): Likewise.
19765 (DF_1_SINGLETON): Likewise.
19766 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19767 DT_1_SUPPORTED_MASK bits.
19768 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19769
105ce2ce
CD
197702012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19771
19772 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19773
123be9de
TS
197742012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19775
d072f3f7
TS
19776 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19777 macro.
19778
123be9de
TS
19779 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19780 (sendmmsg): Move declarations...
19781 * socket/sys/socket.h: ... here.
19782 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19783 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19784 include it from...
19785 * socket/recvmmsg.c: ... this new file.
19786 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19787 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19788 definition of __sendmmsg hidden.
19789 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19790 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19791 Move ENOSYS stub into and include it from...
19792 * socket/sendmmsg.c: ... this new file.
19793 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19794 (sysdep_routines): Move recvmmsg and sendmmsg...
19795 * socket/Makefile (routines): ... here.
19796 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19797 (GLIBC_PRIVATE): Add __sendmmsg.
19798 * include/sys/socket.h (__sendmmsg): Add declarations.
19799 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19800 sendmmsg.
19801
cf9a5d18
JM
198022012-11-20 Joseph Myers <joseph@codesourcery.com>
19803
19804 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19805 variable I1 with __attribute__ ((unused)).
19806 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19807
ecd4caf9
JM
198082012-11-19 Joseph Myers <joseph@codesourcery.com>
19809
be14d48f
JM
19810 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19811 DUMMY variables with __attribute__ ((unused)).
19812
ecd4caf9
JM
19813 * bits/byteswap.h: Include <bits/types.h>.
19814 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19815
986cab95
PT
198162012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19817
19818 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19819 string_t. Do not manually set errno.
19820 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19821 length with __strnlen. Make sure to both set errno and return it on
19822 failure.
19823
6d33cc9d
DM
198242012-11-19 David S. Miller <davem@davemloft.net>
19825
19826 With help from Joseph Myers.
19827 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19828 very large arguments properly.
19829 * math/libm-test.inc (atan_test): New tests.
19830 (atan2_test): New tests.
19831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19833
ee663277
JM
198342012-11-19 Joseph Myers <joseph@codesourcery.com>
19835
877f2d8e
JM
19836 [BZ #14856]
19837 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19838 Define to 3.
19839
116fc08a
JM
19840 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19841 [POSIX] (EADDRNOTAVAIL): Likewise.
19842 [POSIX] (EAFNOSUPPORT): Likewise.
19843 [POSIX] (EALREADY): Likewise.
19844 [POSIX] (ECONNABORTED): Likewise.
19845 [POSIX] (ECONNREFUSED): Likewise.
19846 [POSIX] (ECONNRESET): Likewise.
19847 [POSIX] (EDESTADDRREQ): Likewise.
19848 [POSIX] (EDQUOT): Likewise.
19849 [POSIX] (EHOSTUNREACH): Likewise.
19850 [POSIX] (EIDRM): Likewise.
19851 [POSIX] (EISCONN): Likewise.
19852 [POSIX] (ELOOP): Likewise.
19853 [POSIX] (EMULTIHOP): Likewise.
19854 [POSIX] (ENETDOWN): Likewise.
19855 [POSIX] (ENETUNREACH): Likewise.
19856 [POSIX] (ENOBUFS): Likewise.
19857 [POSIX] (ENODATA): Likewise.
19858 [POSIX] (ENOLINK): Likewise.
19859 [POSIX] (ENOMSG): Likewise.
19860 [POSIX] (ENOPROTOOPT): Likewise.
19861 [POSIX] (ENOSR): Likewise.
19862 [POSIX] (ENOSTR): Likewise.
19863 [POSIX] (ENOTCONN): Likewise.
19864 [POSIX] (ENOTSOCK): Likewise.
19865 [POSIX] (EOPNOTSUPP): Likewise.
19866 [POSIX] (EOVERFLOW): Likewise.
19867 [POSIX] (EPROTO): Likewise.
19868 [POSIX] (EPROTONOSUPPORT): Likewise.
19869 [POSIX] (EPROTOTYPE): Likewise.
19870 [POSIX] (ESTALE): Likewise.
19871 [POSIX] (ETIME): Likewise.
19872 [POSIX] (ETXTBSY): Likewise.
19873 [POSIX] (EWOULDBLOCK): Likewise.
19874 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19875 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19876 [POSIX] (SEEK_CUR): Likewise.
19877 [POSIX] (SEEK_END): Likewise.
19878 [POSIX || UNIX98] (mode_t): Do not require.
19879 [POSIX] (off_t): Likewise.
19880 [POSIX] (pid_t): Likewise.
19881 [POSIX] (sys/stat.h): Do not allow header.
19882 [POSIX] (unistd.h): Likewise.
19883 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19884 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19885 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19886 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19887 require.
19888 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19889 sigevent): Specify elements.
19890 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19891 entry.
19892 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19893 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19894
a483863f
JM
19895 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19896 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19897 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19898 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19899 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19900 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19901 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19902 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19903 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19904 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19905 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19906 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19907 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19908 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19909 Likewise.
19910 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19911 Likewise.
19912 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19913 Likewise.
19914 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19915 Likewise.
19916 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19917 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19918 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19919 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19920 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19921 Specify lower bound on value.
19922 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19923 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19924 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19925 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19926 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19927 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19928 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19929 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19930 value.
19931 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19932 as optional.
19933 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19934 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19935 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19936 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19937 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19938 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19939 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19940 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19941 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19942 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19943 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19944 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19945 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19946 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19947 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19948 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19949 entry.
19950 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19951 optional.
19952 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19953 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19954 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19955 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19956 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19957 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19958 Likewise.
19959 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19960 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19961 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19962 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19963 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19964 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19965 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19966 as optional.
19967 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19968 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19969 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19970 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19971 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19972 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19973 specify as optional.
19974 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19975 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19976 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19977 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19978 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19979 [XPG3] (NL_LANGMAX): Likewise.
19980 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19981 [POSIX || XPG3] (NL_NMAX): Likewise.
19982 [POSIX || XPG3] (NL_SETMAX): Likewise.
19983 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19984 [XPG3] (NZERO): Likewise.
19985 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19986 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19987 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19988 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19989 (REG_ERANGE): Expect.
19990 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19991 optional-constant.
19992 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19993 Use (void) in prototype.
19994 [POSIX] (*_t): Allow.
19995 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19996 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19997 (WRDE_BADVAL): Expect.
19998
5ba924e3
JM
19999 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20000 expect.
20001 [XPG3 || XPG4] (O_RSYNC): Likewise.
20002 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20003 Likewise.
20004 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20005 [XPG3 || XPG4] (sigqueue): Likewise.
20006 [XPG3 || XPG4] (sigtimedwait): Likewise.
20007 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20008 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20009 [XPG3 || XPG4] (vsnprintf): Likewise.
20010 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20011 Likewise.
20012 [XPG3 || XPG4] (blksize_t): Likewise.
20013 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20014 Likewise.
20015 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20016 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20017 [XPG3 || XPG4] (struct itimerspec): Likewise.
20018 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20019 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20020 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20021 [XPG3 || XPG4] (clockid_t): Likewise.
20022 [XPG3 || XPG4] (timer_t): Likewise.
20023 [XPG3 || XPG4] (clock_getres): Likewise.
20024 [XPG3 || XPG4] (clock_gettime): Likewise.
20025 [XPG3 || XPG4] (clock_settime): Likewise.
20026 [XPG3 || XPG4] (nanosleep): Likewise.
20027 [XPG3 || XPG4] (timer_create): Likewise.
20028 [XPG3 || XPG4] (timer_delete): Likewise.
20029 [XPG3 || XPG4] (timer_gettime): Likewise.
20030 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20031 [XPG3 || XPG4] (timer_settime): Likewise.
20032 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20033 [XPG3 || XPG4] (getlogin_r): Likewise.
20034 [XPG3 || XPG4] (pread): Likewise.
20035 [XPG3 || XPG4] (pthread_atfork): Likewise.
20036 [XPG3 || XPG4] (pwrite): Likewise.
20037
ee663277
JM
20038 [BZ #14835]
20039 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20040 <bits/siginfo.h>.
20041
942caa16
PT
200422012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20043
e19af380
PT
20044 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20045 finalizing MALLSTREAM.
20046
942caa16
PT
20047 * sysdeps/mach/hurd/syncfs.c: New file.
20048
cfde9b46
SP
200492012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20050
20051 [BZ #14719]
20052 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20053 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20054 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20055 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20056 (_nss_dns_gethostbyname4_r): Likewise.
20057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20058 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20059
f6da27e5
PH
200602012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20061
20062 [BZ #13763]
20063 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20064
6665d4a2
SM
200652012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20066
1f51ee92
SM
20067 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20068 * elf/cache.c (print_entry): Print ",AArch64" for
20069 FLAG_AARCH64_LIB64
20070
6665d4a2
SM
20071 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20072 * elf/cache.c (print_entry): Print ",hard-float" for
20073 FLAG_ARM_LIBHF.
20074
05b227bd
DM
200752012-11-18 David S. Miller <davem@davemloft.net>
20076
20077 With help from Joseph Myers.
20078 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20079 cutoff to 2**-13.
20080 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20081 cutoff to 2**-25.
20082 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20083 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20084 small.
20085 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20086 * math/libm-test.inc (y0_test): New tests.
20087 (y1_test): New tests.
20088 * sysdeps/i386/fpu/libm-test-ulps: Update.
20089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20091
786b0b67
AS
200922012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20093
20094 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20095 64-bit targets.
20096 * configure: Regenerated.
20097
8e18b86d
DM
200982012-11-17 David S. Miller <davem@davemloft.net>
20099
20100 [BZ #14811]
20101 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20102 nonzero exponents with absolute value below 0x1p-128 to +/-
20103 0x1p-128.
20104
531f1ae0
JM
201052012-11-17 Joseph Myers <joseph@codesourcery.com>
20106
12df29e2
JM
20107 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20108
150dc1a0
JM
20109 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20110
531f1ae0
JM
20111 * posix/getconf-speclist.c: New file.
20112 * posix/posix-envs.def: Likewise.
20113 * posix/confstr.c (START_ENV_GROUP): New macro.
20114 (END_ENV_GROUP): Likewise.
20115 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20116 (KNOWN_PRESENT_ENV_STRING): Likewise.
20117 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20118 (UNKNOWN_ENVIRONMENT): Likewise.
20119 (confstr): Include posix-envs.def instead of handling
20120 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20121 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20122 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20123 (END_ENV_GROUP): Likewise.
20124 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20125 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20126 (UNKNOWN_ENVIRONMENT): Likewise.
20127 (__sysconf): Include posix-envs.def instead of handling associated
20128 cases directly here.
20129 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20130 preprocessing getconf-speclist.c rather than running getconf or
20131 generating empty file.
20132
a93f9cbc
PT
201332012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20134
20135 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20136
d64d9f87
AL
201372012-11-16 Andrej Lajovic <natrij@gmail.com>
20138
20139 [BZ #14672]
20140 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20141
447885eb
DM
201422012-11-16 David S. Miller <davem@davemloft.net>
20143
20144 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20145 smaller than LDBL_EPSILON/2.0L, just return xm1.
20146
bcbf9830
L
201472012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20148
20149 * elf/tst-array1.c (init): Set constructor priority to 1000.
20150 (fini): Set destructor priority to 1000.
20151 * elf/tst-array2dep.c: Likewise.
20152
2b766585
SP
201532012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20154
20155 [BZ #11741]
20156 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20157 (_IO_new_file_xsputn): Also return EOF if none of the input
20158 data was written when overflow failed.
20159 * libio/iopadn.c (_IO_padn): Likewise.
20160 * libio/iowpadn.c (_IO_wpadn): Likewise.
20161 * stdio-common/tst-put-error.c: Add copyright notice.
20162 (do_test): Add case for printing padded string.
20163 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20164 _IO_padn returned error.
20165 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20166 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20167 return EOF.
20168
b1848fde
SP
201692012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20170
20171 * libio/libioP.h: Add comment note that the references to C++
20172 bits are now obsolete.
20173
2fd89785
MS
201742012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20175
20176 * math/libm-test.inc (check_complex): Use asprintf.
20177
e3ea5409
JM
201782012-11-14 Joseph Myers <joseph@codesourcery.com>
20179
20180 * debug/pcprofiledump.c (print_version): Update copyright year.
20181 * malloc/memusagestat.c (print_version): Likewise.
20182
2e64d265
L
201832012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20184
20185 [BZ #14831]
20186 * elf/Makefile (tests): Add tst-audit8.
20187 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20188 ($(objpfx)tst-audit8.out): New target.
20189 (tst-audit8-ENV): New variable.
20190 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20191 audit if l_reloc_result is NULL.
20192 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20193 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20194 * elf/tst-audit8.c: New file.
20195
c485e4d2
MS
201962012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20197
20198 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20199 * misc/Makefile (CFLAGS-select.c): Define.
20200 * posix/Makefile (CFLAGS-pause.c): Define.
20201
3a0d900a
DM
202022012-11-13 David S. Miller <davem@davemloft.net>
20203
20204 * crypt/Makefile: Move test targets after toplevel Rules
20205 inclusion. Grab any necessary sysdep routines when linking.
20206 * crypt/md5.c (md5_process_block): Remove define, we will always
20207 name it __md5_process_block.
20208 (md5_finish_ctx): Update md5_process_block call.
20209 (md5_stream): Likewise.
20210 (md5_process_bytes): Likewise.
20211 (md5_process_block): Rename to __md5_process_block and move to ...
20212 * crypt/md5-block.c: ... here.
20213 * crypt/sha256.c (sha256_process_block): Move to ...
20214 * crypt/sha256-block.c: ... here.
20215 * crypt/sha512.c (sha512_process_block): Move to ...
20216 * crypt/sha512-block.c: ... here.
20217 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20218 path.
20219 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20220 * sysdeps/sparc/sparc64/multiarch/Makefile
20221 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20222 crypt subdir.
20223 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20224 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20225 multiarch changes.
20226 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20227 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20228 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20229 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20230 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20231 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20232 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20233 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20234 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20235 file.
20236 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20237 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20238 file.
20239 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20240
8ca89318
JM
202412012-11-13 Joseph Myers <joseph@codesourcery.com>
20242
e27d476a
JM
20243 * timezone/tzselect.ksh: Update from tzcode git revision
20244 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20245 * timezone/zdump.c: Likewise.
20246 * timezone/zic.c: Likewise.
20247 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20248 in TZVERSION setting, not $(PKGVERSION).
20249 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20250 REPORT_BUGS_TO settings.
20251
8ca89318
JM
20252 [BZ #14838]
20253 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20254 macro.
20255
47594329
MS
202562012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20257
20258 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20259 detection to immediately after _FP_ROUND().
20260 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20261 bits are 0.
20262
640ac3f1
DM
202632012-11-11 David S. Miller <davem@davemloft.net>
20264
20265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20266 inttypes.h
20267 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20268 __close rather than their public counterparts.
20269
3d2577bb
JM
202702012-11-10 Joseph Myers <joseph@codesourcery.com>
20271
20272 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20273 file.
20274 [UNIX98] (sem_timedwait): Do not expect.
20275 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20276 [XPG4 || UNIX98] (sockatmark): Do not expect.
20277 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20278 (clock_getcpuclockid): Do not expect.
20279 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20280 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20281 Do not expect.
20282 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20283 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20284 [UNIX98] (vwscanf): Likewise.
20285 [UNIX98] (vswscanf): Likewise.
20286
fb1ae1ee
JM
202872012-11-09 Joseph Myers <joseph@codesourcery.com>
20288
9ec6f8bd
JM
20289 * timezone/version.h: Remove file.
20290 * timezone/README: Do not refer to version.h.
20291 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20292 $(objpfx)version.h.
20293 ($(objpfx)zdump.o): Likewise.
c3f81911 20294 ($(objpfx)version.h): New target.
9ec6f8bd 20295
0aa8f8a1
JM
20296 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20297 2012i.
20298 * timezone/README: Don't mention modification to tzselect.ksh.
20299 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20300 work on unmodified tzselect.ksh. Substitute version numbers in
20301 tzselect.ksh.
20302
4e87147f
JM
20303 * Makefile (format-me): Remove.
20304 (INSTALL): Adjust indentation. Use commands directly instead of
20305 using $(format-me).
20306
8b748aed
JM
20307 * aclocal.m4 (ACX_PKGVERSION): New macro.
20308 (ACX_BUGURL): Likewise.
20309 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20310 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20311 (REPORT_BUGS_TO): Likewise.
20312 * configure: Regenerated.
20313 * config.h.in (PKGVERSION): New macro.
20314 (REPORT_BUGS_TO): Likewise.
20315 * config.make.in (PKGVERSION): New variable.
20316 (PKGVERSION_TEXI): Likewise.
20317 (REPORT_BUGS_TO): Likewise.
20318 (REPORT_BUGS_TEXI): Likewise.
20319 * Makefile (format-me): Use -I$(common-objpfx)manual.
20320 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20321 ($(common-objpfx)manual/%): New target.
20322 (manual/%): Remove target.
20323 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20324 (print_version): Use PKGVERSION.
20325 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20326 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20327 and REPORT_BUGS_TO.
20328 ($(objpfx)xtrace): Likewise.
20329 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20330 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20331 (print_version): Use PKGVERSION.
20332 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20333 (do_version): Use PKGVERSION.
20334 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20335 REPORT_BUGS_TO.
20336 (common-ldd-rewrite): Likewise.
20337 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20338 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20339 (print_version): Use PKGVERSION.
20340 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20341 * elf/pldd.c (argp_program_bug_address): Remove variable.
20342 (more_help): New function.
20343 (argp): Use more_help.
20344 (print_version): Use PKGVERSION.
20345 * elf/sln.c (main): Use PKGVERSION.
20346 (usage): Use REPORT_BUGS_TO.
20347 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20348 (top level): Use PKGVERSION.
20349 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20350 (print_version): Use PKGVERSION.
20351 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20352 (print_version): Use PKGVERSION.
20353 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20354 (print_version): Use PKGVERSION.
20355 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20356 (print_version): Use PKGVERSION.
20357 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20358 (print_version): Use PKGVERSION.
20359 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20360 (print_version): Use PKGVERSION.
20361 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20362 and BUGURL.
20363 ($(objpfx)memusage): Likewise.
20364 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20365 (do_version): Use PKGVERSION.
20366 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20367 (print_version): Use PKGVERSION.
20368 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20369 ($PKGVERSION): New variable.
20370 ($REPORT_BUGS_TO): Likewise.
20371 (usage): Use $REPORT_BUGS_TO.
20372 (top level): Use $PKGVERSION.
20373 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20374 ($(objpfx)pkgvers.texi): New rule.
20375 ($(objpfx)stamp-pkgvers): Likewise.
20376 * manual/install.texi: Include pkgvers.texi.
20377 (--with-pkgversion): Document new configure option.
20378 (--with-bugurl): Likewise.
20379 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20380 than necessarily for this particular distribution. Use
20381 REPORT_BUGS_TO for where to report bugs.
20382 * INSTALL: Regenerated.
20383 * manual/libc.texinfo: Include pkgvers.texi.
20384 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20385 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20386 (print_version): Use PKGVERSION.
20387 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20388 (print_version): Use PKGVERSION.
20389 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20390 (print_version): Use PKGVERSION.
20391 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20392 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20393 macro.
20394 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20395 (print_version): Use PKGVERSION.
20396 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20397 (print_version): Use PKGVERSION.
20398 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20399 and PKGVERSION.
20400
92e4b6a9
JM
20401 * timezone/checktab.awk: Update from tzcode 2012i.
20402 * timezone/ialloc.c: Likewise.
20403 * timezone/private.h: Likewise.
20404 * timezone/scheck.c: Likewise.
20405 * timezone/tzfile.h: Likewise.
20406 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20407 (TZVERSION): Hardcode tzcode version number.
20408 * timezone/zdump.c: Update from tzcode 2012i.
20409 * timezone/zic.c: Likewise.
20410 * timezone/version.h: New file.
20411 * timezone/README: Describe version.h. Update upstream location.
20412
9bde902c
JM
20413 [BZ #14824]
20414 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20415 (mktemp): Enable declaration.
20416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20420 Likewise.
20421 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20422 Likewise.
20423 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20424 Likewise.
20425 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20426 Likewise.
20427 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20428 Likewise.
20429 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20430 Likewise.
20431
fb1ae1ee
JM
20432 [BZ #14821]
20433 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20434 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20435 for copies of such integer values.
20436 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20437 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20438
2c1adbcb
AJ
204392012-11-09 Andreas Jaeger <aj@suse.de>
20440
20441 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20442 definitions and declarations that are provided by
20443 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20444
d0f8457e
AK
204452012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20446
3a235abb 20447 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20448 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20449 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20450 definition.
20451
57241e26
MS
204522012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20453
20454 * elf/elf.h: Update comment before AArch64 relocations.
20455
60e8270d
DM
204562012-11-07 David S. Miller <davem@davemloft.net>
20457
20458 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20459 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20460 (__start_context): Declare.
20461 (__makecontext_ret): Delete.
20462 (__makecontext): Hook up __start_context instead of
20463 __makecontext_ret.
20464 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20465 (sysdep_routines): Add __start_context when in stdlib.
20466
0fbb0fbc
JM
204672012-11-07 Joseph Myers <joseph@codesourcery.com>
20468
20469 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20470 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20471 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20472 hardcoded "nm".
20473 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20474 (READELF): New variable. Use it instead of hardcoded "readelf".
20475
eb48db7e
L
204762012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20477
20478 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20479 * sysdeps/x86/Makefile: Here.
20480 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20481 * sysdeps/x86/tst-xmmymm.sh: This.
20482
05bcf62a
JM
204832012-11-07 Joseph Myers <joseph@codesourcery.com>
20484
c4b6cf53
JM
20485 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20486 expectations.
20487 [UNIX98] (pthread_barrier_t): Do not expect.
20488 [UNIX98] (pthread_barrierattr_t): Likewise.
20489 [UNIX98] (pthread_spinlock_t): Likewise.
20490 [UNIX98] (pthread_barrier_destroy): Likewise.
20491 [UNIX98] (pthread_barrier_init): Likewise.
20492 [UNIX98] (pthread_barrier_wait): Likewise.
20493 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20494 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20495 [UNIX98] (pthread_barrierattr_init): Likewise.
20496 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20497 [UNIX98] (pthread_getcpuclockid): Likewise.
20498 [UNIX98] (pthread_mutex_timedlock): Likewise.
20499 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20500 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20501 [UNIX98] (pthread_sigmask): Likewise.
20502 [UNIX98] (pthread_spin_destroy): Likewise.
20503 [UNIX98] (pthread_spin_init): Likewise.
20504 [UNIX98] (pthread_spin_lock): Likewise.
20505 [UNIX98] (pthread_spin_trylock): Likewise.
20506 [UNIX98] (pthread_spin_unlock): Likewise.
20507 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20508 Do not expect.
20509 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20511 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20512 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20513 [XPG3 || XPG4] (pthread_key_t): Likewise.
20514 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20515 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20516 [XPG3 || XPG4] (pthread_once_t): Likewise.
20517 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20518 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20520 [XPG3 || XPG4] (pthread_t): Likewise.
20521
cbe6e120
JM
20522 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20523 not expect.
20524 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20525
1b126443
JM
20526 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20527 Change function return type to int.
20528
b961a573
JM
20529 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20530 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20531 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20532 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20533 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20534 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20535 [!POSIX] (posix_madvise): Likewise.
20536 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20537 && !UNIX98].
20538 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20539 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20540 (mode_t): Likewise.
20541 (posix_mem_offset): Likewise.
20542 (posix_typed_mem_get_info): Likewise.
20543 (posix_typed_mem_open): Likewise.
20544
9e188909
JM
20545 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20546 Change condition to [XOPEN2K8].
20547
05bcf62a
JM
20548 * conform/conformtest.pl: Preprocess allow-header data with -x c
20549 instead of from stdin.
20550 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20551 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20552 [C99-based standards] (cerfc): Likewise.
20553 [C99-based standards] (cexp2): Likewise.
20554 [C99-based standards] (cexpm1): Likewise.
20555 [C99-based standards] (clog10): Likewise.
20556 [C99-based standards] (clog1p): Likewise.
20557 [C99-based standards] (clog2): Likewise.
20558 [C99-based standards] (clgamma): Likewise.
20559 [C99-based standards] (ctgamma): Likewise.
20560 [C99-based standards] (cerff): Likewise.
20561 [C99-based standards] (cerfcf): Likewise.
20562 [C99-based standards] (cexp2f): Likewise.
20563 [C99-based standards] (cexpm1f): Likewise.
20564 [C99-based standards] (clog10f): Likewise.
20565 [C99-based standards] (clog1pf): Likewise.
20566 [C99-based standards] (clog2f): Likewise.
20567 [C99-based standards] (clgammaf): Likewise.
20568 [C99-based standards] (ctgammaf): Likewise.
20569 [C99-based standards] (cerfl): Likewise.
20570 [C99-based standards] (cerfcl): Likewise.
20571 [C99-based standards] (cexp2l): Likewise.
20572 [C99-based standards] (cexpm1l): Likewise.
20573 [C99-based standards] (clog10l): Likewise.
20574 [C99-based standards] (clog1pl): Likewise.
20575 [C99-based standards] (clog2l): Likewise.
20576 [C99-based standards] (clgammal): Likewise.
20577 [C99-based standards] (ctgammal): Likewise.
20578 * conform/data/inttypes.h-data [C99-based standards]: Include
20579 stdint.h-data. Remove all expectations for stdint.h contents.
20580 [C99-based standards] (PRI*): Do not allow.
20581 [C99-based standards] (SCN*): Likewise.
20582 [C99-based standards] (*_t): Likewise.
20583 [C99-based-standards] (PRId8): Expect macro.
20584 [C99-based-standards] (PRIi8): Likewise.
20585 [C99-based-standards] (PRIo8): Likewise.
20586 [C99-based-standards] (PRIu8): Likewise.
20587 [C99-based-standards] (PRIx8): Likewise.
20588 [C99-based-standards] (PRIX8): Likewise.
20589 [C99-based-standards] (SCNd8): Likewise.
20590 [C99-based-standards] (SCNi8): Likewise.
20591 [C99-based-standards] (SCNo8): Likewise.
20592 [C99-based-standards] (SCNu8): Likewise.
20593 [C99-based-standards] (SCNx8): Likewise.
20594 [C99-based-standards] (PRIdLEAST8): Likewise.
20595 [C99-based-standards] (PRIiLEAST8): Likewise.
20596 [C99-based-standards] (PRIoLEAST8): Likewise.
20597 [C99-based-standards] (PRIuLEAST8): Likewise.
20598 [C99-based-standards] (PRIxLEAST8): Likewise.
20599 [C99-based-standards] (PRIXLEAST8): Likewise.
20600 [C99-based-standards] (SCNdLEAST8): Likewise.
20601 [C99-based-standards] (SCNiLEAST8): Likewise.
20602 [C99-based-standards] (SCNoLEAST8): Likewise.
20603 [C99-based-standards] (SCNuLEAST8): Likewise.
20604 [C99-based-standards] (SCNxLEAST8): Likewise.
20605 [C99-based-standards] (PRIdFAST8): Likewise.
20606 [C99-based-standards] (PRIiFAST8): Likewise.
20607 [C99-based-standards] (PRIoFAST8): Likewise.
20608 [C99-based-standards] (PRIuFAST8): Likewise.
20609 [C99-based-standards] (PRIxFAST8): Likewise.
20610 [C99-based-standards] (PRIXFAST8): Likewise.
20611 [C99-based-standards] (SCNdFAST8): Likewise.
20612 [C99-based-standards] (SCNiFAST8): Likewise.
20613 [C99-based-standards] (SCNoFAST8): Likewise.
20614 [C99-based-standards] (SCNuFAST8): Likewise.
20615 [C99-based-standards] (SCNxFAST8): Likewise.
20616 [C99-based-standards] (PRId16): Likewise.
20617 [C99-based-standards] (PRIi16): Likewise.
20618 [C99-based-standards] (PRIo16): Likewise.
20619 [C99-based-standards] (PRIu16): Likewise.
20620 [C99-based-standards] (PRIx16): Likewise.
20621 [C99-based-standards] (PRIX16): Likewise.
20622 [C99-based-standards] (SCNd16): Likewise.
20623 [C99-based-standards] (SCNi16): Likewise.
20624 [C99-based-standards] (SCNo16): Likewise.
20625 [C99-based-standards] (SCNu16): Likewise.
20626 [C99-based-standards] (SCNx16): Likewise.
20627 [C99-based-standards] (PRIdLEAST16): Likewise.
20628 [C99-based-standards] (PRIiLEAST16): Likewise.
20629 [C99-based-standards] (PRIoLEAST16): Likewise.
20630 [C99-based-standards] (PRIuLEAST16): Likewise.
20631 [C99-based-standards] (PRIxLEAST16): Likewise.
20632 [C99-based-standards] (PRIXLEAST16): Likewise.
20633 [C99-based-standards] (SCNdLEAST16): Likewise.
20634 [C99-based-standards] (SCNiLEAST16): Likewise.
20635 [C99-based-standards] (SCNoLEAST16): Likewise.
20636 [C99-based-standards] (SCNuLEAST16): Likewise.
20637 [C99-based-standards] (SCNxLEAST16): Likewise.
20638 [C99-based-standards] (PRIdFAST16): Likewise.
20639 [C99-based-standards] (PRIiFAST16): Likewise.
20640 [C99-based-standards] (PRIoFAST16): Likewise.
20641 [C99-based-standards] (PRIuFAST16): Likewise.
20642 [C99-based-standards] (PRIxFAST16): Likewise.
20643 [C99-based-standards] (PRIXFAST16): Likewise.
20644 [C99-based-standards] (SCNdFAST16): Likewise.
20645 [C99-based-standards] (SCNiFAST16): Likewise.
20646 [C99-based-standards] (SCNoFAST16): Likewise.
20647 [C99-based-standards] (SCNuFAST16): Likewise.
20648 [C99-based-standards] (SCNxFAST16): Likewise.
20649 [C99-based-standards] (PRId32): Likewise.
20650 [C99-based-standards] (PRIi32): Likewise.
20651 [C99-based-standards] (PRIo32): Likewise.
20652 [C99-based-standards] (PRIu32): Likewise.
20653 [C99-based-standards] (PRIx32): Likewise.
20654 [C99-based-standards] (PRIX32): Likewise.
20655 [C99-based-standards] (SCNd32): Likewise.
20656 [C99-based-standards] (SCNi32): Likewise.
20657 [C99-based-standards] (SCNo32): Likewise.
20658 [C99-based-standards] (SCNu32): Likewise.
20659 [C99-based-standards] (SCNx32): Likewise.
20660 [C99-based-standards] (PRIdLEAST32): Likewise.
20661 [C99-based-standards] (PRIiLEAST32): Likewise.
20662 [C99-based-standards] (PRIoLEAST32): Likewise.
20663 [C99-based-standards] (PRIuLEAST32): Likewise.
20664 [C99-based-standards] (PRIxLEAST32): Likewise.
20665 [C99-based-standards] (PRIXLEAST32): Likewise.
20666 [C99-based-standards] (SCNdLEAST32): Likewise.
20667 [C99-based-standards] (SCNiLEAST32): Likewise.
20668 [C99-based-standards] (SCNoLEAST32): Likewise.
20669 [C99-based-standards] (SCNuLEAST32): Likewise.
20670 [C99-based-standards] (SCNxLEAST32): Likewise.
20671 [C99-based-standards] (PRIdFAST32): Likewise.
20672 [C99-based-standards] (PRIiFAST32): Likewise.
20673 [C99-based-standards] (PRIoFAST32): Likewise.
20674 [C99-based-standards] (PRIuFAST32): Likewise.
20675 [C99-based-standards] (PRIxFAST32): Likewise.
20676 [C99-based-standards] (PRIXFAST32): Likewise.
20677 [C99-based-standards] (SCNdFAST32): Likewise.
20678 [C99-based-standards] (SCNiFAST32): Likewise.
20679 [C99-based-standards] (SCNoFAST32): Likewise.
20680 [C99-based-standards] (SCNuFAST32): Likewise.
20681 [C99-based-standards] (SCNxFAST32): Likewise.
20682 [C99-based-standards] (PRId64): Likewise.
20683 [C99-based-standards] (PRIi64): Likewise.
20684 [C99-based-standards] (PRIo64): Likewise.
20685 [C99-based-standards] (PRIu64): Likewise.
20686 [C99-based-standards] (PRIx64): Likewise.
20687 [C99-based-standards] (PRIX64): Likewise.
20688 [C99-based-standards] (SCNd64): Likewise.
20689 [C99-based-standards] (SCNi64): Likewise.
20690 [C99-based-standards] (SCNo64): Likewise.
20691 [C99-based-standards] (SCNu64): Likewise.
20692 [C99-based-standards] (SCNx64): Likewise.
20693 [C99-based-standards] (PRIdLEAST64): Likewise.
20694 [C99-based-standards] (PRIiLEAST64): Likewise.
20695 [C99-based-standards] (PRIoLEAST64): Likewise.
20696 [C99-based-standards] (PRIuLEAST64): Likewise.
20697 [C99-based-standards] (PRIxLEAST64): Likewise.
20698 [C99-based-standards] (PRIXLEAST64): Likewise.
20699 [C99-based-standards] (SCNdLEAST64): Likewise.
20700 [C99-based-standards] (SCNiLEAST64): Likewise.
20701 [C99-based-standards] (SCNoLEAST64): Likewise.
20702 [C99-based-standards] (SCNuLEAST64): Likewise.
20703 [C99-based-standards] (SCNxLEAST64): Likewise.
20704 [C99-based-standards] (PRIdFAST64): Likewise.
20705 [C99-based-standards] (PRIiFAST64): Likewise.
20706 [C99-based-standards] (PRIoFAST64): Likewise.
20707 [C99-based-standards] (PRIuFAST64): Likewise.
20708 [C99-based-standards] (PRIxFAST64): Likewise.
20709 [C99-based-standards] (PRIXFAST64): Likewise.
20710 [C99-based-standards] (SCNdFAST64): Likewise.
20711 [C99-based-standards] (SCNiFAST64): Likewise.
20712 [C99-based-standards] (SCNoFAST64): Likewise.
20713 [C99-based-standards] (SCNuFAST64): Likewise.
20714 [C99-based-standards] (SCNxFAST64): Likewise.
20715 [C99-based-standards] (PRIdMAX): Likewise.
20716 [C99-based-standards] (PRIiMAX): Likewise.
20717 [C99-based-standards] (PRIoMAX): Likewise.
20718 [C99-based-standards] (PRIuMAX): Likewise.
20719 [C99-based-standards] (PRIxMAX): Likewise.
20720 [C99-based-standards] (PRIXMAX): Likewise.
20721 [C99-based-standards] (SCNdMAX): Likewise.
20722 [C99-based-standards] (SCNiMAX): Likewise.
20723 [C99-based-standards] (SCNoMAX): Likewise.
20724 [C99-based-standards] (SCNuMAX): Likewise.
20725 [C99-based-standards] (SCNxMAX): Likewise.
20726 [C99-based-standards] (PRIdPTR): Likewise.
20727 [C99-based-standards] (PRIiPTR): Likewise.
20728 [C99-based-standards] (PRIoPTR): Likewise.
20729 [C99-based-standards] (PRIuPTR): Likewise.
20730 [C99-based-standards] (PRIxPTR): Likewise.
20731 [C99-based-standards] (PRIXPTR): Likewise.
20732 [C99-based-standards] (SCNdPTR): Likewise.
20733 [C99-based-standards] (SCNiPTR): Likewise.
20734 [C99-based-standards] (SCNoPTR): Likewise.
20735 [C99-based-standards] (SCNuPTR): Likewise.
20736 [C99-based-standards] (SCNxPTR): Likewise.
20737 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20738 allow.
20739 * conform/data/stdint.h-data: Update comments to clarify
20740 requirements.
20741 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20742 type.
20743 [C99-based standards] (INT8_MAX): Likewise.
20744 [C99-based standards] (INT16_MIN): Likewise.
20745 [C99-based standards] (INT16_MAX): Likewise.
20746 [C99-based standards] (INT32_MIN): Likewise.
20747 [C99-based standards] (INT32_MAX): Likewise.
20748 [C99-based standards] (INT64_MIN): Likewise.
20749 [C99-based standards] (INT64_MAX): Likewise.
20750 [C99-based standards] (UINT8_MAX): Likewise.
20751 [C99-based standards] (UINT16_MAX): Likewise.
20752 [C99-based standards] (UINT32_MAX): Likewise.
20753 [C99-based standards] (UINT64_MAX): Likewise.
20754 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20755 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20756 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20757 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20758 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20759 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20760 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20761 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20762 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20763 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20764 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20765 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20766 [C99-based standards] (INT_FAST8_MIN): Likewise.
20767 [C99-based standards] (INT_FAST8_MAX): Likewise.
20768 [C99-based standards] (INT_FAST16_MIN): Likewise.
20769 [C99-based standards] (INT_FAST16_MAX): Likewise.
20770 [C99-based standards] (INT_FAST32_MIN): Likewise.
20771 [C99-based standards] (INT_FAST32_MAX): Likewise.
20772 [C99-based standards] (INT_FAST64_MIN): Likewise.
20773 [C99-based standards] (INT_FAST64_MAX): Likewise.
20774 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20775 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20776 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20777 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20778 [C99-based standards] (INTPTR_MIN): Likewise.
20779 [C99-based standards] (INTPTR_MAX): Likewise.
20780 [C99-based standards] (UINTPTR_MAX): Likewise.
20781 [C99-based standards] (INTMAX_MIN): Likewise.
20782 [C99-based standards] (INTMAX_MAX): Likewise.
20783 [C99-based standards] (UINTMAX_MAX): Likewise.
20784 [C99-based standards] (PTRDIFF_MIN): Likewise.
20785 [C99-based standards] (PTRDIFF_MAX): Likewise.
20786 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20787 [C99-based standards] (SIZE_MAX): Likewise.
20788 [C99-based standards] (WCHAR_MAX): Likewise.
20789 [C99-based standards] (WINT_MAX): Likewise.
20790 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20791 constraint on value.
20792 [C99-based standards] (WCHAR_MIN): Likewise.
20793 [C99-based standards] (WINT_MIN): Likewise.
20794 [C99-based standards] (*_t): Allow.
20795 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20796 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20797 Include math.h-data and complex.h-data. Remove all expectations
20798 of math.h and complex.h contents.
20799 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20800 at end of line.
20801 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20802 (struct tm): Expect tag.
20803 [C99-based-standards] (wcstof): Expect function.
20804 [C99-based-standards] (wcstold): Likewise.
20805 [C99-based-standards] (wcstoll): Likewise.
20806 [C99-based-standards] (wcstoull): Likewise.
20807 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20808 macro-int-constant. Specify type.
20809 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20810 constraint on value.
20811 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20812 Specify type.
20813 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20814 Specify value.
20815 [ISO C standards]: Do not allow headers.
20816 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20817 wcs[abcdefghijklmnopqrstuvwxyz]*.
20818 [ISO C standards] (*_t): Do not allow.
20819 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20820 Expect function.
20821 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20822 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20823 Specify type.
20824 [ISO C standards]: Do not allow headers.
20825 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20826 is[abcdefghijklmnopqrstuvwxyz]*.
20827 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20828 to[abcdefghijklmnopqrstuvwxyz]*.
20829 [ISO C standards] (*_t): Do not allow.
20830 * conform/data/stdalign.h-data: New file.
20831 * conform/data/stdbool.h-data: Likewise.
20832 * conform/data/stdnoreturn.h-data: Likewise.
20833
7514feb8
RM
208342012-11-07 Roland McGrath <roland@hack.frob.com>
20835
20836 [BZ #14815]
20837 * manual/filesys.texi (Directory Entries): Typo fix.
20838 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20839
19b2ecfc
MS
208402012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20841
20842 * elf/elf.h (EM_AARCH64): New macro.
20843 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20844 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20845 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20846 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20847 (R_AARCH64_TLSDESC): Likewise.
20848 (NT_ARM_TLS): Likewise.
20849 (NT_ARM_HW_BREAK): Likewise.
20850 (NT_ARM_HW_WATCH): Likewise.
20851
60e235ee
JM
208522012-11-07 Joseph Myers <joseph@codesourcery.com>
20853
20854 [BZ #14811]
20855 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20856 (__ieee754_powl): Saturate nonzero exponents with absolute value
20857 below 0x1p-79 to +/- 0x1p-79.
20858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20859 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20860 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20861 nonzero exponents with absolute value below 0x1p-32 to +/-
20862 0x1p-32.
20863 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20864 (__ieee754_powl): Saturate nonzero exponents with absolute value
20865 below 0x1p-79 to +/- 0x1p-79.
20866 * math/libm-test.inc (pow_test): Add more tests.
20867
0ab234b7
AK
208682012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20869
20870 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20871 _dl_s390_cap_flags with kernel. Increase string length.
20872 (_dl_s390_platforms): Add z196 and zEC12.
20873
45832f74
JM
208742012-11-07 Joseph Myers <joseph@codesourcery.com>
20875
20876 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20877 Change XOPEN21K to XOPEN2K.
20878
19218757
MK
208792012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20880
20881 * string/memmove.c: Use memcpy when possible.
20882
c5f45721
AJ
208832012-11-06 Andreas Jaeger <aj@suse.de>
20884
20885 * po/eo.po: Update from translation team.
20886
82477c28
JM
208872012-11-06 Joseph Myers <joseph@codesourcery.com>
20888
20889 [BZ #14793]
20890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20891 exponent and small x and y exponents, scale x or y up. Increase
20892 by 2 the exponent used in scaling up.
20893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20895 * math/libm-test.inc (fma_test): Add more tests.
20896 (fma_test_towardzero): Likewise.
20897 (fma_test_downward): Likewise.
20898 (fma_test_upward): Likewise.
20899
99252c8c
JM
209002012-11-05 Joseph Myers <joseph@codesourcery.com>
20901
acfa885f
JM
20902 [BZ #14805]
20903 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20904 fenv_t *.
20905
99252c8c
JM
20906 [BZ #14801]
20907 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20908 namespace for names of struct fields.
20909 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20910 fenv_t fields.
20911 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20912 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20913
d6d98dea
ST
209142012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20915
20916 [BZ #3665]
20917 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20918
e10bb107
TS
209192012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20920
20921 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20922 PTR_DEMANGLE.
20923
20924 [BZ #5246]
20925 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20926 PTR_DEMANGLE.
20927
a0c2940d
JM
209282012-11-04 Joseph Myers <joseph@codesourcery.com>
20929
20930 [BZ #14797]
20931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20932 definitely overflow as x * y not x * y + z.
20933 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20934 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20935 * math/libm-test.inc (fma_test): Add more tests.
20936 (fma_test_towardzero): Likewise.
20937 (fma_test_downward): Likewise.
20938 (fma_test_upward): Likewise.
20939
b830319d
TS
209402012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20941
20942 [BZ #157]
20943
20944 * include/stub-tag.h: Remove file.
20945 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20946 '#include' of it.
20947 * manual/maint.texi (Porting): Don't reference it.
20948 * Makerules ($(objpfx)stubs): Likewise.
20949 * dirent/closedir.c: Don't include <stub-tag.h>.
20950 * dirent/dirfd.c: Likewise.
20951 * dirent/fdopendir.c: Likewise.
20952 * dirent/getdents.c: Likewise.
20953 * dirent/getdents64.c: Likewise.
20954 * dirent/opendir.c: Likewise.
20955 * dirent/readdir.c: Likewise.
20956 * dirent/readdir64.c: Likewise.
20957 * dirent/readdir64_r.c: Likewise.
20958 * dirent/readdir_r.c: Likewise.
20959 * dirent/rewinddir.c: Likewise.
20960 * dirent/seekdir.c: Likewise.
20961 * dirent/telldir.c: Likewise.
20962 * gmon/profil.c: Likewise.
20963 * grp/setgroups.c: Likewise.
20964 * inet/if_index.c: Likewise.
20965 * io/access.c: Likewise.
20966 * io/chdir.c: Likewise.
20967 * io/chmod.c: Likewise.
20968 * io/chown.c: Likewise.
20969 * io/close.c: Likewise.
20970 * io/dup.c: Likewise.
20971 * io/dup2.c: Likewise.
20972 * io/dup3.c: Likewise.
20973 * io/euidaccess.c: Likewise.
20974 * io/faccessat.c: Likewise.
20975 * io/fchdir.c: Likewise.
20976 * io/fchmod.c: Likewise.
20977 * io/fchmodat.c: Likewise.
20978 * io/fchown.c: Likewise.
20979 * io/fchownat.c: Likewise.
20980 * io/fcntl.c: Likewise.
20981 * io/flock.c: Likewise.
20982 * io/fstatfs.c: Likewise.
20983 * io/fstatfs64.c: Likewise.
20984 * io/fstatvfs.c: Likewise.
20985 * io/fstatvfs64.c: Likewise.
20986 * io/futimens.c: Likewise.
20987 * io/fxstat.c: Likewise.
20988 * io/fxstat64.c: Likewise.
20989 * io/fxstatat.c: Likewise.
20990 * io/fxstatat64.c: Likewise.
20991 * io/getcwd.c: Likewise.
20992 * io/isatty.c: Likewise.
20993 * io/lchmod.c: Likewise.
20994 * io/lchown.c: Likewise.
20995 * io/link.c: Likewise.
20996 * io/linkat.c: Likewise.
20997 * io/lseek.c: Likewise.
20998 * io/lseek64.c: Likewise.
20999 * io/lxstat64.c: Likewise.
21000 * io/mkdir.c: Likewise.
21001 * io/mkdirat.c: Likewise.
21002 * io/mkfifo.c: Likewise.
21003 * io/mkfifoat.c: Likewise.
21004 * io/open.c: Likewise.
21005 * io/open64.c: Likewise.
21006 * io/openat.c: Likewise.
21007 * io/openat64.c: Likewise.
21008 * io/pipe.c: Likewise.
21009 * io/pipe2.c: Likewise.
21010 * io/poll.c: Likewise.
21011 * io/posix_fadvise.c: Likewise.
21012 * io/posix_fadvise64.c: Likewise.
21013 * io/posix_fallocate.c: Likewise.
21014 * io/posix_fallocate64.c: Likewise.
21015 * io/read.c: Likewise.
21016 * io/readlink.c: Likewise.
21017 * io/readlinkat.c: Likewise.
21018 * io/rmdir.c: Likewise.
21019 * io/sendfile.c: Likewise.
21020 * io/sendfile64.c: Likewise.
21021 * io/statfs.c: Likewise.
21022 * io/statfs64.c: Likewise.
21023 * io/statvfs.c: Likewise.
21024 * io/statvfs64.c: Likewise.
21025 * io/symlink.c: Likewise.
21026 * io/symlinkat.c: Likewise.
21027 * io/ttyname.c: Likewise.
21028 * io/ttyname_r.c: Likewise.
21029 * io/umask.c: Likewise.
21030 * io/unlink.c: Likewise.
21031 * io/unlinkat.c: Likewise.
21032 * io/utime.c: Likewise.
21033 * io/utimensat.c: Likewise.
21034 * io/write.c: Likewise.
21035 * io/xmknod.c: Likewise.
21036 * io/xmknodat.c: Likewise.
21037 * io/xstat.c: Likewise.
21038 * io/xstat64.c: Likewise.
21039 * login/getpt.c: Likewise.
21040 * login/grantpt.c: Likewise.
21041 * login/unlockpt.c: Likewise.
21042 * math/e_acoshl.c: Likewise.
21043 * math/e_acosl.c: Likewise.
21044 * math/e_asinl.c: Likewise.
21045 * math/e_atan2l.c: Likewise.
21046 * math/e_atanhl.c: Likewise.
21047 * math/e_coshl.c: Likewise.
21048 * math/e_expl.c: Likewise.
21049 * math/e_fmodl.c: Likewise.
21050 * math/e_gammal_r.c: Likewise.
21051 * math/e_hypotl.c: Likewise.
21052 * math/e_j0l.c: Likewise.
21053 * math/e_j1l.c: Likewise.
21054 * math/e_jnl.c: Likewise.
21055 * math/e_lgammal_r.c: Likewise.
21056 * math/e_log10l.c: Likewise.
21057 * math/e_log2l.c: Likewise.
21058 * math/e_logl.c: Likewise.
21059 * math/e_powl.c: Likewise.
21060 * math/e_rem_pio2l.c: Likewise.
21061 * math/e_sinhl.c: Likewise.
21062 * math/e_sqrtl.c: Likewise.
21063 * math/fclrexcpt.c: Likewise.
21064 * math/fedisblxcpt.c: Likewise.
21065 * math/feenablxcpt.c: Likewise.
21066 * math/fegetenv.c: Likewise.
21067 * math/fegetexcept.c: Likewise.
21068 * math/fegetround.c: Likewise.
21069 * math/feholdexcpt.c: Likewise.
21070 * math/fesetenv.c: Likewise.
21071 * math/fesetround.c: Likewise.
21072 * math/feupdateenv.c: Likewise.
21073 * math/fgetexcptflg.c: Likewise.
21074 * math/fraiseexcpt.c: Likewise.
21075 * math/fsetexcptflg.c: Likewise.
21076 * math/ftestexcept.c: Likewise.
21077 * math/k_cosl.c: Likewise.
21078 * math/k_rem_pio2l.c: Likewise.
21079 * math/k_sinl.c: Likewise.
21080 * math/k_tanl.c: Likewise.
21081 * math/s_asinhl.c: Likewise.
21082 * math/s_atanl.c: Likewise.
21083 * math/s_cbrtl.c: Likewise.
21084 * math/s_erfl.c: Likewise.
21085 * math/s_expm1l.c: Likewise.
21086 * math/s_log1pl.c: Likewise.
21087 * math/s_tanhl.c: Likewise.
21088 * misc/acct.c: Likewise.
21089 * misc/brk.c: Likewise.
21090 * misc/chflags.c: Likewise.
21091 * misc/chroot.c: Likewise.
21092 * misc/fchflags.c: Likewise.
21093 * misc/fgetxattr.c: Likewise.
21094 * misc/flistxattr.c: Likewise.
21095 * misc/fremovexattr.c: Likewise.
21096 * misc/fsetxattr.c: Likewise.
21097 * misc/fsync.c: Likewise.
21098 * misc/ftruncate.c: Likewise.
21099 * misc/futimes.c: Likewise.
21100 * misc/futimesat.c: Likewise.
21101 * misc/getdomain.c: Likewise.
21102 * misc/getdtsz.c: Likewise.
21103 * misc/gethostid.c: Likewise.
21104 * misc/gethostname.c: Likewise.
21105 * misc/getloadavg.c: Likewise.
21106 * misc/getpagesize.c: Likewise.
21107 * misc/getsysstats.c: Likewise.
21108 * misc/getxattr.c: Likewise.
21109 * misc/gtty.c: Likewise.
21110 * misc/ioctl.c: Likewise.
21111 * misc/lgetxattr.c: Likewise.
21112 * misc/listxattr.c: Likewise.
21113 * misc/llistxattr.c: Likewise.
21114 * misc/lremovexattr.c: Likewise.
21115 * misc/lsetxattr.c: Likewise.
21116 * misc/lutimes.c: Likewise.
21117 * misc/madvise.c: Likewise.
21118 * misc/mincore.c: Likewise.
21119 * misc/mlock.c: Likewise.
21120 * misc/mlockall.c: Likewise.
21121 * misc/mmap.c: Likewise.
21122 * misc/mprotect.c: Likewise.
21123 * misc/msync.c: Likewise.
21124 * misc/munlock.c: Likewise.
21125 * misc/munlockall.c: Likewise.
21126 * misc/munmap.c: Likewise.
21127 * misc/preadv.c: Likewise.
21128 * misc/preadv64.c: Likewise.
21129 * misc/ptrace.c: Likewise.
21130 * misc/pwritev.c: Likewise.
21131 * misc/pwritev64.c: Likewise.
21132 * misc/readv.c: Likewise.
21133 * misc/reboot.c: Likewise.
21134 * misc/remap_file_pages.c: Likewise.
21135 * misc/removexattr.c: Likewise.
21136 * misc/revoke.c: Likewise.
21137 * misc/select.c: Likewise.
21138 * misc/setdomain.c: Likewise.
21139 * misc/setegid.c: Likewise.
21140 * misc/seteuid.c: Likewise.
21141 * misc/sethostid.c: Likewise.
21142 * misc/sethostname.c: Likewise.
21143 * misc/setregid.c: Likewise.
21144 * misc/setreuid.c: Likewise.
21145 * misc/setxattr.c: Likewise.
21146 * misc/sstk.c: Likewise.
21147 * misc/stty.c: Likewise.
21148 * misc/swapoff.c: Likewise.
21149 * misc/swapon.c: Likewise.
21150 * misc/sync.c: Likewise.
21151 * misc/syncfs.c: Likewise.
21152 * misc/syscall.c: Likewise.
21153 * misc/truncate.c: Likewise.
21154 * misc/ualarm.c: Likewise.
21155 * misc/usleep.c: Likewise.
21156 * misc/ustat.c: Likewise.
21157 * misc/utimes.c: Likewise.
21158 * misc/vhangup.c: Likewise.
21159 * misc/writev.c: Likewise.
21160 * posix/_exit.c: Likewise.
21161 * posix/alarm.c: Likewise.
21162 * posix/execve.c: Likewise.
21163 * posix/fexecve.c: Likewise.
21164 * posix/fork.c: Likewise.
21165 * posix/fpathconf.c: Likewise.
21166 * posix/getaddrinfo.c: Likewise.
21167 * posix/getegid.c: Likewise.
21168 * posix/geteuid.c: Likewise.
21169 * posix/getgid.c: Likewise.
21170 * posix/getgroups.c: Likewise.
21171 * posix/getlogin.c: Likewise.
21172 * posix/getlogin_r.c: Likewise.
21173 * posix/getpgid.c: Likewise.
21174 * posix/getpid.c: Likewise.
21175 * posix/getppid.c: Likewise.
21176 * posix/getresgid.c: Likewise.
21177 * posix/getresuid.c: Likewise.
21178 * posix/getsid.c: Likewise.
21179 * posix/getuid.c: Likewise.
21180 * posix/glob64.c: Likewise.
21181 * posix/nanosleep.c: Likewise.
21182 * posix/pathconf.c: Likewise.
21183 * posix/pause.c: Likewise.
21184 * posix/posix_madvise.c: Likewise.
21185 * posix/pread.c: Likewise.
21186 * posix/pread64.c: Likewise.
21187 * posix/pwrite.c: Likewise.
21188 * posix/pwrite64.c: Likewise.
21189 * posix/sched_getaffinity.c: Likewise.
21190 * posix/sched_getp.c: Likewise.
21191 * posix/sched_gets.c: Likewise.
21192 * posix/sched_primax.c: Likewise.
21193 * posix/sched_primin.c: Likewise.
21194 * posix/sched_rr_gi.c: Likewise.
21195 * posix/sched_setaffinity.c: Likewise.
21196 * posix/sched_setp.c: Likewise.
21197 * posix/sched_sets.c: Likewise.
21198 * posix/sched_yield.c: Likewise.
21199 * posix/setgid.c: Likewise.
21200 * posix/setlogin.c: Likewise.
21201 * posix/setpgid.c: Likewise.
21202 * posix/setresgid.c: Likewise.
21203 * posix/setresuid.c: Likewise.
21204 * posix/setsid.c: Likewise.
21205 * posix/setuid.c: Likewise.
21206 * posix/sleep.c: Likewise.
21207 * posix/spawni.c: Likewise.
21208 * posix/sysconf.c: Likewise.
21209 * posix/times.c: Likewise.
21210 * posix/wait.c: Likewise.
21211 * posix/wait3.c: Likewise.
21212 * posix/wait4.c: Likewise.
21213 * posix/waitpid.c: Likewise.
21214 * resolv/gai_sigqueue.c: Likewise.
21215 * resource/getpriority.c: Likewise.
21216 * resource/getrlimit.c: Likewise.
21217 * resource/getrusage.c: Likewise.
21218 * resource/nice.c: Likewise.
21219 * resource/setpriority.c: Likewise.
21220 * resource/setrlimit.c: Likewise.
21221 * resource/ulimit.c: Likewise.
21222 * rt/aio_cancel.c: Likewise.
21223 * rt/aio_fsync.c: Likewise.
21224 * rt/aio_read.c: Likewise.
21225 * rt/aio_sigqueue.c: Likewise.
21226 * rt/aio_suspend.c: Likewise.
21227 * rt/aio_write.c: Likewise.
21228 * rt/clock_getres.c: Likewise.
21229 * rt/clock_gettime.c: Likewise.
21230 * rt/clock_nanosleep.c: Likewise.
21231 * rt/clock_settime.c: Likewise.
21232 * rt/lio_listio.c: Likewise.
21233 * rt/mq_close.c: Likewise.
21234 * rt/mq_getattr.c: Likewise.
21235 * rt/mq_notify.c: Likewise.
21236 * rt/mq_open.c: Likewise.
21237 * rt/mq_receive.c: Likewise.
21238 * rt/mq_send.c: Likewise.
21239 * rt/mq_setattr.c: Likewise.
21240 * rt/mq_timedreceive.c: Likewise.
21241 * rt/mq_timedsend.c: Likewise.
21242 * rt/mq_unlink.c: Likewise.
21243 * rt/shm_open.c: Likewise.
21244 * rt/shm_unlink.c: Likewise.
21245 * rt/timer_create.c: Likewise.
21246 * rt/timer_delete.c: Likewise.
21247 * rt/timer_getoverr.c: Likewise.
21248 * rt/timer_gettime.c: Likewise.
21249 * rt/timer_settime.c: Likewise.
21250 * setjmp/__longjmp.c: Likewise.
21251 * setjmp/setjmp.c: Likewise.
21252 * signal/kill.c: Likewise.
21253 * signal/killpg.c: Likewise.
21254 * signal/raise.c: Likewise.
21255 * signal/sigaction.c: Likewise.
21256 * signal/sigaltstack.c: Likewise.
21257 * signal/sigblock.c: Likewise.
21258 * signal/sigignore.c: Likewise.
21259 * signal/sigintr.c: Likewise.
21260 * signal/signal.c: Likewise.
21261 * signal/sigpause.c: Likewise.
21262 * signal/sigpending.c: Likewise.
21263 * signal/sigqueue.c: Likewise.
21264 * signal/sigreturn.c: Likewise.
21265 * signal/sigset.c: Likewise.
21266 * signal/sigsetmask.c: Likewise.
21267 * signal/sigstack.c: Likewise.
21268 * signal/sigsuspend.c: Likewise.
21269 * signal/sigtimedwait.c: Likewise.
21270 * signal/sigvec.c: Likewise.
21271 * signal/sigwait.c: Likewise.
21272 * signal/sigwaitinfo.c: Likewise.
21273 * signal/sysv_signal.c: Likewise.
21274 * socket/accept.c: Likewise.
21275 * socket/accept4.c: Likewise.
21276 * socket/bind.c: Likewise.
21277 * socket/connect.c: Likewise.
21278 * socket/getpeername.c: Likewise.
21279 * socket/getsockname.c: Likewise.
21280 * socket/getsockopt.c: Likewise.
21281 * socket/isfdtype.c: Likewise.
21282 * socket/listen.c: Likewise.
21283 * socket/recv.c: Likewise.
21284 * socket/recvfrom.c: Likewise.
21285 * socket/recvmsg.c: Likewise.
21286 * socket/send.c: Likewise.
21287 * socket/sendmsg.c: Likewise.
21288 * socket/sendto.c: Likewise.
21289 * socket/setsockopt.c: Likewise.
21290 * socket/shutdown.c: Likewise.
21291 * socket/sockatmark.c: Likewise.
21292 * socket/socket.c: Likewise.
21293 * socket/socketpair.c: Likewise.
21294 * stdio-common/ctermid.c: Likewise.
21295 * stdio-common/cuserid.c: Likewise.
21296 * stdio-common/remove.c: Likewise.
21297 * stdio-common/rename.c: Likewise.
21298 * stdio-common/renameat.c: Likewise.
21299 * stdio-common/tempname.c: Likewise.
21300 * stdlib/getcontext.c: Likewise.
21301 * stdlib/makecontext.c: Likewise.
21302 * stdlib/setcontext.c: Likewise.
21303 * stdlib/swapcontext.c: Likewise.
21304 * stdlib/system.c: Likewise.
21305 * streams/fattach.c: Likewise.
21306 * streams/fdetach.c: Likewise.
21307 * streams/getmsg.c: Likewise.
21308 * streams/getpmsg.c: Likewise.
21309 * streams/putmsg.c: Likewise.
21310 * streams/putpmsg.c: Likewise.
21311 * sysdeps/unix/bsd/getpt.c: Likewise.
21312 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21313 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21314 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21316 Likewise.
21317 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21318 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21319 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21320 * sysvipc/msgctl.c: Likewise.
21321 * sysvipc/msgget.c: Likewise.
21322 * sysvipc/msgrcv.c: Likewise.
21323 * sysvipc/msgsnd.c: Likewise.
21324 * sysvipc/semctl.c: Likewise.
21325 * sysvipc/semget.c: Likewise.
21326 * sysvipc/semop.c: Likewise.
21327 * sysvipc/semtimedop.c: Likewise.
21328 * sysvipc/shmat.c: Likewise.
21329 * sysvipc/shmctl.c: Likewise.
21330 * sysvipc/shmdt.c: Likewise.
21331 * sysvipc/shmget.c: Likewise.
21332 * termios/tcdrain.c: Likewise.
21333 * termios/tcflow.c: Likewise.
21334 * termios/tcflush.c: Likewise.
21335 * termios/tcgetattr.c: Likewise.
21336 * termios/tcgetpgrp.c: Likewise.
21337 * termios/tcsendbrk.c: Likewise.
21338 * termios/tcsetattr.c: Likewise.
21339 * termios/tcsetpgrp.c: Likewise.
21340 * time/adjtime.c: Likewise.
21341 * time/clock.c: Likewise.
21342 * time/getitimer.c: Likewise.
21343 * time/gettimeofday.c: Likewise.
21344 * time/setitimer.c: Likewise.
21345 * time/settimeofday.c: Likewise.
21346 * time/stime.c: Likewise.
21347 * time/time.c: Likewise.
21348
213492012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21350
a20492cf
PT
21351 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21352 /usr/old/bin.
21353
72e182e3
PT
21354 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21355 instead of spaces.
21356 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21357
fbeafede
JM
213582012-11-03 Joseph Myers <joseph@codesourcery.com>
21359
5b5b04d6
JM
21360 [BZ #14796]
21361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21362 FE_TONEAREST before applying Dekker multiplication and Knuth
21363 addition. Clear inexact exceptions and check for exact zero
21364 results afterwards.
21365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21366 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21368 * math/libm-test.inc (fma_test): Add more tests.
21369 (fma_test_towardzero): Likewise.
21370 (fma_test_downward): Likewise.
21371 (fma_test_upward): Likewise.
21372 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21373 function.
21374 (libc_fesetround): New macro.
21375 (libc_fesetroundf): Likewise.
21376 (libc_fesetroundl): Likewise.
21377 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21378 function.
21379 (libc_fesetround_387): Likewise.
21380 (libc_fesetroundf): New macro.
21381 (libc_fesetround): Likewise.
21382 (libc_fesetroundl): Likewise.
21383 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21384 function.
21385 (libc_fesetroundf): New macro.
21386 (libc_fesetround): Likewise.
21387 (libc_fesetroundl): Likewise.
21388 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21389 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21390 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21391 libm_hidden_ver.
21392 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21393 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21394 libm_hidden_def.
21395 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21396 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21397 libm_hidden_ver.
21398 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21399 libm_hidden_def.
21400
fbeafede
JM
21401 [BZ #3439]
21402 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21403 integer constant usable in #if and use that to give value to enum
21404 constant.
21405 (FE_DIVBYZERO): Likewise.
21406 (FE_UNDERFLOW): Likewise.
21407 (FE_OVERFLOW): Likewise.
21408 (FE_INVALID): Likewise.
21409 (FE_INVALID_SNAN): Likewise.
21410 (FE_INVALID_ISI): Likewise.
21411 (FE_INVALID_IDI): Likewise.
21412 (FE_INVALID_ZDZ): Likewise.
21413 (FE_INVALID_IMZ): Likewise.
21414 (FE_INVALID_COMPARE): Likewise.
21415 (FE_INVALID_SOFTWARE): Likewise.
21416 (FE_INVALID_SQRT): Likewise.
21417 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21418 (FE_TONEAREST): Likewise.
21419 (FE_TOWARDZERO): Likewise.
21420 (FE_UPWARD): Likewise.
21421 (FE_DOWNWARD): Likewise.
21422 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21423 (FE_DIVBYZERO): Likewise.
21424 (FE_OVERFLOW): Likewise.
21425 (FE_UNDERFLOW): Likewise.
21426 (FE_INEXACT): Likewise.
21427 (FE_TONEAREST): Likewise.
21428 (FE_DOWNWARD): Likewise.
21429 (FE_UPWARD): Likewise.
21430 (FE_TOWARDZERO): Likewise.
21431 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21432 (FE_UNDERFLOW): Likewise.
21433 (FE_OVERFLOW): Likewise.
21434 (FE_DIVBYZERO): Likewise.
21435 (FE_INVALID): Likewise.
21436 (FE_TONEAREST): Likewise.
21437 (FE_TOWARDZERO): Likewise.
21438 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21439 (FE_OVERFLOW): Likewise.
21440 (FE_UNDERFLOW): Likewise.
21441 (FE_DIVBYZERO): Likewise.
21442 (FE_INEXACT): Likewise.
21443 (FE_TONEAREST): Likewise.
21444 (FE_TOWARDZERO): Likewise.
21445 (FE_UPWARD): Likewise.
21446 (FE_DOWNWARD): Likewise.
21447 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21448 (FE_DIVBYZERO): Likewise.
21449 (FE_OVERFLOW): Likewise.
21450 (FE_UNDERFLOW): Likewise.
21451 (FE_INEXACT): Likewise.
21452 (FE_TONEAREST): Likewise.
21453 (FE_DOWNWARD): Likewise.
21454 (FE_UPWARD): Likewise.
21455 (FE_TOWARDZERO): Likewise.
21456
105ca950
CM
214572012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21458
21459 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21460
a542b389
AS
214612012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21462
21463 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21464 commands. Quote $PWD.
21465 (blacklist_exports): Don't use remove_newlines. Replace "declare
21466 -x" by "export".
21467 (remove_newlines): Remove.
21468
f62c8abc
L
214692012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21470
21471 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21472 * stdlib/stdlib.h (atof): Moved to ...
21473 * include/bits/stdlib-float.h: Here. New file.
21474 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21475 * stdlib/bits/stdlib-float.h: New file.
21476 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21477 -mno-sse -mno-mmx.
21478 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21479 <xmmintrin.h>.
21480
0155d5b2
JM
214812012-11-02 Joseph Myers <joseph@codesourcery.com>
21482
a68d0680
JM
21483 * conform/conformtest.pl (@headers): Add fenv.h.
21484 * conform/data/fenv.h-data: New file.
21485 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21486 include of <math/fenv.h>.
21487
caf7f573
JM
21488 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21489 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21490 && !UNIX98]. Enables tests for XOPEN2K8.
21491 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21492 POSIX2008]: Likewise.
21493
6c073ad6
JM
21494 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21495 (struct rusage): Do not expect type or its members.
21496
0155d5b2
JM
21497 [BZ #3439]
21498 * math/math.h (FP_NAN): Define macro to integer constant usable in
21499 #if and use that to give value to enum constant.
21500 (FP_INFINITE): Likewise.
21501 (FP_ZERO): Likewise.
21502 (FP_SUBNORMAL): Likewise.
21503 (FP_NORMAL): Likewise.
21504
b5dcacb4
AS
215052012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21506
21507 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21508 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21509 arguments.
21510
f7934be8
RM
215112012-11-02 Roland McGrath <roland@hack.frob.com>
21512
21513 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21514 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21515 autoconf-time if not.
21516 * configure.in: Remove AC_PREREQ.
21517
d7d08bde
TMQMF
215182012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21519
21520 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21521 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21522 of the internal implementation.
21523
dcdae19a
JM
215242012-11-02 Joseph Myers <joseph@codesourcery.com>
21525
21526 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21527 except include of <misc/sys/syslog.h>.
21528
d6cffd3e
AS
215292012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21530
21531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21532 function returns with a NULL context exit with zero.
21533
b3563932
TMQMF
215342012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21535
21536 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21537
b288a93d
L
215382012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21539
21540 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21541 (run_program_cmd): This.
21542 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21543 (tst_langinfo): New variable. Use it.
21544
a2421a68
SAS
215452012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21546
21547 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21548 floating point opcodes.
21549
6f796e1b
TS
215502012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21551
7402596b
TS
21552 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21553 variable.
21554
d0d4f868
TS
21555 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21556
6f796e1b
TS
21557 * sysdeps/mach/hurd/powerpc: Remove directory.
21558 * sysdeps/mach/powerpc: Likewise.
21559
4da224a2
AS
215602012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21561
21562 * scripts/check-local-headers.sh: Ignore c++ headers.
21563
341dd673
TS
215642012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21565
21566 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21567 __libc_cleanup_region_start argument.
21568
473611b2
JM
215692012-11-01 Joseph Myers <joseph@codesourcery.com>
21570
21571 [BZ #14784]
21572 [BZ #14785]
21573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21574 x * y using scaling, not as x * y + z.
21575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21576 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21577 * math/libm-test.inc (fma_test): Add more tests.
21578 (fma_test_towardzero): Likewise.
21579 (fma_test_downward): Likewise.
21580 (fma_test_upward): Likewise.
21581
4078da3d
TS
215822012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21583
21584 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21585
903252aa
JM
215862012-10-31 Joseph Myers <joseph@codesourcery.com>
21587
21588 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21589 New variable.
21590
cbc818d0
TS
215912012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21592
21593 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21594
5a03cb1e
AS
215952012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21596
21597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21598 Fix sort order.
21599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21600 Likewise.
21601
90aff2ff
TMQMF
216022012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21603
21604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21605 Fix the order of the list for glibc 2.17.
21606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21607 Likewise.
21608
1818fcb7
AS
216092012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21610
21611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21612
ef82f4da
JM
216132012-10-31 Joseph Myers <joseph@codesourcery.com>
21614
16a0e2ec
JM
21615 [BZ #14610]
21616 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21617 for low part of x being zero before using __atanl (y).
21618 * math/libm-test.inc (atan2_test): Add another test.
21619
0eb69512
JM
21620 * manual/install.texi (Configuring and compiling): Document
21621 general use of test-wrapper and test-wrapper-env.
21622 * INSTALL: Regenerated.
21623
ef82f4da
JM
21624 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21625 (__fma): Do not extract and scale down low bits on after-rounding
21626 systems when result rounded to normal precision would have normal
21627 exponent.
21628 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21629 (__fmal): Do not extract and scale down low bits on after-rounding
21630 systems when result rounded to normal precision would have normal
21631 exponent.
21632 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21633 (__fmal): Do not extract and scale down low bits on after-rounding
21634 systems when result rounded to normal precision would have normal
21635 exponent.
21636 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21637 macro.
21638 (fma_test): Add more tests.
21639 (fma_test_towardzero): Likewise.
21640 (fma_test_downward): Likewise.
21641 (fma_test_upward): Likewise.
21642
954ef0d9
L
216432012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21644
21645 * sysdeps/i386/tininess.h: Renamed to ...
21646 * sysdeps/x86/tininess.h: This.
21647 * sysdeps/x86_64/tininess.h: Removed.
21648
df61ffb2
JM
216492012-10-30 Joseph Myers <joseph@codesourcery.com>
21650
21651 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21652 input. Use $(build-program-cmd).
21653 ($(objpfx)tst-array1-static.out): Likewise.
21654 ($(objpfx)tst-array2.out): Likewise.
21655 ($(objpfx)tst-array3.out): Likewise.
21656 ($(objpfx)tst-array4.out): Likewise.
21657 ($(objpfx)tst-array5.out): Likewise.
21658 ($(objpfx)tst-array5-static.out): Likewise.
21659
01767843
CM
216602012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21661
47cc1490
CM
21662 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21663 if defined.
21664
01767843
CM
21665 * nss/nsswitch.h (nss_interface_function): Provide new
21666 macro for use with NSS functions.
21667 * grp/initgroups.c: Use new macro.
21668 * nss/getXXbyYY.c: Likewise.
21669 * nss/getXXbyYY_r.c: Likewise.
21670 * nss/getXXent.c: Likewise.
21671 * nss/getXXent_r.c: Likewise.
21672 * sysdeps/posix/getaddrinfo.c: Likewise.
21673
8321aa97
AJ
216742012-10-30 Andreas Jaeger <aj@suse.de>
21675
21676 * po/ru.po: Update Russion translation from translation project.
21677
2a27fd6d
JM
216782012-10-30 Joseph Myers <joseph@codesourcery.com>
21679
8627a232
JM
21680 [BZ #14152]
21681 [BZ #14783]
21682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21683 result and shift together with sticky bit instead of replicating
21684 round-to-nearest rounding.
21685 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21686 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21687 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21688 missing underflow exceptions.
21689 (fma_test_towardzero): Add more tests.
21690 (fma_test_downward): Likewise.
21691 (fma_test_upward): Likewise.
21692
2a27fd6d
JM
21693 [BZ #14047]
21694 * sysdeps/generic/tininess.h: New file.
21695 * sysdeps/i386/tininess.h: Likewise.
21696 * sysdeps/sh/tininess.h: Likewise.
21697 * sysdeps/x86_64/tininess.h: Likewise.
21698 * stdlib/tst-strtod-underflow.c: Likewise.
21699 * stdlib/tst-tininess.c: Likewise.
21700 * stdlib/strtod_l.c: Include <tininess.h>.
21701 (round_and_return): Do not set errno for exact underflow cases.
21702 Force an underflow exception when setting errno for underflow.
21703 Determine underflow based on rounding to normal precision if
21704 TININESS_AFTER_ROUNDING.
21705 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21706 ERANGE for exact underflow cases.
21707 * stdlib/Makefile (tests): Add tst-tininess and
21708 tst-strtod-underflow.
21709 ($(objpfx)tst-tininess): Use $(link-libm).
21710 ($(objpfx)tst-strtod-underflow): Likewise.
21711
e7170363
AJ
217122012-10-30 Andreas Jaeger <aj@suse.de>
21713
e5088dc6
AJ
21714 [BZ#14767]
21715 * elf/Makefile (tests): Remove conditional for have-initfini-array
21716 since this is now always required and the variable does not exist
21717 anymore.
21718 (tests-static): Likewise.
21719 (modules-names): Likewise.
21720
e7170363 21721 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21722
21723 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21724 merged with constructor/destructor.
21725 (init_array): Likewise.
21726 * elf/tst-array2dep.c (fini_array): Likewise.
21727 (init_array): Likewise.
21728
60457d8a
MF
217292012-10-29 Mike Frysinger <vapier@gentoo.org>
21730
21731 * manual/message.texi: Delete @cartouche tags.
21732
8bece752
PT
217332012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21734
94ce799f
PT
21735 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21736 EOPNOTSUPP.
21737 * sysdeps/mach/hurd/fsync.c: Likewise.
21738
8bece752
PT
21739 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21740 [_POSIX_REALTIME_SIGNALS]: Change condition to
21741 [_POSIX_REALTIME_SIGNALS > 0].
21742
86ebe6b1
AJ
217432012-10-27 Andreas Jaeger <aj@suse.de>
21744
21745 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21746 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21747 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21748 [__WORDSIZE != 64]: Likewise.
21749
54399c08
L
217502012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21751
21752 * iconvdata/tst-table.sh: Remove ${SHELL}.
21753 * iconvdata/tst-tables.sh: Likewise.
21754
e2211bed
DM
217552012-10-25 David S. Miller <davem@davemloft.net>
21756
21757 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21758 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21759 of strtoull.
21760
f303f97c
DM
21761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21762 ifunc-impl-list.c
21763 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21764 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21765 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21766 file.
21767
1e9d84cd
RM
217682012-10-25 Roland McGrath <roland@hack.frob.com>
21769
21770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21771 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21772 __getdirentries.
21773
df381762
JM
217742012-10-25 Joseph Myers <joseph@codesourcery.com>
21775 Jim Blandy <jimb@codesourcery.com>
21776
21777 * scripts/cross-test-ssh.sh: New file.
21778 * manual/install.texi (Configuring and compiling): Document use of
21779 cross-test-ssh.sh.
21780 * INSTALL: Regenerated.
21781
bff64913
PT
217822012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21783
21784 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21785 EOPNOTSUPP.
21786
25fe8932
JM
217872012-10-25 Joseph Myers <joseph@codesourcery.com>
21788
21789 * Makeconfig (run-program-prefix): Fix comment.
21790
cc1290d0
JM
217912012-10-24 Joseph Myers <joseph@codesourcery.com>
21792 Jim Blandy <jimb@codesourcery.com>
21793
21794 * Makeconfig (test-wrapper): New variable,
21795 (test-wrapper-env): Likewise.
21796 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21797 (run-built-tests): Define to yes.
21798 (run-program-prefix): Use $(test-wrapper).
21799 (built-program-cmd): Likewise.
21800 * Rules (make-test-out): Use $(test-wrapper-env) and
21801 $(host-built-program-cmd).
21802 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21803 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21804 tst-pathopt.sh.
21805 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21806 $(test-wrapper-env) to tst-rtld-load-self.sh.
21807 ($(objpfx)order2.out): Use $(test-wrapper).
21808 ($(objpfx)tst-initorder.out): Likewise.
21809 ($(objpfx)tst-initorder2.out): Likewise.
21810 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21811 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21812 (test_wrapper_env): New variable. Use it to run ld.so.
21813 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21814 Use it to run ld.so.
21815 (test_wrapper_env): Likewise.
21816 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21817 $(test-wrapper) to run-iconv-test.sh.
21818 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21819 (ICONV): Use $test_wrapper.
21820 * posix/Makefile ($(objpfx)globtest.out): Pass
21821 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21822 globtest.sh, not $(run-program-prefix).
21823 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21824 (test_wrapper): Likewise.
21825 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21826 set together with run_via_rtld_prefix.
21827 (run_program_prefix): Define in terms of test_wrapper and
21828 run_via_rtld_prefix.
21829
6e6249d0
RM
218302012-10-24 Roland McGrath <roland@hack.frob.com>
21831
21832 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21833 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21834 Targets removed.
21835
21836 [BZ #14743]
21837 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21838 Declare __clock_getres, __clock_gettime, __clock_settime,
21839 __clock_nanosleep, and __clock_getcpuclockid.
21840 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21841 Remove librt_hidden_def (clock_gettime).
21842 * sysdeps/unix/clock_gettime.c: Likewise.
21843 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21844 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21845 * rt/clock_getres.c: Define __clock_getres as an alias.
21846 * sysdeps/posix/clock_getres.c: Likewise.
21847 * rt/clock_settime.c: Define __clock_settime as an alias.
21848 * sysdeps/unix/clock_settime.c: Likewise.
21849 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21850 * sysdeps/unix/clock_nanosleep.c: Likewise.
21851 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21852 * rt/clock-compat.c: New file.
21853 * rt/Makefile (librt-routines): Add clock-compat and move
21854 $(clock-routines) to ...
21855 (routines): ... here, new variable.
21856 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21857 Don't add get_clockfreq here.
21858 * rt/Versions (libc: GLIBC_2.17): New version set.
21859 Add clock_* symbols here.
21860 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21861 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21862 (GLIBC_2.17): Add clock_* symbols.
21863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21865 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21867 Likewise.
21868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21869 Likewise.
21870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21874 * NEWS: Mention the move.
21875
21876 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21877 Use __open, __read, __close rather than their public counterparts.
21878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21879 (__get_clockfreq_via_cpuinfo): Likewise.
21880 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21881 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21882
21883 * config.h.in (HAVE_IFUNC): New #undef.
21884 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21885 was successful.
21886 * configure: Regenerated.
21887
0cae3f4b
MF
218882012-10-24 Mike Frysinger <vapier@gentoo.org>
21889
21890 * configure.in: Move READELF check to start of file.
21891 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21892 libc_cv_asm_gnu_indirect_function in the process.
21893 * configure: Regenerated.
21894
8175a253
MF
218952012-10-24 Mike Frysinger <vapier@gentoo.org>
21896
21897 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21898 send the output to /dev/null.
21899 (libc_cv_cc_with_libunwind): Likewise.
21900 (libc_cv_as_noexecstack): Likewise.
21901 * configure: Regenerate.
21902
0708a7d1
JM
219032012-10-24 Joseph Myers <joseph@codesourcery.com>
21904
10b40d85
JM
21905 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21906
0708a7d1
JM
21907 * posix/globtest.sh (TMPDIR): Do not set.
21908 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21909 (testout): Likewise.
21910
9fddec1a
AJ
219112012-10-24 Andreas Jaeger <aj@suse.de>
21912
3a8db22f
AJ
21913 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21914 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21915 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21916 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21917 posix_fadvise64, posix_fallocate64.
21918
9fddec1a
AJ
21919 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21920 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21921 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21922 Likewise.
21923 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21924 Likewise.
21925 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21926
21927 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21928 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21929 <bits/fcntl-linux.h>.
21930 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21931
21932 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21933 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21934 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21935 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21936 [__WORDSIZE != 64]: Likewise.
21937
ebfd1bbd
JM
219382012-10-23 Joseph Myers <joseph@codesourcery.com>
21939
03ac099f
JM
21940 * Makeconfig (run-built-tests): New variable.
21941 * Rules [$(cross-compiling) = yes]: Change condition to
21942 [$(run-built-tests) = no].
21943 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21944 to [$(run-built-tests) = yes].
21945 * elf/Makefile [$(cross-compiling) = no]: Likewise
21946 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21947 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21948 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21949 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21950 * io/Makefile [$(cross-compiling) = no]: Likewise.
21951 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21952 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21953 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21954 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21955 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21956 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21957 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21958 * string/Makefile [$(cross-compiling) = no]: Likewise.
21959
ebfd1bbd
JM
21960 * posix/Makefile ($(objpfx)globtest.out): Pass
21961 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21962 $(rtld-installed-name).
21963 * posix/globtest.sh (elf_objpfx): Remove variable.
21964 (rtld_installed_name): Likewise.
21965 (library_path): Likewise.
21966 (run_program_prefix): New variable. Use for running globtest
21967 binary.
21968
166bca24
JB
219692012-10-23 Jim Blandy <jimb@codesourcery.com>
21970 Joseph Myers <joseph@codesourcery.com>
21971
21972 * Makeconfig (host-built-program-cmd): New variable.
21973 * elf/Makefile (tst-stackguard1-ARGS): Use
21974 $(host-built-program-cmd).
21975 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21976 (tst-spawn-ARGS): Likewise.
21977 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21978
88866099
JM
219792012-10-23 Joseph Myers <joseph@codesourcery.com>
21980 Jim Blandy <jimb@codesourcery.com>
21981
21982 * Makeconfig (run-via-rtld-prefix): New variable.
21983 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21984 (built-program-cmd): Likewise.
21985
b4b4c296
AJ
219862012-10-22 Andreas Jaeger <aj@suse.de>
21987
21988 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21989 __O_RSYNC if it exists, otherwise to O_SYNC.
21990
6fb54a22
JB
219912012-10-22 Jim Blandy <jimb@codesourcery.com>
21992 Joseph Myers <joseph@codesourcery.com>
21993
21994 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21995 /dev/null.
21996 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21997 from /dev/null
21998 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21999 /dev/null.
22000
481b90b9
AJ
220012012-10-22 Andreas Jaeger <aj@suse.de>
22002
2a0e2669
AJ
22003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22004 Define always.
22005 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22006
76e38f9a
AJ
22007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22008 bits/fcntl-linux.h.
22009
7cd37b43
AJ
22010 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22011 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22012
481b90b9
AJ
22013 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22014 to __O_LARGEFILE.
22015 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22016 to __O_LARGEFILE.
22017
aba75984
JB
220182012-10-21 Jim Blandy <jimb@codesourcery.com>
22019 Joseph Myers <joseph@codesourcery.com>
22020
22021 * config.make.in (NM): New variable.
22022
88d4247f
AJ
220232012-10-21 Andreas Jaeger <aj@suse.de>
22024
22025 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22026 definitions and declarations that are provided by
22027 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22028
f2eed205
L
220292012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22030
22031 [BZ #14683]
22032 * elf/Makefile (tests-static): Add tst-leaks1-static.
22033 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22034 ($(objpfx)tst-leaks1-static): New rule.
22035 ($(objpfx)tst-leaks1-static-mem): Likewise.
22036 (tst-leaks1-static-ENV): New macro.
22037 * elf/dl-open.c (dl_open_worker): Check the main application
22038 only if SHARED is defined.
22039 * elf/tst-leaks1-static.c: New file.
22040
335e6931
AJ
220412012-10-20 Andreas Jaeger <aj@suse.de>
22042
22043 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22044 generic values for Linux.
22045 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22046 and declarations that are provided by <bits/fcntl-linux.h> and
22047 include <bits/fcntl-linux.h>.
22048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22050
ac5c94d3
RM
220512012-10-20 Roland McGrath <roland@hack.frob.com>
22052
22053 * io/fcntl.h: Move include of <bits/types.h> to the top and
22054 include it unconditionally.
22055
de54b33a
L
220562012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22057
228cfb01
L
22058 * wcsmbs/Makefile (tests-ifunc): New variable.
22059 (tests): Add $(tests-ifunc).
22060 * wcsmbs/test-wcschr-ifunc.c: New file.
22061 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22062 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22063 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22064 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22065 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22066
69f07e5f
L
22067 * string/Makefile (tests-ifunc): New variable.
22068 (tests): Add $(tests-ifunc).
22069 * string/test-memccpy.c (TEST_NAME): New macro.
22070 * string/test-memchr.c (TEST_NAME): Likewise.
22071 * string/test-memcmp.c (TEST_NAME): Likewise.
22072 * string/test-memcpy.c (TEST_NAME): Likewise.
22073 * string/test-memmem.c (TEST_NAME): Likewise.
22074 * string/test-memmove.c (TEST_NAME): Likewise.
22075 * string/test-memset.c (TEST_NAME): Likewise.
22076 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22077 * string/test-stpcpy.c (TEST_NAME): Likewise.
22078 * string/test-stpncpy.c (TEST_NAME): Likewise.
22079 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22080 * string/test-strcasestr.c (TEST_NAME): Likewise.
22081 * string/test-strcat.c (TEST_NAME): Likewise.
22082 * string/test-strchr.c (TEST_NAME): Likewise.
22083 * string/test-strcmp.c(TEST_NAME): Likewise.
22084 * string/test-strcpy.c (TEST_NAME): Likewise.
22085 * string/test-strcspn.c (TEST_NAME): Likewise.
22086 * string/test-strlen.c (TEST_NAME): Likewise.
22087 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22088 * string/test-strncmp.c (TEST_NAME): Likewise.
22089 * string/test-strncpy.c (TEST_NAME): Likewise.
22090 * string/test-strnlen.c (TEST_NAME): Likewise.
22091 * string/test-strpbrk.c (TEST_NAME): Likewise.
22092 * string/test-strrchr.c (TEST_NAME): Likewise.
22093 * string/test-strspn.c (TEST_NAME): Likewise.
22094 * string/test-strstr.c (TEST_NAME): Likewise.
22095 * string/test-bcopy-ifunc.c: New file.
22096 * string/test-bzero-ifunc.c: Likewise.
22097 * string/test-memccpy-ifunc.c: Likewise.
22098 * string/test-memchr-ifunc.c: Likewise.
22099 * string/test-memcmp-ifunc.c: Likewise.
22100 * string/test-memcpy-ifunc.c: Likewise.
22101 * string/test-memmem-ifunc.c: Likewise.
22102 * string/test-memmove-ifunc.c: Likewise.
22103 * string/test-mempcpy-ifunc.c: Likewise.
22104 * string/test-memset-ifunc.c: Likewise.
22105 * string/test-rawmemchr-ifunc.c: Likewise.
22106 * string/test-stpcpy-ifunc.c: Likewise.
22107 * string/test-stpncpy-ifunc.c: Likewise.
22108 * string/test-strcasecmp-ifunc.c: Likewise.
22109 * string/test-strcasestr-ifunc.c: Likewise.
22110 * string/test-strcat-ifunc.c: Likewise.
22111 * string/test-strchr-ifunc.c: Likewise.
22112 * string/test-strchrnul-ifunc.c: Likewise.
22113 * string/test-strcmp-ifunc.c: Likewise.
22114 * string/test-strcpy-ifunc.c: Likewise.
22115 * string/test-strcspn-ifunc.c: Likewise.
22116 * string/test-strlen-ifunc.c: Likewise.
22117 * string/test-strncasecmp-ifunc.c: Likewise.
22118 * string/test-strncat-ifunc.c: Likewise.
22119 * string/test-strncmp-ifunc.c: Likewise.
22120 * string/test-strncpy-ifunc.c: Likewise.
22121 * string/test-strnlen-ifunc.c: Likewise.
22122 * string/test-strpbrk-ifunc.c: Likewise.
22123 * string/test-strrchr-ifunc.c: Likewise.
22124 * string/test-strspn-ifunc.c: Likewise.
22125 * string/test-strstr-ifunc.c: Likewise.
22126
de54b33a
L
22127 * debug/Makefile (tests-ifunc): New variable.
22128 (tests): Add $(tests-ifunc).
22129 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22130 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22131 * debug/test-stpcpy_chk-ifunc.c: New file.
22132 * debug/test-strcpy_chk-ifunc.c: Likewise.
22133
88481c16
SP
221342012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22135
22136 [BZ #13601]
22137 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22138 header is not read in.
22139
135948bd
JM
221402012-10-19 Joseph Myers <joseph@codesourcery.com>
22141
89f1c388
JM
22142 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22143 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22144 directly. Pass built executable to script as
22145 $(built-program-cmd).
22146 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22147 $testprogram without using LD_LIBRARY_PATH and $ldso.
22148
e40a0d21
JM
22149 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22150 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22151 $(rtld-installed-name).
22152 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22153 (rtld_installed_name): Likewise.
22154 (library_path): Likewise.
22155 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22156 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22157 $(run-program-prefix) to tst-tables.sh.
22158 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22159 it to run tst-table-from and tst-table-to.
22160 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22161 Pass it to tst-table.sh.
22162 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22163 $(run-program-prefix) to tst-gettext.sh.
22164 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22165 tst-translit.sh.
22166 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22167 tst-gettext2.sh.
22168 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22169 to run tst-gettext.
22170 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22171 to run tst-gettext2.
22172 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22173 to run tst-translit.
22174 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22175 $(run-program-prefix) to tst-mtrace.sh.
22176 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22177 to run tst-mtrace.
22178 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22179 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22180 $(rtld-installed-name).
22181 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22182 (rtld_installed_name): Likewise.
22183 (run_program_prefix): New variable. Use it to run wordexp-test.
22184
728e272a
JM
22185 * Makeconfig (ARCH): Remove all definitions.
22186 (machine): Likewise.
22187 [ARCH]: Remove conditional code.
22188 [!objdir]: Give error.
22189 [!objdir] (objpfx): Remove.
22190 [!objdir] (common-objpfx): Likewise.
22191 [!objdir] (common-objdir): Likewise.
22192 * configure.in (config_makefile): Remove. Hardcode Makefile in
22193 AC_CONFIG_FILES call.
22194 * configure: Regenerated.
22195
d528cdcf
JM
22196 [BZ #13888]
22197 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22198 or TMPDIR.
22199 (testout): Likewise.
22200
135948bd
JM
22201 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22202 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22203 $(rtld-installed-name).
22204 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22205 (rtld_installed_name): Likwise.
22206 (runit): Remove function.
22207 (run_getconf): New variable, Use it for running getconf binary.
22208
38c78296
L
222092012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22210
22211 [BZ #14716]
22212 * string/test-memmem.c (check_result): New function.
22213 (do_one_test): Use it.
22214 (check1): New function.
22215 (test_main): Use it.
22216
d077f65f
MT
222172012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22218
22219 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22220
ced52c71
JM
222212012-10-18 Joseph Myers <joseph@codesourcery.com>
22222
22223 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22224 (_G_LSEEK64): Likewise.
22225 (_G_MMAP64): Likewise.
22226 (_G_FSTAT64): Likewise.
22227 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22228 (_G_LSEEK64): Likewise.
22229 (_G_MMAP64): Likewise.
22230 (_G_FSTAT64): Likewise.
22231 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22232 unconditional. Call __mmap64 directly.
22233 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22234 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22235 __lseek64 directly.
22236 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22237 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22238 __mmap64 directly.
22239 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22240 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22241 __lseek64 directly.
22242 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22243 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22244 __lseek64 directly.
22245 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22246 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22247 __lseek64 directly.
22248 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22249 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22250 __fxstat64 directly.
22251 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22252 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22253 unconditional.
22254 (freopen64) [!_G_OPEN64]: Remove conditional code.
22255 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22256 unconditional.
22257 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22258 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22259 unconditional.
22260 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22261 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22262 unconditional.
22263 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22264 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22265 unconditional.
22266 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22267 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22268 unconditional.
22269 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22270 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22271 unconditional.
22272 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22273 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22274 unconditional.
22275 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22276
b741de23
SP
222772012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22278
22279 [BZ #12140]
22280 * manual/memory.texi (Malloc Tunable Parameters): Add note
22281 about free list pointers overwriting some perturb bytes.
22282 Wording suggested by Roland McGrath.
22283
f9b9d9c9
JM
222842012-10-17 Joseph Myers <joseph@codesourcery.com>
22285
22286 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22287 (lgamma_test): Likewise.
22288 (tgamma_test): Likewise.
22289
172a631a
FW
222902012-10-16 Florian Weimer <fweimer@redhat.com>
22291
22292 [BZ #14700]
22293 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22294 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22295
e9f37252
MK
222962012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22297
22298 * NEWS: Mention BZ #14716.
22299 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22300 when removing AVAILABLE1_USES_J macro.
22301
d394eb74
L
223022012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22303
22304 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22305 (__bswap_64): __uint64_t for unsigned 64-bit int.
22306
ca38dc17
AS
223072012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22308
22309 * include/string.h (memmem): Declare libc hidden alias.
22310 * string/memmem.c (memmem): Define libc hidden alias.
22311 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22312 __read, __close instead of open, read, close.
22313
9a387d1f
L
223142012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22315
ac49ecaf
L
22316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22317 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22318 global and hidden.
22319 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22320 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22321 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22322 Likewise.
22323 (__rawmemchr_sse2): Likewise.
22324 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22325 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22326 (__strchr_sse2): Likewise.
22327 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22328 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22329 (__strcasecmp_sse2): Likewise.
22330 (__strncasecmp_sse2): Likewise.
22331 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22332 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22333 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22334 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22335 (__strrchr_sse2): Likewise.
22336 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22337 ifunc-impl-list.c.
22338 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22339 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22340 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22341 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22342 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22343 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22344 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22345 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22346 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22347 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22348 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22349 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22350 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22351 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22352 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22353 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22354 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22355 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22356 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22357 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22358 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22359 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22360 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22361 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22362 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22363 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22364 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22365 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22366 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22367 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22368
b090e8ea
L
22369 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22370 global and hidden.
22371 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22372 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22373 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22374 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22375 Likewise.
22376 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22377 Likewise.
22378 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22379 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22380 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22381 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22382 ifunc-impl-list.c.
22383 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22384 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22385 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22386 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22387 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22388 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22389 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22390 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22391 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22392 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22393 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22394 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22395 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22396 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22397 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22398 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22399 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22400 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22401 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22402 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22403 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22404 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22405 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22406 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22407 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22408 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22409 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22410 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22411 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22412 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22413 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22414 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22415 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22416 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22417 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22418 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22419 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22420 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22421 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22422 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22423 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22424
11dd4af6
L
22425 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22426 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22427 * include/ifunc-impl-list.h: New file.
22428 * misc/ifunc-impl-list.c: Likewise.
22429 * misc/Makefile (routines): Add ifunc-impl-list.
22430 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22431 * string/test-string.h: Include <ifunc-impl-list.h>.
22432 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22433 impl_array): New variables.
22434 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22435 are defined.
22436 (test_init): Call __libc_ifunc_impl_list to initialize
22437 func_list if TEST_IFUNC and TEST_NAME are defined.
22438
9a387d1f
L
22439 * string/Makefile (strop-tests): Add bcopy and bzero.
22440 * string/test-bcopy.c: New file.
22441 * string/test-bzero.c: Likewise.
22442 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22443 defined.
22444 * string/test-memset.c: Support bzero test if TEST_BZERO is
22445 defined.
22446 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22447 __libc_memmove.
22448 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22449 __libc_memset.
22450 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22451 of memset.
22452
472371b9
JM
224532012-10-10 Joseph Myers <joseph@codesourcery.com>
22454
1e4a9536
JM
22455 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22456 * configure: Regenerated.
22457
d173d12e
JM
22458 * Makeconfig (+link-static-before-libc): Don't include
22459 $(link-static-libc).
22460
472371b9
JM
22461 * libio/libio.h (_IO_pos_t): Remove.
22462
89a3ad0b
AO
224632012-10-10 Alexandre Oliva <aoliva@redhat.com>
22464
22465 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22466 McGrath.
22467
e7451425
AO
224682012-10-10 Alexandre Oliva <aoliva@redhat.com>
22469
22470 * crypt/crypt-entry.c: Include fips-private.h.
22471 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22472 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22473 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22474 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22475
4ba74a35
AO
224762012-10-10 Alexandre Oliva <aoliva@redhat.com>
22477
22478 * crypt/crypt-private.h: Include stdbool.h.
22479 (_ufc_setup_salt_r): Return bool.
22480 * crypt/crypt-entry.c: Include errno.h.
22481 (__crypt_r): Return NULL with EINVAL for bad salt.
22482 * crypt/crypt_util.c (bad_for_salt): New.
22483 (_ufc_setup_salt_r): Check that salt is long enough and within
22484 the specified alphabet.
22485 * crypt/badsalttest.c: New file.
22486 * crypt/Makefile (tests): Add it.
22487 ($(objpfx)badsalttest): New.
22488
f96f1242
MK
224892012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22490
22491 * NEWS: Add entry for BZ #14602.
22492
0e8e0c1c
JM
224932012-10-09 Joseph Myers <joseph@codesourcery.com>
22494
22495 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22496 type-generic.
22497 * math/libm-test.inc: Update comment listing what functions and
22498 macros are tested.
22499 (isgreater_test): New function.
22500 (isgreaterequal_test): Likewise.
22501 (isless_test): Likewise.
22502 (islessequal_test): Likewise.
22503 (islessgreater_test): Likewise.
22504 (isunordered_test): Likewise.
22505 (main): Call the new functions.
22506
273edc5e
RM
225072012-10-09 Roland McGrath <roland@hack.frob.com>
22508
b8493de0
RM
22509 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22510 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22511 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22512 * sysdeps/i386/configure: Regenerated.
22513 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22514 * sysdeps/mach/configure: Regenerated.
22515 * sysdeps/mach/hurd/configure: Regenerated.
22516 * sysdeps/powerpc/configure: Regenerated.
22517 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22518 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22519 * sysdeps/s390/s390-32/configure: Regenerated.
22520 * sysdeps/s390/s390-64/configure: Regenerated.
22521 * sysdeps/sh/configure: Regenerated.
22522 * sysdeps/sparc/configure: Regenerated.
22523 * sysdeps/unix/sysv/linux/configure: Regenerated.
22524 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22525 * sysdeps/x86_64/configure: Regenerated.
22526
273edc5e
RM
22527 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22528 defined. Don't check if MAP is NULL.
22529
c8450f70
JM
225302012-10-09 Joseph Myers <joseph@codesourcery.com>
22531
22532 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22533 (_G_stat64): Likewise.
22534 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22535 (_G_stat64): Likewise.
22536 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22537 instead of struct _G_stat64.
22538 * libio/fileops.c (mmap_remap_check): Likewise.
22539 (decide_maybe_mmap): Likewise.
22540 (_IO_new_file_seekoff): Likewise.
22541 (_IO_file_stat): Likewise.
22542 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22543 _G_off64_t.
22544 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22545 instead of struct _G_stat64.
22546 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22547
57e605ba
MK
225482012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22549
22550 [BZ #14602]
22551 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22552 Replace with ...
22553 (CHECK_EOL): New macro.
22554 (two_way_short_needle): Check beginning of haystack for EOL. Use
22555 CHECK_EOL.
22556 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22557 Replace with CHECK_EOL.
22558 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22559 Replace with CHECK_EOL.
22560
ef1bb361
JM
225612012-10-08 Joseph Myers <joseph@codesourcery.com>
22562
22563 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22564 type-generic.
22565 * math/libm-test.inc: Update comment listing what functions and
22566 macros are tested.
22567 (finite_test): New function.
22568 (isinf_test): Likewise.
22569 (isnan_test): Likewise.
22570 (fpclassify_test): Test subnormal input.
22571 (isfinite_test): Likewise.
22572 (isnormal_test): Likewise.
22573 (main): Call the new functions.
22574
55f11534
JN
225752012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22576
22577 [BZ #14660]
22578 * Makerules (%.dynsym): Force C locale when running
22579 $(OBJDUMP) --dynamic-syms.
22580
1ab29350
AS
225812012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22582
22583 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22584 <stdint.h>.
22585
f1ecb7ef
DM
225862012-10-06 David S. Miller <davem@davemloft.net>
22587
22588 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22589 upper 32-bits of the length value in %o2 since we use branch-on-register
22590 tests which consider the entire 64-bit register.
22591
5d41d91a
L
225922012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22593
22594 * string/test-strstr.c (check2): Add a test for page boundary.
22595
3baddb72
DM
225962012-10-05 David S. Miller <davem@davemloft.net>
22597
22598 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22599 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22600 file.
22601 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22602 sysdep_routines.
22603 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22604 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22605 and bzero when HWCAP_SPARC_CRYPTO is present.
22606
9cee5585
L
226072012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22608
d7e0dab9
L
22609 [BZ #14602]
22610 * string/test-strstr.c (check2): New function.
22611 (test_main): Call check2.
22612
03759f47
L
22613 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22614 and bug-strchr1.
22615 * string/bug-strcasestr1.c (do_test): Moved to ...
22616 * string/test-strcasestr.c (check1): Here. New function.
22617 (do_one_test): Break out result checking code into ...
22618 (check_result): This. New function.
22619 (do_one_test): Call check_result.
22620 (test_main): Call check1.
22621 * string/bug-strchr1.c (do_test): Moved to ...
22622 * string/test-strchr.c (check1): Here. New function.
22623 (do_one_test): Break out result checking code into ...
22624 (check_result): This. New function.
22625 (do_one_test): Call check_result.
22626 (test_main): Call check1.
22627 * string/bug-strstr1.c (main): Moved to ...
046f153e 22628 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22629 (do_one_test): Break out result checking code into ...
22630 (check_result): This. New function.
22631 (do_one_test): Call check_result.
22632 (test_main): Call check1.
22633 * string/bug-strcasestr1.c: Removed.
22634 * string/bug-strchr1.c: Likewise.
22635 * string/bug-strstr1.c: Likewise.
22636
53cea63e
L
22637 * elf/Makefile (dl-routines): Add hwcaps.
22638 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22639 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22640 (_dl_important_hwcaps): Moved to ...
22641 * elf/dl-hwcaps.c: Here. New file.
22642 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22643
9cee5585 22644 [BZ #14557]
bb859b06
L
22645 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22646 if IS_IN_rtld isn't defined.
22647
9cee5585
L
22648 * elf/dl-support.c (_dl_sysinfo_map): New.
22649 Include "get-dynamic-info.h" and "setup-vdso.h".
22650 (_dl_non_dynamic_init): Call setup_vdso.
22651 * elf/dynamic-link.h: Don't include <assert.h>.
22652 (elf_get_dynamic_info): Moved to ...
22653 * elf/get-dynamic-info.h: Here. New file.
22654 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22655 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22656 * elf/setup-vdso.h: Here. New file.
22657 * elf/rtld.c: Include "setup-vdso.h".
22658 (dl_main): Call setup_vdso.
22659
23c31b76
JM
226602012-10-05 Joseph Myers <joseph@codesourcery.com>
22661
28234b07
JM
22662 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22663 creal in comment listing functions tested. List finite, isinf,
22664 isnan, isless, islessequal, isgreater, isgreaterequal,
22665 islessgreater, isunordered, lgamma_r and pow10 as functions and
22666 macros not tested. Mention which functions not tested are aliases
22667 for other functions. Fix typo. Note that signs of NaNs are not
22668 tested.
22669
23c31b76
JM
22670 * scripts/config.guess: Update from config.git.
22671 * scripts/config.sub: Likewise.
22672
9043e228
RM
226732012-10-04 Roland McGrath <roland@hack.frob.com>
22674
22675 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22676 * misc/madvise.c (madvise): Renamed to __madvise.
22677 Make madvise a weak alias.
22678 * include/sys/mman.h: Declare __madvise.
22679 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22680 * sysdeps/unix/syscalls.list
22681 (madvise): Make __madvise the strong name, and madvise a weak alias.
22682 * sysdeps/unix/sysv/linux/syscalls.list
22683 (madvise, mmap): Remove redundant entries.
22684 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22685 * malloc/malloc.c (mtrim): Likewise.
22686 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22687
f57f8055
RM
226882012-10-03 Roland McGrath <roland@hack.frob.com>
22689
22690 * sysdeps/mach/hurd/dl-cache.c: File removed.
22691 * config.h.in (USE_LDCONFIG): New #undef.
22692 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22693 * configure: Regenerated.
22694 * elf/Makefile (dl-routines): Add dl-cache only under
22695 [$(use-ldconfig) = yes].
22696 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22697 cache on [USE_LDCONFIG].
22698 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22699 [USE_LDCONFIG].
22700 * elf/rtld.c (dl_main): Likewise.
22701
5bb0c10a
PT
227022012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22703
22704 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22705 _SC_LEVEL4_CACHE_LINESIZE.
22706
010188c6
RM
227072012-10-03 Roland McGrath <roland@hack.frob.com>
22708
22709 * sysdeps/unix/bsd/confstr.h: File removed.
22710
b6c5ec07
AO
227112012-10-02 Alexandre Oliva <aoliva@redhat.com>
22712
22713 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22714 sys/sdt-config.h.
22715
408223d4
RM
227162012-10-02 Roland McGrath <roland@hack.frob.com>
22717
22718 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22719 Make 'mapoff' field ElfW(Off) rather than off_t.
22720
bb9510dc
DL
227212012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22722
fc997c6e
DL
22723 * nscd/Makefile: Remove nscd-cflags and all its users.
22724 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22725 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22726
bb9510dc
DL
22727 [BZ #10631]
22728 * malloc.c (malloc_printerr): Clarify error message.
22729
05699367
L
227302012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22731
22732 [BZ #14648]
22733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22734 Set bit_FMA_Usable if FMA is supported.
22735 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22736 macro.
22737 (bit_FMA4_Usable): Updated.
22738 (index_FMA_Usable): New macro.
22739 (CPUID_FMA): Likewise
22740 (HAS_FMA): Defined with bit_FMA_Usable.
22741
51367701
RM
227422012-10-01 Roland McGrath <roland@hack.frob.com>
22743
22744 * bits/types.h (__swblk_t): Type removed.
22745 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22746 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22747 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22748 (__SWBLK_T_TYPE): Likewise.
22749 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22750 (__SWBLK_T_TYPE): Likewise.
22751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22752 (__SWBLK_T_TYPE): Likewise.
22753 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22754 (__SWBLK_T_TYPE): Likewise.
22755
4d57bf63 227562012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22757 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22758
22759 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22760 (xdr_mapname): Use YPMAXMAP as maxsize.
22761 (xdr_peername): Use YPMAXPEER as maxsize.
22762 (xdr_keydat): Use YPAXRECORD as maxsize.
22763 (xdr_valdat): Use YPMAXRECORD as maxsize.
22764
93c65d43
RM
227652012-10-01 Roland McGrath <roland@hack.frob.com>
22766
497a03d6
RM
22767 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22768
93c65d43
RM
22769 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22770 * csu/init-first.c: ... here.
22771 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22772 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22773 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22774 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22775 * sysdeps/i386/init-first.c: File removed.
22776 * sysdeps/sh/init-first.c: File removed.
22777
bec749fd
JM
227782012-10-01 Joseph Myers <joseph@codesourcery.com>
22779
22780 [BZ #14645]
22781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22782 if x * y might underflow to zero and z is zero.
22783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22784 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22785 * math/libm-test.inc (min_subnorm_value): New variable.
22786 (fma_test): Add more tests.
22787 (fma_test_towardzero): Likewise.
22788 (fma_test_downward): Likewise
22789 (fma_test_upward): Likewise.
22790 (initialize): Set min_subnorm_value.
22791
8ec5b013
JM
227922012-09-29 Joseph Myers <joseph@codesourcery.com>
22793
22794 [BZ #14638]
22795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22796 0 + 0.
22797 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22798 mode for addition resulting in exact zero.
22799 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22800 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22801 exact 0 + 0.
22802 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22803 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22804 * math/libm-test.inc (fma_test): Add more tests.
22805 (fma_test_towardzero): New function.
22806 (fma_test_downward): Likewise.
22807 (fma_test_upward): Likewise.
22808 (main): Call the new functions.
22809
b1fa802e
DM
228102012-09-28 David S. Miller <davem@davemloft.net>
22811
22812 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22813
d3b9fd9e
RM
228142012-09-28 Roland McGrath <roland@hack.frob.com>
22815
ea4d37b3
RM
22816 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22817 instead of SIGALRM.
22818
ac51c949
RM
22819 * sysdeps/gnu/_G_config.h: Moved to ...
22820 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22821 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22822 * sysdeps/generic/_G_config.h: ... here.
22823
28c195f7
RM
22824 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22825
848917f9
RM
22826 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22827
6bacf05b
RM
22828 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22829 Conditionalize target on [libnss_test1.so-version].
22830
91363dbb
RM
22831 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22832
cc87f7d8
RM
22833 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22834 (elfobjdir): Move out of conditionals.
22835
b1c608fe
RM
22836 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22837 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22838 (__nss_lookup_function): Conditionalize label remove_from_tree on
22839 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22840
1d9a6d96
DM
228412012-09-28 David S. Miller <davem@davemloft.net>
22842
22843 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22844 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22845 file.
22846 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22847 sysdep_routines.
22848 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22849 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22850 when HWCAP_SPARC_CRYPTO is present.
22851
72581615
PT
228522012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22853
22854 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22855
715a900c
JL
228562012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22857
22858 [BZ #6530]
22859 * stdio-common/vfprintf.c (process_string_arg): Revert
22860 2000-07-22 change.
22861
228622011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22863
22864 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22865 for testcase.
22866 * stdio-common/tst-sprintf.c: Include <locale.h>
22867 (main): Test sprintf's handling of incomplete multibyte
22868 characters.
22869
9bac1d86
L
228702012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22871
22872 * elf/dl-runtime.c (VERSYMIDX): Removed.
22873 * elf/dl-version.c (VERSYMIDX): Likewise.
22874 * elf/do-rel.h (VERSYMIDX): Likewise.
22875 (VALIDX): Likewise.
22876 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22877 * elf/rtld.c (VALIDX): Likewise.
22878 (ADDRIDX): Likewise.
9bac1d86
L
22879 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22880 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22881 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22882 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22883 (VALIDX): Likewise.
22884 (ADDRIDX): Likewise.
9bac1d86 22885
b31606c0
PT
228862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22887
22888 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22889
11541177
JL
228902012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22891
22892 [BZ #11438]
22893 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22894 to global scope.
22895 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22896 addresses are in the same scope as 192.0.2/24.
22897 * posix/gai.conf: Document new scope table defaults.
22898
adb26fae
SP
228992012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22900
22901 [BZ #5298]
22902 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22903 for ftell. Compute offsets from write pointers instead.
22904 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22905
4573c6b0
SP
229062012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22907
22908 [BZ #14543]
22909 * libio/Makefile (tests): New test case tst-fseek.
22910 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22911 combination works in wide mode.
22912 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22913 state when the external buffer state changes.
22914
aa9bbfe6
DM
229152012-09-27 David S. Miller <davem@davemloft.net>
22916
22917 [BZ #14376]
22918 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22919 pass reloc->r_addend in as the 'high' argument to
22920 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22921
784421e7
DM
22922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22923
c39bc8b8
PT
229242012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22925
22926 * rt/tst-aio2.c: Include <pthread.h>.
22927 * rt/tst-aio3.c: Likewise.
22928
1ccc2399
SE
229292012-09-27 Steve Ellcey <sellcey@mips.com>
22930
22931 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22932
31ed4153
L
229332012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22934
25f5f885
L
22935 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22936 contents on [SHARED].
31ed4153 22937
b7bfe116
MP
229382012-09-26 Marek Polacek <polacek@redhat.com>
22939
22940 [BZ #14530]
22941 [BZ #13741]
22942 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22943 for C++ and GCC <4.3 as well as for non GCC compilers.
22944
43c4edba
MT
229452012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22946
22947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22948
6a1bf82f
RM
229492012-09-25 Roland McGrath <roland@hack.frob.com>
22950
22951 * Makefile.in (all, install): Declare with .PHONY.
22952 Reported by Michael Hope <michael.hope@linaro.org>.
22953
8ad11b9a
TMQMF
229542012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22955
22956 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22957 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22958 system header.
22959 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22960 Likewise.
22961 (sydep_routines): Add the new and the internal functions.
22962 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22963 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22965 (GLIBC_2.17): Add the new function.
22966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22967 (GLIBC_2.17): Likewise.
22968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22969 (GLIBC_2.17): Likewise.
22970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22971 (GLIBC_2.17): Likewise.
22972 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22973
7e2fca8d
AM
229742012-09-25 Alan Modra <amodra@gmail.com>
22975
22976 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22977 Add release barrier before setting once_control to say
22978 initialisation is done. Add hints on lwarx. Use macro in
22979 place of isync.
22980 (clear_once_control): Add release barrier.
22981
b87c4b24
JM
229822012-09-25 Joseph Myers <joseph@codesourcery.com>
22983
d032e0d2
JM
22984 [BZ #13629]
22985 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22986 specially.
22987 * math/s_clog10.c (__clog10): Likewise.
22988 * math/s_clog10f.c (__clog10f): Likewise.
22989 * math/s_clog10l.c (__clog10l): Likewise.
22990 * math/s_clogf.c (__clogf): Likewise.
22991 * math/s_clogl.c (__clogl): Likewise.
22992 * math/Makefile (libm-calls): Add x2y2m1.
22993 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22994 (__x2y2m1): Likewise.
22995 (__x2y2m1l): Likewise.
22996 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22997 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22999 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23000 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23001 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23002 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23003 * sysdeps/i386/fpu/libm-test-ulps: Update.
23004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23005
b87c4b24
JM
23006 [BZ #14621]
23007 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23008 int as type of variable DEPTH.
23009 (glob): Use size_t instead of int as type of variables NEWCOUNT
23010 and OLD_PATHC.
23011
6d3bf199
LD
230122012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23013
22bf5c17
LD
23014 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23015 Add s_sincosf-sse2.
23016 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23017 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23018 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23019 macros for using routine as __sincosf_ia32.
23020 Use macro for function declaration and weak_alias.
23021 * sysdeps/i386/fpu/libm-test-ulps: Update.
23022
23023 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23025
23026 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23027 subnormal argument.
23028 * math/s_cexpf.c (__cexpf): Likewise.
23029 * math/s_csinf.c (__csinf): Likewise.
23030 * math/s_csinhf.c (__csinhf): Likewise.
23031 * math/s_ctanf.c (__ctanf): Likewise.
23032 * math/s_ctanhf.c (__ctanhf): Likewise.
23033 * math/s_ccosh.c (__ccoshf): Likewise.
23034 * math/s_cexp.c (__cexpl): Likewise.
23035 * math/s_csin.c (__csin): Likewise.
23036 * math/s_csinh.c (__csinh): Likewise.
23037 * math/s_ctan.c (__ctan): Likewise.
23038 * math/s_ctanh.c (ctanh): Likewise.
23039 * math/s_ccoshl.c (__ccoshl): Likewise.
23040 * math/s_cexpl.c (__cexpl): Likewise.
23041 * math/s_csinl.c (__csinl): Likewise.
23042 * math/s_csinhl.c (__csinhl): Likewise.
23043 * math/s_ctanl.c (__ctanl): Likewise.
23044 * math/s_ctanhl.c (__ctanhl): Likewise.
23045
203e5603
JM
230462012-09-25 Joseph Myers <joseph@codesourcery.com>
23047
23048 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23049 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23050 (_IO_off_t): Define to __off_t, not _G_off_t.
23051 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23052 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23053 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23054 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23055 type of __dummy and __dummy2 fields.
23056 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23057 (_G_ssize_t): Likewise.
23058 (_G_off_t): Likewise.
23059 (_G_pid_t): Likewise.
23060 (_G_uid_t): Likewise.
23061 (_G_wchar_t): Likewise.
23062 (_G_wint_t): Likewise.
23063 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23064 (_G_ssize_t): Likewise.
23065 (_G_off_t): Likewise.
23066 (_G_pid_t): Likewise.
23067 (_G_uid_t): Likewise.
23068 (_G_wchar_t): Likewise.
23069 (_G_wint_t): Likewise.
23070 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23071 (_G_ssize_t): Likewise.
23072 (_G_off_t): Likewise.
23073 (_G_pid_t): Likewise.
23074 (_G_uid_t): Likewise.
23075 (_G_wchar_t): Likewise.
23076 (_G_wint_t): Likewise.
23077
9fab36eb
SP
230782012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23079
23080 * malloc/arena.c: Include malloc-sysdep.h.
23081 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23082 is sufficient to shrink the heap or an unmap is needed.
23083 * sysdeps/generic/malloc-sysdep.h: New file. Define
23084 new function check_may_shrink_heap.
23085 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23086 new function check_may_shrink_heap.
23087
2b4f00d1
SP
230882012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23089
23090 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23091 comments.
23092
9a9028b1
DL
230932012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23094
57c69bef
DL
23095 * catgets/test-gencat.sh: Add "set -e".
23096 * elf/tst-pathopt.sh: Likewise.
23097 * grp/tst_fgetgrent.sh: Likewise.
23098 * iconvdata/run-iconv-test.sh: Likewise.
23099 * intl/tst-gettext.sh: Likewise.
23100 * intl/tst-gettext2.sh: Likewise.
23101 * intl/tst-gettext4.sh: Likewise.
23102 * intl/tst-gettext6.sh: Likewise.
23103 * intl/tst-translit.sh: Likewise.
23104 * io/ftwtest-sh: Likewise.
23105 * libio/test-freopen.sh: Likewise.
23106 * malloc/tst-mtrace.sh: Likewise.
23107 * posix/globtest.sh: Likewise.
23108 * posix/tst-getconf.sh: Likewise.
23109 * posix/wordexp-tst.sh: Likewise.
23110 * stdio-common/tst-printf.sh: Likewise.
23111 * stdio-common/tst-unbputc.sh: Likewise.
23112 * stdlib/tst-fmtmsg.sh: Likewise.
23113 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23114 * catgets/Makefile: Do not specify -e option when running
23115 testsuite shell scripts.
23116 * elf/Makefile: Likewise.
23117 * grp/Makefile: Likewise.
23118 * iconvdata/Makefile: Likewise.
23119 * intl/Makefile: Likewise.
23120 * io/Makefile: Likewise.
23121 * libio/Makefile: Likewise.
23122 * malloc/Makefile: Likewise.
23123 * posix/Makefile: Likewise.
23124 * stdio-common/Makefile: Likewise.
23125 * stdlib/Makefile: Likewise.
23126 * sysdeps/x86_64/Makefile: Likewise.
23127
9a9028b1
DL
23128 * io/ftwtest-sh: Add copyright header.
23129 * posix/globtest.sh: Likewise.
23130 * posix/tst-getconf.sh: Likewise.
23131 * posix/wordexp-tst.sh: Likewise.
23132 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23133
ced6f16e
L
231342012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23135
94b32c39
L
23136 [BZ #13679]
23137 * Makeconfig (+link): Defined as $(+link-static) if
23138 $(build-shared) isn't yes.
23139 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23140 isn't yes.
23141 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23142
189e935b
L
23143 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23144
ced6f16e
L
23145 [BZ #14562]
23146 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23147 new chunk size with MALLOC_ALIGN_MASK.
23148
a9f8e53a
JM
231492012-09-24 Joseph Myers <joseph@codesourcery.com>
23150
23151 [BZ #5044]
23152 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23153 <rounding-mode.h>.
23154 (__printf_fphex): Determine rounding using get_rounding_mode and
23155 round_away.
23156 * stdio-common/tst-printf-round.c (struct hex_test): New
23157 structure.
23158 (hex_tests): New variable.
23159 (test_hex_in_one_mode): New function.
23160 (do_test): Also run tests for hex float output.
23161
43153109
JM
231622012-09-21 Joseph Myers <joseph@codesourcery.com>
23163
23164 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23165 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23166 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23167 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23168 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23169 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23170 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23171 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23172
8a26625d
JM
231732012-09-20 Joseph Myers <joseph@codesourcery.com>
23174
23175 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23176 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23177 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23178 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23179
f3fd569c
DL
231802012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23181
23182 [BZ #14579]
23183 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23184 mode only.
23185 * elf/tst-rtld-load-self.sh: New test.
23186 * elf/Makefile: Run it.
23187
63bbedd4
JM
231882012-09-18 Joseph Myers <joseph@codesourcery.com>
23189
23190 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23191 (tst-writev-ENV): Remove.
23192 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23193
626f8b6a
CM
231942012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23195
23196 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23197
b7aaa4d6
JM
231982012-09-17 Joseph Myers <joseph@codesourcery.com>
23199
23200 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23201 unconditional.
23202 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23203 Likewise.
23204 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23205 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23206 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23207 Likewise.
23208
65513990
L
232092012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23210
23211 [BZ #14587]
23212 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23213 * config.make.in (have-cpp-asm-debuginfo): Removed.
23214 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23215 * configure: Regenerated.
23216
784761be
JM
232172012-09-14 Joseph Myers <joseph@codesourcery.com>
23218
23219 [BZ #5044]
23220 * stdio-common/printf_fp.c: Include <stdbool.h> and
23221 <rounding-mode.h>.
23222 (___printf_fp): Determine rounding using get_rounding_mode and
23223 round_away.
23224 * stdio-common/tst-printf-round.c: New file.
23225 * stdio-common/Makefile (tests): Add tst-printf-round.
23226 (link-libm): New variable.
23227 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23228
9503345f
L
232292012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23230
23231 [BZ #14576]
23232 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23233 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23234 Likewise.
23235 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23236 Likewise.
23237
ad35fc00
JM
232382012-09-13 Joseph Myers <joseph@codesourcery.com>
23239
23240 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23241 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23242 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23243 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23244
6c9b0f68
JM
232452012-09-12 Joseph Myers <joseph@codesourcery.com>
23246
23247 [BZ #14518]
23248 * include/rounding-mode.h: New file.
23249 * sysdeps/generic/get-rounding-mode.h: Likewise.
23250 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23251 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23252 (MAX_VALUE): New macro.
23253 (MIN_VALUE): Likewise.
23254 (overflow_value): New function.
23255 (underflow_value): Likewise.
23256 (round_and_return): Use overflow_value and underflow_value to
23257 determine return values in overflow and underflow cases. Use
23258 round_away to determine rounding depending on rounding mode.
23259 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23260 determine return values in overflow and underflow cases.
23261 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23262 (struct test_results): New structure.
23263 (struct test): Use struct test_results to store expected results
23264 for all rounding modes.
23265 (TEST): Include expected results for all rounding modes.
23266 (test_in_one_mode): New function.
23267 (do_test): Use test_in_one_mode to compute and check results.
23268 Check results for all rounding modes.
23269 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23270 $(link-libm).
23271
19fcedd5
AM
232722012-12-09 Allan McRae <allan@archlinux.org>
23273
1e9d84cd 23274 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23275
8bbfd2f1
JM
232762012-09-11 Joseph Myers <joseph@codesourcery.com>
23277
23278 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23279 (_G_int32_t): Likewise.
23280 (_G_uint16_t): Likewise.
23281 (_G_uint32_t): Likewise.
23282 (_G_HAVE_BOOL): Likewise.
23283 (_G_HAVE_ATEXIT): Likewise.
23284 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23285 (_G_HAVE_IO_FILE_OPEN): Likewise.
23286 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23287 (_G_int32_t): Likewise.
23288 (_G_uint16_t): Likewise.
23289 (_G_uint32_t): Likewise.
23290 (_G_HAVE_BOOL): Likewise.
23291 (_G_HAVE_ATEXIT): Likewise.
23292 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23293 (_G_HAVE_IO_FILE_OPEN): Likewise.
23294 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23295 (_G_int32_t): Likewise.
23296 (_G_uint16_t): Likewise.
23297 (_G_uint32_t): Likewise.
23298 (_G_HAVE_BOOL): Likewise.
23299 (_G_HAVE_ATEXIT): Likewise.
23300 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23301 (_G_HAVE_IO_FILE_OPEN): Likewise.
23302
b1dc5912
L
233032012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23304
23305 * csu/libc-tls.c: Update copyright years.
23306
0e886ef9
JM
233072012-09-10 Joseph Myers <joseph@codesourcery.com>
23308
28361c5e
JM
23309 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23310 [!_G_USING_THUNKS]: Remove conditional code.
23311 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23312 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23313
0e886ef9
JM
23314 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23315 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23316 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23317 (_G_VTABLE_LABEL_PREFIX): Likewise.
23318 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23319 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23320 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23321 (_G_VTABLE_LABEL_PREFIX): Likewise.
23322 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23323 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23324 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23325 (_G_VTABLE_LABEL_PREFIX): Likewise.
23326 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23327
bcba7aa2
L
233282012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23329
23330 * libio/Makefile: Include ../Makeconfig before tests.
23331 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23332 only if $(build-shared) is yes.
23333
06585ee8
L
23334 * iconv/gconv_db.c: Update copyright years.
23335
80ccd52c
LD
233362012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23337
23338 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23339 unwind info if defined PIC. Fix special cases description.
23340 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23341
23342 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23343 DP_HI_MASK entry.
23344 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23345
691bc9c1
L
233462012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23347
3d9b46b3
L
23348 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23349
de2139a9
L
23350 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23351 is NULL.
23352
5ca78dd0
L
23353 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23354 (LDLIBS-tst-chk4): This.
23355 (LDFLAGS-tst-chk5): Renamed to ...
23356 (LDLIBS-tst-chk5): This.
23357 (LDFLAGS-tst-chk6): Renamed to ...
23358 (LDLIBS-tst-chk6): This.
23359 (LDFLAGS-tst-lfschk4): Renamed to ...
23360 (LDLIBS-tst-lfschk4): This.
23361 (LDFLAGS-tst-lfschk5): Renamed to ...
23362 (LDLIBS-tst-lfschk5): This.
23363 (LDFLAGS-tst-lfschk6): Renamed to ...
23364 (LDLIBS-tst-lfschk6): This.
23365
691bc9c1
L
23366 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23367 on $(common-objpfx)soversions.mk.
23368
65cafb1c
JM
233692012-09-07 Joseph Myers <joseph@codesourcery.com>
23370
23371 [BZ #10014]
23372 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23373 example host name.
23374
c78ab094
SP
233752012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23376
23377 * malloc/arena.c (arena_get_retry): New function that gets
23378 another arena for the caller to try its request on.
23379 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23380 current arena cannot fulfill the request.
23381 (__libc_memalign): Likewise.
23382 (__libc_memalign): Likewise.
23383 (__libc_pvalloc): Likewise.
23384 (__libc_calloc): Likewise.
23385
01f49f59
JT
233862012-09-05 John Tobey <john.tobey@gmail.com>
23387
23388 [BZ #13542]
23389 * manual/arith.texi (Operations on Complex): Fix description
23390 of carg branch cut.
23391
4c23fed5
JM
233922012-09-06 Joseph Myers <joseph@codesourcery.com>
23393
1d3c8572
JM
23394 [BZ #10014]
23395 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23396 host name.
23397
4c23fed5
JM
23398 [BZ #10038]
23399 * manual/memory.texi (Memory): Make order of menu items match
23400 order of sections.
23401
04570aaa
L
234022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23403
23404 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23405 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23406 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23407
b80af2f4
L
234082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23409
23410 * csu/libc-tls.c (static_dtv): Renamed to ...
23411 (_dl_static_dtv): This. Make it global.
23412 (_dl_initial_dtv): Removed.
23413 (__libc_setup_tls): Updated.
23414 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23415 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23416 DL_INITIAL_DTV.
23417
2abe9f15
PM
234182012-09-06 Petr Machata <pmachata@redhat.com>
23419
23420 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23421 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23422 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23423 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23424
0948c3af
L
234252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23426
23427 [BZ #14545]
23428 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23429 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23430 freeing dtv[-1].
23431
a5055ad1
L
234322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23433
23434 [BZ #14544]
23435 * Makeconfig (link-static-before-libc): Replace $(+prector)
23436 with $(+prectorT).
23437 (link-static-after-libc): Replace $(+postctor) with
23438 $(+postctorT).
23439 (link-bounded): Replace $(+prector)/$(+postctor) with
23440 $(+prectorT)/$(+postctorT).
23441 (+prectorT): New macro.
23442 (+postctorT): Likewise.
23443
ed8c2ecd
JM
234442012-09-06 Joseph Myers <joseph@codesourcery.com>
23445
23446 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23447 (round_str): Handle values above the maximum for IBM long double
23448 as inexact.
23449 * stdlib/tst-strtod-round.c (tests): Regenerated.
23450
14c996c8
AK
234512012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23452
23453 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23454 assembler flag.
23455 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23456 zarch_nohighgprs around the zarch optimized routines.
23457 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23458 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23459 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23460 for zarch.
23461
430d6ce6
DM
234622012-09-05 David S. Miller <davem@davemloft.net>
23463
23464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23465
ff04dda4
DM
23466 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23467 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23468 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23469 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23470 entries.
23471
24d4e01b
AO
234722012-09-05 Alexandre Oliva <aoliva@redhat.com>
23473
23474 * malloc/arena.c: Fold copyright years.
23475 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23476
61d58174
AO
234772012-09-05 Alexandre Oliva <aoliva@redhat.com>
23478
23479 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23480
20196a5e
AO
234812012-09-05 Alexandre Oliva <aoliva@redhat.com>
23482
23483 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23484
5c447383
AO
234852012-09-05 Alexandre Oliva <aoliva@redhat.com>
23486
23487 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23488 change internal state upon failure.
23489
fad64255
AO
234902012-09-05 Alexandre Oliva <aoliva@redhat.com>
23491
23492 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23493 * malloc/memusage.c (mmap): Likewise.
23494 (mmap64, mremap): Likewise. Adjust name in comment.
23495
1ffb8c90
SP
234962012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23497
23498 * libio/fileops.c: Fix typos in comments.
23499 * libio/oldfileops.c: Likewise.
23500 * libio/wfileops.c: Likewise.
23501
6ef9cc37
SP
235022012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23503
23504 [BZ #1349]
23505 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23506 (tst-malloc-usable-ENV): Set environment for test case.
23507 * malloc/hooks.c (malloc_check_get_size): New function to get
23508 requested size.
23509 * malloc/malloc.c (musable): Use malloc_check_get_size.
23510 * malloc/tst-malloc-usable.c: New test case.
23511
4d038ae3
AS
235122012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23513
23514 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23515
c4e85184
AM
235162012-09-05 Allan McRae <allan@archlinux.org>
23517
b9dafc56 23518 [BZ #13966]
c4e85184
AM
23519 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23520 determine header location.
23521 * configure: Regenerated.
23522
e1343020
AS
235232012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23524
23525 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23526 float format.
23527 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23528 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23529 format.
e1343020
AS
23530 (test): Regenerate.
23531
0a9f1987
DM
235322012-09-04 David S. Miller <davem@davemloft.net>
23533
23534 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23535 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23536 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23537
29237804
FW
235382012-09-04 Florian Weimer <fweimer@redhat.com>
23539
23540 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23541 failures.
23542
edb3cb88
FW
23543 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23544
60160d83
JM
235452012-09-04 Joseph Myers <joseph@codesourcery.com>
23546
23547 [BZ #9914]
23548 * libio/iogetdelim.c: Include <limits.h>.
23549 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23550 + len + 1 would overflow.
23551
bcd6c8dc
AJ
235522012-09-03 Andreas Jaeger <aj@suse.de>
23553
23554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23555 * sysdeps/i386/fpu/libm-test-ulps: Update.
23556
4ffffbd2
LD
235572012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23558
23559 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23560 Add s_sinf-sse2, s_conf-sse2.
23561
23562 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23563 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23564 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23565 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23566
23567 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23568 for using routine as __sinf_ia32.
23569 Use macro for function declaration and weak_alias.
23570 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23571 for using routine as __cosf_ia32.
23572 Use macro for function declaration and weak_alias.
23573
23574 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23575 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23576
23577 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23578 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23580
23581 * math/libm-test.inc (cos_test): Add more test cases.
23582 (sin_test): Likewise.
23583 (sincos_test): Likewise.
23584
511fa286
AK
235852012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23586
23587 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23588 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23589 hidden.
23590 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23591
5f30cfec
L
235922012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23593
23594 [BZ #14538]
23595 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23596 first element of the GOT.
23597 (elf_machine_load_address): Return the difference between
23598 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23599
0786794f
AM
236002012-09-01 Allan McRae <allan@archlinux.org>
23601
5f30cfec
L
23602 [BZ #13412]
23603 * configure.in (AWK): Require gawk version 3.0 or later.
23604 * configure: Regenerated.
0786794f 23605
26889eac
JM
236062012-09-01 Joseph Myers <joseph@codesourcery.com>
23607
23608 * sysdeps/unix/sysv/linux/kernel-features.h
23609 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23610 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23611 [__NR_clock_getres]: Make code unconditional.
23612 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23613 (clock_getcpuclockid): Remove code left unreachable by removal of
23614 conditionals.
23615 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23616 code unconditional.
23617 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23618 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23619 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23620 Make code unconditional.
23621 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23622 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23623 * sysdeps/unix/sysv/linux/clock_settime.c
23624 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23625 conditional code.
23626 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23627 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23628
d22e28b0
L
236292012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23630
23631 [BZ #14476]
23632 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23633 scripts/test-installation.pl.
23634
23635 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23636 and $ld_so_version if it is set.
23637
050af9c4
SP
236382012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23639
23640 [BZ #14516]
23641 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23642 failure if reading from procfs failed.
23643 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23644
ad845c0b
JM
236452012-08-27 Joseph Myers <joseph@codesourcery.com>
23646
23647 * sysdeps/unix/sysv/linux/kernel-features.h
23648 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23649 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23650 Remove conditional code.
23651 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23652 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23653 Remove conditional code.
23654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23655 * sysdeps/unix/sysv/linux/i386/fxstat.c
23656 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23657 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23658 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23659 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23661 * sysdeps/unix/sysv/linux/i386/lxstat.c
23662 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23663 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23664 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23665 Remove conditional code.
23666 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23667 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23668 Remove conditional code.
23669 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23670 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23671 <kernel-features.h>.
23672 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23673 Remove.
23674 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23675 Remove conditional code.
23676 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23677 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23678 Remove conditional.
23679
5dbf56af
MF
236802012-08-27 Mike Frysinger <vapier@gentoo.org>
23681
23682 [BZ #5400]
23683 * NEWS: Add fixed bug number.
23684
d6e70f43
JM
236852012-08-27 Joseph Myers <joseph@codesourcery.com>
23686
7efb4737
JM
23687 [BZ #14519]
23688 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23689 underflowing exponent in case of negative sign.
23690 * stdlib/tst-strtod-round-data: Add more tests.
23691 * stdlib/tst-strtod-round.c (tests): Regenerated.
23692
af92131a
JM
23693 [BZ #3479]
23694 * stdlib/strtod_l.c (NDIG): Remove.
23695 (HEXNDIG): Likewise.
23696 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23697 smallest representable value.
23698 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23699 lie within an exact representation of 1/2 ulp of the result.
23700 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23701 unconditionally.
23702 (TENS_P9_IDX): Define unconditionally.
23703 (TENS_P9_SIZE): Likewise.
23704 (TENS_P10_IDX): Likewise.
23705 (TENS_P10_SIZE): Likewise.
23706 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23707 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23708 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23709 entries for 10^2^13 and 10^2^14.
23710 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23711 (TENS_P13_IDX): Define.
23712 (TENS_P13_SIZE): Likewise.
23713 (TENS_P14_IDX): Likewise.
23714 (TENS_P14_SIZE): Likewise.
23715 (_fpioconst_pow10): Change array size to
23716 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23717 unconditional.
23718 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23719 1024]: Add entries for 10^2^13 and 10^2^14.
23720 [LAST_POW10 > _LAST_POW10]: Remove #error.
23721 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23722 (_fpioconst_pow10): Change array size to
23723 FPIOCONST_POW10_ARRAY_SIZE.
23724 * stdlib/gen-fpioconst.c: New file.
23725 * stdlib/gen-tst-strtod-round.c: Likewise.
23726 * stdlib/tst-strtod-round-data: Likewise.
23727 * stdlib/tst-strtod-round.c: Likewise.
23728 * stdlib/Makefile (tests): Add tst-strtod-round.
23729
d6e70f43
JM
23730 [BZ #14459]
23731 * stdlib/strtod_l.c: Include <stdint.h>.
23732 (NDEBUG): Do not define.
23733 (round_and_return): Change EXPONENT parameter to type intmax_t.
23734 Rearrange calculations to avoid internal overflow possibilities.
23735 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23736 Rearrange calculations to avoid internal overflow possibilities.
23737 Assert that number fits inside MPNSIZE limbs.
23738 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23739 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23740 calculations and add assertions to avoid internal overflow
23741 possibilities. Add casts to avoid signed/unsigned operations.
23742 * stdlib/tst-strtod-overflow.c: New file.
23743 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23744
1f529f7d
MP
237452012-08-25 Marek Polacek <polacek@redhat.com>
23746
23747 * time/time.h: Fix some typos in comments.
23748
59a629f1
RM
237492012-08-23 Roland McGrath <roland@hack.frob.com>
23750
23751 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23752 * posix/tst-rfc3484-2.c: Likewise.
23753 * posix/tst-rfc3484-3.c: Likewise.
23754
d3bafbc9
SM
237552012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23756
23757 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23758 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23759
4efcc022
JM
237602012-08-23 Joseph Myers <joseph@codesourcery.com>
23761
23762 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23763 #include of fxstatat64.c.
23764
3cc3ef96
RM
237652012-08-22 Roland McGrath <roland@hack.frob.com>
23766
f04e2132
RM
23767 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23768 * shadow/getspent_r.c: Likewise.
23769 * shadow/getspnam.c: Likewise.
23770 * shadow/getspnam_r.c: Likewise.
23771 * gshadow/getsgent.c: Likewise.
23772 * gshadow/getsgent_r.c: Likewise.
23773 * gshadow/getsgnam.c: Likewise.
23774 * gshadow/getsgnam_r.c: Likewise.
23775 * inet/getnetbyad.c: Likewise.
23776 * inet/getnetbyad_r.c: Likewise.
23777 * inet/getnetbynm.c: Likewise.
23778 * inet/getnetbynm_r.c: Likewise.
23779 * inet/getnetent.c: Likewise.
23780 * inet/getnetent_r.c: Likewise.
23781 * inet/getproto.c: Likewise.
23782 * inet/getproto_r.c: Likewise.
23783 * inet/getprtent.c: Likewise.
23784 * inet/getprtent_r.c: Likewise.
23785 * inet/getprtname.c: Likewise.
23786 * inet/getprtname_r.c: Likewise.
23787 * inet/getrpcbyname.c: Likewise.
23788 * inet/getrpcbyname_r.c: Likewise.
23789 * inet/getrpcbynumber.c: Likewise.
23790 * inet/getrpcbynumber_r.c: Likewise.
23791 * inet/getrpcent.c: Likewise.
23792 * inet/getrpcent_r.c: Likewise.
23793 * inet/getaliasent.c: Likewise.
23794 * inet/getaliasent_r.c: Likewise.
23795 * inet/getaliasname.c: Likewise.
23796 * inet/getaliasname_r.c: Likewise.
23797 * nscd/getgrgid_r.c: Likewise.
23798 * nscd/getgrnam_r.c: Likewise.
23799 * nscd/gethstbyad_r.c: Likewise.
23800 * nscd/gethstbynm3_r.c: Likewise.
23801 * nscd/getpwnam_r.c: Likewise.
23802 * nscd/getpwuid_r.c: Likewise.
23803 * nscd/getsrvbynm_r.c: Likewise.
23804 * nscd/getsrvbypt_r.c: Likewise.
23805 * nscd/gai.c: Likewise.
23806
c53d909c
RM
23807 * configure.in (build_nscd): New substituted variable, set
23808 by --disable-build-nscd and defaults to $use_nscd.
23809 * configure: Regenerated.
23810 * config.make.in (build-nscd): New substituted variable.
23811 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23812 Change conditional to require [$(build-nscd) = yes] as well.
23813 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23814
3cc3ef96
RM
23815 [BZ# 13696]
23816 * configure.in (use_nscd): New substituted variable, set by
23817 --disable-nscd. If enabled, define USE_NSCD.
23818 * configure: Regenerated.
23819 * config.h.in: Add USE_NSCD.
23820 * config.make.in (use-nscd): New substituted variable.
23821 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23822 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23823 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23824 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23825 (CFLAGS-getgrnam_r.c): Likewise.
23826 (CFLAGS-initgroups.c): Likewise.
23827 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23828 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23829 Variables removed.
23830 * inet/getnetgrent_r.c
23831 (nscd_setnetgrent): New function, broken out of ...
23832 (setnetgrent): ... here. Call it.
23833 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23834 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23835 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23836 * nscd/Makefile (routines, aux): Move definitions after include of
23837 Makeconfig. Conditionalize on [$(use-nscd) != no].
23838 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23839 Conditionalize on [USE_NSCD].
23840 (is_nscd, nscd_init_cb): Likewise.
23841 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23842 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23843 * nss/nss_db/db-init.c: Likewise.
23844 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23845 [USE_NSCD].
23846 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23847 (make_request): Use it.
23848 (cache_valid_p): New function.
23849 (__check_pf): Use it.
23850 * NEWS: Add item for --disable-nscd.
23851
07e51550
DL
238522012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23853
23854 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23855 to support sed >= 4.2.1-20-ga9bf076.
23856 * configure: Regenerated.
23857
35a5b08b
RM
238582012-08-22 Roland McGrath <roland@hack.frob.com>
23859
23860 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23861 Conditionalize whole body on [IREL].
23862
8479f23a
JL
238632012-08-22 Jeff Law <law@redhat.com>
23864
23865 [BZ #14505]
23866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23867 if the family is PF_UNSPEC.
23868
48da0b21
MF
238692012-08-22 Mike Frysinger <vapier@gentoo.org>
23870
23871 * Makerules (lib-version): Rename from V.
23872 (install-lib-nosubdir): Change V to lib-version.
23873
15d0da8c
WS
238742012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23875
23876 [BZ #14252]
23877 * powerpc32/power6/wcschr.c: New file.
23878 * powerpc32/power6/wcscpy.c: New file.
23879 * powerpc32/power6/wcsrchr.c: New file.
23880 * powerpc64/power6/wcschr.c: New file.
23881 * powerpc64/power6/wcscpy.c: New file.
23882 * powerpc64/power6/wcsrchr.c: New file.
23883
bcca0895
MK
238842012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23885
23886 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23887 (two_way_short_needle): Use it.
5a4aaa33
RM
23888 * string/strstr.c (AVAILABLE1_USES_J): Define.
23889 * string/strcasestr.c: Likewise.
99677e57
MK
23890
23891 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23892 array references.
23893 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23894
400726de
MK
23895 [BZ #11607]
23896 * NEWS: Add an entry.
23897 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23898 define their defaults.
23899 (two_way_short_needle): Detect end-of-string on-the-fly.
23900 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23901 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23902 * string/bug-strcasestr1.c: New test.
23903 * string/Makefile: Run it.
23904
20a71f2c
MK
239052012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23906
23907 [BZ #11607]
23908 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23909 the first character.
23910
21ad0558
RM
239112012-08-21 Roland McGrath <roland@hack.frob.com>
23912
23913 * csu/elf-init.c (__libc_csu_irel): Function removed.
23914 * csu/libc-start.c (apply_irel): New function.
23915 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23916
0e1d9911
JM
239172012-08-21 Joseph Myers <joseph@codesourcery.com>
23918
23919 * sysdeps/unix/sysv/linux/kernel-features.h
23920 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23921 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23922 <kernel-features.h>.
23923 [__NR_fadvise64_64]: Make code unconditional.
23924 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23925 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23926 !__NR_fadvise64_64)]: Likewise.
23927 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23928 !__NR_fadvise64_64))]: Likewise.
23929 [__NR_fadvise64]: Make code unconditional.
23930 [!__NR_fadvise64]: Remove conditional code.
23931 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23932 <kernel-features.h>.
23933 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23934 unconditional.
23935 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23936 conditional code.
23937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23938 not include <kernel-features.h>.
23939 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23940 unconditional.
23941 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23942 conditional code.
23943 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23944 include <kernel-features.h>.
23945 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23946 unconditional.
23947 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23948 conditional code.
23949
14a50c9d
WS
239502012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23951
23952 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23953 slight instruction rearrangements per scrollpipe analysis.
23954 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23955
c0f4faf0
RM
239562012-08-20 Roland McGrath <roland@hack.frob.com>
23957
696da859
RM
23958 * manual/syslog.texi (syslog; vsyslog, closelog):
23959 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23960 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23961
c0f4faf0
RM
23962 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23963 DSOCAPS to match condition on defining it.
23964
348363b2
JM
239652012-08-20 Joseph Myers <joseph@codesourcery.com>
23966
a35cbf28
JM
23967 * sysdeps/unix/sysv/linux/kernel-features.h
23968 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23970 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23971 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23973 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23974 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23976 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23977 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23978
445f7ecd
JM
23979 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23980 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23981
348363b2
JM
23982 * sysdeps/unix/sysv/linux/kernel-features.h
23983 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23984 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23985 unconditional.
23986 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23987 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23988 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23989 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23990 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23991 Make code unconditional.
23992 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23993 (__mmap64) [!__NR_mmap2]: Likewise.
23994 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23995 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23996 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23997 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23998 [__NR_mmap2]: Make code unconditional.
23999 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24000 (__mmap64) [!__NR_mmap2]: Likewise.
24001
bc5bc0e5
AK
240022012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24003
24004 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24005
88d506de
AJ
240062012-08-18 Andreas Jaeger <aj@suse.de>
24007
24008 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24009
493387d2
MF
240102012-08-18 Mike Frysinger <vapier@gentoo.org>
24011
24012 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24013 * include/unistd.h (__have_sock_cloexec): Likewise.
24014 (__have_pipe2): Likewise.
24015 (__have_dup3): Likewise.
24016
a277af22
MF
240172012-08-18 Mike Frysinger <vapier@gentoo.org>
24018
24019 [BZ #9685]
24020 * include/unistd.h (__have_pipe2): Change define into an extern int.
24021 (__have_dup3): Likewise.
24022 * socket/have_sock_cloexec.c: Include fcntl.h.
24023 (__have_pipe2): New variable.
24024 (__have_dup3): Likewise.
24025
fdab8fd3
MF
240262012-08-17 Mike Frysinger <vapier@gentoo.org>
24027
24028 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24029
31035e80
MP
240302012-08-17 Marek Polacek <polacek@redhat.com>
24031
24032 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24033 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24034
3bd9e993
RM
240352012-08-17 Roland McGrath <roland@hack.frob.com>
24036
c91c505f
RM
24037 * configure.in: Add AC_SUBST for sysheaders.
24038 * configure: Regenerated.
24039 * config.make.in (sysheaders): New substituted variable.
24040
7c6f9d53
RM
24041 * sysdeps/unix/mkfifo.c: Moved ...
24042 * sysdeps/posix/mkfifo.c: ... here.
24043 * sysdeps/unix/mkfifoat.c: Moved ...
24044 * sysdeps/posix/mkfifoat.c: ... here.
24045
24046 * sysdeps/unix/utime.c: Moved ...
24047 * sysdeps/posix/utime.c: ... here.
24048
24049 * sysdeps/unix/time.c: Moved ...
24050 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24051 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24052 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24053
24054 * sysdeps/unix/nice.c: Moved ...
24055 * sysdeps/posix/nice.c: ... here.
24056
24057 * sysdeps/unix/alarm.c: Moved ...
24058 * sysdeps/posix/alarm.c: ... here.
24059
3bd9e993
RM
24060 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24061
d1f09384
JL
240622012-08-17 Jeff Law <law@redhat.com>
24063
24064 * intl/Makefile (codeset_mo): New variable.
24065 ($(codeset_mo)): New target.
24066 (tst-codeset.out): Depend on that. Remove explicit rule.
24067 (tst-gettext3.out, tst-gettext5.out): Likewise.
24068 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24069 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24070 * intl/tst-codeset.sh: Remove.
24071 * intl/tst-gettext3.sh: Likewise.
24072 * intl/tst-gettext5.sh: Likewise.
24073
2ae1ae5c
RM
240742012-08-17 Roland McGrath <roland@hack.frob.com>
24075
c31fdb83
RM
24076 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24077 * sysdeps/unix/syscalls.list: ... here.
24078
a0844057
RM
24079 * sysdeps/posix/getaddrinfo.c
24080 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24081 (gaiconf_init, gaiconf_reload): Use them.
24082 [!_STATBUF_ST_NSEC]
24083 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24084 Define using time_t rather than struct timespec.
24085
750c1f2a
RM
24086 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24087 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24088 Macros removed.
24089 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24090 [!NO_THREADS].
24091 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24092 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24093 Likewise.
24094
2ae1ae5c
RM
24095 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24096 __libc_cleanup_push argument.
24097
e66a42f5
RM
24098 * bits/param.h: New file.
24099 * misc/sys/param.h: New file.
24100 * include/sys/param.h: New file.
24101 * misc/Makefile (headers): Add bits/param.h.
24102 * sysdeps/generic/sys/param.h: File removed.
24103 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24104 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24105 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24106 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24107
b7c08a66
RM
24108 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24109 last change.
24110
b2e1c562
RM
24111 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24112 [_IO_MTSAFE_IO].
24113 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24114 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24115 New macros.
24116
c75ccd4c
RM
24117 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24118 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24119 rather than -D_IO_MTSAFE_IO conditionally.
24120 * stdio-common/Makefile (CPPFLAGS): Likewise.
24121 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24122 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24123 Use $(libio-mtsafe).
24124 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24125 of -D_IO_MTSAFE_IO.
24126 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24127 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24128 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24129 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24130 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24131 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24132 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24133 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24134 (CFLAGS-fread_u_chk.c): Likewise.
24135 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24136 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24137 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24138 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24139 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24140 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24141 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24142 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24143 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24144
24145 * libio/Makefile: Test [$(libc-reentrant) = yes]
24146 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24147
24148 * Makeconfig
24149 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24150 * sysdeps/pthread/configure: File removed.
24151 * sysdeps/pthread/Makeconfig: New file.
24152 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24153 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24154
d9195db8
GB
241552012-08-16 Gary Benson <gbenson@redhat.com>
24156
24157 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24158 unmapping the first object in a namespace.
24159
86466cd9
RM
241602012-08-16 Roland McGrath <roland@hack.frob.com>
24161
24162 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24163 (__internal_setnetgrent): ... this. Add internal_function to
24164 definition. Add libc_hidden_def.
24165 (setnetgrent): Update caller.
24166 (internal_endnetgrent): Renamed to ...
24167 (__internal_endnetgrent): ... this. Add internal_function to
24168 definition. Add libc_hidden_def.
24169 (endnetgrent): Update caller.
24170 (internal_getnetgrent_r): Renamed to ...
24171 (__internal_getnetgrent_r): ... this. Add internal_function to
24172 definition. Add libc_hidden_def.
24173 (__getnetgrent_r): Update caller.
24174 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24175
c3c8283c
JM
241762012-08-16 Joseph Myers <joseph@codesourcery.com>
24177
24178 * stdlib/longlong.h: Update from GCC.
24179
db1ee0a8
RM
241802012-08-16 Roland McGrath <roland@hack.frob.com>
24181
24182 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24183 on _QL, which is set by umul_ppmm but never used.
24184 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24185 variables, which are set by GMP macros but never used.
24186 * stdio-common/_itowa.c (_itowa): Likewise.
24187 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24188 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24189
30f69637
CD
241902012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24191
24192 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24193 struct La_sh_regs is not constant.
24194 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24195 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24196 and struct La_sparc64_regs are not constant.
24197
93a78ac4
JM
241982012-08-16 Joseph Myers <joseph@codesourcery.com>
24199
24200 * sysdeps/unix/sysv/linux/kernel-features.h
24201 (__ASSUME_POSIX_TIMERS): Remove.
24202 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24203 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24204 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24205 Make code unconditional.
24206 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24207 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24208 Make code unconditional.
24209 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24210 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24211 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24212 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24213 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24214 Make code unconditional.
24215 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24216 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24217 (__libc_missing_posix_timers): Remove.
24218
dd924cd7
RM
242192012-08-15 Roland McGrath <roland@hack.frob.com>
24220
4b4f2771
RM
24221 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24222 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24223
601c888b
RM
24224 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24225
176790a7
RM
24226 * elf/dl-sym.c: Include <stdlib.h>.
24227
329bc018
RM
24228 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24229 constants, which avoids warnings in 32-bit builds.
24230
e04e272d
RM
24231 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24232 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24233
952bf94a
RM
24234 * misc/lseek.c: File moved to ...
24235 * io/lseek.c: ... here.
24236
7c99b50a
RM
24237 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24238
dd924cd7
RM
24239 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24240 shifting LEN more than 31 bits at once.
24241
b3f479a8
LD
242422012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24243
24244 [BZ #14195]
8c4ae0d4
RM
24245 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24246 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24247 * string/test-strncasecmp.c (check1): Renamed to...
24248 (bz12205): ...this.
24249 (bz14195): Add new testcase for two empty input strings and N > 0.
24250 (test_main): Call new testcase, adapt for renamed function.
24251
9c55864e
AJ
242522012-08-15 Andreas Jaeger <aj@suse.de>
24253
24254 [BZ #14090]
24255 * crypt/md5test2.c: New test, based on test supplied by Serge
24256 Belyshev <belyshev@depni.sinp.msu.ru>.
24257 * crypt/Makefile (xtests): Add md5test-giant..
24258 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24259
02dcb6c5
PE
242602012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24261
24262 [BZ #14090]
24263 * crypt/md5.c (md5_process_block): Don't assume the buffer
24264 length is less than 2**32.
24265 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24266 length is less than 2**64.
24267
a3f95dcc
RM
242682012-08-15 Roland McGrath <roland@hack.frob.com>
24269
be75d758
RM
24270 * string/str-two-way.h: Include <sys/param.h>.
24271 (MAX): Macro removed.
24272
7312ca90
RM
24273 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24274 Move #define and #undef of memmove to just before and after
24275 including <string.h>.
24276
9a0a5486
RM
24277 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24278 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24279 and after including <string.h>. Move declarations of
24280 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24281 to before #include "string/memmove.c".
24282
67cc348d
RM
24283 * include/dirent.h: Declare __getdirentries.
24284
a3f95dcc
RM
24285 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24286 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24287
ca98e171
MF
242882012-08-14 Mike Frysinger <vapier@gentoo.org>
24289
24290 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24291 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24292 * sysdeps/i386/configure: Regenerated.
24293 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24294 STABS_CURRENT_FILE, and STABS_FUN.
24295 (END): Remove call to STABS_FUN_END.
24296 (STABS_CURRENT_FILE1): Delete.
24297 (STABS_CURRENT_FILE): Likewise.
24298 (STABS_FUN): Likewise.
24299 (STABS_FUN_END): Likewise.
24300 (STABS_FUN2): Likewise.
24301 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24302 * sysdeps/x86_64/configure: Regenerated.
24303
5908bf46
RM
243042012-08-14 Roland McGrath <roland@hack.frob.com>
24305
24306 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24307 * elf/dl-lookup.c: Likewise.
5908bf46 24308
f2c05b9e
JM
243092012-08-14 Joseph Myers <joseph@codesourcery.com>
24310
24311 * sysdeps/unix/sysv/linux/kernel-features.h
24312 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24313 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24314 unconditionally.
24315 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24316 unconditionally.
24317 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24318 condition on __ASSUME_CLONE_THREAD_FLAGS.
24319
e11f5155
AJ
243202012-08-14 Andreas Jaeger <aj@suse.de>
24321
24322 * sysdeps/i386/fpu/libm-test-ulps: Update.
24323
51a9ba86
MK
243242012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24325
2fdd4f78
AJ
24326 * include/atomic.h (atomic_exchange_and_add): Split into ...
24327 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24328 New atomic macros.
51a9ba86 24329
ba6cba9e
MT
243302012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24331
24332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24333
42443a47
JL
243342012-08-13 Jeff Law <law@redhat.com>
24335
24336 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24337 null byte in the output string.
24338
121dce05
JM
243392012-08-10 Joseph Myers <joseph@codesourcery.com>
24340
24341 * sysdeps/unix/sysv/linux/kernel-features.h
24342 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24343 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24344 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24345 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24346 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24347 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24348 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24349
bf51f568
JL
243502012-08-09 Jeff Law <law@redhat.com>
24351
24352 [BZ #13939]
24353 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24354 When avoid_arena is set, don't retry in the that arena. Pick the
24355 next one, whatever it might be.
24356 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24357 (arena_lock): Pass in new parameter to arena_get2.
24358 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24359 arena_get2.
24360 (__libc_malloc): Unify retrying after main arena failure with
24361 __libc_memalign version.
24362 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24363
f85fa270
L
243642012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24365
24366 [BZ #14166]
24367 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24368 to __redirect_strstr.
24369 (__strstr_sse42): Use typeof __redirect_strstr.
24370 (__strstr_ia32): Likewise.
24371 (__libc_strstr): New prototype.
24372 (strstr): Renamed to ...
24373 (__libc_strstr): This.
24374 (strstr): New strong alias of __libc_strstr.
24375 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24376 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24377 __redirect_time.
24378 Include <time.h>.
24379 (__libc_time): New prototype.
24380 (time_ifunc): Replace time with __libc_time.
24381 (time): New strong alias and hidden definition of __libc_time.
24382 (__GI_time): Remove strong alias.
24383 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24384 Include <stddef.h>.
24385 (memmove): Redefined to __redirect_memmove.
24386 (__memmove_sse2): Use typeof __redirect_memmove.
24387 (__memmove_ssse3): Likewise.
24388 (__memmove_ssse3_back): Likewise.
24389 (__libc_memmove): New prototype.
24390 (memmove): Renamed to ...
24391 (__libc_memmove): This.
24392 (memmove): New strong alias of __libc_memmove.
24393
33b4a91e
MS
243942012-08-08 Mark Salter <msalter@redhat.com>
24395
24396 * elf/elf.h
24397 (R_MN10300_TLS_GD): Define.
24398 (R_MN10300_TLS_LD): Likewise.
24399 (R_MN10300_TLS_LDO): Likewise.
24400 (R_MN10300_TLS_GOTIE): Likewise.
24401 (R_MN10300_TLS_IE): Likewise.
24402 (R_MN10300_TLS_LE): Likewise.
24403 (R_MN10300_TLS_DTPMOD): Likewise.
24404 (R_MN10300_TLS_DTPOFF): Likewise.
24405 (R_MN10300_TLS_TPOFF): Likewise.
24406 (R_MN10300_SYM_DIFF): Likewise.
24407 (R_MN10300_ALIGN): Likewise.
24408 (R_MN10300_NUM): Update.
24409
b36137f1
JM
244102012-08-08 Joseph Myers <joseph@codesourcery.com>
24411
24412 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24413 Remove.
24414
cdd915fd
RM
244152012-08-08 Roland McGrath <roland@hack.frob.com>
24416
a2433aac
RM
24417 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24418
cdd915fd
RM
24419 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24420 sysdeps/unix -> sysdeps/posix move.
24421 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24422
bf9b740a
AM
244232012-08-07 Allan McRae <allan@archlinux.org>
24424
24425 [BZ #14303]
24426 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24427 (SUNOS_CPP): Likewise.
24428 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24429 not found.
24430 (open_input): Call CPP using execvp.
24431
93df14ee
JM
244322012-08-07 Joseph Myers <joseph@codesourcery.com>
24433
24434 * sysdeps/unix/sysv/linux/kernel-features.h
24435 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24436 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24437 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24438 (__ASSUME_WAITID_SYSCALL): Likewise.
24439 * sysdeps/unix/sysv/linux/dl-execstack.c
24440 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24441 code unconditional.
24442 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24443 conditional code.
24444 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24445 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24446 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24447 code.
24448 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24449 unconditional.
24450 [__ASSUME_WAITID_SYSCALL]: Likewise.
24451 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24452
d34689de
RM
244532012-08-07 Roland McGrath <roland@hack.frob.com>
24454
a281decc
RM
24455 * sysdeps/unix/closedir.c: Renamed to ...
24456 * sysdeps/posix/closedir.c: ... here.
24457 * sysdeps/unix/dirfd.c: Renamed to ...
24458 * sysdeps/posix/dirfd.c: ... here.
24459 * sysdeps/unix/dirstream.h: Renamed to ...
24460 * sysdeps/posix/dirstream.h: ... here.
24461 * sysdeps/unix/fdopendir.c: Renamed to ...
24462 * sysdeps/posix/fdopendir.c: ... here.
24463 * sysdeps/unix/opendir.c: Renamed to ...
24464 * sysdeps/posix/opendir.c: ... here.
24465 * sysdeps/unix/readdir.c: Renamed to ...
24466 * sysdeps/posix/readdir.c: ... here.
24467 * sysdeps/unix/readdir_r.c: Renamed to ...
24468 * sysdeps/posix/readdir_r.c: ... here.
24469 * sysdeps/unix/rewinddir.c: Renamed to ...
24470 * sysdeps/posix/rewinddir.c: ... here.
24471 * sysdeps/unix/seekdir.c: Renamed to ...
24472 * sysdeps/posix/seekdir.c: ... here.
24473 * sysdeps/unix/telldir.c: Renamed to ...
24474 * sysdeps/posix/telldir.c: ... here.
24475 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24476 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24477 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24478 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24479
22895b47
RM
24480 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24481 * bits/fcntl.h: ... here.
24482
707a53b6
RM
24483 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24484 not 0.
24485 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24486 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24487 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24488 (struct flock): Move l_start, l_len to the beginning.
24489 Use __pid_t for l_pid.
24490 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24491 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24492 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24493 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24494 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24495 [__USE_LARGEFILE64] (struct flock64): New type.
24496 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24497
f0bd3e25
RM
24498 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24499 * bits/dirent.h: ... here.
24500
d34689de
RM
24501 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24502 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24503
6dad2c06
JM
245042012-08-07 Joseph Myers <joseph@codesourcery.com>
24505
24506 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24507 Change from 2.6.0 to 2.6.16.
24508 * sysdeps/unix/sysv/linux/configure: Regenerated.
24509 * sysdeps/unix/sysv/linux/kernel-features.h
24510 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24511 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24512 version.
24513 (__ASSUME_UTIMES): Likewise.
24514 (__ASSUME_CLONE_STOPPED): Remove.
24515 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24516 architectures, not kernel version.
24517 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24518 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24519 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24520 (__ASSUME_WAITID_SYSCALL): Likewise.
24521 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24522 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24523 * README: State 2.6.16 as minimum Linux kernel version. Do not
24524 refer to older versions.
24525
03af9520
RM
245262012-08-06 Roland McGrath <roland@hack.frob.com>
24527
8e49df1d
RM
24528 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24529 Define alphasort64 as an alias.
24530 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24531 Define versionsort64 as an alias.
24532 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24533 Define scandir64 as an alias.
24534 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24535 Define scandirat64 as an alias.
24536 * dirent/alphasort64.c (alphasort64):
24537 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24538 * dirent/versionsort64.c: Likewise.
24539 * dirent/scandir64.c: Likewise.
24540 * dirent/scandirat64.c: Likewise.
24541 * sysdeps/wordsize-64/alphasort.c: File removed.
24542 * sysdeps/wordsize-64/alphasort64.c: File removed.
24543 * sysdeps/wordsize-64/scandir.c: File removed.
24544 * sysdeps/wordsize-64/scandir64.c: File removed.
24545 * sysdeps/wordsize-64/scandirat.c: File removed.
24546 * sysdeps/wordsize-64/scandirat64.c: File removed.
24547 * sysdeps/wordsize-64/versionsort.c: File removed.
24548 * sysdeps/wordsize-64/versionsort64.c: File removed.
24549 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24550 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24551 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24552 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24553 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24554 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24555 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24556 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24557
24558 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24559 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24560 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24561 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24562 [defined __arch64__ || defined __sparcv9]
24563 (__INO_T_MATCHES_INO64_T): New macro.
24564 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24565 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24566 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24567 * sysdeps/unix/sysv/linux/bits/dirent.h
24568 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24569 (_DIRENT_MATCHES_DIRENT64): New macro.
24570
03af9520
RM
24571 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24572 Define lockf64 as an alias.
24573 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24574 Define fseeko64 as an alias.
24575 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24576 Define ftello64 as an alias.
24577 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24578 Define _IO_fgetpos64 and fgetpos64 as aliases.
24579 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24580 Define _IO_fsetpos64 and fsetpos64 as aliases.
24581 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24582 Conditionalize body on this.
24583 * libio/fseeko64.c: Likewise.
24584 * libio/ftello64.c: Likewise.
24585 * libio/iofgetpos64.c: Likewise.
24586 * libio/iofsetpos64.c: Likewise.
24587 * sysdeps/wordsize-64/lockf.c: File removed.
24588 * sysdeps/wordsize-64/lockf64.c: File removed.
24589 * sysdeps/wordsize-64/fseeko.c: File removed.
24590 * sysdeps/wordsize-64/fseeko64.c: File removed.
24591 * sysdeps/wordsize-64/ftello.c: File removed.
24592 * sysdeps/wordsize-64/ftello64.c: File removed.
24593 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24594 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24595 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24596 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24597 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24598 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24599 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24600 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24601 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24602 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24603 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24604 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24605 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24606 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24607
24608 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24609 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24610 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24611 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24612 [defined __arch64__ || defined __sparcv9]
24613 (__OFF_T_MATCHES_OFF64_T): New macro.
24614 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24615 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24616 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24617 (__OFF_T_MATCHES_OFF64_T): New macro.
24618
c5757acd
L
246192012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24620
24621 * stdlib/secure-getenv.c (__secure_getenv): Replace
24622 GLIBC_2_16 with GLIBC_2_17.
24623
3a31811e
L
246242012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24625
24626 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24627 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24628
faa2bccb
DM
246292012-08-03 David S. Miller <davem@davemloft.net>
24630
24631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24632
85fe1997
JM
246332012-08-03 Joseph Myers <joseph@codesourcery.com>
24634
24635 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24636 Remove.
24637 (__ASSUME_CORRECT_SI_PID): Likewise.
24638 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24639 (__ASSUME_TMPFS_NAME): Likewise.
24640 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24641 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24642 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24643 (HAVE_AUX_SECURE): Make definition unconditional.
24644 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24645 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24646
4f75b7a0
RM
246472012-08-03 Roland McGrath <roland@hack.frob.com>
24648
24649 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24650 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24651 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24652 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24653 __eloop_threshold instead of SYMLOOP_MAX.
24654
24655 * sysdeps/generic/eloop-threshold.h: New file.
24656 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24657 of MAXSYMLINKS.
24658 * elf/chroot_canon.c (chroot_canon): Likewise.
24659
7aab07e4
JM
246602012-08-03 Joseph Myers <joseph@codesourcery.com>
24661
24662 [BZ #13717]
24663 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24664 Change to 2.6.0 everywhere.
24665 * sysdeps/unix/sysv/linux/configure: Regenerated.
24666 * sysdeps/unix/sysv/linux/kernel-features.h
24667 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24668 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24669 kernel versions.
24670 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24671 (__ASSUME_FUTEX_REQUEUE): Remove.
24672 (__ASSUME_STATFS64): Define unconditionally.
24673 (__ASSUME_AT_SECURE): Likewise.
24674 (__ASSUME_CORRECT_SI_PID): Likewise.
24675 (__ASSUME_TGKILL): Define without depending on kernel version for
24676 i386.
24677 (__ASSUME_UTIMES): Likewise.
24678 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24679 kernel version.
24680 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24681 (__ASSUME_TMPFS_NAME): Likewise.
24682 * README: Update reference to Linux kernel versions.
24683
b67e9372
MP
246842012-08-02 Marek Polacek <polacek@redhat.com>
24685
1f529f7d 24686 [BZ# 14150]
b67e9372
MP
24687 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24688 libc_cv_asm_type_prefix with %.
24689 * configure: Regenerated.
d2441631
RM
24690 * include/libc-symbols.h: Remove comment about
24691 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24692 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24693 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24694 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24695 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24696 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24697 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24698 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24699 * elf/tst-unique2mod1.c: Likewise.
24700 * elf/tst-unique1mod2.c: Likewise.
24701 * elf/tst-unique1mod1.c: Likewise.
24702 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24703 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24704 Replace ASM_TYPE_DIRECTIVE with .type.
24705 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24706 * sysdeps/i386/sysdep.h: Likewise.
24707 * sysdeps/x86_64/sysdep.h: Likewise.
24708 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24710 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24711 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24712 * sysdeps/powerpc/powerpc32/sysdep.h:
24713 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24714 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24715 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24716 * sysdeps/i386/fpu/e_powf.S: Likewise.
24717 * sysdeps/i386/fpu/e_expl.S: Likewise.
24718 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24719 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24720 * sysdeps/i386/fpu/e_pow.S: Likewise.
24721 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24722 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24723 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24724 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24725 * sysdeps/i386/fpu/e_log2.S: Likewise.
24726 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24727 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24728 * sysdeps/i386/fpu/e_powl.S: Likewise.
24729 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24730 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24731 * sysdeps/i386/fpu/e_logl.S: Likewise.
24732 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24733 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24734 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24735 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24736 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24737 * sysdeps/i386/fpu/e_log.S: Likewise.
24738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24739 * sysdeps/i386/fpu/e_logf.S: Likewise.
24740 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24741 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24742 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24743 * sysdeps/i386/fpu/e_log10.S: Likewise.
24744 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24745 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24746 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24747 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24748 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24749 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24750 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24751 * sysdeps/i386/i686/strtok.S: Likewise.
24752 * sysdeps/i386/i386-mcount.S: Likewise.
24753 * sysdeps/i386/strtok.S: Likewise.
24754 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24755 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24756 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24757 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24758 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24759 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24760 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24761 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24762 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24763 * sysdeps/x86_64/_mcount.S: Likewise.
24764 * sysdeps/x86_64/strtok.S: Likewise.
24765 * sysdeps/sh/_mcount.S: Likewise.
24766
2747bf9a
RM
247672012-08-01 Roland McGrath <roland@hack.frob.com>
24768
24769 * libio/iofopen.c: Include <fcntl.h>.
24770 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24771 (_IO_fopen64, fopen64): Define as aliases.
24772 * libio/iofopen64.c: Include <fcntl.h>.
24773 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24774 Conditionalize body on this.
24775 * sysdeps/wordsize-64/iofopen.c: File removed.
24776 * sysdeps/wordsize-64/iofopen64.c: File removed.
24777
3fb791b8
MP
247782012-08-01 Marek Polacek <polacek@redhat.com>
24779
24780 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24781 Use dlfcn directly instead of a variable.
24782 (binfmt-subdir): Do not define.
24783 (dlfcn): Likewise.
24784
a9f1039f
JM
247852012-08-01 Joseph Myers <joseph@codesourcery.com>
24786
23bddc06
JM
24787 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24788 Remove all definitions.
24789 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24790 <kernel-features.h>.
24791 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24792 (miss_F_GETOWN_EX): Remove all definitions.
24793 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24794 macro definition.
24795 [!__ASSUME_FCNTL64]: Remove conditional code.
24796 [__ASSUME_FCNTL64]: Make code unconditional.
24797 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24798 <kernel-features.h>.
24799 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24800 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24801 (lockf64) [__NR_fcntl64]: Make code unconditional.
24802 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24803
a9f1039f
JM
24804 * sysdeps/unix/sysv/linux/kernel-features.h
24805 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24806 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24807 Make code unconditional.
24808 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24809 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24811 [__NR_vfork]: Make code unconditional.
24812 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24813 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24815 [__NR_vfork]: Make code unconditional.
24816 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24817 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24818
09c0ee5f
RM
248192012-08-01 Roland McGrath <roland@hack.frob.com>
24820
48aec5b9
RM
24821 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24822 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24823
cd97c966
RM
24824 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24825 Define mkstemp64 as an alias.
3f55550c
RM
24826 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24827 Define mkstemps64 as an alias.
cd97c966
RM
24828 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24829 Define mkostemp64 as an alias.
b8625cfc
RM
24830 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24831 Define mkostemps64 as an alias.
cd97c966
RM
24832 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24833 Conditionalize body on this.
24834 * misc/mkostemp64.c: Likewise.
b8625cfc 24835 * misc/mkostemps64.c: Likewise.
3f55550c 24836 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24837 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24838 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24839 * sysdeps/wordsize-64/mkostemp.c: File removed.
24840 * sysdeps/wordsize-64/mkstemp.c: File removed.
24841 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24842 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24843 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24844 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24845
09c0ee5f
RM
24846 [BZ #14138]
24847 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24848 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24849 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24850 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24851
24852 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24853 compat_symbol macros from <shlib-compat.h> rather than the underlying
24854 default_symbol_version and symbol_version macros, so that DEFAULT
24855 lines in shlib-versions are respected.
24856 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24857
7e66ee51
FW
248582012-08-01 Florian Weimer <fweimer@redhat.com>
24859
24860 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24861 Declare with warn_unused_result.
24862 (setgid, setregid, setegid, setresgid): Likewise.
24863 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24864 Likewise.
24865 * WUR-REPORT: Remove set*id functions.
24866
d2a54255
PT
248672012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24868
24869 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24870
7ecdb005
RM
248712012-07-31 Roland McGrath <roland@hack.frob.com>
24872
b4180a5e 24873 [BZ #10191]
789bd351
RM
24874 * include/sys/socket.h (__libc_accept, __libc_accept4):
24875 Add attribute_hidden.
24876 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24877
40ce302d
RM
24878 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24879 use of PTR_MANGLE.
24880 * inet/getnetgrent_r.c (setup): Likewise.
24881
7ecdb005
RM
24882 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24883
e2eabb2c
DM
248842012-07-31 David S. Miller <davem@davemloft.net>
24885
24886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24887
d0419dbf
JM
248882012-07-31 Joseph Myers <joseph@codesourcery.com>
24889
24890 [BZ #13629]
24891 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24892 value between 1.0 and 2.0 and smaller part has absolute value less
24893 than 1.0.
24894 * math/s_clog10.c (__clog10): Likewise.
24895 * math/s_clog10f.c (__clog10f): Likewise.
24896 * math/s_clog10l.c (__clog10l): Likewise.
24897 * math/s_clogf.c (__clogf): Likewise.
24898 * math/s_clogl.c (__clogl): Likewise.
24899 * math/libm-test.inc (clog_test): Add more tests.
24900 (clog10_test): Likewise.
24901 * sysdeps/i386/fpu/libm-test-ulps: Update.
24902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24903
2bc13872
FW
249042012-07-31 Florian Weimer <fweimer@redhat.com>
24905
24906 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24907 Exit with zero in case no suitable GID is found, and write a
24908 message to standard error.
24909
bea9b193
RM
249102012-07-30 Roland McGrath <roland@hack.frob.com>
24911
24912 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24913 rather than to 1.
24914 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24915 (MAXPATHLEN): Removed.
24916 (NOGROUP, NODEV): New macros.
24917 (setbit, clrbit, isset, isclr): New macros.
24918 (howmany, roundup, powerof2): New macros.
24919 (DEV_BSIZE): New macro.
24920
24921 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24922 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24923
24924 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24925 definition on [!__NO_LONG_DOUBLE_MATH].
24926
24927 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24928 PTR_MANGLE and PTR_DEMANGLE.
24929
24930 * socket/accept4.c (accept4): Rename to __libc_accept4.
24931 Define accept4 as a weak alias.
24932
24933 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24934 on [_DIRENT_HAVE_D_TYPE].
24935 * io/ftw.c (ftw_dir): Likewise.
24936
24937 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24938
24939 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24940
24941 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24942 Use the BSD numbers rather than the arbitrary ones we had.
24943 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24944 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24945 (SIGXCPU, SIGXFSZ): New macros.
24946 (_NSIG): Now 32.
24947
24948 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24949 initializer on [_LIBC_REENTRANT].
24950
24951 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24952 definitions inside [_POSIX_MAPPED_FILES].
24953
24954 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24955
24956 * dirent/opendir.c: Include <fcntl.h>.
24957
24958 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24959 (__libc_getspecific): Likewise.
24960 (__libc_key_create): Likewise.
24961
24962 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24963 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24964 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24965 (tmpfile64): Define as alias.
24966 * sysdeps/wordsize-64/tmpfile.c: File removed.
24967 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24968 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24969 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24970
24971 * stdio-common/vfscanf.c: Include <stdbool.h>.
24972 * nss/makedb.c: Likewise.
24973 * stdio-common/_i18n_number.h: Likewise.
24974 * argp/argp-help.c: Likewise.
24975 * posix/wordexp.c: Likewise.
24976 * sysdeps/posix/spawni.c: Likewise.
24977 * nss/nss_files/files-initgroups.c: Likewise.
24978 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24979 * nss/nss_files/files-initgroups.c: Likewise.
24980 * nss/nss_db/db-netgrp.c: Likewise.
24981 * nss/nss_db/db-initgroups.c: Likewise.
24982 * io/fchmodat.c: Include <sys/stat.h>.
24983
24984 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24985 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24986
24987 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24988 [HAVE_MMAP].
24989
24990 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24991 Add multiple inclusion protection.
24992
e5abc686
DM
249932012-07-27 David S. Miller <davem@davemloft.net>
24994
24995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24996
815e6fa3
GB
249972012-07-27 Gary Benson <gbenson@redhat.com>
24998
24999 [BZ #14298]
25000 * elf/rtld.c: Include <stap-probe.h>.
25001 (dl_main): Added static probes "init_start" and "init_complete".
25002 * elf/dl-load.c: Include <stap-probe.h>.
25003 (lose): Take new parameter "nsid".
25004 Added static probe "map_failed".
25005 (_dl_map_object_from_fd): Pass namespace id to lose.
25006 Added static probe "map_start".
25007 (open_verify): Pass namespace id to lose.
25008 * elf/dl-open.c: Include <stap-probe.h>.
25009 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25010 and "reloc_complete".
25011 * elf/dl-close.c: Include <stap-probe.h>.
25012 (_dl_close_worker): Added static probes "unmap_start" and
25013 "unmap_complete".
25014 * elf/rtld-debugger-interface.txt: New file documenting the above.
25015
9f98c16c
RM
250162012-07-26 Roland McGrath <roland@hack.frob.com>
25017
25018 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25019 rather than a string variable.
25020 * sunrpc/rpc_main.c (h_output): Likewise.
25021 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25022
f3c22df3
PT
250232012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25024
25025 * inet/check_native.c: New file.
25026
3129cfc6
JM
250272012-07-26 Joseph Myers <joseph@codesourcery.com>
25028
da865e95
JM
25029 [BZ #13629]
25030 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25031 if larger part has absolute value 1.0.
25032 * math/s_clog10.c (__clog10): Likewise.
25033 * math/s_clog10f.c (__clog10f): Likewise.
25034 * math/s_clog10l.c (__clog10l): Likewise.
25035 * math/s_clogf.c (__clogf): Likewise.
25036 * math/s_clogl.c (__clogl): Likewise.
25037 * math/libm-test.inc (clog_test): Add more tests.
25038 (clog10_test): Likewise.
25039 * sysdeps/i386/fpu/libm-test-ulps: Update.
25040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25041
3129cfc6
JM
25042 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25043 (pltexit): Likewise.
25044 (La_regs): Likewise.
25045 (La_retval): Likewise.
25046 (int_retval): Likewise.
25047 Update #error for removed macros to refer only to definitions in
25048 tst-audit.h.
25049 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25050 macro.
25051 (pltexit): Likewise.
25052 (La_regs): Likewise.
25053 (La_retval): Likewise.
25054 (int_retval): Likewise.
25055 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25056 macro.
25057 (pltexit): Likewise.
25058 (La_regs): Likewise.
25059 (La_retval): Likewise.
25060 (int_retval): Likewise.
25061 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25062 macro.
25063 (pltexit): Likewise.
25064 (La_regs): Likewise.
25065 (La_retval): Likewise.
25066 (int_retval): Likewise.
25067 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25068 macro.
25069 (pltexit): Likewise.
25070 (La_regs): Likewise.
25071 (La_retval): Likewise.
25072 (int_retval): Likewise.
25073 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25074 macro.
25075 (pltexit): Likewise.
25076 (La_regs): Likewise.
25077 (La_retval): Likewise.
25078 (int_retval): Likewise.
25079 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25080 macro.
25081 (pltexit): Likewise.
25082 (La_regs): Likewise.
25083 (La_retval): Likewise.
25084 (int_retval): Likewise.
25085 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25086 macro definitions in tst-audit.h.
25087 * sysdeps/i386/tst-audit.h: New file.
25088 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25089 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25090 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25091 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25092 * sysdeps/sh/tst-audit.h: Likewise.
25093 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25094 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25095 * sysdeps/x86_64/tst-audit.h: Likewise.
25096
bfc07087
AJ
250972012-07-26 Andreas Jaeger <aj@suse.de>
25098
b1b2aaf8
AJ
25099 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25100 ptrace.
25101
25102 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25103 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25104 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25105 PTRACE_O_MASK.
25106 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25107 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25108 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25109
bfc07087
AJ
25110 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25111 value.
25112
25113 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25114 _sigsys.
25115 (si_call_addr, si_syscall, si_arch): Define new macro.
25116 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25117 _sigsys.
25118 (si_call_addr, si_syscall, si_arch): Define new marcro.
25119 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25120 _sigsys.
25121 (si_call_addr, si_syscall, si_arch): Define new macro.
25122 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25123 _sigsys.
25124 (si_call_addr, si_syscall, si_arch): Define new macro.
25125
89b4b02f
JM
251262012-07-25 Joseph Myers <joseph@codesourcery.com>
25127
25128 [BZ #13717]
25129 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25130 Change to 2.4.21 where previously 2.4.1.
25131 * sysdeps/unix/sysv/linux/configure: Regenerated.
25132 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25133 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25134 Linux kernel version.
25135 (__ASSUME_STD_AUXV): Remove.
25136 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25137 kernel version.
25138 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25139 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25140 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25141 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25142 (__ASSUME_NETLINK_SUPPORT): Likewise.
25143 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25144 (__no_netlink_support): Remove conditional definition.
25145 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25146 Remove.
25147 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25148 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25149 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25150 (if_nameindex_ioctl): Remove.
25151 (if_nameindex_netlink): Do not handle __no_netlink_support.
25152 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25153 code.
25154 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25155 Remove conditional code.
25156 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25157 code.
25158 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25159 unconditional.
25160 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25161 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25162 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25163 Remove.
25164 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25165 [!__ASSUME_STD_AUXV]: Remove conditional code.
25166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25167 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25168 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25170 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25171 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25172 code.
25173 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25175 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25176 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25177 conditional code.
25178 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25180 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25181 code.
25182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25183 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25184 conditional code.
25185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25186 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25187 code unconditional.
25188 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25189 conditional code.
25190 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25191 unconditional.
25192 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25193 conditional code.
25194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25195 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25196 unconditional.
25197 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25198 conditional code.
25199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25200 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25201 code unconditional.
25202 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25203 conditional code.
25204 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25205 unconditional.
25206 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25207 conditional code.
25208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25209 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25210 code unconditional.
25211 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25212 conditional code.
25213 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25214 unconditional.
25215 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25216 conditional code.
25217
842a39cd
AS
252182012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25219
25220 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25221 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25222 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25223 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25224 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25225 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25226 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25227 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25228 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25229 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25230 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25231 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25232 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25233 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25234 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25235 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25236 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25237 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25238 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25240 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25241 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25242 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25243
84b3fd84
FW
252442012-07-25 Florian Weimer <fweimer@redhat.com>
25245
25246 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25247 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25248 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25249 Introduce __libc_secure_getenv.
0c7936d5
FW
25250 * stdlib/Versions (2.17): Add secure_getenv
25251 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25252 * stdlib/secure-getenv.c: Rename __secure_getenv to
25253 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25254 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25255 * stdlib/tst-secure-getenv.c: New.
25256 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25257 * manual/startup.texi (Environment Access): Document
25258 secure_getenv.
84b3fd84
FW
25259 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25260 __libc_secure_getenv.
25261 * inet/ruserpass.c (ruserpass): Likewise.
25262 * malloc/mtrace.c (mtrace): Likewise.
25263 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25264 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25265 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25266 * sysdeps/posix/tempname.c: Likewise. Evaluate
25267 HAVE_SECURE_GETENV.
25268 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25269 __secure_getenv to __libc_secure_getenv.
84b3fd84 25270 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25272 Likewise.
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25274 Likewise.
25275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25277 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25282
56e49b71
JM
252832012-07-25 Joseph Myers <joseph@codesourcery.com>
25284
25285 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25286 (struct La_i86_retval): Likewise.
25287 (struct La_x86_64_regs): Likewise.
25288 (struct La_x86_64_retval): Likewise.
25289 (struct La_x32_regs): Likewise.
25290 (struct La_x32_retval): Likewise.
25291 (struct La_ppc32_regs): Likewise.
25292 (struct La_ppc32_retval): Likewise.
25293 (struct La_ppc64_regs): Likewise.
25294 (struct La_ppc64_retval): Likewise.
25295 (struct La_sh_regs): Likewise.
25296 (struct La_sh_retval): Likewise.
25297 (struct La_s390_32_regs): Likewise.
25298 (struct La_s390_32_retval): Likewise.
25299 (struct La_s390_64_regs): Likewise.
25300 (struct La_s390_64_retval): Likewise.
25301 (struct La_sparc32_regs): Likewise.
25302 (struct La_sparc32_retval): Likewise.
25303 (struct La_sparc64_regs): Likewise.
25304 (struct La_sparc64_retval): Likewise.
25305 (struct audit_ifaces): Remove architecture-specific pltenter and
25306 pltexit members.
25307 * sysdeps/i386/ldsodefs.h: New file.
25308 * sysdeps/powerpc/ldsodefs.h: Likewise.
25309 * sysdeps/s390/ldsodefs.h: Likewise.
25310 * sysdeps/sh/ldsodefs.h: Likewise.
25311 * sysdeps/sparc/ldsodefs.h: Likewise.
25312 * sysdeps/x86_64/ldsodefs.h: Likewise.
25313
354691b7
MP
253142012-07-25 Marek Polacek <polacek@redhat.com>
25315
25316 [BZ #6808]
25317 * math/libm-test.inc (yn_test): Add another test.
25318 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25319 to ERANGE when the result is +-Inf.
25320 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25321 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25322 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25323 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25324
bf9e2071
JM
253252012-07-24 Joseph Myers <joseph@codesourcery.com>
25326
25327 * conform/data/time.h-data (NULL): Use macro-constant. Require
25328 equal to 0.
25329 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25330 clock_t.
25331 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25332
57633811
TS
253332012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25334
25335 * configure.in <sysdeps resolving>: Correct printing
25336 Implies_before.
25337 * configure: Regenerate.
25338
c23c33b0
TS
253392012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25340
25341 * math/w_ilogb.c: Include <limits.h>.
25342 * math/w_ilogbl.c: Likewise.
25343
b5982523
JM
253442012-07-20 Joseph Myers <joseph@codesourcery.com>
25345
25346 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25347 va_copy. Document allowing for unavailable va_copy only as
25348 pre-C99 compatibility.
25349 * manual/string.texi (Copying and Concatenation): Use va_copy
25350 instead of __va_copy in concat example.
25351
ac4ea442
PT
253522012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25353
25354 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25355 (__sendto): Use create_address_port. Initialize APORT and deallocate
25356 it if not null.
25357
f98eafbd
PT
25358 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25359 with O_NOLINK passed to __file_name_lookup.
25360
898c7aab
PT
25361 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25362 with O_NOLINK passed to __file_name_lookup.
25363
0ced335a
PT
25364 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25365 negative N or less than NGIDS.
25366
b3404dbd
PT
25367 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25368 type to string_t. Set ERANGE as errno and return it if NAME is not big
25369 enough. Use memcpy instead of strncpy.
25370
0f48659e
JM
253712012-07-20 Joseph Myers <joseph@codesourcery.com>
25372
25373 * elf/Makefile (check-data): Remove.
25374 (localplt.data): New vpath directive.
25375 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25376 instead of $(check-data).
25377 * scripts/data/localplt-generic.data: Move to ...
25378 * sysdeps/generic/localplt.data: ... here.
25379 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25380 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25381 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25383 ... here.
25384 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25386 ... here.
25387 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25389 ... here.
25390 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25392 ... here.
25393 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25395 ... here.
25396 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25398 ... here.
25399
d37cbdaa
AZ
254002012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25401
25402 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25403 PPC32 and PPC64 files.
25404 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25405 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25406
46f85fc2
AK
254072012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25408
25409 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25410 __makecontext_ret to ...
25411 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25412 ... here and call exit if uc_link is NULL. New file.
25413 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25414 __makecontext_ret.S.
25415 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25416 __makecontext_ret to ...
25417 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25418 ... here and call exit if uc_link is NULL. New file.
25419 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25420 __makecontext_ret.S.
25421
08f43f9b
AK
254222012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25423
25424 * elf/elf.h (R_390_IRELATIVE): New definition.
25425 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25426 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25427 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25428 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25429 (elf_machine_lazy_rel): Likewise.
25430 * sysdeps/s390/dl-irel.h: New file.
25431 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25432 * sysdeps/s390/s390-64/memset.S: New asm code.
25433 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25434 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25435 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25436 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25437 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25438 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25439 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25440 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25441 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25442 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25443 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25444 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25445 * sysdeps/s390/s390-32/memset.S: New asm code.
25446 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25447
3b05db33
MP
254482012-07-17 Marek Polacek <polacek@redhat.com>
25449
25450 [BZ #14349]
25451 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25452 * sysdeps/s390/s390-64/configure.in: Likewise.
25453 * sysdeps/sparc/configure.in: Likewise.
25454 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25455 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25456 * sysdeps/i386/configure.in: Likewise.
25457 * sysdeps/x86_64/configure.in: Likewise.
25458 * sysdeps/sh/configure.in: Likewise.
25459 * sysdeps/s390/s390-32/configure: Regenerated.
25460 * sysdeps/s390/s390-64/configure: Likewise.
25461 * sysdeps/x86_64/configure: Likewise.
25462 * sysdeps/sh/configure: Likewise.
25463 * sysdeps/powerpc/powerpc64/configure: Likewise.
25464 * sysdeps/powerpc/powerpc32/configure: Likewise.
25465 * sysdeps/sparc/configure: Likwise.
25466 * sysdeps/i386/configure: Likewise.
25467
a66877c6
MP
25468 * elf/dl-open.c: Comment fixes.
25469
cfc82fd8
JM
254702012-07-17 Joseph Myers <joseph@codesourcery.com>
25471
bd29910a
JM
25472 * Makefile [CXX] (check-data): Remove.
25473 [CXX] (c++-types.data): New vpath directive.
25474 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25475 vpath. Do not allow for C++ type data being missing.
25476 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25477 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25478 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25479 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25480 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25481 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25482 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25484 ... here.
25485 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25487 ... here.
25488 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25490 ... here.
25491 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25493 ... here.
25494 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25496 ... here.
25497 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25499 ... here.
25500 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25502 ... here.
25503 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25505
cfc82fd8
JM
25506 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25507 definitions to architecture-specific files.
25508 (TLS_IE): Likewise.
25509 (TLS_LD): Likewise.
25510 (TLS_GD): Likewise.
25511 * sysdeps/i386/tls-macros.h: New file.
25512 * sysdeps/powerpc/tls-macros.h: Likewise.
25513 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25514 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25515 * sysdeps/sh/tls-macros.h: Likewise.
25516 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25517 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25518 * sysdeps/x86_64/tls-macros.h: Likewise.
25519
f7db3170
TS
255202012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25521
07cbfc23
TS
25522 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25523 zero value for regular exit case.
25524
f7db3170
TS
25525 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25526 (__start_context): Preserve zero value for regular exit case.
25527
dc97c227
TS
255282012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25529 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25530
25531 * manual/setjmp.texi (setcontext): Clarify normal process
25532 termination when uc_link is the null pointer.
25533 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25534 exit call.
25535
d0cd7d02
AS
255362012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25537
25538 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25539 preprocessor. Test for each exception mask separately.
25540
dd318934
AJ
255412012-07-16 Andreas Jaeger <aj@suse.de>
25542
25543 * po/ru.po: Update from translation team.
25544
8048311a
JM
255452012-07-15 Joseph Myers <joseph@codesourcery.com>
25546
25547 * conform/data/string.h-data (NULL): Use macro-constant. Require
25548 equal to 0.
25549 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25550 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25551 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25552 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25553 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25554
b637d46e
AJ
255552012-07-13 Andreas Jaeger <aj@suse.de>
25556
25557 * po/fr.po: Update from translation team.
25558
541428fe
MP
255592012-07-12 Marek Polacek <polacek@redhat.com>
25560
25561 [BZ #14173]
25562 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25563 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25564 loop condition.
25565
ec332e94
JM
255662012-07-12 Joseph Myers <joseph@codesourcery.com>
25567
25568 [BZ #13717]
25569 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25570 Change to 2.4.1 where previously 2.4.0.
25571 * sysdeps/unix/sysv/linux/configure: Regenerated.
25572 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25573 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25574 version.
25575 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25576 (__ASSUME_AT_CLKTCK): Remove.
25577 (__ASSUME_AT_PAGESIZE): Likewise.
25578 (__ASSUME_AT_XID): Likewise.
25579 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25580 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25581 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25582 unconditionally.
25583 (HAVE_AUX_PAGESIZE): Likewise.
25584 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25585 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25586 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25587
7b6e99be
JB
255882012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25589
25590 [BZ #14307]
25591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25592 the temporary buffer used to invoke __gethostbyname2_r,
25593 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25594 host_data / struct gaih_addrtuple.
25595 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25596 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25597 header file nss/nsswitch.h.
25598 * nss/nsswitch.h (global scope): Add definition of implementation
25599 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25600 resolv/nss_dns/dns-host.c).
25601
608404eb
AJ
256022012-07-11 Andreas Jaeger <aj@suse.de>
25603
25604 * po/fr.po: Update from translation team.
25605
71220aca
AJ
25606 * po/sv.po: Update from translation team
25607 * po/fr.po: Another update from translation team.
25608
28cfe843
AZ
256092012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25610
25611 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25612 for subnormals or multiply small sinh result by itself.
25613 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25615
6b90f981
DM
256162012-07-11 David S. Miller <davem@davemloft.net>
25617
25618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25619
c6825772
AS
256202012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25621
25622 [BZ #14347]
25623 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25624 (INTERNAL_MARK): Shift it here.
25625
7b8e0d49
MP
256262012-07-10 Marek Polacek <polacek@redhat.com>
25627
25628 [BZ #14151]
25629 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25630 libc_cv_asm_global_directive with .globl.
25631 * configure: Regenerated.
25632 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25633 with .globl.
25634 * sysdeps/i386/configure: Regenerated.
25635 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25636 with .globl.
25637 * sysdeps/x86_64/configure: Regenerated.
25638 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25639 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25640 * elf/tst-unique2mod2.c: Likewise.
25641 * elf/tst-unique2mod1.c: Likewise.
25642 * elf/tst-unique1mod2.c: Likewise.
25643 * elf/tst-unique1mod1.c: Likewise.
25644 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25645 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25646 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25647 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25648 * sysdeps/mach/sysdep.h: Likewise.
25649 * sysdeps/i386/sysdep.h: Likewise.
25650 * sysdeps/i386/i386-mcount.S: Likewise.
25651 * sysdeps/x86_64/_mcount.S: Likewise.
25652 * sysdeps/x86_64/sysdep.h: Likewise.
25653 * sysdeps/sh/_mcount.S: Likewise.
25654 * sysdeps/sh/sysdep.h: Likewise.
25655 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25656 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25657 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25658 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25659 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25660 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25661 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25662 * locale/localeinfo.h: Likewise.
25663 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25664 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25665
6c55cda3
RM
256662012-07-09 Roland McGrath <roland@hack.frob.com>
25667
25668 [BZ #14336]
25669 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25670 system".
25671 * manual/message.texi (The Uniforum approach): Likewise.
25672 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25673 (glibc iconv Implementation): Likewise.
25674
638a572e
JM
256752012-07-09 Joseph Myers <joseph@codesourcery.com>
25676
25677 [BZ #14337]
25678 * math/s_clog.c (__clog): Avoid scaling a value down where that
25679 could result in underflow.
25680 * math/s_clog10.c (__clog10): Likewise.
25681 * math/s_clog10f.c (__clog10f): Likewise.
25682 * math/s_clog10l.c (__clog10l): Likewise.
25683 * math/s_clogf.c (__clogf): Likewise.
25684 * math/s_clogl.c (__clogl): Likewise.
25685 * math/libm-test.inc (clog_test): Add more tests.
25686 (clog10_test): Likewise.
25687 * sysdeps/i386/fpu/libm-test-ulps: Update.
25688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25689
261f4859
AS
256902012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25691
0abaf3e4
AS
25692 [BZ #14283]
25693 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25694 by 7 not 8 to examine high bit of fractional part.
25695
261f4859
AS
25696 [BZ #14042]
25697 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25698 for call to __mcount_internal.
25699 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25700 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25701 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25702
f17ac40d
JM
257032012-07-06 Joseph Myers <joseph@codesourcery.com>
25704
9ad63c23
JM
25705 [BZ #14154]
25706 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25707 approximation for values within 0x1p-13f of an odd multiple of
25708 pi/4.
25709 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25710 exception. Add more tests.
25711 * sysdeps/i386/fpu/libm-test-ulps: Update.
25712
f17ac40d
JM
25713 [BZ #6778]
25714 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25715 inputs and return -1 for them. Do not check for +Inf in case not
25716 reachable for +Inf.
25717 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25718 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25719 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25720 and return -1 for them. Do not check for +Inf in case not
25721 reachable for +Inf.
25722 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25723 define.
25724 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25725 and return -1 for them. Do not check for +Inf in case not
25726 reachable for +Inf.
25727 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25728 spurious underflow.
25729 * sysdeps/i386/fpu/libm-test-ulps: Update.
25730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25731
fb21f89b
MF
257322012-07-06 Mike Frysinger <vapier@gentoo.org>
25733
25734 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25735
cdfe2c5e
JM
257362012-07-05 Joseph Myers <joseph@codesourcery.com>
25737
25738 [BZ #14157]
25739 [BZ #14331]
25740 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25741 could result in spurious underflow. Scale down values above
25742 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25743 * math/s_csqrtf.c (__csqrtf): Likewise.
25744 * math/s_csqrtl.c (__csqrtl): Likewise.
25745 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25746 spurious underflow.
25747 * sysdeps/i386/fpu/libm-test-ulps: Update.
25748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25749
70d35b67
AS
257502012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25751
704bc459
AS
25752 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25753 xopen-msg.sed.
25754 * catgets/xopen-msg.awk: New file.
25755 * catgets/xopen-msg.sed: Removed.
25756
70d35b67
AS
25757 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25758 po2text.sed.
25759 * intl/po2test.awk: New file.
25760 * intl/po2test.sed: Removed.
25761
ca61cf32
JM
257622012-07-04 Joseph Myers <joseph@codesourcery.com>
25763
25764 [BZ #14328]
25765 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25766 or multiply small sinh result by itself.
25767 * math/s_ctanf.c (__ctanf): Likewise.
25768 * math/s_ctanh.c (__ctanh): Likewise.
25769 * math/s_ctanhf.c (__ctanhf): Likewise.
25770 * math/s_ctanhl.c (__ctanhl): Likewise.
25771 * math/s_ctanl.c (__ctanl): Likewise.
25772 * math/libm-test.inc (ctan_test_tonearest): New function.
25773 (ctan_test_towardzero): Likewise.
25774 (ctan_test_downward): Likewise.
25775 (ctan_test_upward): Likewise.
25776 (ctanh_test_tonearest): Likewise.
25777 (ctanh_test_towardzero): Likewise.
25778 (ctanh_test_downward): Likewise.
25779 (ctanh_test_upward): Likewise.
25780 (main): Call these new functions.
25781 * sysdeps/i386/fpu/libm-test-ulps: Update.
25782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25783
ca48a46a
MF
257842012-07-03 Mike Frysinger <vapier@gentoo.org>
25785
25786 * .gitignore: Delete /ports entry.
25787
9d63d37d
AJ
257882012-07-03 Andreas Jaeger <aj@suse.de>
25789
25790 * po/bg.po: Update from translation team.
25791 * po/cs.po: Likewise.
25792 * po/de.po: Likewise.
25793 * po/hr.po: Likewise.
25794 * po/nl.pl: Likewise.
25795 * po/pl.po: Likewise.
25796 * po/vi.po: Likewise.
25797
370ca3d2
JM
257982012-07-03 Joseph Myers <joseph@codesourcery.com>
25799
95f5a9a8
JM
25800 * Makeconfig [!+link] (+link-before-libc): New variable.
25801 [!+link] (+link-after-libc): Likewise.
25802 [!+link] (+link-tests): Likewise.
25803 [!+link] (+link): Define in terms of $(+link-before-libc) and
25804 $(+link-after-libc).
25805 [!+link-static] (+link-static-before-libc): New variable.
25806 [!+link-static] (+link-static-after-libc): Likewise.
25807 [!+link-static] (+link-static-tests): Likewise.
25808 [!+link-static] (+link-static): Define in terms of
25809 $(+link-static-before-libc) and $(+link-static-after-libc).
25810 [build-shared] (link-libc-before-gnulib): New variable.
25811 [build-shared] (link-libc-tests): Likewise.
25812 [build-shared] (link-libc): Define in terms of
25813 $(link-libc-before-gnulib).
25814 [!build-shared] (link-libc-tests): New variable.
25815 (link-libc-static-tests): New variable.
25816 [!gnulib] (gnulib-arch): New variable.
25817 [!gnulib] (gnulib-tests): Likewise.
25818 [!gnulib] (static-gnulib-arch): Likewise.
25819 [!gnulib] (static-gnulib-tests): Likewise.
25820 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25821 Define with "=" instead of ":=".
25822 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25823 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25824 * Rules (binaries-all-notests): New variable.
25825 (binaries-all-tests): Likewise.
25826 (binaries-static-notests): Likewise.
25827 (binaries-static-tests): Likewise.
25828 (binaries-all): Define using $(binaries-all-notests) and
25829 $(binaries-all-tests).
25830 (binaries-static): Define using $(binaries-static-notests) and
25831 $(binaries-static-tests).
25832 (binaries-shared-tests): New variable.
25833 (binaries-shared-notests): Likewise.
25834 (binaries-shared): Remove variable.
25835 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25836 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25837 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25838 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25839 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25840 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25841 * elf/Makefile (sln-modules): New variable.
25842 (extra-objs): Add $(sln-modules:=.o).
25843 (ldconfig-modules): Add static-stubs.
25844 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25845 * elf/static-stubs.c: New file.
25846
7a845b2c
JM
25847 [BZ #14283]
25848 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25849 by 7 not 8 to examine high bit of fractional part. Use volatile
25850 variables when splitting into final array of floats if
25851 __FLT_EVAL_METHOD__ != 0.
25852 * math/libm-test.inc (cos_test): Add another test.
25853 (sin_test): Likewise.
25854 * sysdeps/i386/fpu/libm-test-ulps: Update.
25855
e2283f38
JM
25856 [BZ #14273]
25857 * math/libm-test.inc (cosh_test): Add more tests.
25858
370ca3d2
JM
25859 * version.h (RELEASE): Set to "development".
25860 (VERSION): Set to "2.16.90".
25861
ee9247c3
CD
258622012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25863
25864 * NEWS: Update copyright. Remove last-updated date.
25865 Mention math library bug fixes and timezone data changes.
25866 * README: Mention GNU/Hurd, x32, and HPPA support status.
25867
4648c381
TS
258682012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25869
25870 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25871
aac78a43
AJ
258722012-06-27 Andreas Jaeger <aj@suse.de>
25873
25874 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25875
ed3dbfad
AJ
258762012-06-25 Andreas Jaeger <aj@suse.de>
25877
25878 * sysdeps/s390/fpu/libm-test-ulps: Update.
25879
4d0ee855
AS
258802012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25881 Thomas Schwinge <thomas@codesourcery.com>
25882
25883 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25884 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25885 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25886 fanotify_mark.
25887
af1bce34
TS
258882012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25889
a9fa33ba
TS
25890 * sysdeps/mach/start.c: Remove file.
25891 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25892 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25893 * sysdeps/sh/init-first.c: Likewise.
25894
58f902b8
TS
25895 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25896 registers for frame unwinding purposes, add CFI directives.
25897 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25898 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25899 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25900 Likewise.
25901
1518f58b
TS
25902 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25903 __fortify_fail returning.
25904 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25905
db9b5059
TS
25906 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25907 sysdeps/sh/____longjmp_chk.S.
25908 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25909 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25910 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25911 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25912
967705fe
TS
25913 * sysdeps/sh/abort-instr.h: New file.
25914 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25915 process in case exit returns.
25916
a9def8c4
TS
25917 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25918 initialize the GOT register before use.
25919
2a649725
TS
25920 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25921 calculation of ARGC > 4.
25922
af1bce34
TS
25923 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25924 meaningful names to some local labels.
25925
d230f50a
KK
259262012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25927 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25928
25929 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25930 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25931 (__arch_compare_and_exchange_val_16_acq): Likewise.
25932 (__arch_compare_and_exchange_val_32_acq): Likewise.
25933 (atomic_exchange_and_add): Fix gUSA sequence.
25934 (atomic_add): Likewise.
25935 (atomic_add_negative): Likewise.
25936 (atomic_add_zero): Likewise.
25937 (atomic_bit_test_set): Likewise.
25938
0479b305
AS
259392012-06-22 Andreas Schwab <schwab@redhat.com>
25940
25941 [BZ #13579]
25942 * include/link.h (struct link_map): Add l_free_initfini.
25943 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25944 l_initfini.
25945 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25946 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25947 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25948 set.
25949
0e3933b9
CD
259502012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25951
25952 * configure.in: Use AC_LANG_SOURCE.
25953 * configure: Regenerate.
25954
4248b1b1
RM
259552012-06-22 Roland McGrath <roland@hack.frob.com>
25956
25957 * configure.in (libc_cv_localstatedir): New substituted variable.
25958 * configure: Regenerated.
25959 * config.make.in (localstatedir): New variable, substituted from
25960 libc_cv_localstatedir.
25961 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25962 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25963 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25964 * sysdeps/gnu/configure: Regenerated.
25965
006dd861
JL
259662012-06-21 Jeff Law <law@redhat.com>
25967
25968 [BZ #14277]
25969 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25970 free. Simplify list management for _LIBC case.
25971
79662d42
JM
259722012-06-21 Joseph Myers <joseph@codesourcery.com>
25973
b7abb4bf
JM
25974 [BZ #14273]
25975 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25976 Clear sign bit of 64-bit integer value before comparing against
25977 overflow value.
25978
79662d42
JM
25979 * sysdeps/mach/configure: Regenerated.
25980
1f150908
L
259812012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25982
25983 [BZ #14278]
25984 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25985
28363bbf
JL
259862012-06-21 Jeff Law <law@redhat.com>
25987
25988 [BZ #13882]
25989 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25990 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 25991 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
25992 * elf/dl-open.c (dl_open_worker): Likewise.
25993
09615db4
CD
259942012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25995
25996 * scripts/list-sources.sh: Scan PORTS for translations.
25997 * po/libc.pot: Regenerated.
25998
2174c6dd
AJ
259992012-06-21 Andreas Jaeger <aj@suse.de>
26000
26001 [BZ #12194]
26002 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26003 warning.
26004 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26005 * bits/byteswap-16.h (__bswap_16): Likewise.
26006 * bits/byteswap.h (__bswap_constant_16): Likewise.
26007
3ee947b1
L
260082012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26009
26010 [BZ #14117]
a2f34833
L
26011 * sysdeps/i386/fpu_control.h: Removed.
26012 * sysdeps/x86_64/fpu_control.h: Moved to ...
26013 * sysdeps/x86/fpu_control.h: Here.
26014
3ee947b1
L
26015 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26016 (_FPU_SETCW): Likewise.
26017
ed1825f8
L
260182012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26019
25f1282a
L
26020 [BZ #14117]
26021 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26022 * sysdeps/x86/fpu/bits/mathinline.h: This.
26023 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26024
ed1825f8
L
26025 [BZ #14050]
26026 [BZ #14117]
26027 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26028 functions if __x86_64__ is defined.
26029
36d54b74
CLT
260302012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26031
26032 * string/endian.h: Add !__ASSEMBLER__ condition for including
26033 conversion interfaces.
26034
10285c21
JM
260352012-06-15 Joseph Myers <joseph@codesourcery.com>
26036
26037 [BZ #14241]
26038 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26039 of ABS(x) in calculating zero to negative powers other than odd
26040 integers.
26041 * math/libm-test.inc (pow_test): Add more tests.
26042
06c5abbd
AJ
260432012-06-15 Andreas Jaeger <aj@suse.de>
26044
26045 * manual/contrib.texi (Contributors): Update entry of Liubov
26046 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26047 Machado Filho.
26048
a3aeac40
CH
260492012-06-15 Cyril Hrubis <metan@ucw.cz>
26050
26051 * string/string.h: Add __wur to GNU version of strerror_r.
26052
49bdf4c1
L
260532012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26054
26055 [BZ #14229]
26056 * string/Makefile (tests): Add tst-strtok_r.
26057 * string/tst-strtok_r.c: New file.
26058 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26059 RAX_LP/RDX_LP on SAVE_PTR.
26060
834f9b8d
RM
260612012-06-14 Roland McGrath <roland@hack.frob.com>
26062
26063 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26064
75fa1921
JM
260652012-06-14 Joseph Myers <joseph@codesourcery.com>
26066
26067 * libm_test.inc (csqrt_test): Allow more spurious underflow
26068 exceptions.
26069 (j0_test): Likewise.
26070 (j1_test): Likewise.
26071 (y0_test): Likewise.
26072 (y1_test): Likewise.
26073
771766df
CD
260742012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26075
26076 * po/Makefile (libc.pot): Use UTF-8 charset.
26077
ceb9e56b
PP
260782012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26079
26080 [BZ #14210]
26081 Suppress sign-conversion warning from FD_SET.
26082 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26083 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26084 not unsigned long int.
26085 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26086
ddb28975
L
260872012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26088
26089 [BZ #14050]
26090 [BZ #14117]
26091 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26092 __extern_always_inline instead of __extern_inline.
26093 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26094 (__signbit): Likewise.
26095 (__signbitl): Support C++ namespace.
26096 (lrintf): New inline function.
26097 (lrint): Likewise.
26098 (llrintf): Likewise.
26099 (llrint): Likewise.
26100 (fmaxf): Likewise.
26101 (fmax): Likewise.
26102 (fminf): Likewise.
26103 (fmin): Likewise.
26104 (rint): Likewise.
26105 (rintf): Likewise.
26106 (ceil): Likewise.
26107 (ceilf): Likewise.
26108 (floor): Likewise.
26109 (floorf): Likewise.
26110 (nearbyint): Likewise.
26111 (nearbyintf): Likewise.
26112
d7b4fb26
TS
261132012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26114
26115 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26116 non-default versions.
26117
eb55f5c2
RM
261182012-06-11 Roland McGrath <roland@hack.frob.com>
26119
26120 [BZ #14218]
26121 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26122
366af02c
TS
261232012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26124
99ff6e5c
TS
26125 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26126 (FE_UPWARD, FE_DOWNWARD): Don't define.
26127 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26128 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26129
366af02c
TS
26130 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26131 reading it.
26132 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26133 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26134
793ea851
KK
261352012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26136
26137 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26138 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26139 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26140 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26141
a728a38f
L
261422012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26143
26144 [BZ #14117]
c08010c7
L
26145 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26146 * sysdeps/i386/fpu/Implies: New file.
26147 * sysdeps/x86_64/fpu/Implies: Likewise.
26148 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26149 * sysdeps/x86/fpu/bits/fenv.h: This.
26150
a728a38f
L
26151 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26152 __SSE_MATH__.
26153
6e230d11
SP
261542012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26155
26156 [BZ #14134]
26157 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26158 character 0xffff that matches the last element of the
26159 conversion table.
26160
1b671feb
AZ
261612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26162
26163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26164 fmodl commit.
26165
6043738b
AZ
261662012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26167
26168 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26169 values higher than 25.6283.
26170
34ae0b32
AZ
261712012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26172
26173 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26174 subnormal exponent extraction and add some __builtin_expect.
26175 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26176 Fix for subnormal mantissa calculation.
26177
1214ec8f
MF
261782012-06-04 Mike Frysinger <vapier@gentoo.org>
26179
26180 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26181 cpu2 is -1 and errno is not ENOSYS.
26182
f3d1f93c
L
261832012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26184
26185 [BZ #14117]
0e4a3cd7
L
26186 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26187 * sysdeps/x86/bits/string.h: This.
26188 * sysdeps/x86_64/bits/string.h: Removed.
26189
6704c645
L
26190 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26191 if not compiling for x86-64, but compiling for >= i486.
26192
48495318
L
26193 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26194 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26195
14adcbfc
L
26196 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26197 New macro from Linux kernel 3.4.0.
26198 (FP_XSTATE_MAGIC2): Likewise.
26199 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26200 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26201 (struct _fpx_sw_bytes): New struct.
26202 (struct _xsave_hdr): Likewise.
26203 (struct _ymmh_state): Likewise.
26204 (struct _xstate): Likewise.
26205
68e408ab
L
26206 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26207 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26208 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26209 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26210 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26211 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26212
f3d1f93c
L
26213 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26214 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26215 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26216 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26217 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26218 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26219
d9dc34cd
TMQMF
262202012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26221
26222 [BZ #13743]
26223 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26224 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26225 (sysdep_headers): Include sys/platform/ppc.h.
26226 * sysdeps/powerpc/test-gettimebase.c: Test for
26227 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26228 * manual/Makefile (appendices): Include platform.texi.
26229 * manual/contrib.texi (Contributors): Update @node pointers.
26230 * manual/maint.texi (Maintenance): Likewise.
26231 (Platform): New node.
26232 * manual/platform.texi: New file. Document the new features.
26233
4af3879c
SP
262342012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26235 Jakub Jelinek <jakub@redhat.com>
26236
26237 [BZ #14188]
26238 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26239 where __builtin_expect is unavailable.
26240
2fd6ff13
DM
262412012-06-03 David S. Miller <davem@davemloft.net>
26242
26243 * stdlib/longlong.h: Updated from GCC.
26244
173f7220
AS
262452012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26246
26247 [BZ #14042]
26248 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26249 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26250 __mcount_internal.
26251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26252 (GLIBC_2.16): Likewise.
26253
f34a1c6f
L
262542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26255
26256 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26257
88a4576f
JM
262582012-06-01 Joseph Myers <joseph@codesourcery.com>
26259
ea32bcdd
JM
26260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26261 (default-abi): New variable.
26262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26263 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26264 variable.
26265 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26266 Likewise.
26267 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26268 Likewise.
26269 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26270 Likewise.
26271
88a4576f
JM
26272 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26273 definition. Document in comment.
26274
402fe938
DM
262752012-06-01 David S. Miller <davem@davemloft.net>
26276
26277 * stdlib/longlong.h: Updated from GCC.
26278
3553723f
L
262792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26280
26281 [BZ #14117]
3bd872c4
L
26282 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26283 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26284 sys/debugreg.h sys/io.h here.
26285 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26286 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26287 sys/io.h.
26288 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26289 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26290 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26291 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26292 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26293 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26294
3553723f
L
26295 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26296 Define only if __x86_64__ is defined.
26297
4842e4fe
JM
262982012-06-01 Joseph Myers <joseph@codesourcery.com>
26299
c5bfe3d5
JM
26300 [BZ #14048]
26301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26302 Use int64_t for variable i.
26303 * math/libm-test.inc (fmod_test): Add more tests.
26304
4842e4fe
JM
26305 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26306 z computation is not scheduled after fetestexcept.
26307 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26308 Use math_force_eval instead of asm to ensure calculation scheduled
26309 before exception test.
26310 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26311 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26312
efb73488
AJ
263132012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26314
26315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26316 computation is not scheduled after fetestexcept.
26317
29bcce7c
L
263182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26319
26320 [BZ #14117]
26321 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26322 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26323
73a68f94
AZ
263242012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26325
26326 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26327 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26328
67b6df78
L
263292012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26330
edf2933a 26331 [BZ #14117]
ebc64a18
L
26332 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26333 <bits/wordsize.h>.
26334 (__WCHAR_MIN): Support __WORDSIZE == 64.
26335 (__WCHAR_MAX): Likewise.
26336
edf2933a
L
26337 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26338 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26339
57c6cf40
L
26340 [BZ #14183]
26341 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26342 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26343
67b6df78 26344 [BZ #14117]
8eb6281e
L
26345 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26346 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26347
aac639f4
L
26348 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26349 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26350
67b6df78
L
26351 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26352 Defined to 1 if __x86_64__ isn't defined.
26353 (_STAT_VER_LINUX_OLD): New.
26354 (st_atime): Remove duplicate.
26355 (st_mtime): Likewise.
26356 (st_ctime): Likewise.
26357
1c2cfe81
DM
263582012-05-31 David S. Miller <davem@davemloft.net>
26359
26360 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26361 entries.
26362
5be8418c
AS
263632012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26364
e7725326
AS
26365 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26366 gen-libm-test.pl.
26367
5be8418c
AS
26368 [BZ #14132]
26369 * elf/dl-reloc.c: Include <_itoa.h>.
26370 (_dl_reloc_bad_type): Remove use of INTUSE.
26371 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26372 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26373 * stdio-common/psiginfo.c (psiginfo): Likewise.
26374 * stdio-common/psignal.c (psignal): Likewise.
26375 * string/strsignal.c (strsignal): Likewise.
26376 * include/signal.h (_sys_siglist): Declare hidden proto.
26377 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26378 INTVARDEF with libc_hidden_data_def.
26379 * stdio-common/itoa-udigits.c: Likewise.
26380 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26381 (_itoa_lower_digits_internal): Remove declaration.
26382 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26383 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26384 (_sys_sigabbrev_internal): Remove aliases.
26385 (_sys_siglist): Define hidden alias.
26386
507352f1
MT
263872012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26388
26389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26390 bits/sysctl.h.
26391
42bbb1c3
L
263922012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26393
26394 [BZ #14117]
6bd784b6
L
26395 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26396 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26397
8bca20f0
L
26398 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26399 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26400 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26401 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26402 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26403 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26404
f9e890a9
L
26405 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26406 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26407 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26408
471101a1
L
26409 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26410 with __addr.
26411 (insw): Likewise.
26412 (insl): Likewise.
26413 (outsb): Likewise.
26414 (outsw): Likewise.
26415 (outsl): Likewise.
26416
6451c862
L
26417 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26418 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26419 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26420
a254b8c9
L
26421 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26422 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26423 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26424 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26425 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26426 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26427
b8dfdd92
L
26428 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26429 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26430
578cd270
L
26431 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26432 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26433
de662f5f
L
26434 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26435 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26436 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26437
25653439
L
26438 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26439 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26440 to ...
26441 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26442
6bad24a0
L
26443 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26444 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26445 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26446
42bbb1c3
L
26447 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26448 for x86-64.
26449 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26450
2d10d547
JM
264512012-05-31 Joseph Myers <joseph@codesourcery.com>
26452
26453 * math/math.h (M_El): Use two more decimal places.
26454 (M_LOG2El): Likewise.
26455 (M_LOG10El): Likewise.
26456 (M_LN2l): Likewise.
26457 (M_LN10l): Likewise.
26458 (M_PIl): Likewise.
26459 (M_PI_2l): Likewise.
26460 (M_PI_4l): Likewise.
26461 (M_1_PIl): Likewise.
26462 (M_2_PIl): Likewise.
26463 (M_2_SQRTPIl): Likewise.
26464 (M_SQRT2l): Likewise.
26465 (M_SQRT1_2l): Likewise.
26466
f230c29b
DM
264672012-05-31 David S. Miller <davem@davemloft.net>
26468
26469 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26470 values between float registers.
26471 * sysdeps/sparc/sparc64/memset.S: Likewise.
26472 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26473
fed806c3
MF
264742012-05-31 Mike Frysinger <vapier@gentoo.org>
26475
26476 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26477 -D_FORTIFY_SOURCE=1.
26478 (CPPFLAGS-tst-longjmp_chk.c): Define.
26479 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26480 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26481 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26482 CFLAGS-tst-wchar-h.c.
26483
30917259
MP
264842012-05-31 Marek Polacek <polacek@redhat.com>
26485
26486 [BZ #14132]
26487 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26488 __endmntent_internal): Remove declaration.
26489 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26490 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26491 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26492
1c58d5dc
DM
264932012-05-30 David S. Miller <davem@davemloft.net>
26494
26495 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26496 (___Q_simulate_exceptions): Use real FP ops rather than writing
26497 into the %fsr.
26498 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26499 Likewise.
26500
7dc00e0d
L
265012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26502
26503 [BZ #14117]
0bd53985
L
26504 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26505 * sysdeps/x86/bits/xtitypes.h: This.
26506
3a257e66
L
26507 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26508 * sysdeps/x86/bits/wordsize.h: This.
26509
62f62904
L
26510 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26511 * sysdeps/x86/bits/huge_vall.h: This.
26512
404fe9d9
L
26513 * sysdeps/i386/bits/select.h: Removed.
26514 * sysdeps/x86_64/bits/select.h: Renamed to ...
26515 * sysdeps/x86/bits/select.h: This.
26516
d48d0446
L
26517 * sysdeps/i386/bits/setjmp.h: Removed.
26518 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26519 * sysdeps/x86/bits/setjmp.h: This.
26520
7dc00e0d
L
26521 * sysdeps/i386/bits/mathdef.h: Removed.
26522 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26523 * sysdeps/x86/bits/mathdef.h: This.
26524
03277f8f
AS
265252012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26526
26527 [BZ #14132]
26528 * include/sys/socket.h (__connect_internal)
26529 (__libc_sa_len_internal): Remove declaration.
26530 (__connect, __libc_sa_len): Declare hidden_proto.
26531 (SA_LEN): Remove use of INTUSE.
26532 * socket/connect.c: Add libc_hidden_def.
26533 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26534 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26535 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26536 alias.
26537 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26538 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26539 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26540 of adding _internal alias.
26541
13764867
L
265422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26543
26544 [BZ #14117]
6bd97696
L
26545 * sysdeps/i386/bits/link.h: Removed.
26546 * sysdeps/i386/bits/linkmap.h: Likewise.
26547 * sysdeps/x86_64/bits/link.h: Renamed to ...
26548 * sysdeps/x86/bits/link.h: This.
26549 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26550 * sysdeps/x86/bits/linkmap.h: This.
26551
f726f0bb
L
26552 * sysdeps/i386/bits/endian.h: Removed.
26553 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26554 * sysdeps/x86/bits/endian.h: This.
26555
13764867
L
26556 * sysdeps/i386/bits/byteswap.h: Removed.
26557 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26558 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26559 * sysdeps/x86/bits/byteswap.h: This.
26560 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26561 * sysdeps/x86/bits/byteswap-16.h: This.
26562 * sysdeps/i386/Implies: Add x86.
26563 * sysdeps/x86_64/Implies: Likewise.
26564
ae251b0b
DM
265652012-05-30 David S. Miller <davem@davemloft.net>
26566
26567 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26568 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26569 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26570 (FP_TRAPPING_EXCEPTIONS): Define.
26571 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26572 (FP_TRAPPING_EXCEPTIONS): Define.
26573 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26574 subnormals only when inexact has been signalled or underflow
26575 exceptions are enabled.
26576 (_FP_PACK_CANONICAL): Likewise.
26577
d5c90867
L
265782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26579
26580 [BZ #14183]
26581 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26582 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26583
63f1549e
RH
265842012-05-30 Richard Henderson <rth@twiddle.net>
26585
8d8f2279
RH
26586 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26587 with #ifndef NOT_IN_libc.
26588
63f1549e
RH
26589 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26590 marked to avoid plt entry.
26591
0ab0291b
L
265922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26593
26594 [BZ #14112]
26595 * Makeconfig (default-abi): New macro.
26596 (abi-includes): Likewise.
26597 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26598 $(abi-$(default-abi)-lib-soname) for soname if defined.
26599 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26600 abi-variants.
26601 * Makefile (installed-stubs): Likewise.
26602 * include/stubs-biarch.h: Removed.
26603 * scripts/lib-names.awk: Only handle one library at a time.
26604 * scripts/soversions.awk: Remove WORDSIZE support.
26605 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26606 entries.
26607 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26608 Removed.
26609 (syscall-list-default-condition): Likewise.
26610 (syscall-list-default-condition): Likewise.
26611 (syscall-list-includes): Likewise.
26612 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26613 syscall-list-* with abi-*. Handle undefined abi-variants.
26614 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26615 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26616 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26617 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26618 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26619 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26620 Removed.
26621 (syscall-list-32-options): Likewise.
26622 (syscall-list-32-condition): Likewise.
26623 (syscall-list-64-options): Likewise.
26624 (syscall-list-64-condition): Likewise.
26625 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26626 macro.
26627 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26628 Renamed to ...
26629 (abi-*): This.
26630 (abi-64-ld-soname): New macro.
26631 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26632 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26633 Renamed to ...
26634 (abi-*): This.
26635 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26636 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26637
4da0431d
JM
266382012-05-30 Joseph Myers <joseph@codesourcery.com>
26639
3a85279c
JM
26640 * sysdeps/unix/sysv/linux/kernel-features.h
26641 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26642 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26643 include <kernel-features.h>.
26644 [!__NR_ftruncate64]: Remove conditional code.
26645 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26646 [__NR_ftruncate64]: Make code unconditional.
26647 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26648 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26649 include <kernel-features.h>.
26650 [!__NR_ftruncate64]: Remove conditional code.
26651 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26652 [__NR_ftruncate64]: Make code unconditional.
26653 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26655 include <kernel-features.h>.
26656 [!__NR_ftruncate64]: Remove conditional code.
26657 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26658 [__NR_ftruncate64]: Make code unconditional.
26659 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26661 include <kernel-features.h>.
26662 [!__NR_ftruncate64]: Remove conditional code.
26663 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26664 [__NR_ftruncate64]: Make code unconditional.
26665 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26666
4da0431d
JM
26667 * configure.in (libc_cv_fpie): Weaken to a compile test using
26668 LIBC_TRY_CC_OPTION.
26669 * configure: Regenerated.
26670
11ef492c
AK
266712012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26672
26673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26677 Refreshed.
26678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26684 Refreshed.
26685
d66ef399
DM
266862012-05-27 David S. Miller <davem@davemloft.net>
26687
26688 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26689 (___Q_zero): New.
26690 (__Q_simulate_exceptions): Return void. Change to simulate
26691 exceptions by writing into the %fsr.
26692 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26693 (__Qp_handle_exceptions): Likewise.
26694 (numbers): Delete.
26695 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26696 __Qp_handle_exceptions.
26697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26698 __Qp_handle_exceptions.
26699 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26700 as unused and give dummy FP_RND_NEAREST initializer.
26701 (FP_INHIBIT_RESULTS): Define.
26702 (___Q_simulate_exceptions): Update declaration.
26703 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26704 formatting.
26705 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26706 as unused and give dummy FP_RND_NEAREST initializer.
26707 (__Qp_handle_exceptions): Update declaration.
26708 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26709 formatting.
26710
04fb54b5
TS
267112012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26712
26713 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26714 the temporary FPU control word.
26715 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26716 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26717 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26718 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26719 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26720 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26721 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26722 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26723 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26724 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26725 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26726
3f99608f
KK
267272012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26728
26729 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26730 fields.
26731
65a4de4e
CLT
267322012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26733
26734 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26735 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26736 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26737 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26738 Likewise.
26739 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26740 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26741 Likewise.
26742
15749d40
UD
267432012-05-27 Ulrich Drepper <drepper@gmail.com>
26744
26745 * po/h.po: Update from translation team.
26746
25dbcb27
AS
267472012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26748
3d3f8e55
AS
26749 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26750
25dbcb27
AS
26751 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26752 handling of denormals.
26753 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26754 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26755 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26756 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26757 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26758 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26759 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26760 Likewise.
26761
7ad47a80 267622012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26763
26764 [BZ #14152]
26765 * math/libm-test.inc (fma_test): Don't always expect underflow
26766 exception.
26767
9c6ea9fa
SP
267682012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26769
26770 [BZ #12416]
26771 * elf/tst-execstack.c: Include stackinfo.h.
26772 (do_test): Adjust test case to ensure that pthread_getattr_np
26773 behaviour remains the same after marking stack executable.
26774
a8239222
JM
267752012-05-25 Joseph Myers <joseph@codesourcery.com>
26776
26777 * sysdeps/unix/sysv/linux/kernel-features.h
26778 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26779 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26780 kernel-features.h.
26781 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26782 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26783 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26784 kernel-features.h.
26785 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26786 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26787
918b5606
L
267882012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26789
26790 * configure.in: Define the default includes to being none.
26791 * configure: Regenerated.
26792
3a097cc7
RM
267932012-05-25 Roland McGrath <roland@hack.frob.com>
26794
8422c9a5
RM
26795 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26796 * sysdeps/x86_64/setjmp.S: Likewise.
26797 * sysdeps/i386/bsd-setjmp.S: Likewise.
26798 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26799 * sysdeps/i386/setjmp.S: Likewise.
26800 * sysdeps/i386/__longjmp.S: Likewise.
26801 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26802 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26803
3a097cc7
RM
26804 * include/stap-probe.h: New file.
26805 * configure.in: Handle --enable-systemtap.
26806 * configure: Regenerated.
26807 * config.h.in (USE_STAP_PROBE): New #undef.
26808 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26809 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26810 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26811
21708942
JM
268122012-05-25 Joseph Myers <joseph@codesourcery.com>
26813
26814 [BZ #13717]
26815 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26816 to 2.4.0 where earlier.
26817 * sysdeps/unix/sysv/linux/configure: Regenerated.
26818 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26819 <kernel-features.h>.
26820 [__ASSUME_32BITUIDS]: Make code unconditional.
26821 [!__ASSUME_32BITUIDS]: Remove conditional code.
26822 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26823 <kernel-features.h>.
26824 [__ASSUME_32BITUIDS]: Make code unconditional.
26825 [!__ASSUME_32BITUIDS]: Remove conditional code.
26826 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26827 [__ASSUME_32BITUIDS]: Make code unconditional.
26828 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26829 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26830 <kernel-features.h>.
26831 [__ASSUME_32BITUIDS]: Make code unconditional.
26832 [!__ASSUME_32BITUIDS]: Remove conditional code.
26833 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26834 <kernel-features.h>.
26835 [__ASSUME_32BITUIDS]: Make code unconditional.
26836 [!__ASSUME_32BITUIDS]: Remove conditional code.
26837 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26838 <kernel-features.h>.
26839 [__ASSUME_32BITUIDS]: Make code unconditional.
26840 [!__ASSUME_32BITUIDS]: Remove conditional code.
26841 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26842 <kernel-features.h>.
26843 [__ASSUME_32BITUIDS]: Make code unconditional.
26844 [!__ASSUME_32BITUIDS]: Remove conditional code.
26845 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26846 <kernel-features.h>.
26847 [__ASSUME_32BITUIDS]: Make code unconditional.
26848 [!__ASSUME_32BITUIDS]: Remove conditional code.
26849 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26850 <kernel-features.h>.
26851 [__ASSUME_32BITUIDS]: Make code unconditional.
26852 [!__ASSUME_32BITUIDS]: Remove conditional code.
26853 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26854 <kernel-features.h>.
26855 [__ASSUME_32BITUIDS]: Make code unconditional.
26856 [!__ASSUME_32BITUIDS]: Remove conditional code.
26857 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26858 <kernel-features.h>.
26859 [__ASSUME_32BITUIDS]: Make code unconditional.
26860 [!__ASSUME_32BITUIDS]: Remove conditional code.
26861 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26862 <kernel-features.h>.
26863 [__ASSUME_32BITUIDS]: Make code unconditional.
26864 [!__ASSUME_32BITUIDS]: Remove conditional code.
26865 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26866 <kernel-features.h>.
26867 [__ASSUME_32BITUIDS]: Make code unconditional.
26868 [!__ASSUME_32BITUIDS]: Remove conditional code.
26869 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26870 <kernel-features.h>.
26871 [__NR_setresgid] (__setresgid): Do not declare.
26872 [__ASSUME_32BITUIDS]: Make code unconditional.
26873 [!__ASSUME_32BITUIDS]: Remove conditional code.
26874 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26875 <kernel-features.h>.
26876 [__NR_setresuid] (__setresuid): Do not declare.
26877 [__ASSUME_32BITUIDS]: Make code unconditional.
26878 [!__ASSUME_32BITUIDS]: Remove conditional code.
26879 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26880 <kernel-features.h>.
26881 [__ASSUME_32BITUIDS]: Make code unconditional.
26882 [!__ASSUME_32BITUIDS]: Remove conditional code.
26883 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26884 <kernel-features.h>.
26885 [__ASSUME_32BITUIDS]: Make code unconditional.
26886 [!__ASSUME_32BITUIDS]: Remove conditional code.
26887 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26888 <kernel-features.h>.
26889 [__ASSUME_32BITUIDS]: Make code unconditional.
26890 [!__ASSUME_32BITUIDS]: Remove conditional code.
26891 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26892 <kernel-features.h>.
26893 [__ASSUME_32BITUIDS]: Make code unconditional.
26894 [!__ASSUME_32BITUIDS]: Remove conditional code.
26895 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26896 <kernel-features.h>.
26897 [__ASSUME_32BITUIDS]: Make code unconditional.
26898 [!__ASSUME_32BITUIDS]: Remove conditional code.
26899 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26900 <kernel-features.h>.
26901 [__ASSUME_32BITUIDS]: Make code unconditional.
26902 [!__ASSUME_32BITUIDS]: Remove conditional code.
26903 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26904 <kernel-features.h>.
26905 [__ASSUME_32BITUIDS]: Make code unconditional.
26906 [!__ASSUME_32BITUIDS]: Remove conditional code.
26907 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26908 <kernel-features.h>.
26909 [__ASSUME_32BITUIDS]: Make code unconditional.
26910 [!__ASSUME_32BITUIDS]: Remove conditional code.
26911 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26912 <kernel-features.h>.
26913 [__ASSUME_32BITUIDS]: Make code unconditional.
26914 [!__ASSUME_32BITUIDS]: Remove conditional code.
26915 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26916 <kernel-features.h>.
26917 [__ASSUME_32BITUIDS]: Make code unconditional.
26918 [!__ASSUME_32BITUIDS]: Remove conditional code.
26919 * sysdeps/unix/sysv/linux/kernel-features.h
26920 (__ASSUME_SETRESUID_SYSCALL): Remove.
26921 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26922 (__ASSUME_32BITUIDS): Likewise.
26923 (__ASSUME_LDT_WORKS): Likewise.
26924 (__ASSUME_O_DIRECTORY): Likewise.
26925 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26926 architecture but not kernel version.
26927 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26928 (__ASSUME_MMAP2_SYSCALL): Likewise.
26929 (__ASSUME_STAT64_SYSCALL): Likewise.
26930 (__ASSUME_IPC64): Likewise.
26931 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26932 <kernel-features.h>.
26933 [__ASSUME_32BITUIDS]: Make code unconditional.
26934 [!__ASSUME_32BITUIDS]: Remove conditional code.
26935 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26936 <kernel-features.h>.
26937 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26938 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26939 132096]: Remove conditional code.
26940 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26941 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26942 <kernel-features.h>.
26943 [__ASSUME_32BITUIDS]: Make code unconditional.
26944 [!__ASSUME_32BITUIDS]: Remove conditional code.
26945 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26946 <kernel-features.h>.
26947 [__ASSUME_32BITUIDS]: Make code unconditional.
26948 [!__ASSUME_32BITUIDS]: Remove conditional code.
26949 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26950 <kernel-features.h>.
26951 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26952 unconditional.
26953 (__setresgid): Do not declare.
26954 [__ASSUME_32BITUIDS]: Make code unconditional.
26955 [!__ASSUME_32BITUIDS]: Remove conditional code.
26956 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26957 <kernel-features.h>.
26958 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26959 unconditional.
26960 (__setresuid): Do not declare.
26961 [__ASSUME_32BITUIDS]: Make code unconditional.
26962 [!__ASSUME_32BITUIDS]: Remove conditional code.
26963 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26964 <kernel-features.h>.
26965 [__ASSUME_32BITUIDS]: Make code unconditional.
26966 [!__ASSUME_32BITUIDS]: Remove conditional code.
26967 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26968 <kernel-features.h>.
26969 [__ASSUME_32BITUIDS]: Make code unconditional.
26970 [!__ASSUME_32BITUIDS]: Remove conditional code.
26971
a386f1cc
RH
269722012-05-25 Richard Henderson <rth@twiddle.net>
26973
26974 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26975 dl_hwcap to ifunc resolver.
26976 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26977 elf_ifunc_invoke.
26978 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26979 dl_hwcap to ifunc resolver.
26980 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26981
b6550497
JM
269822012-05-24 Joseph Myers <joseph@codesourcery.com>
26983
26984 [BZ #14153]
26985 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26986 for |x| <= 2**-26, not 2**-57.
26987 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26988 exception.
26989
b0bc23a1
JL
269902012-05-24 Jeff Law <law@redhat.com>
26991
26992 * stdio-common/Makefile (tests): Add bug25.
26993 * stdio-common/bug25.c: New test.
26994
347c92e9
L
269952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26996
26997 [BZ #13576]
26998 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26999 multiple of MALLOC_ALIGNMENT in size.
27000 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27001
6bcc8b3f
JM
270022012-05-24 Joseph Myers <joseph@codesourcery.com>
27003
27004 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27005 Require >= 256.
27006 (FILENAME_MAX): Use macro-int-constant.
27007 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27008 (_IOFBF): Use macro-int-constant.
27009 (_IOLBF): Likewise.
27010 (_IONBF): Likewise.
27011 (SEEK_CUR): Likewise.
27012 (SEEK_END): Likewise.
27013 (SEEK_SET): Likewise.
27014 (TMP_MAX): Likewise.
27015 (EOF): Use macro-int-constant. Require < 0.
27016 (NULL): Use macro-constant. Require == 0.
27017 (stdin): Require type to be FILE *.
27018 (stdout): Likewise.
27019 (stderr): Likewise.
27020 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27021 macro-int-constant.
27022 (EXIT_SUCCESS): Likewise.
27023 (NULL): Use macro-constant. Require == 0.
27024 (RAND_MAX): Use macro-int-constant.
27025 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27026 [C99-based standards] (strtof): Require function.
27027 [C99-based standards] (strtold): Likewise.
27028 [C99-based standards] (strtoll): Likewise.
27029 [C99-based standards] (strtoull): Likewise.
27030 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27031 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27032 [ISO || ISO99 || ISO11] (math.h): Likewise.
27033 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27034 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27036
d18ea0c5
AS
270372012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27038
27039 [BZ #14132]
56d25bb8
AS
27040 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27041 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27042 * intl/dgettext.c (DCGETTEXT): Likewise.
27043 * intl/gettext.c (DCGETTEXT): Likewise.
27044 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27045 * posix/regex_internal.h (gettext): Likewise.
27046 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27047 Remove declaration.
27048 * include/argz.h (__argz_count_internal)
27049 (__argz_stringify_internal): Remove declaration.
27050 (__argz_count, __argz_stringify): Declare hidden proto.
27051 * intl/dcgettext.c: Remove use of INTDEF.
27052 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27053 * string/argz-stringify.c: Likewise.
27054 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27055 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27056 Declare hidden proto.
d18ea0c5
AS
27057 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27058 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27059 Declare hidden proto.
27060 * include/stdio.h (__asprintf_internal): Don't declare.
27061 (__asprintf): Don't define as macro. Declare hidden proto.
27062 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27063 (__fsetlocking): Declare hidden proto.
27064 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27065 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27066 hidden proto.
27067 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27068 (_IO_setlinebuf): Remove use of INTUSE.
27069 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27070 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27071 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27072 Remove declaration.
27073 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27074 (_IO_do_flush): Remove use of INTUSE.
27075 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27076 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27077 (_IO_adjust_column, _IO_least_wmarker)
27078 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27079 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27080 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27081 (_IO_default_doallocate, _IO_wdefault_doallocate)
27082 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27083 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27084 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27085 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27086 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27087 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27088 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27089 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27090 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27091 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27092 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27093 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27094 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27095 proto.
27096 (_IO_flush_all_internal, _IO_adjust_column_internal)
27097 (_IO_default_uflow_internal, _IO_default_finish_internal)
27098 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27099 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27100 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27101 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27102 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27103 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27104 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27105 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27106 (_IO_file_close_internal, _IO_file_close_it_internal)
27107 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27108 (_IO_file_init_internal, _IO_file_attach_internal)
27109 (_IO_file_fopen_internal, _IO_file_read_internal)
27110 (_IO_file_sync_internal, _IO_file_seek_internal)
27111 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27112 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27113 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27114 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27115 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27116 (_IO_list_all_internal, _IO_link_in_internal)
27117 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27118 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27119 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27120 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27121 (_IO_do_write_internal, _IO_padn_internal)
27122 (_IO_getline_info_internal, _IO_getline_internal)
27123 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27124 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27125 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27126 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27127 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27128 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27129 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27130 with libc_hidden_ver, remove use of INTUSE.
27131 * libio/genops.c: Likewise.
27132 * libio/freopen.c: Likewise.
27133 * libio/freopen64.c: Likewise.
27134 * libio/iofclose.c: Likewise.
27135 * libio/iofdopen.c: Likewise.
27136 * libio/iofflush.c: Likewise.
27137 * libio/iofflush_u.c: Likewise.
27138 * libio/iofgets.c: Likewise.
27139 * libio/iofgets_u.c: Likewise.
27140 * libio/iofopen.c: Likewise.
27141 * libio/iofopncook.c: Likewise.
27142 * libio/iofread.c: Likewise.
27143 * libio/iofread_u.c: Likewise.
27144 * libio/ioftell.c: Likewise.
27145 * libio/iofwrite.c: Likewise.
27146 * libio/iogetline.c: Likewise.
27147 * libio/iogets.c: Likewise.
27148 * libio/iogetwline.c: Likewise.
27149 * libio/iopadn.c: Likewise.
27150 * libio/iopopen.c: Likewise.
27151 * libio/ioseekoff.c: Likewise.
27152 * libio/ioseekpos.c: Likewise.
27153 * libio/iosetbuffer.c: Likewise.
27154 * libio/iosetvbuf.c: Likewise.
27155 * libio/ioungetc.c: Likewise.
27156 * libio/ioungetwc.c: Likewise.
27157 * libio/iovdprintf.c: Likewise.
27158 * libio/iovsprintf.c: Likewise.
27159 * libio/iovsscanf.c: Likewise.
27160 * libio/memstream.c: Likewise.
27161 * libio/obprintf.c: Likewise.
27162 * libio/oldfileops.c: Likewise.
27163 * libio/oldiofclose.c: Likewise.
27164 * libio/oldiofdopen.c: Likewise.
27165 * libio/oldiofopen.c: Likewise.
27166 * libio/oldiopopen.c: Likewise.
27167 * libio/oldstdfiles.c: Likewise.
27168 * libio/putc.c: Likewise.
27169 * libio/setbuf.c: Likewise.
27170 * libio/setlinebuf.c: Likewise.
27171 * libio/stdfiles.c: Likewise.
27172 * libio/strops.c: Likewise.
27173 * libio/vasprintf.c: Likewise.
27174 * libio/vscanf.c: Likewise.
27175 * libio/vsnprintf.c: Likewise.
27176 * libio/vswprintf.c: Likewise.
27177 * libio/wfiledoalloc.c: Likewise.
27178 * libio/wfileops.c: Likewise.
27179 * libio/wgenops.c: Likewise.
27180 * libio/wmemstream.c: Likewise.
27181 * libio/wstrops.c: Likewise.
27182 * libio/__fpurge.c: Likewise.
27183 * libio/__fsetlocking.c: Likewise.
27184 * assert/assert.c: Likewise.
27185 * debug/fgets_chk.c: Likewise.
27186 * debug/fgets_u_chk.c: Likewise.
27187 * debug/fread_chk.c: Likewise.
27188 * debug/fread_u_chk.c: Likewise.
27189 * debug/gets_chk.c: Likewise.
27190 * debug/obprintf_chk.c: Likewise.
27191 * debug/vasprintf_chk.c: Likewise.
27192 * debug/vdprintf_chk.c: Likewise.
27193 * debug/vsnprintf_chk.c: Likewise.
27194 * debug/vsprintf_chk.c: Likewise.
27195 * malloc/mtrace.c: Likewise.
27196 * misc/error.c: Likewise.
27197 * misc/syslog.c: Likewise.
27198 * stdio-common/asprintf.c: Likewise.
27199 * stdio-common/fxprintf.c: Likewise.
27200 * stdio-common/getw.c: Likewise.
27201 * stdio-common/isoc99_fscanf.c: Likewise.
27202 * stdio-common/isoc99_scanf.c: Likewise.
27203 * stdio-common/isoc99_vfscanf.c: Likewise.
27204 * stdio-common/isoc99_vscanf.c: Likewise.
27205 * stdio-common/isoc99_vsscanf.c: Likewise.
27206 * stdio-common/printf-prs.c: Likewise.
27207 * stdio-common/printf_fp.c: Likewise.
27208 * stdio-common/printf_fphex.c: Likewise.
27209 * stdio-common/printf_size.c: Likewise.
27210 * stdio-common/putw.c: Likewise.
27211 * stdio-common/scanf.c: Likewise.
27212 * stdio-common/sprintf.c: Likewise.
27213 * stdio-common/tmpfile.c: Likewise.
27214 * stdio-common/vfprintf.c: Likewise.
27215 * stdio-common/vfscanf.c: Likewise.
27216 * stdlib/strfmon_l.c: Likewise.
27217 * sunrpc/openchild.c: Likewise.
27218 * sunrpc/xdr_stdio.c: Likewise.
27219 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27220 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27221
d6c33fda
RM
272222012-05-24 Roland McGrath <roland@hack.frob.com>
27223
c1487492
RM
27224 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27225
27226 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27227 in the third column, to generate for the shared library an IFUNC
27228 that uses _dl_vdso_vsym.
27229 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27230 * Makeconfig (object-suffixes-noshared): New variable.
27231
27232 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27233 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27234 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27235 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27236
d6c33fda
RM
27237 [BZ #14132]
27238 * include/sys/time.h (__gettimeofday): Remove macro.
27239 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27240 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27241 Remove INTDEF.
27242 (__gettimeofday): Add libc_hidden_def.
27243 (gettimeofday): Add libc_hidden_weak.
27244 * sysdeps/mach/gettimeofday.c: Likewise.
27245 * sysdeps/posix/gettimeofday.c: Likewise.
27246 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27247 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27249 (__gettimeofday_internal): Remove strong_alias.
27250 (__gettimeofday): Add libc_hidden_def.
27251 (gettimeofday): Add libc_hidden_weak.
27252 * sysdeps/unix/syscalls.list (gettimeofday):
27253 Remove __gettimeofday_internal alias.
27254
b5a2bbe6
L
272552012-05-24 Daniel Jacobowitz <drow@false.org>
27256 H.J. Lu <hongjiu.lu@intel.com>
27257
27258 [BZ #12495]
27259 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27260 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27261 (largebin_index_32_big): New.
27262 (largebin_index): Use it for 16-byte alignment.
27263 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27264 correction with front_misalign.
27265
cfba4fda
L
272662012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27267
7f907421
L
27268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27270 Likewise.
27271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27272 Likewise.
27273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27274 Likewise.
27275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27276 Likewise.
27277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27278 Likewise.
27279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27280 Likewise.
27281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27282 Likewise.
27283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27284 Likewise.
27285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27286 Likewise.
27287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27288 Likewise.
27289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27290 Likewise.
27291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27292 Likewise.
27293
cfba4fda
L
27294 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27295 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27296
80bad0cc
JM
272972012-05-24 Joseph Myers <joseph@codesourcery.com>
27298
7a25eb06
JM
27299 [BZ #10846]
27300 [BZ #14036]
27301 * math/libm-test.inc (exp_test): Add test from bug 14036.
27302 (pow_test): Add test from bug 10846.
27303
795405f9
JM
27304 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27305 and other flags.
27306 (special_function): Do not include flags in test name.
27307 (parse_args): Likewise.
27308 * sysdeps/i386/fpu/libm-test-ulps: Update.
27309 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27310 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27311 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27313
80bad0cc
JM
27314 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27315 exceptions.
27316 * math/libm-test.inc ("Philosophy"): Update comment about
27317 exception testing.
27318 (UNDERFLOW_EXCEPTION): New macro.
27319 (UNDERFLOW_EXCEPTION_OK): Likewise.
27320 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27321 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27322 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27323 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27324 (INVALID_EXCEPTION_OK): Update value.
27325 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27326 (OVERFLOW_EXCEPTION_OK): Likewise.
27327 (IGNORE_ZERO_INF_SIGN): Likewise.
27328 (test_exceptions): Handle underflow exceptions.
27329 (acos_test): Update for underflow exception expectations.
27330 (cexp_test): Likewise.
27331 (clog_test): Likewise.
27332 (clog10_test): Likewise.
27333 (csqrt_test): Likewise.
27334 (ctan_test): Likewise.
27335 (ctanh_test): Likewise.
27336 (exp_test): Likewise.
27337 (exp10_test): Likewise.
27338 (exp2_test): Likewise.
27339 (expm1_test): Likewise.
27340 (fma_test): Likewise.
27341 (j0_test): Likewise.
27342 (jn_test): Likewise.
27343 (nexttoward_test): Likewise.
27344 (pow_test): Likewise.
27345 (scalbn_test): Likewise.
27346 (scalbln_test): Likewise.
27347 (tan_test): Likewise.
27348 (y1_test): Likewise.
27349 * sysdeps/i386/fpu/libm-test-ulps: Update.
27350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27351
9e0e3d0b
DM
273522012-05-23 David S. Miller <davem@davemloft.net>
27353
27354 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27355 (__libc_sigaction): Remove unused local variables.
27356
ccd0a08f
L
273572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27358
27359 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27360
62bdf9a6
PE
273612012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27362
f8591f80
PE
27363 mktime: avoid signed integer overflow
27364 * time/mktime.c (__mktime_internal): Do not mishandle the case
27365 where diff == INT_MIN.
27366
94c7d826
PE
27367 mktime: simplify computation of average
27368 * time/mktime.c (ranged_convert): Use new time_t_avg function
27369 instead of rolling our own (probably-slower) code.
27370
ce73d683
PE
27371 mktime: do not assume signed right shift propagates sign bit
27372 * time/mktime.c (isdst_differ): New static function.
27373 (__mktime_internal): No need to normalize tm_isdst now.
27374 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27375 tm_isdst values.
27376
72a22e59
PE
27377 mktime: merge another wrapv change from gnulib
27378 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27379 from some compilers.
27380
68605433
PE
27381 mktime: remove incorrect attempt at unusual arithmetics
27382 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27383 The code didn't really work on such machines anyway.
27384 (TYPE_MINIMUM): Assume two's complement.
27385 (twos_complement_arithmetic): Verify that long_int and time_t
27386 are two's complement (or unsigned, in the latter case).
27387
03cf7fe3
PE
27388 mktime: check signed shifts on long_int and time_t, too
27389 * time/mktime.c (SHR): Check that shifts work as desired
27390 on the types long_int and time_t too, as SHR is used on
27391 such types.
27392
f04dfbc2
PE
27393 mktime: do not assume 'long' is wide enough
27394 * time/mktime.c (verify): Move decl up.
27395 (long_int): New type.
27396 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27397 to remove assumption in the code that 'long' is wide enough to
27398 store year values. This assumption is not true on x32 and on
27399 some non-glibc platforms.
27400
62bdf9a6
PE
27401 mktime: merge wrapv change from gnulib
27402 * time/mktime.c (WRAPV): New macro.
27403 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27404 (guess_time_tm, __mktime_internal): Do not assume that signed
27405 integer overflow wraps around; modern compilers generate code
27406 where this assumption is no longer valid.
27407
5e292e4f
L
274082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27409
27410 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27411 Replace "jmp L(pseudo_end)" with "ret".
27412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27413 Likewise.
27414
8caf8c87
AJ
274152012-05-23 Andreas Jaeger <aj@suse.de>
27416
27417 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27418 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27419
1a09dc56
AJ
274202012-05-23 Andreas Jaeger <aj@suse.de>
27421 Maximilian Attems <max@stro.at>
27422
27423 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27424 New macros.
27425
1c87aba0
L
274262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27427
27428 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27429 code so that pseudo_end is just ret and the stack pointer is
27430 correct also for static library in error case.
27431
40e45bd5
JM
274322012-05-23 Joseph Myers <joseph@codesourcery.com>
27433
c2670533
JM
27434 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27435 move to syscalls.list.
27436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27440
40e45bd5
JM
27441 * manual/install.texi (Running make install): Do not mention Linux
27442 kernel version for which pt_chown is not needed.
27443 (Linux): Do not mention problems with nscd with 2.0 kernels.
27444 * INSTALL: Regenerated.
27445
be08eda5
AJ
274462012-05-23 Andreas Jaeger <aj@suse.de>
27447
27448 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27449 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27450 macro.
27451 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27452 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27453 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27454 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27455 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27456 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27457 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27458 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27459 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27460 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27461 * sysdeps/unix/sysv/linux/bits/in.h
27462 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27463
a6a056bb
RM
274642012-05-22 Roland McGrath <roland@hack.frob.com>
27465
27466 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27467 (PREPARE_VERSION): Just use assert instead, it will be elided
27468 under [NDEBUG] anyway.
27469
c9009328
L
274702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27471
27472 * sysdeps/unix/sysv/linux/Makefile: Include
27473 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27474 (sysdep_routines): Remove sysctl.
c9009328
L
27475 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27476 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27477 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27478 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27479 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27480
73338355
AJ
274812012-05-22 Andreas Jaeger <aj@suse.de>
27482
27483 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27484 that pseudo_end is just ret and the stack pointer is correct also
27485 for static library in error case.
27486
d44638b0
PP
274872012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27488
27489 [BZ #14122]
27490 * nss/nsswitch.c (defconfig_entries): New variable.
27491 (__nss_database_lookup): Don't leak defconfig entries.
27492 (nss_parse_service_list): Don't leak on error paths.
27493 (free_database_entries): New function.
27494 (free_defconfig): New function.
27495 (free_mem): Move common code to free_database_entries.
27496
31a39bd8
L
274972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27498
da0331a8
L
27499 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27500 Add arch_prctl.
27501 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27502
31a39bd8
L
27503 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27504 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27506 New macro.
27507 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27508 (INTERNAL_SYSCALL_TYPES): Likewise.
27509 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27510 (LOAD_REGS_TYPES_[1-6]): Likewise.
27511 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27512 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27513
45470df3
AZ
275142012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27515
27516 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27517 copysignl for GLIBC_2_0.
27518 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27519 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27520 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27521 logbl for GLIBC_2_0.
27522 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27523 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27524
98a61bcb
L
275252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27526
a4f6e481
L
27527 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27528 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27529
f63d5db6
L
27530 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27531 Use "neg %eax".
27532
98a61bcb
L
27533 * time/mktime.c: Update copyright years.
27534
95770f14
PE
275352012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27536
6226efbd
PE
27537 mktime: merge comment-quoting-style change from gnulib
27538 * time/mktime.c: Quote 'like this' in comments.
27539 The GNU coding standards suggest that we no longer quote `like this',
27540 as "`" and "'" are typically rendered asymmetrically nowadays.
27541 The typical gnulib style is to quote 'like this' when quoting
27542 code, and "like this" when quoting English.
27543
b99e4f78
PE
27544 * time/mktime.c (compile-command): Add "-I.".
27545
643e01e6
PE
27546 mktime: merge mktime-internal.h change from gnulib
27547 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27548
2554247d
PE
27549 mktime: merge time_r change from gnulib
27550 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27551
826dd0ab
PE
27552 mktime: merge DEBUG change from gnulib
27553 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27554 case system <time.h> has a #define.
27555
bd83aabe
PE
27556 mktime: merge <sys/types.h> change from gnulib
27557 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27558 since <time.t> is now guaranteed to define time_t.
27559
95770f14
PE
27560 mktime: merge HAVE_CONFIG_H change from gnulib
27561 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27562
5e1a27a9
L
275632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27564
0e44a77e
L
27565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27566 Use "neg %eax".
27567
5e1a27a9
L
27568 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27569 __rlim_t cast.
27570 (struct rusage): Use anonymous union to pad each field to
27571 __syscall_slong_t.
27572
46259bec
DM
275732012-05-21 David S. Miller <davem@davemloft.net>
27574
27575 * Makefules (o-iterator): Remove .s cases.
27576 (compile-command.s): Delete.
27577 (COMPILE.s): Delete.
27578 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27579
59f0c22e
JM
275802012-05-21 Joseph Myers <joseph@codesourcery.com>
27581
27582 * configure.in (libc_cv_predef_stack_protector): Only consider
27583 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27584 * configure: Regenerated.
27585
20c07380
L
275862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27587
bbb3154b
L
27588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27589 New macro. Use R*LP on int and pointer.
27590 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27591 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27592 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27593 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27594
20c07380
L
27595 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27596 [__WORDSIZE_TIME64_COMPAT32] instead of
27597 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27598 (struct utmp): Likewise.
27599 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27600 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27601 Renamed to ...
27602 (__WORDSIZE_TIME64_COMPAT32): This.
27603 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27604 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27605 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27606 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27607 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27608 (__WORDSIZE_TIME64_COMPAT32): New macro.
27609
d8d1017e
AJ
276102012-05-21 Andreas Jaeger <aj@suse.de>
27611
27612 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27613 only if [SHARED]. Add prototype for __wcschr_ia32.
27614
6c7fb145
RM
276152012-05-21 Roland McGrath <roland@hack.frob.com>
27616
27617 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27618 of %rbp unmolested in the jmp_buf while mangling the low bits.
27619 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27620 unmolested high bits of %rbp while demangling the low bits.
27621 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27622
66274218
AJ
276232012-05-21 Andreas Jaeger <aj@suse.de>
27624
07c58f8f
AJ
27625 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27626 * sunrpc/svc_simple.c: Use it for registerrpc.
27627 * sunrpc/xcrypt.c: Use it for passwd2des.
27628
66274218
AJ
27629 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27630
61f65140
L
276312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27632
27633 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27634 Don't define if [__SYSCALL_WORDSIZE != 32].
27635 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27636 New macro.
27637
5fefb436
AJ
276382012-05-21 Bruno Haible <bruno@clisp.org>
27639 Andreas Jaeger <aj@suse.de>
27640
27641 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27642 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27643 inptr and inend for must_buffer_ch.
27644 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27645 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27646 * stdio-common/Makefile (tests): Remove bug15.
27647 (bug15-ENV): Remove macro.
27648 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27649 anymore.
27650
d8e272ab
AJ
276512012-05-19 Andreas Jaeger <aj@suse.de>
27652 Roland McGrath <roland@hack.frob.com>
27653
27654 * manual/contrib.texi: Completely rewritten. It contains now an
27655 alphabetical list of contributors and their contributions.
27656
4a56a162
RH
276572012-05-21 Richard Henderson <rth@twiddle.net>
27658
27659 * misc/getauxval.c (__getauxval): Use unsigned long int.
27660 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27661 (getauxval): Use unsigned long int.
27662
d024d23c
L
276632012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27664
27665 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27666
cbc00a03
RM
276672012-05-21 Roland McGrath <roland@hack.frob.com>
27668
27669 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27670 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27671 __alignof__ (long double).
27672
478143fa
AZ
276732012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27674
27675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27676
c7683a6d
RH
276772012-05-20 Richard Henderson <rth@twiddle.net>
27678
27679 * misc/getauxval.c: New file.
27680 * misc/sys/auxv.h: New file.
27681 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27682 (routines): Add getauxval.
27683 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27684 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27685 * elf/dl-sysdep.c (_dl_auxv): Remove.
27686 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27687 * elf/dl-support.c (_dl_auxv): New variable.
27688 (_dl_aux_init): Initialize it.
27689 * manual/startup.texi (Auxiliary Vector): New node.
27690 * sysdeps/generic/bits/hwcap.h: New file.
27691 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27692 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27693 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27694 * sysdeps/sparc/sysdep.h: ... here. Include it.
27695 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27696 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27698 Update.
c7683a6d
RH
27699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27707
a6f1845d
AZ
277082012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27709
27710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27711
cbcbe830
DM
277122012-05-19 David S. Miller <davem@davemloft.net>
27713
27714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27715
e0b16cc2
JM
277162012-05-19 Joseph Myers <joseph@codesourcery.com>
27717
27718 [BZ #14123]
27719 * math/s_ccosh.c: Include <float.h>
27720 (__ccosh): Avoid internal overflow calculating sinh and cosh
27721 values before multiplying by sin and cos values.
27722 * math/s_ccoshf.c: Likewise.
27723 * math/s_ccoshl.c: Likewise.
27724 * math/s_csin.c: Likewise.
27725 * math/s_csinf.c: Likewise.
27726 * math/s_csinl.c: Likewise.
27727 * math/s_csinh.c: Likewise.
27728 * math/s_csinhf.c: Likewise.
27729 * math/s_csinhl.c: Likewise.
27730 * math/libm-test.inc (ccos_test): Add more tests.
27731 (ccosh_test): Likewise.
27732 (csin_test): Likewise.
27733 (csinh_test): Likewise.
27734 * sysdeps/i386/fpu/libm-test-ulps: Update.
27735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27736
6ad13e08
L
277372012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27738
f66f0ce8
L
27739 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27740 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27741
6ad13e08
L
27742 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27743
b1d072a7
JM
277442012-05-19 Joseph Myers <joseph@codesourcery.com>
27745
27746 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27747 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27748 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27749 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27750 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27751 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27752 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27753 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27754 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27755 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27756 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27757 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27758 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27759 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27760 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27761 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27762 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27763 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27764 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27765 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27766 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27767 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27768 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27769 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27770 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27771 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27772 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27773 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27774 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27775 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27776 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27777
9eae47cb
AJ
277782012-05-18 Andreas Jaeger <aj@suse.de>
27779
27780 * csu/.gitignore: Delete.
27781
bb07f69f
L
277822012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27783
27784 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27785 (timex): Use __syscall_slong_t.
27786
e6bdb741
AJ
277872012-05-18 Andreas Jaeger <aj@suse.de>
27788 Carlos O'Donell <carlos_odonell@mentor.com>
27789
27790 * manual/install.texi (Configuring and compiling): Update
27791 description about files modified in the source directory.
d6c33fda 27792 * INSTALL: Regenerated.
e6bdb741 27793
1b74487e
L
277942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27795
27796 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27797 value. Use "or" to set return value to -1.
27798 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27799 negate return value.
27800
a88b64b9
TMQMF
278012012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27802
27803 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27804 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27805 failure if the compiler has Graphite support disabled.
27806 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27807 Likewise.
27808 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27809 CFLAGS-memmove.c): Likewise.
27810 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27811 Likewise.
27812
3707636e
L
278132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27814
610b8622
L
27815 * sysdeps/x86_64/x32/_itoa.h: New file.
27816
7cd195df
L
27817 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27818 getdents system call only if kernel and user dirents have the
27819 same d_ino and d_off.
27820
94b07d20
L
27821 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27822 LLONG_MAX != LONG_MAX.
27823 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27824 (_fitoa_word): Likewise.
27825
18298070
L
27826 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27827 years.
27828 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27829 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27830 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27831
553c7ea4
L
27832 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27833 include <bits/wordsize.h>. Check __x86_64__ instead of
27834 __WORDSIZE.
27835 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27836 if __x86_64__ is defined. Use anonymous union on fpstate.
27837
3707636e
L
27838 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27839 anonymous union.
27840
b53ef01a
AS
278412012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27842
37fb1dc0
AS
27843 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27844 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27845 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27846 Refer to _rtld_local_ro instead of _rtld_global_ro.
27847 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27848 Likewise.
27849 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27850 Likewise.
27851 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27852 Likewise.
27853 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27854 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27855 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27856
b53ef01a
AS
27857 * sysdeps/powerpc/powerpc32/dl-machine.c
27858 (__elf_machine_runtime_setup) [PROF]: Don't reference
27859 _dl_prof_resolve.
27860
7a185db2
AJ
278612012-05-18 Andreas Jaeger <aj@suse.de>
27862
27863 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27864 function only available for GCCs before 3.4 since GCC 3.4
27865 introduced a builtin.
27866 (lrint): Likewise.
27867 (llrintf): Likewise.
27868 (llrint): Likewise.
27869 (fmaxf): Likewise.
27870 (fmax): Likewise.
27871 (fminf): Likewise.
27872 (fmin): Likewise.
27873 (rint): Likewise.
27874 (rintf): Likewise.
27875 (nearbyint): Likewise.
27876 (nearbyintf): Likewise.
27877 (ceil): Likewise.
27878 (ceilf): Likewise.
27879 (floor): Likewise.
27880 (floorf): Likewise.
27881
3e5aef87
L
278822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27883
428bd707
L
27884 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27885 on both fields and cast pointer to __syscall_ulong_t.
27886
3e5aef87
L
27887 * bits/types.h (__fsword_t): New type.
27888 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27889 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27891 (__FSWORD_T_TYPE): Likewise.
27892 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27893 (__FSWORD_T_TYPE): Likewise.
27894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27895 (__FSWORD_T_TYPE): Likewise.
27896 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27897 (__FSWORD_T_TYPE): Likewise.
27898 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27899 __SWORD_TYPE with __fsword_t.
27900 (statfs64): Likewise.
27901
1ba7c3dc
DM
279022012-05-17 David S. Miller <davem@davemloft.net>
27903
27904 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27905
59910343
AJ
279062012-05-17 Andreas Jaeger <aj@suse.de>
27907
27908 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27909 warning.
27910
2e4c1e9e
L
279112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27912
27913 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27914
de7f5ce7
AJ
279152012-05-17 Andreas Jaeger <aj@suse.de>
27916
27917 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27918 when it is used.
27919
286abc3d
CM
279202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27921
27922 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27923
477cc68e
L
279242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27925
27926 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27927 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27928
1a0994f5
CD
279292012-05-17 Andreas Jaeger <aj@suse.de>
27930 Carlos O'Donell <carlos_odonell@mentor.com>
27931
27932 [BZ #14059]
27933 * sysdeps/x86_64/multiarch/init-arch.h
27934 (bit_YMM_Usable): Rename to...
27935 (bit_AVX_Usable): ... this.
27936 (bit_FMA4_Usable): New macro.
27937 (bit_XMM_state): New macro.
27938 (bit_YMM_state): New macro.
27939 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27940 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27941 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27942 (CPUID_OSXSAVE): New macro.
27943 (CPUID_AVX): New macro.
27944 (CPUID_FMA4): New macro.
27945 (index_YMM_Usable): Rename to...
27946 (index_AVX_Usable): ... this.
27947 (HAS_AVX): Use HAS_ARCH_FEATURE.
27948 (HAS_FMA4): Likewise.
27949 (HAS_YMM_USABLE): Remove.
27950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27951 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27952 are present.
27953 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27954 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27955 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27956 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27957 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27958
0af797de
CM
279592012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27960
27961 * math/libm-test.c: Support platforms without multiple rounding modes.
27962 * math/bug-nextafter.c: Support platforms without FP exceptions.
27963 * math/bug-nexttoward.c: Likewise.
27964 * math/test-fenv.c: Likewise.
27965 * math/test-misc.c: Likewise.
27966 * stdlib/bug-getcontext.c: Likewise.
27967
e39745ff
AJ
279682012-05-17 Andreas Jaeger <aj@suse.de>
27969
27970 * manual/examples/search.c (critter_cmp): Change signature to
27971 avoid warnings.
27972 * manual/string.texi (Collation Functions): Likewise.
27973
48970aba
L
279742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27975
27976 * bits/types.h: Fold copyright years.
27977 * bits/typesizes.h: Likewise.
27978 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27979 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27980 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27981 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27982 * time/time.h: Likewise.
27983
bedee953
PP
279842012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27985
27986 [BZ #208]
27987 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27988 in instead of returning them. Return void.
27989 (__libc_mallinfo): Accumulate over all arenas.
27990 (__malloc_stats): Adjust for change in int_mallinfo interface.
27991
61653dfb
RM
279922012-05-16 Roland McGrath <roland@hack.frob.com>
27993
30b99d79
RM
27994 [BZ #10375]
27995 * configure.in (NM): Add AC_CHECK_TOOL for it.
27996 (libc_extra_cflags): New substituted variable.
27997 Check for -fstack-protector being used implicitly.
27998 * configure: Regenerated.
27999 * config.make.in (config-extra-cflags): New variable,
28000 gets @libc_extra_cflags@.
28001 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28002
61653dfb
RM
28003 [BZ #10375]
28004 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28005 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28006 * configure: Regenerated.
28007 * config.make.in (CPPUNDEFS): New substituted variable.
28008 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28009 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28010 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28011
661768bb
L
280122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28013
28014 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28015 (mq_attr): Use __syscall_slong_t.
28016
d4261567
L
280172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28018
28019 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28020 Check __x86_64__ instead of __WORDSIZE.
28021 (_STAT_VER_LINUX): Likewise.
28022 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28023 __syscall_ulong_t and __syscall_slong_t.
28024 (stat64): Likewise.
28025
cf3ff365
L
280262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28027
28028 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28029
76cf3e4d
L
280302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28031
28032 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28033
a637753a
L
280342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28035
28036 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28037 __syscall_ulong_t.
28038
d5e05119
L
28039 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28040 include <bits/wordsize.h>. Check __x86_64__ instead of
28041 __WORDSIZE.
28042 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28043 defined.
28044 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28045
f62ee380
L
28046 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28047 include <bits/wordsize.h>. Check __x86_64__ instead of
28048 __WORDSIZE.
28049 (user_regs_struct): Use "__extension__ unsigned long long"
28050 instead of "unsigned long" if __x86_64__ is defined.
28051 (user): Likewise. Pad after pointer field if __ILP32__ is
28052 defined.
28053
4e124ced
JM
280542012-05-16 Joseph Myers <joseph@codesourcery.com>
28055
6a3951a0
JM
28056 * configure.in (makeinfo): Require version 4.5 or later. Allow
28057 versions 5 to 9.
28058 * configure: Regenerated.
28059 * manual/install.texi (texinfo): Increase version requirement to
28060 4.5 or later.
28061 * INSTALL: Regenerated.
28062
4e124ced
JM
28063 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28064
953ca31a
L
280652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28066
28067 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28068
617aca05
L
28069 * sysdeps/x86_64/x32/ffs.c: New file.
28070
5762f7ae
L
28071 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28072 __syscall_ulong_t.
28073 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28074 defined. Use __syscall_ulong_t.
28075 (shminfo): Use __syscall_ulong_t.
28076 (shm_info): Likewise.
28077
a26b6856
L
28078 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28079 __syscall_ulong_t.
28080
cb2b9ef7
L
28081 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28082 <bits/wordsize.h>.
28083 (msgqnum_t): Use __syscall_ulong_t.
28084 (msglen_t): Likewise.
28085 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28086 __syscall_ulong_t.
28087
34683bb0
L
28088 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28089 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28090
84a68786
L
28091 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28092
48baa5f1
L
28093 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28094 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28095
180be88b
L
28096 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28097 __syscall_slong_t.
28098
5e90c8ad
L
28099 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28100 include <bits/wordsize.h>. Check __x86_64__ instead of
28101 __WORDSIZE.
28102
23dfb58b
L
28103 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28104 "unsigned long long int" if __x86_64__ is defined.
28105 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28106
ce5d54b0
L
28107 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28108 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28109 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28110
13dc9eac
L
28111 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28112 <stdint.h>.
28113 (GET_PC): Cast to uintptr_t first.
28114 (GET_FRAME): Likewise.
28115 (GET_STACK): Likewise.
28116
a7895d15
L
28117 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28118 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28119 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28120 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28121 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28122 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28123 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28124 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28125 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28126 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28127 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28128 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28129 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28130 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28131 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28132 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28133 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28134 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28135 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28136 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28137 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28138 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28139 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28140 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28141 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28142 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28143 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28144 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28145 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28146
656416c9
AS
281472012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28148
5bd66283
AS
28149 * Makerules (+depfiles): Also collect depfiles from .oS in
28150 $(extra-objs).
28151 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28152 .oS, $(libnldbl-routines)).
28153
656416c9
AS
28154 * Makerules (native-compile-mkdep-flags): Define.
28155 * sunrpc/Makefile (extra-objs): Add $(addprefix
28156 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28157 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28158 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28159 calling $(make-target-directory).
28160
a46f2169
L
281612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28162
28163 * bits/types.h (__snseconds_t): Removed.
28164 * time/time.h (struct timespec): Replace __snseconds_t with
28165 __syscall_slong_t.
28166 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28167 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28168 Likewise.
28169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28170 (__SNSECONDS_T_TYPE): Likewise.
28171 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28172 (__SNSECONDS_T_TYPE): Likewise.
28173 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28174 (__SNSECONDS_T_TYPE): Likewise.
28175
6af6528b
L
281762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28177
28178 * sysdeps/mach/hurd/bits/typesizes.h
28179 (__SYSCALL_SLONG_TYPE): New macro.
28180 (__SYSCALL_ULONG_TYPE): Likewise.
28181
de986b56
L
281822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28183
28184 * bits/types.h (__syscall_slong_t): New type.
28185 (__syscall_ulong_t): Likewise.
28186
28187 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28188 (__SYSCALL_ULONG_TYPE): Likewise.
28189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28190 (__SYSCALL_SLONG_TYPE): Likewise.
28191 (__SYSCALL_ULONG_TYPE): Likewise.
28192 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28193 (__SYSCALL_SLONG_TYPE): Likewise.
28194 (__SYSCALL_ULONG_TYPE): Likewise.
28195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28196 (__SYSCALL_SLONG_TYPE): Likewise.
28197 (__SYSCALL_ULONG_TYPE): Likewise.
28198
85736dc7
L
281992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28200
28201 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28202 Add sigaltstack-offsets.sym.
28203 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28204 <sigaltstack-offsets.h>.
28205 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28206 longjmp_msg pointer.
28207 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28208 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28209 signal stack.
28210 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28211
cc03b296
JM
282122012-05-15 Joseph Myers <joseph@codesourcery.com>
28213
a9538892
JM
28214 * elf/stackguard-macros.h: Remove file.
28215 * sysdeps/generic/stackguard-macros.h: New file.
28216 * sysdeps/i386/stackguard-macros.h: Likewise.
28217 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28218 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28219 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28220 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28221 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28222 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28223 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28224 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28225 <elf/stackguard-macros.h>.
28226
cc03b296
JM
28227 [BZ #14109]
28228 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28229 __aligned__ in attribute.
28230 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28231 (gregset_t): Likewise.
28232
93171016
L
282332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28234
28235 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28236 * sysdeps/x86_64/64/Implies-after: Here. New file.
28237 * sysdeps/x86_64/x32/Implies-after: New file.
28238
d86813a0
L
282392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28240
28241 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28242 and access return value for _dl_profile_fixup. Use R10_LP to
28243 load frame size.
28244
2953ec75
L
282452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28246
28247 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28248
3b550e9e
L
282492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28250
28251 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28252 * sysdeps/x86_64/x32/sysdep.h: New file.
28253
eda41706
L
282542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28255
28256 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28257 * sysdeps/x86_64/setjmp.S: Likewise.
28258
9ea01d93
AZ
282592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28260
28261 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28262 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28263 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28264 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28265 remove unused global constant.
28266
02a91938
CM
282672012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28268
28269 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28270 include of <not-cancel.h>.
28271
6540185f
RM
282722012-05-15 Roland McGrath <roland@hack.frob.com>
28273
28274 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28275
509072a0
AJ
282762012-05-15 Jeff Law <law@redhat.com>
28277 Andreas Jaeger <aj@suse.de>
28278
28279 [BZ #13594]
28280 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28281 out from...
28282 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28283 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28284 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28285 code changing __hst_map_handle.map.
28286
ba75122d
RM
282872012-05-15 Roland McGrath <roland@hack.frob.com>
28288
28289 * configure.in (sysnames): Look for Implies-before and Implies-after
28290 files.
28291 * configure: Regenerated.
28292
890d8bd8
L
282932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28294
28295 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28296 8-byte data alignment with LP_SIZE alignment.
28297
f6ee6623
L
282982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28299
28300 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28301 into R10_LP.
28302
ea2626f6
L
283032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28304
28305 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28306
085f715e
L
283072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28308
28309 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28310 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28311 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28312 Likewise.
28313 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28314
be8498fc
L
283152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28316
28317 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28318 (stackinfo_sub_sp): Likewise.
28319
70bc83b9
L
283202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28321
28322 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28323 RAX_LP.
28324
9bc0b730
L
283252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28326
28327 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28328 into R*_LP.
28329
6d2850e7
L
283302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28331
28332 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28333 sizes into R*_LP.
28334
3cb84561
L
283352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28336
28337 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28338
54e2ed81
L
283392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28340
28341 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28342 into R11_LP and load __x86_64_shared_cache_size_half into
28343 R8_LP.
28344
8a17f349
L
283452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28346
28347 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28348 R8_LP.
28349
777b1eea
AZ
283502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28351
28352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28353 logb for POWER7.
28354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28355 logbf for POWER7.
28356 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28357 logbl for POWER7.
28358 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28359 powerpc32/power7/fpu/s_logb.c via #include.
28360 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28361 powerpc32/power7/fpu/s_logbf.c via #include.
28362 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28363 powerpc32/power7/fpu/s_logbl.c via #include.
28364
d20d4ac2
JM
283652012-05-15 Joseph Myers <joseph@codesourcery.com>
28366
28367 * README.libm: Remove file.
28368
6cdef1ab
L
283692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28370
28371 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28372 count for x32. Use R*_LP and omit operand-size suffix.
28373
0b254d8f
L
283742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28375
28376 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28377 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28378 * sysdeps/x86_64/x32/shlib-versions: New file.
28379
ceb809dc
RM
283802012-05-14 Roland McGrath <roland@hack.frob.com>
28381
28382 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28383 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28384 Use _dl_fatal_printf instead.
28385
37f1abd4
JM
283862012-05-14 Joseph Myers <joseph@codesourcery.com>
28387
28388 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28389 set if not set by the user. Do not allow for being unset.
28390 * sysdeps/unix/sysv/linux/configure: Regenerated.
28391
11de3a33
L
283922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28393
28394 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28395 the `q' suffix from lea and replace .quad with ASM_ADDR.
28396
e02f153a
L
283972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28398
28399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28400 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28401 instead of $17.
28402 (PTR_DEMANGLE): Likewise.
28403
520ae0fd
L
284042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28405
28406 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28407 (LP_OP): Likewise.
28408 (ASM_ADDR): Likewise.
28409 (RAX_LP): Likewise.
28410 (RBP_LP): Likewise.
28411 (RBX_LP): Likewise.
28412 (RCX_LP): Likewise.
28413 (RDI_LP): Likewise.
28414 (RSI_LP): Likewise.
28415 (RSP_LP): Likewise.
28416 (R8_LP): Likewise.
28417 (R9_LP): Likewise.
28418 (R10_LP): Likewise.
28419 (R10_LP): Likewise.
28420 (R11_LP): Likewise.
28421 (R12_LP): Likewise.
28422 (R13_LP): Likewise.
28423 (R14_LP): Likewise.
28424 (R15_LP): Likewise.
28425
b985be81
L
284262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28427
28428 * sysdeps/x86_64/x32/dl-machine.h: New file.
28429
6a4888ff
AJ
284302012-05-14 Andreas Jaeger <aj@suse.de>
28431
28432 * manual/Makefile (subdir): Remove export of subdir.
28433 (all): Remove target.
28434 (.PHONY): Remove all from list.
28435 (mkinstalldirs): Remove.
28436 (.PHONY): Remove installdirs from list.
28437 ($(inst_infodir)/libc.info): Use make-target-directory.
28438 (installdirs): Remove.
28439 (subdir_%): Remove.
28440 (glibc-targets): Remove.
28441 (lib): Remove.
28442 (stubs): Remove.
28443 ($(objpfx)stubs ../po/manual.pot): Remove.
28444 ($(objpfx)stamp%): Remove.
28445 (make-target-directory): Remove.
28446 (subdir_install): Remove.
28447 (routines): Remove.
28448 (aux): Remove.
28449 (sources): Remove.
28450 (objects): Remove.
28451 (headers): Remove.
28452
28453 [BZ #13750]
28454 * manual/.gitignore: Remove, it's not needed anymore.
28455 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28456 all files in it.
28457 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28458 directory.
28459 (texis): Renamed to $(objpfx)texis.
28460 (texis-path): New, contains path to generated files.
28461 (chapters.%): Use texis-path for complete path, add extra argument
28462 libc-texinfo.sh.
28463 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28464 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28465 (summary,texi, stamp-summary): Use complete path of
28466 files. Generate files in build dir.
28467 (dir-add.texi): Build in build dir.
28468 (libm-err.texi,stamp-libm-err): Likewise.
28469 (version.texi, stamp-version): Likewise.
28470 (.%c.texi): Likewise.
28471 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28472 (mostlyclean): Remove target.
28473 (realclean): Remove target.
28474 (generated): Add new variable with contents from mostlyclean and
28475 realclean, remove entries duplicated in common-mostlyclean, add
28476 stamp-libm-err and stamp-version.
28477 (generated-dirs): Add libc directory.
28478 ($(inst_infodir)/libc.info): Install files from build dir.
28479
28480 * manual/install.texi (Configuring and compiling): Adjust since
28481 the info files are not part of the tar ball anymore.
28482
7ac77294
AJ
284832012-05-14 Andreas Jaeger <aj@suse.de>
28484
28485 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28486 variable.
28487
ffb7875d
JM
284882012-05-14 Joseph Myers <joseph@codesourcery.com>
28489
28490 [BZ #13717]
28491 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28492 to 2.2.0 where earlier.
28493 * sysdeps/unix/sysv/linux/configure: Regenerated.
28494 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28495 Remove conditional code.
28496 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28497 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28498 Remove conditional code.
28499 [!__NR_lchown]: Likewise.
28500 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28501 [__NR_lchown]: Likewise.
28502 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28503 comment referencing __ASSUME_LCHOWN_SYSCALL.
28504 * sysdeps/unix/sysv/linux/i386/sigaction.c
28505 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28506 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28507 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28508 Remove conditional code.
28509 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28510 (__protocol_available): Remove #if 0 code.
28511 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28512 conditional code.
28513 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28514 * sysdeps/unix/sysv/linux/kernel-features.h
28515 (__ASSUME_GETCWD_SYSCALL): Don't define.
28516 (__ASSUME_REALTIME_SIGNALS): Likewise.
28517 (__ASSUME_PREAD_SYSCALL): Likewise.
28518 (__ASSUME_PWRITE_SYSCALL): Likewise.
28519 (__ASSUME_POLL_SYSCALL): Likewise.
28520 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28521 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28522 non-SPARC.
28523 (__ASSUME_SIOCGIFNAME): Don't define.
28524 (__ASSUME_MSG_NOSIGNAL): Likewise.
28525 (__ASSUME_SENDFILE): Define unconditionally.
28526 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28527 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28528 conditional code.
28529 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28530 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28531 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28532 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28533 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28534 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28535 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28537 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28540 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28541 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28543 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28546 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28547 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28549 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28550 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28552 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28553 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28555 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28558 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28559 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28560 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28561 Remove conditional code.
28562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28563 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28564 Remove conditional code.
28565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28566 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28567 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28568 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28569 Remove conditional code.
28570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28571 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28572 Remove conditional code.
28573 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28574 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28575 Remove conditional code.
28576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28577 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28578 Remove conditional code.
28579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28580 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28581 Remove conditional code.
28582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28583 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28584 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28585 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28586 * sysdeps/unix/sysv/linux/sigaction.c
28587 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28588 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28589 * sysdeps/unix/sysv/linux/sigpending.c
28590 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28591 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28592 * sysdeps/unix/sysv/linux/sigprocmask.c
28593 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28594 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28595 * sysdeps/unix/sysv/linux/sigsuspend.c
28596 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28597 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28598 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28599 (__libc_missing_rt_sigs): Remove.
28600 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28601 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28602 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28603 Remove conditional code.
28604 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28605 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28606 return 1.
28607 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28608 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28609 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28610 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28611
1bfb7291
AJ
286122012-05-14 Andreas Jaeger <aj@suse.de>
28613
caae5a81
AJ
28614 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28615 it's not used in glibc.
28616 (__coshm1): Likewise.
28617 (__acosh1p): Likewise.
28618 (__sgn): Likewise.
28619
1bfb7291
AJ
28620 * manual/string.texi (Copying and Concatenation): Add missing
28621 variable in concat example.
28622 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28623
c044d724
L
286242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28625
144c5467 28626 [BZ #14103]
c044d724
L
28627 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28628 __builtin_clzl with __builtin_clzll.
28629
2523c62b
L
286302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28631
28632 [BZ #14104]
28633 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28634 libc_freeres_ptr.
28635
d7bb4c42
LD
286362012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28637
28638 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28639 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28640 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28641 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28642
9dc4e1fb
MF
286432012-05-14 Mike Frysinger <vapier@gentoo.org>
28644
28645 * NEWS: Update ia64 info.
28646
c7df0112
AS
286472012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28648
28649 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28650 used as bcopy.
28651
dc70356c
TS
286522012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28653
28654 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28655 * sysdeps/unix/syscalls.list (dup3): Likewise.
28656 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28657 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28658
9fb1a21f
L
286592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28660
28661 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28662 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28663
4822a2a5
L
286642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28665
28666 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28667 thread pointer.
28668 (TLS_IE): Use mov/add instead of movq/addq to load thread
28669 pointer.
28670 (TLS_GD_PREFIX): New.
28671 (TLS_GD): Use it.
28672
842b81d6
DM
286732012-05-11 David S. Miller <davem@davemloft.net>
28674
28675 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28676 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28677 (_FPU_SETCW): Likewise.
28678
1cf463cd
L
286792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28680
28681 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28682 is 32-byte aligned.
28683
60cc4a18
AS
286842012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28685
28686 [BZ #11837]
28687 * iconvdata/gb18030.c: Update tables.
28688 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28689 characters specially.
28690 (BODY for TO_LOOP): Add encoding of missing ranges.
28691
febb44a4
TS
286922012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28693
28694 [BZ #13673]
28695 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28696 * sysdeps/mach/hurd/dup3.c: Likewise.
28697 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28698 * sysdeps/powerpc/memmove.c:: Likewise.
28699
0a10fb9e
L
287002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28701
28702 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28703 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28704
df8a552f
L
287052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28706
28707 * elf/elf.h (R_X86_64_RELATIVE64): New.
28708 (R_X86_64_NUM): Updated.
28709 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28710 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28711 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28712 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28713 tst-quad1pie tst-quad2pie
28714 (modules-names): Add tst-quadmod1 tst-quadmod2.
28715 ($(objpfx)tst-quad1): New dependency.
28716 ($(objpfx)tst-quad2): Likewise.
28717 ($(objpfx)tst-quad1pie): Likewise.
28718 ($(objpfx)tst-quad2pie): Likewise.
28719 * sysdeps/x86_64/tst-quad1.c: New file.
28720 * sysdeps/x86_64/tst-quad1pie.c: New file.
28721 * sysdeps/x86_64/tst-quad2.c: Likewise.
28722 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28723 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28724 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28725 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28726 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28727
f34d6f84
ST
287282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28729
f42d41d1
ST
28730 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28731 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28732 * streams/stropts.h (t_scalar_t): Define type.
28733
3c3571fc
ST
28734 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28735 (_PATH_PRESERVE): Set to "/var/lib".
28736 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28737
61f06bd3
ST
28738 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28739 instead of int.
28740
918d4d71
ST
28741 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28742 if __dir_mkfile succeeded.
28743
f34d6f84
ST
28744 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28745 checking for _hurd_dtablesize. Unlock it right after having
28746 finished _hurd_dtable allocation.
28747
10589b4a
TS
287482012-05-10 Thomas Schwinge <thomas@schwinge.name>
28749
674cdbc7
TS
28750 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28751 * sysdeps/mach/hurd/configure: Regenerated.
28752 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28753 special-casing to...
28754 * sysdeps/gnu/configure.in: ... this new file.
28755 * sysdeps/unix/sysv/linux/configure: Regenerated.
28756 * sysdeps/gnu/configure: New generated file.
28757
8e41b99f
TS
28758 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28759 for Linux: use nsec instead of usec, as well as:
28760 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28761 members of type struct timespec.
28762 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28763 New macros.
28764 (struct stat64): Likewise.
28765 (_STATBUF_ST_NSEC): New macro.
28766 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28767
10589b4a
TS
28768 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28769 __strtoul_internal rather than strtoul.
28770
63643c85
PT
287712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28772
28773 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28774 and reject them.
28775
3faebe6a
ST
287762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28777
28778 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28779 which preserves existing values.
28780 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28781
c6474b07
PT
287822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28783
28784 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28785 TIMEOUT values. Return EINVAL for NFDS values either negative or
28786 greater than FD_SETSIZE.
28787
1043890b
ST
287882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28789
28790 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28791 allocated, call __vm_protect to finish enabling the existing space, and
28792 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28793 allocate the remainder.
28794
37ed8b9b
PT
287952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28796
28797 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28798 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28799
db653660
ST
288002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28801
37ed8b9b
PT
28802 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28803 sysdeps/mach/hurd/readlink.c.
b29d4053 28804
db653660
ST
28805 * posix/tst-sysconf.c (posix_options): Only use
28806 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28807 _POSIX_SYNCHRONIZED_IO when they are defined
28808 * sysdeps/mach/hurd/bits/posix_opt.h:
28809 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28810 (_XOPEN_REALTIME): Undefine macro.
28811 (_XOPEN_REALTIME_THREADS): Undefine macro.
28812 (_XOPEN_SHM): Undefine macro.
28813 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28814 macro to -1.
28815 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28816 macro to -1.
28817 (_POSIX_ASYNC_IO): Undefine macro.
28818 (_POSIX_PRIORITIZED_IO): Undefine macro.
28819 (_POSIX_SPIN_LOCKS): Define macro to -1.
28820
ee16e894
ST
28821 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28822 SA_NODEFER, SA_RESETHAND.
28823 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28824 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28825 F_DUPFD_CLOEXEC.
28826
6103ae3b
TS
288272012-05-10 Thomas Schwinge <thomas@schwinge.name>
28828
28829 * elf/Makefile (pldd-modules): Define unconditionally.
28830
80b4e5f3
TS
288312012-05-10 Thomas Schwinge <thomas@schwinge.name>
28832
28833 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28834
edadcbd6
ST
288352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28836
28837 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28838 Return ENOENT when name is empty.
28839 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28840
80694780
TS
288412012-05-10 Thomas Schwinge <thomas@schwinge.name>
28842
1792c087
TS
28843 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28844
80694780
TS
28845 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28846
6b645f0d
ST
288472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28848
80694780
TS
28849 Fix mlock in all cases except non-readable pages.
28850 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28851 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28852
6b645f0d
ST
28853 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28854 (__mkdir): When path is `/', just fail with EEXIST.
28855 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28856
e468f8a3
TS
288572012-05-10 Thomas Schwinge <thomas@schwinge.name>
28858
28859 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28860 <sys/uio.h> (for writev).
28861 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28862 and <sys/param.h> (for MIN).
28863
a4186cff
PT
288642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28865
28866 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28867 REQUESTED_TIME. Properly set the remaining time and return EINTR
28868 if interrupted.
28869
510bbf14
TS
288702012-05-10 Thomas Schwinge <thomas@schwinge.name>
28871
28872 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28873 Depend on against $(link-rpcuserlibs).
28874
5d5722e8
ST
288752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28876
a4186cff
PT
28877 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28878 (__libc_stack_end): Do not use attribute_relro.
28879 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28880 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28881 to libthread-provided value.
a4186cff
PT
28882 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28883 attribute_relro.
5d5722e8 28884
37233df9
TS
288852012-05-10 Thomas Schwinge <thomas@schwinge.name>
28886
be971a2b
TS
28887 [BZ #3748]
28888 * bits/libc-lock.h (__libc_once_get): New macro.
28889 * sysdeps/mach/bits/libc-lock.h: Likewise.
28890 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28891 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28892 instead of using implementation details.
28893
37233df9
TS
28894 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28895 * libio/freopen.c: Likewise.
28896 * libio/freopen64.c: Likewise.
28897 * misc/syslog.c: Likewise.
28898 * nscd/connections.c: Likewise.
28899 * nscd/netgroupcache.c: Likewise.
28900 * sysdeps/posix/getcwd.c: Likewise.
28901
38de94a5
RM
289022012-05-10 Roland McGrath <roland@hack.frob.com>
28903
28904 * math/w_ilogbf.c: Add #include <limits.h>.
28905
67530489
ST
289062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28907
a4186cff 28908 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
28909 path instead of returning without unlocking.
28910
67530489
ST
28911 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28912 immediate-write ioctls.
28913 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28914
5aa3a74a
TS
289152012-05-10 Thomas Schwinge <thomas@schwinge.name>
28916
18bad2ae
TS
28917 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28918 __builtin_frame_address instead of making assumptions about the
28919 location of the return address relative to DATA. Force early load of
28920 the return address.
28921 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28922 __builtin_frame_address.
28923
5aa3a74a
TS
28924 dup3 for GNU Hurd.
28925 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28926 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28927 implement dup3 and do some further code clean-ups.
28928 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28929 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28930
ecd0de9a
ST
289312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28932
cd9fa985
ST
28933 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28934
a4186cff
PT
28935 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28936 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28937 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28938 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28939 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28940 d->port.lock.
802ca5a5 28941
a4186cff
PT
28942 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28943 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28944 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 28945
bcf55240
TS
289462012-05-10 Thomas Schwinge <thomas@schwinge.name>
28947
6960eb42
TS
28948 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28949 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28950 definitions.
28951
eb43375f
TS
28952 accept4 for GNU Hurd.
28953 * include/sys/socket.h (__libc_accept4): New prototype.
28954 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28955 to implement __libc_accept4.
28956 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28957 __libc_accept4.
28958 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28959
bcf55240
TS
28960 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28961 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28962 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28963 signal-defines.sym.
28964
6178c55b
ST
289652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28966
a4186cff 28967 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 28968
6f080c2f
TS
289692012-05-10 Thomas Schwinge <thomas@schwinge.name>
28970
28971 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28972 assertion on O_CLOEXEC flag.
28973 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28974 * hurd/intern-fd.c: Likewise.
28975 * hurd/port2fd.c: Likewise.
28976
bcfe3a54
ST
289772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28978
28979 [BZ #3906]
28980 * bits/in.h (IPV6_PKTINFO): Define new macro.
28981 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28982
89c9aa49
AZ
289832012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28984
28985 [BZ #13954]
28986 [BZ #13955]
28987 [BZ #13956]
28988 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28990 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28991 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28992 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28993 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28994 * math/libm-test.inc (logb_test) : Additional logb tests.
28995
021db4be
AJ
289962012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28997 Andreas Jaeger <aj@suse.de>
28998
28999 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29000 * configure: Regenerated.
29001 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29002 * config.make.in (link-obsolete-rpc): New substituted variable.
29003 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29004 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29005 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29006 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29007 so that libc.a contains the symbols.
29008 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29009 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29010 * sunrpc/auth_none.c: Likewise.
29011 * sunrpc/auth_unix.c: Likewise.
29012 * sunrpc/authdes_prot.c: Likewise.
29013 * sunrpc/authuxprot.c: Likewise.
29014 * sunrpc/clnt_gen.c: Likewise.
29015 * sunrpc/clnt_perr.c: Likewise.
29016 * sunrpc/clnt_raw.c: Likewise.
29017 * sunrpc/clnt_simp.c: Likewise.
29018 * sunrpc/clnt_tcp.c: Likewise.
29019 * sunrpc/clnt_udp.c: Likewise.
29020 * sunrpc/clnt_unix.c: Likewise.
29021 * sunrpc/des_crypt.c: Likewise.
29022 * sunrpc/des_soft.c: Likewise.
29023 * sunrpc/get_myaddr.c: Likewise.
29024 * sunrpc/key_call.c: Likewise.
29025 * sunrpc/key_prot.c: Likewise.
29026 * sunrpc/netname.c: Likewise.
29027 * sunrpc/pm_getmaps.c: Likewise.
29028 * sunrpc/pm_getport.c: Likewise.
29029 * sunrpc/pmap_clnt.c: Likewise.
29030 * sunrpc/pmap_prot.c: Likewise.
29031 * sunrpc/pmap_prot2.c: Likewise.
29032 * sunrpc/pmap_rmt.c: Likewise.
29033 * sunrpc/publickey.c: Likewise.
29034 * sunrpc/rpc_cmsg.c: Likewise.
29035 * sunrpc/rpc_common.c: Likewise.
29036 * sunrpc/rpc_dtable.c: Likewise.
29037 * sunrpc/rpc_prot.c: Likewise.
29038 * sunrpc/rpc_thread.c: Likewise.
29039 * sunrpc/rtime.c: Likewise.
29040 * sunrpc/svc.c: Likewise.
29041 * sunrpc/svc_auth.c: Likewise.
29042 * sunrpc/svc_raw.c: Likewise.
29043 * sunrpc/svc_run.c: Likewise.
29044 * sunrpc/svc_tcp.c: Likewise.
29045 * sunrpc/svc_udp.c: Likewise.
29046 * sunrpc/svc_unix.c: Likewise.
29047 * sunrpc/svcauth_des.c: Likewise.
29048 * sunrpc/xcrypt.c: Likewise.
29049 * sunrpc/xdr.c: Likewise.
29050 * sunrpc/xdr_array.c: Likewise.
29051 * sunrpc/xdr_float.c: Likewise.
29052 * sunrpc/xdr_intXX_t.c: Likewise.
29053 * sunrpc/xdr_mem.c: Likewise.
29054 * sunrpc/xdr_rec.c: Likewise.
29055 * sunrpc/xdr_ref.c: Likewise.
29056 * sunrpc/xdr_sizeof.c: Likewise.
29057 * sunrpc/xdr_stdio.c: Likewise.
29058
b5c086a2
RM
290592012-05-10 Roland McGrath <roland@hack.frob.com>
29060
29061 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29062 change. Update copyright years.
29063
6d74dd09
JM
290642012-05-10 Joseph Myers <joseph@codesourcery.com>
29065
29066 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29067
28e72501
MK
290682012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29069 Joseph Myers <joseph@codesourcery.com>
29070 Paul Pluzhnikov <ppluzhnikov@google.com>
29071
29072 [BZ #14012]
29073 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29074 requiring rpcgen.
29075 [cross-compiling] (extra-libs): Likewise.
29076 [cross-compiling] (extra-libs-others): Likewise.
29077 [cross-compiling] (librpcsvc-routines): Likewise.
29078 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29079 [cross-compiling] (omit-deps): Likewise.
29080 (sunrpc-CPPFLAGS): New variable.
29081 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29082 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29083 (cross-rpcgen-objs): New variable.
29084 (extra-objs): Append $(cross-rpcgen-objs).
29085 ($(cross-rpcgen-objs)): New rule.
29086 ($(objpfx)cross-rpcgen): Likewise.
29087 (rpcgen-cmd): Define to use $(built-program-file). Expand
29088 comment.
29089 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29090 ($(objpfx)x%.stmp): Likewise.
29091 * sunrpc/proto.h [IS_IN_build] (_): Define.
29092 [IS_IN_build] (_libc_intl_domainname): Likewise.
29093
c8c59454
L
290942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29095
29096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29097 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29098 and R_X86_64_TPOFF64.
29099
6f27cd16
JM
291002012-05-10 Joseph Myers <joseph@codesourcery.com>
29101
29102 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29103 sysdeps/unix/sysv/syscalls.list.
29104 (stime): Likewise.
29105 (utime): Likewise.
29106 * sysdeps/unix/sysv/syscalls.list: Remove file.
29107
02467e1c
PE
291082012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29109
29110 [BZ #3440]
29111 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29112 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29113 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29114 (__LC_IDENTIFICATION): Make these macros useful in #if
29115 expressions, as required by C99.
29116
da392631
AS
291172012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29118
29119 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29120 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29121 after this.
29122
8115f29b
L
291232012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29124
29125 * stdlib/longlong.h: Updated from GCC.
29126
bdd74070
AJ
291272012-05-09 Andreas Jaeger <aj@suse.de>
29128
edfe0dbe
AJ
29129 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29130 default is first entry.
29131 (run_mode): Set type.
29132 (main): Remove informal message about syslog.
29133 (options): Fix typo.
29134
bcfe3a54
ST
29135 [BZ #14053]
29136 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29137 to asm.
bcfe3a54
ST
29138 (lrint): Likewise.
29139 (llrintf): Likewise.
29140 (llrint): Likewise.
29141 (rint): Likewise.
29142 (rintf): Likewise.
29143 (nearbyint): Likewise.
29144 (nearbyintf): Likewise.
bdd74070 29145
91d8d69e
AJ
291462012-05-09 Andreas Jaeger <aj@suse.de>
29147 Pedro Alves <palves@redhat.com>
29148
29149 * nscd/nscd.c (run_mode): Use enum.
29150 (main): Cleanup coding style issue.
29151
bb90b80b
AJ
291522012-05-09 Alexandre Oliva <aoliva@redhat.com>
29153 Andreas Jaeger <aj@suse.de>
29154
bcfe3a54
ST
29155 * nscd/nscd.c (go_background): Replaced with...
29156 (run_mode): ... this.
bb90b80b 29157 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29158 (options): Add -F --foreground.
29159 (main): Implement it.
29160 (parse_opt): Parse it.
bb90b80b 29161
1a4b75a1
AJ
291622012-05-09 Andreas Jaeger <aj@suse.de>
29163
29164 [BZ #14083]
29165 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29166 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29167 -Wconversion warning.
29168 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29169 Likewise.
29170
b1cc2472
JM
291712012-05-09 Joseph Myers <joseph@codesourcery.com>
29172
29173 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29174 == 0.
29175 (LC_ALL): Use macro-int-constant.
29176 (LC_COLLATE): Likewise.
29177 (LC_CTYPE): Likewise.
29178 (LC_MESSAGES): Likewise.
29179 (LC_MONETARY): Likewise.
29180 (LC_NUMERIC): Likewise.
29181 (LC_TIME): Likewise.
29182 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29183 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29184 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29185 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29186 Specify type.
29187 [C99-based standards] (float_t): Expect type.
29188 [C99-based standards] (double_t): Expect type.
29189 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29190 type.
29191 [C99-based standards] (HUGE_VALL): Likewise.
29192 [C99-based standards] (INFINITY): Likewise.
29193 [C99-based standards] (NAN): Likewise.
29194 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29195 [C99-based standards] (FP_NAN): Likewise.
29196 [C99-based standards] (FP_NORMAL): Likewise.
29197 [C99-based standards] (FP_SUBNORMAL): Likewise.
29198 [C99-based standards] (FP_ZERO): Likewise.
29199 [C99-based standards] (FP_FAST_FMA): Use
29200 optional-macro-int-constant. Specify type. Require == 1.
29201 [C99-based standards] (FP_FAST_FMAF): Likewise.
29202 [C99-based standards] (FP_FAST_FMAL): Likewise.
29203 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29204 [C99-based standards] (FP_ILOGBNAN): Likewise.
29205 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29206 Specify type.
29207 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29208 [C99-based standards] (math_errhandling): Specify type.
29209 [ISO99 || ISO11] (signgam): Do not allow.
29210 [non-C99-based standards] (copysignf): Do not allow.
29211 [non-C99-based standards] (exp2f): Likewise.
29212 [non-C99-based standards] (log2f): Likewise.
29213 [non-C99-based standards] (modff): Allow.
29214 [non-C99-based standards] (erff): Do not allow.
29215 [non-C99-based standards] (erfcf): Likewise.
29216 [non-C99-based standards] (gammaf): Likewise.
29217 [non-C99-based standards] (hypotf): Likewise.
29218 [non-C99-based standards] (j0f): Likewise.
29219 [non-C99-based standards] (j1f): Likewise.
29220 [non-C99-based standards] (jnf): Likewise.
29221 [non-C99-based standards] (lgammaf): Likewise.
29222 [non-C99-based standards] (tgammaf): Likewise.
29223 [non-C99-based standards] (y0f): Likewise.
29224 [non-C99-based standards] (y1f): Likewise.
29225 [non-C99-based standards] (ynf): Likewise.
29226 [non-C99-based standards] (isnanf): Likewise.
29227 [non-C99-based standards] (acoshf): Likewise.
29228 [non-C99-based standards] (asinhf): Likewise.
29229 [non-C99-based standards] (atanhf): Likewise.
29230 [non-C99-based standards] (cbrtf): Likewise.
29231 [non-C99-based standards] (expm1f): Likewise.
29232 [non-C99-based standards] (ilogbf): Likewise.
29233 [non-C99-based standards] (log1pf): Likewise.
29234 [non-C99-based standards] (logbf): Likewise.
29235 [non-C99-based standards] (nextafterf): Likewise.
29236 [non-C99-based standards] (remainderf): Likewise.
29237 [non-C99-based standards] (rintf): Likewise.
29238 [non-C99-based standards] (scalbf): Likewise.
29239 [non-C99-based standards] (copysignl): Likewise.
29240 [non-C99-based standards] (exp2l): Likewise.
29241 [non-C99-based standards] (log2l): Likewise.
29242 [non-C99-based standards] (modfl): Allow.
29243 [non-C99-based standards] (erfl): Do not allow.
29244 [non-C99-based standards] (erfcl): Likewise.
29245 [non-C99-based standards] (gammal): Likewise.
29246 [non-C99-based standards] (hypotl): Likewise.
29247 [non-C99-based standards] (j0l): Likewise.
29248 [non-C99-based standards] (j1l): Likewise.
29249 [non-C99-based standards] (jnl): Likewise.
29250 [non-C99-based standards] (lgammal): Likewise.
29251 [non-C99-based standards] (tgammal): Likewise.
29252 [non-C99-based standards] (y0l): Likewise.
29253 [non-C99-based standards] (y1l): Likewise.
29254 [non-C99-based standards] (ynl): Likewise.
29255 [non-C99-based standards] (isnanl): Likewise.
29256 [non-C99-based standards] (acoshl): Likewise.
29257 [non-C99-based standards] (asinhl): Likewise.
29258 [non-C99-based standards] (atanhl): Likewise.
29259 [non-C99-based standards] (cbrtl): Likewise.
29260 [non-C99-based standards] (expm1l): Likewise.
29261 [non-C99-based standards] (ilogbl): Likewise.
29262 [non-C99-based standards] (log1pl): Likewise.
29263 [non-C99-based standards] (logbl): Likewise.
29264 [non-C99-based standards] (nextafterl): Likewise.
29265 [non-C99-based standards] (remainderl): Likewise.
29266 [non-C99-based standards] (rintl): Likewise.
29267 [non-C99-based standards] (scalbl): Likewise.
29268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29269 [non-C99-based standards] (FP_*): Do not allow.
29270 [C99-based standards] (FP_*): Change to
29271 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29272 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29273 allow.
29274 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29275 (SIG_ERR): Likewise.
29276 [X/Open-based standards] (SIG_HOLD): Likewise.
29277 (SIG_IGN): Likewise.
29278 (SIGABRT): Use macro-int-constant. Specify type. Require
29279 positive value.
29280 (SIGFPE): Likewise.
29281 (SIGILL): Likewise.
29282 (SIGINT): Likewise.
29283 (SIGSEGV): Likewise.
29284 (SIGTER): Likewise.
29285 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29286 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29287 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29288 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29289 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29290 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29291 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29292 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29293 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29294 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29295 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29296 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29297 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29298 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29299 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29300 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29301 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29302 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29303 [X/Open-based standards] (SIGTRAP): Likewise.
29304 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29305 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29306 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29307 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29308 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29309 allow.
29310
b9f1922d
IW
293112012-05-08 Ian Wienand <ianw@vmware.com>
29312
29313 [BZ #14080]
29314 * time/tzset.c (__tzset_parse_tz): Update default rules for
29315 daylight time changes in the Energy Policy Act of 2005.
29316
1db86e88
AJ
293172012-05-09 Andreas Jaeger <aj@suse.de>
29318
29319 [BZ #13983]
29320 * elf/ldconfig.c (parse_conf): Change string to make clear that
29321 ldconfig only issued a warning if ld.so.conf does not exist.
29322
dee4a4e3
DM
293232012-05-08 David S. Miller <davem@davemloft.net>
29324
ee0db190
DM
29325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29326 movxtod instead of popping the value on the stack.
29327
dee4a4e3
DM
29328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29329
6a43ec98
CD
293302012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29331
29332 * config.h.in: Add HAVE_ARM_PCS_VFP.
29333
05c2c961
RMG
293342012-05-08 Roland Mc Grath <roland@hack.frob.com>
29335
bcfe3a54
ST
29336 [BZ #13979]
29337 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29338 checking but the checks are disabled for any reason.
05c2c961 29339
4b30f61a
L
293402012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29341
29342 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29343 and ELF64_R_TYPE with ELFW(R_TYPE).
29344
eee2bc67
JM
293452012-05-08 Joseph Myers <joseph@codesourcery.com>
29346
7ea5391a
JM
29347 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29348 (ulimit): Likewise.
29349
eee2bc67
JM
29350 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29351 (settimeofday): Likewise.
29352
abb66a67
MF
293532012-05-08 Mike Frysinger <vapier@gentoo.org>
29354
29355 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29356 a struct th_u2 inside the union, and move tu_block/tu_code into
29357 a new th_u3 union of tu_block/tu_code inside of that. Move
29358 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29359 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29360 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29361 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29362 (th_stuff): Change to th_u1.tu_stuff.
29363 (th_data): Define.
29364 (th_msg): Change to th_u1.th_u2.tu_data.
29365
7f18b530
DM
293662012-05-07 David S. Miller <davem@davemloft.net>
29367
05760585
DM
29368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29369
7f18b530
DM
29370 [BZ #14074]
29371 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29372 (SETUP_PIC_REG): Use it.
29373 (SETUP_PIC_REG_LEAF): Use it.
29374
495fd99f
JM
293752012-05-07 Joseph Myers <joseph@codesourcery.com>
29376
29377 [BZ #13885]
29378 [BZ #13923]
29379 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29380 USE_AS_EXPM1L.
29381 (EXPL_FINITE): Likewise.
29382 (FLDLOG): Likewise.
29383 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29384 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29385 e_expl.S.
29386 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29387 USE_AS_EXPM1L.
29388 (EXPL_FINITE): Likewise.
29389 (FLDLOG): Likewise.
29390 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29391 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29392 e_expl.S.
29393 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29394 test of -max_value argument for long double.
29395 * sysdeps/i386/fpu/libm-test-ulps: Update.
29396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29397
6693d694
DM
293982012-05-06 David S. Miller <davem@davemloft.net>
29399
29400 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29401 quad soft-float symbols whose references which are compiler
29402 generated.
29403 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29404
6c23e11c
JM
294052012-05-06 Joseph Myers <joseph@codesourcery.com>
29406
d8b82cad
JM
29407 [BZ #13884]
29408 [BZ #13914]
29409 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29410 USE_AS_EXP10L.
29411 (EXPL_FINITE): Likewise.
29412 (FLDLOG): Likewise.
29413 (c0): Likewise.
29414 (c1): Likewise.
29415 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29416 Adjust comments for base varying.
29417 (__expl_finite): Change alias to EXPL_FINITE.
29418 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29419 e_expl.S.
29420 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29421 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29422 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29423 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29424 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29425 USE_AS_EXP10L.
29426 (EXPL_FINITE): Likewise.
29427 (FLDLOG): Likewise.
29428 (c0): Likewise.
29429 (c1): Likewise.
29430 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29431 Adjust comments for base varying.
29432 (__expl_finite): Change alias to EXPL_FINITE.
29433 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29434 tests for bugs.
29435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29436
6c23e11c
JM
29437 [BZ #14064]
29438 * math/libm-test.inc (check_float_internal): Correct ulp
29439 calculation for subnormal expected results.
29440
29ba805c
AJ
294412012-05-06 Andreas Jaeger <aj@suse.de>
29442
29443 * Makeconfig (+math-flags): New, set to -frounding-math.
29444 (+cflags): Add +math-flags so that all of glibc gets compiled with
29445 it.
29446
29447 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29448
7b17aeda
JM
294492012-05-05 Joseph Myers <joseph@codesourcery.com>
29450
5779f134
JM
29451 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29452 Disable one test.
29453
41498f4d
JM
29454 [BZ #13787]
29455 [BZ #13922]
29456 [BZ #14036]
29457 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29458 (__ieee754_expl): Allow for and saturate large arguments.
29459 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29460 (u_threshold): Likewise.
29461 (__exp): Call __ieee754_exp before checking for overflow and
29462 underflow.
29463 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29464 (u_threshold): Likewise.
29465 (__expf): Call __ieee754_expf before checking for overflow and
29466 underflow.
29467 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29468 (u_threshold): Likewise.
29469 (__expl): Call __ieee754_expl before checking for overflow and
29470 underflow.
29471 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29472 (__ieee754_expl): Allow for and saturate large arguments.
29473 * math/libm-test.inc (exp_test): Add another test. Do not allow
29474 missing overflow exception on overflow.
29475 (expm1_test): Do not allow missing overflow exception on overflow.
29476
6698b8bf
JM
29477 * sysdeps/i386/fpu/e_expl.c: Move to ...
29478 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29479 rather than using inline asm.
29480 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29481 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29482 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29483
7b17aeda
JM
29484 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29485 (nice): Likewise.
29486 (poll): Likewise.
29487 (signal): Likewise.
29488 (time): Likewise.
29489 (times): Likewise.
29490
f7c85819
JM
294912012-05-04 Joseph Myers <joseph@codesourcery.com>
29492
29493 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29494 sysdeps/unix/common/syscalls.list.
29495 (fchmod): Likewise.
29496 (fchown): Likewise.
29497 (ftruncate): Likewise.
29498 (getrusage): Likewise.
29499 (gettimeofday): Likewise.
29500 (setpgid): Likewise.
29501 (setregid): Likewise.
29502 (setreuid): Likewise.
29503 (sigaction): Likewise.
29504 (truncate): Likewise.
29505 (vhangup): Likewise.
29506 * sysdeps/unix/common/syscalls.list: Remove file.
29507 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29508 * sysdeps/unix/sysv/linux/Implies: Likewise.
29509
336270d0
L
295102012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29511
29512 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29514 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29515 Moved to ...
29516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29517 Here.
29518 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29519 to ...
29520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29521 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29522 to ...
29523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29524 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29525 to ...
29526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29527 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29528 to ...
29529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29530 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29531 to ...
29532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29533 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29534 to ...
29535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29536 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29537 to ...
29538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29539 Here.
29540 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29541 to ...
29542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29543 Here.
29544 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29545 to ...
29546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29547 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29548 Moved to ...
29549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29550 Here.
29551 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29552 to ...
29553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29554
d128e450
JM
295552012-05-04 Joseph Myers <joseph@codesourcery.com>
29556
fa8ee516
JM
29557 * sysdeps/unix/common/bits/dirent.h: Remove file.
29558 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29559
d128e450
JM
29560 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29561 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29562 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29563 * sysdeps/unix/bsd/isatty.c: Likewise.
29564 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29565 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29566 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29567
ff8faaf0 295682012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29569
62881be4 29570 [BZ #13563]
31dc8730
AZ
29571 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29572 long double comparison inaccuracies.
29573 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29575
6fef930c
AS
295762012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29577
29578 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29579 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29580
8f203e6c
JM
295812012-05-04 Joseph Myers <joseph@codesourcery.com>
29582
29583 [BZ #14049]
29584 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29585 nonzero digits before rounding a hex value.
29586 * stdlib/tst-strtod.c (tests): Add another test.
29587
5197d9c2
AK
295882012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29589
29590 * sysdeps/s390/fpu/libm-test-ulps: Update.
29591
f0c1dedf
AJ
295922012-05-03 Andreas Jaeger <aj@suse.de>
29593
29594 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29595 does not get optimized out.
29596 (malloc_opt_barrier): New.
29597
a65ef2ae 295982012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29599 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29600
2b942cb7 29601 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29602 intermediate file deletion.
2b942cb7 29603 (generated): Add .symlist files.
a65ef2ae 29604
54b71e02
JM
296052012-05-03 Joseph Myers <joseph@codesourcery.com>
29606
29607 [BZ #13775]
29608 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29609 Redirect under this condition.
29610 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29611 [__USE_GNU] (__dprintf_chk): Not under this condition.
29612 [__USE_GNU] (__vdprintf_chk): Likewise.
29613 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29614 under this condition.
29615 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29616 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29617 [__USE_XOPEN2K8] (vdprintf): Likewise.
29618 [__USE_GNU] (__dprintf_chk): Not under this condition.
29619 [__USE_GNU] (__vdprintf_chk): Likewise.
29620 [__USE_GNU] (dprintf): Likewise.
29621 [__USE_GNU] (vdprintf): Likewise.
29622
d3dfcc41
RM
296232012-05-03 Roland McGrath <roland@hack.frob.com>
29624
29625 * elf/Makefile (common-generated): Set this instead of generated for
29626 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29627 $(all-built-dso)-derived lists.
29628
7ac30cc5
AJ
296292012-05-03 Andreas Jaeger <aj@suse.de>
29630
0c51e550
AJ
29631 * sysdeps/i386/fpu/libm-test-ulps: Update.
29632
7ac30cc5
AJ
29633 * FAQ: Removed.
29634 * FAQ.in: Likewise.
29635 * scripts/gen-FAQ.pl: Likewise.
29636 * manual/install.texi (Installation): Point to online location of
29637 FAQ.
29638 * Makefile (files-for-dist): Remove FAQ.
29639 (FAQ): Remove.
29640
d4c2917f
AM
296412012-05-02 Allan McRae <allan@archlinux.org>
29642
29643 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29644 (LDFLAGS-reldepmod5.so): Likewise.
29645 (LDFLAGS-reldep6mod1.so): Likewise.
29646 (LDFLAGS-reldep6mod4.so): Likewise.
29647 (LDFLAGS-reldep8mod3.so): Likewise.
29648 (LDFLAGS-unload4mod1.so): Likewise.
29649 (LDFLAGS-unload4mod2.so): Likewise.
29650 (LDFLAGS-tst-initorder): Likewise.
29651 (LDFLAGS-tst-initordera2.so): Likewise.
29652 (LDFLAGS-tst-initordera3.so): Likewise.
29653 (LDFLAGS-tst-initordera4.so): Likewise.
29654 (LDFLAGS-tst-initorderb2.so): Likewise.
29655 (LDFLAGS-noload): Likewise.
29656 (LDFLAGS-next): Likewise.
29657 (LDFLAGS-order2mod1.so): Likewise.
29658 (LDFLAGS-order2mod2.so): Likewise.
29659 (LDFLAGS-tst-initorder2): Likewise.
29660 (LDFLAGS-tst-initorder2a.so): Likewise.
29661 (LDFLAGS-tst-initorder2b.so): Likewise.
29662 (LDFLAGS-tst-initorder2c.so): Likewise.
29663 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29664
d77f993f
DM
296652012-05-02 David S. Miller <davem@davemloft.net>
29666
29667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29668
171a70b4
PP
296692012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29670
29671 [BZ #14055]
29672 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29673
0be196ad
AJ
296742012-05-02 Andreas Jaeger <aj@suse.de>
29675
29676 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29677 since we manipulate rounding mode.
29678 (CPPFLAGS-test-idouble.c): Likewise.
29679 (CPPFLAGS-test-ifloat.c): Likewise.
29680 (CFLAGS-test-ldouble.c): Likewise.
29681 (CFLAGS-test-double.c): Likewise.
29682 (CFLAGS-test-float.c): Likewise.
29683 (CFLAGS-test-misc.c): Likewise.
29684 (CFLAGS-test-test-fenv.c): Likewise.
29685
4f9d04aa
AZ
296862012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29687
2b942cb7
RM
29688 [BZ #2550]
29689 [BZ #2570]
29690 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29691 comparisons to determine direction to adjust input.
4f9d04aa 29692
82a79e7d
RM
296932012-05-01 Roland McGrath <roland@hack.frob.com>
29694
f5a01ca9
RM
29695 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29696 output to the target.
29697
90fe4186
RM
29698 * scripts/localplt.awk: New file.
29699 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29700 (check-localplt-CFLAGS): Variable removed.
29701 ($(all-built-dso:=.jmprel)): New static pattern rule.
29702 (generated): Add those targets.
29703 (localplt-built-dso): New variable.
29704 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29705
29706 * elf/check-localplt.c: File removed.
29707
82397ed6
RM
29708 * scripts/check-execstack.awk: New file.
29709 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29710 (check-execstack-CFLAGS): Variable removed.
29711 ($(objpfx)check-execstack.h): Target removed.
29712 ($(objpfx)execstack-default): New target.
29713 (generated): Add that instead of check-execstack.h.
29714 ($(all-built-dso:=.phdr)): New static pattern rule.
29715 (generated): Add those targets.
29716 * elf/check-execstack.c: File removed.
29717
82a79e7d
RM
29718 * scripts/check-textrel.awk: New file.
29719 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29720 (check-textrel-CFLAGS): Variable removed.
29721 (all-built-dso): Use := to define.o
29722 ($(all-built-dso:=.dyn)): New static pattern rule.
29723 (generated): Add those targets.
29724 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29725 * config.make.in (READELF): New substituted variable.
29726 * elf/check-textrel.c: File removed.
29727
62fde54f 297282012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29729
615605c9
JM
29730 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29731 allow.
29732 * conform/data/ctype.h-data [C99-based standards] (isblank):
29733 Expect function.
29734 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29735 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29737 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29738 Specify type. Require positive value.
29739 (EILSEQ): Likewise.
29740 (ERANGE): Likewise.
29741 [ISO || POSIX] (EILSEQ): Do not expect.
29742 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29743 Specify type. Require positive value.
29744 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29745 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29746 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29747 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29748 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29749 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29750 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29751 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29752 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29753 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29754 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29755 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29756 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29757 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29758 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29759 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29760 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29761 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29762 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29763 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29764 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29765 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29766 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29767 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29768 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29769 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29770 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29771 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29772 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29773 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29774 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29775 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29776 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29777 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29778 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29779 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29780 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29781 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29782 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29783 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29784 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29785 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29786 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29787 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29788 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29789 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29790 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29791 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29792 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29793 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29794 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29795 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29796 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29797 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29798 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29799 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29800 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29801 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29802 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29803 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29804 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29805 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29806 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29807 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29808 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29809 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29810 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29811 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29812 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29813 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29814 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29815 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29816 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29817 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29818 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29819 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29820 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29821 Require >= 2.
29822 (FLT_ROUNDS): Expect as macro, not constant.
29823 (FLT_MANT_DIG): Use macro-int-constant.
29824 (DBL_MANT_DIG): Likewise.
29825 (LDBL_MANT_DIG): Likewise.
29826 (FLT_DIG): Likewise.
29827 (DBL_DIG): Likewise.
29828 (LDBL_DIG): Likewise.
29829 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29830 (DBL_MIN_EXP): Likewise.
29831 (LDBL_MIN_EXP): Likewise.
29832 (FLT_MAX_EXP): Use macro-int-constant.
29833 (DBL_MAX_EXP): Likewise.
29834 (LDBL_MAX_EXP): Likewise.
29835 (FLT_MAX_10_EXP): Likewise.
29836 (DBL_MAX_10_EXP): Likewise.
29837 (LDBL_MAX_10_EXP): Likewise.
29838 (FLT_MAX): Use macro-constant.
29839 (DBL_MAX): Likewise.
29840 (LDBL_MAX): Likewise.
29841 (FLT_EPSILON): Use macro-constant. Give upper bound.
29842 (DBL_EPSILON): Likewise.
29843 (LDBL_EPSILON): Likewise.
29844 (FLT_MIN): Likewise.
29845 (DBL_MIN): Likewise.
29846 (LDBL_MIN): Likewise.
29847 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29848 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29849 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29850 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29851 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29852 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29853 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29854 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29855 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29856 [ISO11] (FLT_TRUE_MIN): Likewise.
29857 [ISO11] (LDBL_TRUE_MIN): Likewise.
29858 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29859 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29860 (SCHAR_MIN): Use macro-int-constant. Specify type.
29861 (SCHAR_MAX): Likewise.
29862 (UCHAR_MAX): Likewise.
29863 (CHAR_MIN): Likewise.
29864 (CHAR_MAX): Likewise.
29865 (MB_LEN_MAX): Use macro-int-constant.
29866 (SHRT_MIN): Use macro-int-constant. Specify type.
29867 (SHRT_MAX): Likewise.
29868 (USHRT_MAX): Likewise.
29869 (INT_MAX): Likewise.
29870 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29871 bound negative.
29872 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29873 bound with "U".
29874 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29875 bound with "L".
29876 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29877 bound negative. Suffix upper bound with "L".
29878 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29879 bound with "UL".
29880 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29881 Specify type.
29882 [C99-based standards] (LLONG_MAX): Likewise.
29883 [C99-based standards] (ULLONG_MAX): Likewise.
29884 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29885 == 0.
29886 [ISO11] (max_align_t): Require type.
29887 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29888
c9140a62
JM
29889 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29890 from $CFLAGS, without defining away __attribute__ calls.
29891 (checknamespace): Use $CFLAGS_namespace.
29892
9af0bf29
JM
29893 * conform/conformtest.pl (@keywords): Only include C99 keywords
29894 for standards based on C99 or C11.
29895
343222a2
JM
29896 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29897 Disable tests.
29898 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29899 UNIX98]: Likewise.
29900
661f8cf0
JM
29901 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29902 usability of symbols in #if.
29903
ee74b9cb
JM
29904 * conform/conformtest.pl: If macro or constant types start
29905 "promoted:", expect the symbol to be of the following type
29906 promoted by the integer promotions.
62fde54f 29907
aafc49b3
JM
29908 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29909 in one place. Also handle "macro-constant".
29910
fefdf574
JM
29911 * conform/conformtest.pl: Only accept expected macro values with
29912 "==". Parse all "macro" lines in one place.
29913 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29914
f2d922fe
JM
29915 * conform/conformtest.pl: Handle braced types on "constant" lines
29916 instead of handling "typed-constant".
29917 * conform/data/signal.h-data: Use "constant" instead of
29918 "typed-constant".
29919
d22956c9
JM
29920 * conform/conformtest.pl: Handle "optional-" at start of lines in
29921 one place rather than duplicating several cases. Handle each
29922 format of "macro" line with initial "optional-".
29923
028e2e38
JM
29924 * conform/conformtest.pl: Only accept expected constant or
29925 optional-constant values with "==". Parse all "constant" lines in
29926 one place. Parse all "optional-constant" lines in one place.
29927 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29928 * conform/data/fmtmsg.h-data: Likewise.
29929 * conform/data/netinet/in.h-data: Likewise.
29930 * conform/data/tar.h-data: Likewise.
29931 * conform/data/limits.h-data: Use "==" form on "constant" and
29932 "optional-constant" lines.
29933
1b8f2850
JM
29934 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29935 Use -std=c99 for XOPEN2K.
29936 (@knownproblems): Remove.
29937 (newtoken): Don't check %isknown.
29938
a05a144b
JM
29939 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29940 Do not expect macro.
29941 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29942 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29943 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29944 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29945 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29946 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29947 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29948 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29949 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29950 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29951 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29952 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29953 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29954 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29955 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29956 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29957 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29958 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29959 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29960 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29961 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29962 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29963 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29964 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29965 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29966 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29967 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29968 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29969 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29970 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29971 [XPG3] (acosh): Likewise.
29972 [XPG3] (asinh): Likewise.
29973 [XPG3] (atanh): Likewise.
29974 [XPG3] (cbrt): Likewise.
29975 [XPG3] (expm1): Likewise.
29976 [XPG3] (ilogb): Likewise.
29977 [XPG3] (log1p): Likewise.
29978 [XPG3] (logb): Likewise.
29979 [XPG3] (nextafter): Likewise.
29980 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29981 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29982 [XPG3] (remainder): Likewise.
29983 [XPG3] (rint): Likewise.
29984 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29985 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29986 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29987 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29988 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29989 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29990 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29991 [UNIX98 || XOPEN2K] (scalb): Expect.
29992 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29993 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29994 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29995 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29996 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29997 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29998 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29999 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30000 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30001 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30002 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30003 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30004 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30005 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30006 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30007 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30008 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30009 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30010 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30011 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30012 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30013 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30014 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30015 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30016 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30017 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30018 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30019 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30020 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30021 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30022 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30023 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30024 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30025 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30026 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30027 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30028 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30029 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30030 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30031 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30032 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30033 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30034 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30035 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30036 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30037 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30038 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30039 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30040 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30041 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30042 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30043 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30044 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30045 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30046 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30047 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30048 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30049 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30050 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30051 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30052 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30053 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30054 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30055 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30056 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30057 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30058 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30059 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30060 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30061 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30062 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30063 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30064 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30065 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30066 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30067 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30068 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30069 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30070 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30071 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30072 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30073 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30074 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30075 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30076 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30077 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30078 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30079 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30080 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30081 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30082 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30083 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30084 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30085 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30086 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30087 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30088 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30089 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30090 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30091 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30092 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30093 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30094 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30095 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30096 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30097 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30098 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30099 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30100 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30101 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30102 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30103 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30104 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30105 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30106 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30107 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30108 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30109 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30110 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30111 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30112 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30113 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30114 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30115 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30116 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30117 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30118 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30119 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30120 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30121 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30123 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30124 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30128 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30129
73c5ebe3
JM
30130 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30131 _XOPEN_SOURCE_EXTENDED for XPG4.
30132
39c33b6c
JM
30133 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30134
62fde54f
JM
30135 * Makeconfig (localtime): Remove variable.
30136 (inst_localtime-file): Likewise.
30137
0741d64c
AS
301382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30139
30140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30141 Update.
30142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30143 Update.
30144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30145 Update.
30146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30147 Update.
30148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30149 Update.
30150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30151 Update.
30152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30153 Update.
30154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30155 Update.
30156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30157 Update.
30158
7cb029ee
JM
301592012-05-01 Joseph Myers <joseph@codesourcery.com>
30160
30161 [BZ #2550]
30162 [BZ #2570]
30163 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30164 comparisons to determine direction to adjust input.
30165 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30166 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30167 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30168 Likewise.
30169 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30170 Likewise.
30171 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30172 Likewise.
30173 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30174 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30175 Likewise.
30176 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30177 Likewise.
30178 * math/libm-test.inc (nexttoward_test): Add more tests.
30179
412bd966
AS
301802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30181
30182 [BZ #14040]
30183 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30184 in version GLIBC_2.1, not GLIBC_2.0.
30185 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30186 Likewise.
30187
9568c0c2
JM
301882012-04-30 Joseph Myers <joseph@codesourcery.com>
30189
adfbc8ac
JM
30190 [BZ #13942]
30191 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30192 (1 - x) * (1 + x).
30193 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30194 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30195 * math/libm-test.inc (acos_test): Add more tests.
30196 (asin_test): Likewise.
30197 * sysdeps/i386/fpu/libm-test-ulps: Update.
30198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30199
5ba3cc69
JM
30200 [BZ #14034]
30201 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30202 of square root.
30203 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30204 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30205 * math/libm-test.inc (acos_test_tonearest): New function.
30206 (acos_test_towardzero): Likewise.
30207 (acos_test_downward): Likewise.
30208 (acos_test_upward): Likewise.
30209 (asin_test_tonearest): Likewise.
30210 (asin_test_towardzero): Likewise.
30211 (asin_test_downward): Likewise.
30212 (asin_test_upward): Likewise.
30213 (main): Call the new functions.
30214 * sysdeps/i386/fpu/libm-test-ulps: Update.
30215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30216
9568c0c2
JM
30217 [BZ #13884]
30218 [BZ #13924]
30219 * math/e_exp10.c: Include <float.h>.
30220 (__ieee754_exp10): Handle underflow here rather than multiplying
30221 large negative argument by M_LN10.
30222 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30223 of __ieee754_expf.
30224 * math/e_exp10l.c: Include <float.h>.
30225 (__ieee754_exp10l): Handle underflow here rather than multiplying
30226 large negative argument by M_LN10l.
30227 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30228 spurious overflow exception on underflow.
30229
5ac3ea17
MP
302302012-04-29 Marek Polacek <polacek@redhat.com>
30231
30232 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30233 (__fortify_function): New macro.
30234 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30235 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30236 __extern_always_inline.
30237 * libio/bits/stdio2.h: Likewise.
30238 * libio/bits/stdio.h: Likewise.
30239 * string/string.h: Likewise.
30240 * string/bits/string3.h: Likewise.
30241 * include/stdio.h: Likewise.
30242 * stdlib/bits/stdlib.h: Likewise.
30243 * stdlib/stdlib.h: Likewise.
30244 * rt/bits/mqueue2.h: Likewise.
30245 * rt/mqueue.h: Likewise.
30246 * posix/bits/unistd.h: Likewise.
30247 * posix/unistd.h: Likewise.
30248 * io/bits/poll2.h: Likewise.
30249 * io/bits/fcntl2.h: Likewise.
30250 * io/fcntl.h: Likewise.
30251 * io/sys/poll.h: Likewise.
30252 * misc/bits/syslog.h: Likewise.
30253 * misc/bits/syslog-ldbl.h: Likewise.
30254 * misc/sys/syslog.h: Likewise.
30255 * socket/bits/socket2.h: Likewise.
30256 * socket/sys/socket.h: Likewise.
30257 * debug/tst-chk1.c: Likewise.
30258 * wcsmbs/bits/wchar2.h: Likewise.
30259 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30260 * wcsmbs/wchar.h: Likewise.
30261
ecf0ebfb
AJ
302622012-04-29 Andreas Jaeger <aj@suse.de>
30263
30264 * Makerules (tests): Remove enable-check-abi protection.
30265 (check-abi-warn): Remove.
30266 (check-abi-%): Remove check-abi-warn usage.
30267
30268 * configure.in: Remove check-abi configure option.
30269 * configure: Regenerated.
30270 * config.make.in (enable-check-abi): Remove.
30271
6d5c57fa
AS
302722012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30273
24c5d07e 30274 [BZ #14033]
ded5180a
AS
30275 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30276 double functions to double *_finite functions.
30277
7e0d315d
AS
30278 [BZ #13941]
30279 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30280 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30281 LDBL_MIN_EXP.
30282 * stdio-common/Makefile (tests): Add tst-sprintf3.
30283 * stdio-common/tst-sprintf3.c: New file.
30284
6d5c57fa
AS
30285 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30286 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30287
0749ff8b
JM
302882012-04-28 Joseph Myers <joseph@codesourcery.com>
30289
30290 * conform/conformtest.pl: Remove duplicate typed-constant
30291 handling.
30292
8dbd5d7b
DM
302932012-04-28 David S. Miller <davem@davemloft.net>
30294
30295 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30296 (check-abi-%): Remove AWK script prerequisite and explicit
30297 abilist directory.
30298 (check-abi): Rewrite to just diff the symlist with the abilist.
30299 (config-tls, config-abi-config): Delete, no longer used.
30300 (update-abi-%): Remove AWK script and explicit abilist directory.
30301 (update-abi): Rewrite to simply compare and conditionally copy the
30302 symlist and the sysdep abilist file. Remove update-abi-config
30303 checks.
30304 * abilist/ld.abilist: Remove.
30305 * abilist/libBrokenLocale.abilist: Remove.
30306 * abilist/libanl.abilist: Remove.
30307 * abilist/libcrypt.abilist: Remove.
30308 * abilist/libdl.abilist: Remove.
30309 * abilist/librt.abilist: Remove.
30310 * abilist/libthread_db.abilist: Remove.
30311 * abilist/libutil.abilist: Remove.
30312 * scripts/extract-abilist.awk: Remove.
30313 * scripts/merge-abilist.awk: Remove.
30314 * sysdeps/generic/libcidn.abilist: New file.
30315 * sysdeps/generic/libnss_compat.abilist: New file.
30316 * sysdeps/generic/libnss_db.abilist: New file.
30317 * sysdeps/generic/libnss_dns.abilist: New file.
30318 * sysdeps/generic/libnss_files.abilist: New file.
30319 * sysdeps/generic/libnss_hesiod.abilist: New file.
30320 * sysdeps/generic/libnss_nis.abilist: New file.
30321 * sysdeps/generic/libnss_nisplus.abilist: New file.
30322 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30323 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30324 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30325 file.
30326 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30327 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30328 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30329 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30330 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30331 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30332 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30333 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30334 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30335 file.
30336 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30337 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30338 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30339 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30340 file.
30341 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30342 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30343 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30344 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30345 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30346 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30347 file.
30348 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30349 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30350 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30351 file.
30352 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30354 New file.
30355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30356 New file.
30357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30358 New file.
30359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30360 New file.
30361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30362 New file.
30363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30364 New file.
30365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30366 New file.
30367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30368 New file.
30369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30370 New file.
30371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30372 New file.
30373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30374 New file.
30375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30376 New file.
30377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30378 New file.
30379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30380 file.
30381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30382 New file.
30383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30384 New file.
30385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30386 file.
30387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30388 New file.
30389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30390 New file.
30391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30392 file.
30393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30394 New file.
30395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30396 New file.
30397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30398 New file.
30399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30400 New file.
30401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30402 New file.
30403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30404 New file.
30405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30407 file.
30408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30409 New file.
30410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30411 file.
30412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30413 file.
30414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30415 file.
30416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30417 file.
30418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30419 file.
30420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30421 New file.
30422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30423 file.
30424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30425 file.
30426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30427 New file.
30428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30429 file.
30430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30432 file.
30433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30434 New file.
30435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30436 file.
30437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30438 file.
30439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30440 file.
30441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30442 file.
30443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30444 file.
30445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30446 New file.
30447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30448 file.
30449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30450 file.
30451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30452 New file.
30453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30454 file.
30455 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30456 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30457 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30458 file.
30459 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30460 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30461 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30462 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30463 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30464 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30465 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30466 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30467 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30468 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30471 file.
30472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30473 New file.
30474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30475 file.
30476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30477 file.
30478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30479 file.
30480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30481 file.
30482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30483 file.
30484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30485 New file.
30486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30487 New file.
30488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30489 file.
30490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30491 New file.
30492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30493 file.
30494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30496 file.
30497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30498 New file.
30499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30500 file.
30501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30502 file.
30503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30504 file.
30505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30506 file.
30507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30508 file.
30509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30510 New file.
30511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30512 New file.
30513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30514 file.
30515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30516 New file.
30517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30518 file.
30519
41d73a1b
JM
305202012-04-28 Joseph Myers <joseph@codesourcery.com>
30521
30522 * conform/conformtest.pl: Fix typo in handling typed-constant from
30523 allow-header.
30524
28aeeda4
JM
305252012-04-27 Joseph Myers <joseph@codesourcery.com>
30526
adae8f5e
JM
30527 * README: Cut down references to pre-2.6 Linux kernels and
30528 Linuxthreads. Update lists of configurations in libc and ports
30529 and sort alphabetically. Say "or newer" with Linux kernel version
30530 requirements.
30531
28aeeda4
JM
30532 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30533
a462cb63
RA
305342012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30535
30536 [BZ #887]
30537 * math/libm-test.inc (logb_test_downward): New test to expose
30538 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30539 rounding mode.
30540
6ad3493e
JM
305412012-04-27 Joseph Myers <joseph@codesourcery.com>
30542
30543 [BZ #14027]
30544 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30545 to be done.
30546 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30547 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30548
2ce4f015
JM
305492012-04-26 Joseph Myers <joseph@codesourcery.com>
30550
5aeb141a
JM
30551 * sysdeps/unix/i386/brk.S: Remove file.
30552 * sysdeps/unix/i386/dl-brk.S: Likewise.
30553 * sysdeps/unix/i386/pipe.S: Likewise.
30554 * sysdeps/unix/i386/sigreturn.S: Likewise.
30555 * sysdeps/unix/i386/syscall.S: Likewise.
30556 * sysdeps/unix/i386/vfork.S: Likewise.
30557 * sysdeps/unix/i386/wait.S: Likewise.
30558
7143acae
JM
30559 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30560 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30561
2ce4f015
JM
30562 * configure.in (arm*-none*): Do not allow without
30563 --enable-hacker-mode.
30564 (netbsd*): Remove case setting base_os.
30565 (386bsd*): Likewise.
30566 (freebsd*): Likewise.
30567 (bsdi*): Likewise.
30568 (osf*): Likewise.
30569 (sunos*): Likewise.
30570 (ultrix*): Likewise.
30571 (newsos*): Likewise.
30572 (dynix*): Likewise.
30573 (*bsd*): Likewise.
30574 (sysv*): Likewise.
30575 (isc*): Likewise.
30576 (esix*): Likewise.
30577 (sco*): Likewise.
30578 (minix*): Likewise.
30579 (irix4*): Likewise.
30580 (irix6*): Likewise.
30581 (solaris[2-9]*): Likewise.
30582 (none): Likewise.
30583 * configure: Regenerated.
30584
0ac229c8
AZ
305852012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30586
30587 [BZ #11521]
30588 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30589 overflow or cancellation in calculating denominator.
30590 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30591 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30592 down expression to avoid unexpected rounding in newer GCCs.
30593 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30594
33f244f4
DM
305952012-04-26 David S. Miller <davem@davemloft.net>
30596
30597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30598 long-double compat symbols.
30599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30612
cfa1f3e8
DM
306132012-04-25 David S. Miller <davem@davemloft.net>
30614
30615 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30616 HWCAP_* values only after the memory barriers have been defined.
30617 (atomic_full_barrier): Define.
30618 (atomic_read_barrier): Define.
30619 (atomic_write_barrier): Define.
30620
6e236b92
SP
306212012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30622
30623 * shlib-versions: Add libgcc_s version information.
30624 * sysdeps/generic/libgcc_s.h: Remove.
30625 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30626 libgcc_s.h.
30627 * sysdeps/gnu/unwind-resume.c: Likewise.
30628 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30629
aab39a09
DM
306302012-04-25 David S. Miller <davem@davemloft.net>
30631
30632 * sysdeps/unix/sparc/brk.S: Delete.
30633 * sysdeps/unix/sparc/dl-brk.S: Delete.
30634 * sysdeps/unix/sparc/pipe.S: Delete.
30635 * sysdeps/unix/sparc/sysdep.S: Delete.
30636 * sysdeps/unix/sparc/sysdep.h: Delete.
30637 * sysdeps/unix/sparc/vfork.S: Delete.
30638 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30639 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30640 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30641 ret_ERRVAL, r0, r1, MOVE): Define.
30642 (JUMPTARGET): Remove.
30643 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30644 sysdeps/unix/sparc/sysdep.h
30645 (ENTRY, END): Remove.
30646 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30647
a3cc4f48
JM
306482012-04-25 Joseph Myers <joseph@codesourcery.com>
30649
2ed8cda2
JM
30650 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30651 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30652 -DIS_IN_build.
30653
35d76d59
JM
30654 * timezone/README: Update upstream location and email address for
30655 tzcode and tzdata.
30656 * timezone/zdump.c: Update from tzcode 2012b.
30657 * timezone/zic.c: Likewise.
30658
a3cc4f48
JM
30659 * configure.in (libc_cv_as_needed): Remove test.
30660 * configure: Regenerated.
30661 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30662 conditional definition.
30663 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30664 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30665 * config.make.in (have-as-needed): Remove variable.
30666
ceab42c3
SP
306672012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30668 Paul Pluzhnikov <ppluzhnikov@google.com>
30669
30670 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30671 strings correctly.
30672
3ce2865f
CLT
306732012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30674
30675 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30676 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30677 * sysdeps/sh/strlen.S: Likewise.
30678
f37e0d68
JM
306792012-04-24 Joseph Myers <joseph@codesourcery.com>
30680
ae186e9a
JM
30681 * sysdeps/unix/fork.S: Remove file.
30682 * sysdeps/unix/i386/fork.S: Likewise.
30683 * sysdeps/unix/sparc/fork.S: Likewise.
30684
b96914af
JM
30685 * sysdeps/unix/system.c: Remove file.
30686 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30687
f37e0d68
JM
30688 * sysdeps/unix/getegid.S: Remove file.
30689 * sysdeps/unix/geteuid.S: Likewise.
30690
87ef29ca
RM
306912012-04-24 Roland McGrath <roland@hack.frob.com>
30692
83bcd236
RM
30693 * scripts/check-localplt.awk: New file.
30694 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30695 of diff.
30696 * scripts/data/localplt-generic.data: Add a comment.
30697
87ef29ca
RM
30698 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30699 NODE when __dir_mkfile failed.
30700 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30701 Reported by Ludovic Courtès <ludo@gnu.org>.
30702
e5a6e567
AJ
307032012-04-24 Andreas Jaeger <aj@suse.de>
30704
30705 * Makerules (common-clean): Also remove gen-as-const-headers
30706 files.
30707
c1820385
JM
307082012-04-24 Joseph Myers <joseph@codesourcery.com>
30709
30710 * Makerules (native-compile): Do not change working directory for
30711 build. Use $(OUTPUT_OPTION) in command.
30712 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30713
94e02fc4
AZ
307142012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30715
30716 [BZ #13886]
30717 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30718 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30719 * math/libm-test.inc (floor_test): Add more tests.
30720 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30721
3a533ca3
JM
307222012-04-24 Joseph Myers <joseph@codesourcery.com>
30723
940ab4b3
JM
30724 * sysdeps/unix/getdents.c: Remove file.
30725 * sysdeps/unix/sysv/getdents.c: Likewise.
30726 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30727
90e037bd
JM
30728 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30729 sysdeps/unix/mman/syscalls.list.
30730 (mmap): Likewise.
30731 (mprotect): Likewise.
30732 (msync): Likewise.
30733 (munmap): Likewise.
30734 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30735 * sysdeps/unix/mman/syscalls.list: Remove.
30736 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30737
3a533ca3
JM
30738 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30739 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30740 * configure: Regenerated.
30741 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30742 $(libgcc_s_suffix).
30743 * config.make.in (libgcc_s_suffix): Remove variable.
30744
1ad743de
JM
307452012-04-23 Joseph Myers <joseph@codesourcery.com>
30746
4ad451e2
JM
30747 * sysdeps/unix/sysv/gethostname.c: Move to ...
30748 * sysdeps/posix/gethostname.c: ... here.
30749
5e37ce39
JM
30750 * sysdeps/unix/execve.S: Remove file.
30751
1ad743de
JM
30752 * sysdeps/unix/_exit.S: Remove file.
30753
4e681b5b
AJ
307542012-04-23 Andreas Jaeger <aj@suse.de>
30755
30756 [BZ #13739]
30757 * manual/Makefile: Remove make dist support, there's no
30758 need for a stand-alone documentation tar ball.
30759 (TEXI2DVI): Define always, it's not in Makeconfig.
30760 (dist): Removed.
30761 (tar-it): Removed.
30762 (edition): Removed.
30763 (glibc-doc-$(edition).tar): Removed
30764 (%.Z): Removed.
30765 (%.gz): Removed.
30766 (%.uu): Removed.
30767 (ETAGS): Remove, it's in Makeconfig.
30768 (move-if-change): Remove, it's in Makeconfig.
30769
38686a03 307702012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30771
30772 [BZ #13970]
30773 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30774 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30775 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30776 (strtod_l, strtof_l, strtold_l): Remove __wur.
30777 It is not necessarily an error to ignore strtol's return value.
30778 One can reliably look at the stored endptr to decide whether
30779 the number had valid syntax.
30780
7c0616fa
AJ
307812012-04-21 Andreas Jaeger <aj@suse.de>
30782
803cb6b7 30783 [BZ #13739]
7c0616fa
AJ
30784 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30785
b0fe253f
JM
307862012-04-21 Joseph Myers <joseph@codesourcery.com>
30787
30788 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30789 * sysdeps/unix/sysv/Versions: Remove file.
30790
8280f22d
MT
307912012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30792
30793 [BZ #13927]
30794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30795
75ce411f 307962012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30797
30798 [BZ #7064]
30799 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30800 version from __vm86.
30801
097d59fa
JM
308022012-04-20 Joseph Myers <joseph@codesourcery.com>
30803
a90f3bcb
JM
30804 * sysdeps/unix/common/lxstat.c: Remove file.
30805 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30806
edc7ea78
JM
30807 * sysdeps/unix/sysv/Makefile: Remove file.
30808
cb78c221
JM
30809 * sysdeps/unix/sysv/direct.h: Remove file.
30810
efa6a45f
JM
30811 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30812 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30813 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30814 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30815 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30816 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30817 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30818
9c9f2d0c
JM
30819 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30820
4541c83b
JM
30821 * sysdeps/unix/xmknod.c: Remove file.
30822 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30823
f5d153a0
JM
30824 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30825
aa746595
JM
30826 * sysdeps/unix/sysv/i386/time.S: Remove file.
30827
cce5905e
JM
30828 * sysdeps/unix/fxstat.c: Remove file.
30829 * sysdeps/unix/xstat.c: Likewise.
30830 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30831
37fa3841
JM
30832 * sysdeps/unix/sysv/sigaction.c: Remove file.
30833
ff1962a3
JM
30834 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30835 (sysdep_headers): Remove variable.
30836 [termio.h not in sysdep_headers] (generated): Likewise.
30837 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30838 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30839 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30840 * sysdeps/unix/sysv/tcflow.c: Likewise.
30841 * sysdeps/unix/sysv/tcflush.c: Likewise.
30842 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30843 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30844 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30845 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30846 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30847
e7740d31
JM
30848 * sysdeps/unix/siglist.c: Remove file.
30849
ee06f18b
JM
30850 * sysdeps/unix/getppid.S: Remove file.
30851
097d59fa
JM
30852 * sysdeps/unix/mkdir.c: Remove file.
30853 * sysdeps/unix/rmdir.c: Likewise.
30854
ff3d51ec
AS
308552012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30856
30857 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30858 ERR_MAX value.
30859 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30860 errlist-compat value.
30861
50f81fd7
DM
308622012-04-18 David S. Miller <davem@davemloft.net>
30863
30864 * sysdeps/generic/memcopy.h (reg_char): Delete.
30865 * debug/strcat_chk.c: Use char, not reg_char.
30866 * debug/strcpy_chk.c: Likewise.
30867 * debug/strncat_chk.c: Likewise.
30868 * debug/strncpy_chk.c: Likewise.
30869 * string/memchr.c: Likewise.
30870 * string/memrchr.c: Likewise.
30871 * string/rawmemchr.c: Likewise.
30872 * string/strcat.c: Likewise.
30873 * string/strchr.c: Likewise.
30874 * string/strchrnul.c: Likewise.
30875 * string/strcmp.c: Likewise.
30876 * string/strcpy.c: Likewise.
30877 * string/strncat.c: Likewise.
30878 * string/strncmp.c: Likewise.
30879 * string/strncpy.c: Likewise.
30880
8ff41c46
WS
308812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30882
30883 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30884 __builtin_memcopy is called when src and dest ranges are known to not
30885 overlap.
30886
6b652f46
WS
308872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30888
30889 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30890 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30891 fwd_align_merge macro call.
30892 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30893 bwd_align_merge macro call.
30894 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30895
b282631e
WS
308962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30897
30898 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30899 bwd_align_merge macros.
30900 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30901 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30902 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30903
95aa737c
DM
309042012-04-18 David S. Miller <davem@davemloft.net>
30905
30906 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30907
7a99a614
AJ
309082012-04-18 Andreas Jaeger <aj@suse.de>
30909
30910 [BZ# 6794]
30911 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30912 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30913 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30914
30915 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30916 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30917 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30918
30919 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30920 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30921 Adjust for changed ldbl-128 files.
30922
30923 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30924 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30925 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30926
e5270c23
DM
309272012-04-17 David S. Miller <davem@davemloft.net>
30928
30929 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30930
fb5e92c9
AS
309312012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30932
30933 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30934 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30935 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30936 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30937 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30938 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30939
76da7265
AZ
309402012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30941
30942 [BZ #6794]
30943 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30944 * math/libm-test.inc: Add ilogb errno and exception tests.
30945 * math/w_ilogb.c: New file: ilogb wrapper.
30946 * math/w_ilogbf.c: New file: ilogbf wrapper.
30947 * math/w_ilogbl.c: New file: ilogbl wrapper.
30948 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30949 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30950 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30951 exception being thrown with 0.0 as argument.
30952 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30953 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30954 exception being thrown with 0.0 as argument.
30955 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30956 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30957 exception being thrown with 0.0 as argument.
30958 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30959 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30960 exception being thrown with 0.0 as argument.
30961 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30962 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 30963 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
30964 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30965 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30966 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30967 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30968 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30969 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30970
0396e69d
PB
309712012-04-17 Petr Baudis <pasky@ucw.cz>
30972
30973 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30974 with altivec.
30975
750b5926
MP
309762012-04-16 Marek Polacek <polacek@redhat.com>
30977
30978 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30979
751728a1
MP
309802012-04-16 Marek Polacek <polacek@redhat.com>
30981
30982 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30983 operands of fdivp instruction.
30984
34a27407
L
309852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30986
30987 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30988 * elf/tst-auditmod3b.c: Likewise.
30989 * elf/tst-auditmod4b.c: Likewise.
30990 * elf/tst-auditmod5b.c: Likewise.
30991 * elf/tst-auditmod6b.c: Likewise.
30992 * elf/tst-auditmod6c.c: Likewise.
30993 * elf/tst-auditmod7b.c: Likewise.
30994 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30995 * sysdeps/x86_64/preconfigure.in: Likewise.
30996 * sysdeps/x86_64/preconfigure: Regenerated.
30997
7e73e17d
L
309982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30999
31000 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31001 __ILP32__.
31002
c7a6ab72
AB
310032012-04-13 Antoine Balestrat <merkil33@gmail.com>
31004
31005 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31006 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31007
a9e8e0e0
CL
310082012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31009
31010 [BZ #13973]
31011 * locale/iso-639.def: Fix gl language name. Spotted by
31012 Yaron Shahrabani.
31013
ec98af7d
RM
310142012-04-12 Roland McGrath <roland@hack.frob.com>
31015
31016 [BZ #2074]
31017 * libio/libio.h (__io_write_fn): Update comment.
31018
247c3ede
PB
310192012-04-12 Petr Baudis <pasky@ucw.cz>
31020
31021 [BZ #2074]
31022 * stdio.texi (Hook Functions): The user provided writer function
31023 is not allowed to return -1.
31024
55939d6d
DM
310252012-04-11 David S. Miller <davem@davemloft.net>
31026
31027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31028
90020f5a
MF
310292012-04-11 Mike Frysinger <vapier@gentoo.org>
31030
31031 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31032 Add a leading slash to rtkaio.
31033
288f9098
JM
310342012-04-11 Jim Meyering <meyering@redhat.com>
31035
90020f5a
MF
31036 [BZ #11959]
31037 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31038 It is not necessarily an error to ignore fwrite's return
31039 value. One can reliably use ferror to test for errors after
31040 the fact.
288f9098 31041
4be2b570
L
310422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31043
31044 * bits/types.h (__snseconds_t): New type.
31045 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31046
31047 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31049 (__SNSECONDS_T_TYPE): Likewise.
31050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31051 (__SNSECONDS_T_TYPE): Likewise.
31052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31053 (__SNSECONDS_T_TYPE): Likewise.
31054
288f9098 310552012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31056
31057 [BZ #2636]
31058 * manual/time.texi (Processor Time): Return type of times is
31059 elapsed real time since an arbitrary point in the past.
31060 (CPU Time): Move CLK_TCK from here...
31061 (Processor Time): ...to here. Correct description.
31062 * manual/conf.texi (Constants for Sysconf): Correct description of
31063 _SC_CLK_TCK.
31064
d7dd4413
DM
310652012-04-10 David S. Miller <davem@davemloft.net>
31066
31067 [BZ #13967]
31068 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31069 where the is a gap between DT_REL(A) and DT_JMPREL.
31070
b46068fc
L
310712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31072
31073 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31074 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31075 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31076
73d65cc3
SP
310772012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31078
31079 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31080 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31081 (dl_main): Handle --inhibit-cache.
31082 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31083 _dl_inhibit_cache.
31084 * elf/dl-load.c (_dl_map_object): Use it.
31085 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31086
bcc8d661
JM
310872012-04-09 Joseph Myers <joseph@codesourcery.com>
31088
8f9a2fae
JM
31089 [BZ #13872]
31090 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31091 (__ieee754_powl): Saturate large exponents rather than testing for
31092 overflow of y*log2(x).
31093 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31094 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31095 exceptions.
31096
bcc8d661
JM
31097 [BZ #11521]
31098 * math/s_ctan.c: Include <float.h>.
31099 (__ctan): Avoid internal overflow or cancellation in calculating
31100 denominator.
31101 * math/s_ctanf.c: Likewise.
31102 * math/s_ctanl.c: Likewise.
31103 * math/s_ctanh.c: Likewise.
31104 * math/s_ctanhf.c: Likewise.
31105 * math/s_ctanhl.c: Likewise.
31106 * math/libm-test.inc (ctan_test): Add more tests.
31107 (ctanh_test): Likewise.
31108 * sysdeps/i386/fpu/libm-test-ulps: Update.
31109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31110
823fbbb4
AJ
311112012-04-09 Andreas Jaeger <aj@suse.de>
31112
03879793
AJ
31113 [BZ #6894]
31114 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31115 is an optional BSD extension.
31116
823fbbb4
AJ
31117 [BZ #10254]
31118 * manual/stdio.texi (Opening Streams): Document additional fopen
31119 parameters.
31120
8de131cb
RM
311212012-04-09 Roland McGrath <roland@hack.frob.com>
31122
31123 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31124 %eax without telling the compiler.
31125
c0ed9d7d
CD
311262012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31127
31128 [BZ # 13963]
31129 * manual/install.texi: Use sourceware.org.
31130
c483f6b4
JM
311312012-04-09 Joseph Myers <joseph@codesourcery.com>
31132
d7dd9453
JM
31133 [BZ #13873]
31134 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31135 (__ieee754_pow): Generate overflow and underflow using huge*huge
31136 and tiny*tiny rather than just returning constant infinity or zero
31137 for large exponents.
31138 * math/libm-test.inc (pow_test): Require overflow exceptions for
31139 applicable cases of large exponents.
31140
c483f6b4
JM
31141 [BZ #706]
31142 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31143 (__ieee754_pow): Use iterative multiplication algorithm only for
31144 integer exponents with absolute value below 1024. Check for odd
31145 integer exponents when using algorithm for real exponents.
31146 * math/libm-test.inc (pow_test): Add more tests.
31147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31148
d2de7579
JM
311492012-04-08 Joseph Myers <joseph@codesourcery.com>
31150
31151 [BZ #13705]
31152 * math/libm-test.inc (exp_test): Do not allow overflow exception
31153 on underflow test.
31154
f77f1232
AJ
311552012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31156
31157 [BZ #13705]
31158 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31159 instead of __kernel_standard_f.
31160
3884932b
MF
311612012-04-08 Mike Frysinger <vapier@gentoo.org>
31162
31163 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31164 * sysdeps/x86_64/memset_chk.S: Likewise.
31165
54472e9c
AJ
311662012-04-08 Andreas Jaeger <aj@suse.de>
31167
6ab0fbfc
AJ
31168 [BZ #10153]
31169 * manual/startup.texi (Environment Access): Describe return value
31170 for putenv and setenv.
31171
61efba8c
AJ
31172 [BZ #6895]
31173 * manual/filesys.texi (Directory Entries): Add description for
31174 DT_LNK.
31175
95c3f29a
AJ
31176 [BZ #6890]
31177 * manual/filesys.texi (Directory Entries): Clarify that it's file
31178 system not operating system in the description of DT_UNKNOWN.
31179
54472e9c
AJ
31180 [BZ #6578]
31181 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31182
624254b1
SC
311832012-04-08 Stephen Compall <s11@member.fsf.org>
31184
31185 [BZ #6649]
31186 * manual/llio.texi (Opening and Closing Files): Add cross
31187 reference to explain mode argument.
31188
1e4920e0
MF
311892012-04-07 Mike Frysinger <vapier@gentoo.org>
31190
31191 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31192 * sysdeps/x86_64/memset_chk.S: Likewise.
31193
5ed848f3
DM
311942012-04-07 David S. Miller <davem@davemloft.net>
31195
31196 * elf/elf.h (R_SPARC_WDISP10): Define.
31197 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31198 R_SPARC_SIZE32.
31199 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31200 R_SPARC_SIZE64 and R_SPARC_H34.
31201
96154cd8
CD
312022012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31203
31204 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31205 conditions and remove no longer applicable assertion.
31206
9904dc47
L
312072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31208
31209 * bits/byteswap.h: Include <features.h>.
31210 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31211 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31212
f8887d0a
L
312132012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31214
31215 * bits/byteswap.h (__bswap_16): Removed.
31216 Include <bits/byteswap-16.h> to get __bswap_16.
31217 * sysdeps/i386/bits/byteswap.h: Likewise.
31218 * sysdeps/s390/bits/byteswap.h: Likewise.
31219 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31220 * bits/byteswap-16.h: New file.
31221 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31222 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31223 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31224 * string/Makefile (headers): Add bits/byteswap-16.h.
31225
62470f60
PP
312262012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31227
31228 [BZ #13895]
31229 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31230 extra indirection.
31231 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31232 * nss/tst-nss-static.c: New.
31233
4dad7bab
RM
312342012-04-06 Robert Millan <rmh@gnu.org>
31235
31236 [BZ #6486]
31237 * manual/llio.texi (File Position Primitive): lseek
31238 refers to WHENCE when it really means OFFSET.
31239
e9142a17
AJ
312402012-04-06 Andreas Jaeger <aj@suse.de>
31241
2c040eff
AJ
31242 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31243 strncmp declarations.
31244
e9142a17
AJ
31245 * abilist/libc.abilist: Add __poll and __ppoll.
31246
ff9f1c5f
DM
312472012-04-05 David S. Miller <davem@davemloft.net>
31248
dcd2ae90
DM
31249 * scripts/check-local-headers.sh: Accept a host triplet in the
31250 path matched by the exclude regexp.
31251
993eb054
DM
31252 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31253 definition.
31254 * sysdeps/powerpc/powerpc32/dl-machine.h
31255 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31256 * sysdeps/s390/s390-32/dl-machine.h
31257 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31258 * sysdeps/sparc/sparc32/dl-machine.h
31259 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31260 * sysdeps/sparc/sparc64/dl-machine.h
31261 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31262
ff9f1c5f
DM
31263 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31264 lazy binding.
48e2e132 31265 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31266 undefined symbol errors.
31267
48e2e132 31268 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31269 DT_NEEDED entries.
31270
e80d6f94
MM
312712012-04-05 Michael Matz <matz@suse.de>
31272
31273 [BZ #13592]
31274 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31275
349fa79f
AJ
312762012-04-05 Andreas Jaeger <aj@suse.de>
31277
31278 [BZ #13908]
31279 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31280 comment.
31281
f402708f
KK
312822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31283
31284 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31285 which ROUND is no valid rounding mode.
31286
2ecccfc9
KK
312872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31288
31289 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31290 read again.
31291 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31292
8a53f50f
KK
312932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31294
31295 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31296 an exception using FPU order intentionally.
31297
312982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31299
31300 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31301 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31302 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31303 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31304
d653abb7
SJ
313052012-04-05 Simon Josefsson <simon@josefsson.org>
31306
31307 [BZ #12340]
31308 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31309 EINVAL when BUFLEN is too smal.
31310
c3b1bf7d
TS
313112012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31312
31313 [BZ #13553]
31314 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31315 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31316
b1aa60f3
AJ
313172012-04-03 Andreas Jaeger <aj@suse.de>
31318
c3b1bf7d 31319 [BZ #13938]
67f60a26
AJ
31320 * manual/setjmp.texi (System V contexts): Fix sentence.
31321
b1aa60f3
AJ
31322 [BZ #13926]
31323 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31324 New macro for this case.
31325 [!__GNUC__] (__bswap_64): New inline function for this case.
31326 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31327 * bits/byteswap.h: Likewise.
31328 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31329 ull, guard with __GLIBC_HAVE_LONG_LONG.
31330
31331 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31332 __GLIBC_HAVE_LONG_LONG.
31333
31334 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31335 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31336
39c59c35
TMQMF
313372012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31338
31339 [BZ #13691]
31340 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31341 inptr and inend, rather than using last_ch.
31342
135ffda8
DM
313432012-04-02 David S. Miller <davem@davemloft.net>
31344
31345 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31346 * stdio-common/printf-parse.h (read_int): Change return type to
31347 'int', return -1 on INT_MAX overflow.
31348 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31349 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31350 overflows INT_MAX. Check for overflow of in-format-string precision
31351 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31352 SIZE_MAX not INT_MAX for integer overflow test.
31353 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31354 skip the construct in the format string but do not record anything.
31355 * stdio-common/bug22.c: Adjust to test both width/prevision
31356 INT_MAX overflow as well as total length INT_MAX overflow. Check
31357 explicitly for proper errno values.
31358
228c019e
TS
313592012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31360
302cadd3
TS
31361 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31362 CHAR_MAX.
31363 * string/test-strcmp.c [! WIDE]: Likewise.
31364 * time/tst-mktime2.c: Likewise for INT_MAX.
31365 * string/test-string.h: #include <sys/param.h> for MIN.
31366
228c019e
TS
31367 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31368 * sysdeps/i386/init-first.c (init): Likewise.
31369 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31370 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31371 * sysdeps/sh/init-first.c (init): Likewise.
31372
cfa633f5
UD
313732012-04-01 Ulrich Drepper <drepper@gmail.com>
31374
31375 * po/ru.po: Update from translation team.
d1635ef8 31376 * po/vi.po: Likewise.
cfa633f5 31377
6cd0a5ea
SP
313782012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31379
31380 * resolv/nss_dns/dns-host.c: Merge copyright years.
31381
4b43400f
LD
313822012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31383
31384 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31385 Optimize memcpy with prefetch if
31386 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31387 src, dst pointers have unequal 16 byte alignments.
31388
48c41d04
SP
313892012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31390
31391 [BZ #13928]
31392 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31393 from a CNAME entry and return the minimum ttl for the query.
31394 (gaih_getanswer_slice): Likewise.
31395
b8dc394d
JL
313962012-03-30 Jeff Law <law@redhat.com>
31397
31398 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31399 due to long keys.
31400 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31401 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31402
2f5a5ed0
JL
31403 * resolv/nss_dns/dns-host.c: Update copyright year.
31404
1d39e359
UD
314052012-03-30 Ulrich Drepper <drepper@gmail.com>
31406
c030f70c 31407 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31408 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31409
1d39e359
UD
31410 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31411 comments for sendmmsg.
31412
314132012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31414
31415 [BZ #13691]
31416 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31417 with only 1 character between 0x0041 and 0x01b0.
31418 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31419 * wcsmbs/tst-mbsnrtowcs.c: New file.
31420
20fde227
DM
314212012-03-29 David S. Miller <davem@davemloft.net>
31422
31423 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31424 small copies by hand.
31425
984a4237
JL
314262012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31427
31428 [BZ #13761]
31429 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31430 _nss_compat_initgroups_dyn): Fall back to malloc/free
31431 for large group memberships.
31432
18c9d62b
DM
314332012-03-28 David S. Miller <davem@davemloft.net>
31434
88d85d4f
DM
31435 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31436 that branches into memcpy.
31437 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31439 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31440 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31442 bits.
31443 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31444 implementation too.
31445 * sysdeps/sparc/mempcpy.S: New file.
31446
e5aa83e1
DM
31447 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31448 the IFUNC routine in the libc case.
31449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31450
88570753
DM
31451 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31452 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31453 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31454 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31455 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31456 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31457 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31458 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31459
249d7567
DM
31460 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31461 loop to 256 bytes instead of 64 bytes and fix test signedness.
31462
18c9d62b
DM
31463 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31464 * sysdeps/sparc/sparc32/Makefile: rather than here...
31465 * sysdeps/sparc/sparc64/Makefile: and here.
31466
05f3d1f6
UD
314672012-03-28 Ulrich Drepper <drepper@gmail.com>
31468
31469 * malloc/mallocbug.c: Avoid warnings about unused variables.
31470
86ae07a8
JL
314712012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31472
31473 [BZ #13760]
31474 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31475 in the right place. Discard and retry query if response is
31476 larger than input buffer size.
31477
41bf21a1
JM
314782012-03-28 Joseph Myers <joseph@codesourcery.com>
31479
d6270972
JM
31480 [BZ #369]
31481 [BZ #2678]
31482 [BZ #3866]
31483 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31484 x for large integer exponent.
31485 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31486 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31487 sign of result as needed afterwards.
31488 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31489 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31490 result for underflowing pow the same as for overflow.
31491 (__kernel_standard_l): Handle powl overflow and underflow here
31492 rather than calling __kernel_standard.
31493 * math/libm-test.inc (pow_test): Add more tests.
31494
414fca03 31495 [BZ #3868]
41bf21a1
JM
31496 [BZ #13879]
31497 [BZ #13910]
31498 [BZ #13911]
31499 [BZ #13912]
31500 [BZ #13913]
31501 [BZ #13915]
31502 [BZ #13916]
31503 [BZ #13917]
31504 [BZ #13918]
31505 [BZ #13919]
31506 [BZ #13920]
31507 [BZ #13921]
31508 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31509 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31510 (__kernel_standard_l): New function.
31511 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31512 __kernel_standard.
31513 * math/w_acosl.c (__acosl): Likewise.
31514 * math/w_asinl.c (__asinl): Likewise.
31515 * math/w_atan2l.c (__atan2l): Likewise.
31516 * math/w_atanhl.c (__atanhl): Likewise.
31517 * math/w_coshl.c (__coshl): Likewise.
31518 * math/w_exp10l.c (__exp10l): Likewise.
31519 * math/w_exp2l.c (__exp2l): Likewise.
31520 * math/w_fmodl.c (__fmodl): Likewise.
31521 * math/w_hypotl.c (__hypotl): Likewise.
31522 * math/w_j0l.c (__j0l, __y0l): Likewise.
31523 * math/w_j1l.c (__j1l, __y1l): Likewise.
31524 * math/w_jnl.c (__jnl, __ynl): Likewise.
31525 * math/w_lgammal.c (__lgammal): Likewise.
31526 * math/w_log10l.c (__log10l): Likewise.
31527 * math/w_log2l.c (__log2l): Likewise.
31528 * math/w_logl.c (__logl): Likewise.
31529 * math/w_powl.c (__powl): Likewise.
31530 * math/w_remainderl.c (__remainderl): Likewise.
31531 * math/w_scalbl.c (sysv_scalbl): Likewise.
31532 * math/w_sinhl.c (__sinhl): Likewise.
31533 * math/w_sqrtl.c (__sqrtl): Likewise.
31534 * math/w_tgammal.c (__tgammal): Likewise.
31535 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31536 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31537 * math/libm-test.inc (acos_test): Add more tests.
31538 (acosh_test): Likewise.
31539 (asin_test): Likewise.
31540 (atanh_test): Likewise.
31541 (exp_test): Likewise.
31542 (exp10_test): Likewise.
31543 (exp2_test): Likewise.
31544 (expm1_test): Likewise.
31545 (lgamma_test): Likewise.
31546 (log_test): Likewise.
31547 (log10_test): Likewise.
31548 (log1p_test): Likewise.
31549 (log2_test): Likewise.
31550 (pow_test): Do not allow some spurious overflow exceptions.
31551 (sqrt_test): Add more tests.
31552 (tgamma_test): Likewise.
31553 (y0_test): Likewise.
31554 (y1_test): Likewise.
31555 (yn_test): Likewise.
31556
dd62fda6
AB
315572012-03-27 Anton Blanchard <anton@samba.org>
31558
31559 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31560 MAP_HUGETLB.
31561 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31562 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31563 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31564
1e3cdfda
AJ
315652012-03-27 David S. Miller <davem@davemloft.net>
31566
b855ab85
DM
31567 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31568
1e3cdfda
AJ
31569 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31570 have-as-vis3 check.
31571
315722012-03-27 Andreas Jaeger <aj@suse.de>
31573
31574 * sysdeps/x86_64/elf/configure.in: Moved to ...
31575 * sysdeps/x86_64/configure.in: ... here.
31576 * sysdeps/x86_64/elf/start.S: Moved to ...
31577 * sysdeps/x86_64/start.S: ... here.
31578 * sysdeps/x86_64/elf/configure: Delete.
31579
31580 * sysdeps/x86_64/configure.in: Merge contents from
31581 sysdeps/i386/configure.in (without i686 check).
31582
31583 * sysdeps/i386/elf/Versions: Merge into ...
31584 * sysdeps/i386/Versions: ... this.
31585 * sysdeps/i386/elf/Versions: Delete file.
31586 * sysdeps/i386/elf/start.S: Moved to ...
31587 * sysdeps/i386/start.S: ...here.
31588 * sysdeps/i386/elf/configure.in: Merge into...
31589 * sysdeps/i386/configure.in: ...here.
31590 * sysdeps/i386/elf/configure.in: Delete file.
31591 * sysdeps/i386/elf/configure: Delete file.
31592
31593 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31594 * debug/backtracesyms.c: ... here.
31595 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31596 * debug/backtracesymsfd.c: ... here.
31597 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31598 * sysdeps/generic/ifunc-sel.h: ... here.
31599
31600 * sysdeps/unix/i386/start.c: Delete file.
31601 * sysdeps/unix/sparc/start.c: Delete file.
31602 * sysdeps/unix/start.c: Delete file.
31603
31604 * sysdeps/sh/elf/configure.in: Moved to ...
31605 * sysdeps/sh/configure.in: ... here.
31606 * sysdeps/sh/elf/start.S: Moved to ...
31607 * sysdeps/sh/start.S: ... here.
31608 * sysdeps/sh/elf/configure: Delete file.
31609
31610 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31611 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31612 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31613 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31614 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31615 * sysdeps/powerpc/powerpc64/start.S: here.
31616 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31617 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31618 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31619 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31620 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31621
31622 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31623 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31624 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31625 * sysdeps/powerpc/powerpc32/start.S: ... here.
31626 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31627 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31628 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31629
31630 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31631 * sysdeps/powerpc/ifunc-sel.h: ... here.
31632 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31633 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31634
31635 * sysdeps/sparc/elf/configure.in: Moved to ...
31636 * sysdeps/sparc/configure.in: ... here.
31637 * sysdeps/sparc/elf/configure: Delete file.
31638 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31639 * sysdeps/sparc/sparc32/start.S: ... here.
31640 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31641 * sysdeps/sparc/sparc64/start.S: ... here.
31642 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31643 * sysdeps/sparc/sparc32/Makefile: ... this.
31644 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31645 * sysdeps/sparc/sparc64/Makefile: ... this.
31646
31647 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31648 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31649 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31650 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31651 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31652 * sysdeps/s390/s390-32/setjmp.S: ... here.
31653 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31654 * sysdeps/s390/s390-32/configure.in: ... here.
31655 * sysdeps/s390/s390-32/elf/configure: Delete file.
31656 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31657 * sysdeps/s390/s390-32/start.S: ... here.
31658
31659 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31660 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31661 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31662 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31663 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31664 * sysdeps/s390/s390-64/setjmp.S: ... here.
31665 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31666 * sysdeps/s390/s390-64/configure.in: ... here
31667 * sysdeps/s390/s390-64/elf/configure: Delete file.
31668 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31669 * sysdeps/s390/s390-64/start.S: ... here.
31670 * sysdeps/s390/s390-64/elf/configure: Delete.
31671
31672 * configure.in: Remove support for elf directories in sysdeps.
31673
31674 * configure: Regenerated.
31675 * sysdeps/i386/configure: Regenerated.
31676 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31677 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31678 * sysdeps/s390/s390-32/configure: Regenerated.
31679 * sysdeps/s390/s390-64/configure: Regenerated.
31680 * sysdeps/sh/configure: Regenerated.
31681 * sysdeps/sparc/configure: Regenerated.
31682 * sysdeps/x86_64/configure: Regenerated.
31683
a3f61311
AS
316842012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31685
c876e002
AS
31686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31687
a3f61311
AS
31688 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31689 denormal result into account.
31690
ac4c54f0
RM
316912012-03-25 Roland McGrath <roland@hack.frob.com>
31692
31693 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31694 Reported by Allan McRae <allan@archlinux.org>.
31695
6a9b9c02
JL
316962012-03-23 Jeff Law <law@redhat.com>
31697
31698 * nss/getnssent.c (__nss_getent): Fix typo.
31699
4c42a0c1
DM
317002012-03-23 David S. Miller <davem@davemloft.net>
31701
31702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31703
1532c7ac
L
317042012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31705
31706 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31707 to pad to uint64_t for each field.
31708 (dl_tls_index): Replace unsigned long with uint64_t.
31709
3ff42526
PP
317102012-03-23 Daniel Jacobowitz <dmj@google.com>
31711 Paul Pluzhnikov <ppluzhnikov@google.com>
31712
31713 [BZ #6528]
31714 * grp/Makefile (otherlibs): Don't set it.
31715 * inet/Makefile (otherlibs): Likewise.
31716 * login/Makefile (otherlibs): Likewise.
31717 * nscd/Makefile (otherlibs): Likewise.
31718 * posix/Makefile (otherlibs): Likewise.
31719 * pwd/Makefile (otherlibs): Likewise.
31720 * rt/Makefile (otherlibs): Likewise.
31721 * sunrpc/Makefile (otherlibs): Likewise.
31722 * nss/Makefile (otherlibs): Likewise.
31723 Add libnss_files to routines and static-only-routines.
31724 ($(objpfx)getent): Remove rule.
31725 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31726 static-only-routines.
31727
7c69cd14
JM
317282012-03-22 Joseph Myers <joseph@codesourcery.com>
31729
31730 [BZ #13892]
31731 * math/s_cexp.c: Include <float.h>.
31732 (__cexp): Handle exp result overflowing not necessarily
31733 overflowing both real and imaginary parts of result.
31734 * math/s_cexpf.c: Likewise.
31735 * math/s_cexpl.c: Likewise.
31736 * math/libm-test.inc (cexp_test): Add more tests.
31737 * sysdeps/i386/fpu/libm-test-ulps: Update.
31738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31739
81b035fe
L
317402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31741
31742 * include/link.h (ELFW): New macro.
31743 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31744 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31745
1da7940c
L
317462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31747
31748 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31749 with uint64_t.
31750
b749dbb9
L
317512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31752
31753 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31754 declaration.
31755 (struct La_x32_retval): Likewise.
31756
2ff87f3f
L
317572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31758
31759 * sysdeps/x86_64/preconfigure.in: New file.
31760 * sysdeps/x86_64/preconfigure: New generated file.
31761
c0df8e69
JM
317622012-03-22 Joseph Myers <joseph@codesourcery.com>
31763
48e44791
JM
31764 [BZ #13824]
31765 * math/e_exp2l.c: Include <float.h>.
31766 (__ieee754_exp2l): Handle overflow and underflow cases
31767 separately. Only pass fractional part of argument to
31768 __ieee754_expl.
31769 * math/libm-test.inc (exp2_test): Add more tests.
31770
c0df8e69
JM
31771 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31772 negating x to take absolute value.
31773 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31774 Likewise.
31775 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31776 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31777 Likewise.
31778 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31779 computing low part if x was negated.
31780 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31781
c8e43ba7
L
317822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31783
31784 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31785 la_x32_gnu_pltexit.
31786 (pltexit): Cast int_retval to ptrdiff_t.
31787 * elf/tst-auditmod3b.c: Likewise.
31788 * elf/tst-auditmod4b.c: Likewise.
31789 * elf/tst-auditmod5b.c: Likewise.
31790 * elf/tst-auditmod6b.c: Likewise.
31791 * elf/tst-auditmod6c.c: Likewise.
31792 * elf/tst-auditmod7b.c: Likewise.
31793
31794 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31795 and x32_gnu_pltexit.
31796
31797 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31798 __ELF_NATIVE_CLASS.
31799 (La_x32_regs): New macro.
31800 (La_x32_retval): Likewise.
31801 (la_x32_gnu_pltenter): New function prototype.
31802 (la_x32_gnu_pltexit): Likewise.
31803
7998fa78
AS
318042012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31805
dcb33988
AS
31806 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31807 exponent.
31808
233fc563
AS
31809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31810
7998fa78
AS
31811 * configure.in (libc_cv_cc_nofma): Check for option to disable
31812 generation of FMA instructions.
31813 * configure: Regenerate.
31814 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31815 * sysdeps/ieee754/dbl-64/Makefile: New file.
31816 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31817 Remove brandred-fma4.
31818 (CFLAGS-brandred-fma4.c): Remove.
31819 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31820 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31821 define.
31822 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31823 define.
31824
8e95c99a
L
318252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31826
31827 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31828 LLONG_MAX != LONG_MAX.
31829 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31830 (_fitoa_word): Likewise.
31831 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31832 LLONG_MAX != LONG_MAX.
31833 * stdio-common/_itowa.h: Include <_itoa.h>.
31834 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31835 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31836 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31837 only if not defined.
31838 (_ITOA_WORD_TYPE): Likewise.
31839 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31840 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31841
6f4db457
DM
318422012-03-21 David S. Miller <davem@davemloft.net>
31843
31844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31845
7785fe5a
L
318462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31847
31848 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31849 of x86_64 when setting libc_cv_slibdir, libdir and
31850 libc_cv_localedir.
31851 * sysdeps/unix/sysv/linux/configure: Regenerated.
31852
4535cd55
JM
318532012-03-21 Joseph Myers <joseph@codesourcery.com>
31854
31855 * manual/lang.texi (Old Varargs): Remove section.
31856 (How Variadic): Update menu.
31857 (va_start): Do not mention varargs.h.
31858
17228132
TS
318592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31860 Joseph Myers <joseph@codesourcery.com>
31861
31862 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31863 link test.
31864 * configure: Regenerated.
31865
8149f976
TS
318662012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31867
05f3d1f6
UD
31868 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31869 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31870 conformtest.pl
8149f976 31871
1a4ac776
JM
318722012-03-21 Joseph Myers <joseph@codesourcery.com>
31873
be22ce65
JM
31874 * NOTES: Remove.
31875 * Makefile (files-for-dist): Remove NOTES.
31876 (NOTES): Remove rule.
31877 * README: Don't refer to NOTES.
31878 * manual/creature.texi: Don't include macros.texi.
31879 * manual/intro.texi (creature.texi): Remove comment referring to
31880 NOTES.
31881
40b601fb
JM
31882 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31883 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31884 * configure: Regenerated.
31885 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31886 LIBC_TRY_CC_OPTION.
31887 (libc_cv_as_i686): Likewise.
31888 (libc_cv_cc_avx): Likewise.
31889 (libc_cv_cc_sse2avx): Likewise.
31890 (libc_cv_cc_fma4): Likewise.
31891 (libc_cv_cc_novzeroupper): Likewise.
31892 * sysdeps/i386/configure: Regenerated.
31893
1a4ac776
JM
31894 [BZ #13883]
31895 * sysdeps/i386/fpu/s_cexp.S: Remove.
31896 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31897 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31898 * math/libm-test.inc (cexp_test): Add more tests.
31899 * sysdeps/i386/fpu/libm-test-ulps: Update.
31900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31901
a458e7fe
AM
319022012-03-21 Allan McRae <allan@archlinux.org>
31903
31904 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31905
0cb7efc5
JM
319062012-03-21 Joseph Myers <joseph@codesourcery.com>
31907
31908 [BZ #13871]
31909 * math/w_exp2.c: Do not include <float.h>.
31910 (o_threshold, u_threshold): Remove.
31911 (__exp2): Calculate result before checking finiteness and calling
31912 __kernel_standard.
31913 * math/w_exp2f.c: Likewise.
31914 * math/w_exp2l.c: Likewise.
31915 * math/libm-test.inc (exp2_test): Require overflow exception for
31916 1e6 input.
2460d3aa
JM
31917
31918 [BZ #3866]
31919 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31920 range of signed 64-bit integers before using fistpll. Remove
31921 checks for whether integers fit in mantissa bits.
31922 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31923 the range of signed 32-bit integers before using fistpl. Remove
31924 checks for whether integers fit in mantissa bits.
31925 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31926 (__ieee754_powl): Test for y outside the range of signed 64-bit
31927 integers before using fistpll. Reduce 64-bit values to 63-bit
31928 ones as needed.
31929 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31930 divide-by-zero is raised for zero to large negative powers.
31931 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31932 (__ieee754_powl): Test for y outside the range of signed 64-bit
31933 integers before using fistpll. Reduce 64-bit values to 63-bit
31934 ones as needed.
31935 * math/libm-test.inc (pow_test): Add more tests.
31936
eb96ffb0
L
319372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31938
31939 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31940 <stdio-common/_itoa.h>.
31941 * debug/segfault.c: Likewise.
31942 * elf/dl-cache.c: Likewise.
31943 * elf/dl-minimal.c: Likewise.
31944 * elf/dl-misc.c: Likewise.
31945 * elf/dl-sysdep.c: Likewise.
31946 * elf/dl-version.c: Likewise.
31947 * elf/rtld.c: Likewise.
31948 * hurd/hurdsock.c: Likewise.
31949 * hurd/lookup-retry.c: Likewise.
31950 * malloc/malloc.c: Likewise.
31951 * malloc/mtrace.c: Likewise.
31952 * nscd/nscd_getgr_r.c: Likewise.
31953 * nscd/nscd_getpw_r.c: Likewise.
31954 * nscd/nscd_getserv_r.c: Likewise.
31955 * posix/getopt_init.c: Likewise.
31956 * posix/wordexp.c: Likewise.
31957 * stdio-common/_itoa.c: Likewise.
31958 * stdio-common/printf_fphex.c: Likewise.
31959 * stdio-common/vfprintf.c: Likewise.
31960 * string/_strerror.c: Likewise.
31961 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31962 * sysdeps/i386/i686/hp-timing.h: Likewise.
31963 * sysdeps/mach/_strerror.c: Likewise.
31964 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31965 * sysdeps/mach/hurd/sethostid.c: Likewise.
31966 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31967 * sysdeps/mach/xpg-strerror.c: Likewise.
31968 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31969 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31970 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31971 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31972 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31973 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31974 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31975 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31976 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31977 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31978 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31979 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31980 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31981 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31982 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31983 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31984 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31985 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31986 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31987 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31988 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31989
31990 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31991
31992 * stdio-common/_itoa.h: Moved to ...
31993 * sysdeps/generic/_itoa.h: Here.
31994
31995 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31996
31997 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31998 instead of "_itoa.h" and "_itowa.h".
31999 * stdio-common/vfprintf.: Likewise.
32000
d1af992d
L
320012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32002
32003 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32004 <bits/wordsize.h>.
32005 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32006 (__signbit): Likwise.
32007 (llrintf): Likwise.
32008 (llrint): Likwise.
32009
114883e0
L
320102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32011
32012 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32013 __WORDSIZE != 64.
32014
c135cc1b
JM
320152012-03-20 Joseph Myers <joseph@codesourcery.com>
32016
32017 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32018 OVERFLOW_EXCEPTION_OK.
32019 * math/libm-test.inc ("Philosophy"): Update comment about
32020 exception testing.
32021 (OVERFLOW_EXCEPTION): Define.
32022 (OVERFLOW_EXCEPTION_OK): Likewise.
32023 (INVALID_EXCEPTION_OK): Renumber.
32024 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32025 (IGNORE_ZERO_INF_SIGN): Likewise.
32026 (test_exceptions): Handle FE_OVERFLOW.
32027 (exp10_test): Expect overflow exceptions.
32028 (exp2_test): Likewise.
32029 (expm1_test): Likewise.
32030 (nextafter_test): Likewise.
32031 (pow_test): Likewise.
32032 (scalbn_test): Likewise.
32033 (scalbln_test): Likewise.
32034
95443d88
L
320352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32036
32037 * sysdeps/x86_64/bits/atomic.h
32038 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32039 64bit integer.
32040 (atomic_exchange_acq): Likewise.
32041 (__arch_exchange_and_add_body): Likewise.
32042 (__arch_add_body): Likewise.
32043 (atomic_add_negative): Likewise.
32044 (atomic_add_zero): Likewise.
32045
490df6c4
L
320462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32047
c2722551 32048 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32049 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32050
5e52b189
L
320512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32052
32053 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32054 Check __x86_64__ instead of __WORDSIZE.
32055
a9879d4c
L
320562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32057
32058 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32059
5df98260
DM
320602012-03-19 David S. Miller <davem@davemloft.net>
32061
e1497744
DM
32062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32063
5df98260
DM
32064 * sysdeps/sparc/fpu/fenv_private.h: New file.
32065 * sysdeps/sparc/fpu/math_private.h: Use it.
32066 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32067 Remove.
32068 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32069 (libc_feholdexcept_setroundl): Remove.
32070 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32071 Remove.
32072 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32073 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32074
b4c35121
L
320752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32076
32077 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32078 int64_t instead of long int.
32079 (INSERT_WORDS64): Likwise.
32080
56965fd7
L
320812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32082
32083 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32084 _Unwind_GetCFA return to _Unwind_Ptr first.
32085
83d1aec8
JM
320862012-03-19 Joseph Myers <joseph@codesourcery.com>
32087
1897ad44
JM
32088 [BZ #13629]
32089 * math/s_clog.c: Include <float.h>.
32090 (__clog): Scale large or subnormal inputs.
32091 * math/s_clogf.c: Likewise.
32092 * math/s_clogl.c: Likewise.
32093 * math/s_clog10.c: Include <float.h>.
32094 (M_LOG10_2): Define.
32095 (__clog10): Scale large or subnormal inputs.
32096 * math/s_clog10f.c: Likewise.
32097 * math/s_clog10l.c: Likewise.
32098 * math/libm-test.inc (clog_test): Add more tests.
32099 (clog10_test): Likewise.
32100 * sysdeps/i386/fpu/libm-test-ulps: Update.
32101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32102
7726d6a9
JM
32103 [BZ #11451]
32104 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32105 x and y.
32106 * math/libm-test.inc (atan2_test): Add another test.
32107
83d1aec8
JM
32108 * Makerules (common-objdir-compile): Remove.
32109 * sysdeps/unix/Makefile (config-generated): Do not add
32110 $(unix-generated) to variable.
32111 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32112 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32113 Remove rule.
32114 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32115 Likewise.
32116 [generic bits/local_lim.h] (before-compile): Do not append to
32117 variable.
32118 [generic bits/local_lim.h] (common-generated): Likewise.
32119 [generic sys/param.h] (before-compile): Do not append to variable.
32120 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32121 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32122 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32123 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32124 include.
32125 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32126 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32127 [generic sys/param.h] ($(addprefix
32128 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32129 [generic sys/param.h] (common-generated): Do not append to
32130 variable.
32131 [generic sys/param.h] (sysdep_headers): Likewise.
32132 [generic bits/errno.h] (before-compile): Do not append to
32133 variable.
32134 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32135 rule.
32136 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32137 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32138 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32139 [generic bits/errno.h] (common-generated): Do not append to
32140 variable.
32141 [generic bits/ioctls.h] (before-compile): Do not append to
32142 variable.
32143 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32144 rule.
32145 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32146 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32147 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32148 rule.
32149 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32150 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32151 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32152 [generic bits/ioctls.h] (common-generated): Do not append to
32153 variable.
32154 [generic sys/syscall.h] (syscall.h): Remove variable.
32155 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32156 rule.
32157 [generic sys/syscall.h] (before-compile): Do not append to
32158 variable.
32159 [generic sys/syscall.h] (common-generated): Likewise.
32160 * sysdeps/unix/errnos-tmpl.c: Remove file.
32161 * sysdeps/unix/errnos.awk: Likewise.
32162 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32163 * sysdeps/unix/ioctls.awk: Likewise.
32164 * sysdeps/unix/mk-local_lim.c: Likewise.
32165 * sysdeps/unix/snarf-ioctls: Likewise.
32166
4851a949
RH
321672012-03-19 Richard Henderson <rth@twiddle.net>
32168
bd37f2ee
RH
32169 * sysdeps/i386/fpu/fenv_private.h: New file.
32170 * sysdeps/i386/fpu/math_private.h: Use it.
32171 (math_opt_barrier, math_force_eval): Remove.
32172 (libc_feholdexcept_setround_53bit): Remove.
32173 (libc_feupdateenv_53bit): Remove.
32174 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32175 (math_opt_barrier, math_force_eval): Remove.
32176 (libc_feholdexcept): Remove.
32177 (libc_feholdexcept_setround): Remove.
32178 (libc_fetestexcept, libc_fesetenv): Remove.
32179 (libc_feupdateenv_test): Remove.
32180 (libc_feupdateenv, libc_feholdsetround): Remove.
32181 (libc_feresetround): Remove.
32182
d0adc922
RH
32183 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32184 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32185
0fe0f1f8
RH
32186 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32187 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32188 (libc_feupdateenv_testl): New.
32189 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32190 (libc_feupdateenv_testf): New.
32191 (libc_feupdateenv): Use libc_feupdateenv_test.
32192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32193 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32194
eb92c487
RH
32195 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32196 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32197 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32198 (libc_feresetround_noex): New.
32199 (libc_feresetround_noexf): New.
32200 (libc_feresetround_noexl): New.
32201 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32202 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32203 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32204 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32205 SET_RESTORE_ROUND.
32206 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32207 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32208 (__cos): Likewise.
32209 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32210 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32211 SET_RESTORE_ROUND_NOEX.
32212 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32213 SET_RESTORE_ROUND_NOEXF.
32214 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32215 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32216 (libc_feholdsetroundf): New.
32217 (libc_feresetround, libc_feresetroundf): New.
32218
7d2e8012
RH
32219 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32220 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32221 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32222
b4dabbb4
RH
32223 * sysdeps/generic/math_private.h: Include <fenv.h>.
32224 (default_libc_feholdexcept): New.
32225 (default_libc_feholdexcept_setround): New.
32226 (default_libc_fesetenv, default_libc_feupdateenv): New.
32227 (libc_feholdexcept): Only define if undefined.
32228 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32229 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32230 (libc_feholdexcept_setroundl): Likewise.
32231 (libc_feholdexcept_setround_53bit): Likewise.
32232 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32233 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32234 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32235 (libc_feupdateenv_53bit): Likewise.
32236 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32237 (libc_feholdexcept): Convert from macro to inline function.
32238 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32239 (libc_fesetenv, libc_feupdateenv): Likewise.
32240
4851a949
RH
32241 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32242 not previously defined.
32243 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32244 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32245 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32246 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32247 * sysdeps/ieee754/flt-32/math_private.h: New file.
32248 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32249 math_private.h below SET_FLOAT_WORD.
32250 (__isnan, __isinf_ns, __finite): Remove.
32251 (__isnanf, __isinf_nsf, __finitef): Remove.
32252
e79d442e
AS
322532012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32254
32255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32256
90b80344
DM
322572012-03-17 David S. Miller <davem@davemloft.net>
32258
32259 [BZ #6471]
32260 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32261 for 2.16.
32262
edc21804
DM
322632012-03-16 David S. Miller <davem@davemloft.net>
32264
77e927af
DM
32265 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32266 warnings.
32267
374976dd
DM
32268 [BZ #6471]
32269 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32270 properly.
32271 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32272 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32273 sysdep_routines when subdir is sysvipc.
32274 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32275 __getshmlba helper.
32276
edc21804
DM
32277 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32278
473c3ef3
L
322792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32280
32281 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32282 [__LP64__].
32283
eb0f39b6
L
322842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32285
32286 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32287 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32288 (__lround): Renamed to ...
32289 (__llround): This. Replace long int with long long int.
32290 Define lround functions as aliases of llround functions.
32291 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32292
6b6cd74b
L
322932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32294
32295 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32296 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32297 adresses to uintptr_t. Replace "long int" and "unsigned long
32298 int" with "greg_t" on va_arg.
32299
f1a77b01
L
323002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32301
32302 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32303 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32304
32305 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32306 Move e_machine check before EI_CLASS check. Handle x32
32307 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32308 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32309 SKIP_EM_IA_64 and include
32310 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32311
32312 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32313 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32314 (add_system_dir): New macro.
32315
32316 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32317 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32318
11b90b9f
JM
323192012-03-16 Joseph Myers <joseph@codesourcery.com>
32320
c36e1d23
JM
32321 [BZ #2551]
32322 [BZ #2552]
32323 [BZ #2553]
32324 [BZ #2554]
32325 [BZ #2562]
32326 [BZ #2563]
32327 [BZ #2565]
32328 [BZ #2566]
32329 [BZ #2576]
32330 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32331 (y0): Likewise.
32332 * math/w_j0f.c (j0f): Likewise.
32333 (y0f): Likewise.
32334 * math/w_j0l.c (__j0l): Likewise.
32335 (__y0l): Likewise.
32336 * math/w_j1.c (j1): Likewise.
32337 (y1): Likewise.
32338 * math/w_j1f.c (j1f): Likewise.
32339 (y1f): Likewise.
32340 * math/w_j1l.c (__j1l): Likewise.
32341 (__y1l): Likewise.
32342 * math/w_jn.c (jn): Likewise.
32343 (yn): Likewise.
32344 * math/w_jnf.c (jnf): Likewise.
32345 (ynf): Likewise.
32346 * math/w_jnl.c (__jnl): Likewise.
32347 (__ynl): Likewise.
32348 * math/libm-test.inc (j0_test): Add more tests.
32349 (j1_test): Likewise.
32350 (jn_test): Likewise. Add trailing semicolon to existing test.
32351 (y0_test): Likewise.
32352 (y1_test): Likewise.
32353 * sysdeps/i386/fpu/libm-test-ulps: Update.
32354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32355
11b90b9f
JM
32356 [BZ #13851]
32357 [BZ #13854]
32358 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32359 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32360 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32361 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32362 (__tanl): Set errno for infinite argument.
32363 * sysdeps/i386/fpu/mptan.c: Remove.
32364 * sysdeps/i386/fpu/s_tan.S: Likewise.
32365 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32366 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32367 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32368 * math/libm-test.inc (tan_test): Add more tests and enable more
32369 tests for double and long double.
32370 * sysdeps/i386/fpu/libm-test-ulps: Update.
32371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32372
6a1bd2a1
JK
323732012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32374
32375 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32376 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32377
10a803e0
RM
323782012-03-16 Roland McGrath <roland@hack.frob.com>
32379
32380 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32381 * configure.in: Use it for both main tree and add-ons.
32382 * configure: Regenerated.
32383
f196c7f7
L
323842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32385
32386 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32387
8848d99d
JM
323882012-03-16 Joseph Myers <joseph@codesourcery.com>
32389
96cbe7f4
JM
32390 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32391 in comment.
32392
8848d99d
JM
32393 [BZ #13851]
32394 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32395 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32396 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32397 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32398 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32399 infinite argument.
32400 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32401 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32402 != 0 for prec == 2.
32403 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32404 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32405 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32406 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32407 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32408 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32409 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32410 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32411 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32412 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32413 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32414 * math/libm-test.inc (cos_test): Add more tests and enable more
32415 tests for long double.
32416 (sin_test): Likewise.
32417 (sincos_test): Likewise.
32418 * sysdeps/i386/fpu/libm-test-ulps: Update.
32419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32420
dd7f4703
DM
324212012-03-16 David S. Miller <davem@davemloft.net>
32422
32423 * sysdeps/sparc/fpu/math_private.h: New file.
32424
006f1daa
DM
324252012-03-15 David S. Miller <davem@davemloft.net>
32426
c0c83bc8
DM
32427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32428 file.
e6a62e18 32429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32431 file.
e6a62e18
DM
32432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32437 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32438 sysdep routines.
32439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32440
88cb87d9
DM
32441 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32442 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32443
006f1daa 32444 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32446 sparc-ifunc.h
006f1daa 32447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32449 Likewise.
32450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32451 Likewise.
006f1daa
DM
32452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32456 Likewise.
006f1daa
DM
32457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32462 Likewise.
32463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32464 Likewise.
006f1daa
DM
32465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32471 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32472 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32483 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32484 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32485 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32486 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32487 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32488 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32489
11e0098e
AS
324902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32491
32492 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32493 scaling.
32494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32495
e85b09d0
AJ
324962012-03-15 Andreas Jaeger <aj@suse.de>
32497
32498 [BZ #13852]
32499 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32500 ieee754/flt-32 implementation for sin, cos and sincos.
32501 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32502 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32503 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32504 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32505 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32506 ieee754/flt-32 implementation for tan.
32507
32508 * math/libm-test.inc (cos_test): Enable some large input tests for
32509 float as well
32510 (sin_test): Likewise.
32511 (sincos_test): Likewise.
32512 (tan_test): Add tests for large input.
32513
32514 * sysdeps/i386/fpu/libm-test-ulps: Update.
32515
81c64153
AJ
325162012-03-15 Andreas Jaeger <aj@suse.de>
32517
32518 [BZ #13658]
32519 * math/libm-test.inc (cos_test): Add more test cases.
32520 (sin_test): Likewise.
32521 (sincos_test): Likewise.
32522
7bbfa5c6
AJ
325232012-03-15 Andreas Jaeger <aj@suse.de>
32524
32525 [BZ #13837]
32526 * math/libm-test.inc (cos_test): Add a test case for large input
32527 value.
32528 (sin_test): Likewise.
32529 (sincos_test): Likewise.
32530
325312012-03-15 Andreas Jaeger <aj@suse.de>,
32532 Joseph Myers <joseph@codesourcery.com>
32533
32534 [BZ #13658]
0671f479 32535 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32536 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32537 * sysdeps/i386/fpu/branred.c: Likewise.
32538 * sysdeps/i386/fpu/dosincos.c: Likewise.
32539 * sysdeps/i386/fpu/mpa.c: Likewise.
32540 * sysdeps/i386/fpu/s_cos.S: Likewise.
32541 * sysdeps/i386/fpu/s_sin.S: Likewise.
32542 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32543 * sysdeps/i386/fpu/sincos32.c: Likewise.
32544
32545 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32546 Define.
32547 (libc_feupdateenv_53bit): Define.
32548 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32549 Define.
32550 (libc_feupdateenv_53bit): Define.
32551
32552 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32553 53 bit (without extend i386 double precision).
32554
32555 * math/libm-test.inc (sincos_test): Add tests for large input.
32556 (sin): Likewise.
32557 (cos): Likewise.
32558
32559 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32560
9cad04ea
AS
325612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32562
32563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32564
f7062b9a
DM
325652012-03-15 David S. Miller <davem@davemloft.net>
32566
32567 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32568 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32569 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32570 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32583 file.
f7062b9a 32584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32586 file.
f7062b9a 32587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32589 file.
f7062b9a 32590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32592 file.
f7062b9a
DM
32593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32594 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32595 fmin/fmax sysdep routines.
32596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32597
7bd951ff
DM
325982012-03-14 David S. Miller <davem@davemloft.net>
32599
559398ab
DM
32600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32604 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32605 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32606 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32607 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32621 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32622 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32623 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32624 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32629 routines.
32630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32631 file.
559398ab 32632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32634 file.
559398ab 32635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32637 file.
559398ab 32638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32640 file.
559398ab 32641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32643 file.
559398ab 32644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32646 file.
32647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32648 file.
32649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32650 file.
32651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32652 file.
32653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32654 New file.
32655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32656 file.
32657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32658 file.
559398ab 32659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32661 file.
559398ab 32662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32664 file.
559398ab 32665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32667 file.
559398ab 32668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32670 VIS3 routines.
559398ab
DM
32671
32672 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32673 New file.
32674
5a1c1e32
DM
32675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32676
eae47a36
DM
32677 * sysdeps/sparc/configure.in: New file.
32678 * sysdeps/sparc/configure: Generate.
32679 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32680 * configure: Regenerate.
32681 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32682 * config.make.in (have-as-vis3): New.
32683 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32684 available use -Av9d instead of -Av9a.
32685 * sysdeps/sparc/sparc64/Makefile: Likewise.
32686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32688 New file.
32689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32690 file.
32691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32692 New file.
32693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32694 file.
eae47a36
DM
32695 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32697 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32698 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32699 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32700
c0c83bc8
DM
32701 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32702 fzeros/fnegs to load 0x80000000 into a float register instead of
32703 using the stack.
7bd951ff
DM
32704 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32705
bd951ccb
JM
327062012-03-14 Joseph Myers <joseph@codesourcery.com>
32707
32708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32709 bits/syscall.h.
32710 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32711 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32712 ($(inst_includedir)/bits/syscall.h): Remove rule.
32713 ($(objpfx)bits/syscall.d): Include instead of
32714 $(objpfx)syscall-list.d.
32715 (generated): Change syscall-list.h and syscall-list.d to
32716 bits/syscall.h and bits/syscall.d.
32717
bb4e6db2
RM
327182012-03-14 Roland McGrath <roland@hack.frob.com>
32719
32720 [BZ #13846]
32721 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32722
aa4a2ae1
JM
327232012-03-14 Joseph Myers <joseph@codesourcery.com>
32724
e456826d
JM
32725 [BZ #13841]
32726 * math/s_csqrt.c: Include <float.h>.
32727 (__csqrt): Scale large or subnormal inputs.
32728 * math/s_csqrtf.c: Likewise.
32729 * math/s_csqrtl.c: Likewise.
32730 * math/libm-test.inc (csqrt_test): Add more tests.
32731 * sysdeps/i386/fpu/libm-test-ulps: Update.
32732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32733
aa4a2ae1
JM
32734 [BZ #13840]
32735 * math/libm-test.inc (hypot_test): Add more tests.
32736
7c10fd35
DM
327372012-03-13 David S. Miller <davem@davemloft.net>
32738
32739 [BZ #13840]
32740 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32741 double-precision for the calculation instead of scaling.
32742
f453b98b
JM
327432012-03-13 Joseph Myers <joseph@codesourcery.com>
32744
32745 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32746 manipulate bits before adding and subtracting TWO52[sx].
32747 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32748 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32749 Likewise.
32750 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32751
09a3453f
DM
327522012-03-13 David S. Miller <davem@davemloft.net>
32753
8e59da90
DM
32754 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32755 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32757 rtld-global-offsets.h
32758 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32759
2a8ab7f2
DM
32760 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32761 large parameters.
32762
10f62770
DM
32763 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32764
5f0bdb18
DM
32765 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32766 'err' in the ifdef scope in which it is actually used.
32767
09a3453f
DM
32768 * nss/nss_db/db-init.c: Include string.h
32769
b4b2eb5e
DM
327702012-03-12 David S. Miller <davem@davemloft.net>
32771
98bb2f1c
DM
32772 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32773 masking out of the most significant byte of random value used.
32774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32775 Fix coding style in previous change.
32776
b4b2eb5e
DM
32777 * sysdeps/unix/sysv/linux/kernel-features.h
32778 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32779 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32780 expression.
32781 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32782 later.
32783
6e226b09
DM
327842012-03-11 David S. Miller <davem@davemloft.net>
32785
a1bcbd40
DM
32786 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32787 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32788 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32789 for 'resultvar' otherwise things get truncated on 64-bit.
32790
cb9d6174
DM
32791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32792 Fix masking out of the most significant byte of random value used.
32793
6e226b09
DM
32794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32795
058c132d
AS
327962012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32797
32798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32799
2d2cd515
DM
328002012-03-09 David S. Miller <davem@davemloft.net>
32801
32802 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32803 variables with appropriate CPP guards.
32804 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32805 frame pointer, not the stack pointer. Correct layout comments. Fix test
32806 on resulting framesize and the management of the outregs buffer for pltexit.
32807 Preserve floating point return values across _dl_call_pltexit call.
32808 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32809 framesize and the management of the outregs buffer for pltexit.
32810 Preserve floating point return values across _dl_call_pltexit
32811 call.
32812 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32813 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32814 (print_exit): Fix format string for return register value.
32815
9a07f9d0
JM
328162012-03-10 Joseph Myers <joseph@codesourcery.com>
32817
32818 * sunrpc/Makefile (others): Add rpcgen.
32819 ($(objpfx)rpcgen): Remove special build rule and dependency on
32820 libc.
32821 * sunrpc/rpcgen.c: New file.
32822
547b5e30
PE
328232012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32824
c524201a
PE
32825 [BZ #13673]
32826 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32827 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32828 * sysdeps/i386/crti.S: Likewise.
32829 * sysdeps/i386/crtn.S: Likewise.
32830 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32831 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32832 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32833 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32834 * sysdeps/sh/crti.S: Likewise.
32835 * sysdeps/sh/crtn.S: Likewise.
32836 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32837
7b6235f2
PE
32838 [BZ #13673]
32839 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32840 with URL.
32841 * locale/programs/locfile-kw.gperf: Likewise.
32842 * locale/programs/charmap-kw.h: Regenerated.
32843 * locale/programs/locfile-kw.h: Likewise.
32844
547b5e30
PE
32845 [BZ #13673]
32846 * intl/plural.y: Replace FSF snail mail address with URL.
32847 * intl/plural.c: Regenerated.
32848
5f0a5dae
RH
328492012-03-09 Richard Henderson <rth@twiddle.net>
32850
32851 * include/math_private.h: Remove file.
32852 * math/math_private.h: Move file ...
32853 * sysdeps/generic/math_private.h: ... here.
32854
b8c03620
RH
32855 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32856 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32857 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32858
4e234f5d 32859 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32860 and <math_private.h>.
32861 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32862 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32863 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32864 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32865 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32866 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32867 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32869 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32870 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32872 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32873 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32874 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32875 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32876 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32877 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32878 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32879 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32880 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32881 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32882 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32883 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32884 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32885 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32886 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32887 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32888 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32890 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32891 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32893 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32894 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32895 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32896 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32897 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32898 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32899 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32900 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32901 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32902 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32903 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32904 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32905 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32906 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32907 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32908 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32909 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32910 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32911 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32912 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32913 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32914 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32915 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32916 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32917 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32918 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32919 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32920 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32921 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32922 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32924 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32925 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32926 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32927 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32928 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32929 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32930 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32931 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32932 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32933 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32934 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32935 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32938 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32939 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32940 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32941 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32942 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32943 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32944 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32945 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32947 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32948 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32949 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32950 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32951 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32952 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32953 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32954 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32955 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32956 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32957 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32958 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32959 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32960 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32961 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32962 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32963 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32964 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32965 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32966 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32967 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32968 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32969 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32970 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32971 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32972 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32973 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32974 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32975 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32976 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32978 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32979 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32980 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32981 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32982 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32983 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32984 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32985 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32986 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32987 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32988 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32989 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32990 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32991 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32992 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32993 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32994 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32995 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32996 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32997 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32998 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32999 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33000 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33001 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33002 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33003 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33004 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33005 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33006 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33007 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33008 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33009 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33010 * sysdeps/ieee754/k_standard.c: Likewise.
33011 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33012 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33013 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33014 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33015 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33016 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33017 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33018 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33019 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33020 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33021 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33022 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33023 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33024 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33025 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33026 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33027 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33028 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33029 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33030 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33031 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33032 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33033 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33034 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33035 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33036 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33037 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33038 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33039 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33041 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33042 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33043 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33044 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33045 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33046 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33047 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33048 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33049 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33050 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33051 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33052 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33053 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33054 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33055 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33056 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33057 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33058 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33059 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33062 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33063 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33064 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33065 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33066 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33067 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33068 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33069 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33070 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33071 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33072 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33073 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33074 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33075 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33076 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33077 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33078 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33079 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33080 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33081 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33082 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33083 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33084 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33085 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33087 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33088 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33089 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33090 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33091 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33092 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33093 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33094 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33095 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33096 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33097 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33098 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33099 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33100 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33101 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33102 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33103 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33104 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33105 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33106 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33107 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33108 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33109 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33110 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33115 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33123 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33124 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33125 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33126 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33129 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33130 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33131 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33132 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33133 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33134 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33135 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33136 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33137 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33138 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33139 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33140 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33141 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33142 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33143 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33144 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33145 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33152 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33153 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33154 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33157 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33158 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33159 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33160 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33161 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33162 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33165 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33166 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33171 * sysdeps/ieee754/s_lib_version.c: Likewise.
33172 * sysdeps/ieee754/s_matherr.c: Likewise.
33173 * sysdeps/ieee754/s_signgam.c: Likewise.
33174 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33175 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33176 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33177 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33178 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33179 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33180 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33181 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33182 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33183 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33184 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33185 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33186 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33187 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33188 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33189 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33190 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33191 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33192 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33195
1991fa03
JM
331962012-03-09 Joseph Myers <joseph@codesourcery.com>
33197
33198 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33199 * sunrpc/rpc_main.c: Likewise.
33200 * sunrpc/rpc_svcout.c: Likewise.
33201
60d6f5a6
DM
332022012-03-09 David S. Miller <davem@davemloft.net>
33203
33204 * include/math_private.h: New file.
33205
4962050e
JM
332062012-03-09 Joseph Myers <joseph@codesourcery.com>
33207
02a6f887
JM
33208 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33209 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33210 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33211 from <bits/socket_type.h>.
33212 (enum __socket_type): Don't define here.
33213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33215 bits/socket_type.h.
33216
c6e013c1
JM
33217 [BZ #13566]
33218 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33219 checking __USE_GNU.
33220
4962050e
JM
33221 * Makerules ($(inst_includedir)/%.h): New rule.
33222 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33223 (install-others): Remove variable setting.
33224 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33225
38842f45
RH
332262012-03-08 Richard Henderson <rth@twiddle.net>
33227
67bb6da6
RH
33228 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33229 from macro to inline function; merge with the
33230 !__LIBC_INTERNAL_MATH_INLINES version.
33231 (__ieee754_sqrtf): Likewise.
33232
15194b4b
RH
33233 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33234 to inline function.
33235 (__rintf, __floor, __floorf): Likewise.
33236
64e21ede
RH
33237 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33238 macro to inline function.
33239 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33240
38842f45
RH
33241 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33242 not <math/math_private.h>.
33243
c64bf5fe
DM
332442012-03-08 David S. Miller <davem@davemloft.net>
33245
33246 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33247 copyright year.
33248 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33249
82d86f28
TS
332502012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33251
33252 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33253 normalization.
33254 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33255 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33256
aea5d727
UD
332572012-03-08 Ulrich Drepper <drepper@gmail.com>
33258
33259 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33260 be defined individually, they must be defined as a block. Define
33261 S for printing a string instead of hidint the different by using a
33262 macro for adding the 'l'.
33263 * stdio-common/tst-fphex-wide.c: Adjust.
33264
70bca0a3
MP
332652012-03-07 Marek Polacek <polacek@redhat.com>
33266
33267 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33268
65b81130
MP
332692012-03-08 Marek Polacek <polacek@redhat.com>
33270
33271 [BZ #13806]
33272 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33273 * stdio-common/tst-fphex.c: Define a few macros to make the
33274 test reusable. Use them.
33275 * stdio-common/tst-fphex-wide.c: New file.
33276
07037eeb
JM
332772012-03-08 Joseph Myers <joseph@codesourcery.com>
33278
a7a93d50
JM
33279 [BZ #6911]
33280 * manual/macros.texi (gnusystems): New macro.
33281 (nongnusystems): Likewise.
33282 (gnulinuxhurdsystems): Likewise.
33283 (gnuhurdsystems): Likewise..
33284 (gnulinuxsystems): Likewise.
33285 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33286 variants of the GNU system, not "GNU system".
33287 * manual/conf.texi: Likewise.
33288 * manual/errno.texi: Likewise. Update example of errno macro
33289 expansion.
33290 * manual/filesys.texi: Likewise.
33291 (getumask): Document as specific to GNU/Hurd.
33292 * manual/install.texi: Likewise. Reword some references to
33293 GNU/Linux.
33294 * manual/intro.texi: Likewise.
33295 * manual/io.texi: Likewise.
33296 (File Name Portability): Detail which constraints are inapplicable
33297 to all GNU systems and which are only inapplicable to GNU/Hurd.
33298 * manual/job.texi: Likewise.
33299 * manual/llio.texi: Likewise.
33300 (O_NOCTTY): Document as present on GNU/Linux.
33301 * manual/maint.texi: Likewise.
33302 * manual/memory.texi: Likewise.
33303 * manual/pattern.texi: Likewise.
33304 * manual/pipe.texi: Likewise.
33305 * manual/process.texi: Likewise.
33306 * manual/resource.texi: Likewise.
33307 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33308 child on GNU/Hurd.
33309 * manual/setjmp.texi: Likewise.
33310 * manual/signal.texi: Likewise.
33311 * manual/startup.texi: Likewise.
33312 * manual/stdio.texi: Likewise.
33313 * manual/terminal.texi: Likewise.
33314 (ONLCR): Document as POSIX.
33315 (OXTABS): Document availability on GNU/Linux as XTABS.
33316 (ONOEOT): Document availability separately from other bits.
33317 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33318 * manual/time.texi: Likewise.
33319 * manual/users.texi: Likewise.
33320 * INSTALL: Regenerated.
33321 * sysdeps/gnu/errlist.c: Regenerated.
33322
07037eeb
JM
33323 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33324 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33325 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33326 puts.
33327 * configure: Regenerated.
33328
d1d3431a
JM
333292012-03-07 Joseph Myers <joseph@codesourcery.com>
33330
af6a1e37
JM
33331 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33332 default includes instead of AC_HEADER_CHECK.
33333 * sysdeps/i386/configure: Regenerated.
33334
d1d3431a
JM
33335 [BZ #10716]
33336 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33337 * math/s_cacoshf.c (__cacoshf): Likewise.
33338 * math/s_cacoshl.c (__cacoshl): Likewise.
33339 * math/s_casinh.c (__casinh): Set signs of result from argument.
33340 * math/s_casinhf.c (__casinhf): Likewise.
33341 * math/s_casinhl.c (__casinhl): Likewise.
33342 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33343 (casinh_test): Add more tests.
33344 * sysdeps/i386/fpu/libm-test-ulps: Update.
33345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33346
482ff4da
UD
333472012-03-07 Ulrich Drepper <drepper@gmail.com>
33348
872fda05
UD
33349 * po/zh_TW.po: Update from translation team.
33350
a4300c7a
UD
33351 * login/Makefile (distribute): Remove variable.
33352 * catgets/Makefile: Likewise.
33353 * mach/Makefile: Likewise.
33354 * malloc/Makefile: Likewise.
33355 * misc/Makefile: Likewise.
33356 * iconv/Makefile: Likewise.
33357 * nscd/Makefile: Likewise.
33358 * hurd/Makefile: Likewise.
33359 * manual/Makefile: Likewise.
33360 * locale/Makefile: Likewise.
33361 * intl/Makefile: Likewise.
33362 * conform/Makefile: Likewise.
33363 * nss/Makefile: Likewise.
33364 * time/Makefile: Likewise.
33365 * soft-fp/Makefile: Likewise.
33366 * dirent/Makefile: Likewise.
33367 * gmon/Makefile: Likewise.
33368 * po/Makefile: Likewise.
33369 * rt/Makefile: Likewise.
33370 * socket/Makefile: Likewise.
33371 * math/Makefile: Likewise.
33372 * signal/Makefile: Likewise.
33373 * debug/Makefile: Likewise.
33374 * elf/Makefile: Likewise.
33375 * timezone/Makefile: Likewise.
33376 * stdlib/Makefile: Likewise.
33377 * iconvdata/Makefile: Likewise.
33378 * sunrpc/Makefile: Likewise.
33379 * io/Makefile: Likewise.
33380 * argp/Makefile: Likewise.
33381 * inet/Makefile: Likewise.
33382 * hesiod/Makefile: Likewise.
33383 * grp/Makefile: Likewise.
33384 * csu/Makefile: Likewise.
33385 * wctype/Makefile: Likewise.
33386 * crypt/Makefile: Likewise.
33387 * libio/Makefile: Likewise.
33388 * string/Makefile: Likewise.
33389 * nis/Makefile: Likewise.
33390 * resolv/Makefile: Likewise.
33391 * stdio-common/Makefile: Likewise.
33392 * wcsmbs/Makefile: Likewise.
33393 * dlfcn/Makefile: Likewise.
33394 * posix/Makefile: Likewise.
33395
3b7c4e74 33396 [BZ #6959]
482ff4da
UD
33397 * timezone/Makefile: Don't install timezone files, just the programs
33398 and scripts.
33399
f72ed77d
UD
334002012-03-06 Ulrich Drepper <drepper@gmail.com>
33401
a000466f
UD
33402 * nss/databases.def: Add missing gshadow entry.
33403
f72ed77d
UD
33404 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33405
a53b7a4e
MP
334062012-03-06 Marek Polacek <polacek@redhat.com>
33407
33408 [BZ #13726]
33409 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33410 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33411 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33412 * stdio-common/tst-long-dbl-fphex.c: New file.
33413
e9258400
DM
334142012-03-06 David S. Miller <davem@davemloft.net>
33415
33416 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33417 (set_obp_int): New function.
33418 (get_obp_int): New function.
33419 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33420 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33421 Avoid unused variable warnings on 'val' and use builtin_expect.
33422 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33423 __builtin_expect.
e9258400
DM
33424 (INLINE_CLONE_SYSCALL): Likewise.
33425
3bd2c723
DM
334262012-03-05 David S. Miller <davem@davemloft.net>
33427
33428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33429
bbb78d03
AS
334302012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33431
884c5db4
AS
33432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33433
bbb78d03
AS
33434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33435 only for |x| >= 40.
33436 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33437
1c9f702a 334382012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33439
33440 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33441 Replace gettimeofday with __vdso_gettimeofday.
33442
7be16f82
RM
33443 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33444 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33445 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33446
33447 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33448 time with __vdso_time.
33449
ed58a00f
JM
334502012-03-05 Joseph Myers <joseph@codesourcery.com>
33451
33452 * manual/lang.texi (size_t): Note types to which size_t may be
33453 equivalent with the GNU C Library, but do not describe when
33454 differences between them are significant.
33455
30ee4ced
AJ
334562012-03-05 Andreas Jaeger <aj@suse.de>
33457
33458 * sysdeps/i386/fpu/libm-test-ulps: Update.
33459
b7cd39e8
JM
334602012-03-05 Joseph Myers <joseph@codesourcery.com>
33461
33462 [BZ #3976]
33463 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33464 (__ieee754_pow): Save and restore rounding mode and use
33465 round-to-nearest for main computations.
33466 * math/libm-test.inc (pow_test_tonearest): New function.
33467 (pow_test_towardzero): Likewise.
33468 (pow_test_downward): Likewise.
33469 (pow_test_upward): Likewise.
33470 (main): Call the new functions.
33471 * sysdeps/i386/fpu/libm-test-ulps: Update.
33472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33473
33474 [BZ #3976]
33475 * math/libm-test.inc (cosh_test_tonearest): New function.
33476 (cosh_test_towardzero): Likewise.
33477 (cosh_test_downward): Likewise.
33478 (cosh_test_upward): Likewise.
33479 (sinh_test_tonearest): Likewise.
33480 (sinh_test_towardzero): Likewise.
33481 (sinh_test_downward): Likewise.
33482 (sinh_test_upward): Likewise.
33483 (main): Call the new functions.
33484 * sysdeps/i386/fpu/libm-test-ulps: Update.
33485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33486
6c6a98c9
TV
334872012-03-05 Tom de Vries <tom@codesourcery.com>
33488
33489 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33490 default stack guard is set in last bytes.
33491 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33492
21bb2d2e 334932012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33494
21bb2d2e 33495 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33496
21bb2d2e
AJ
33497 [BZ #13656]
33498 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33499 possibly allocate from heap instead of stack.
33500 * stdio-common/bug-vfprintf-nargs.c: New file.
33501 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33502
c6922934
AS
335032012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33504
33505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33506
bc957d53
MP
335072012-03-03 Marek Polacek <polacek@redhat.com>
33508
33509 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33510 * math/math_private.h: Likewise.
33511 * stdlib/tst-strtod.c: Likewise.
33512 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33513 * sysdeps/x86_64/bits/atomic.h: Likewise.
33514
6358490d
DM
335152012-03-02 David S. Miller <davem@davemloft.net>
33516
33517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33521 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33522 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33523 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33524 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33525
01ae168d
RM
335262012-03-02 Roland McGrath <roland@hack.frob.com>
33527
d9a17c07
RM
33528 [BZ #13792]
33529 * manual/examples/README: New file, says the example source files
33530 can be used under GPL>=2.
33531 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33532 line containing just "*/".
33533 * manual/examples/add.c: Add copyright header (GPL>=2).
33534 * manual/examples/argp-ex1.c: Likewise.
33535 * manual/examples/argp-ex2.c: Likewise.
33536 * manual/examples/argp-ex3.c: Likewise.
33537 * manual/examples/argp-ex4.c: Likewise.
33538 * manual/examples/atexit.c: Likewise.
33539 * manual/examples/db.c: Likewise.
33540 * manual/examples/dir.c: Likewise.
33541 * manual/examples/dir2.c: Likewise.
33542 * manual/examples/execinfo.c: Likewise.
33543 * manual/examples/filecli.c: Likewise.
33544 * manual/examples/filesrv.c: Likewise.
33545 * manual/examples/fmtmsgexpl.c: Likewise.
33546 * manual/examples/genpass.c: Likewise.
33547 * manual/examples/inetcli.c: Likewise.
33548 * manual/examples/inetsrv.c: Likewise.
33549 * manual/examples/isockad.c: Likewise.
33550 * manual/examples/longopt.c: Likewise.
33551 * manual/examples/memopen.c: Likewise.
33552 * manual/examples/memstrm.c: Likewise.
33553 * manual/examples/mkfsock.c: Likewise.
33554 * manual/examples/mkisock.c: Likewise.
33555 * manual/examples/mygetpass.c: Likewise.
33556 * manual/examples/pipe.c: Likewise.
33557 * manual/examples/popen.c: Likewise.
33558 * manual/examples/rprintf.c: Likewise.
33559 * manual/examples/search.c: Likewise.
33560 * manual/examples/select.c: Likewise.
33561 * manual/examples/setjmp.c: Likewise.
33562 * manual/examples/sigh1.c: Likewise.
33563 * manual/examples/sigusr.c: Likewise.
33564 * manual/examples/stpcpy.c: Likewise.
33565 * manual/examples/strdupa.c: Likewise.
33566 * manual/examples/strftim.c: Likewise.
33567 * manual/examples/strncat.c: Likewise.
33568 * manual/examples/subopt.c: Likewise.
33569 * manual/examples/swapcontext.c: Likewise.
33570 * manual/examples/termios.c: Likewise.
33571 * manual/examples/testopt.c: Likewise.
33572 * manual/examples/testpass.c: Likewise.
33573 * manual/examples/timeval_subtract.c: Likewise.
33574
01ae168d
RM
33575 [BZ #13792]
33576 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33577 function to ...
33578 * manual/timeval_subtract.c.texi: ... here, new file.
33579
49efa33d
DM
335802012-03-02 David S. Miller <davem@davemloft.net>
33581
33582 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33583
28afd92d
JM
335842012-03-02 Joseph Myers <joseph@codesourcery.com>
33585
804360ed
JM
33586 [BZ #3976]
33587 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33588 (__sin): Save and restore rounding mode and use round-to-nearest
33589 for all computations.
33590 (__cos): Save and restore rounding mode and use round-to-nearest
33591 for all computations.
33592 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33593 <fenv.h>.
33594 (tan): Save and restore rounding mode and use round-to-nearest for
33595 all computations.
33596 * math/libm-test.inc (cos_test_tonearest): New function.
33597 (cos_test_towardzero): Likewise.
33598 (cos_test_downward): Likewise.
33599 (cos_test_upward): Likewise.
33600 (sin_test_tonearest): Likewise.
33601 (sin_test_towardzero): Likewise.
33602 (sin_test_downward): Likewise.
33603 (sin_test_upward): Likewise.
33604 (tan_test_tonearest): Likewise.
33605 (tan_test_towardzero): Likewise.
33606 (tan_test_downward): Likewise.
33607 (tan_test_upward): Likewise.
33608 (main): Call the new functions.
33609 * sysdeps/i386/fpu/libm-test-ulps: Update.
33610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33611
a6d06d7b
JM
33612 [BZ #10135]
33613 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33614 small n, then large n, before computing and testing k+n.
33615 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33616 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33617 Likewise.
33618 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33619 Likewise.
33620 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33621 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33622 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33623 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33624 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33625 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33626 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33627 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33628 * math/libm-test.inc (scalbn_test): Add more tests.
33629 (scalbln_test): Likewise.
33630
07e12bb3
JM
33631 * manual/filesys.texi (mode_t): Describe constraints on size and
33632 signedness, not exact equivalence to a particular type.
33633 (ino_t): Likewise.
33634 (ino64_t): Likewise.
33635 (dev_t): Likewise.
33636 (nlink_t): Likewise.
33637 (blkcnt_t): Likewise.
33638 (blkcnt64_t): Likewise.
33639 * manual/llio.texi (off_t): Likewise.
33640
28afd92d
JM
33641 [BZ #3976]
33642 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33643 (__ieee754_exp): Save and restore rounding mode and use
33644 round-to-nearest for all computations.
33645 * math/libm-test.inc (exp_test_tonearest): New function.
33646 (exp_test_towardzero): Likewise.
33647 (exp_test_downward): Likewise.
33648 (exp_test_upward): Likewise.
33649 (main): Call the new functions.
33650 * sysdeps/i386/fpu/libm-test-ulps: Update.
33651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33652
b1eeb65d
CD
336532012-03-01 Chris Demetriou <cgd@google.com>
33654
33655 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33656 have predictable order.
33657
53362a4b
DM
336582012-03-01 David S. Miller <davem@davemloft.net>
33659
3c969083
DM
33660 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33661
759707de
DM
33662 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33663 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33664 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33665 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33666
dfdb8ff2
DM
33667 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33668 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33669 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33671 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33672 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33673 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33674 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33675 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33676
ead89f96
DM
33677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33678
7f66bd07
DM
33679 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33680 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33681 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33682
53362a4b
DM
33683 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33684 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33685 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33686 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33687 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33688 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33689 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33690 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33691 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33692 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33693 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33694 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33696 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33697 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33699 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33700 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33701 * sysdeps/sparc/elf/configure: Regenerated.
33702
7b1902cb
JM
337032012-03-01 Joseph Myers <joseph@codesourcery.com>
33704
bec039bc
JM
33705 * configure.in (AS, LD): Require binutils 2.20 or later.
33706 * configure: Regenerated.
33707 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33708 as required minimum version.
33709 * INSTALL: Regenerated.
33710
7b1902cb
JM
33711 [BZ #2541]
33712 [BZ #4108]
33713 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33714 before squaring exponent.
33715 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33716 bottom long double and 27 bits of top long double before squaring
33717 exponent.
33718 * math/libm-test.inc (erfc_test): Add more tests.
33719 * sysdeps/i386/fpu/libm-test-ulps: Update.
33720 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33722
f775c276
KT
337232012-03-01 Kai Tietz <ktietz@redhat.com>
33724
33725 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33726 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33727 containing bit-fields.
33728 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33729 * soft-fp/single.h (_FP_UNION_S): Likewise.
33730 * soft-fp/double.h (_FP_UNION_D): Likewise.
33731
5b8a4d4a
JM
337322012-02-29 Joseph Myers <joseph@codesourcery.com>
33733
0bab47b6
JM
33734 [BZ #13786]
33735 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33736 not include ../strcmp.S.
33737 [USE_AS_STRNCASECMP_L]: Likewise.
33738 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33739 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33740 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33741 (__strncasecmp_l_ia32): Define as alias to
33742 __strncasecmp_l_nonascii.
33743
0fcad3e2
JM
33744 [BZ #5794]
33745 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33746 * sysdeps/i386/fpu/libm-test-ulps: Update.
33747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33748
5b8a4d4a
JM
33749 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33751
8fdceb2e
JL
337522012-02-29 Jeff Law <law@redhat.com>
33753
33754 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33755 out of bounds read.
33756
1f393a11
MP
337572012-02-29 Marek Polacek <polacek@redhat.com>
33758
33759 [BZ #13706]
33760 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33761 * elf/Makefile: Add rules to run tst-unused-dep.out.
33762
8847f037
DM
337632012-02-28 David S. Miller <davem@davemloft.net>
33764
33765 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33766 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33767 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33768 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33769 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33770 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33771
169d7f11
JM
337722012-02-29 Joseph Myers <joseph@codesourcery.com>
33773
33774 * math/libm-test.inc (llround_test): Move one test from
33775 lround_test. Use TEST_f_L in moved test.
33776 (lround_test): Move misplaced test to llround_test. Add testcase
33777 from bug 2561.
33778
39adf059
UD
337792012-02-28 Ulrich Drepper <drepper@gmail.com>
33780
33781 * sysdeps/x86_64/fpu/e_expf.S: New file.
33782 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33783
71b5d1c5
SB
337842012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33785
33786 [BZ #13637]
33787 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33788 of remain_len that may cause incomplete multi-byte character and
33789 false match.
33790 * posix/bug-regex33.c: New file.
33791 * posix/Makefile (tests): Add bug-regex33.
33792
1f77f049
JM
337932012-02-28 Joseph Myers <joseph@codesourcery.com>
33794
33795 * manual/macros.texi: New file.
33796 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33797 * manual/libc.texinfo: Include macros.texi.
33798 * manual/creatute.texi: Likewise.
33799 * manual/install.texi: Likewise.
33800 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33801 @glibcadj{} in references to the GNU C Library.
33802 * manual/charset.texi: Likewise.
33803 * manual/conf.texi: Likewise.
33804 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33805 when not using those macros.
33806 * manual/creature.texi: Likewise.
33807 * manual/crypt.texi: Likewise.
33808 * manual/errno.texi: Likewise.
33809 * manual/filesys.texi: Likewise.
33810 * manual/header.texi: Likewise.
33811 * manual/install.texi: Likewise.
33812 * manual/intro.texi: Likewise.
33813 * manual/io.texi: Likewise.
33814 * manual/job.texi: Likewise.
33815 * manual/lang.texi: Likewise.
33816 * manual/libc.texiinfo: Likewise.
33817 * manual/llio.texi: Likewise.
33818 * manual/locale.texi: Likewise.
33819 * manual/maint.texi: Likewise.
33820 * manual/math.texi: Likewise.
33821 * manual/memory.texi: Likewise.
33822 * manual/message.texi: Likewise.
33823 * manual/nss.texi: Likewise.
33824 * manual/pattern.texi: Likewise.
33825 * manual/process.texi: Likewise.
33826 * manual/resource.texi: Likewise.
33827 * manual/search.texi: Likewise.
33828 * manual/setjmp.texi: Likewise.
33829 * manual/signal.texi: Likewise.
33830 * manual/socket.texi: Likewise.
33831 * manual/startup.texi: Likewise.
33832 * manual/stdio.texi: Likewise.
33833 * manual/string.texi: Likewise.
33834 * manual/sysinfo.texi: Likewise.
33835 * manual/syslog.texi: Likewise.
33836 * manual/terminal.texi: Likewise.
33837 * manual/time.texi: Likewise.
33838 * manual/users.texi: Likewise.
33839 * INSTALL: Regenerated.
33840 * NOTES: Regenerated.
d40c5d54 33841 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33842
450bf206
AS
338432012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33844
33845 * include/dirent.h: Include <dirstream.h> before
33846 <dirent/dirent.h>.
33847
741a235b
DM
338482012-02-28 David S. Miller <davem@davemloft.net>
33849
33850 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33851 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33852 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33853 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33854
d6b5aa58
DM
338552012-02-27 David S. Miller <davem@davemloft.net>
33856
1aff59a3
DM
33857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33859 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33860 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33861
d6b5aa58
DM
33862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33863 frame pointer instead of stack pointer relative arg slot.
33864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33865 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33866 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33867
433f48bf
CD
338682012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33869
33870 [BZ #3992]
33871 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33872
d674b76d
DM
338732012-02-27 David S. Miller <davem@davemloft.net>
33874
33875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33879 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33880 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33881 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33882 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33883
0e7727f7
JM
338842012-02-27 Joseph Myers <joseph@codesourcery.com>
33885
33886 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33887 later. Allow versions 5-9.
43be4ca2 33888 * configure: Regenerated.
0e7727f7
JM
33889 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33890 required minimum version and 4.6 as recommended version. Do not
33891 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33892 * INSTALL: Regenerated.
0e7727f7 33893
a78bc654
DM
338942012-02-27 David S. Miller <davem@davemloft.net>
33895
428d5830
DM
33896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33900 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33901 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33902 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33903 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33904
a78bc654
DM
33905 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33906 manipulate bits before adding and subtracting TWO112[sx].
33907 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33908
4579f81c
RM
339092012-02-27 Roland McGrath <roland@hack.frob.com>
33910
36c8acb4
RM
33911 [BZ #13775]
33912 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33913 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33914 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33915 being in POSIX, because they are in 1003.1-2008.
33916
84ad622b
RM
33917 * rt/tst-aio.c: Include <fcntl.h>.
33918 * rt/tst-aio7.c: Likewise.
33919 * rt/tst-aio64.c: Likewise.
33920
4579f81c
RM
33921 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33922
abd923db
JM
339232012-02-27 Joseph Myers <joseph@codesourcery.com>
33924
33925 * manual/install.texi (--with-headers): Describe headers as
33926 interface headers, not private headers.
33927 (Specific advice for GNU/Linux systems): Describe use of headers
33928 from "make headers_install", not private headers from older
33929 kernels.
43be4ca2 33930 * INSTALL: Regenerated.
abd923db
JM
33931 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33932 Change to 2.6.19.
33933 * sysdeps/unix/sysv/linux/configure: Regenerated.
33934
6664049b
JM
33935 * manual/llio.texi (fclean): Remove documentation.
33936
bb8b6697
JM
33937 * manual/Makefile (libc-texi-generated): New variable. Include
33938 version.texi.
33939 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33940 $(libc-texi-generated), not duplicated list of files.
33941 (version.texi, stamp-version): New rules.
33942 (realclean): Remove $(libc-texi-generated), not individual files
33943 from that list. Do not remove dir-add.texinfo.
33944 * manual/libc.texinfo: Comment out uses of edition numbers and
33945 references to printed manual. Remove last-updated dates.
33946 (EDITION): Comment out.
33947 (ISBN): Likewise.
33948 (VERSION, UPDATED): Remove.
33949 (version.texi): Include.
33950
12e5c3b9
AS
339512012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33952
33953 * sysdeps/posix/spawni.c: Include <signal.h>.
33954 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33955 * sysdeps/pthread/aio_fsync.c: Likewise.
33956
4efeffc1 339572012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 33958
ba63ba08
UD
33959 * conform/Makefile (tests): Run only when not cross-compiling and
33960 when fast-check is not defined.
33961
d94a4670
UD
33962 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33963 * conform/data/limits.h-data: Fixes for POSIX2008.
33964 * conform/run-conformtest.sh: Run all tests.
33965 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33966 headers.
33967 * include/bits/dlfcn.h: Likewise.
33968 * include/langinfo.h: Likewise.
33969 * include/monetary.h: Likewise.
33970 * include/sys/poll.h: Likewise.
33971
33972 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33973 for __USE_GNU.
33974 * posix/spawn.h: Define __need_sigset_t.
33975 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33976 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33977 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33978 to get sigevent_t only.
33979 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33980 only for __USE_GNU.
33981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33982 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33983 process_vm_writev only for __USE_GNU.
33984 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
33985
33986 * conform/Makefile: For now ignore errors from run-conformtest.
33987 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33988 POSIX to avoid namespace pollution. Don't prepend headers.
33989 * conform/data/aio.h-data: Fixes for POSIX testing.
33990 * conform/data/fcntl.h-data: Likewise.
33991 * conform/data/glob.h-data: Likewise.
33992 * conform/data/grp.h-data: Likewise.
33993 * conform/data/pthread.h-data: Likewise.
33994 * conform/data/pwd.h-data: Likewise.
33995 * conform/data/signal.h-data: Likewise.
33996 * conform/data/spawn.h-data: Likewise.
33997 * conform/data/stdio.h-data: Likewise.
33998 * conform/data/stdlib.h-data: Likewise.
33999 * conform/data/stropts.h-data: Likewise.
34000 * conform/data/sys/mman.h-data: Likewise.
34001 * conform/data/sys/stat.h-data: Likewise.
34002 * conform/data/sys/types.h-data: Likewise.
34003 * conform/data/sys/wait.h-data: Likewise.
34004 * conform/data/time.h-data: Likewise.
34005 * conform/data/unistd.h-data: Likewise.
34006 * conform/data/utime.h-data: Likewise.
34007
34008 * io/sys/stat.h: fchmod was always in POSIX.
34009 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34010 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34011 * rt/aio.h: Define __need_timespec before including <time.h>.
34012 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34013 struct. Add forward declaration of pthread_attr_t and use it in
34014 sigevent.
34015 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34016 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34017 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34018 always remove CLK_TCK definition.
34019
c20105c3
AS
340202012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34021
34022 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34023
7a270350
UD
340242012-02-25 Ulrich Drepper <drepper@gmail.com>
34025
31341567
UD
34026 * conform/run-conformtest.sh: New file.
34027 * conform/Makefile: Run run-conformtest for tests.
34028 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34029 support.
34030
34031 * conform/data/uchar.h-data: New file.
34032 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34033 * conform/data/arpa/inet.h-data: Likewise.
34034 * conform/data/assert.h-data: Likewise.
34035 * conform/data/complex.h-data: Likewise.
34036 * conform/data/cpio.h-data: Likewise.
34037 * conform/data/ctype.h-data: Likewise.
34038 * conform/data/dirent.h-data: Likewise.
34039 * conform/data/dlfcn.h-data: Likewise.
34040 * conform/data/errno.h-data: Likewise.
34041 * conform/data/fcntl.h-data: Likewise.
34042 * conform/data/float.h-data: Likewise.
34043 * conform/data/fmtmsg.h-data: Likewise.
34044 * conform/data/fnmatch.h-data: Likewise.
34045 * conform/data/ftw.h-data: Likewise.
34046 * conform/data/glob.h-data: Likewise.
34047 * conform/data/grp.h-data: Likewise.
34048 * conform/data/iconv.h-data: Likewise.
34049 * conform/data/inttypes.h-data: Likewise.
34050 * conform/data/langinfo.h-data: Likewise.
34051 * conform/data/libgen.h-data: Likewise.
34052 * conform/data/limits.h-data: Likewise.
34053 * conform/data/locale.h-data: Likewise.
34054 * conform/data/math.h-data: Likewise.
34055 * conform/data/monetary.h-data: Likewise.
34056 * conform/data/mqueue.h-data: Likewise.
34057 * conform/data/ndbm.h-data: Likewise.
34058 * conform/data/net/if.h-data: Likewise.
34059 * conform/data/netdb.h-data: Likewise.
34060 * conform/data/netinet/in.h-data: Likewise.
34061 * conform/data/nl_types.h-data: Likewise.
34062 * conform/data/poll.h-data: Likewise.
34063 * conform/data/pthread.h-data: Likewise.
34064 * conform/data/pwd.h-data: Likewise.
34065 * conform/data/regex.h-data: Likewise.
34066 * conform/data/sched.h-data: Likewise.
34067 * conform/data/search.h-data: Likewise.
34068 * conform/data/semaphore.h-data: Likewise.
34069 * conform/data/setjmp.h-data: Likewise.
34070 * conform/data/signal.h-data: Likewise.
34071 * conform/data/spawn.h-data: Likewise.
34072 * conform/data/stdarg.h-data: Likewise.
34073 * conform/data/stdio.h-data: Likewise.
34074 * conform/data/stdlib.h-data: Likewise.
34075 * conform/data/string.h-data: Likewise.
34076 * conform/data/strings.h-data: Likewise.
34077 * conform/data/stropts.h-data: Likewise.
34078 * conform/data/sys/ipc.h-data: Likewise.
34079 * conform/data/sys/mman.h-data: Likewise.
34080 * conform/data/sys/msg.h-data: Likewise.
34081 * conform/data/sys/resource.h-data: Likewise.
34082 * conform/data/sys/select.h-data: Likewise.
34083 * conform/data/sys/sem.h-data: Likewise.
34084 * conform/data/sys/shm.h-data: Likewise.
34085 * conform/data/sys/socket.h-data: Likewise.
34086 * conform/data/sys/stat.h-data: Likewise.
34087 * conform/data/sys/statvfs.h-data: Likewise.
34088 * conform/data/sys/time.h-data: Likewise.
34089 * conform/data/sys/timeb.h-data: Likewise.
34090 * conform/data/sys/times.h-data: Likewise.
34091 * conform/data/sys/types.h-data: Likewise.
34092 * conform/data/sys/uio.h-data: Likewise.
34093 * conform/data/sys/un.h-data: Likewise.
34094 * conform/data/sys/utsname.h-data: Likewise.
34095 * conform/data/sys/wait.h-data: Likewise.
34096 * conform/data/syslog.h-data: Likewise.
34097 * conform/data/tar.h-data: Likewise.
34098 * conform/data/termios.h-data: Likewise.
34099 * conform/data/utime.h-data: Likewise.
34100 * conform/data/utmpx.h-data: Likewise.
34101 * conform/data/varargs.h-data: Likewise.
34102 * conform/data/wchar.h-data: Likewise.
34103 * conform/data/wctype.h-data: Likewise.
34104 * conform/data/wordexp.h-data: Likewise.
34105
34106 * include/stropts.h: New file.
34107 * include/uchar.h: New file.
34108 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34109 * include/assert.h: Likewise.
34110 * include/ctype.h: Likewise.
34111 * include/dirent.h: Likewise.
34112 * include/dlfcn.h: Likewise.
34113 * include/fcntl.h: Likewise.
34114 * include/fnmatch.h: Likewise.
34115 * include/glob.h: Likewise.
34116 * include/grp.h: Likewise.
34117 * include/libio.h: Likewise.
34118 * include/locale.h: Likewise.
34119 * include/math.h: Likewise.
34120 * include/net/if.h: Likewise.
34121 * include/netdb.h: Likewise.
34122 * include/netinet/in.h: Likewise.
34123 * include/pthread.h: Likewise.
34124 * include/pwd.h: Likewise.
34125 * include/regex.h: Likewise.
34126 * include/sched.h: Likewise.
34127 * include/search.h: Likewise.
34128 * include/setjmp.h: Likewise.
34129 * include/signal.h: Likewise.
34130 * include/stdio.h: Likewise.
34131 * include/stdlib.h: Likewise.
34132 * include/string.h: Likewise.
34133 * include/sys/cdefs.h: Likewise.
34134 * include/sys/mman.h: Likewise.
34135 * include/sys/msg.h: Likewise.
34136 * include/sys/resource.h: Likewise.
34137 * include/sys/select.h: Likewise.
34138 * include/sys/socket.h: Likewise.
34139 * include/sys/stat.h: Likewise.
34140 * include/sys/statvfs.h: Likewise.
34141 * include/sys/time.h: Likewise.
34142 * include/sys/times.h: Likewise.
34143 * include/sys/uio.h: Likewise.
34144 * include/sys/utsname.h: Likewise.
34145 * include/sys/wait.h: Likewise.
34146 * include/termios.h: Likewise.
34147 * include/time.h: Likewise.
34148 * include/ulimit.h: Likewise.
34149 * include/unistd.h: Likewise.
34150 * include/utime.h: Likewise.
34151 * include/wchar.h: Likewise.
34152 * include/wctype.h: Likewise.
34153 * include/wordexp.h: Likewise.
34154
34155 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34156
7a270350
UD
34157 * time/time.h: TIME_UTC must be a macro.
34158 Make timespec_get available for ISO C11 only as well.
34159
7724defc
UD
341602012-02-24 Ulrich Drepper <drepper@gmail.com>
34161
34162 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34163 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34164
6b1d1d46
JM
341652012-02-24 Joseph Myers <joseph@codesourcery.com>
34166
34167 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34168
0f8bbd69
JM
341692012-02-24 Joseph Myers <joseph@codesourcery.com>
34170
34171 * manual/texinfo.tex: Update to version 2012-01-19.16.
34172
66ab80bc
JM
341732012-02-24 Joseph Myers <joseph@codesourcery.com>
34174
34175 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34176
74981cc5
RM
341772012-02-24 Roland McGrath <roland@hack.frob.com>
34178
ee968201
RM
34179 [BZ #13738]
34180 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34181 * manual/fdl-1.3.texi: New file.
34182 * manual/fdl-1.1.texi: File removed.
34183
74981cc5
RM
34184 [BZ #13738]
34185 * manual/libc.texinfo (FDL_VERSION): New @set.
34186 Use it for mention of FDL in cover text.
34187 (Documentation License): Use it in @include file name.
34188
7bb764bc
JM
341892012-02-22 Joseph Myers <joseph@codesourcery.com>
34190 Roland McGrath <roland@hack.frob.com>
34191
34192 [BZ #5461]
34193 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34194 not LONG_LONG_MAX and LONG_LONG_MIN.
34195 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34196 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34197 name.
34198 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34199
6cbeae47
JM
342002012-02-22 Joseph Myers <joseph@codesourcery.com>
34201
34202 [BZ #2547]
34203 [BZ #11365]
34204 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34205 manipulate bits before adding and subtracting TWO23[sx].
34206 * math/libm-test.inc (nearbyint_test): Add more tests.
34207
fe45ce09
JM
342082012-02-22 Joseph Myers <joseph@codesourcery.com>
34209
34210 [BZ #2548]
34211 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34212 bits before adding and subtracting TWO23[sx].
34213 * math/libm-test.inc (rint_test): Add more tests.
34214 (rint_test_tonearest): Likewise.
34215 (rint_test_towardzero): Likewise.
34216 (rint_test_downward): Likewise.
34217 (rint_test_upward: Likewise.
34218
ff3b3d82
JM
342192012-02-22 Joseph Myers <joseph@codesourcery.com>
34220
34221 [BZ #10110]
34222 * include/stdc-predef.h: New file. Extracted from features.h.
34223 * include/features.h: Include stdc-predef.h.
34224 * Makefile (headers): Add stdc-predef.h.
34225 * CONFORMANCE (Compiler limitations): Update.
34226
ef0aab35
JM
342272012-02-22 Joseph Myers <joseph@codesourcery.com>
34228
34229 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34230
58639409
DM
342312012-02-21 David S. Miller <davem@davemloft.net>
34232
34233 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34234 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34235
c0e70b25
DM
342362012-02-20 David S. Miller <davem@davemloft.net>
34237
34238 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34239 using a normal save/restore sequence, rather than allocating a
34240 dummy stack frame just to store a frame pointer and restore.
34241 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34242
fb06851d
JM
342432012-02-21 Joseph Myers <joseph@codesourcery.com>
34244
34245 * manual/install.texi: Fix stray word in line-wrapped comment.
34246
7a8b71c3
DM
342472012-02-20 David S. Miller <davem@davemloft.net>
34248
d510c123
DM
34249 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34250 both binutils and gcc support GOTDATA.
34251
0722d7c2
DM
34252 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34253 "rd %pc" in the PIC register setup sequences.
34254
3d2b3019
DM
34255 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34256 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34257 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34258 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34259 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34261 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34262 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34263 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34264 (SYSCALL_ERROR_HANDLER): Likewise.
34265 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34266 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34267 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34268 (SYSCALL_ERROR_HANDLER): Likewise.
34269
c80098a9
DM
34270 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34271 (HAVE_GCC_GOTDATA): New.
34272 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34273 relocation support in both binutils and gcc.
34274 * sysdeps/sparc/elf/configure: Regenerate.
34275
3a2545a0
DM
34276 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34277 * sysdeps/sparc/sparc32/elf/configure: Delete.
34278 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34279 * sysdeps/sparc/sparc64/elf/configure: Delete.
34280 * sysdeps/sparc/elf/configure.in: New file.
34281 * sysdeps/sparc/elf/configure: Generate.
34282
7a8b71c3
DM
34283 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34284 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34285 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34286 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34287 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34288
f1e86fca
JM
342892012-02-21 Joseph Myers <joseph@codesourcery.com>
34290
34291 * manual/install.texi: Do not mention specific glibc version
34292 numbers.
34293 * manual/libc.texinfo (VERSION, UPDATED): Update.
34294 (@copying): Use @copyright{} and range of years.
34295
0e7dfaef
JM
342962012-02-21 Joseph Myers <joseph@codesourcery.com>
34297
34298 [BZ #13695]
34299 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34300 [crti.S not in sysdirs] (generated): Do not append.
34301 [crti.S not in sysdirs] (omit-deps): Likewise.
34302 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34303 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34304 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34305 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34306 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34307 Likewise.
34308 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34309 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34310 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34311 * csu/defs.awk: Remove file.
34312 * sysdeps/generic/initfini.c: Likewise.
34313 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34314 variable.
34315 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34316 Likewise.
34317
599af3ca
JM
343182012-02-20 Joseph Myers <joseph@codesourcery.com>
34319
34320 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34321 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34322 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34323 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34324 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34325 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34326 <bits/epoll.h>.
34327 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34328 (__EPOLL_PACKED): Define to empty if not defined by
34329 <bits/epoll.h>.
34330 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34332 bits/epoll.h.
34333
0e499750
JM
343342012-02-20 Joseph Myers <joseph@codesourcery.com>
34335
34336 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34337 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34338 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34339 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34340 <bits/timerfd.h>.
34341 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34343 bits/timerfd.h.
34344
5ad91f6e
JM
343452012-02-20 Joseph Myers <joseph@codesourcery.com>
34346
34347 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34348 in C locale.
34349 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34350 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34351 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34353
06b99b02
AJ
343542012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34355
34356 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34357 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34358
7638c0fd
AS
343592012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34360
34361 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34362 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34363 defined.
34364 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34365 Likewise.
34366 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34367 entry for 2.16.
34368
92221550
AJ
343692012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34370
34371 * math/w_acos.c: Use non-signaling floating-point comparisons.
34372 * math/w_acosf.c: Likewise.
34373 * math/w_acosh.c: Likewise.
34374 * math/w_acoshf.c: Likewise.
34375 * math/w_acoshl.c: Likewise.
34376 * math/w_acosl.c: Likewise.
34377 * math/w_asin.c: Likewise.
34378 * math/w_asinf.c: Likewise.
34379 * math/w_asinl.c: Likewise.
34380 * math/w_atanh.c: Likewise.
34381 * math/w_atanhf.c: Likewise.
34382 * math/w_atanhl.c: Likewise.
34383 * math/w_exp2.c: Likewise.
34384 * math/w_exp2f.c: Likewise.
34385 * math/w_exp2l.c: Likewise.
34386 * math/w_j0.c: Likewise.
34387 * math/w_j0f.c: Likewise.
34388 * math/w_j0l.c: Likewise.
34389 * math/w_j1.c: Likewise.
34390 * math/w_j1f.c: Likewise.
34391 * math/w_j1l.c: Likewise.
34392 * math/w_jn.c: Likewise.
34393 * math/w_jnf.c: Likewise.
34394 * math/w_log.c: Likewise.
34395 * math/w_log10.c: Likewise.
34396 * math/w_log10f.c: Likewise.
34397 * math/w_log10l.c: Likewise.
34398 * math/w_log2.c: Likewise.
34399 * math/w_log2f.c: Likewise.
34400 * math/w_log2l.c: Likewise.
34401 * math/w_logf.c: Likewise.
34402 * math/w_logl.c: Likewise.
34403 * math/w_sqrt.c: Likewise.
34404 * math/w_sqrtf.c: Likewise.
34405 * math/w_sqrtl.c: Likewise.
34406 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34407 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34408 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34409 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34410 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34411
ebaf36eb
JM
344122012-02-19 Joseph Myers <joseph@codesourcery.com>
34413
34414 [BZ #9739]
34415 * manual/string.texi (strnlen): Use correct parameter name in
34416 equivalent expression.
34417
71c254a6
JM
344182012-02-19 Joseph Myers <joseph@codesourcery.com>
34419
34420 [BZ #11174]
34421 * manual/users.texi (seteuid): Consistently use neweuid for
34422 argument name.
34423
16d2c631
JM
344242012-02-19 Joseph Myers <joseph@codesourcery.com>
34425
34426 [BZ #13704]
34427 * manual/nss.texi (Services in the NSS configuration): Correct
34428 list of services in example configuration file.
34429
cd837b09
NB
344302012-02-19 Nick Bowler <nbowler@draconx.ca>
34431
34432 [BZ #11322]
34433 * manual/arith.texi: Remove statements about negative zero
34434 behaving identically to zero.
34435
02c4bbad
JM
344362012-02-18 Joseph Myers <joseph@codesourcery.com>
34437
34438 [BZ #5993]
34439 * manual/install.texi: Do not document upgrading from libc5.
34440
366842e7
JM
344412012-02-18 Joseph Myers <joseph@codesourcery.com>
34442
34443 [BZ #4596]
34444 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34445
dd54084d
DM
344462012-02-18 David S. Miller <davem@davemloft.net>
34447
34448 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34449 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34450 %o7 across the call.
34451 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34452 instead.
34453 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34454 SETUP_PIC_REG_LEAF.
34455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34456 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34457 * sysdeps/sparc/crtn.S: Likewise.
34458
2bcc53a3
UD
344592012-02-17 Ulrich Drepper <drepper@gmail.com>
34460
34461 * aout/Makefile: Remove.
34462
09c093b5
RK
344632012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34464
34465 [BZ #13058]
34466 * manual/examples/argp-ex1.c (main): Format definition in GNU
34467 style.
34468 * manual/examples/argp-ex2.c (main): Likewise.
34469 * manual/examples/argp-ex3.c (main): Likewise.
34470 * manual/examples/argp-ex4.c (main): Likewise.
34471 * manual/examples/longopt.c (main): Use new-style prototype
34472 definition.
34473 * manual/examples/strncat.c (main): Specify return type and use
34474 (void) for arguments.
34475 * manual/examples/subopt.c (main): Use char **argv argument.
34476
2ee633a2
JM
344772012-02-17 Joseph Myers <joseph@codesourcery.com>
34478
34479 [BZ #5077]
34480 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34481 rounding modes.
34482
0520adde
FB
344832012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34484
34485 [BZ #6907]
34486 * manual/string.texi (strchr): Change when strchrnul is
34487 recommended.
34488
3f4081cd
DGM
344892012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34490
34491 [BZ #174]
34492 * manual/locale.texi (setlocale): Document LOCPATH.
34493
d1b10e78
JM
344942012-02-17 Joseph Myers <joseph@codesourcery.com>
34495
34496 [BZ #10210]
34497 * manual/process.texi (execle): Move @dots{} before last argument.
34498
79c6869c
PB
344992012-02-17 Paul Bolle <pebolle@tiscali.nl>
34500
34501 [BZ #12047]
34502 * manual/charset.texi (Generic Charset Conversion): Fix typo
34503 (LC_TYPE -> LC_CTYPE).
34504
cc6e48bc
NB
345052012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34506
34507 [BZ #5805]
34508 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34509 (scalbnf): Likewise.
34510 (scalbnl): Likewise.
34511 (scalbln): Likewise.
34512 (scalblnf): Likewise.
34513 (scalblnl): Likewise.
34514 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34515 (vwarnx): Likewise.
34516 (verr): Likewise.
34517 (verrx): Likewise.
34518 * manual/filesys.texi (telldir): Use braces around return type.
34519 * manual/llio.texi (mmap): Add space after comma.
34520 (mmap64): Likewise.
34521 * manual/math.texi (jn): Use @var{} on parameter names.
34522 (jnf): Likewise.
34523 (jnl): Likewise.
34524 (yn): Likewise.
34525 (ynf): Likewise.
34526 (ynl): Likewise.
34527 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34528 line.
34529 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34530 "...".
34531 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34532 (sched_get_priority_max): Likewise.
34533 * manual/signal.texi (sigvec): Add space after comma.
34534 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34535 names.
34536 (if_indextoname): Likewise.
34537 (if_freenameindex): Likewise.
34538 (sendto): Use ',' instead of '.' in prototype.
34539 * manual/startup.texi (syscall): Use @dots{} instead of literal
34540 "...".
34541 * manual/stdio.texi (__fpending): Separate initial words of
34542 paragraph from @deftypefun line.
34543 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34544 "...".
34545 (vsyslog): Use @var{} on parameter names.
34546 * manual/terminal.texi (stty): Use @var{} on parameter names.
34547 * manual/users.texi (getutmp): Use @var{} on parameter names.
34548 (getutmpx): Likewise.
34549
5b23062f
JM
345502012-02-17 Joseph Myers <joseph@codesourcery.com>
34551
34552 [BZ #6884]
34553 * manual/stdio.texi (fopen): Fix typos in description of
34554 ",ccs=STRING".
34555
8dee4833
AJ
345562012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34557
34558 [BZ #4026]
34559 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34560 get clock_id definition.
34561
9078ce93
TS
345622012-02-17 Thomas Schwinge <thomas@schwinge.name>
34563
34564 [BZ #4822]
34565 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34566 (madvise): Cast every argument to void on its own.
34567
3835c55f
JM
345682012-02-17 Joseph Myers <joseph@codesourcery.com>
34569
34570 [BZ #9902]
34571 * manual/startup.texi (Exit Status): Fix typo.
34572
35c47e37
JM
345732012-02-17 Joseph Myers <joseph@codesourcery.com>
34574
34575 [BZ #10140]
34576 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34577 * manual/examples/argp-ex2.c: Likewise.
34578 * manual/examples/argp-ex3.c: Likewise.
34579
e3b69ca7
RH
345802012-02-16 Richard Henderson <rth@redhat.com>
34581
34582 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34583 * sysdeps/s390/s390-32/initfini.c: Remove.
34584 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34585 * sysdeps/s390/s390-64/initfini.c: Remove.
34586
df83af67
KK
345872012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34588
34589 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34590 compiler output for sysdeps/generic/initfini.c.
34591 * sysdeps/sh/elf/initfini.c: Remove file.
34592
f63f3380
DM
345932012-02-16 David S. Miller <davem@davemloft.net>
34594
fb59b3a4
DM
34595 [BZ #11494]
34596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34597
f63f3380
DM
34598 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34599 * sysdeps/sparc/crti.S: New file.
34600 * sysdeps/sparc/crtn.S: New file.
34601 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34602 * sysdeps/sparc/sparc64/Makefile: Likewise.
34603
df6a4a4a
MF
346042012-02-15 Mike Frysinger <vapier@gentoo.org>
34605
6dd8f3dc 34606 [BZ #3335]
df6a4a4a
MF
34607 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34608
1cac7236
RM
346092012-02-15 Roland McGrath <roland@hack.frob.com>
34610
d2c736f8
RM
34611 [BZ #4822]
34612 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34613
1cac7236
RM
34614 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34615 (write, read, close): Likewise.
34616 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34617
8e475601
JM
346182012-02-15 Joseph Myers <joseph@codesourcery.com>
34619
34620 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34621 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34622 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34623 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34624 <bits/signalfd.h>.
34625 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34627 bits/signalfd.h.
34628
ed656b40
MP
346292012-02-14 Marek Polacek <polacek@redhat.com>
34630
34631 * sysdeps/x86_64/crti.S: New file.
34632 * sysdeps/x86_64/crtn.S: New file.
34633 * sysdeps/x86_64/elf/initfini.c: Remove file.
34634
2a979d3a
JM
346352012-02-13 Joseph Myers <joseph@codesourcery.com>
34636
34637 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34638 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34639 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34640 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34641 <bits/inotify.h>.
34642 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34644 bits/inotify.h.
34645
2a418ac3
JM
346462012-02-13 Joseph Myers <joseph@codesourcery.com>
34647
34648 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34649 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34650 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34651 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34652 <bits/eventfd.h>.
34653 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34655 bits/eventfd.h.
34656
fb779be7
TS
346572012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34658
e19e83c5
RM
34659 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34660 __feraiseexcept instead of feraiseexcept.
7c35ffed 34661
fb779be7
TS
34662 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34663 nanosleep invocations.
34664 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34665 strings, and add error checking for a nanosleep invocations.
34666
59ba27a6
PE
346672012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34668
34669 Replace FSF snail mail address with URLs, as per GNU coding standards.
34670 Most of the snail mail addresses were wrong anyway, and omitting
34671 them makes the source code easier to maintain. Almost all of the
34672 changes are to license notices and to locale LC_IDENTIFICATION
34673 addresses, except for this one:
34674 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34675 not its snail mail address.
34676
57b957eb
RH
346772012-02-09 Richard Henderson <rth@twiddle.net>
34678
af850b1c
RH
34679 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34680 of kernel-features.h.
34681
57b957eb
RH
34682 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34683
6b73181a
MP
346842012-02-08 Marek Polacek <polacek@redhat.com>
34685
34686 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34687 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34688 * sysdeps/gnu/_G_config.h: Likewise.
34689 * sysdeps/generic/_G_config.h: Likewise.
34690
26ecc33a
AS
346912012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34692
6c6dbc63
AS
34693 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34694 tests.
34695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34696
e216c012
AS
34697 * sysdeps/powerpc/powerpc32/crti.S: New file.
34698 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34699 * sysdeps/powerpc/powerpc64/crti.S: New file.
34700 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34701
26ecc33a
AS
34702 * Makeconfig (have-initfini): Don't set.
34703 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34704 * configure.in (nopic_initfini): Don't substitute.
34705 * config.h.in (HAVE_INITFINI): Don't #undef.
34706 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34707 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34708
3add8e13
JM
347092012-02-08 Joseph Myers <joseph@codesourcery.com>
34710
34711 Support crti.S and crtn.S provided directly by architectures.
34712 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34713 [crti.S in sysdirs] (omit-deps): Likewise.
34714 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34715 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34716 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34717 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34718 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34719 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34720 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34721 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34722 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34723 compiler output for sysdeps/generic/initfini.c.
34724 * sysdeps/i386/elf/Makefile: Remove file.
34725 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34726
a22f12b4
MP
347272012-02-07 Marek Polacek <polacek@redhat.com>
34728
34729 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34730 * sysdeps/gnu/_G_config.h: Likewise.
34731 * sysdeps/mach/hurd/_G_config.h: Likewise.
34732
148cf100
MP
347332012-02-07 Marek Polacek <polacek@redhat.com>
34734
34735 * math/Makefile (tests): Add tst-CMPLX2.
34736 * math/tst-CMPLX2.c: New file.
34737
cfdc0dd7
AS
347382012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34739
84ba42c4
AS
34740 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34741
cfdc0dd7
AS
34742 * math/libm-test.inc (jn_test): Add missing L suffix.
34743
622c86f4
MP
347442012-02-06 Marek Polacek <polacek@redhat.com>
34745
34746 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34747 * sysdeps/i386/fpu/e_powf.S: Likewise.
34748 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34749 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34750 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34751 * sysdeps/i386/fpu/e_pow.S: Likewise.
34752 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34753 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34754 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34755 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34756 * sysdeps/i386/fpu/e_log2.S: Likewise.
34757 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34758 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34759 * sysdeps/i386/fpu/e_powl.S: Likewise.
34760 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34761 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34762 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34763 * sysdeps/i386/fpu/e_logl.S: Likewise.
34764 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34765 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34766 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34767 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34768 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34769 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34770 * sysdeps/i386/fpu/e_log.S: Likewise.
34771 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34772 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34773 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34774 * sysdeps/i386/fpu/e_logf.S: Likewise.
34775 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34776 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34777 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34778 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34779 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34780 * sysdeps/i386/fpu/e_log10.S: Likewise.
34781 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34782 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34783 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34784 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34785 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34786 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34787 * sysdeps/i386/asm-syntax.h: Likewise.
34788 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34789 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34790 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34791 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34792 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34793 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34794 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34795 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34796 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34797 * sysdeps/powerpc/sysdep.h: Likewise.
34798 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34799 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34800
d4a54ac6
JM
348012012-02-06 Joseph Myers <joseph@codesourcery.com>
34802
34803 [BZ #411]
34804 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34805
314054ea
JM
348062012-02-06 Joseph Myers <joseph@codesourcery.com>
34807
34808 * sysdeps/i386/sysdep.h: Include <features.h>.
34809 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34810 version.
34811
d8e0ca50
JM
348122012-02-05 Joseph Myers <joseph@codesourcery.com>
34813
34814 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34815 Define.
34816 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34817 LOAD_PIC_REG_STR.
34818
b1da7dd9
JM
348192012-02-03 Joseph Myers <joseph@codesourcery.com>
34820
34821 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34822 (SETUP_PIC_REG): Use GET_PC_THUNK.
34823 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34824 macro.
34825
9a1d9254
JM
348262012-02-03 Joseph Myers <joseph@codesourcery.com>
34827
34828 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34829 for non-PIC compilation.
34830 (SETUP_PIC_REG): Add .p2align directive.
34831 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34832 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34833 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34834 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34835 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34836 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34837 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34838 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34839 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34840 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34841 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34842 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34843 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34844 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34845 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34846 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34847 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34848 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34849 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34850 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34851 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34852 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34853 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34854 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34857 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34858 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34859 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34860 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34861 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34862 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34863 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34864 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34865 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34866 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34867 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34868 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34869 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34870 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34871 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34872
65dc3b75
JM
348732012-02-03 Joseph Myers <joseph@codesourcery.com>
34874
34875 * math/tst-CMPLX.c: Include <stdio.h>.
34876
d55bf177
JM
348772012-01-31 Joseph Myers <joseph@codesourcery.com>
34878
34879 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34880 float.
34881 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34882 * sysdeps/sparc/bits/mathdef.h: Likewise.
34883
69db4f8f
MP
348842012-01-31 Marek Polacek <polacek@redhat.com>
34885
34886 * libio/libio.h: Don't define _PARAMS.
34887 * locale/programs/config.h: Don't define PARAMS.
34888 * stdlib/strtol_l.c: Likewise.
34889 (__strtol_l): Remove PARAMS from the prototype.
34890
41b81892
UD
348912012-01-31 Ulrich Drepper <drepper@gmail.com>
34892
3b49edc0
UD
34893 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34894 names. Just use the correct names. Remove unnecessary wrapper
34895 functions.
34896 * malloc/arena.c: Likewise.
34897 * malloc/hooks.c: Likewise.
34898
41b81892
UD
34899 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34900 ARENA_TEST says not to. Simplify test for creation of a new arena.
34901 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34902
27a25b6e
UD
349032012-01-30 Ulrich Drepper <drepper@gmail.com>
34904
34905 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34906 into tail calls.
34907 (update_get_addr): New function.
34908 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34909 GET_ADDR_MODULE parameter.
34910
c8a89e7d
JM
349112012-01-30 Joseph Myers <joseph@codesourcery.com>
34912
34913 * crypt/cert.c: Remove __STDC__ conditionals.
34914 * crypt/crypt-entry.c: Likewise.
34915 * crypt/crypt_util.c: Likewise.
34916 * libio/filedoalloc.c: Likewise.
34917 * libio/fileops.c: Likewise.
34918 * libio/genops.c: Likewise.
34919 * libio/iofclose.c: Likewise.
34920 * libio/iofdopen.c: Likewise.
34921 * libio/iofopen.c: Likewise.
34922 * libio/iofopen64.c: Likewise.
34923 * libio/iogetdelim.c: Likewise.
34924 * libio/iopopen.c: Likewise.
34925 * libio/obprintf.c: Likewise.
34926 * libio/oldfileops.c: Likewise.
34927 * libio/oldiofclose.c: Likewise.
34928 * libio/oldiofdopen.c: Likewise.
34929 * libio/oldiofopen.c: Likewise.
34930 * libio/oldiopopen.c: Likewise.
34931 * libio/wfiledoalloc.c: Likewise.
34932 * libio/wgenops.c: Likewise.
34933 * locale/programs/xmalloc.c: Likewise.
34934 * misc/syslog.c: Likewise.
34935 * stdio-common/xbug.c: Likewise.
34936 * string/memchr.c: Likewise.
34937 * string/memcmp.c: Likewise.
34938 * string/memrchr.c: Likewise.
34939 * string/rawmemchr.c: Likewise.
34940 * sysdeps/posix/getcwd.c: Likewise.
34941 * time/strftime_l.c: Likewise.
34942
3b100462
JM
349432012-01-30 Joseph Myers <joseph@codesourcery.com>
34944
34945 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
34946 * config.make.in (config-cflags-sse2avx): Define.
34947 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34948 Fix typo.
34949
607998af
CM
349502012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34951
34952 * scripts/config.guess: Update from upstream config git repository.
34953 * scripts/config.sub: Likewise.
34954
3601428f
CM
349552012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34956
3ac8b282
CM
34957 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34958 (EM_NUM): Update.
34959 (R_TILEPRO_*, R_TILEGX_*): New macros.
34960
e034841e
CM
34961 * scripts/firstversions.awk: Fix bug in version range handling.
34962
540d7568
CM
34963 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34964
3601428f
CM
34965 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34966
463de862
CM
34967 * include/sys/epoll.h: New file.
34968 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34969 libc_hidden_def.
34970
73139a76
UD
349712012-01-28 Ulrich Drepper <drepper@gmail.com>
34972
96bc5b45
UD
34973 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34974 Avoid unnecessary __WORDSIZE == 64 test.
34975 (fmaxf): Use VEX format if possible.
34976 (fmax): Likewise.
34977 (fminf): Likewise.
34978 (fmin): Likewise.
34979
56f6f6a2
UD
34980 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34981 * math/math_private.h: Remove libc_fegetround* and
34982 libc_fesetround*.
34983 * sysdeps/i386/configure.in: Check for -msse2avx.
34984 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34985 also if SSE2AVX is defined.
34986 Remove libc_fegetround* and libc_fesetround*.
34987 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34988 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34989 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34990 of HAS_YMM_USABLE.
34991 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34992 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34993 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34994 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34995 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34996
73139a76
UD
34997 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34998
d73f93a4
AZ
349992012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35000
35001 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35002 size is not set.
35003 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35004
6ee65ed6
UD
350052012-01-27 Ulrich Drepper <drepper@gmail.com>
35006
35007 [BZ #13618]
35008 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35009 relocation.
35010 * Makeconfig (libm): Define.
35011 * elf/Makefile: Add rules to build and run tst-relsort1.
35012 * elf/tst-relsort1.c: New file.
35013 * elf/tst-relsort1mod1.c: New file.
35014 * elf/tst-relsort1mod2.c: New file.
35015
8db21882
JM
350162012-01-27 Joseph Myers <joseph@codesourcery.com>
35017
35018 * math/s_ldexp.c: Remove __STDC__ conditionals.
35019 * math/s_ldexpf.c: Likewise.
35020 * math/s_ldexpl.c: Likewise.
35021 * math/s_nextafter.c: Likewise.
35022 * math/s_nexttowardf.c: Likewise.
35023 * math/s_significand.c: Likewise.
35024 * math/s_significandf.c: Likewise.
35025 * math/s_significandl.c: Likewise.
35026 * math/w_jnl.c: Likewise.
35027 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35028 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35029 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35030 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35031 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35032 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35033 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35034 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35035 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35036 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35037 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35038 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35039 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35040 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35041 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35042 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35043 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35044 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35046 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35047 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35048 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35049 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35050 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35051 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35052 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35053 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35054 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35055 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35056 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35057 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35058 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35059 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35060 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35061 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35062 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35063 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35064 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35065 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35066 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35067 * sysdeps/ieee754/k_standard.c: Likewise.
35068 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35069 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35070 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35071 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35072 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35073 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35074 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35075 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35076 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35077 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35078 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35079 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35080 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35081 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35082 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35083 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35084 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35085 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35086 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35087 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35088 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35089 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35090 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35091 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35092 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35093 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35094 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35095 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35096 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35097 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35098 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35099 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35100 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35101 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35102 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35104 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35106 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35114 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35115 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35118 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35124 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35125 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35126 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35127 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35128 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35129 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35133 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35134 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35137 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35140 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35141 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35142 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35143 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35144 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35147 * sysdeps/ieee754/s_matherr.c: Likewise.
35148 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35149 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35150 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35151 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35152
965a54a4
JM
351532012-01-26 Joseph Myers <joseph@codesourcery.com>
35154
35155 * crypt/md5.h: Remove __STDC__ conditionals.
35156 * libio/libioP.h: Likewise.
35157 * locale/programs/config.h: Likewise.
35158 * sysdeps/generic/sysdep.h: Likewise.
35159 * sysdeps/i386/asm-syntax.h: Likewise.
35160 * sysdeps/s390/asm-syntax.h: Likewise.
35161 * sysdeps/unix/sysdep.h: Likewise.
35162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35164
7071ad79
JM
351652012-01-26 Joseph Myers <joseph@codesourcery.com>
35166
35167 * libio/libio.h: Remove __STDC__ conditionals.
35168 * malloc/obstack.h: Likewise.
35169 * math/complex.h: Likewise.
35170 * math/math.h: Likewise.
35171 * sysdeps/generic/_G_config.h: Likewise.
35172 * sysdeps/gnu/_G_config.h: Likewise.
35173 * sysdeps/mach/hurd/_G_config.h: Likewise.
35174 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35175 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35176 * sysdeps/sparc/bits/mathdef.h: Likewise.
35177
afc5ed09
UD
351782012-01-26 Ulrich Drepper <drepper@gmail.com>
35179
35180 [BZ #13583]
35181 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35182 Clean up HAS_* macros.
afc5ed09 35183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35184 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35185 possible.
35186 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35187 HAS_AVX.
35188 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35189 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35190 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35191 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35192 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35193
bdb6de1d
JM
351942012-01-25 Joseph Myers <joseph@codesourcery.com>
35195
35196 * elf/tst-unique3.cc (gets): Remove declaration.
35197 * elf/tst-unique3lib.cc (gets): Likewise.
35198 * elf/tst-unique3lib2.cc (gets): Likewise.
35199 * elf/tst-unique4.cc (gets): Likewise.
35200
b15549e6
UD
352012012-01-24 Ulrich Drepper <drepper@gmail.com>
35202
35203 * include/stdio.h: Add C++ protection. Add gets declarations and
35204 definitions.
35205 * debug/tst-chk1.c: Don't declare gets here.
35206 * stdio-common/tst-gets.c: Likewise.
35207
a037381f
JM
352082012-01-24 Joseph Myers <joseph@codesourcery.com>
35209
35210 * posix/glob: Remove directory.
35211
f1d4aa75
JM
352122012-01-24 Joseph Myers <joseph@codesourcery.com>
35213
35214 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35215
81c0c964
PT
352162012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35217
35218 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35219 of the non-standard EPFNOSUPPORT.
35220
0ea698ae
ST
352212011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35222
35223 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35224 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35225 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35226
d220b117
UD
352272012-01-21 Ulrich Drepper <drepper@gmail.com>
35228
35229 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35230
3e1aa84e
UD
352312012-01-20 Ulrich Drepper <drepper@gmail.com>
35232
35233 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35234 transient errors.
35235 * nscd/grpcache.c (cache_addgr): Likewise.
35236 * nscd/hstcache.c (cache_addhst): Likewise.
35237 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35238 * nscd/pwdcache.c (cache_addpw): Likewise.
35239 * nscd/servicescache.c (cache_addserv): Likewise.
35240
400aa020
UD
352412012-01-16 Ulrich Drepper <drepper@gmail.com>
35242
d77e7869
UD
35243 * malloc/malloc.c: Various cleanups.
35244 * malloc/hooks.c: Likewise.
35245
400aa020
UD
35246 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35247 * stdlib/bug-fmtmsg1.c: New file.
35248
35249 * stdlib/fmtmsg.c (init): Add missing unlock.
35250 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35251
e0a309cf
MP
352522012-01-12 Marek Polacek <polacek@redhat.com>
35253
35254 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35255 and _GNU_SOURCE.
35256
929d11c7
WS
352572012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35258
35259 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35260 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35261 macro to ensure uniqueness of label name.
35262 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35263 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35264
41d0e869
UD
352652012-01-11 Ulrich Drepper <drepper@gmail.com>
35266
0cc5ed3b
UD
35267 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35268
41d0e869
UD
35269 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35270 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35271 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35272 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35273
a47a831a
UD
352742012-01-10 Ulrich Drepper <drepper@gmail.com>
35275
daa891c0
UD
35276 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35277
35278 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35279 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35280 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35281
e58ef0f2
UD
35282 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35283
a47a831a 35284 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35285 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35286 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35288
35289 * math/bits/math-finite.h: Add ldexp support.
35290
a0bfc9c7
MP
352912012-01-10 Marek Polacek <polacek@redhat.com>
35292
35293 * locale/programs/localedef.h (show_archive_content): Add noreturn
35294 attribute.
35295
d6e97a1d
UD
352962012-01-09 Ulrich Drepper <drepper@gmail.com>
35297
35298 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35299
d5835c26
UD
353002012-01-08 Ulrich Drepper <drepper@gmail.com>
35301
e5f484c6
UD
35302 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35303
d5835c26
UD
35304 * io/Makefile (headers): Add bits/poll2.h.
35305
d1f741e9
WS
353062011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35307
35308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35309 typo #include statement.
35310
ec09c1c4
UD
353112012-01-08 Ulrich Drepper <drepper@gmail.com>
35312
35313 * include/sys/cdefs.h: Define __attribute_alloc_size.
35314 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35315 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35316 * elf/pldd.c: Likewise.
35317 * iconv/iconv_charmap.c: Likewise.
35318 * iconv/iconvconfig.c: Likewise.
35319 * iconv/strtab.c: Likewise.
35320 * locale/programs/locale.c: Likewise.
35321 * locale/programs/localedef.h: Likewise.
35322 * locale/programs/simple-hash.c: Likewise.
35323 * nscd/nscd.h: Likewise.
35324 * nss/makedb.c: Likewise.
35325 * sysdeps/generic/ldconfig.h: Likewise.
35326 * locale/programs/localedef.c: Remove xmalloc prototype.
35327 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35328
20b38e03
PP
353292012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35330
35331 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35332 appropriate.
35333
a0da5fe1
UD
353342012-01-08 Ulrich Drepper <drepper@gmail.com>
35335
1d5a644a 35336 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35337 * math/tst-CMPLX.c: New file.
1d5a644a 35338
8784a6db
UD
35339 * math/complex.h (CMPLXL): Fix typo.
35340
d9a216c0
UD
35341 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35342 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35343 GLIBC_2.16.
35344 * debug/tst-chk1.c: Add poll and ppoll tests.
35345 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35346 * include/sys/poll.h: Add hidden proto for ppoll.
35347 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35348 * sysdeps/mach/hurd/ppoll.c: Likewise.
35349 * io/ppoll.c: Likewise.
35350 * debug/poll_chk.c: New file.
35351 * debug/ppoll_chk.c: New file.
35352 * include/bits/poll2.h: New file.
35353 * io/bits/poll2.h: New file.
35354
ac097f5c
UD
35355 [BZ #1350]
35356 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35357
2119dcfa
UD
35358 * configure.in: static is always set to yes. Remove.
35359 * config.make.in: Don't set build-static.
35360 * Makeconfig: Remove use of build-static.
35361 * dlfcn/Makefile: Likewise.
35362 * elf/Makefile: Likewise.
35363 * math/Makefile: Likewise.
35364 * misc/Makefile: Likewise.
35365 * nptl/Makefile: Likewise.
35366 * sysdeps/mach/hurd/Makefile: Likewise.
35367
121766a9
UD
35368 * configure.in: PWD_P is not used anymore.
35369 * config.make.in: Remove PWD_P entry.
35370
51a1d39c 35371 * configure.in: Remove last remnants of RANLIB.
8720d066 35372 No need to check for signed size_t anymore.
215f4bdc
UD
35373 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35374 and IA-64.
3857022a 35375 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35376 * aclocal.m4: Likewise.
35377
d3ed7225
UD
35378 * wcsmbs/mbrtoc16.c: Implement using towc function.
35379 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35380 * wcsmbs/wcsmbsload.c: Likewise.
35381 * iconv/gconv_simple.c: Likewise.
35382 * iconv/gconv_int.h: Likewise.
35383 * iconv/gconv_builtin.h: Likewise.
35384 * iconv/iconv_prog.c: Remove CHAR16 handling.
35385
35386 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35387
35388 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35389
a0da5fe1
UD
35390 * configure.in: Remove --with-elf and --enable-bounded options.
35391 Dont set base_machine for ia64. More non-ELF conditions removed.
35392 Remove testing and setting of leading underscore information.
35393 * config.make.in (build-bounded): Set to no.
35394 * config.h.in: Remove NO_UNDERSCORES entry.
35395 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35396 them.
35397 * csu/start.c: Remove !NO_UNDERSCORE code.
35398 * locale/localeinfo.h: Likewise.
35399 * sysdeps/generic/machine-gmon.h: Likewise.
35400 * sysdeps/generic/sysdep.h: Likewise.
35401 * sysdeps/i386/sysdep.h: Likewise.
35402 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35403 * sysdeps/mach/sysdep.h: Likewise.
35404 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35405 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35406 * sysdeps/sh/sysdep.h: Likewise.
35407 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35408 * sysdeps/unix/i386/sysdep.S: Likewise.
35409 * sysdeps/unix/sparc/start.c: Likewise.
35410 * sysdeps/unix/sparc/sysdep.S: Likewise.
35411 * sysdeps/unix/sparc/sysdep.h: Likewise.
35412 * sysdeps/unix/start.c: Likewise.
35413 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35414 * sysdeps/x86_64/sysdep.h: Likewise.
35415
df78418a
UD
354162012-01-07 Ulrich Drepper <drepper@gmail.com>
35417
a784e502
UD
35418 [BZ #13553]
35419 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35420 for non-gcc.
35421 * argp/argp-fmtstream.h: Use const instead __const.
35422 * argp/argp.h: Likewise.
35423 * assert/assert.h: Likewise.
35424 * bits/fenv.h: Likewise.
35425 * bits/sched.h: Likewise.
35426 * bits/sigset.h: Likewise.
35427 * bits/sigthread.h: Likewise.
35428 * catgets/nl_types.h: Likewise.
35429 * conform/data/pthread.h-data: Likewise.
35430 * crypt/crypt-private.h: Likewise.
35431 * crypt/crypt.h: Likewise.
35432 * crypt/crypt_util.c: Likewise.
35433 * ctype/ctype.h: Likewise.
35434 * debug/execinfo.h: Likewise.
35435 * debug/mbsnrtowcs_chk.c: Likewise.
35436 * debug/mbsrtowcs_chk.c: Likewise.
35437 * debug/wcsnrtombs_chk.c: Likewise.
35438 * debug/wcsrtombs_chk.c: Likewise.
35439 * debug/wcstombs_chk.c: Likewise.
35440 * dirent/dirent.h: Likewise.
35441 * dlfcn/dlfcn.h: Likewise.
35442 * elf/neededtest4.c: Likewise.
35443 * grp/grp.h: Likewise.
35444 * gshadow/gshadow.h: Likewise.
35445 * iconv/gconv.h: Likewise.
35446 * iconv/gconv_int.h: Likewise.
35447 * iconv/gconv_simple.c: Likewise.
35448 * iconv/iconv.h: Likewise.
35449 * iconv/loop.c: Likewise.
35450 * iconv/skeleton.c: Likewise.
35451 * include/aio.h: Likewise.
35452 * include/aliases.h: Likewise.
35453 * include/argz.h: Likewise.
35454 * include/arpa/inet.h: Likewise.
35455 * include/assert.h: Likewise.
35456 * include/dirent.h: Likewise.
35457 * include/dlfcn.h: Likewise.
35458 * include/execinfo.h: Likewise.
35459 * include/fcntl.h: Likewise.
35460 * include/fenv.h: Likewise.
35461 * include/glob.h: Likewise.
35462 * include/grp.h: Likewise.
35463 * include/libintl.h: Likewise.
35464 * include/mntent.h: Likewise.
35465 * include/netdb.h: Likewise.
35466 * include/pwd.h: Likewise.
35467 * include/rpc/netdb.h: Likewise.
35468 * include/sched.h: Likewise.
35469 * include/search.h: Likewise.
35470 * include/shadow.h: Likewise.
35471 * include/signal.h: Likewise.
35472 * include/stdio.h: Likewise.
35473 * include/stdlib.h: Likewise.
35474 * include/string.h: Likewise.
35475 * include/sys/socket.h: Likewise.
35476 * include/sys/stat.h: Likewise.
35477 * include/sys/statfs.h: Likewise.
35478 * include/sys/statvfs.h: Likewise.
35479 * include/sys/syslog.h: Likewise.
35480 * include/sys/time.h: Likewise.
35481 * include/sys/uio.h: Likewise.
35482 * include/time.h: Likewise.
35483 * include/unistd.h: Likewise.
35484 * include/utmp.h: Likewise.
35485 * include/wchar.h: Likewise.
35486 * include/wctype.h: Likewise.
35487 * inet/aliases.h: Likewise.
35488 * inet/arpa/inet.h: Likewise.
35489 * inet/netinet/ether.h: Likewise.
35490 * inet/netinet/in.h: Likewise.
35491 * intl/libintl.h: Likewise.
35492 * io/bits/fcntl2.h: Likewise.
35493 * io/fcntl.h: Likewise.
35494 * io/ftw.h: Likewise.
35495 * io/sys/poll.h: Likewise.
35496 * io/sys/stat.h: Likewise.
35497 * io/sys/statfs.h: Likewise.
35498 * io/sys/statvfs.h: Likewise.
35499 * io/utime.h: Likewise.
35500 * libio/bits/stdio.h: Likewise.
35501 * libio/bits/stdio2.h: Likewise.
35502 * libio/libio.h: Likewise.
35503 * libio/libioP.h: Likewise.
35504 * libio/stdio.h: Likewise.
35505 * locale/lc-ctype.c: Likewise.
35506 * locale/locale.h: Likewise.
35507 * login/utmp.h: Likewise.
35508 * malloc/arena.c: Likewise.
35509 * malloc/malloc.c: Likewise.
35510 * malloc/malloc.h: Likewise.
35511 * malloc/mcheck.c: Likewise.
35512 * malloc/mtrace.c: Likewise.
35513 * math/bits/mathcalls.h: Likewise.
35514 * math/fenv.h: Likewise.
35515 * math/math_private.h: Likewise.
35516 * misc/bits/error.h: Likewise.
35517 * misc/bits/syslog.h: Likewise.
35518 * misc/err.h: Likewise.
35519 * misc/error.h: Likewise.
35520 * misc/fstab.h: Likewise.
35521 * misc/mntent.h: Likewise.
35522 * misc/regexp.h: Likewise.
35523 * misc/search.h: Likewise.
35524 * misc/sgtty.h: Likewise.
35525 * misc/sys/mman.h: Likewise.
35526 * misc/sys/syslog.h: Likewise.
35527 * misc/sys/uio.h: Likewise.
35528 * misc/sys/xattr.h: Likewise.
35529 * misc/ttyent.h: Likewise.
35530 * nis/rpcsvc/ypclnt.h: Likewise.
35531 * nss/nss.h: Likewise.
35532 * posix/bits/unistd.h: Likewise.
35533 * posix/fnmatch.h: Likewise.
35534 * posix/glob.h: Likewise.
35535 * posix/sched.h: Likewise.
35536 * posix/spawn.h: Likewise.
35537 * posix/sys/wait.h: Likewise.
35538 * posix/unistd.h: Likewise.
35539 * posix/wordexp.h: Likewise.
35540 * pwd/pwd.h: Likewise.
35541 * resolv/netdb.h: Likewise.
35542 * resource/sys/resource.h: Likewise.
35543 * rt/aio.h: Likewise.
35544 * rt/bits/mqueue2.h: Likewise.
35545 * rt/mqueue.h: Likewise.
35546 * shadow/shadow.h: Likewise.
35547 * signal/signal.h: Likewise.
35548 * socket/send.c: Likewise.
35549 * socket/sendto.c: Likewise.
35550 * socket/sys/socket.h: Likewise.
35551 * stdio-common/printf.h: Likewise.
35552 * stdlib/bits/stdlib.h: Likewise.
35553 * stdlib/fmtmsg.h: Likewise.
35554 * stdlib/monetary.h: Likewise.
35555 * stdlib/stdlib.h: Likewise.
35556 * stdlib/ucontext.h: Likewise.
35557 * streams/stropts.h: Likewise.
35558 * string/argz.h: Likewise.
35559 * string/bits/string2.h: Likewise.
35560 * string/string.h: Likewise.
35561 * string/strings.h: Likewise.
35562 * sunrpc/rpc/auth.h: Likewise.
35563 * sunrpc/rpc/auth_des.h: Likewise.
35564 * sunrpc/rpc/clnt.h: Likewise.
35565 * sunrpc/rpc/netdb.h: Likewise.
35566 * sunrpc/rpc/pmap_clnt.h: Likewise.
35567 * sunrpc/rpc/xdr.h: Likewise.
35568 * sysdeps/generic/inttypes.h: Likewise.
35569 * sysdeps/generic/net/if.h: Likewise.
35570 * sysdeps/generic/sys/swap.h: Likewise.
35571 * sysdeps/gnu/net/if.h: Likewise.
35572 * sysdeps/gnu/utmpx.h: Likewise.
35573 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35574 * sysdeps/i386/i486/bits/string.h: Likewise.
35575 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35576 * sysdeps/s390/bits/string.h: Likewise.
35577 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35578 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35579 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35580 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35581 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35582 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35583 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35584 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35585 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35586 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35587 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35588 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35589 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35590 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35591 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35592 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35593 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35595 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35596 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35597 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35598 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35599 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35600 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35601 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35602 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35603 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35604 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35605 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35606 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35607 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35608 * sysvipc/sys/ipc.h: Likewise.
35609 * sysvipc/sys/msg.h: Likewise.
35610 * sysvipc/sys/sem.h: Likewise.
35611 * sysvipc/sys/shm.h: Likewise.
35612 * termios/termios.h: Likewise.
35613 * time/sys/time.h: Likewise.
35614 * time/time.h: Likewise.
35615 * wcsmbs/bits/wchar2.h: Likewise.
35616 * wcsmbs/uchar.h: Likewise.
35617 * wcsmbs/wchar.h: Likewise.
35618 * wctype/wctype.h: Likewise.
35619
0269750c
UD
35620 [BZ #13551]
35621 * Makeconfig: Remove all but ELF support including AIX support.
35622 * Makerules: Likewise.
35623 * config.h.in: Likewise.
35624 * config.make.in: Likewise.
35625 * configure: Likewise.
35626 * configure.in: Likewise.
35627 * csu/Makefile: Likewise.
35628 * csu/version.c: Likewise.
35629 * debug/Makefile: Likewise.
35630 * dlfcn/Makefile: Likewise.
35631 * elf/Makefile: Likewise.
35632 * extra-lib.mk: Likewise.
35633 * iconv/Makefile: Likewise.
35634 * include/libc-symbols.h: Likewise.
35635 * include/shlib-compat.h: Likewise.
35636 * resolv/Makefile: Likewise.
35637 * resolv/res_libc.c: Likewise.
35638 * rt/Makefile: Likewise.
35639 * sysdeps/i386/asm-syntax.h: Likewise.
35640 * sysdeps/i386/sysdep.h: Likewise.
35641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35642 * sysdeps/mach/sysdep.h: Likewise.
35643 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35644 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35645 * sysdeps/s390/asm-syntax.h: Likewise.
35646 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35647 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35648 * sysdeps/sh/sysdep.h: Likewise.
35649 * sysdeps/unix/sparc/sysdep.h: Likewise.
35650 * sysdeps/wordsize-32/divdi3.c: Likewise.
35651 * sysdeps/x86_64/sysdep.h: Likewise.
35652
00bbd29b
UD
35653 * argp/Versions: Remove _argp_unlock_xxx.
35654
35655 [BZ #13559]
35656 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35657 * abilist/libBrokenLocale.abilist: Likewise.
35658 * abilist/libanl.abilist: Likewise.
35659 * abilist/libc.abilist: Likewise.
35660 * abilist/libcrypt.abilist: Likewise.
35661 * abilist/libdl.abilist: Likewise.
35662 * abilist/libm.abilist: Likewise.
35663 * abilist/libnsl.abilist: Likewise.
35664 * abilist/libpthread.abilist: Likewise.
35665 * abilist/libresolv.abilist: Likewise.
35666 * abilist/librt.abilist: Likewise.
35667 * abilist/libthread_db.abilist: Likewise.
35668 * abilist/libutil.abilist: Likewise.
35669 * abilist/libnss_db.abilist: New file.
35670
35671 * scripts/abilist.awk: Add support for indirect functions.
35672
a2693a0e
UD
35673 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35674
3f05895f
UD
35675 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35676
ecb6fb48
UD
35677 * shlib-versions: Remove entries for ports architectures.
35678
664f8cb9
UD
35679 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35680 files in ports.
35681 * elf/stackguard-macros.h: Remove support for IA-64.
35682 * elf/tst-auditmod1.c: Likewise.
35683 * sysdeps/generic/ldsodefs.h: Likewise.
35684
7ae81d88
UD
35685 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35686 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35687 configure files.
35688
bdeba135
UD
35689 [BZ #13552]
35690 * configure.in: Remove --enable-omitfp support.
35691 * FAQ.in: Adjust.
35692 * config.make.in: Likewise.
35693 * Makeconfig: Likewise.
35694 * manual/install.texi: Likewise.
35695
d75a0a62
UD
35696 In case anyone cares, the IA-64 architecture could move to ports.
35697 * sysdeps/ia64/*: Removed.
35698 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35699 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35700
dcc9756b
UD
35701 [BZ #13555]
35702 * configure.in: Remove entries for unsupported architectures.
35703
d3761ebc 35704 [BZ #13533]
9954432e
UD
35705 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35706 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35707 routines.
35708 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35709 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35710 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35711 fall back to using wcrtomb.
35712 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35713 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35714 renaming.
35715 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35716 * wcsmbs/tst-c16c32-1.c: New file.
35717
35718 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35719 local variable.
35720
c3a87236
UD
35721 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35722
28926a1b
UD
35723 * elf/tst-unique3.cc: Add explicit declaration of gets.
35724 * elf/tst-unique3lib.cc: Likewise.
35725 * elf/tst-unique3lib2.cc: Likewise.
35726 * elf/tst-unique4.cc: Likewise.
35727
df78418a
UD
35728 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35729
8ecd6b2a
JM
357302012-01-06 Joseph Myers <joseph@codesourcery.com>
35731
35732 [BZ #13566]
35733 * assert/assert.h (static_assert): Don't define for C++.
35734 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35735 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35736
9f115170
UD
357372012-01-03 Ulrich Drepper <drepper@gmail.com>
35738
5e0d0300
UD
35739 * iconv/loop.c (single loop): Fix assertion in storing of
35740 remaining bytes.
35741
9f115170
UD
35742 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35743
81fb02b0
UD
357442012-01-01 Ulrich Drepper <drepper@gmail.com>
35745
35746 * posix/getconf.c: Update copyright year.
35747 * nss/getent.c: Likewise.
a316c1f6 35748 * nss/makedb.c: Likewise.
81fb02b0
UD
35749 * iconv/iconvconfig.c: Likewise.
35750 * iconv/iconv_prog.c: Likewise.
35751 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35752 * elf/pldd.c: Likewise.
35753 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35754 * catgets/gencat.c: Likewise.
35755 * csu/version.c: Likewise.
35756 * elf/ldd.bash.in: Likewise.
35757 * elf/sprof.c (print_version): Likewise.
35758 * locale/programs/locale.c: Likewise.
35759 * locale/programs/localedef.c: Likewise.
a316c1f6 35760 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35761 * nscd/nscd.c (print_version): Likewise.
35762 * debug/xtrace.sh: Likewise.
35763 * malloc/memusage.sh: Likewise.
35764 * malloc/mtrace.pl: Likewise.
35765 * debug/catchsegv.sh: Likewise.
35766
2ba92745
JJ
357672011-12-30 Jakub Jelinek <jakub@redhat.com>
35768
35769 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35770 pure attribute.
35771
dadebdae
UD
357722011-12-24 Ulrich Drepper <drepper@gmail.com>
35773
d3761ebc 35774 [BZ #13533]
db6af3eb
UD
35775 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35776 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35777 transformations.
35778 * iconv/gconv_int.h: Likewise.
35779 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35780 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35781 from libc for GLIBC_2.16.
35782 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35783 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35784 * wcsmbs/uchar.h: Really define mbstate_t.
35785 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35786 * wcsmbs/c16rtomb.c: New file.
35787 * wcsmbs/mbrtoc16.c: New file.
35788 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35789 for C/POSIX locale.
35790 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35791 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35792
dadebdae
UD
35793 * wcsmbs/wchar.h: Add missing __restrict.
35794
67371b56
UD
357952011-12-23 Ulrich Drepper <drepper@gmail.com>
35796
74033a25
UD
35797 [BZ #13532]
35798 * time/Makefile (routines): Add timespec_get.
35799 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35800 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35801 timespec for ISO C11.
35802 * time/timespec_get.c: New file.
35803 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35804 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35805
380d7e87
UD
35806 [BZ #13531]
35807 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35808 * stdlib/stdlib.h: Declare aligned_alloc.
35809 * Versions.def: Add GLIBC_2.16 for libc.
35810 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35811
4e9e7a35
UD
35812 [BZ 13527]
35813 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35814 ISO C11.
35815
380d7e87 35816 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35817 code.
35818
03a71829
UD
35819 [BZ #13528]
35820 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35821
839e283e
UD
35822 [BZ #13529]
35823 * assert/assert.h (static_assert): Define.
35824
ce5294e2 35825 * version.h: Update for 2.16 development version.
90fa7312 35826
8d44e150 35827 [BZ #13526]
d7809905
UD
35828 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35829 _ISOC11_SOURCE.
35830
c0da14cd
UD
35831 * version.h (RELEASE): Bump for 2.15 release.
35832 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35833
530a3249
MP
35834 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35835 Patch by Marek Polacek <mpolacek@redhat.com>.
35836
67371b56
UD
35837 * bits/byteswap.h: Protect long long constants with __extension__.
35838 * sysdeps/i386/bits/byteswap.h: Likewise.
35839 * sysdeps/ia64/bits/byteswap.h: Likewise.
35840 * sysdeps/s390/bits/byteswap.h: Likewise.
35841 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35842
15db4de1
LD
358432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35844
35845 [BZ #13540]
bbe315ea
LD
35846 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35847 destination buffer.
15db4de1
LD
35848 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35849
2b2596b1
MP
358502011-12-23 Marek Polacek <polacek@redhat.com>
35851
35852 * elf/dl-addr.c (determine_info): Add inline keyword.
35853 * elf/tst-auditmod4b.c (check_avx): Likewise.
35854 * elf/tst-auditmod6b.c (check_avx): Likewise.
35855 * elf/tst-auditmod6c.c (check_avx): Likewise.
35856 * elf/tst-auditmod7b.c (check_avx): Likewise.
35857
70c6c246
UD
358582011-12-23 Ulrich Drepper <drepper@gmail.com>
35859
35860 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35861 !__SSE_MATH__.
35862
c044cf14
LD
358632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35864
15db4de1 35865 [BZ #13540]
c044cf14
LD
35866 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35867 processing for last bytes.
35868
6b13d9d9
BH
358692011-08-06 Bruno Haible <bruno@clisp.org>
35870
d455f537
BH
35871 [BZ #13061]
35872 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35873 U+0385, not to U+1FEE.
35874
6b13d9d9
BH
35875 [BZ #13062]
35876 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35877 entry for U+00A5 U+0301.
35878
db910efd
UD
358792011-12-22 Ulrich Drepper <drepper@gmail.com>
35880
27deeafc
UD
35881 [BZ #13166]
35882 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35883 buffer for the output is too small.
35884
aed9d171
UD
35885 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35886 optimization.
35887
db910efd
UD
35888 [BZ #13185]
35889 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35890 SSE flags if possible.
35891
2bd779ae
LD
358922011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35893
e7f9dac3 35894 [BZ #13540]
2bd779ae
LD
35895 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35896 processing for last bytes.
35897
154bfc16
JM
358982011-12-22 Joseph Myers <joseph@codesourcery.com>
35899
35900 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35901 (syscall-list-default-options, syscall-list-default-condition)
35902 (syscall-list-includes): Define.
35903 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35904 list of ABIs and options and #if conditions for each ABI. Do not
35905 handle common syscalls between ABIs specially.
35906 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35907 Remove.
35908 (syscall-list-variants, syscall-list-32bit-options)
35909 (syscall-list-32bit-condition, syscall-list-64bit-options)
35910 (syscall-list-64bit-condition): Define.
35911 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35912 (syscall-list-variants, syscall-list-32bit-options)
35913 (syscall-list-32bit-condition, syscall-list-64bit-options)
35914 (syscall-list-64bit-condition): Define.
35915 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35916 Remove.
35917 (syscall-list-variants, syscall-list-32bit-options)
35918 (syscall-list-32bit-condition, syscall-list-64bit-options)
35919 (syscall-list-64bit-condition): Define.
35920 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35921 Remove.
35922 (syscall-list-variants, syscall-list-32bit-options)
35923 (syscall-list-32bit-condition, syscall-list-64bit-options)
35924 (syscall-list-64bit-condition): Define.
35925
21eaf3a5
UD
359262011-12-22 Ulrich Drepper <drepper@gmail.com>
35927
16c6f992
UD
35928 * locale/iso-639.def: Add brx entry.
35929
41043168
UD
35930 [BZ #13328]
35931 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35932 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35933
21eaf3a5
UD
35934 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35935 __feraiseexcept_renamed.
35936
e3a851a2
UD
359372011-12-21 Ulrich Drepper <drepper@gmail.com>
35938
4920765e
UD
35939 [BZ #13538]
35940 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35941 EPOLLET with unsigned values.
35942 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35943 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35944
e3a851a2
UD
35945 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35946 to large cancellation.
35947 * math/s_cacoshf.c: Likewise.
35948 * math/s_cacoshl.c: Likewise.
35949
b27e24b8
RK
359502011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35951
35952 [BZ #13305]
aebefeee 35953 [BZ #12786]
b27e24b8
RK
35954 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35955 * math/s_cacoshf.c: Likewise.
35956 * math/s_cacoshl.c: Likewise.
35957
ee190f67
UD
359582011-12-21 Ulrich Drepper <drepper@gmail.com>
35959
35960 [BZ #13439]
35961 * iconv/gconv.h: Define __GCONV_SWAP.
35962 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35963 * iconvdata/utf-16.c: Likewise.
35964 * iconvdata/utf-32.c: Likewise.
35965
707f25df
AS
359662011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35967
35968 [BZ #13524]
35969 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35970 numerator after shifting it by one limb.
35971
d2daaa1e
RÁE
359722011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35973
35974 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35975 under [__USE_EXTERN_INLINES].
35976
a4647e72
UD
359772011-12-17 Ulrich Drepper <drepper@gmail.com>
35978
35979 [BZ #13446]
35980 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35981
f0b264f1
AZ
359822011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35983
35984 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35985 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35986 optimized code.
35987 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35988 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35989 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35990 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35991 for strncasecmp/strncasecmp_l compilation.
35992 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35993 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35994
8ef4f244
MP
359952011-12-08 Marek Polacek <mpolacek@redhat.com>
35996
35997 [BZ #13484]
35998 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35999 of __asm__.
36000
97ac2654
UD
360012011-12-17 Ulrich Drepper <drepper@gmail.com>
36002
36003 [BZ #13506]
36004 * time/tzfile.c (__tzfile_read): Check values from file header.
36005
91d2a845
WS
360062011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36007
36008 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36009 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36010 * powerpc/powerpc32/dl-start.S: Likewise.
36011 * powerpc/powerpc32/elf/start.S: Likewise.
36012 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36013 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36014 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36015 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36016 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36017 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36018 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36019 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36020 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36021 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36022 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36023 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36024 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36025 * powerpc/powerpc32/memset.S: Likewise.
36026 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36027 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36028 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36029 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36030 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36031 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36032 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36033 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36034 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36035 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36036 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36037 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36038 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36039
a1267ba1
AZ
360402011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36041
36042 * math/libm-test.inc: Added more nearbyint tests.
36043 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36044 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36046 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36047
ad8ac1bd
RL
360482011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36049
36050 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36051 FD_CLOEXEC.
36052
1d3e4b61
UD
360532011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36054
36055 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36056 Add wcscpy-ssse3 wcscpy-c.
36057 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36058 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36059 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36060 * sysdeps/x86_64/wcschr.S: New file.
36061 * sysdeps/x86_64/wcsrchr.S: New file.
36062 * string/test-strcmp.c: Remove checking of wcscmp function for
36063 wrong alignments.
36064 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36065 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36066 wcsrchr-sse2 wcsrchr-c.
36067 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36068 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36069 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36070 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36071 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36072 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36073 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36074 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36075 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36076 * wcsmbc/wcschr.c (WCSCHR): New macro.
36077
5b330a2d
UD
360782011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36079
36080 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36081 * wcsmbs/test-wcsrchr.c: New file.
36082 * string/test-strrchr.c: Add wcsrchr support.
36083 (WIDE): New macro.
36084 * wcsmbs/test-wcscpy.c: New file.
36085 * string/test-strcpy.c: Add wcscpy support.
36086 (WIDE): New macro.
26428b7c 36087
f039c043
UD
360882011-12-10 Ulrich Drepper <drepper@gmail.com>
36089
36090 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36091 the inner loop.
36092
850fb039
AS
360932011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36094
36095 [BZ #13472]
36096 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36097
4efbd5cb
UD
360982011-12-04 Ulrich Drepper <drepper@gmail.com>
36099
52ff5dd0 36100 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36101 Minor optimizations.
52ff5dd0 36102
4efbd5cb
UD
36103 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36104 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36105 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36106
8a426e12
UD
361072011-12-03 Ulrich Drepper <drepper@gmail.com>
36108
aff2453d
UD
36109 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36110 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36111 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36112 for gcc to avoid warnings.
36113 * inet/Makefile (tests): Add tst-checks.
36114 * inet/tst-checks.c: New file.
36115
36116 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36117 warning.
36118
36119 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36120 __wmemcmp_sse2.
36121
36122 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36123 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36124
8a426e12
UD
36125 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36126
9bea3473
UD
361272011-12-02 Ulrich Drepper <drepper@gmail.com>
36128
3a965496
UD
36129 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36130 problem.
36131
9bea3473
UD
36132 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36133
f101631b
UD
361342011-11-29 Joseph Myers <joseph@codesourcery.com>
36135
36136 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36137 conditional on GCC version.
36138 (__arch_compare_and_exchange_val_8_acq)
36139 (__arch_compare_and_exchange_val_16_acq)
36140 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36141 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36142 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36143
a98275aa
UD
361442011-12-02 Joseph Myers <joseph@codesourcery.com>
36145
36146 * sysdeps/sh/backtrace.c: New file.
36147
d4cc29a2
AS
361482011-12-02 Andreas Schwab <schwab@redhat.com>
36149
36150 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36151 parenthesis.
36152
6257af2d
AS
361532011-12-01 Andreas Schwab <schwab@redhat.com>
36154
36155 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36156 falling back to utime.
36157
b5f44c1a
AS
361582011-11-30 Andreas Schwab <schwab@redhat.com>
36159
36160 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36161 expectations for float.
36162
f3a6cc0a
AS
361632011-11-29 Andreas Schwab <schwab@redhat.com>
36164
36165 * locale/weight.h (findidx): Add parameter len.
36166 * locale/weightwc.h (findidx): Likewise.
36167 * posix/fnmatch_loop.c (FCT): Adjust caller.
36168 * posix/regcomp.c (build_equiv_class): Likewise.
36169 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36170 * posix/regexec.c (check_node_accept_bytes): Likewise.
36171 * string/strcoll_l.c (STRCOLL): Likewise.
36172 * string/strxfrm_l.c (STRXFRM): Likewise.
36173
9d65ea3a
UD
361742011-11-17 Ulrich Drepper <drepper@gmail.com>
36175
36176 * Makefile.in: Remove CVSOPT handling.
36177 * configure.in: Remove use of AC_REVISION.
36178 * iconvdata/Makefile (distribute): No need to filter out CVS.
36179 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36180 handling.
36181
5583a086
AS
361822011-11-16 Andreas Schwab <schwab@redhat.com>
36183
36184 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36185 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36186 [USE_AS_STRNCASECMP_L]: Likewise.
36187 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36188 NO_TLS_DIRECT_SEG_REFS.
36189 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36190 Fix argument offsets for non-PIC.
36191 [USE_AS_STRNCASECMP_L]: Likewise.
36192 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36193 NO_TLS_DIRECT_SEG_REFS.
36194
d62a8200
UD
361952011-11-15 Ulrich Drepper <drepper@gmail.com>
36196
9d65ea3a 36197 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36198 O_CLOEXEC.
36199 * locale/loadlocale.c (_nl_load_locale): Likewise.
36200
09f93bd3
AS
362012011-11-15 Andreas Schwab <schwab@redhat.com>
36202
446514f9
AS
36203 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36204 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36205 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36206 (SYSCALL_GETTIME): Set errno on error.
36207
09f93bd3
AS
36208 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36209 count references to noai6ai_cached.
36210
312be3f9
UD
362112011-11-15 Ulrich Drepper <drepper@gmail.com>
36212
36213 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36214
36215 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36216 FD_CLOEXEC for /proc/self/maps.
36217
36218 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36219 FD_CLOEXEC for /proc/meminfo.
36220
36221 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36222 gai.conf.
36223
36224 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36225 FD_CLOEXEC for given file.
36226
36227 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36228
36229 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36230 FD_CLOEXEC for /etc/hosts.
36231 (_gethtent): Likewise.
36232
36233 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36234
36235 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36236 cancellation and set FD_CLOEXEC for /etc/netgroup.
36237
36238 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36239 reading /etc/publickey.
36240
36241 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36242 allow cancellation when reading /etc/group.
36243
36244 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36245 cancellation.
36246 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36247
36248 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36249 when using data file.
36250
36251 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36252
36253 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36254 (write_nis_obj): Use "c" and "e" in fopen.
36255
36256 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36257
36258 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36259
36260 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36261
36262 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36263
36264 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36265 locale.alias.
36266
36267 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36268
36269 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36270
36271 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36272
36273 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36274 file parsing and set FD_CLOEXEC.
36275
82af0fa8
UD
362762011-11-14 Ulrich Drepper <drepper@gmail.com>
36277
36278 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36279
a5fb313c
AS
362802011-11-14 Andreas Schwab <schwab@redhat.com>
36281
36282 * malloc/arena.c (arena_get2): Don't call reused_arena when
36283 _int_new_arena failed.
36284
6abf3465
UD
362852011-11-14 Ulrich Drepper <drepper@gmail.com>
36286
36287 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36288 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36289 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36290 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36291 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36292 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36293 to compile strcasecmp and strncasecmp.
36294 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36295 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36296
36297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36298
76e3966e
UD
362992011-11-13 Ulrich Drepper <drepper@gmail.com>
36300
36301 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36302 locale-defines.sym to gen-as-const-headers.
36303 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36304 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36306 to compile strcasecmp and strncasecmp.
36307 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36308 strcasecmp_l and strncasecmp_l.
36309 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36310 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36311 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36312 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36313 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36314 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36315 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36316 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36317 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36318 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36319 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36320
ab26144e
UD
363212011-11-12 Ulrich Drepper <drepper@gmail.com>
36322
7edb22ef
UD
36323 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36324 result of SYSDEP_GETTIME_CPU to retval.
36325 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36326 parameter list to macro. Remove trailing semicolon. Adjust users.
36327
9694fc44
UD
36328 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36329 variable.
36330
8ad89ef8
UD
36331 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36332 mantissa words.
36333 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36334
0c822ef9
UD
36335 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36336 from unused variable.
36337
874e0564
UD
36338 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36339 DWARF definitions.
36340 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36341 for assembling.
36342
3a2edc79
UD
36343 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36344 over namespaces.
36345
f3c2577f
UD
36346 * sunrpc/rpc_prot.c (rejected): Fix case value.
36347
294ce126
UD
36348 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36349 unsigned long long int to avoid warnings in shift.
36350
5e2b63c6
UD
36351 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36352 of use of trans.
36353 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36354 variable tmp.
36355
e7f4b08e
UD
36356 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36357 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36358 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36359
ab26144e
UD
36360 * nis/nis_table.c (nis_list): Use variable of correct type for
36361 result of __follow_path call.
36362
8a6d5255
AZ
363632011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36364
36365 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36366 of math functions ceil, trunc, floor, round, and sqrt, when
36367 avaliable on the platform.
36368 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36369 name clash.
36370 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36371 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36372 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36373
aaddc98c
MP
363742011-10-30 Marek Polacek <mpolacek@redhat.com>
36375
36376 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36377 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36378
95b7042b
RM
363792011-11-11 Roland McGrath <roland@hack.frob.com>
36380
36381 * include/unistd.h: Fix __readlink return type.
36382 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36383
57769839
UD
363842011-11-11 Ulrich Drepper <drepper@gmail.com>
36385
36386 * stdlib/ucontext.h: Undo last change for makecontext.
36387
edc5984d
AS
363882011-11-11 Andreas Schwab <schwab@redhat.com>
36389
98591e58
AS
36390 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36391
edc5984d
AS
36392 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36393 * setjmp/setjmp.h: Mark functions as non-leaf.
36394 * setjmp/bits/setjmp2.h: Likewise.
36395 * stdlib/ucontext.h: Likewise.
36396
77cdc054
AS
363972011-11-10 Andreas Schwab <schwab@redhat.com>
36398
36399 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36400 (reused_arena): Don't check arena limit.
36401 (arena_get2): Atomically check arena limit.
36402
fe72eebd
UD
364032011-11-08 Ulrich Drepper <drepper@gmail.com>
36404
5f078c32
UD
36405 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36406 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36407
fe72eebd
UD
36408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36409 instructions.
36410
ae1bc2fa
AS
364112011-11-07 Andreas Schwab <schwab@redhat.com>
36412
7583a88d
AS
36413 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36414 handler when locking.
36415
ae1bc2fa
AS
36416 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36417 Fix size of allocated buffer.
36418
10fb0bfa
AS
364192011-11-04 Andreas Schwab <schwab@redhat.com>
36420
998832a4
AS
36421 [BZ #10103]
36422 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36423 declarations for long double functions.
36424 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36425
10fb0bfa
AS
36426 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36427
3d7ba52b
AS
364282011-11-03 Andreas Schwab <schwab@redhat.com>
36429
a9ae54a1
AS
36430 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36431 installed.
36432
3d7ba52b
AS
36433 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36434 is disabled.
36435
bc8db248
ST
364362011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36437
36438 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36439
45b96dd6
AS
364402011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36441
647776f6
AS
36442 * include/alloca.h (stackinfo_alloca_round): Define.
36443 (extend_alloca): Use it.
36444 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36445 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36446 here.
36447
d91a8b93
AS
36448 * scripts/check-local-headers.sh: Ignore libaudit.h.
36449
45b96dd6
AS
36450 * nscd/Makefile (extra-objs): Make recursively expanded.
36451
432d41ce
UD
364522011-11-01 Ulrich Drepper <drepper@gmail.com>
36453
34372fc6
UD
36454 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36455 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36456
fadb59f8
UD
36457 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36458 * posix/tst-rfc3484-2.c: Likewise.
36459 * posix/tst-rfc3484-3.c: Likewise.
36460
78239589
UD
36461 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36462 process_vm_writev.
36463 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36464 process_vm_writev.
36465 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36466 process_vm_writev from libc using GLIBC_2.15 version.
36467
432d41ce
UD
36468 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36469
02f9c6cf
PP
364702011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36471
36472 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36473 stack usage.
36474
3a2c0242
UD
364752011-10-31 Ulrich Drepper <drepper@gmail.com>
36476
f4ec4833
UD
36477 [BZ #13367]
36478 * nss/getent.c (initgroups_keys): Show error message in case no group
36479 names are given.
36480
3a2c0242
UD
36481 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36482 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36483 __bump_nl_timestamp.
36484 * nscd/connections (nscd_init): When host database is served open
36485 netlink socket and request notification about configuration changes.
36486 (main_loop_poll): Track netlink file descriptor and bump timestamp
36487 in case data becomes available.
36488 (main_loop_epoll): Likewise.
36489 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36490 (database_pers_head): Add extra_data fileds.
36491 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36492 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36493 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36494 Adjust caller.
36495 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36496 in6ai data, call __free_in6ai.
36497 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36498 Add -DHAVE_NETLINK.
36499 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36500 interface information. Reuse previous data if netlink timestamp
36501 is not changed.
36502 (__bump_nl_timestamp): New function.
36503 (__free_in6ai): New function.
36504
636064eb
UD
365052011-10-30 Ulrich Drepper <drepper@gmail.com>
36506
36507 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36508 close_not_cancel_no_status here.
36509 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36510
9beb2334
UD
365112011-10-29 Ulrich Drepper <drepper@gmail.com>
36512
6ef76f3b
UD
36513 [BZ #13276]
36514 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36515 return value.
36516
0ffc4f3e 36517 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36518 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36519 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36520
cb95113e
UD
365212011-07-03 Andreas Jaeger <aj@suse.de>
36522
36523 [BZ #10709]
36524 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36525 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36526 * math/libm-test.inc (sin_test): Add test case.
36527
a1b560ff
UD
365282011-10-29 Ulrich Drepper <drepper@gmail.com>
36529
c9aaface
UD
36530 [BZ #13337]
36531 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36532 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36533
d272e7f1
UD
36534 * elf/chroot_canon.c (chroot_canon): Cleanups.
36535
1bc33071
UD
36536 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36537
1760874d
TJ
36538 [BZ #13335]
36539 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36540 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36541
51d91b18
UD
36542 * string/test-strchr.c: Make usable for strchrnul testing.
36543 * string/test-strchrnul.c: New file.
36544 * string/Makefile (strop-tests): Add strchrnul.
36545
a1b560ff 36546 * po/it.po: Update from translation team.
b611fb81 36547 * po/es.po: Likewise.
a1b560ff 36548
a5b81e1f
UD
365492011-10-28 Ulrich Drepper <drepper@gmail.com>
36550
fd52bc6d
UD
36551 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36552 the three constants needed as parameters. Drop the others.
36553 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36554 __m128i_strloadu_tolower.
52e4b9eb
UD
36555 Create and initialize variable zero and use it in all the places
36556 where _mm_setzero_si128 was used.
fd52bc6d 36557
a5b81e1f
UD
36558 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36559 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36560 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36561 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36562 anymore.
36563 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36564 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36565 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36566 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36567 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36568 __mpranred, __mptan.
36569 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36570 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36571 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36572 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36573 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36574 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36575 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36576 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36577 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36578
b4343346
AS
365792011-10-28 Andreas Schwab <schwab@redhat.com>
36580
0c92d8a8
AS
36581 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36582 redefine if SHARED.
36583 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36584
b4343346
AS
36585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36586 wide char related routines to wcsmbs subdir.
36587
3871f58f
AS
365882011-10-27 Andreas Schwab <schwab@redhat.com>
36589
36590 [BZ #13344]
36591 * misc/sys/cdefs.h (__THROWNL): Define.
36592 * posix/unistd.h: Use __THREADNL instead of __THREAD
36593 for memory synchronization functions.
36594
94d44d9f
RM
365952011-10-26 Roland McGrath <roland@hack.frob.com>
36596
21b64b15 36597 [BZ #13349]
94d44d9f
RM
36598 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36599 doesn't exist.
36600 * manual/stdio.texi (Obstack Streams): Node removed.
36601
f6ce9294
AS
366022011-10-26 Andreas Schwab <schwab@redhat.com>
36603
80479147
AS
36604 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36605 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36606 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36607
f6ce9294
AS
36608 * math/math_private.h (math_force_eval): Allow non-addressable
36609 arguments.
36610 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36611
618280a1
UD
366122011-10-25 Ulrich Drepper <drepper@gmail.com>
36613
e0016b11
UD
36614 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36615 file is not needed.
36616
36617 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36618 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36619 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36620 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36621 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36623 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36624 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36625 Add AVX variants.
36626 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36627 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36628 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36629 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36630 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36631 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36632 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36633 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36634 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36635 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36636 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36637 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36638 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36639 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36640 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36641 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36642 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36643 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36644 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36645
36646 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36647 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36648
618280a1
UD
36649 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36650 place. Use VEX encoding when compiling for AVX.
36651
37822576
AS
366522011-10-25 Andreas Schwab <schwab@redhat.com>
36653
1f1e1947
AS
36654 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36655 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36656
37822576
AS
36657 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36658
31ea014d
UD
366592011-10-25 Ulrich Drepper <drepper@gmail.com>
36660
d7826aa1 36661 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36662 useless if() expression.
d7826aa1
UD
36663 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36664 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36665 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36666 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36667 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36668 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36669 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36670 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36671 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36672 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36673 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36674 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36675 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36676 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36677 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36678 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36679 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36680 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36681 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36682
31ea014d
UD
36683 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36684
16437fec
AS
366852011-10-25 Andreas Schwab <schwab@redhat.com>
36686
36687 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36688 condition.
36689 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36690
31d3cc00
UD
366912011-10-25 Ulrich Drepper <drepper@gmail.com>
36692
36693 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36694 .text section. Avoid duplicate constants.
36695 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36696 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36697 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36699 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36702 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36703 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36704 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36705 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36706 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36707 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36708 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36709 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36710 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36711 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36712 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36713 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36714 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36715 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36716 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36717 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36718 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36719 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36720 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36721 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36722 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36723 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36724 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36725 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36726 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36727 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36728 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36729 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36730 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36731 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36732 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36733 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36734 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36735 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36736 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36737 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36738 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36739 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36740
58985aa9
UD
367412011-10-24 Ulrich Drepper <drepper@gmail.com>
36742
202c9deb
UD
36743 * sysdeps/x86_64/dla.h: Move to ...
36744 * sysdeps/x86_64/fpu/dla.h: ...here.
36745 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36746 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36747
af968f62
UD
36748 * config.make.in: Add have-mfma4 entry.
36749 * configure.in: Substitute libc_cv_cc_fma4.
36750 * math/Makefile (dbl-only-routines): Add sincostab.
36751 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36752 Use __sincostab not sincos.
36753 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36754 name is a macro.
36755 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36758 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36759 using __copysign.
36760 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36761 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36762 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36763 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36764 and __inv.
36765 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36766 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36767 __copysign.
36768 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36769 define aliases when function name is a macro.
36770 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36771 sysdeps/ieee754/dbl-64/sincos.tbl.
36772 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36773 fma4-enabled routines.
36774 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36775 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36776 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36777 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36778 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36779 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36780 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36781 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36782 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36783 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36784 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36785 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36786 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36787 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36789 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36790 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36791 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36792 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36793 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36794 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36795 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36796 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36797 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36799 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36800 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36801 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36802 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36803 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36804
58985aa9
UD
36805 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36806 rename.
36807 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36808 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36810 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36813 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36814 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36815
a201fbcf
AS
368162011-10-24 Andreas Schwab <schwab@redhat.com>
36817
36818 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36819
fc2ee42a
LD
368202011-10-23 Ulrich Drepper <drepper@gmail.com>
36821
bb3129bd
UD
36822 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36823
0275fff8
UD
36824 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36825 prediction.
36826 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36827
2fa2ae85
UD
36828 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36829 Remove unused variable magic_bits.
36830 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36831
fc2ee42a
LD
36832 * string/strnlen.c: Define and use STRNLEN macro.
36833 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36834 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36835 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36836 * wcsmbs/wcslen.c: Define and use WCSLEN.
36837 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36838 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36839 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36840 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36841 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36842 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36843 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36844
ce7dd29f
LD
368452011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36846
36847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36848 strnlen-sse2-no-bsf.
36849 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36850 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36851 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36852 Add strnlen support.
36853 (USE_AS_STRNLEN): New macro.
36854 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36855 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36856 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36857 * sysdeps/x86_64/wcslen.S: New file.
36858
979c70a3
MZ
368592011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36860
36861 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36862 XMM-moves are used for copying on small sizes.
36863
2d09f82f
LD
368642011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36865
36866 * wcsmbs/Makefile (strop-tests): Add wcschr.
36867 * wcsmbs/test-wcschr.c: New file.
36868 * string/test-strchr.c: Update.
36869 Add wcschr support.
36870 (WIDE): New macro.
36871
619fccca
LD
368722011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36873
2d09f82f 36874 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36875 * wcsmbs/test-wcslen.c: New file.
36876 * string/test-strlen.c: Update.
36877 Add wcslen support.
36878 (WIDE): New macro.
36879
09f699ea
UD
368802011-10-23 Ulrich Drepper <drepper@gmail.com>
36881
36882 * po/it.po: Update from translation team.
36883
95584d3b
LD
368842011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36885
36886 * sysdeps/x86_64/wcscmp.S: Update.
36887 Fix wrong comparison semantics.
36888 wcscmp shall use signed comparison not unsigned.
36889 Don't use substraction to avoid overflow bug.
36890 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36891 * wcsmbc/wcscmp.c: Likewise.
36892 * string/test-strcmp.c: Likewise.
36893 Add new tests to check cases with negative values.
36894
c8b3296b
UD
368952011-10-23 Ulrich Drepper <drepper@gmail.com>
36896
36897 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36898 * sysdeps/x86_64/dla.h: ...here. New file.
36899 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36900 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36901 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36904 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36906 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36907 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36908
246ad57a
AS
369092011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36910
36911 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36912 __ynl_finite aliases.
36913
a1a87169
UD
369142011-10-22 Ulrich Drepper <drepper@gmail.com>
36915
0d355eb7
UD
36916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36917
a1a87169
UD
36918 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36919 define DLA_FMA.
36920 [DLA_FMA] (EMULV): Use DLA_FMA.
36921 [DLA_FMA] (MUL12): Use EMULV.
36922 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36923 that are not needed.
36924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36927 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36928 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36929 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36930 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36931
ee2aafe0
AS
369322011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36933
36934 * math/s_nan.c: Undef __nan.
36935 * math/s_nanf.c: Undef __nanf.
36936 * math/s_nanl.c: Undef __nanl.
36937 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36938 "math_private.h".
36939
bc62c2fb
UD
369402011-10-22 Ulrich Drepper <drepper@gmail.com>
36941
77425c63
UD
36942 * math/s_catan.c: Add branch predictions.
36943 * math/s_catanf.c: Likewise.
36944 * math/s_catanh.c: Likewise.
36945 * math/s_catanhf.c: Likewise.
36946 * math/s_catanhl.c: Likewise.
36947 * math/s_catanl.c: Likewise.
36948 * math/s_cexp.c: Likewise.
36949 * math/s_cexpf.c: Likewise.
36950 * math/s_cexpl.c: Likewise.
36951 * math/s_clog.c: Likewise.
36952 * math/s_clog10.c: Likewise.
36953 * math/s_clog10f.c: Likewise.
36954 * math/s_clog10l.c: Likewise.
36955 * math/s_clogf.c: Likewise.
36956 * math/s_clogl.c: Likewise.
36957 * math/s_csqrt.c: Likewise.
36958 * math/s_csqrtf.c: Likewise.
36959 * math/s_csqrtl.c: Likewise.
36960 * math/s_ctanf.c: Likewise.
36961 * math/s_ctanh.c: Likewise.
36962 * math/s_ctanhf.c: Likewise.
36963 * math/s_ctanhl.c: Likewise.
36964 * math/s_ctanl.c: Likewise.
36965
bc62c2fb
UD
36966 * math/math_private.h: Define __nan, __nanf, __nanl.
36967 * math/s_cacosh.c: Include <math_private.h>.
36968 * math/s_cacoshl.c: Likewise.
36969 * math/s_casinh.c: Likewise.
36970 * math/s_casinhf.c: Likewise.
36971 * math/s_casinhl.c: Likewise.
36972 * math/s_ccos.c: Rely entire on ccosh.
36973 * math/s_ccosf.c: Rely entire on ccoshf.
36974 * math/s_ccosl.c: Rely entirely on ccoshl.
36975 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36976 Remove tests for FE_INVALID.
36977 * math/s_ccoshf.c: Likewise.
36978 * math/s_ccoshl.c: Likewise.
36979 * math/s_csin.c: Likewise.
36980 * math/s_csinf.c: Likewise.
36981 * math/s_csinh.c Likewise.
36982 * math/s_csinhf.c: Likewise.
36983 * math/s_csinhl.c: Likewise.
36984 * math/s_csinl.c: Likewise.
36985 * math/s_ctan.c: Likewise.
36986 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36987 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36988 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36989
8ec250a4
UD
369902011-10-21 Ulrich Drepper <drepper@gmail.com>
36991
c196fed8
UD
36992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36993 compilation problems.
36994
8ec250a4
UD
36995 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36996 __builtin_expect.
36997
8d4f46c6
UD
369982011-10-20 Ulrich Drepper <drepper@gmail.com>
36999
ed72b654
UD
37000 * sysdeps/i386/configure.in: Test for -mfma4 option.
37001 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37002 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37003 COMMON_CPUID_INDEX_80000001.
37004 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37005 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37006 use it if FMA3 is not supported.
37007 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37008
8d4f46c6
UD
37009 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37010 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37011
d45c60c2
AS
370122011-10-20 Andreas Schwab <schwab@redhat.com>
37013
37014 [BZ #12892]
37015 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37016 it would create a cycle with a link time dependency.
37017
d9a4d2ab
UD
370182011-10-19 Ulrich Drepper <drepper@gmail.com>
37019
855d1560
UD
37020 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37021 instruction.
37022 * string/Makefile (strop-tests): Add rawmemchr.
37023 * string/test-rawmemchr.c: New file.
37024
d9a4d2ab
UD
37025 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37026 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37027 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37028 when compiling str{,n}casecmp and when AVX is available. Hook up
37029 new optimized code in initializers.
37030
8f3b1ffe
AS
370312011-10-19 Andreas Schwab <schwab@redhat.com>
37032
37033 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37034 __feraiseexcept instead of feraiseexcept.
37035
d38f1dba
UD
370362011-10-18 Ulrich Drepper <drepper@gmail.com>
37037
d9a8d0ab
UD
37038 * math/math_private.h: Define defaults for libc_fetestexcept and
37039 libc_feupdateenv.
37040 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37041 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37042 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37043 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37044 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37045 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37046 libc_fetestexcept and libc_feupdateenv.
37047
4855e3dd
UD
37048 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37049 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37050 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37051 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37052 libc_feholdexcept_setround.
37053
581d30e3
UD
37054 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37055 Add s_nearbyint-c and s_nearbyintf-c.
37056 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37057 nearbyintf inlines.
37058 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37059 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37060 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37061 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37062
d38f1dba
UD
37063 * math/math_private.h: Define defaults for libc_fegetround,
37064 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37065 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37066 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37067 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37068 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37069 standard functions.
37070 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37071 Remove comments and hacks for old compiler versions.
37072 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37073 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37074 libc_feholdexceptl.
37075
caa6c9d8
AS
370762011-10-18 Andreas Schwab <schwab@redhat.com>
37077
37078 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37079 (__feraiseexcept_renamed): Add __NTH.
37080 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37081 namespace violations.
37082
97c066e6
UD
370832011-10-17 Ulrich Drepper <drepper@gmail.com>
37084
99ce7b04
UD
37085 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37086
1004d182
UD
37087 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37088
228a984d
UD
37089 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37090 recently added interfaces.
37091 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37092
c8553a6a
UD
37093 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37094 about macro parameter expansion.
37095
ed22dcf6
UD
37096 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37097 __NO_MATH_INLINES is defined. Cleanups.
37098
37099 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37100 and __floorf is target has SSE4.1.
37101 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37102 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37103 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37104 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37105
b171c137
UD
37106 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37107 name.
37108 (floorf): Likewise.
37109
97c066e6
UD
37110 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37111
629f62ef
AS
371122011-10-17 Andreas Schwab <schwab@redhat.com>
37113
49a43d80
AS
37114 * misc/sys/cdefs.h: Fix last change.
37115
629f62ef
AS
37116 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37117 database lookup.
37118
e453f6cd
UD
371192011-10-16 Ulrich Drepper <drepper@gmail.com>
37120
aa78043a
UD
37121 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37122
ad0f5cad
UD
37123 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37129 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37130 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37131 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37132 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37133 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37134 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37135 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37136 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37137 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37138 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37139 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37140 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37141 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37142 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37143 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37144 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37145
37146 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37147 ceil, ceilf, floor, floorf.
37148
37149 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37150 Perform IRELATIVE relocations last.
37151
e453f6cd
UD
37152 * elf/do-rel.h: Add another parameter nrelative, replacing the
37153 local variable with the same name. Change name of the function
37154 to end in Rel or Rela (uppercase).
37155 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37156 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37157 elf_dynamic_do_##reloc function.
37158
fd5bdc09
UD
371592011-10-15 Ulrich Drepper <drepper@gmail.com>
37160
79b195b5
UD
37161 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37162 is sufficient, at least on modern CPUs.
37163
d4a28569
UD
37164 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37165
b61099b5
UD
37166 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37167 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37168
bcf01e6d
UD
37169 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37170 __expl_finite.
37171 * math/bits/math-finite.h: Add entries for exp.
37172 * math/e_expl.c: Add __*_finite alias.
37173 * sysdeps/i386/fpu/e_exp.S: Likewise.
37174 * sysdeps/i386/fpu/e_expf.S: Likewise.
37175 * sysdeps/i386/fpu/e_expl.c: Likewise.
37176 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37177 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37178 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37179 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37180 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37181 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37182 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37183
ba1a0d59
UD
37184 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37185 is sufficient, at least on modern CPUs.
37186
fd5bdc09
UD
37187 * ctype/ctype-info.c (__ctype_init): Define.
37188 * include/ctype.h (__ctype_init): Declare.
37189 (__ctype_b_loc): The variable is always initialized.
37190 (__ctype_toupper_loc): Likewise.
37191 (__ctype_tolower_loc): Likewise.
37192 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37193 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37194
7872cfb0
AS
371952011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37196
b468825a
AS
37197 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37198
7872cfb0
AS
37199 * configure.in: Also look in $cxxmachine/include for C++ system
37200 headers.
37201
be13f7bf
LD
372022011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37203
37204 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37205 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37206 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37207 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37208 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37209 (USE_AS_WMEMCMP): New macro.
37210 Fixing indents.
37211 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37212 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37213 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37214 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37215 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37216 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37217 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37218 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37219 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37220 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37221 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37222 (USE_AS_WMEMCMP): New macro.
37223 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37224 * sysdeps/string/test-memcmp.c: Update.
37225 Fix simple_wmemcmp.
37226 Add new tests.
37227 * wcsmbs/wmemcmp.c: Update.
37228 (WMEMCMP): New macro.
37229 Fix overflow bug.
37230
556a2007
AJ
372312011-10-12 Andreas Jaeger <aj@suse.de>
37232
37233 [BZ #13268]
37234 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37235
538faaa7
UD
372362011-10-15 Ulrich Drepper <drepper@gmail.com>
37237
ab6737ff
UD
37238 * libio/iofwide.c (do_length): Avoid warning.
37239
538faaa7
UD
37240 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37241
396a21b1
UD
372422011-10-14 Ulrich Drepper <drepper@gmail.com>
37243
cdf2901f
UD
37244 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37245
38ad40ce
UD
37246 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37247 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37248 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37249 * sysdeps/i386/i686/fpu/e_log.S: New file.
37250 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37251 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37252
396a21b1
UD
37253 * ctype/ctype.h: Add support for inlined isXXX functions when
37254 compiling C++ code.
37255
6b1f68c9
AS
372562011-10-14 Andreas Schwab <schwab@redhat.com>
37257
349290c0
AS
37258 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37259
6b1f68c9
AS
37260 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37261
f2282d42
RM
372622011-10-13 Roland McGrath <roland@hack.frob.com>
37263
37264 [BZ #13291]
37265 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37266
5298ffa8
AS
372672011-10-13 Andreas Schwab <schwab@redhat.com>
37268
714fad23
AS
37269 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37270 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37271 feraiseexcept.
37272
81dcc7fb
AS
37273 * sysdeps/x86_64/memrchr.S: Check for zero size.
37274
5298ffa8
AS
37275 * string/stratcliff.c: Add memrchr tests.
37276
951fbcec
LD
372772011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37278
37279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37280 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37281 rawmemchr-sse2 rawmemchr-sse2-bsf.
37282 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37283 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37284 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37285 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37286 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37287 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37288 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37289 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37290 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37291 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37292 * string/memrchr.c (MEMRCHR): New macro.
37293
0ac5ae23
UD
372942011-10-12 Ulrich Drepper <drepper@gmail.com>
37295
37296 Add integration with gcc's -ffinite-math-only and optimize wrapper
37297 functions in libm.
37298 * Versions.def: Define GLIBC_2.15 version for libm.
37299 * math/Makefile (headers): Add bits/math-finite.h.
37300 * math/bits/math-finite.h: New file.
37301 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37302 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37303 * math/e_acoshl.c: Add __*_finite alias.
37304 * math/e_acosl.c: Likewise.
37305 * math/e_asinl.c: Likewise.
37306 * math/e_atan2l.c: Likewise.
37307 * math/e_atanhl.c: Likewise.
37308 * math/e_coshl.c: Likewise.
37309 * math/e_exp10.c: Likewise.
37310 * math/e_exp10f.c: Likewise.
37311 * math/e_exp10l.c: Likewise.
37312 * math/e_exp2l.c: Likewise.
37313 * math/e_fmodl.c: Likewise.
37314 * math/e_gammal_r.c: Likewise.
37315 * math/e_hypotl.c: Likewise.
37316 * math/e_j0l.c: Likewise.
37317 * math/e_j1l.c: Likewise.
37318 * math/e_jnl.c: Likewise.
37319 * math/e_lgammal_r.c: Likewise.
37320 * math/e_log10l.c: Likewise.
37321 * math/e_log2l.c: Likewise.
37322 * math/e_logl.c: Likewise.
37323 * math/e_powl.c: Likewise.
37324 * math/e_sinhl.c: Likewise.
37325 * math/e_sqrtl.c: Likewise.
37326 * math/e_scalb.c: Completely rewritten and optimized.
37327 * math/e_scalbf.c: Likewise.
37328 * math/e_scalbl.c: Likewise.
37329 * math/w_acos.c: Likewise.
37330 * math/w_acosf.c: Likewise.
37331 * math/w_acosl.c: Likewise.
37332 * math/w_acosh.c: Likewise.
37333 * math/w_acoshf.c: Likewise.
37334 * math/w_acoshl.c: Likewise.
37335 * math/w_asin.c: Likewise.
37336 * math/w_asinf.c: Likewise.
37337 * math/w_asinl.c: Likewise.
37338 * math/w_atan2.c: Likewise.
37339 * math/w_atan2f.c: Likewise.
37340 * math/w_atan2l.c: Likewise.
37341 * math/w_atanh.c: Likewise.
37342 * math/w_atanhf.c: Likewise.
37343 * math/w_atanhl.c: Likewise.
37344 * math/w_exp10.c: Likewise.
37345 * math/w_exp10f.c: Likewise.
37346 * math/w_exp10l.c: Likewise.
37347 * math/w_fmod.c: Likewise.
37348 * math/w_fmodf.c: Likewise.
37349 * math/w_fmodl.c: Likewise.
37350 * math/w_j0.c: Likewise.
37351 * math/w_j0f.c: Likewise.
37352 * math/w_j0l.c: Likewise.
37353 * math/w_j1.c: Likewise.
37354 * math/w_j1f.c: Likewise.
37355 * math/w_j1l.c: Likewise.
37356 * math/w_jn.c: Likewise.
37357 * math/w_jnf.c: Likewise.
37358 * math/w_log.c: Likewise.
37359 * math/w_logf.c: Likewise.
37360 * math/w_logl.c: Likewise.
37361 * math/w_log10.c: Likewise.
37362 * math/w_log10f.c: Likewise.
37363 * math/w_log10l.c: Likewise.
37364 * math/w_log2.c: Likewise.
37365 * math/w_log2f.c: Likewise.
37366 * math/w_log2l.c: Likewise.
37367 * math/w_pow.c: Likewise.
37368 * math/w_powf.c: Likewise.
37369 * math/w_powl.c: Likewise.
37370 * math/w_remainder.c: Likewise.
37371 * math/w_remainderf.c: Likewise.
37372 * math/w_remainderl.c: Likewise.
37373 * math/w_scalb.c: Likewise.
37374 * math/w_scalbf.c: Likewise.
37375 * math/w_scalbl.c: Likewise.
37376 * math/w_sqrt.c: Likewise.
37377 * math/w_sqrtf.c: Likewise.
37378 * math/w_sqrtl.c: Likewise.
37379 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37380 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37381 used.
37382 * math/math_private.h: Declare __kernel_standard_f.
37383 * math/w_cosh.c: Remove cruft and optimize a bit.
37384 * math/w_coshf.c: Likewise.
37385 * math/w_coshl.c: Likewise.
37386 * math/w_exp2.c: Likewise.
37387 * math/w_exp2f.c: Likewise.
37388 * math/w_exp2l.c: Likewise.
37389 * math/w_hypot.c: Likewise.
37390 * math/w_hypotf.c: Likewise.
37391 * math/w_hypotl.c: Likewise.
37392 * math/w_lgamma.c: Likewise.
37393 * math/w_lgamma_r.c: Likewise.
37394 * math/w_lgammaf.c: Likewise.
37395 * math/w_lgammaf_r.c: Likewise.
37396 * math/w_lgammal.c: Likewise.
37397 * math/w_lgammal_r.c: Likewise.
37398 * math/w_sinh.c: Likewise.
37399 * math/w_sinhf.c: Likewise.
37400 * math/w_sinhl.c: Likewise.
37401 * math/w_tgamma.c: Likewise.
37402 * math/w_tgammaf.c: Likewise.
37403 * math/w_tgammal.c: Likewise.
37404 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37405 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37406 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37407 Minor optimizations. Pretty printing. Remove cruft.
37408 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37409 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37410 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37411 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37412 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37413 * sysdeps/i386/fpu/e_asin.S: Likewise.
37414 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37415 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37416 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37417 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37418 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37419 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37420 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37421 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37422 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37423 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37424 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37425 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37426 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37427 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37428 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37429 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37430 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37431 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37432 * sysdeps/i386/fpu/e_log.S: Likewise.
37433 * sysdeps/i386/fpu/e_log10.S: Likewise.
37434 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37435 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37436 * sysdeps/i386/fpu/e_log2.S: Likewise.
37437 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37438 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37439 * sysdeps/i386/fpu/e_logf.S: Likewise.
37440 * sysdeps/i386/fpu/e_logl.S: Likewise.
37441 * sysdeps/i386/fpu/e_pow.S: Likewise.
37442 * sysdeps/i386/fpu/e_powf.S: Likewise.
37443 * sysdeps/i386/fpu/e_powl.S: Likewise.
37444 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37445 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37446 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37447 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37448 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37449 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37450 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37451 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37452 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37453 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37454 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37455 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37456 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37457 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37458 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37459 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37460 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37461 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37462 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37463 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37464 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37465 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37466 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37467 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37469 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37470 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37471 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37472 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37473 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37474 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37475 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37476 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37477 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37478 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37479 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37480 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37481 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37482 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37483 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37484 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37485 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37486 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37487 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37488 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37489 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37490 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37491 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37492 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37493 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37494 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37495 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37496 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37497 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37498 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37499 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37500 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37501 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37502 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37503 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37504 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37505 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37506 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37507 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37508 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37509 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37510 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37511 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37512 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37513 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37514 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37515 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37516 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37517 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37518 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37519 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37520 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37521 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37522 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37523 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37524 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37525 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37526 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37527 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37528 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37529 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37530 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37531 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37532 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37533 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37534 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37535 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37536 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37537 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37538 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37539 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37540 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37541 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37542 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37543 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37544 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37545 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37546 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37547 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37548 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37549 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37550 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37551 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37552 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37553 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37554 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37555 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37556 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37557 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37558 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37559 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37560 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37561 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37562 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37563 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37564 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37565 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37566 (__isnanf): Likewise.
37567 (__isinf_ns): Likewise.
37568 (__isinf_nsf): Likewise.
37569 (__finite): Likewise.
37570 (__finitef): Likewise.
37571 (__ieee754_sqrt): Define as macro.
37572 (__ieee754_sqrtf): Define as macro.
37573 (__ieee754_sqrtl): Define as macro.
37574 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37575 inlined copy.
37576 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37577 __FINITE_MATH_ONLY__ consistent.
37578 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37579
12cc2fcd
AS
375802011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37581
a843a204
AS
37582 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37583 of rawmemchr.
37584
12cc2fcd
AS
37585 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37586
c853acd5
UD
375872011-10-09 Ulrich Drepper <drepper@gmail.com>
37588
37589 * po/ja.po: Update from translation team.
37590
c658d255
RM
375912011-10-08 Roland McGrath <roland@hack.frob.com>
37592
110946e4
RM
37593 * locale/programs/locarchive.c (prepare_address_space): New function.
37594 (create_archive, enlarge_archive, open_archive): Use it.
37595
50604220
RM
37596 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37597 inside [SHARED], where it is used.
37598
c658d255
RM
37599 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37600
37601 * nss/getent.c (netgroup_keys): Remove unused variable.
37602 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37603
6a621eb7
UD
376042011-10-08 Ulrich Drepper <drepper@gmail.com>
37605
7edb55ce
UD
37606 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37607 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37609 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37610 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37611 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37612 * math/Makefile (libm-calls): Add s_isinf_ns.
37613 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37614 * math/multc3.c: Likewise.
37615 * math/s_casin.c: Likewise.
37616 * math/s_casinf.c: Likewise.
37617 * math/s_casinl.c: Likewise.
37618 * math/s_ccos.c: Likewise.
37619 * math/s_ccosf.c: Likewise.
37620 * math/s_ccosl.c: Likewise.
37621 * math/s_ctan.c: Likewise.
37622 * math/s_ctanf.c: Likewise.
37623 * math/s_ctanh.c: Likewise.
37624 * math/s_ctanhf.c: Likewise.
37625 * math/s_ctanhl.c: Likewise.
37626 * math/s_ctanl.c: Likewise.
37627 * math/w_fmod.c: Likewise.
37628 * math/w_fmodf.c: Likewise.
37629 * math/w_fmodl.c: Likewise.
37630 * math/w_remainder.c: Likewise.
37631 * math/w_remainderf.c: Likewise.
37632 * math/w_remainderl.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37634 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37635 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37636 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37637 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37638 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37639 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37640 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37641
187da0ae
UD
37642 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37643 of the number.
37644 * stdio-common/printf_fphex.c: Likewise.
37645 * stdio-common/printf_size.c: Likewise.
37646
9277c064
UD
37647 * math/e_exp10.c: Include math_private.h using <...> not "...".
37648 * math/e_exp10f.c: Likewise.
37649 * math/e_exp10l.c: Likewise.
37650 * math/e_exp2l.c: Likewise.
37651 * math/e_j0l.c: Likewise.
37652 * math/e_j1l.c: Likewise.
37653 * math/e_jnl.c: Likewise.
37654 * math/e_lgammal_r.c: Likewise.
37655 * math/e_rem_pio2l.c: Likewise.
37656 * math/e_scalb.c: Likewise.
37657 * math/e_scalbf.c: Likewise.
37658 * math/e_scalbl.c: Likewise.
37659 * math/k_cosl.c: Likewise.
37660 * math/k_sinl.c: Likewise.
37661 * math/k_tanl.c: Likewise.
37662 * math/s_cacoshf.c: Likewise.
37663 * math/s_catan.c: Likewise.
37664 * math/s_catanf.c: Likewise.
37665 * math/s_catanh.c: Likewise.
37666 * math/s_catanhf.c: Likewise.
37667 * math/s_catanhl.c: Likewise.
37668 * math/s_catanl.c: Likewise.
37669 * math/s_ccosh.c: Likewise.
37670 * math/s_ccoshf.c: Likewise.
37671 * math/s_ccoshl.c: Likewise.
37672 * math/s_cexp.c: Likewise.
37673 * math/s_cexpf.c: Likewise.
37674 * math/s_cexpl.c: Likewise.
37675 * math/s_clog.c: Likewise.
37676 * math/s_clog10.c: Likewise.
37677 * math/s_clog10f.c: Likewise.
37678 * math/s_clog10l.c: Likewise.
37679 * math/s_clogf.c: Likewise.
37680 * math/s_clogl.c: Likewise.
37681 * math/s_csin.c: Likewise.
37682 * math/s_csinf.c: Likewise.
37683 * math/s_csinh.c: Likewise.
37684 * math/s_csinhf.c: Likewise.
37685 * math/s_csinhl.c: Likewise.
37686 * math/s_csinl.c: Likewise.
37687 * math/s_csqrt.c: Likewise.
37688 * math/s_csqrtf.c: Likewise.
37689 * math/s_csqrtl.c: Likewise.
37690 * math/s_ctan.c: Likewise.
37691 * math/s_ctanf.c: Likewise.
37692 * math/s_ctanh.c: Likewise.
37693 * math/s_ctanhf.c: Likewise.
37694 * math/s_ctanhl.c: Likewise.
37695 * math/s_ctanl.c: Likewise.
37696 * math/s_ldexp.c: Likewise.
37697 * math/s_ldexpf.c: Likewise.
37698 * math/s_ldexpl.c: Likewise.
37699 * math/s_significand.c: Likewise.
37700 * math/s_significandf.c: Likewise.
37701 * math/s_significandl.c: Likewise.
37702 * math/w_acos.c: Likewise.
37703 * math/w_acosf.c: Likewise.
37704 * math/w_acosh.c: Likewise.
37705 * math/w_acoshf.c: Likewise.
37706 * math/w_acoshl.c: Likewise.
37707 * math/w_acosl.c: Likewise.
37708 * math/w_asin.c: Likewise.
37709 * math/w_asinf.c: Likewise.
37710 * math/w_asinl.c: Likewise.
37711 * math/w_atan2.c: Likewise.
37712 * math/w_atan2f.c: Likewise.
37713 * math/w_atan2l.c: Likewise.
37714 * math/w_atanh.c: Likewise.
37715 * math/w_atanhf.c: Likewise.
37716 * math/w_atanhl.c: Likewise.
37717 * math/w_cosh.c: Likewise.
37718 * math/w_coshf.c: Likewise.
37719 * math/w_coshl.c: Likewise.
37720 * math/w_dremf.c: Likewise.
37721 * math/w_exp10.c: Likewise.
37722 * math/w_exp10f.c: Likewise.
37723 * math/w_exp10l.c: Likewise.
37724 * math/w_exp2.c: Likewise.
37725 * math/w_exp2f.c: Likewise.
37726 * math/w_fmod.c: Likewise.
37727 * math/w_fmodf.c: Likewise.
37728 * math/w_fmodl.c: Likewise.
37729 * math/w_hypot.c: Likewise.
37730 * math/w_hypotf.c: Likewise.
37731 * math/w_hypotl.c: Likewise.
37732 * math/w_j0.c: Likewise.
37733 * math/w_j0f.c: Likewise.
37734 * math/w_j0l.c: Likewise.
37735 * math/w_j1.c: Likewise.
37736 * math/w_j1f.c: Likewise.
37737 * math/w_j1l.c: Likewise.
37738 * math/w_jn.c: Likewise.
37739 * math/w_jnf.c: Likewise.
37740 * math/w_jnl.c: Likewise.
37741 * math/w_lgamma.c: Likewise.
37742 * math/w_lgamma_r.c: Likewise.
37743 * math/w_lgammaf.c: Likewise.
37744 * math/w_lgammaf_r.c: Likewise.
37745 * math/w_lgammal.c: Likewise.
37746 * math/w_lgammal_r.c: Likewise.
37747 * math/w_log.c: Likewise.
37748 * math/w_log10.c: Likewise.
37749 * math/w_log10f.c: Likewise.
37750 * math/w_log10l.c: Likewise.
37751 * math/w_log2.c: Likewise.
37752 * math/w_log2f.c: Likewise.
37753 * math/w_log2l.c: Likewise.
37754 * math/w_logf.c: Likewise.
37755 * math/w_logl.c: Likewise.
37756 * math/w_pow.c: Likewise.
37757 * math/w_powf.c: Likewise.
37758 * math/w_powl.c: Likewise.
37759 * math/w_remainder.c: Likewise.
37760 * math/w_remainderf.c: Likewise.
37761 * math/w_remainderl.c: Likewise.
37762 * math/w_scalb.c: Likewise.
37763 * math/w_scalbf.c: Likewise.
37764 * math/w_scalbl.c: Likewise.
37765 * math/w_sinh.c: Likewise.
37766 * math/w_sinhf.c: Likewise.
37767 * math/w_sinhl.c: Likewise.
37768 * math/w_sqrt.c: Likewise.
37769 * math/w_sqrtf.c: Likewise.
37770 * math/w_sqrtl.c: Likewise.
37771 * math/w_tgamma.c: Likewise.
37772 * math/w_tgammaf.c: Likewise.
37773 * math/w_tgammal.c: Likewise.
37774
6a621eb7
UD
37775 * po/ja.po: Update from translation team.
37776
bf582445
AJ
377772011-09-29 Andreas Jaeger <aj@suse.de>
37778
f9efbf3a
AJ
37779 [BZ #13179]
37780 * sunrpc/netname.c (netname2host): Fix logic.
37781
bf582445
AJ
37782 [BZ #6779]
37783 [BZ #6783]
37784 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37785 correctly.
37786 * math/w_remainder.c (__remainder): Likewise.
37787 * math/w_remainderf.c (__remainderf): Likewise.
37788 * math/libm-test.inc (remainder_test): Add test cases.
37789
48693bea
AK
377902011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37791
37792 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37793 sdiv_qrnnd.
37794
42622229
LD
377952011-10-07 Ulrich Drepper <drepper@gmail.com>
37796
37797 * string/test-memcmp.c: Avoid unncessary #defines.
37798 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37799
093ecf92
LD
378002011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37801
37802 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37803 Use new sse2 version for core i3 - i7 as it's faster
37804 than sse42 version.
37805 (bit_Prefer_PMINUB_for_stringop): New.
37806 * sysdeps/x86_64/rawmemchr.S: Update.
37807 Replace with faster SSE2 version.
37808 * sysdeps/x86_64/memrchr.S: New file.
37809 * sysdeps/x86_64/memchr.S: Update.
37810 Replace with faster SSE2 version.
37811
fde56e5c
MP
378122011-09-12 Marek Polacek <mpolacek@redhat.com>
37813
37814 * elf/dl-load.c (lose): Add cast to avoid warning.
37815
21fd49a9
UD
378162011-10-07 Ulrich Drepper <drepper@gmail.com>
37817
5a06e643
UD
37818 * po/ca.po: Update from translation team.
37819
684ae515
UD
37820 * inet/getnetgrent_r.c: Hook up nscd.
37821 * nscd/Makefile (routines): Add nscd_netgroup.
37822 (nscd-modules): Add netgroupcache.
37823 (CFLAGS-netgroupcache.c): Define.
37824 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37825 (cache_search): Add const to second parameter.
37826 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37827 INNETGR.
37828 (dbs): Add netgrdb entry.
37829 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37830 (verify_persistent_db): Handle netgrdb.
37831 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37832 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37833 GETFDNETGR.
37834 (netgroup_response_header): Define.
37835 (innetgroup_response_header): Define.
37836 (datahead): Add netgroup_response_header and innetgroup_response_header
37837 elements.
37838 * nscd/nscd.conf: Add entries for netgroup cache.
37839 * nscd/nscd.h (dbtype): Add netgrdb.
37840 (_PATH_NSCD_NETGROUP_DB): Define.
37841 (netgroup_iov_disabled): Declare.
37842 (xmalloc, xcalloc, xrealloc): Move declarations here.
37843 (cache_search): Adjust prototype.
37844 Add netgroup-related prototypes.
37845 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37846 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37847 (__nscd_innetgr): Declare.
37848 * nscd/selinux.c (perms): Use access_vector_t as element type and
37849 add netgroup-related initializers.
37850 * nscd/netgroupcache.c: New file.
37851 * nscd/nscd_netgroup.c: New file.
37852 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37853 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37854 For four parameters use innetgr.
37855 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37856 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37857 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37858 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37859
21fd49a9
UD
37860 * nscd/connections.c (register_traced_file): Don't register file
37861 for disabled databases.
37862
054c0457
UD
378632011-10-06 Ulrich Drepper <drepper@gmail.com>
37864
32b63198
UD
37865 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37866
054c0457
UD
37867 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37868 from tree and freeing node.
37869
64031225
JO
378702011-09-25 Jiri Olsa <jolsa@redhat.com>
37871
37872 * nss/nsswitch.c (__nss_database_lookup): Handle
37873 nss_parse_service_list out of memory case.
37874
0490345c
JO
378752011-09-15 Jiri Olsa <jolsa@redhat.com>
37876
37877 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37878 out of memory case.
37879
3a62d00d
AS
378802011-10-04 Andreas Schwab <schwab@redhat.com>
37881
37882 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37883 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37884 pass it down.
37885 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37886 elf_machine_rela, elf_machine_lazy_rel.
37887 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37888 (ELF_DYNAMIC_DO_REL): Likewise.
37889 (ELF_DYNAMIC_DO_RELA): Likewise.
37890 (ELF_DYNAMIC_RELOCATE): Likewise.
37891 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37892 to ELF_DYNAMIC_DO_REL.
37893 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37894 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37895 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37896 elf_machine_rela.
37897 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37898 skip_ifunc, don't call ifunc function if non-zero.
37899 (elf_machine_rela): Likewise.
37900 (elf_machine_lazy_rel): Likewise.
37901 (elf_machine_lazy_rela): Likewise.
37902 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37903 (elf_machine_lazy_rel): Likewise.
37904 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37905 Likewise.
37906 (elf_machine_lazy_rel): Likewise.
37907 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37908 Likewise.
37909 (elf_machine_lazy_rel): Likewise.
37910 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37911 (elf_machine_lazy_rel): Likewise.
37912 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37913 (elf_machine_lazy_rel): Likewise.
37914 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37915 (elf_machine_lazy_rel): Likewise.
37916 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37917 (elf_machine_lazy_rel): Likewise.
37918 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37919 (elf_machine_lazy_rel): Likewise.
37920 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37921 (elf_machine_lazy_rel): Likewise.
37922
68577918
UD
379232011-09-28 Ulrich Drepper <drepper@gmail.com>
37924
37925 * nss/nss_files/files-init.c (_nss_files_init): Use static
37926 initialization for all the *_traced_file variables.
37927
68822d74
AS
379282011-09-28 Andreas Schwab <schwab@redhat.com>
37929
37930 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37931
2056100b
RM
379322011-09-27 Roland McGrath <roland@hack.frob.com>
37933
37934 [BZ #13226]
37935 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37936
32c76b63
AS
379372011-09-27 Andreas Schwab <schwab@redhat.com>
37938
37939 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37940 Reread the line before reparsing it.
37941
bf972c9d
AS
379422011-09-26 Andreas Schwab <schwab@redhat.com>
37943
37944 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37945
e057a1b5
JM
379462011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37947 Maxim Kuvyrkov <maxim@codesourcery.com>
37948 Joseph Myers <joseph@codesourcery.com>
37949
37950 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37951 if needed for __stack_chk_guard.
37952
bc7e1c36
RM
379532011-09-19 Roland McGrath <roland@hack.frob.com>
37954
ecb1482f
RM
37955 * sysdeps/posix/spawni.c (script_execute): Always define it.
37956 It will be optimized away if unused.
37957 (maybe_script_execute): New function.
37958 (__spawni): Call it.
37959
bc7e1c36
RM
37960 * Makerules: Don't include tls.make.
37961 (config-tls): Always set to thread.
37962 * tls.make.c: File removed.
37963
1c3b002b
MF
379642011-09-19 Mike Frysinger <vapier@gentoo.org>
37965
37966 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37967 * config.make.in (CPPFLAGS-config): New substituted variable.
37968
2840865d
UD
379692011-09-15 Ulrich Drepper <drepper@gmail.com>
37970
88738eb6
UD
37971 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37972
cbf645a6 37973 [BZ #13192]
2840865d
UD
37974 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37975 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37976
b402e91a
RM
379772011-09-15 Roland McGrath <roland@hack.frob.com>
37978
37979 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37980 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37981 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37982 (CALL_FAIL): Likewise.
37983 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37984 (CALL_FAIL): Macro removed.
37985 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37986
4c1a1f71
UD
379872011-09-15 Ulrich Drepper <drepper@gmail.com>
37988
37989 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37990 for __FINITE_MATH_ONLY__ == 1.
37991
edc121be
AS
379922011-09-15 Andreas Schwab <schwab@redhat.com>
37993
37994 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37995 __ieee754_sqrt instead of sqrt.
37996 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37997 __ieee754_sqrtf instead of sqrtf.
37998 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37999 __floorf instead of floorf.
38000 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38001 __floorf, __truncf instead of floorf, truncf.
38002
cd205654
UD
380032011-09-14 Ulrich Drepper <drepper@gmail.com>
38004
ee4d0315
UD
38005 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38006
cd205654
UD
38007 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38008 __extern_always_inline.
38009 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38010 32-bit.
38011
48b67d71
AS
380122011-09-14 Andreas Schwab <schwab@redhat.com>
38013
38014 * elf/rtld.c (dl_main): Also relocate in dependency order when
38015 doing symbol dependency testing.
38016
1ae12c75
AS
380172011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38018
38019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38020 Always define `refsym'.
38021
995a80df
AS
380222011-09-13 Andreas Schwab <schwab@redhat.com>
38023
e529793b
AS
38024 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38025 (__FD_ELT): Renamed from __FDELT.
38026 * misc/bits/select2.h (__FD_ELT): Likewise.
38027 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38028 __FD_MASK instead of __FDELT, __FDMASK.
38029 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38030 Likewise.
38031 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38032 Likewise.
38033
52d4fef8
AS
38034 * elf/Makefile (gen-ldd): Fix pattern.
38035
995a80df
AS
38036 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38037 (init_tls): Likewise.
38038
8682f8b0
UD
380392011-09-12 Ulrich Drepper <drepper@gmail.com>
38040
38041 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38042
de82006d
AS
380432011-09-12 Andreas Schwab <schwab@redhat.com>
38044
a7c8e6a1
AS
38045 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38046 `struct cmsghdr *' instead of `void *'.
38047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38048 Likewise.
38049
0f31fe77
AS
380502011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38051
38052 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38053 if non-absolute.
38054 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38055 ldd_rewrite_script.
0f31fe77 38056
32b4c839
UD
380572011-09-11 Ulrich Drepper <drepper@gmail.com>
38058
83cd1420
UD
38059 * configure.in: Remove --with-tls option.
38060 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38061 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38062 out in case it is missing.
38063 * sysdeps/ia64/elf/configure.in: Likewise.
38064 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38065 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38066 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38067 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38068 * sysdeps/sh/elf/configure.in: Likewise.
38069 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38070 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38071 * sysdeps/x86_64/elf/configure.in: Likewise.
38072 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38073 * sysdeps/mach/hurd/tls.h: Likewise.
38074
633f745d
UD
38075 [BZ #13067]
38076 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38077
f318beb8
UD
38078 [BZ #13090]
38079 * configure.in: Fix use of AC_INIT.
38080
32b4c839
UD
38081 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38082
3ce1f295
UD
380832011-09-10 Ulrich Drepper <drepper@gmail.com>
38084
bb016596
UD
38085 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38086 __set_errno.
8e58439c
UD
38087 * malloc/hooks.c: Likewise.
38088
aebae053 38089 [BZ #11929]
02d46fc4
UD
38090 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38091 variables statically.
38092 (narenas): Initialize.
38093 (list_lock): Initialize.
bb016596
UD
38094 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38095 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38096 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38097 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38098 Add initializers to main_arena and mp_.
38099 (malloc_state): Remove pagesize member. Change all users to use
38100 GLRO(dl_pagesize).
38101
38102 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38103 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38104 is always initialized.
38105
22a89187
UD
38106 * malloc/malloc.c: Removed unused configurations and dead code.
38107 * malloc/arena.c: Likewise.
38108 * malloc/hooks.c: Likewise.
02d46fc4 38109 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38110
d063d164
UD
38111 * include/tls.h: Removed. USE___THREAD must always be defined.
38112 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38113 * elf/dl-libc.c: Likewise.
38114 * elf/dl-tsd.c: Likewise.
38115 * include/errno.h: Likewise.
38116 * include/netdb.h: Likewise.
38117 * include/resolv.h: Likewise.
38118 * inet/herrno-loc.c: Likewise.
38119 * inet/herrno.c: Likewise.
38120 * malloc/arena.c: Likewise.
38121 * malloc/hooks.c: Likewise.
38122 * malloc/malloc.c: Likewise.
38123 * resolv/res-state.c: Likewise.
38124 * resolv/res_libc.c: Likewise.
38125 * sysdeps/i386/dl-machine.h: Likewise.
38126 * sysdeps/ia64/dl-machine.h: Likewise.
38127 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38128 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38129 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38130 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38131 * sysdeps/sh/dl-machine.h: Likewise.
38132 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38133 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38134 * sysdeps/unix/i386/sysdep.S: Likewise.
38135 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38136 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38137 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38140 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38141 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38145 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38146 * sysdeps/x86_64/dl-machine.h: Likewise.
38147 * tls.make.c: Likewise.
38148
3ce1f295
UD
38149 * configure.in: Remove --with-__thread option. Make tests for
38150 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38151 tls_model attribute fail if no support is available. Remove
38152 USE_IN_LIBIO.
38153 * Makeconfig: Adjust for dropped configure option. All features are
38154 now mandatory.
38155 * Makerules: Likewise.
38156 * Versions.def: Likewise.
38157 * argp/argp-fmtstream.c: Likewise.
38158 * argp/argp-fmtstream.h: Likewise.
38159 * argp/argp-help.c: Likewise.
38160 * assert/assert.c: Likewise.
38161 * config.h.in: Likewise.
38162 * config.make.in: Likewise.
38163 * configure: Likewise.
38164 * configure.in: Likewise.
38165 * csu/Versions: Likewise.
38166 * csu/init.c: Likewise.
38167 * elf/tst-audit2.c: Likewise.
38168 * elf/tst-tls10.c: Likewise.
38169 * elf/tst-tls10.h: Likewise.
38170 * elf/tst-tls11.c: Likewise.
38171 * elf/tst-tls12.c: Likewise.
38172 * elf/tst-tls14.c: Likewise.
38173 * elf/tst-tlsmod11.c: Likewise.
38174 * elf/tst-tlsmod12.c: Likewise.
38175 * elf/tst-tlsmod13.c: Likewise.
38176 * elf/tst-tlsmod13a.c: Likewise.
38177 * elf/tst-tlsmod14a.c: Likewise.
38178 * elf/tst-tlsmod15b.c: Likewise.
38179 * elf/tst-tlsmod16a.c: Likewise.
38180 * elf/tst-tlsmod16b.c: Likewise.
38181 * elf/tst-tlsmod7.c: Likewise.
38182 * elf/tst-tlsmod8.c: Likewise.
38183 * elf/tst-tlsmod9.c: Likewise.
38184 * gmon/gmon.c: Likewise.
38185 * grp/fgetgrent_r.c: Likewise.
38186 * grp/putgrent.c: Likewise.
38187 * hurd/fopenport.c: Likewise.
38188 * include/libc-symbols.h: Likewise.
38189 * include/tls.h: Likewise.
38190 * intl/gettextP.h: Likewise.
38191 * intl/loadinfo.h: Likewise.
38192 * locale/global-locale.c: Likewise.
38193 * locale/localeinfo.h: Likewise.
38194 * mach/devstream.c: Likewise.
38195 * malloc/arena.c: Likewise.
38196 * malloc/set-freeres.c: Likewise.
38197 * misc/err.c: Likewise.
38198 * misc/getttyent.c: Likewise.
38199 * misc/mntent_r.c: Likewise.
38200 * posix/getopt.c: Likewise.
38201 * posix/wordexp.c: Likewise.
38202 * pwd/fgetpwent_r.c: Likewise.
38203 * resolv/Versions: Likewise.
38204 * resolv/res_hconf.c: Likewise.
38205 * shadow/fgetspent_r.c: Likewise.
38206 * shadow/putspent.c: Likewise.
38207 * stdio-common/printf_fphex.c: Likewise.
38208 * stdio-common/tmpfile.c: Likewise.
38209 * stdlib/abort.c: Likewise.
38210 * stdlib/fmtmsg.c: Likewise.
38211 * sunrpc/auth_unix.c: Likewise.
38212 * sunrpc/clnt_perr.c: Likewise.
38213 * sunrpc/clnt_tcp.c: Likewise.
38214 * sunrpc/clnt_udp.c: Likewise.
38215 * sunrpc/clnt_unix.c: Likewise.
38216 * sunrpc/openchild.c: Likewise.
38217 * sunrpc/svc_simple.c: Likewise.
38218 * sunrpc/svc_tcp.c: Likewise.
38219 * sunrpc/svc_udp.c: Likewise.
38220 * sunrpc/svc_unix.c: Likewise.
38221 * sunrpc/xdr.c: Likewise.
38222 * sunrpc/xdr_array.c: Likewise.
38223 * sunrpc/xdr_rec.c: Likewise.
38224 * sunrpc/xdr_ref.c: Likewise.
38225 * sunrpc/xdr_stdio.c: Likewise.
38226
1248c1c4
PB
382272011-09-09 Ulrich Drepper <drepper@gmail.com>
38228
38229 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38230
382312011-07-03 Andreas Jaeger <aj@suse.de>
38232
38233 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38234 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38235 regenerate with gen-libm-tests.pl.
38236
382372010-05-12 Petr Baudis <pasky@suse.cz>
38238
38239 [BZ #11589]
38240 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38241 around j0() zero points by switching to j1().
38242 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38243 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38244 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38246
f22e1074
UD
382472011-09-09 Ulrich Drepper <drepper@gmail.com>
38248
f19009c1
UD
38249 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38250 instead of 0.
38251 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38252 instead of 0.
f19009c1
UD
38253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38254 Patch in part by Pavel Roskin <proski@gnu.org>.
38255
3f8cc204
UD
38256 [BZ #13138]
38257 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38258 realloc.
38259 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38260 Free memory block if necessary.
38261
f22e1074
UD
38262 [BZ #12847]
38263 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38264 be NULL. Don't lock in this case.
38265
0a2349f9
RM
382662011-09-09 Roland McGrath <roland@hack.frob.com>
38267
38268 * elf/elf.h (ELFOSABI_GNU): New macro.
38269 (ELFOSABI_LINUX): Define to that.
38270
f3cdd467
DZ
382712011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38272
38273 * string/strncat.c (strncat): Undef the symbol in case it has been
38274 defined in bits/string.h.
38275
74718d13
UD
382762011-09-09 Ulrich Drepper <drepper@gmail.com>
38277
633e9e0f
UD
38278 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38279
0a2349f9 38280 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38281 link map.
38282
f9924780
AJ
382832011-08-17 Andreas Jaeger <aj@suse.de>
38284
38285 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38286
7f5517aa
PP
382872011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38288 Ian Lance Taylor <iant@google.com>
38289
38290 * math/libm-test.inc (lround_test): New testcase.
38291 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38292
762011fe
UD
382932011-09-08 Ulrich Drepper <drepper@gmail.com>
38294
92963737
UD
38295 * Makefile: Remove support for automatic cvs check-ins.
38296 * Makerules: Likewise.
38297 * config.make.in: Likewise.
38298 * configure.in: Likewise.
38299 * intl/Makefile: Likewise.
38300 * locale/Makefile: Likewise.
38301 * po/Makefile: Likewise.
38302 * posix/Makefile: Likewise.
38303 * sysdeps/gnu/Makefile: Likewise.
38304 * sysdeps/mach/hurd/Makefile: Likewise.
38305 * sysdeps/sparc/sparc32/Makefile: Likewise.
38306
b0727fd8
JS
38307 [BZ #13118]
38308 * posix/Makefile (bug-regex32-ENV): Define.
38309 Patch by John Stanley <jpsinthemix@verizon.net>.
38310
a0f33f99
UD
38311 * misc/Makefile (headers): Add bits/select2.h.
38312 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38313 * misc/bits/select2.h: New file.
38314 * include/bits/select2.h: New file.
38315 * debug/Makefile (routines): Add fdelt_chk.
38316 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38317 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38318 FD_ISSET.
38319 * debug/fdelt_chk.c: New file.
38320
762011fe
UD
38321 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38322 * wcsmbs/test-wmemcmp.c: Likewise.
38323 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38324 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38325
383262011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38327
38328 * string/Makefile (strop-tests): Add memcmp.
38329 * string/test-wmemcmp.c: New file.
38330 * string/test-memcmp.c: Add wmemcmp support.
38331
7f513ec8
RM
383322011-09-08 Roland McGrath <roland@hack.frob.com>
38333
0442afb4
RM
38334 [BZ #13153]
38335 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38336 2011-07-19 change.
38337
7f513ec8
RM
38338 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38339 garbage value in a __mach_port_mod_refs call in the cases of the
38340 task-self and thread-self ports.
38341
a12b2239
ST
383422011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38343
38344 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38345
610f9ab4
AS
383462011-09-08 Andreas Schwab <schwab@redhat.com>
38347
7f513ec8 38348 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38349
48882a1a
LD
383502011-09-07 Ulrich Drepper <drepper@gmail.com>
38351
b49865be
UD
38352 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38353
fdc86bc9
UD
38354 * elf/dl-libc.c (dlerror_run): Pass back error code from
38355 dl_catch_error.
38356
c966526a
UD
38357 [BZ #13123]
38358 * elf/dl-load.c (lose): Free l_origin if it is valid.
38359
48882a1a
LD
38360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38361 names.
38362 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38363 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38364 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38365 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38366 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38367 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38368
77a2a8b4
AZ
383692011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38370
38371 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38372 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38373 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38374 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38375 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38376 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38377 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38378 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38379 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38380 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38381
24f579d8
AM
383822011-08-15 Alan Modra <amodra@gmail.com>
38383
38384 [BZ #13092]
38385 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38386 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38387 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38388 ppc_mcount to static-only-routines.
38389 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38390 __mcount_internal.
38391 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38392 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38393
3d4837df
UD
383942011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38395
38396 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38397 for finite and infinity parameters.
38398
22700377
WS
383992011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38400
38401 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38402 and add nop instructions for throughput optimization.
38403 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38404
5025581e
WS
384052011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38406
38407 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38408 aligned copy for power7 with vector-scalar instructions.
38409 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38410
08a300c9
L
384112011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38412
38413 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38414 AVX check.
38415
59178ef9
AS
384162011-09-07 Andreas Schwab <schwab@redhat.com>
38417
38418 [BZ #13144]
38419 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38420 last change.
38421
e38ba7ab
UD
384222011-09-07 Ulrich Drepper <drepper@gmail.com>
38423
38424 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38425 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38426 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38427 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38428 clock_gettime.
38429
d53a73ac
UD
384302011-09-06 Ulrich Drepper <drepper@gmail.com>
38431
fc8bffcc
UD
38432 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38433 Forgot to demangle the pointer.
38434
ceaa0c5d
UD
38435 * sysdeps/i386/sysdep.h: Define atom_text_section.
38436 * sysdeps/x86_64/sysdep.h: Likewise.
38437 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38438 section with atom_text_section.
38439 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38440 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38441 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38442 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38443 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38444
a77d3c17
UD
38445 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38446 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38447 already be defined. Change to take two parameters and don't assign
38448 result to variable. Adjust all users.
38449 Define INTERNAL_GETTIME if not already defined.
38450 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38451 call.
38452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38453 HAVE_CLOCK_GETTIME_VSYSCALL.
38454 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38455
d53a73ac
UD
38456 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38457 gettimeofday vsyscall, just use time.
38458
a8f84144
AS
384592011-09-06 Andreas Schwab <schwab@redhat.com>
38460
38461 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38462 <errno.h>.
38463
ef606249
UD
384642011-09-06 Ulrich Drepper <drepper@gmail.com>
38465
38466 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38467 syscall on x86-64.
38468 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38469 syscall.
38470 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38471 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38472 syscall if possible.
38473
6585cb60
UD
384742011-09-05 Ulrich Drepper <drepper@gmail.com>
38475
38476 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38477 e_ident. Don't pass to find_mapsXX.
38478 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38479
a5f524e4
LD
384802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38481
38482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38483 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38484 * sysdeps/x86_64/multiarch/strchr.S: Update.
38485 Check bit_slow_BSF bit.
38486 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38487 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38488 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38489
554881ef
UD
384902011-09-05 Ulrich Drepper <drepper@gmail.com>
38491
d96de963
UD
38492 [BZ #13134]
38493 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38494 before glibc 2.15.
38495 (tryshell): Define.
38496 (__spawni): Change last parameter to be flag. Test
38497 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38498 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38499 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38500 * posix/spawni.c: Likewise.
38501 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38502 * posix/spawnp.c: Likewise. Change normal version to use
38503 SPAWN_XFLAGS_USE_PATH.
38504 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38505 SPAWN_XFLAGS_TRY_SHELL.
38506
d48e5868
UD
38507 [BZ #13150]
38508 * posix/glob.h: Remove gcc 1.x support.
38509
554881ef
UD
38510 [BZ #13068]
38511 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38512
693fb948
LD
385132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38514
38515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38516 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38517 strrchr-sse2-bsf
38518 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38519 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38520 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38521 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38522 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38523 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38524
1b48c537
UD
385252011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38526
49d42c37
UD
38527 * sysdeps/x86_64/wcscmp.S: New file.
38528
1b48c537
UD
38529 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38530 wcscmp-c wcscmp-sse2
38531 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38532 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38533 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38534 * wcsmbs/wcscmp.c: Allow renaming.
38535
15c95c5d
DM
385362011-09-05 David S. Miller <davem@davemloft.net>
38537
38538 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38539 stack slot, rather than the struct return pointer slot.
38540 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38541 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38543 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38544
2f0ad8f3
UD
385452011-09-05 Ulrich Drepper <drepper@gmail.com>
38546
d88ae418
UD
38547 * po/ja.po: Update from translation team.
38548
2f0ad8f3
UD
38549 [BZ #13144]
38550 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38551 kernel in 64-bit binaries.
38552
5f4318d1
DM
385532011-09-01 David S. Miller <davem@davemloft.net>
38554
38555 * elf/elf.h (HWCAP_SPARC_*): Move to..
38556 * sysdeps/sparc/sysdep.h: this new file and add new values.
38557 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38558 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38559 _DL_HWCAP_COUNT to 24.
38560 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38561 entries.
38562 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38563 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38564 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38565 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38566 instead of magic constants.
38567 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38568
3ba57516
DM
385692011-08-31 David S. Miller <davem@davemloft.net>
38570
38571 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38572 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38573 Reimplement to do errno handling inline.
38574 (SYSCALL_ERROR_HANDLER): New macro.
38575 (__SYSCALL_STRING): Do not do errno handling in asm.
38576 (__CLONE_SYSCALL_STRING): Delete.
38577 (__INTERNAL_SYSCALL_STRING): Delete.
38578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38579 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38580 (PSEUDO): Reimplement to do errno handling inline.
38581 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38582 (SYSCALL_ERROR_HANDLER): New macro.
38583 (__SYSCALL_STRING): Do not do errno handling in asm.
38584 (__CLONE_SYSCALL_STRING): Delete.
38585 (__INTERNAL_SYSCALL_STRING): Delete.
38586 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38587 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38588 i386.
38589 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38590 (inline_syscall*): Add 'err' argument.
38591 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38592 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38593 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38594 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38595
38596 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38597 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38598
2bc17433
AS
385992011-08-30 Andreas Schwab <schwab@redhat.com>
38600
38601 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38602
fbeb5f4d
JO
386032011-08-29 Jiri Olsa <jolsa@redhat.com>
38604
38605 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38606 directive.
38607
ad69cc26
DM
386082011-08-24 David S. Miller <davem@davemloft.net>
38609
38610 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38611
39dd69df
AS
386122011-08-24 Andreas Schwab <schwab@redhat.com>
38613
38614 * elf/Makefile: Add rules to build and run unload8 test.
38615 * elf/unload8.c: New file.
38616 * elf/unload8mod1.c: New file.
38617 * elf/unload8mod1x.c: New file.
38618 * elf/unload8mod2.c: New file.
38619 * elf/unload8mod3.c: New file.
38620
38621 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38622 it wasn't used.
38623
2c0b250a
DM
386242011-08-23 David S. Miller <davem@davemloft.net>
38625
38626 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38627 subtract stack bias.
38628 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38629 %sp not %fp in calculations.
38630 (_JMPBUF_UNWINDS_ADJ): Likewise.
38631
22044b48
DM
38632 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38633 (aio_suspend): Call it to force an exception region around the
38634 AIO_MISC_WAIT() invocation.
38635
2cae4995
AS
386362011-08-23 Andreas Schwab <schwab@redhat.com>
38637
38638 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38639 backslash.
38640
873a772e
AJ
386412011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38642
38643 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38644 protection macro.
38645 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38646 and <dl-machine.h>.
38647 (Elf64_FuncDesc): Remove.
38648
25ad0df1
DM
386492011-08-22 David S. Miller <davem@davemloft.net>
38650
38651 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38652 sigaltstack check, add missing cfi directives.
38653 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38654 missing cfi directives, and sigaltstack handling.
38655
e888bcbe
AS
386562011-08-16 Andreas Schwab <schwab@redhat.com>
38657
38658 [BZ #11724]
38659 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38660 object is seen twice.
38661 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38662
38663 * elf/Makefile (distribute): Add tst-initorder2.c.
38664 (tests): Add tst-initorder2.
38665 (modules-names): Add tst-initorder2a tst-initorder2b
38666 tst-initorder2c tst-initorder2d. Add rules to build them.
38667 ($(objpfx)tst-initorder2.out): New rule.
38668 * elf/tst-initorder2.c: New file.
38669 * elf/tst-initorder2.exp: New file.
38670
87162f46
AS
386712011-08-22 Andreas Schwab <schwab@redhat.com>
38672
70538b7f
AS
38673 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38674
f55ffe58
AS
38675 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38676 dependencies back to end of function.
38677
87162f46
AS
38678 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38679 $(elfobjdir)/ld.so.
38680
91b392a4
UD
386812011-08-21 Ulrich Drepper <drepper@gmail.com>
38682
38683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38684 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38685 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38686 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38687 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38688 of __vdso_gettimeofday.
38689 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38690 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38691 attribute_hidden.
38692 (_libc_vdso_platform_setup): Remove initialization of
38693 __vdso_gettimeofday and __vdso_time.
38694
5c43483f
UD
386952011-08-20 Ulrich Drepper <drepper@gmail.com>
38696
775a77e7
UD
38697 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38698 and fgetc_unlocked.
38699 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38700 getc_unlocked.
89f447ed 38701
49c74ba9
UD
38702 * elf/dl-open.c (add_to_global): Report additions to the global scope
38703 for LD_DEBUG=scopes.
38704 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38705 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38706
5c43483f
UD
38707 [BZ #13114]
38708 * stdio-common/Makefile (tests): Add bug24.
38709 * stdio-common/bug24.c: New file.
38710
a101b025
AJ
387112011-08-19 Andreas Jaeger <aj@suse.de>
38712
38713 [BZ #13114]
38714 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38715 non-existant file when using close-on-exec mode.
38716
c88f1766
UD
387172011-08-20 Ulrich Drepper <drepper@gmail.com>
38718
0276a718
UD
38719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38720 the very first instruction.
38721
c88f1766
UD
38722 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38723 the CFI state in the end.
38724 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38725 inclusion of dl-trampoline.h.
38726 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38727
51ccffa0
AS
387282011-08-19 Andreas Schwab <schwab@redhat.com>
38729
94d7165f
AS
38730 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38731 expectations for long double.
38732
51ccffa0
AS
38733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38734 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38735
fd708658 387362011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38737
38738 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38739 artificual limit depends upon the system page size.
38740
44f0a71e
UD
387412011-08-17 Ulrich Drepper <drepper@gmail.com>
38742
38743 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38744 * resolv/Makefile: Define CFLAGS-libresolv.
38745
8de79a24
AS
387462011-08-17 Andreas Schwab <schwab@redhat.com>
38747
38748 * nss/makedb.c (compute_tables): Make variables used in nested
38749 function static.
38750
27724598
UD
387512011-08-17 Ulrich Drepper <drepper@gmail.com>
38752
c5305d88
UD
38753 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38754 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38755 if buffer was too small.
38756
27724598
UD
38757 * elf/pldd.c (main): Attach to all threads in the process.
38758 Rewrite /proc handling to use *at functions.
38759
076fe015
UD
387602011-08-16 Ulrich Drepper <drepper@gmail.com>
38761
174baab3
UD
38762 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38763 specifies first scope to show.
38764 (dl_open_worker): Update callers. Move printing scope of new
38765 object to before the relocation.
44f0a71e 38766 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38767 * sysdeps/generic/ldsodefs.h: Update declaration.
38768
076fe015
UD
38769 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38770 string for the scope number.
38771
a60df2c3
UD
387722011-08-14 Ulrich Drepper <drepper@gmail.com>
38773
38774 * nscd/servicescache.c (cache_addserv): Make sure written is always
38775 initialized.
38776
5e4287d1
RM
387772011-08-14 Roland McGrath <roland@hack.frob.com>
38778
85ae0589
RM
38779 * sysdeps/i386/i486/bits/atomic.h
38780 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38781 statement expression, so as to suppress "set but not used" warning.
38782 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38783
69f63097
RM
38784 * string/strncat.c (STRNCAT): Use prototype definition.
38785
675456ef
RM
38786 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38787 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38788 -Iprograms here.
38789 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38790 (localedef-modules): Add localedef.
38791 (locale-modules): Add locale.
38792
5e4287d1
RM
38793 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38794 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38795 to avoid a warning.
38796
9c96ff23
DM
387972011-08-14 David S. Miller <davem@davemloft.net>
38798
38799 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38800 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38801
f9ddf089
UD
388022011-08-13 Ulrich Drepper <drepper@gmail.com>
38803
44f0a71e 38804 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38805 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38806 * elf/rtld.c (dl_main): Set l_name of vDSO.
38807 Call _dl_show_scope when DL_DEBUG_SCOPES.
38808 (process_dl_debug): Recognize scopes flag and also set it for all.
38809 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38810 Declare _dl_show_scope.
38811
1dc27704
UD
38812 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38813 (do_dlopen): Pass caller_dlopen to dl_open.
38814 (__libc_dlopen_mode): Initialize caller_dlopen.
38815
f9ddf089
UD
38816 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38817 of libc. Make tolower call locale-independent. Optimize a bit by
38818 using isdigit instead of isalnum.
38819 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38820
9ac533d3
UD
388212011-08-12 Ulrich Drepper <drepper@gmail.com>
38822
38823 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38824 was a dependency or dynamically loaded.
38825
89edf2e9
UD
388262011-08-11 Ulrich Drepper <drepper@gmail.com>
38827
8e999d29
UD
38828 * intl/l10nflist.c: Allow architecture-specific pop function.
38829 * sysdeps/x86_64/l10nflist.c: New file.
38830
89edf2e9
UD
38831 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38832 classification.
38833
14d96785
AS
388342011-08-10 Andreas Schwab <schwab@redhat.com>
38835
38836 * include/dirent.h: Add libc_hidden_proto for scandirat and
38837 scandirat64. Don't declare __scandirat64.
38838 * dirent/scandirat.c: Add libc_hidden_def.
38839 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38840 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38841
6761ac04
DM
388422011-08-10 David S. Miller <davem@davemloft.net>
38843
38844 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38845 enum.
38846 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38847 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38848 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38849
c55fbd1e
UD
388502011-08-09 Ulrich Drepper <drepper@gmail.com>
38851
38852 * Versions.def [libc]: Add GLIBC_2.15.
38853 * dirent/Makefile (routines): Add scandirat and scandirat64.
38854 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38855 GLIBC_2.15.
38856 * dirent/dirent.h: Declare scandirat and scandirat64.
38857 * dirent/scandirat.c: New file.
38858 * dirent/scandirat64.c: New file.
38859 * sysdeps/wordsize-64/scandirat.c: New file.
38860 * sysdeps/wordsize-64/scandirat64.c: New file.
38861 * dirent/opendir.c: Define opendirat.
38862 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38863 using scandirat.
38864 * dirent/scandir64.c: Adjust for scandir.c change.
38865 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38866 __scandirat64, and __scandir_cancel_handler.
38867 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38868 additional parameter and use openat instead of open (outside of ld.so).
38869 Add new __opendir as wrapper around __opendirat.
38870 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38871 here without requiring old scandirat implementation.
38872
879165f2
UD
388732011-08-08 Ulrich Drepper <drepper@gmail.com>
38874
38875 * dirent/scandir.c (cancel_handler): Renamed to
38876 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38877 defined. Adjust users.
38878 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38879 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38880
cb7e923b
UD
388812011-08-04 Ulrich Drepper <drepper@gmail.com>
38882
16292edd
UD
38883 * string/test-string.h (IMPL): Use __STRING to expand name and then
38884 stringify it.
38885
cb7e923b
UD
38886 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38887 of cleanups.
38888
cff82933
LD
388892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38890
38891 * string/Makefile: Update.
38892 (strop-tests): Append strncat.
38893 * string/test-wcscmp.c: New file.
38894 New comprehensive test for wcscmp.
38895 * string/test-strcmp.c: Update.
38896 (WIDE): New define.
38897
9be9bfcc
AS
388982011-07-22 Andreas Schwab <schwab@redhat.com>
38899
38900 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38901 line.
38902
2e96f1c7
AS
389032011-07-26 Andreas Schwab <schwab@redhat.com>
38904
38905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38906 encoding to ACE if AI_IDN.
38907
85188888
JJ
389082011-08-01 Jakub Jelinek <jakub@redhat.com>
38909
38910 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38911 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38912
5fa16e9b
LD
389132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38914
38915 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38916 Fix overflow bug in strncat.
38917 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38918
38919 * string/test-strncat.c: Update.
38920 Add new tests for checking overflow bugs.
38921
389222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38923
38924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38925 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38926 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38927 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38928 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38929 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38930 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38931 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38932 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38933
38934 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38935 (USE_AS_STRCAT): Define.
38936 Add strcat and strncat support.
38937 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38938
8c1a459f
AS
389392011-07-25 Andreas Schwab <schwab@redhat.com>
38940
38941 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38942 __n bigger than INT_MAX+1.
38943 (__strncmp_g): Likewise.
38944
bba33c28
UD
389452011-07-23 Ulrich Drepper <drepper@gmail.com>
38946
798be72d
UD
38947 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38948 * libio/stido.h: Likewise.
38949
8accd4dc
UD
38950 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38951 (AF_NFC): Define.
38952 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38953 (AF_NFC): Define.
38954
cbff0d96
UD
38955 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38956 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38957 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38958 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38959 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38960
9191c04a
UD
38961 [BZ #13021]
38962 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38963 installed.
38964
bba33c28
UD
38965 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38966 typo.
38967 (_dl_x86_64_save_sse): Likewise.
38968
90f139dd
UD
389692011-07-22 Ulrich Drepper <drepper@gmail.com>
38970
1aae088a
UD
38971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38972 OSXSAVE.
38973 (_dl_x86_64_save_sse): Likewise.
38974
8e2045f5
UD
38975 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38976
90f139dd
UD
38977 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38978
1d002f25
AS
389792011-07-21 Andreas Schwab <schwab@redhat.com>
38980
38981 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38982 change.
38983 (_dl_x86_64_save_sse): Use correct AVX check.
38984
21137f89
UD
389852011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38986
38987 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38988 bug in strncpy/strncat.
38989 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38990
a65c0b7a
UD
389912011-07-21 Ulrich Drepper <drepper@gmail.com>
38992
38993 * string/tester.c (test_strcat): Add tests for different alignments
38994 of source and destination.
38995 (test_strncat): Likewise.
38996
6986b98a
UD
389972011-07-20 Ulrich Drepper <drepper@gmail.com>
38998
90bb2039
UD
38999 [BZ #12852]
39000 * posix/glob.c (glob): Check passed in values before using them in
39001 expressions to avoid some overflows.
39002 (glob_in_dir): Likewise.
39003
5644ef54
UD
39004 [BZ #13007]
39005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39006 check for AVX enablement so that we don't crash with old kernels and
39007 new hardware.
39008 * elf/tst-audit4.c: Add same checks here.
39009 * elf/tst-audit6.c: Likewise.
39010
39011 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39012
bfc9dc9b
AS
390132011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39014
39015 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39016
702e64bb
UD
390172011-07-20 Ulrich Drepper <drepper@gmail.com>
39018
39019 * po/cs.po: Update from translation team.
39020 * po/bg.po: Likewise.
39021
295e904f
MP
390222011-07-12 Marek Polacek <mpolacek@redhat.com>
39023
39024 * misc/sys/cdefs.h: Add support for const attribute.
39025 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39026 to gnu_dev_{major,minor,makedev} functions.
39027
3ff94596
MP
390282011-07-20 Marek Polacek <mpolacek@redhat.com>
39029
39030 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39031
28b59fca
AS
390322011-07-20 Andreas Schwab <schwab@redhat.com>
39033
39034 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39035 strlen results.
39036
19df733e
AK
390372011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39038
39039 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39040 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39041 register in order to avoid conflicts with the soft frame pointer
39042 being held in r11 when necessary.
39043 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39044 (INTERNAL_VSYSCALL_NCS): Likewise.
39045
c8835729
MP
390462011-07-14 Marek Polacek <mpolacek@redhat.com>
39047
39048 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39049 * elf/dl-fini.c (_dl_fini): Adjust caller.
39050 * elf/dl-close.c (_dl_close_worker): Likewise.
39051 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39052
b902330c
MP
390532011-07-15 Marek Polacek <mpolacek@redhat.com>
39054
8991e135
MP
39055 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39056 "aux_cache->nlibs < 0".
39057
b902330c
MP
39058 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39059 in the reload-count case.
39060
99710781
LD
390612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39062
39063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39064 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39065 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39066 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39067 * sysdeps/x86_64/multiarch/strcat.S: New file.
39068 * sysdeps/x86_64/multiarch/strncat.S: New file.
39069 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39070 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39071 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39072 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39073 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39074 (USE_AS_STRCAT): Define.
39075 Add strcat and strncat support.
39076 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39077 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39078 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39079 * string/strncat.c: Update.
39080 (USE_AS_STRNCAT): Define.
39081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39082 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39083 and i7.
39084 * sysdeps/x86_64/multiarch/init-arch.h
39085 (bit_Prefer_PMINUB_for_stringop): New.
39086 (index_Prefer_PMINUB_for_stringop): Likewise.
39087 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39088 bit_Prefer_PMINUB_for_stringop.
39089
7dc6bd90
UD
390902011-07-19 Ulrich Drepper <drepper@gmail.com>
39091
39092 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39093 buffer64.
39094 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39095 of casting of buffer.
39096 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39097 buffer32 and buffer64.
39098 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39099 writes instead of casting of buffer.
39100 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39101 buffer32.
39102 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39103 casting of buffer.
39104
e0e72284
AS
391052011-07-19 Andreas Schwab <schwab@redhat.com>
39106
39107 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39108
feb1eb0b
UD
391092011-07-19 Ulrich Drepper <drepper@gmail.com>
39110
39111 * nscd/nscd.c (termination_handler): Don't do anything for a database
39112 if it has not yet been initialized.
39113
298711ff
UD
391142011-07-18 Ulrich Drepper <drepper@gmail.com>
39115
39116 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39117
391182011-07-15 Marek Polacek <mpolacek@redhat.com>
39119
39120 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39121
f9d68389
UD
391222011-07-18 Ulrich Drepper <drepper@gmail.com>
39123
39124 * po/nl.po: Update from translation team.
39125 * po/sv.po: Likewise.
39126
db290cf5
RM
391272011-07-16 Roland McGrath <roland@hack.frob.com>
39128
39129 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39130 now disallowed by GCC.
5c550700 39131
fd5e21c7
RM
39132 * configure.in (use-default-link): Default to yes if a test -shared
39133 link meets our qualifications.
39134 * configure: Regenerated.
39135
5c550700
RM
39136 * config.make.in (output-format): New variable.
39137 * configure.in: Check for ld --print-output-format support.
39138 * configure: Regenerated.
39139 * Makerules ($(common-objpfx)format.lds)
39140 [$(output-format) != unknown]: Just use $(output-format),
39141 instead of the linker-script munging.
39142
9fa2c032
RM
391432011-07-14 Roland McGrath <roland@hack.frob.com>
39144
a6928d51
RM
39145 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39146 of $(common-objpfx)shlib.lds.
39147 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39148
661607b3
RM
39149 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39150 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39151
9fa2c032
RM
39152 * configure.in (-z relro check): Adjust test code to add a large
39153 writable data section after it.
39154 * configure: Regenerated.
39155
defe9061
RM
391562011-07-11 Roland McGrath <roland@hack.frob.com>
39157
39158 * configure.in (-z relro check): Fix test code to make the variable
39159 truly const.
39160 * configure: Regenerated.
39161
319b9ad4
UD
391622011-07-11 Ulrich Drepper <drepper@gmail.com>
39163
39164 * nscd/nscd.h (struct traced_file): Define.
39165 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39166 elements. Add traced_files.
39167 (inotify_fd): Declare.
39168 (register_traced_file): Declare.
39169 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39170 (inotify_fd): Export.
39171 (resolv_conf_descr): Remove.
39172 (nscd_init): Move inotify descriptor creation to main.
39173 Don't register files for notification here.
39174 (register_traced_file): New function.
39175 (invalidate_cache): Don't use reset_res to determine whether to call
39176 res_init, go through the list of registered files.
39177 (main_loop_poll): The inotify descriptors are now stored in the
39178 structures for the traced files.
39179 (main_loop_epoll): Likewise
39180 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39181 to __nss_disable_nscd.
39182 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39183 for a database anymore. Check the records for all the registered
39184 files instead.
39185 * nss/Makefile (libnss_files-routines): Add files-init.
39186 (libnss_db-routines): Add db-init.
39187 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39188 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39189 * nss/nss_db/db-init.c: New file.
39190 * nss/nss_files/files-init.c: New file.
39191 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39192 __nss_lookup_function.
39193 (__nss_lookup_function): Call nss_load_library.
39194 (nss_load_all_libraries): New function.
39195 (__nss_disable_nscd): Take parameter with callback function for files
39196 to register. Set is_nscd. Load all the DSOs for the NSS modules
39197 used for the cached services.
39198 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39199 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39200 options for features to all the files in nscd.
39201
39202 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39203
23bee3e8
RM
392042011-07-10 Roland McGrath <roland@hack.frob.com>
39205
39206 * csu/elf-init.c (__libc_csu_init): Comment typo.
39207
46a5b7f0
UD
392082011-07-09 Ulrich Drepper <drepper@gmail.com>
39209
39210 * po/pl.po: Update from translation team.
39211 * po/ja.po: Likewise.
39212 * po/ru.po: Likewise.
39213 * po/ko.po: Likewise.
39214 * po/fr.po: Likewise.
39215
d30cf5bb
RM
392162011-07-09 Roland McGrath <roland@hack.frob.com>
39217
113ddea4
RM
39218 * configure.in (.ctors/.dtors header and trailer check):
39219 Use an empirical test on a built program.
39220 * configure: Regenerated.
39221
574920b4
RM
39222 * configure.in (-z relro check): Use an empirical test on a built DSO.
39223 Detect, but do not require, on ia64.
39224 * configure: Regenerated.
39225
d30cf5bb
RM
39226 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39227 Update tests that use readelf to use $READELF instead.
39228 * configure: Regenerated.
39229
8538fdb3
UD
392302011-07-08 Ulrich Drepper <drepper@gmail.com>
39231
39232 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39233 if the result is not used.
39234
04d08991
AJ
392352011-07-05 Andreas Jaeger <aj@suse.de>
39236
39237 [BZ#9696]
39238 * stdlib/tst-strtod.c: Add testcase.
39239
de283087
AD
392402011-07-07 Ulrich Drepper <drepper@gmail.com>
39241
4e5f31c8 39242 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39243 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39244 The latter has a higher limit. Take additional parameter to pass to
39245 the new function.
39246 (__pathconf): Pass file to __statfs_link_max.
39247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39248 __statfs_link_max.
39249 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39250 __statfs_link_max.
39251
de283087
AD
39252 [BZ #12868]
39253 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39254 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39255 Handle Lustre.
39256 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39257 (__statfs_filesize_max): Likewise.
39258 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39259
c75fa153
AJ
392602011-07-05 Andreas Jaeger <aj@suse.de>
39261
39262 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39263
1a544854
UD
392642011-07-06 Marek Polacek <mpolacek@redhat.com>
39265
39266 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39267 `status' variable.
39268 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39269 Likewise.
39270
6f0eec67
UD
392712011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39272
39273 * Makefile (strop-tests): Add strncat.
39274 * string/test-strncat.c: New file.
39275
aae30307
UD
392762011-06-30 Marek Polacek <mpolacek@redhat.com>
39277
39278 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39279
c0cfb5eb
UD
392802011-06-21 Andreas Jaeger <aj@suse.de>
39281
39282 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39283 Copy rule from iconvdata/Makefile.
39284
01636b21
UD
392852011-07-06 Ulrich Drepper <drepper@gmail.com>
39286
39287 [BZ #12922]
39288 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39289 but no long options are defined, just return 'W'.
39290
9895c8bc
UD
392912011-06-22 Marek Polacek <mpolacek@redhat.com>
39292
39293 [BZ #9696]
39294 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39295
5d4cf042
UD
392962011-07-06 Ulrich Drepper <drepper@gmail.com>
39297
39298 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39299 netgroups to read.
960e5535 39300 (innetgr): Likewise.
5d4cf042 39301
751eb97e
RM
393022011-07-05 Roland McGrath <roland@hack.frob.com>
39303
39304 * config.make.in (install_root): Default to $(DESTDIR).
39305
f15f1e45
UD
393062011-07-05 Ulrich Drepper <drepper@gmail.com>
39307
39308 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39309
4e34ac6a
RM
393102011-07-02 Roland McGrath <roland@hack.frob.com>
39311
5e9b6af4
RM
39312 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39313
84f9ea0f
RM
39314 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39315 containing directory rather than embedding absolute directory names.
39316
ea5ee9f7
RM
39317 * scripts/check-local-headers.sh: Rewritten using awk.
39318 Match by word, not by line. Print error messages for matches.
39319 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39320
1b74661a
RM
39321 * Makerules [shlib-lds-flags empty]:
39322 ($(common-objpfx)libc_pic.opts): New target.
39323 ($(common-objpfx)libc_pic.os.clean): New target.
39324 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39325
39326 * config.make.in (OBJCOPY): New variable.
39327 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39328 * configure: Regenerated.
39329
f781ef40
RM
39330 * config.make.in (use-default-link): New variable.
39331 * configure.in (use_default_link): Grok --with-default-link to set it.
39332 * configure: Regenerated.
39333 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39334 (shlib-lds, shlib-lds-flags): Define to empty.
39335
2d4fa81e
RM
39336 * Makerules (shlib-lds): New variable.
39337 (shlib-lds-flags): New variable.
39338 (build-shlib, build-moduile, build-module-asneeded): Use it.
39339 ($(common-objpfx)libc.so): Use $(shlib-lds).
39340 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39341 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39342
31fffa6b
RM
39343 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39344 DT_FLAGS/DT_FLAGS_1 with zero flags.
39345
4e34ac6a
RM
39346 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39347 linker script munging.
39348
fcfc776b
UD
393492011-07-02 Ulrich Drepper <drepper@gmail.com>
39350
39351 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39352 as 128-bit value.
39353 * crypt/sha512.c (sha512_process_block): Perform total addition using
39354 128-bit if possible.
39355 (__sha512_finish_ctx): Likewise.
39356 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39357 as 64-bit value.
39358 * crypt/sha256.c (SWAP64): Define.
39359 (sha256_process_block): Perform total addition using 64-bit if
39360 possible.
39361 (__sha256_finish_ctx): Likewise.
39362
99231d9a
UD
393632011-07-01 Ulrich Drepper <drepper@gmail.com>
39364
39365 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39367 * nscd/hstcache.c (cache_addhst): Likewise.
39368 * nscd/grpcache.c (cache_addgr): Likewise.
39369 * nscd/aicache.c (addhstaiX): Likewise
39370 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39371
445b4a53
TK
393722011-07-01 Thorsten Kukuk <kukuk@suse.de>
39373
39374 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39376 * nscd/hstcache.c (cache_addhst): Likewise.
39377 * nscd/grpcache.c (cache_addgr): Likewise.
39378 * nscd/aicache.c (addhstaiX): Likewise
39379
6d4d8e8e
AS
393802011-07-01 Andreas Schwab <schwab@redhat.com>
39381
39382 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39383 domain only when needed.
39384
89f654c5
AS
393852011-06-30 Andreas Schwab <schwab@redhat.com>
39386
39387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39388 is always restored.
39389
cf3b23ff
UD
393902011-06-29 Ulrich Drepper <drepper@gmail.com>
39391
39392 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39393 are re-adding the entry.
39394 * nscd/servicescache.c (cache_addserv): Likewise.
39395
751626f9
AJ
393962011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39397
39398 * sysdeps/generic/dl-irel.h: fix protection against multiple
39399 inclusions.
39400 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39401
9113ea1f
UD
394022011-06-28 Ulrich Drepper <drepper@gmail.com>
39403
5c0b8d90
UD
39404 [BZ #12935]
39405 * malloc/memusage.sh: Fix quoting in message.
39406 * debug/xtrace.sh: Likewise.
39407
9113ea1f
UD
39408 * configure.in: Remove support for --experimental-malloc option, make
39409 it the default.
39410 * config.make.in: Likewise.
39411 * malloc/Makefile: Likewise.
39412
a4172181
AS
394132011-06-27 Andreas Schwab <schwab@redhat.com>
39414
39415 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39416 two-byte characters.
39417
78a7eee7
RM
394182011-06-27 Roland McGrath <roland@hack.frob.com>
39419
62bede13
RM
39420 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39421 AC_CACHE_CHECK invocation.
39422 * configure: Regenerated.
39423
78a7eee7
RM
39424 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39425
5ce33a62
UD
394262011-06-27 Ulrich Drepper <drepper@gmail.com>
39427
034807a9
UD
39428 [BZ #12350]
39429 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39430 bit from old_res_options.
39431
4902da17
UD
39432 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39433
5ce33a62
UD
39434 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39435 value type for setfct.
39436
c2344f56
L
394372011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39438
39439 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39440 __gettimeofday instead of gettimeofday.
39441
68468076
UD
394422011-06-26 Ulrich Drepper <drepper@gmail.com>
39443
39444 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39445
acb0d739
L
394462011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39447
39448 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39449
39450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39451 info.
39452
8912479f
L
394532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39454
39455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39456 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39457 strcpy-sse2-unaligned strncpy-sse2-unaligned
39458 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39459 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39460 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39461 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39462 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39463 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39464 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39465 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39466 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39467 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39468 (STRCPY): Support SSE2 and SSSE3 versions.
39469
d5495a11
UD
394702011-06-24 Ulrich Drepper <drepper@gmail.com>
39471
39472 [BZ #12874]
39473 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39474 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39475 kernels which artificially limit size of requests.
39476
0b1cbaae
L
394772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39478
39479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39480 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39481 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39482 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39483 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39484 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39485 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39486 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39487 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39488 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39489 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39490 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39491 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39492 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39493 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39495 Enable unaligned load optimization for Intel Core i3, i5 and i7
39496 processors.
39497 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39498 Define.
39499 (index_Fast_Unaligned_Load): Define.
39500 (HAS_FAST_UNALIGNED_LOAD): Define.
39501
07f494a0
MP
395022011-06-23 Marek Polacek <mpolacek@redhat.com>
39503
39504 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39505
fa3fc0fe
UD
395062011-06-22 Ulrich Drepper <drepper@gmail.com>
39507
39508 [BZ #12907]
39509 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39510 until it is clear that the information is realy needed.
39511 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39512
e12df166
AS
395132011-06-22 Andreas Schwab <schwab@redhat.com>
39514
39515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39516
852eb34d
UD
395172011-06-22 Ulrich Drepper <drepper@gmail.com>
39518
84e2a551
UD
39519 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39520 /sys/devices/system/cpu/online if it is usable.
39521
852eb34d
UD
39522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39523 reading the information from the /proc filesystem to once a second.
39524
6e502e19
UD
395252011-06-21 Andreas Jaeger <aj@suse.de>
39526
39527 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39528 NULL after inclusion of kernel headers.
39529
75d39ff2
UD
395302011-06-21 Ulrich Drepper <drepper@gmail.com>
39531
51f9aa6a
UD
39532 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39533 calls to internal_setent.
39534
c0244a9d
UD
39535 [BZ #12885]
39536 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39537 addresses using gethostbyname4_r ignore IPv4 addresses.
39538
c5e3c2ae
UD
39539 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39540 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39541
75d39ff2
UD
39542 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39543
42675c6f
DM
395442011-06-20 David S. Miller <davem@davemloft.net>
39545
39546 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39547 inclusions.
39548 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39549
39550 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39551 (elf_irel): Use it.
39552 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39553 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39554 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39555 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39556 * sysdeps/x86_64/dl-irel.h: Likewise.
39557
39558 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39559 * elf/dl-sym.c: Likewise.
39560
57912a71
UD
395612011-06-15 Ulrich Drepper <drepper@gmail.com>
39562
39563 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39564 need to dereference resplen2.
39565
ee22793d
AS
395662011-06-14 Andreas Schwab <schwab@redhat.com>
39567
39568 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39569
a9e836b0
UD
395702011-06-15 Ulrich Drepper <drepper@gmail.com>
39571
77fb9117
UD
39572 * Makeconfig: Define vardbdir and inst_vardbdir.
39573 * nss/Makefile: Add rules to install db-Makefile.
39574
40c1b22c
UD
39575 * nss/nss_db/db-XXX.c: Cleanup.
39576
9f2da732
UD
39577 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39578 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39579 GLIBC_PRIVATE.
39580 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39581 * nss/makedb.c: Implement -g option to specify that value strings
39582 are generated and should not be added to table iterated over for
39583 get*ent calls.
39584 * nss/nss_db/db-initgroups.c: New file.
39585
82e9a1f7
UD
39586 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39587 interface.
39588
c41af17e
UD
39589 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39590 (internal_getgrouplist): Adjust to name change.
39591 Update use_initgroups_entry if this is not the first call.
39592 * nss/databases.def: Add initgroups entry.
39593
a9e836b0
UD
39594 * nss/makedb.c (compute_tables): Check result of multiple hash table
39595 sizes to minimize maximum chain length.
39596
2666d441
UD
395972011-06-14 Ulrich Drepper <drepper@gmail.com>
39598
39599 * Versions.def: Add entry for libnss_db.
39600 * shlib-versions: Likewise.
39601 * nss/Makefile: Add rules to build libnss_db.
39602 * nss/Versions: Add libnss_db information. Organize libnss_files
39603 entries better.
39604 * nss/db-Makefile: Add gshadow support. Change rules for the new
39605 makedb progra. Some minor improvements to generate smaller files.
39606 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39607 here from...
39608 * nss/makedb.c: ...here.
39609 Improve database format to be smaller and require less memory at
39610 runtime.
39611 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39612 db anymore.
39613 * nss/nss_db/db-netgrp.c: Likewise.
39614 * nss/nss_db/db-open.c: Likewise.
39615 * nss/nss_files/flies-XXX.x: Adjust comments.
39616 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39617 * nss/nss_files/files-grp.c: Likewise.
39618 * nss/nss_files/files-hosts.c: Likewise.
39619 * nss/nss_files/files-network.c: Likewise.
39620 * nss/nss_files/files-proto.c: Likewise.
39621 * nss/nss_files/files-pwd.c: Likewise.
39622 * nss/nss_files/files-rpc.c: Likewise.
39623 * nss/nss_files/files-service.c: Likewise.
39624 * nss/nss_files/files-sgrp.c: Likewise.
39625 * nss/nss_files/files-spwd.c: Likewise.
39626 * nss/nss_db/db-alias.c: Removed.
39627 * nss/nss_db/dummy-db.h: Removed.
39628
9ee76b5a
UD
396292011-06-02 Ulrich Drepper <drepper@gmail.com>
39630
39631 * nss/makedb.c: Rewritten to not use database library.
39632 * nss/Makefile: Update to build new makedb program.
39633
c71ca1f8
AJ
396342011-06-14 Andreas Jaeger <aj@suse.de>
39635
39636 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39637 memset declaration.
39638
3154bfb8
UD
396392011-06-10 Andreas Schwab <schwab@redhat.com>
39640
39641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39642 tmpbuf.
39643
b350afab
RM
396442011-06-10 Roland McGrath <roland@hack.frob.com>
39645
decd4e50
RM
39646 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39647 * elf/Makefile ($(objpfx)ld.so): Likewise.
39648
5615eaf2
RM
39649 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39650 Don't list ld.so twice in dependencies.
39651
39652 * posix/bug-regex31.c: Include <stdlib.h>.
39653
39654 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39655
39656 * nis/nss_compat/compat-spwd.c
39657 (getspent_next_nss_netgr): Remove unused variable.
39658 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39659
39660 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39661 nonmembers" output to use the right array.
39662
39663 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39664
39665 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39666
39667 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39668 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39669 * catgets/gencat.c (read_input_file): Likewise.
39670 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39671
39672 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39673 variable definition inside #if's controlling its use.
39674
39675 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39676
39677 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39678
39679 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39680
39681 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39682 unreachable code.
39683
39684 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39685
b68e08db
RM
39686 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39687 * configure: Regenerated.
39688
b350afab
RM
39689 * Makerules: Revert last change.
39690 * elf/Makefile: Likewise.
39691
28368601
RM
396922011-06-09 Roland McGrath <roland@hack.frob.com>
39693
39694 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39695 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39696 (reloc-link): Likewise.
39697
11988f8f
UD
396982011-06-09 Ulrich Drepper <drepper@gmail.com>
39699
39700 * elf/Makefile: Add rules to build pldd.
39701 * elf/pldd.c: New file.
39702 * elf/pldd-xx.c: New file.
39703
e80fab37
UD
397042011-06-07 Ulrich Drepper <drepper@gmail.com>
39705
39706 * version.h: Update for 2.15 development version.
39707
9b849836
DM
397082011-06-07 David S. Miller <davem@davemloft.net>
39709
39710 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39711 ifuncs.
39712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39713 elf_machine_lazy_rel): Likewise.
39714 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39715 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39716 elf_machine_lazy_rel): Likewise.
39717 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39718 dl_hwcap via passed in argument.
39719 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39720 Likewise.
39721
5a31b283
AK
397222011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39723
39724 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39725
069e52f8
RM
397262011-06-06 Roland McGrath <roland@hack.frob.com>
39727
39728 [BZ #12849]
39729 * manual/fdl-1.1.texi: New file, verbatim from:
39730 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39731 * manual/lgpl-2.1.texi: New file, verbatim from:
39732 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39733 * manual/Makefile (licenses): New variable, list those new file names.
39734 (texis): Use it.
39735 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39736
39737 * manual/fdl.texi: File removed.
39738 * manual/lesser.texi: File removed.
39739 * manual/libc.texinfo (Copying, Documentation License):
39740 Use new @include file names, put @appendix directive before @include.
39741
f16846a5
JJ
397422011-06-04 Jakub Jelinek <jakub@redhat.com>
39743
39744 [BZ #12841]
39745 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39746 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39747 (mq_open): Add __NTH.
39748
3d29045b
L
397492011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39750
39751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39752 Assume Intel Core i3/i5/i7 processor if AVX is available.
39753
8c297311
UD
397542011-05-31 Ulrich Drepper <drepper@gmail.com>
39755
39756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39757 typo.
39758
c8fc0c91
UD
397592011-05-31 Andreas Schwab <schwab@redhat.com>
39760
39761 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39762 memory. Use alloca_account. Fix memory leak when retrying.
39763
5b27a807
UD
397642011-05-31 Ulrich Drepper <drepper@gmail.com>
39765
356f8bc6
UD
39766 * version.h (RELEASE): Bump for 2.14 release.
39767 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39768
5b27a807
UD
39769 * config.make.in (RANLIB): Remove entry.
39770
01f16ab0
UD
397712011-05-30 Ulrich Drepper <drepper@gmail.com>
39772
41fce8bd
UD
39773 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39774 (libc.pot): Work around missing support for .ksh extension in xgettext.
39775
4769ae77
UD
39776 [BZ #12684]
39777 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39778 if both request failed.
39779 (send_dg): In case of server errors clear resplen or *resplen2.
39780
6b1e7d19
UD
39781 [BZ #12454]
39782 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39783 when there are multiple maps.
39784 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39785 (_dl_fini): Remove test here.
39786
01f16ab0
UD
39787 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39788
b1ebd700
UD
397892011-05-29 Ulrich Drepper <drepper@gmail.com>
39790
7ae22829
UD
39791 [BZ #12350]
39792 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39793 bit from old_res_options.
39794 (gaih_inet): Likewise.
39795
553149f6 39796 [BZ #11099]
18a84741 39797 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39798 as signed.
39799
652ffab1
UD
39800 * resolv/res_init.c (res_setoptions): Make the code more compact.
39801
16985fd0
UD
39802 [BZ #11558]
39803 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39804 set RES_USEVC.
39805
0464f746
UD
39806 [BZ #11634]
39807 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39808
7d17596c
UD
39809 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39810
cf6bbbd7
UD
39811 [BZ #11781]
39812 * malloc/malloc.h: Declare malloc hook variables as volatile.
39813
13f1ab36
UD
39814 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39815 in last patch.
39816
b1ebd700
UD
39817 [BZ #11799]
39818 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39819 raise in the comment.
80e2212d
UD
39820 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39821 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39822 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39823
ce67228d
UD
398242011-05-28 Ulrich Drepper <drepper@gmail.com>
39825
8887a920
UD
39826 [BZ #12811]
39827 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39828 grow the buffers more if it already has to be sufficient.
39829 (build_wcs_upper_buffer): Likewise.
39830 * posix/regexec.c (check_matching): Likewise.
39831 (clean_state_log_if_needed): Likewise.
39832 (extend_buffers): Don't enlarge buffers beyond size of the input
39833 buffer.
39834 Patches mostly by Emil Wojak <emil@wojak.eu>.
39835 * posix/bug-regex32.c: New file.
39836 * posix/Makefile (tests): Add bug-regex32.
39837
4f031072
UD
39838 * locale/findlocale.c (_nl_find_locale): Return right away if
39839 _nl_explode_name failed.
39840 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39841
d0478f0c
UD
39842 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39843
de81b246
UD
39844 * debug/xtrace.sh: Unify messages.
39845 * malloc/memusage.sh: Likewise.
39846
c738465a
UD
39847 [BZ #12813]
39848 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39849 time symbol from vDSO. Substitute with vsyscall if not available.
39850 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39851 __vdso_time.
39852
f1f929d7
UD
39853 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39854 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39855 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39856 Add sendmmsg and internal_sendmmsg.
39857 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39858 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39859 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39860
ce67228d
UD
39861 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39862 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39863 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39864
e57420c6
UD
398652011-05-27 Ulrich Drepper <drepper@gmail.com>
39866
a8509ca5
UD
39867 [BZ #12813]
39868 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39869 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39870 available.
39871 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39872 __vdso_getcpu.
39873
e57420c6
UD
39874 [BZ #12814]
39875 * iconvdata/Makefile (tests): Add bug-iconv9.
39876 * iconvdata/bug-iconv9.c: New file.
39877
4d07db15
AS
398782011-05-27 Andreas Schwab <schwab@redhat.com>
39879
39880 [BZ #12814]
39881 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39882
ea486f69
JJ
398832011-05-25 Jakub Jelinek <jakub@redhat.com>
39884
39885 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39886 (struct user_regs_struct): Change intcs field back to cs.
39887
6f038433
UD
398882011-05-25 Ulrich Drepper <drepper@gmail.com>
39889
39890 * po/ja.po: Update from translation team.
39891
67f86a25
UD
398922011-05-23 Ulrich Drepper <drepper@gmail.com>
39893
39894 [BZ #12795]
39895 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39896 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39897
def7fbd6
AS
398982011-05-20 Andreas Schwab <schwab@redhat.com>
39899
39900 * stdlib/longlong.h: Update from GCC.
39901
f50ef8f1
AS
399022011-05-23 Andreas Schwab <schwab@redhat.com>
39903
39904 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39905 parameter name.
39906 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39907 Add parameter name.
39908 (__sysconf): Pass it down.
39909
de7ce8f1
UD
399102011-05-22 Ulrich Drepper <drepper@gmail.com>
39911
f2962a71
UD
39912 [BZ #12671]
39913 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39914 some situations.
39915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39916 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39917 add in in __libc_use_alloca calls. Adjust callers.
39918 (glob): Use malloc in some situations.
39919
de7ce8f1
UD
39920 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39921 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39922 pltexit.
39923
aec84f53
UD
399242011-05-21 Ulrich Drepper <drepper@gmail.com>
39925
05bb4a68
UD
39926 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39927 and CLOCK_BOOTTIME_ALARM.
39928
7ea72f99
UD
39929 [BZ #12782]
39930 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39931 is returned.
39932
7e4afad5
UD
39933 * string/_strerror.c (__strerror_r): Print negative errors as signed
39934 numbers.
39935
8e211fec
UD
39936 [BZ #12777]
39937 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39938 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39939 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39940
f7d82dc9
UD
39941 * configure.in: Fix typo in redirection and correct removal of test
39942 files in two cases.
39943
cc9e536d
UD
39944 [BZ #12788]
39945 * locale/setlocale.c (new_composite_name): Fix test to check for
39946 identical name of all categories.
39947
aec84f53
UD
39948 [BZ #12792]
39949 * libio/filedoalloc.c (local_isatty): New function.
39950 (_IO_file_doallocate): Use local_isatty.
39951 * stdio-common/perror.c (perror): In case a new stream is used
39952 forward the stream error.
39953 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39954 error flag.
39955
78e64fdc
RT
399562011-05-20 Ulrich Drepper <drepper@gmail.com>
39957
34a9094f
UD
39958 [BZ #11869]
39959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39960 alloca.
39961 * include/alloca.h (extend_alloca_account): Define.
39962
78e64fdc
RT
39963 [BZ #11857]
39964 * posix/regex.h: Fix comments with documentation of user-accessible
39965 fields after compilation and describe correct free'ing of pattern
39966 after re_compile_pattern.
39967 Patch by Reuben Thomas <rrt@sc3d.org>.
39968
457bddfc
RA
399692011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39970
39971 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39972 and -mno-altivec to prevent the compiler from using Altivec and/or
39973 VSX instructions when the corresponding registers are not available.
39974
a4527b51
AS
399752011-05-19 Andreas Schwab <schwab@redhat.com>
39976
39977 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39978
ed690b2f
UD
399792011-05-19 Ulrich Drepper <drepper@gmail.com>
39980
39981 * libio/freopen.c (freopen): Use __dup2, not dup2.
39982 * libio/freopen64.c (freopen64): Likewise.
39983
8db73634
L
399842011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39985
39986 [BZ #12775]
39987 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39988 * math/Makefile (tests): Add test-powl.
39989 (CFLAGS-test-powl.c): Define.
39990 * math/test-powl.c: New file.
39991
0a197a9d
L
399922011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39993
39994 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39995
ee30c380
UD
399962011-05-17 Ulrich Drepper <drepper@gmail.com>
39997
39998 [BZ #11837]
39999 * iconvdata/gb18030.c: Update to GB18020-2005.
40000
6ce75379
UD
400012011-05-16 Ulrich Drepper <drepper@gmail.com>
40002
a4b89fd8
AR
40003 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40004 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40005 Patch by Aharon Robbins <arnold@skeeve.com>.
40006
ea389b12
UD
40007 [BZ #11892]
40008 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40009 on the stack.
40010
68a3f91f
UD
40011 [BZ #11895]
40012 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40013 through underflows.
40014
15cc7dd1
UD
40015 [BZ #12766]
40016 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40017 point to strings before performing equality test for error_one_per_line
40018 mode.
40019
f3799213
UD
40020 [BZ #11697]
40021 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40022
d79a9c94
UD
40023 [BZ #11820]
40024 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40025 (struct user_fpregs_struct): Avoid __uint*_t types.
40026
56e5eb46
UD
40027 [BZ #6420]
40028 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40029 symbol info. Use it instead of calling _dl_addr locally.
40030 (lock_and_info): New function.
40031 (tr_freehook): Call lock_and_info and pass symbol info as additional
40032 parameter to tr_where.
40033 (tr_mallochook): Likewise.
40034 (tr_reallochook): Likewise.
40035 (tr_memalignhook): Likewise.
40036
6ce75379
UD
40037 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40038 used and couldn't be at all thread-safe.
40039
f8a3b5bf
UD
400402011-05-15 Ulrich Drepper <drepper@gmail.com>
40041
94b7cc37
UD
40042 * libio/freopen.c (freopen): Don't close old file descriptor
40043 before the new one is opened. Instead dup the new file descriptor
40044 to the old one after the new stream is created.
40045 * libio/freopen64.c (freopen64): Likewise.
40046 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40047 * libio/fileops.c (_IO_new_file_close_it): Handle new
40048 _IO_FLAGS2_NOCLOSE flag.
40049 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40050 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40051 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40052 _IO_FLAGS2_NOCLOSE flag.
40053 * include/unistd.h: Add hidden_proto for dup3.
40054 Define __have_dup3.
40055 * io/dup3.c: Define hidden symbol.
40056 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40057
bd25564e
UD
40058 [BZ #7101]
40059 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40060 when an incomplete long option is used.
40061 * posix/tst-getopt_long1.c: New file.
40062 * posix/Makefile (tests): Add tst-getopt_long1.
40063
c84cfef4
UD
40064 [BZ #10138]
40065 * scripts/config.guess: Update from autoconf-2.68.
40066 * scripts/config.sub: Likewise.
40067
3b85df27
UD
40068 [BZ #10157]
40069 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40070 tests into ...
40071 (has_cpuclock): ...this. New function.
40072 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40073 macro here based on has_cpuclock code.
40074
15a856b1
UD
40075 [BZ #10149]
40076 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40077 First byte (not low byte) is now always NUL.
40078 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40079
05f399e6
UD
40080 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40081 Use non-cancelable interfaces.
40082
10a52685 40083 [BZ #9809]
94ecc67d
UD
40084 * locale/iso-639.def: Add entry for Sorani.
40085
f8a3b5bf
UD
40086 [BZ #11901]
40087 * include/stdlib.h: Move include protection to the right place.
40088 Define abort_msg_s. Declare __abort_msg with it.
40089 * stdlib/abort.c (__abort_msg): Adjust type.
40090 * assert/assert.c (__assert_fail_base): New function. Majority
40091 of code from __assert_fail. Allocate memory for __abort_msg with
40092 mmap.
40093 (__assert_fail): Now call __assert_fail_base.
40094 * assert/assert-perr.c: Remove bulk of implementation. Use
40095 __assert_fail_base.
40096 * include/assert.hL Declare __assert_fail_base.
40097 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40098 mmap.
40099 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40100
1af4e298
UD
401012011-05-14 Ulrich Drepper <drepper@gmail.com>
40102
f8a3b5bf 40103 [BZ #11952]
d26dfc60
MG
40104 [BZ #12453]
40105 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40106 until all modules are registered in the DTV.
40107 * elf/Makefile: Add rules to build and run tst-tls19.
40108 * elf/tst-tls19.c: New file.
40109 * elf/tst-tls19mod1.c: New file.
40110 * elf/tst-tls19mod2.c: New file.
40111 * elf/tst-tls19mod3.c: New file.
40112 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40113
2fc54d6f
UD
40114 [BZ #12083]
40115 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40116 correctly.
40117
98d76b46
UD
40118 [BZ #12601]
40119 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40120 two-byte sequence errors.
40121 * iconvdata/Makefile (tests): Add bug-iconv8.
40122 * iconvdata/bug-iconv8.c: New file.
40123
da3c19ef
UD
40124 [BZ #12626]
40125 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40126 buf2 definition.
40127
ca408c15
UD
40128 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40129
d6f67f7d
UD
40130 [BZ #12432]
40131 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40132 (dummy_getcfa): New function.
40133 (init): Get _Unwind_GetCFA address, use dummy if not found.
40134 (backtrace_helper): In recursion check, also check whether CFA changes.
40135 (__backtrace): Completely initialize arg.
40136
1af4e298 40137 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40138 storing incomplete byte sequence in state object. Avoid testing for
40139 guaranteed too small input if we know there is enough data available.
1af4e298 40140
da62f81b
AS
401412011-05-11 Andreas Schwab <schwab@redhat.com>
40142
40143 * Makeconfig (+link-pie): Indent.
40144 * Rules (binaries-pie): Define if $(have-fpie) and
40145 $(build-shared).
40146 (binaries-shared): Also filter out $(binaries-pie).
40147 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40148 * nscd/Makefile (others-pie): Add nscd.
40149 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40150 ($(objpfx)nscd): Remove command override.
40151 * login/Makefile (others-pie): Add pt_chown.
40152 ($(objpfx)pt_chown): Remove command override.
40153 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40154 remove command overrides.
40155
fcabc0f8
UD
401562011-05-13 Ulrich Drepper <drepper@gmail.com>
40157
20030ae6
UD
40158 * libio/tst_putwc.c: Fix error messages.
40159
fcabc0f8
UD
40160 [BZ #12724]
40161 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40162 currently writing and seek to current position when not.
40163 * libio/Makefile (tests): Add bug-fclose1.
40164 * libio/bug-fclose1.c: New file.
40165
320a5dc0
PB
401662011-05-12 Ulrich Drepper <drepper@gmail.com>
40167
40168 [BZ #12511]
40169 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40170 don't set DF_1_NODELETE here.
40171 (do_lookup_x): When entering new entry test for copy relocation
40172 and if necessary set DF_1_NODELETE flag.
40173 * elf/tst-unique4.cc: New file.
40174 * elf/tst-unique4.h: New file.
40175 * elf/tst-unique4lib.cc: New file.
40176 * elf/Makefile: Add rules to build and run tst-unique4.
40177 Patch by Piotr Bury <pbury@goahead.com>.
40178
22836f52
UD
401792011-05-11 Ulrich Drepper <drepper@gmail.com>
40180
f574184a
UD
40181 [BZ #12052]
40182 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40183
e1fb097f
UD
40184 [BZ #12625]
40185 * misc/mntent_r.c (addmntent): Flush the stream after the output
40186
22836f52
UD
40187 [BZ #12393]
40188 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40189 (is_trusted_path_normalize): Skip initial colon. Append slash
40190 to empty buffer. Duplicate is_trusted_path code but allow
40191 constructed patch to be prefix.
40192 (is_dst): Allow $ORIGIN followed by /.
40193 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40194 Correct testing of result of is_trusted_path_normalize
40195 (decompose_rpath): Fix warning.
40196
7b3b0b2a
UD
401972011-05-10 Ulrich Drepper <drepper@gmail.com>
40198
40199 [BZ #11257]
40200 * grp/initgroups.c (internal_getgrouplist): When we found the service
40201 list through the initgroups entry in nsswitch.conf do not always
40202 continue on a successful lookup. Don't always use the
eac80ce2 40203 __nss_group_database value if it is set.
7b3b0b2a
UD
40204 * nss/nsswitch.conf (initgroups): Change action for successful db
40205 lookup to continue for compatibility.
40206
2a81eaa5
UD
402072011-05-09 Ulrich Drepper <drepper@gmail.com>
40208
be97a69e
UD
40209 [BZ #11532]
40210 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40211 and CP774 modules.
40212 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40213 and CP774 modules.
40214 * iconvdata/tst-tables.sh: Likewise.
40215 * iconvdata/cp770.c: New file.
40216 * iconvdata/cp771.c: New file.
40217 * iconvdata/cp772.c: New file.
40218 * iconvdata/cp773.c: New file.
40219 * iconvdata/cp774.c: New file.
40220 * iconvdata/testdata/CP770: New file.
40221 * iconvdata/testdata/CP770..UTF8: New file.
40222 * iconvdata/testdata/CP771: New file.
40223 * iconvdata/testdata/CP771..UTF8: New file.
40224 * iconvdata/testdata/CP772: New file.
40225 * iconvdata/testdata/CP772..UTF8: New file.
40226 * iconvdata/testdata/CP773: New file.
40227 * iconvdata/testdata/CP773..UTF8: New file.
40228 * iconvdata/testdata/CP774: New file.
40229 * iconvdata/testdata/CP774..UTF8: New file.
40230
40231 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40232 END CHARMAP line.
40233 * iconvdata/gen-8bit-gap.sh: Likewise.
40234 * iconvdata/gen-8bit.sh: Likewise.
40235
c1e9e399
UD
40236 * locale/iso-639.def: Add ary entry.
40237
24c55fb3 40238 [BZ #11258]
96b4b1b0
UD
40239 * locale/C-translit.h.in: Add U20A1 transliteration.
40240
bdc2f971
KB
40241 [BZ #12178]
40242 * locale/iso-639.def: Add wae entry.
40243 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40244
2952b117
UD
40245 [BZ #12545]
40246 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40247 for n.
40248
2a81eaa5
UD
40249 [BZ #12711]
40250 * locale/C-translit.h.in: Add entry for U20B9.
40251 Patch by pravin.d.s@gmail.com.
40252
28377d1b
UD
402532011-05-08 Ulrich Drepper <drepper@gmail.com>
40254
7fb90fb8
UD
40255 [BZ #12713]
40256 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40257 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40258 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40259 in rtld. Use *stat64.
7fb90fb8 40260 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40261 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40262 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40263 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40264 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40265 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40266 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40267 __fstatat64 macros.
7fb90fb8
UD
40268 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40269 * dirent/rewinddir.c: Add libc_hidden_def.
40270 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40271 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40272
28377d1b
UD
40273 * include/dirent.h (__alloc_dir): Add flags parameter.
40274 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40275 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40276 __alloc_dir.
40277 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40278 from fdopendir if O_CLOEXEC is already set.
40279
66bdbaa4
AM
402802011-03-15 Alan Modra <amodra@gmail.com>
40281
40282 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40283 l_tls_firstbyte_offset non-zero. Save padding offset in
40284 l_tls_firstbyte_offset for later use.
40285 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40286 freeing static tls block.
40287
95721191
JN
402882011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40289
40290 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40291 where #ifdef was intended. The intent is to prevent ARG_MAX from
40292 being defined by the kernel headers.
40293
f87dfb1f
UD
402942011-05-07 Ulrich Drepper <drepper@gmail.com>
40295
40296 [BZ #12734]
40297 * resolv/resolv.h: Define RES_NOTLDQUERY.
40298 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40299 no-tld-query and set RES_NOTLDQUERY.
40300 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40301 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40302 modern BIND to search name as TLD unless forbidden.
40303
47c3cd7a
UD
403042011-05-07 Petr Baudis <pasky@suse.cz>
40305 Ulrich Drepper <drepper@gmail.com>
40306
40307 [BZ #12393]
40308 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40309 (is_trusted_path): ...to here.
c1e9ea35 40310 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40311 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40312 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40313
8a35c912
PP
403142011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40315
40316 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40317 __BEGIN/__END_DECLS.
40318
acd41f47
UD
403192011-05-06 Ulrich Drepper <drepper@gmail.com>
40320
40321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40322 NSS_STATUS_NOTFOUND if no record was found.
40323
597df647
AS
403242011-05-05 Andreas Schwab <schwab@redhat.com>
40325
40326 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40327 (headers-not-in-tirpc): Remove rpc/netdb.h
40328 * resolv/netdb.h: Revert last change.
40329
b9af1301
PP
403302011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40331
40332 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40333 circular dependency between libgcc.a and libc.a.
40334
4e34d5f5
AS
403352011-05-05 Andreas Schwab <schwab@redhat.com>
40336
40337 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40338 * nis/Makefile: Don't install rpcsvc/*.
40339 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40340 instead of <rpc/types.h>.
40341 (MAXHOSTNAMELEN): Define.
40342
00ee369c
AS
403432011-05-03 Andreas Schwab <schwab@redhat.com>
40344
40345 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40346
0b592a30
MB
403472011-04-28 Maciej Babinski <mbabinski@google.com>
40348
40349 [BZ #12714]
40350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40351 gethostbyname4_r when IPv6 results are possible.
40352
6e04cbbe
UD
403532011-05-02 Ulrich Drepper <drepper@gmail.com>
40354
40355 [BZ #12723]
40356 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40357 _PC_PIPE_BUF handling.
40358
e4ecafe0
BH
403592011-04-30 Bruno Haible <bruno@clisp.org>
40360
40361 [BZ #12717]
40362 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40363 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40364 to 'int'.
40365 * inet/getnameinfo.c (getnameinfo): Likewise.
40366
125ee683
UD
403672011-04-29 Ulrich Drepper <drepper@gmail.com>
40368
40369 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40370 to groups setting in database lookup.
40371 * nss/nsswitch.conf: Add initgroups entry.
40372
b722481a
EB
403732011-04-22 Ulrich Drepper <drepper@gmail.com>
40374
40375 [BZ #12685]
40376 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40377 mode string.
40378 Patch by Eric Blake <eblake@redhat.com>.
40379
4df46dbd
L
403802011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40381
40382 * sunrpc/Makefile (need-export-routines): Add svc_run.
40383 (routines): Remove svc_run.
40384 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40385 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40386 * sunrpc/svc_run.c (svc_run): Likewise.
40387 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40388
e84142d2
UD
403892011-04-21 Ulrich Drepper <drepper@gmail.com>
40390
40391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40392 problem in reallocation in last patch.
40393
877175d8
UD
403942011-04-20 Ulrich Drepper <drepper@gmail.com>
40395
40396 * sunrpc/Makefile: Move inclusion of Rules.
40397
ab8eed78
UD
403982011-04-19 Ulrich Drepper <drepper@gmail.com>
40399
40400 * nss/nss_files/files-initgroups.c: New file.
40401 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40402 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40403 _nss_files_initgroups_dyn.
40404
e3d8f584
RS
404052011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40406
40407 * elf/elf.h (R_ARM_IRELATIVE): Define.
40408
af190f45
UD
404092011-04-19 Ulrich Drepper <drepper@gmail.com>
40410
40411 * po/ru.po: Update from translation team.
40412
53cf59ef
UD
404132011-04-17 Ulrich Drepper <drepper@gmail.com>
40414
40415 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40416 dependencies.
40417
4c559bcd
MF
404182011-02-06 Mike Frysinger <vapier@gentoo.org>
40419
40420 [BZ #12653]
40421 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40422 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40423 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40424 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40425 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40426
4420675c
AS
404272011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40428
40429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40430 differing bytes.
40431 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40433 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40434
75ea32ab
UD
404352011-04-17 Ulrich Drepper <drepper@gmail.com>
40436
40437 [BZ #12420]
40438 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40439 storing it.
40440 * stdlib/bug-getcontext.c: New file.
40441 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40442
27390476
AK
404432011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40444
40445 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40446 instructions into .machine "z9-109".
40447 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40448 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40449
10442705
AK
404502011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40451
40452 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40453 between environment variables and auxiliary vector.
40454
7b57bfe5
UD
404552011-04-16 Ulrich Drepper <drepper@gmail.com>
40456
40457 * Makefile: Add rules to build linkobj/libc.so.
40458 * include/libc-symbols.h: Define libc_hidden_nolink.
40459 * include/rpc/auth.h: Mark functions which are to be hidden.
40460 * include/rpc/auth_des.h: Likewise.
40461 * include/rpc/auth_unix.h: Likewise.
40462 * include/rpc/clnt.h: Likewise.
40463 * include/rpc/des_crypt.h: Likewise.
40464 * include/rpc/key_prot.h: Likewise.
40465 * include/rpc/pmap_clnt.h: Likewise.
40466 * include/rpc/pmap_prot.h: Likewise.
40467 * include/rpc/pmap_rmt.h: Likewise.
40468 * include/rpc/rpc_msg.h: Likewise.
40469 * include/rpc/svc.h: Likewise.
40470 * include/rpc/svc_auth.h: Likewise.
40471 * include/rpc/xdr.h: Likewise.
40472 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40473 * nss/Makefile: Likewise.
40474 * sunrpc/Makefile: Don't install headers. Build library with normal
40475 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40476 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40477 for the compat linking library. Remove use of INTDEF/INTUSE.
40478 * sunrpc/auth_none.c: Likewise.
40479 * sunrpc/auth_unix.c: Likewise.
40480 * sunrpc/authdes_prot.c: Likewise.
40481 * sunrpc/authuxprot.c: Likewise.
40482 * sunrpc/clnt_gen.c: Likewise.
40483 * sunrpc/clnt_perr.c: Likewise.
40484 * sunrpc/clnt_raw.c: Likewise.
40485 * sunrpc/clnt_simp.c: Likewise.
40486 * sunrpc/clnt_tcp.c: Likewise.
40487 * sunrpc/clnt_udp.c: Likewise.
40488 * sunrpc/clnt_unix.c: Likewise.
40489 * sunrpc/des_crypt.c: Likewise.
40490 * sunrpc/des_soft.c: Likewise.
40491 * sunrpc/get_myaddr.c: Likewise.
40492 * sunrpc/key_call.c: Likewise.
40493 * sunrpc/key_prot.c: Likewise.
40494 * sunrpc/netname.c: Likewise.
40495 * sunrpc/pm_getmaps.c: Likewise.
40496 * sunrpc/pm_getport.c: Likewise.
40497 * sunrpc/pmap_clnt.c: Likewise.
40498 * sunrpc/pmap_prot.c: Likewise.
40499 * sunrpc/pmap_prot2.c: Likewise.
40500 * sunrpc/pmap_rmt.c: Likewise.
40501 * sunrpc/publickey.c: Likewise.
40502 * sunrpc/rpc_cmsg.c: Likewise.
40503 * sunrpc/rpc_common.c: Likewise.
40504 * sunrpc/rpc_dtable.c: Likewise.
40505 * sunrpc/rpc_prot.c: Likewise.
40506 * sunrpc/rpc_thread.c: Likewise.
40507 * sunrpc/rtime.c: Likewise.
40508 * sunrpc/svc.c: Likewise.
40509 * sunrpc/svc_auth.c: Likewise.
40510 * sunrpc/svc_authux.c: Likewise.
40511 * sunrpc/svc_raw.c: Likewise.
40512 * sunrpc/svc_run.c: Likewise.
40513 * sunrpc/svc_simple.c: Likewise.
40514 * sunrpc/svc_tcp.c: Likewise.
40515 * sunrpc/svc_udp.c: Likewise.
40516 * sunrpc/svc_unix.c: Likewise.
40517 * sunrpc/svcauth_des.c: Likewise.
40518 * sunrpc/xcrypt.c: Likewise.
40519 * sunrpc/xdr.c: Likewise.
40520 * sunrpc/xdr_array.c: Likewise.
40521 * sunrpc/xdr_float.c: Likewise.
40522 * sunrpc/xdr_intXX_t.c: Likewise.
40523 * sunrpc/xdr_mem.c: Likewise.
40524 * sunrpc/xdr_rec.c: Likewise.
40525 * sunrpc/xdr_ref.c: Likewise.
40526 * sunrpc/xdr_sizeof.c: Likewise.
40527 * sunrpc/xdr_stdio.c: Likewise.
40528
e6c61494
UD
405292011-04-10 Ulrich Drepper <drepper@gmail.com>
40530
40531 [BZ #12650]
40532 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40533 * sysdeps/ia64/dl-tls.h: Likewise.
40534 * sysdeps/powerpc/dl-tls.h: Likewise.
40535 * sysdeps/s390/dl-tls.h: Likewise.
40536 * sysdeps/sh/dl-tls.h: Likewise.
40537 * sysdeps/sparc/dl-tls.h: Likewise.
40538 * sysdeps/x86_64/dl-tls.h: Likewise.
40539 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40540
34fe483e
AS
405412011-03-14 Andreas Schwab <schwab@redhat.com>
40542
40543 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40544 rpath element also skip the following colon.
40545 (expand_dynamic_string_token): Add is_path parameter and pass
40546 down to DL_DST_REQUIRED and _dl_dst_substitute.
40547 (decompose_rpath): Call expand_dynamic_string_token with
40548 non-zero is_path. Ignore empty rpaths.
40549 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40550 with zero is_path.
40551
f12a32e6
AS
405522011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40553
40554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40555 Make cancelable.
40556
38a7d692
UD
405572011-04-09 Ulrich Drepper <drepper@gmail.com>
40558
40559 [BZ #12655]
40560 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40561 Patch by Filipe David Manana <fdmanana@apache.org>.
40562
e451d22b
AS
405632011-04-07 Andreas Schwab <schwab@redhat.com>
40564
40565 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40566 Maintain aligned stack.
40567 (CHECK_RSP): Remove unused macro.
40568
dedc7c7b
UD
405692011-04-03 Ulrich Drepper <drepper@gmail.com>
40570
40571 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40572 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40573
94521213
UD
405742011-04-02 Ulrich Drepper <drepper@gmail.com>
40575
40576 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40577
8cb700c0 40578 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40579
0354e355
L
405802011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40581
40582 [BZ #12518]
40583 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40584 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40585 * sysdeps/x86_64/memmove.c: New file.
40586 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40587 (memcpy): Renamed to ...
40588 (__new_memcpy): This.
40589 (memcpy): Provide GLIBC_2_14 memcpy.
40590 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40591 (memcpy): Provide GLIBC_2_2_5 memcpy.
40592
8593482f
UD
405932011-04-01 Ulrich Drepper <drepper@gmail.com>
40594
40595 [BZ #12631]
40596 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40597
81a5726b
AS
405982011-03-30 Andreas Schwab <schwab@redhat.com>
40599
40600 * misc/syncfs.c: New file.
40601 * misc/Makefile (routines): Add syncfs.
40602 * posix/unistd.h: Declare syncfs.
40603 * sysdeps/unix/syscalls.list: Add syncfs.
40604
00e5419f
AS
406052011-04-01 Andreas Schwab <schwab@redhat.com>
40606
40607 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40608 open_by_handle_at.
40609 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40610 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40611 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40612 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40613 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40614 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40616
748876bf
UD
406172011-04-01 Ulrich Drepper <drepper@gmail.com>
40618
658e451d
UD
40619 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40620 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40621 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40623 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40625 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40626
748876bf
UD
40627 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40628 sync_file_range.c with -fexceptions.
40629 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40630 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40631 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40632 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40633 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40634 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40635 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40636 sync_file_range as cancellation point
40637 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40638 now a wrapper around __call_sync_file_range with cancellation handling.
40639 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40640 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40641 function name to __call_sync_file_range.
40642 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40643 Add call_sync_file_range.
748876bf 40644
6e63d5e1
AS
406452011-04-01 Andreas Schwab <schwab@redhat.com>
40646
40647 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40648 bits/timex.h.
6e63d5e1 40649
46998f74
UD
406502011-04-01 Ulrich Drepper <drepper@gmail.com>
40651
4c1423ed
UD
40652 * iconv/iconv.h: Fix typo in comment.
40653 * io/fcntl.h: Likewise.
40654 * libio/stdio.h: Likewise.
40655 * posix/spawn.h: Likewise.
40656 * posix/unistd.h: Likewise.
40657 * stdlib/stdlib.h: Likewise.
40658 * time/time.h: Likewise.
40659 * wcsmbs/wchar.h: Likewise.
40660
158648c0
UD
40661 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40662 open_by_handle): Add.
40663 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40664 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40665 Augment a few comments.
40666 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40668 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40670 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40671 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40672 open_by_handle.
40673
46998f74
UD
40674 * io/fcntl.h (AT_EMPTY_PATH): Define.
40675
83fe108b
UD
406762011-03-30 Ulrich Drepper <drepper@gmail.com>
40677
40678 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40679 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40680 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40681 to...
40682 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40683 * Versions.def: Add GLIBC_2.14.
40684 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40685 Export.
83fe108b 40686
bb242059
UD
406872011-03-22 Ulrich Drepper <drepper@gmail.com>
40688
40689 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40690 round counter.
40691 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40692
c97a1282
L
406932011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40694
40695 [BZ #12597]
40696 * string/test-strncmp.c (do_page_test): New function.
40697 (check2): Likewise.
40698 (test_main): Call check2.
40699 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40700
2a115601
UD
407012011-03-20 Ulrich Drepper <drepper@gmail.com>
40702
40703 [BZ #12587]
40704 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40705 Handle cache information in CPU leaf 4.
40706 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40707
8126d904
UD
407082011-03-18 Ulrich Drepper <drepper@gmail.com>
40709
042c49c6 40710 [BZ #12583]
8126d904
UD
40711 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40712 character representation.
40713 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40714
ccfe366e
RA
407152011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40716
40717 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40718 END(__isnan) to END(__isnanf) to match function entry point/label
40719 EALIGN(__isnanf,...).
40720
c6e13027
JJ
407212011-03-10 Jakub Jelinek <jakub@redhat.com>
40722
40723 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40724
33f85a3f
UD
407252011-03-10 Ulrich Drepper <drepper@gmail.com>
40726
028478fa
UD
40727 [BZ #12510]
40728 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40729 copy from the symbol referenced in the relocation to initialize the
40730 used variable.
40731 Patch by Piotr Bury <pbury@goahead.com>.
40732 * elf/Makefile: Add rules to build and tst-unique3.
40733 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40734 * elf/tst-unique3.cc: New file.
40735 * elf/tst-unique3.h: New file.
40736 * elf/tst-unique3lib.cc: New file.
40737 * elf/tst-unique3lib2.cc: New file.
40738
33f85a3f
UD
40739 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40740
03592fc7
MF
407412011-03-10 Mike Frysinger <vapier@gentoo.org>
40742
40743 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40744 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40745 to _start.
03592fc7 40746
6a5ee102
UD
407472011-03-06 Ulrich Drepper <drepper@gmail.com>
40748
40749 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40750 to-be-loaded object along a path to loader is ld.so.
40751
7e4ba49c
HJ
407522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40753 Ulrich Drepper <drepper@gmail.com>
40754
40755 * sysdeps/x86_64/memset.S: After aligning destination, code
40756 branches to different locations depending on the value of
40757 misalignment, when multiarch is enabled. Fix this.
40758
407592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40760
40761 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40762 Set _x86_64_preferred_memory_instruction for AMD processsors.
40763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40764 Set bit_Prefer_SSE_for_memop for AMD processors.
40765
13a804de
UD
407662011-03-04 Ulrich Drepper <drepper@gmail.com>
40767
40768 * libio/fmemopen.c (fmemopen): Optimize a bit.
40769
9d25c392
AS
407702011-03-03 Andreas Schwab <schwab@redhat.com>
40771
40772 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40773
a5543c6a
RM
407742011-03-03 Roland McGrath <roland@redhat.com>
40775
40776 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40777
012d35f7
DM
407782011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40779
7e4ba49c 40780 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40781 __bzero_ultra1 instead of __memset_ultra1.
40782
4bff6e01
AS
407832011-02-23 Andreas Schwab <schwab@redhat.com>
40784 Ulrich Drepper <drepper@gmail.com>
40785
40786 [BZ #12509]
40787 * include/link.h (struct link_map): Add l_orig_initfini.
40788 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40789 returning unsuccessfully.
40790 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40791 close of a file loaded at startup, restore the original l_initfini
40792 list.
40793 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40794 list, store the pointer.
40795 * elf/Makefile ($(objpfx)noload-mem): New rule.
40796 (noload-ENV): Define.
40797 (tests): Add $(objpfx)noload-mem.
40798 * elf/noload.c: Include <memcheck.h>.
40799 (main): Call mtrace. Close all opened handles.
40800
f2092faf
AS
408012011-02-17 Andreas Schwab <schwab@redhat.com>
40802
40803 [BZ #12454]
40804 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40805 dependencies are missing.
40806
6c8a2e88
ST
408072011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40808
f2092faf 40809 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40810 Hurd needs munmap.
40811 * sysdeps/mach/hurd/ifreq.h: New file.
40812
84a42118
PB
408132011-01-27 Petr Baudis <pasky@suse.cz>
40814 Ulrich Drepper <drepper@gmail.com>
40815
071f805e 40816 [BZ 12445]#
84a42118
PB
40817 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40818 to extend_alloca().
40819 * stdio-common/bug23.c: New file.
40820 * stdio-common/Makefile (tests): Add bug23.
40821
e23fe25b
AS
408222010-09-28 Andreas Schwab <schwab@redhat.com>
40823 Ulrich Drepper <drepper@gmail.com>
40824
40825 [BZ #12489]
40826 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40827 before performing relro protection. At old place add assertion
40828 to make sure nothing changed.
40829
d3f02e10
NS
408302011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40831 Glauber de Oliveira Costa <glommer@gmail.com>
40832
40833 * elf/elf.h: Add new ARM TLS relocs.
40834
d55fd7a5
RA
408352011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40836
40837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40838 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40839 cast from r3.
40840 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40841 'tests' variable.
40842 * sysdeps/wordsize-64/tst-writev.c: New file.
40843
2206397e
RA
408442011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40845
40846 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40847 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40848 insns in _dl_start to prevent a TOC reference before relocs are
40849 resolved.
40850
e9433893
UD
408512011-02-15 Ulrich Drepper <drepper@gmail.com>
40852
40853 [BZ #12469]
40854 * Makeconfig: Remove RANLIB definition.
40855 * Makerules: Don't use RANLIB.
40856 * aclocal.m4: Remove ranlib test.
40857 * configure.in: No need to check for ranlib.
40858 * elf/rtld-Rules: Don't use RANLIB.
40859
f75286c6
ST
408602011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40861
8e31c82d
ST
40862 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40863 protection macro.
40864 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40865 inclusion protection macro.
40866
f75286c6
ST
40867 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40868 SIGRTMIN and SIGRTMAX and print information in that case only when
40869 SIGRTMIN is defined.
40870
c1d0e639
JJ
408712011-02-11 Jakub Jelinek <jakub@redhat.com>
40872
40873 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40874 arginfo fn returning -1.
40875
40876 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40877 and thousands string is zero terminated.
40878
edf9294e
AS
408792011-02-03 Andreas Schwab <schwab@redhat.com>
40880
40881 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40882 sysdeps/unix/sysv/linux/bits/socket.h.
40883
2b7e92df
ST
408842011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40885
edf9294e
AS
40886 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40887 (__CPU_COUNT): Remove old macros.
40888 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40889 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40890 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40891 (__sched_cpualloc, __sched_cpufree): Add declarations.
40892
a4c7ea7b
UD
408932011-02-05 Ulrich Drepper <drepper@gmail.com>
40894
40895 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40896 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40897 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40898 (readdhstai): Return value of addhstaiX call.
40899 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40900 (addgrbyX): Return value returned by cache_addgr.
40901 (readdgrbyname): Return value returned by addgrbyX.
40902 (readdgrbygid): Likewise.
40903 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40904 (addpwbyX): Return value returned by cache_addpw.
40905 (readdpwbyname): Return value returned by addhstbyX.
40906 (readdpwbyuid): Likewise.
40907 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40908 (addservbyX): Return value returned by cache_addserv.
40909 (readdservbyname): Return value returned by addservbyX:
40910 (readdservbyport): Likewise.
40911 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40912 (addhstbyX): Return value returned by cache_addhst.
40913 (readdhstbyname): Return value returned by addhstbyX.
40914 (readdhstbyaddr): Likewise.
40915 (readdhstbynamev6): Likewise.
40916 (readdhstbyaddrv6): Likewise.
40917 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40918 (readdinitgroups): Return value returned by addinitgroupsX.
40919 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40920 (prune_cache): Keep track of timeout value of re-added entries.
40921 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40922 * nscd/nscd.h: Adjust prototypes of readd* functions.
40923
a0bf67cc
RM
409242011-02-04 Roland McGrath <roland@redhat.com>
40925
40926 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40927 (nis_stats): Likewise.
40928 * nis/nis_modify.c (nis_modify): Likewise.
40929 * nis/nis_remove.c (nis_remove): Likewise.
40930 * nis/nis_add.c (nis_add): Likewise.
40931
40932 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40933
40934 * posix/fnmatch_loop.c: Add some consts.
40935
40936 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40937
435b95eb
L
409382011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40939
40940 [BZ #12460]
40941 * config.make.in (config-cflags-novzeroupper): Define.
40942 * configure.in: Substitute libc_cv_cc_novzeroupper.
40943 * elf/Makefile (AVX-CFLAGS): Define.
40944 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40945 (CFLAGS-tst-auditmod4a.c): Likewise.
40946 (CFLAGS-tst-auditmod4b.c): Likewise.
40947 (CFLAGS-tst-auditmod6b.c): Likewise.
40948 (CFLAGS-tst-auditmod6c.c): Likewise.
40949 (CFLAGS-tst-auditmod7b.c): Likewise.
40950 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40951
8517b15e
UD
409522011-02-02 Ulrich Drepper <drepper@gmail.com>
40953
40954 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40955 function to the callback.
40956 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40957
10a656fe
AS
409582011-02-02 Andreas Schwab <schwab@redhat.com>
40959
40960 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40961 of errno.
40962
968dad0a
UD
409632011-01-19 Ulrich Drepper <drepper@gmail.com>
40964
9f94d2ea 40965 [BZ #11724]
968dad0a
UD
40966 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40967 of constructors.
40968 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40969 of destructors.
40970 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40971
40972 [BZ #11724]
40973 * elf/Makefile: Add rules to build and run new test.
40974 * elf/tst-initorder.c: New file.
40975 * elf/tst-initorder.exp: New file.
40976 * elf/tst-initordera1.c: New file.
40977 * elf/tst-initordera2.c: New file.
40978 * elf/tst-initordera3.c: New file.
40979 * elf/tst-initordera4.c: New file.
40980 * elf/tst-initorderb1.c: New file.
40981 * elf/tst-initorderb2.c: New file.
40982 * elf/tst-order-a1.c: New file.
40983 * elf/tst-order-a2.c: New file.
40984 * elf/tst-order-a3.c: New file.
40985 * elf/tst-order-a4.c: New file.
40986 * elf/tst-order-b1.c: New file.
40987 * elf/tst-order-b2.c: New file.
40988 * elf/tst-order-main.c: New file.
40989 New test case by George Gensure <werkt0@gmail.com>.
40990
86e92359
UD
409912010-10-01 Andreas Schwab <schwab@redhat.com>
40992
40993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40994 decoding ACE if AI_CANONIDN.
40995
5d5732b0
UD
409962011-01-18 Ulrich Drepper <drepper@gmail.com>
40997
40998 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40999
a77e8cbc
UD
410002011-01-17 Ulrich Drepper <drepper@gmail.com>
41001
6392473f
UD
41002 * version.h (RELEASE): Bump for 2.13 release.
41003 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41004
620a0529
UD
41005 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41006
18ba70a5
UD
41007 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41008 MADV_NOHUGEPAGE.
32465c3e
UD
41009 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41010 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41011 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41012 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41013 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41014 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41015
c0dafcf1
UD
41016 * posix/getconf.c: Update copyright year.
41017 * catgets/gencat.c: Likewise.
41018 * csu/version.c: Likewise.
41019 * debug/catchsegv.sh: Likewise.
41020 * debug/xtrace.sh: Likewise.
41021 * elf/ldconfig.c: Likewise.
41022 * elf/ldd.bash.in: Likewise.
41023 * elf/sprof.c (print_version): Likewise.
41024 * iconv/iconv_prog.c: Likewise.
41025 * iconv/iconvconfig.c: Likewise.
41026 * locale/programs/locale.c: Likewise.
41027 * locale/programs/localedef.c: Likewise.
41028 * malloc/memusage.sh: Likewise.
41029 * malloc/mtrace.pl: Likewise.
41030 * nscd/nscd.c (print_version): Likewise.
41031 * nss/getent.c: Likewise.
41032
a77e8cbc
UD
41033 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41034 PF_CAIF, and PF_ALG.
41035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41036
77e8bddf
AS
410372011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41038
1f20b93a
AS
41039 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41040 (modules-names): Use them.
41041 (ifunc-test-modules, ifunc-pie-tests): Define.
41042 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41043 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41044 (test-extras): Likewise.
41045 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41046 $(compile-command.c).
41047 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41048 (all-built-dso): Define.
41049 (check-textrel.out, check-execstack.out): Depend on it.
41050
77e8bddf
AS
41051 * configure.in: Don't override --enable-multi-arch.
41052
bc425b33
UD
410532011-01-15 Ulrich Drepper <drepper@gmail.com>
41054
41055 [BZ #6812]
41056 * nscd/hstcache.c (tryagain): Define.
41057 (cache_addhst): Return tryagain not notfound for temporary errors.
41058 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41059 failed.
41060
794c3ad3
UD
410612011-01-14 Ulrich Drepper <drepper@gmail.com>
41062
70181fdd
UD
41063 [BZ #10563]
41064 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41065 to make the syscall.
41066 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41067
794c3ad3
UD
41068 [BZ #12378]
41069 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41070 and fall back to matching as normal character if the string ends before
41071 the matching ']' is found. This is what POSIX requires.
41072 * posix/testfnm.c: Adjust test result.
41073 * posix/globtest.sh: Adjust test result. Add new test.
41074 * posix/tst-fnmatch.input: Likewise.
41075 * posix/tst-fnmatch2.c: Add new test.
41076
68dc9497
AS
410772010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41078
41079 * elf/Makefile (check-execstack): Revert last change. Depend on
41080 check-execstack.h.
41081 (check-execstack.h): New target.
41082 (generated): Add check-execstack.h.
41083 * elf/check-execstack.c: Include "check-execstack.h".
41084 (main): Revert last change.
41085 (handle_file): Return zero if GNU_STACK is absent and
41086 DEFAULT_STACK_PERMS doesn't include PF_X.
41087
451f001b
UD
410882011-01-13 Ulrich Drepper <drepper@gmail.com>
41089
cfa28e56
UD
41090 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41091 in child fails because the descriptor is already closed.
8cf8ce17
UD
41092 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41093 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41094 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41095
1086d70d
UD
41096 [BZ #12397]
41097 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41098 syscall.
41099
451f001b
UD
41100 [BZ #10484]
41101 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41102 temporary buffer used to handle multi lookups locally.
a85b5cb4 41103 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41104
08769175
UD
411052011-01-12 Ulrich Drepper <drepper@gmail.com>
41106
41107 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41108 loader is ld.so.
41109
5e49c52e
UD
411102011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41111
41112 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41113 alignment for SSE2.
41114
60522a5f
UD
411152011-01-12 Ulrich Drepper <drepper@gmail.com>
41116
41117 [BZ #12394]
41118 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41119 characters. When rounding increased number of integer digits recompute
41120 number of groups.
41121 * stdio-common/tst-grouping.c: New file.
41122 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41123
f257bbd7
UD
411242011-01-09 Ulrich Drepper <drepper@gmail.com>
41125
41126 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41127 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41128
41129 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41130 void.
41131 * bits/select.h: Likewise.
41132
fa9c15cb
UD
411332011-01-08 Ulrich Drepper <drepper@gmail.com>
41134
41135 * po/ja.po: Update from translation team.
41136
16c2895f
DM
411372011-01-04 David S. Miller <davem@sunset.davemloft.net>
41138
41139 [BZ #11155]
41140 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41141 implementation just like for lxstat, fxstatat, et al.
41142
2543fef2
JM
411432010-12-27 Jim Meyering <meyering@redhat.com>
41144
41145 [BZ #12348]
41146 * posix/regexec.c (build_trtable): Return failure indication upon
41147 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41148
98727dbe
UD
411492010-12-25 Ulrich Drepper <drepper@gmail.com>
41150
5bd6dc5c
UD
41151 [BZ #12201]
41152 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41153 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41154 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41155 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41156
97983464
UD
41157 [BZ #12207]
41158 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41159
98727dbe
UD
41160 [BZ #12204]
41161 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41162 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41163
4a531bb0
L
411642010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41165
41166 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41167 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41168 script has SORT_BY_INIT_PRIORITY.
41169 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41170 NO_CTORS_DTORS_SECTIONS is defined.
41171 * elf/soinit.c: Likewise.
41172 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41173 NO_CTORS_DTORS_SECTIONS is defined.
41174 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41175 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41176 * sysdeps/sh/init-first.c: Likewise.
41177 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41178
07eb4b71
UD
411792010-12-24 Ulrich Drepper <drepper@gmail.com>
41180
41181 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41182 always use the slow path.
41183
30950a5f
RA
411842010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41185
41186 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41187 similar rule which adds the sysdep directories to the header search in
41188 order to pick up the correct platform stackinfo.h.
41189 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41190 perform test if it is, otherwise return successfully without testing.
41191 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41192 DEFAULT_STACK_PERMS define in stackinfo.h.
41193 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41194 defined in stackinfo.h.
41195 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41196 DEFAULT_STACK_PERMS defined in stackinfo.h.
41197 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41198 * sysdeps/ia64/stackinfo.h: Likewise.
41199 * sysdeps/s390/stackinfo.h: Likewise.
41200 * sysdeps/sh/stackinfo.h: Likewise.
41201 * sysdeps/sparc/stackinfo.h: Likewise.
41202 * sysdeps/x86_64/stackinfo.h: Likewise.
41203 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41204 PF_X for powerpc64. Retain PF_X for powerpc32.
41205
db753e2c
UD
412062010-12-19 Ulrich Drepper <drepper@gmail.com>
41207
14b697f7
UD
41208 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41209 accurately.
db753e2c
UD
41210 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41211 GETDENTS_64BIT_ALIGNED.
41212
28300719
UD
412132010-12-14 Ulrich Drepper <dreper@gmail.com>
41214
14b697f7 41215 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41216
4f197237
AS
412172010-12-10 Andreas Schwab <schwab@redhat.com>
41218
dbb0472f
AS
41219 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41220 _GNU_SOURCE.
41221
4f197237
AS
41222 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41223 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41224 Remove __restrict.
41225 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41226 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41227
fb88ac72
UD
412282010-12-09 Ulrich Drepper <drepper@gmail.com>
41229
41230 [BZ #11655]
41231 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41232 are initialized.
41233
42acbb92
JJ
412342010-12-09 Jakub Jelinek <jakub@redhat.com>
41235
41236 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41237
c038d98d
UD
412382010-12-03 Ulrich Drepper <drepper@gmail.com>
41239
41240 * po/it.po: Update from translation team.
41241
3a4a2499
L
412422010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41243
41244 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41245 unused codes.
41246
1e24cf6e
UD
412472010-11-30 Ulrich Drepper <drepper@gmail.com>
41248
41249 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41250
a7690819
AS
412512010-11-24 Andreas Schwab <schwab@redhat.com>
41252
41253 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41254 specially.
41255 (gaih_getanswer_slice): Likewise.
41256
3bf8d1b1
JJ
412572010-10-20 Jakub Jelinek <jakub@redhat.com>
41258
41259 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41260
6db52fbb
PB
412612010-05-31 Petr Baudis <pasky@suse.cz>
41262
41263 [BZ #11149]
41264 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41265 silently even in the chroot mode.
41266
eaca7569
UD
412672010-11-22 Ulrich Drepper <drepper@gmail.com>
41268
41269 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41270 last patch a bit. Pretty printing
41271
3056dcdb
UD
412722010-05-31 Petr Baudis <pasky@suse.cz>
41273
41274 [BZ #10085]
41275 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41276 initialization of skip_initgroups_dyn.
41277
cf7c9078
UD
412782010-11-19 Ulrich Drepper <drepper@gmail.com>
41279
41280 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41281 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41282
a1fb5e3e
UD
412832010-11-16 Ulrich Drepper <drepper@gmail.com>
41284
41285 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41286
3540d66b
AS
412872010-11-11 Andreas Schwab <schwab@redhat.com>
41288
41289 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41290 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41291 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41292 ($(objpfx)tst-fnmatch-mem): New rule.
41293 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41294 * posix/tst-fnmatch.c (main): Call mtrace.
41295
13b69574
L
412962010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41297
41298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41299 Support Intel processor model 6 and model 0x2c.
41300
da93d214
LM
413012010-11-10 Luis Machado <luisgpm@br.ibm.com>
41302
41303 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41304 signed comparison.
41305
8ca52c6e
L
413062010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41307
41308 [BZ #12205]
41309 * string/test-strncasecmp.c (check_result): New function.
41310 (do_one_test): Use it.
41311 (check1): New function.
41312 (test_main): Use it.
41313 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41314 Support strcasecmp and strncasecmp.
41315
69da074d
UD
413162010-11-08 Ulrich Drepper <drepper@gmail.com>
41317
41318 [BZ #12194]
41319 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41320 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41321
ff02d528
L
413222010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41323
41324 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41325 IFUNC support.
41326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41327 memset-x86-64.
41328 * sysdeps/x86_64/multiarch/bzero.S: New file.
41329 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41330 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41331 * sysdeps/x86_64/multiarch/memset.S: New file.
41332 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41334 Set bit_Prefer_SSE_for_memop for Intel processors.
41335 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41336 Define.
41337 (index_Prefer_SSE_for_memop): Define.
41338 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41339
344d0b54
LM
413402010-11-04 Luis Machado <luisgpm@br.ibm.com>
41341
41342 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41343 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41344
c0dde15b
UD
413452010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41346
41347 [BZ #12191]
41348 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41349 (__x86_64_raw_data_cache_size_half): Likewise.
41350 (__x86_64_raw_shared_cache_size): Likewise.
41351 (__x86_64_raw_shared_cache_size_half): Likewise.
41352
41353 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41354 (__x86_64_raw_data_cache_size_half): Likewise.
41355 (__x86_64_raw_shared_cache_size): Likewise.
41356 (__x86_64_raw_shared_cache_size_half): Likewise.
41357 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41358 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41359 and __x86_64_raw_shared_cache_size_half. Round
41360 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41361 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41362 to multiple of 256 bytes.
41363
0e516e0e
MS
413642010-11-03 Ulrich Drepper <drepper@gmail.com>
41365
41366 [BZ #12167]
41367 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41368 of inacessible symlinks. Verify result of symlink before returning it.
41369 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41370 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41371
0e012e87
ER
413722010-10-28 Erich Ritz <erichritz@gmail.com>
41373
41374 * math/math.h (isinf): Fix typo in comment.
41375
de0ff7bc
UD
413762010-11-01 Ulrich Drepper <drepper@gmail.com>
41377
41378 * po/da.po: Update from translation team.
41379
fa41c84d
UD
413802010-10-26 Ulrich Drepper <drepper@gmail.com>
41381
41382 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41383 is added to the list.
41384
f0967738
AK
413852010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41386 Ulrich Drepper <drepper@gmail.com>
41387
41388 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41389 the global list here. Move code to...
41390 (_dl_add_to_namespace_list): ...here. New function.
41391 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41392 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41393 * elf/dl-load.c (lose): Don't remove the element from the list.
41394 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41395 (_dl_map_object): Likewise.
41396
413972010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41398
41399 [BZ #12159]
41400 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41401 into all bytes of SSE register.
41402 Patch by Richard Li <richardpku@gmail.com>.
41403
f0967738 414042010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41405
41406 [BZ #12140]
41407 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41408 perturbing.
41409
d0b9e94f
MB
414102010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41411
41412 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41413 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41414 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41415 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41417 submachine.
41418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41419
8e9f92e9
AS
414202010-10-22 Andreas Schwab <schwab@redhat.com>
41421
41422 * include/dlfcn.h (__RTLD_SECURE): Define.
41423 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41424 mode & __RTLD_SECURE instead.
41425 (open_path): Rename preloaded parameter to secure.
41426 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41427 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41428 * elf/dl-deps.c (openaux): Likewise.
41429 * elf/rtld.c (struct map_args): Remove is_preloaded.
41430 (map_doit): Don't use it.
41431 (dl_main): Likewise.
41432 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41433 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41434
bc96fbda
AS
414352010-09-09 Andreas Schwab <schwab@redhat.com>
41436
41437 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41438 (sysd-rules-targets): Remove duplicates.
41439 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41440 rtld-%.$o dependency.
41441
22cd1c9b
AS
414422010-10-18 Andreas Schwab <schwab@redhat.com>
41443
41444 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41445 _dl_map_object do it.
41446
18edac48
UD
414472010-10-19 Ulrich Drepper <drepper@gmail.com>
41448
41449 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41450 fast fma builtins, define the macros in the C99 standard.
41451 (FP_FAST_FMAF): Likewise.
41452 (FP_FAST_FMAL): Likewise.
41453 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41454
41455 * bits/mathdef.h: Update copyright year.
41456 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41457
d2050124
MM
414582010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41459
41460 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41461 builtins, define the macros in the C99 standard.
41462 (FP_FAST_FMAF): Likewise.
41463 (FP_FAST_FMAL): Likewise.
41464 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41465 multiply/add.
41466 (FP_FAST_FMAF): Likewise.
41467
475facd1
JJ
414682010-10-15 Jakub Jelinek <jakub@redhat.com>
41469
41470 [BZ #3268]
41471 * math/libm-test.inc (fma_test): Some new testcases.
41472 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41473 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41474 y and infinite z. Do multiplication by C already in long double.
41475 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41477 y and infinite z. Do bitwise or of inexact bit into u.d.
41478 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41479 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41480 * sysdeps/i386/fpu/s_fma.S: Removed.
41481 * sysdeps/i386/fpu/s_fmal.S: Removed.
41482
7c08a05c
JJ
414832010-10-16 Jakub Jelinek <jakub@redhat.com>
41484
41485 [BZ #3268]
41486 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41488 computation is not scheduled after fetestexcept. Fix value
41489 of minimum denormal long double.
41490
f3f7372d
JJ
414912010-10-14 Jakub Jelinek <jakub@redhat.com>
41492
41493 [BZ #3268]
41494 * math/libm-test.inc (fma_test): Add some more tests.
41495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41496 correctly.
41497
14d43591
AS
414982010-10-15 Andreas Schwab <schwab@redhat.com>
41499
41500 * scripts/data/localplt-s390-linux-gnu.data: New file.
41501 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41502
5e908464
JJ
415032010-10-13 Jakub Jelinek <jakub@redhat.com>
41504
41505 [BZ #3268]
41506 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41507 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41508 instead of dbl-64.
41509 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41510 inlines.
41511 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41513 if one of x and y is very large and the other is subnormal.
41514 * sysdeps/s390/fpu/s_fmaf.c: New file.
41515 * sysdeps/s390/fpu/s_fma.c: New file.
41516 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41517 * sysdeps/powerpc/fpu/s_fma.S: New file.
41518 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41519 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41520 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41521
415222010-10-12 Jakub Jelinek <jakub@redhat.com>
41523
41524 [BZ #3268]
41525 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41526 fma tests.
41527 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41528 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41529 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41530 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41531 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41532 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41533 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41534
b833d51f
UD
415352010-10-12 Ulrich Drepper <drepper@redhat.com>
41536
41537 [BZ #12078]
41538 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41539 * posix/bug-regex31.input: Add test case.
41540
1751705d
UD
415412010-10-11 Ulrich Drepper <drepper@gmail.com>
41542
e9b9cbf5
UD
41543 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41544 * posix/bug-regex31.input: New file.
41545
41546 [BZ #12078]
41547 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41548 (parse_sub_exp): Fix last change, use postorder.
41549
ef06edbe
UD
41550 * posix/bug-regex31.c: New file.
41551 * posix/Makefile: Add rules to build and run bug-regex31.
41552
a129c80d
UD
41553 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41554
41555 [BZ #12078]
41556 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41557
b76b818e
UD
41558 [BZ #12108]
41559 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41560 to have entries in sys_siglist.
41561
1751705d
UD
41562 [BZ #12093]
41563 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41564 be NULL.
41565
9ff8d36f
JJ
415662010-10-07 Jakub Jelinek <jakub@redhat.com>
41567
41568 [BZ #3268]
41569 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41570 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41571 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41572 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41573 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41574 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41575 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41576 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41577 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41578 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41579 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41580 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41581 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41582 * math/ftestexcept.c (fetestexcept): Likewise.
41583 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41584 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41585 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41586 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41587 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41588 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41589 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41590
af325969
UD
415912010-10-11 Ulrich Drepper <drepper@gmail.com>
41592
c579b202 41593 [BZ #12107]
af325969
UD
41594 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41595 newline.
41596
67a67b95
UD
415972010-10-06 Ulrich Drepper <drepper@gmail.com>
41598
41599 * string/bug-strstr1.c: New file.
41600 * string/Makefile: Add rules to build and run bug-strstr1.
41601
5fb308bc
EB
416022010-10-05 Eric Blake <eblake@redhat.com>
41603
41604 [BZ #12092]
41605 * string/str-two-way.h (two_way_long_needle): Always clear memory
41606 when skipping input due to the shift table.
41607
45db99c7
UD
416082010-10-03 Ulrich Drepper <drepper@gmail.com>
41609
3b111893
UD
41610 [BZ #12005]
41611 * malloc/mcheck.c: Handle large requests.
41612
45db99c7
UD
41613 [BZ #12077]
41614 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41615 for strncmp and strncasecmp.
41616 * string/stratcliff.c: Add tests for strcmp and strncmp.
41617 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41618
cf7a1eb8
NI
416192010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41620
41621 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41622 __set_fpscr.
41623
6484ba5e
AJ
416242010-09-30 Andreas Jaeger <aj@suse.de>
41625
41626 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41627 (CGROUP_SUPER_MAGIC): Define.
41628 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41629 Handle btrfs and cgroup file systems.
41630 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41631 Likewise.
41632
91c42559
LM
416332010-09-27 Luis Machado <luisgpm@br.ibm.com>
41634
41635 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41636 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41637
87a97932
AK
416382010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41639
41640 [BZ #12067]
41641 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41642 trying to locate the ELF header.
41643
c21cc9bc
AS
416442010-09-27 Andreas Schwab <schwab@redhat.com>
41645
41646 [BZ #11611]
41647 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41648 Mask out sign-bit copies when constructing f_fsid.
41649
315970f6
PB
416502010-09-24 Petr Baudis <pasky@suse.cz>
41651
41652 * debug/stack_chk_fail_local.c: Add missing licence exception.
41653 * debug/warning-nop.c: Likewise.
41654
1ac7a2c7
JM
416552010-09-15 Joseph Myers <joseph@codesourcery.com>
41656
41657 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41658 implementing getdents64 using getdents syscall, set d_type if
41659 __ASSUME_GETDENTS32_D_TYPE.
41660
56801c50
AS
416612010-09-16 Andreas Schwab <schwab@redhat.com>
41662
41663 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41664 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41665
dda51327
UD
416662010-09-21 Ulrich Drepper <drepper@redhat.com>
41667
41668 [BZ #12037]
41669 * posix/unistd.h: Undo change of feature selection for ftruncate from
41670 2010-01-11.
41671
8ffcee4a
UD
416722010-09-20 Ulrich Drepper <drepper@redhat.com>
41673
a545ecd9 41674 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41675 detection.
41676
e24f0a8b
AS
416772010-09-20 Andreas Schwab <schwab@redhat.com>
41678
41679 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41680 fanotify_mark.
41681 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41682
7291c56f
AS
416832010-09-14 Andreas Schwab <schwab@redhat.com>
41684
41685 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41686 variables after CHECK_SP call.
41687 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41688
bc5fb037
AS
416892010-09-13 Andreas Schwab <schwab@redhat.com>
41690 Ulrich Drepper <drepper@redhat.com>
41691
41692 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41693 re-relocationg ld.so.
41694 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41695 _dl_init_paths call.
41696 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41697 here anymore.
41698
e66e7419
UD
416992010-09-14 Ulrich Drepper <drepper@redhat.com>
41700
41701 * resolv/res_init.c (__res_vinit): Count the default server we added.
41702
c044aa75
CLT
417032010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41704 Ulrich Drepper <drepper@redhat.com>
41705
41706 [BZ #11968]
41707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41708 (____longjmp_chk): Use %ebx for saving value across system call.
41709 Add unwind info.
41710
32cf4069
AS
417112010-09-06 Andreas Schwab <schwab@redhat.com>
41712
41713 * manual/Makefile: Don't mix pattern rules with normal rules.
41714
817328ee
AS
417152010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41716
41717 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41718 operation.
41719 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41720 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41721 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41722 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41724 Likewise.
41725
29fddf61
UD
417262010-09-04 Ulrich Drepper <drepper@redhat.com>
41727
41728 [BZ #11979]
41729 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41730 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41731
0959ffc9
UD
417322010-09-02 Ulrich Drepper <drepper@redhat.com>
41733
41734 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41735 * sysdeps/x86_64/addmul_1.S: Likewise.
41736 * sysdeps/x86_64/lshift.S: Likewise.
41737 * sysdeps/x86_64/mul_1.S: Likewise.
41738 * sysdeps/x86_64/rshift.S: Likewise.
41739 * sysdeps/x86_64/sub_n.S: Likewise.
41740 * sysdeps/x86_64/submul_1.S: Likewise.
41741
ece29840
ST
417422010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41743
0959ffc9
UD
41744 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41745 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41746 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41747 * bits/sched.h [__need_schedparam]
ece29840 41748 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41749 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41750 (__defined_schedparam): Define to 1.
ece29840
ST
41751 (__sched_param): New structure, identical to sched_param.
41752 (__need_schedparam): Undefine.
41753
e53a31fe
MF
417542010-08-31 Mike Frysinger <vapier@gentoo.org>
41755
fdc0c10d
MF
41756 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41757 (epoll_create1): Declare.
41758
e53a31fe
MF
41759 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41760
a726d796
AS
417612010-08-31 Andreas Schwab <schwab@redhat.com>
41762
41763 [BZ #7066]
41764 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41765 shifting retval into place.
41766
2f3e3dc7
UD
417672010-09-01 Ulrich Drepper <drepper@redhat.com>
41768
f2933da9
UD
41769 * nis/rpcsvc/nis.h: Update copyright notice.
41770 * nis/rpcsvc/nis.x: Likewise.
41771 * nis/rpcsvc/nis_callback.h: Likewise.
41772 * nis/rpcsvc/nis_callback.x: Likewise.
41773 * nis/rpcsvc/nis_object.x: Likewise.
41774 * nis/rpcsvc/nis_tags.h: Likewise.
41775 * nis/rpcsvc/yp.h: Likewise.
41776 * nis/rpcsvc/yp.x: Likewise.
41777 * nis/rpcsvc/ypupd.h: Likewise.
41778 * nis/yp_xdr.c: Likewise.
41779 * nis/ypupdate_xdr.c: Likewise.
41780
2f3e3dc7
UD
41781 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41782 mainly the body of pmap_getport. Add parameters to specify timeouts.
41783 (pmap_getport): Use __libc_rpc_getport.
41784 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41785 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41786 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41787
f3dcc2f9
AS
417882010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41789
41790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41791 fanotify_mark.
41792
6d34eb5b
RM
417932010-08-27 Roland McGrath <roland@redhat.com>
41794
41795 * sysdeps/i386/i686/multiarch/Makefile
41796 (CFLAGS-varshift.c): New variable.
41797
9ea3de11
UD
417982010-08-27 Ulrich Drepper <drepper@redhat.com>
41799
c96d23fc
UD
41800 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41801 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41802
9ea3de11
UD
41803 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41804
41805 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41806
623aac7f
L
418072010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41808
41809 * sysdeps/x86_64/strlen.S: Unroll the loop.
41810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41811 strlen-sse2 strlen-sse2-bsf.
41812 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41813 __strlen_no_bsf if bit_Slow_BSF is set.
41814 (__strlen_sse42): Removed.
41815 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41816 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41817
8b2b7715
RM
418182010-08-25 Roland McGrath <roland@redhat.com>
41819
41820 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41821 * sysdeps/x86_64/multiarch/varshift.c: New file.
41822 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41823 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41824 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41825 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41826
e73015f2
L
418272010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41828
41829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41830 strlen-sse2 strlen-sse2-bsf.
41831 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41832 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41833 (__strlen_sse2): Removed.
41834 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41835 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41837 bit_Slow_BSF for Atom.
41838 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41839 (index_Slow_BSF): Define.
41840 (HAS_SLOW_BSF): Define.
41841
df24a73e
UD
418422010-08-25 Ulrich Drepper <drepper@redhat.com>
41843
41844 [BZ #10851]
41845 * resolv/res_init.c (__res_vinit): When no server address at all
41846 is given default to loopback.
41847
f2ac4868
RM
418482010-08-24 Roland McGrath <roland@redhat.com>
41849
09055553
RM
41850 * configure.in: Remove config-name.h generation.
41851 * configure: Regenerated.
41852 * config-name.in: File removed.
41853 * scripts/config-uname.sh: New file.
41854 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41855 ($(objdir)config-name.h): New target.
41856
f2ac4868
RM
41857 * sunrpc/rpc_parse.h: Avoid nested comment.
41858
73f27d5e
RH
418592010-08-24 Richard Henderson <rth@redhat.com>
41860 Ulrich Drepper <drepper@redhat.com>
41861 H.J. Lu <hongjiu.lu@intel.com>
41862
41863 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41865 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41866 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41867 _mm_alignr_epi8 with _mm_loadu_si128.
41868 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41869 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41870 (__m128i_shift_right): Removed.
41871 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41872 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41873 * sysdeps/x86_64/multiarch/varshift.h: New file.
41874 * sysdeps/x86_64/multiarch/varshift.S: New file.
41875
84b9230c
MF
418762010-08-21 Mike Frysinger <vapier@gentoo.org>
41877
41878 * configure.in: Move assembler checks to before sysdep dir checking.
41879
9bbd0ddc
PB
418802010-08-20 Petr Baudis <pasky@suse.cz>
41881
41882 * LICENSES: Sync the sunrpc license.
41883
9da4bb31
UD
418842010-08-19 Ulrich Drepper <drepper@redhat.com>
41885
a7ab6ec8
UD
41886 * sunrpc/auth_des.c: Update copyright notice once again.
41887 * sunrpc/auth_none.c: Likewise.
41888 * sunrpc/auth_unix.c: Likewise.
41889 * sunrpc/authdes_prot.c: Likewise.
41890 * sunrpc/authuxprot.c: Likewise.
41891 * sunrpc/bindrsvprt.c: Likewise.
41892 * sunrpc/clnt_gen.c: Likewise.
41893 * sunrpc/clnt_perr.c: Likewise.
41894 * sunrpc/clnt_raw.c: Likewise.
41895 * sunrpc/clnt_simp.c: Likewise.
41896 * sunrpc/clnt_tcp.c: Likewise.
41897 * sunrpc/clnt_udp.c: Likewise.
41898 * sunrpc/clnt_unix.c: Likewise.
41899 * sunrpc/des_crypt.c: Likewise.
41900 * sunrpc/des_soft.c: Likewise.
41901 * sunrpc/get_myaddr.c: Likewise.
41902 * sunrpc/getrpcport.c: Likewise.
41903 * sunrpc/key_call.c: Likewise.
41904 * sunrpc/key_prot.c: Likewise.
41905 * sunrpc/openchild.c: Likewise.
41906 * sunrpc/pm_getmaps.c: Likewise.
41907 * sunrpc/pm_getport.c: Likewise.
41908 * sunrpc/pmap_clnt.c: Likewise.
41909 * sunrpc/pmap_prot.c: Likewise.
41910 * sunrpc/pmap_prot2.c: Likewise.
41911 * sunrpc/pmap_rmt.c: Likewise.
41912 * sunrpc/rpc/auth.h: Likewise.
41913 * sunrpc/rpc/auth_unix.h: Likewise.
41914 * sunrpc/rpc/clnt.h: Likewise.
41915 * sunrpc/rpc/des_crypt.h: Likewise.
41916 * sunrpc/rpc/key_prot.h: Likewise.
41917 * sunrpc/rpc/netdb.h: Likewise.
41918 * sunrpc/rpc/pmap_clnt.h: Likewise.
41919 * sunrpc/rpc/pmap_prot.h: Likewise.
41920 * sunrpc/rpc/pmap_rmt.h: Likewise.
41921 * sunrpc/rpc/rpc.h: Likewise.
41922 * sunrpc/rpc/rpc_des.h: Likewise.
41923 * sunrpc/rpc/rpc_msg.h: Likewise.
41924 * sunrpc/rpc/svc.h: Likewise.
41925 * sunrpc/rpc/svc_auth.h: Likewise.
41926 * sunrpc/rpc/types.h: Likewise.
41927 * sunrpc/rpc/xdr.h: Likewise.
41928 * sunrpc/rpc_clntout.c: Likewise.
41929 * sunrpc/rpc_cmsg.c: Likewise.
41930 * sunrpc/rpc_common.c: Likewise.
41931 * sunrpc/rpc_cout.c: Likewise.
41932 * sunrpc/rpc_dtable.c: Likewise.
41933 * sunrpc/rpc_hout.c: Likewise.
41934 * sunrpc/rpc_main.c: Likewise.
41935 * sunrpc/rpc_parse.c: Likewise.
41936 * sunrpc/rpc_parse.h: Likewise.
41937 * sunrpc/rpc_prot.c: Likewise.
41938 * sunrpc/rpc_sample.c: Likewise.
41939 * sunrpc/rpc_scan.c: Likewise.
41940 * sunrpc/rpc_scan.h: Likewise.
41941 * sunrpc/rpc_svcout.c: Likewise.
41942 * sunrpc/rpc_tblout.c: Likewise.
41943 * sunrpc/rpc_util.c: Likewise.
41944 * sunrpc/rpc_util.h: Likewise.
41945 * sunrpc/rpcinfo.c: Likewise.
41946 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41947 * sunrpc/rpcsvc/key_prot.x: Likewise.
41948 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41949 * sunrpc/rpcsvc/mount.x: Likewise.
41950 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41951 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41952 * sunrpc/rpcsvc/rex.x: Likewise.
41953 * sunrpc/rpcsvc/rstat.x: Likewise.
41954 * sunrpc/rpcsvc/rusers.x: Likewise.
41955 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41956 * sunrpc/rpcsvc/spray.x: Likewise.
41957 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41958 * sunrpc/rtime.c: Likewise.
41959 * sunrpc/svc.c: Likewise.
41960 * sunrpc/svc_auth.c: Likewise.
41961 * sunrpc/svc_authux.c: Likewise.
41962 * sunrpc/svc_raw.c: Likewise.
41963 * sunrpc/svc_run.c: Likewise.
41964 * sunrpc/svc_simple.c: Likewise.
41965 * sunrpc/svc_tcp.c: Likewise.
41966 * sunrpc/svc_udp.c: Likewise.
41967 * sunrpc/svc_unix.c: Likewise.
41968 * sunrpc/svcauth_des.c: Likewise.
41969 * sunrpc/xcrypt.c: Likewise.
41970 * sunrpc/xdr.c: Likewise.
41971 * sunrpc/xdr_array.c: Likewise.
41972 * sunrpc/xdr_float.c: Likewise.
41973 * sunrpc/xdr_mem.c: Likewise.
41974 * sunrpc/xdr_rec.c: Likewise.
41975 * sunrpc/xdr_ref.c: Likewise.
41976 * sunrpc/xdr_sizeof.c: Likewise.
41977 * sunrpc/xdr_stdio.c: Likewise.
41978
9da4bb31
UD
41979 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41980 handling.
41981
bdaa77bc
AS
419822010-08-19 Andreas Schwab <schwab@redhat.com>
41983
41984 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41985
fe2f79db
LM
419862010-08-19 Luis Machado <luisgpm@br.ibm.com>
41987
41988 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41989 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41990 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41991 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41992 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41993 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41994 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41995 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41996 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41997 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41998 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41999 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42000 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42001 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42002
b9b42ee0
AB
420032010-07-26 Anton Blanchard <anton@samba.org>
42004
42005 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42006 * malloc/arena.c (heap_trim): Likewise.
42007
1c06ba31
UD
420082010-08-16 Ulrich Drepper <drepper@redhat.com>
42009
42010 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42011 here. Not...
42012 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42013 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42014
f8392f40
L
420152010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42016
42017 * sysdeps/i386/elf/Makefile: New file.
42018
3162f12e
AS
420192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42020
42021 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42022 from fanotify_init.
42023 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42024 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42025
28c90b2c
UD
420262010-08-15 Ulrich Drepper <drepper@redhat.com>
42027
42028 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42029 of strncasecmp_l.
1feccb6c 42030 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42031
ca6bb004
UD
420322010-08-14 Ulrich Drepper <drepper@redhat.com>
42033
e9f82e0d
UD
42034 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42035 strncase_l-nonascii.
42036 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42037 Add strncase_l-ssse3.
42038 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42039 * sysdeps/x86_64/strcmp.S: Likewise.
42040 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42041 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42042 * sysdeps/x86_64/strncase.S: New file.
42043 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42044 * sysdeps/x86_64/strncase_l.S: New file.
42045 * string/Makefile (strop-tests): Add strncasecmp.
42046 * string/test-strncasecmp.c: New file.
42047
42048 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42049 warning.
42050
ca6bb004
UD
42051 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42052 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42053
052fa7b3
AS
420542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42055
42056 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42057
962dba78
UD
420582010-08-12 Ulrich Drepper <drepper@redhat.com>
42059
42060 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42061 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42062 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42063
bebff237
AM
420642010-05-01 Alan Modra <amodra@gmail.com>
42065
42066 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42067 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42068 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42069 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42070 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42071 tidying. Don't tail-call __sigjmp_save for static lib.
42072 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42073 save location.
42074 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42075 (CALL_MCOUNT): Add eh info, and nop after bl.
42076 (TAIL_CALL_SYSCALL_ERROR): New macro.
42077 (PSEUDO_RET): Use it.
42078 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42079 Correct save location of integer regs and cr.
42080 (_dl_profile_resolve): Correct cr save location. Delete nops
42081 after bl when SHARED. Reduce cfi size a little by better
42082 placement of cfi directives.
42083 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42084 make a stack frame. Instead use parm save area as a temp.
42085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42086 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42088 Don't make a stack frame for parent, use parm save area.
42089 Increase child stack frame to 112 bytes. Don't save unused reg,
42090 and adjust reg usage. Set up cfi on error recovery and
42091 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42093 (__makecontext): Add dummy nop after jump to exit.
42094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42095 Use correct parm save area and cr save, reduce stack frame.
42096 Correct cfi for possible PSEUDO_RET frame setup.
42097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42098 Branch to local label emitted by PSEUDO_RET rather than
42099 __syscall_error.
42100
02637374
AS
421012010-08-12 Andreas Schwab <schwab@redhat.com>
42102
42103 [BZ #11904]
42104 * locale/programs/locale.c (print_assignment): New function.
42105 (show_locale_vars): Use it.
42106
c3e2f19b
UD
421072010-08-11 Ulrich Drepper <drepper@redhat.com>
42108
3cdaa6ad
UD
42109 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42110 field.
42111 (struct statfs64): Likewise.
42112 (_STATFS_F_FLAGS): Define.
42113 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42114 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42115 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42116 (ST_VALID): Define locally.
42117 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42118 __statvfs_getflags, use the provided value.
42119 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42120 __ASSUME_STATFS_F_FLAGS.
42121
754f7da3
UD
42122 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42123
10b3bedc
UD
42124 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42125 Add sys/fanotify.h.
42126 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42127 fanotify_mask for GLIBC_2.13.
42128 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42129 fanotify_init and fanotify_mark.
42130 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42131 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42132
c08fb0d7
UD
42133 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42134 Add prlimit.
42135 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42136 prlimit64 for GLIBC_2.13.
42137 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42138 prlimit64.
42139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42140 syscall.
42141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42142 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42143 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42144 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42146 add prlimit alias.
42147 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42148
15bac72b
UD
42149 [BZ #11903]
42150 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42151 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42152
c3e2f19b
UD
42153 * nss/Makefile: Add rules to build and run tst-nss-test1.
42154 * shlib-versions: Add entry for libnss_test1.
42155 * nss/nss_test1.c: New file.
42156 * nss/tst-nss-test1.c: New file.
42157
42158 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42159 (__nss_configure_lookup): Set appropriate entry in
42160 __nss_configure_lookup to true.
42161 * nss/nsswitch.h: Define enum with indeces of databases in
42162 databases and __nss_database_custom arrays. Declare
42163 __nss_database_custom.
42164 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42165 to avoid using nscd when custom rules are installed.
42166 * nss/getXXbyYY_r.c: Likewise.
42167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42168
42169 * nss/nss_files/files-parse.c: Whitespace fixes.
42170
f15ce4d8
UD
421712010-08-09 Ulrich Drepper <drepper@redhat.com>
42172
42173 [BZ #11883]
42174 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42175 * posix/fnmatch_loop.c: Likewise.
42176
d22e4cc9
AK
421772010-07-17 Andi Kleen <ak@linux.intel.com>
42178
42179 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42180 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42181 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42182 * Versions.def [GLIBC_2.13]: Add.
42183
805bc17d
UD
421842010-08-06 Ulrich Drepper <drepper@redhat.com>
42185
42186 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42187 Also fail if tpwd after pwuid call is NULL.
42188
5a42321d
ST
421892010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42190
42191 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42192 when converting to ms.
42193
fd3ebeda
ST
421942010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42195
42196 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42197 EOPNOTSUPP errors with ENOTTY.
42198 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42199 EOPNOTSUPP errors with ENOTTY.
42200
73507d3a
UD
422012010-07-31 Ulrich Drepper <drepper@redhat.com>
42202
42203 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42204 Add strcasecmp_l-ssse3.
42205 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42206 strcasecmp.
42207 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42208 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42209 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42210
fe36dd02
UD
422112010-07-30 Ulrich Drepper <drepper@redhat.com>
42212
66f6765a
UD
42213 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42214
42e08a54
UD
42215 * string/Makefile (strop-tests): Add strcasecmp.
42216 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42217 strcasecmp_l-nonascii.
42218 (gen-as-const-headers): Add locale-defines.sym.
42219 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42220 * sysdeps/x86_64/strcasecmp.S: New file.
42221 * sysdeps/x86_64/strcasecmp_l.S: New file.
42222 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42223 * sysdeps/x86_64/locale-defines.sym: New file.
42224 * string/test-strcasecmp.c: New file.
42225
fe36dd02
UD
42226 * string/test-strcasestr.c: Test both ends of the range of characters.
42227 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42228
48cbc0d6
RM
422292010-07-29 Roland McGrath <roland@redhat.com>
42230
76e6d6bc 42231 [BZ #11856]
48cbc0d6
RM
42232 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42233
880113d9
UD
422342010-07-27 Ulrich Drepper <drepper@redhat.com>
42235
42236 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42237 for ld.so.
42238
deb9cabb
AS
422392010-07-27 Andreas Schwab <schwab@redhat.com>
42240
42241 * manual/memory.texi (Malloc Tunable Parameters): Document
42242 M_PERTURB.
42243
1c7570ff
RM
422442010-07-26 Roland McGrath <roland@redhat.com>
42245
42246 [BZ #11840]
42247 * configure.in (-fgnu89-inline check): Set and substitute
42248 gnu89_inline, not libc_cv_gnu89_inline.
42249 * configure: Regenerated.
42250 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42251
24fb0f88
UD
422522010-07-26 Ulrich Drepper <drepper@redhat.com>
42253
42254 * string/test-strnlen.c: New file.
42255 * string/Makefile (strop-tests): Add strnlen.
42256 * string/tester.c (test_strnlen): Add a few more test cases.
42257 * string/tst-strlen.c: Better error reporting.
42258
42259 * sysdeps/x86_64/strnlen.S: New file.
42260
8e96b93a
UD
422612010-07-24 Ulrich Drepper <drepper@redhat.com>
42262
42263 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42264 lower-latency instructions.
42265
dbc676d4
UD
422662010-07-23 Ulrich Drepper <drepper@redhat.com>
42267
42268 * string/test-strcasestr.c: New file.
42269 * string/test-strstr.c: New file.
42270 * string/Makefile (strop-tests): Add strstr and strcasestr.
42271 * string/str-two-way.h: Don't undefine MAX.
42272 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42273
f6a31e0e
AS
422742010-07-21 Andreas Schwab <schwab@redhat.com>
42275
42276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42277 strcasestr-nonascii.
42278 (CFLAGS-strcasestr-nonascii.c): Define.
42279 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42280 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42281 Remove unused attribute.
42282
5dbc3b6c
RM
422832010-07-20 Roland McGrath <roland@redhat.com>
42284
42285 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42286 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42287 ld.so.cache was broken. With it, there is no way to disable dsocaps
42288 like LD_HWCAP_MASK can disable hwcaps.
42289
23d101d8
EPM
422902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42291
42292 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42293
cc9f2e47
UD
422942010-07-16 Ulrich Drepper <drepper@redhat.com>
42295
42296 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42297 call in strcasestr.
42298 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42299 __strcasestr_sse42_nonascii.
42300 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42301 strcasestr-nonascii.c.
42302 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42303
77c1b069
LM
423042010-06-15 Luis Machado <luisgpm@br.ibm.com>
42305
42306 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42307 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42308 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42309 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42310
440566c3
UD
423112010-07-09 Ulrich Drepper <drepper@redhat.com>
42312
42313 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42314 fcntl.
42315
5be9d05d
AS
423162010-07-06 Andreas Schwab <schwab@redhat.com>
42317
c30b7ee2 42318 [BZ #11577]
5be9d05d
AS
42319 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42320 dl_signal_cerror.
42321
8a492a67
UD
423222010-07-06 Ulrich Drepper <drepper@redhat.com>
42323
42324 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42325 _PC_PIPE_BUF using F_GETPIPE_SZ.
42326
713df3d5
RM
423272010-07-05 Roland McGrath <roland@redhat.com>
42328
42329 * manual/arith.texi (Rounding Functions): Fix rint description
42330 implicit in round description.
42331
702e8f14
UD
423322010-07-02 Ulrich Drepper <drepper@redhat.com>
42333
42334 * elf/Makefile: Fix linking for a few tests to make recent linker
42335 happy.
42336
52ed8be9
AS
423372010-06-30 Andreas Schwab <schwab@redhat.com>
42338
42339 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42340 $(common-objpfx)libc_nonshared.a.
42341
f47c9a11
LM
423422010-06-21 Luis Machado <luisgpm@br.ibm.com>
42343
42344 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42345 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42346 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42347 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42348 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42349 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42350 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42351 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42366 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42367 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42368 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42369 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42370 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42371 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42372 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42373 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42374 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42375 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42376 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42377 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42392
6fb8cbcb
L
423932010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42394
42395 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42396 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42397 * string/memmove.c (memmove): Renamed to ...
42398 (MEMMOVE): ...this. Default to memmove.
42399 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42400 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42401 (END_CHK): Define.
42402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42403 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42404 mempcpy-ssse3-back memmove-ssse3-back.
42405 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42406 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42408 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42409 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42410 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42411 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42412 * sysdeps/x86_64/multiarch/memmove.c: New file.
42413 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42414 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42415 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42416 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42417 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42418 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42419 Define.
42420 (index_Fast_Copy_Backward): Define.
42421 (HAS_ARCH_FEATURE): Define.
42422 (HAS_FAST_REP_STRING): Define.
42423 (HAS_FAST_COPY_BACKWARD): Define.
42424
4e733bac 424252010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42426
42427 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42428 Restore proper fallback handling.
42429
63c4ed22
UD
424302010-06-19 Ulrich Drepper <drepper@redhat.com>
42431
ac2b484c
UD
42432 [BZ #11701]
42433 * posix/group_member.c (__group_member): Correct checking loop.
42434
63c4ed22
UD
42435 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42436 OOM in getpwuid_r correctly. Return error number when the caller
42437 should return, otherwise -1.
42438 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42439 call returning > 0 value.
42440 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42441
765ade4b
AS
424422010-06-07 Andreas Schwab <schwab@redhat.com>
42443
42444 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42445 libc_nonshared.a from targets in modules-names.
42446
80da2e09
KS
424472010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42448
42449 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42450 requires it.
42451
158db122
LM
424522010-06-10 Luis Machado <luisgpm@br.ibm.com>
42453
42454 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42455 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42457 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42458
caa78cf8
AS
424592010-06-02 Andreas Schwab <schwab@redhat.com>
42460
42461 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42462
b2ef2c01
UD
424632010-06-14 Ulrich Drepper <drepper@redhat.com>
42464
42465 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42466 and F_GETPIPE_SZ.
42467 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42468 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42471 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42472 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42473
fbd643b6
RM
424742010-06-14 Roland McGrath <roland@redhat.com>
42475
42476 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42477
f32f2869
JJ
424782010-06-07 Jakub Jelinek <jakub@redhat.com>
42479
42480 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42481 __REDIRECT followed by __THROW.
42482 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42483 * posix/getopt.h (getopt): Likewise.
42484
2a50c078
EPM
424852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42486
42487 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42488 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42489 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42490 in AT_FLAGS.
42491 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42492 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42493
eb5ad2eb
LM
424942010-05-28 Luis Machado <luisgpm@br.ibm.com>
42495
42496 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42497
3c88fe1e
L
424982010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42499
42500 [BZ #11640]
42501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42502 Properly check family and model.
42503
d2f73151
TY
425042010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42505
42506 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42507
ebd2e13d
LM
425082010-05-24 Luis Machado <luisgpm@br.ibm.com>
42509
42510 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42511
b32b8b45
UD
425122010-05-21 Ulrich Drepper <drepper@redhat.com>
42513
42514 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42515 symbol reference.
42516
9acbe24d
AS
425172010-05-19 Andreas Schwab <schwab@redhat.com>
42518
42519 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42520 symbol reference.
42521
f0ccf6ea
AS
425222010-05-21 Andreas Schwab <schwab@redhat.com>
42523
3d04ff3a
AS
42524 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42525 and internal_recvmmsg.
42526 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42527 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42528 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42529 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42530
f0ccf6ea
AS
42531 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42532 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42533 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42534
5b08ac57
AS
425352010-05-20 Andreas Schwab <schwab@redhat.com>
42536
42537 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42538
4828935d
LM
425392010-05-17 Luis Machado <luisgpm@br.ibm.com>
42540
42541 POWER7 optimizations.
42542 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42543 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42544
373d545e
UD
425452010-05-19 Ulrich Drepper <drepper@redhat.com>
42546
42547 * version.h: Update for 2.13 development version.
42548
21a2b1ae
AS
425492010-05-12 Andrew Stubbs <ams@codesourcery.com>
42550
42551 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42552 exceptions. Return 0.
42553
3f7dcb2b
RM
425542010-05-07 Roland McGrath <roland@redhat.com>
42555
42556 * elf/ldconfig.c (main): Add a const.
42557
5f24d53a 425582010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42559
a160f8d8
UD
42560 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42561 (args_options): Add no-idn option.
42562 (ahosts_keys_int): Add idn_flags to ai_flags.
42563 (parse_option): Handle 'i' option to clear idn_flags.
42564
5f24d53a
UD
42565 * malloc/malloc.c (_int_free): Possible race in the most recently
42566 added check. Only act on the data if no current modification
42567 happened.
265bb1ce
UD
42568
42569See ChangeLog.17 for earlier changes.