]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
S390: Correct type of sa_flags in struct sigaction for POSIX conformance
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a2d86bf1
SL
12014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2
3 [BZ #16713]
4 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5 (__glibc_reserved0): New variable.
6 (sa_flags): Change type to int.
7
78b6eebc
SL
82014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9
10 * posix/Makefile (before-compile): Use += before-compile instead
11 of a :=.
12
f1399b5a
SL
132014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14
15 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17
a071766e
AS
182014-03-20 Andreas Schwab <schwab@suse.de>
19
20 [BZ #16743]
21 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22 non-matching result from nscd.
23
27c673b8
SP
242014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25
26 * scripts/bench.py: Moved to ...
27 * benchtests/scripts/bench.py: ... here.
28 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29
44152e4b
AS
302014-03-24 Andreas Schwab <schwab@suse.de>
31
32 [BZ #16002]
33 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34 alloca_account and account alloca use for struct in6ailist.
35
b376a11a
JM
362014-03-24 Joseph Myers <joseph@codesourcery.com>
37
38 [BZ #16284]
39 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
40 rounding mode to recompute results that overflow to infinity or
41 underflow to zero.
42 * math/auto-libm-test-in: Don't mark tests as expected to fail for
43 bug 16284.
44 * math/auto-libm-test-out: Regenerated.
45 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
46 (ccosh_test): Likewise.
47 (csin_test_data): Use plus_oflow.
48 (csin_test): Use ALL_RM_TEST.
49 (csinh_test_data): Use plus_oflow.
50 (csinh_test): Use ALL_RM_TEST.
51 * sysdeps/i386/fpu/libm-test-ulps: Update.
52 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53
f7be7376
JM
542014-03-21 Joseph Myers <joseph@codesourcery.com>
55
1ca2d03e
JM
56 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
57 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
58 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
59
f7be7376
JM
60 [BZ #16731]
61 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
62 when x - 1 is zero.
63 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
64 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
65 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
66 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
67 argument is 1.
68 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
69 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
70 zero.
71 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
72 * sysdeps/i386/fpu/libm-test-ulps: Update.
73 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74
fdf4534d
SP
752014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
76
df26ea53
SP
77 * scripts/bench.pl: Remove file.
78 * scripts/bench.py: New benchmark script.
79 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
80 * benchtests/README: Mention python dependency.
81 * scripts/pylintrc: New file.
82 * scripts/pylint: New file.
83
fdf4534d
SP
84 * bits/mathdef.h: Use #ifdef instead of #if.
85 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
86 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
87 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
88 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
89 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
90 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
91
6f23d093
AZ
922014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
93 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
94
95 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
96 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
97 and strpbrk-ppc64 objects.
98 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
99 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
100 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
101 multiarch strpbrk for POWER7.
102 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
103 multiarch strpbrk for PPC64.
104 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
105 ifunc selector.
106 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
107 strpbrk for POWER7.
108
8c92dfff
JM
1092014-03-20 Joseph Myers <joseph@codesourcery.com>
110
111 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
112 (atan_test): Likewise.
113 (atanh_test_data): Use NO_TEST_INLINE for two tests.
114 (atanh_test): Use ALL_RM_TEST.
115 (atan2_test_data): Likewise.
116 (cabs_test): Likewise.
117 (cacosh_test): Likewise.
118 (carg_test): Likewise.
119 (casin_test): Likewise.
120 (casinh_test): Likewise.
121 (cbrt_test): Likewise.
122 (csqrt_test): Likewise.
123 (erf_test): Likewise.
124 (erfc_test): Likewise.
125 (pow10_test): Likewise.
126 (exp2_test): Likewise.
127 (hypot_test): Likewise.
128 (j0_test): Likewise.
129 (j1_test): Likewise.
130 (lgamma_test): Likewise.
131 (gamma_test): Likewise.
132 (sincos_test): Likewise.
133 (tanh_test): Likewise.
134 (y0_test): Likewise.
135 (y1_test): Likewise.
136 * sysdeps/i386/fpu/libm-test-ulps: Update.
137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
138
6eaf95cb
AZ
1392014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
140
a387428c
SP
141 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
143 and strcspn-ppc64 objects.
144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
145 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
146 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
147 multiarch strcspn for POWER7.
148 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
149 multiarch strcspn for PPC64.
150 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
151 ifunc selector.
152 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
153 strcspn for POWER7.
154
ae3a5dff
JM
1552014-03-20 Joseph Myers <joseph@codesourcery.com>
156
157 * math/gen-libm-test.pl (generate_testfile): Expect only function
158 name as argument to AUTO_TESTS_* and pass results for all rounding
159 modes to parse_args.
160 (parse_auto_input): Separate inputs of automatic tests from
161 outputs before storing in %auto_tests.
162 * math/libm-test.inc (acos_test_data): Update call to
163 AUTO_TESTS_f_f.
164 (acos_test): Use ALL_RM_TEST.
165 (acos_tonearest_test_data): Remove.
166 (acos_test_tonearest): Likewise.
167 (acos_towardzero_test_data): Likewise.
168 (acos_test_towardzero): Likewise.
169 (acos_downward_test_data): Likewise.
170 (acos_test_downward): Likewise.
171 (acos_upward_test_data): Likewise.
172 (acos_test_upward): Likewise.
173 (acosh_test_data): Update call to AUTO_TESTS_f_f.
174 (asin_test_data): Likewise.
175 (asin_test): Use ALL_RM_TEST.
176 (asin_tonearest_test_data): Remove.
177 (asin_test_tonearest): Likewise.
178 (asin_towardzero_test_data): Likewise.
179 (asin_test_towardzero): Likewise.
180 (asin_downward_test_data): Likewise.
181 (asin_test_downward): Likewise.
182 (asin_upward_test_data): Likewise.
183 (asin_test_upward): Likewise.
184 (asinh_test_data): Update call to AUTO_TESTS_f_f.
185 (atan_test_data): Likewise.
186 (atanh_test_data): Likewise.
187 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
188 (cabs_test_data): Update call to AUTO_TESTS_c_f.
189 (carg_test_data): Likewise.
190 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
191 (ccos_test_data): Update call to AUTO_TESTS_c_c.
192 (ccosh_test_data): Likewise.
193 (cexp_test_data): Likewise.
194 (clog_test_data): Likewise.
195 (clog10_test_data): Likewise.
196 (cos_test_data): Update call to AUTO_TESTS_f_f.
197 (cos_test): Use ALL_RM_TEST.
198 (cos_tonearest_test_data): Remove.
199 (cos_test_tonearest): Likewise.
200 (cos_towardzero_test_data): Likewise.
201 (cos_test_towardzero): Likewise.
202 (cos_downward_test_data): Likewise.
203 (cos_test_downward): Likewise.
204 (cos_upward_test_data): Likewise.
205 (cos_test_upward): Likewise.
206 (cosh_test_data): Update call to AUTO_TESTS_f_f.
207 (cosh_test): Use ALL_RM_TEST.
208 (cosh_tonearest_test_data): Remove.
209 (cosh_test_tonearest): Likewise.
210 (cosh_towardzero_test_data): Likewise.
211 (cosh_test_towardzero): Likewise.
212 (cosh_downward_test_data): Likewise.
213 (cosh_test_downward): Likewise.
214 (cosh_upward_test_data): Likewise.
215 (cosh_test_upward): Likewise.
216 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
217 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
218 (ctan_test_data): Likewise.
219 (ctan_test): Use ALL_RM_TEST.
220 (ctan_tonearest_test_data): Remove.
221 (ctan_test_tonearest): Likewise.
222 (ctan_towardzero_test_data): Likewise.
223 (ctan_test_towardzero): Likewise.
224 (ctan_downward_test_data): Likewise.
225 (ctan_test_downward): Likewise.
226 (ctan_upward_test_data): Likewise.
227 (ctan_test_upward): Likewise.
228 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
229 (ctanh_test): Use ALL_RM_TEST.
230 (ctanh_tonearest_test_data): Remove.
231 (ctanh_test_tonearest): Likewise.
232 (ctanh_towardzero_test_data): Likewise.
233 (ctanh_test_towardzero): Likewise.
234 (ctanh_downward_test_data): Likewise.
235 (ctanh_test_downward): Likewise.
236 (ctanh_upward_test_data): Likewise.
237 (ctanh_test_upward): Likewise.
238 (erf_test_data): Update call to AUTO_TESTS_f_f.
239 (erfc_test_data): Likewise.
240 (exp_test_data): Likewise.
241 (exp_test): Use ALL_RM_TEST.
242 (exp_tonearest_test_data): Remove.
243 (exp_test_tonearest): Likewise.
244 (exp_towardzero_test_data): Likewise.
245 (exp_test_towardzero): Likewise.
246 (exp_downward_test_data): Likewise.
247 (exp_test_downward): Likewise.
248 (exp_upward_test_data): Likewise.
249 (exp_test_upward): Likewise.
250 (exp10_test_data): Update call to AUTO_TESTS_f_f.
251 (exp10_test): Use ALL_RM_TEST.
252 (exp10_tonearest_test_data): Remove.
253 (exp10_test_tonearest): Likewise.
254 (exp10_towardzero_test_data): Likewise.
255 (exp10_test_towardzero): Likewise.
256 (exp10_downward_test_data): Likewise.
257 (exp10_test_downward): Likewise.
258 (exp10_upward_test_data): Likewise.
259 (exp10_test_upward): Likewise.
260 (exp2_test_data): Update call to AUTO_TESTS_f_f.
261 (expm1_test_data): Likewise.
262 (expm1_test): Use ALL_RM_TEST.
263 (expm1_tonearest_test_data): Remove.
264 (expm1_test_tonearest): Likewise.
265 (expm1_towardzero_test_data): Likewise.
266 (expm1_test_towardzero): Likewise.
267 (expm1_downward_test_data): Likewise.
268 (expm1_test_downward): Likewise.
269 (expm1_upward_test_data): Likewise.
270 (expm1_test_upward): Likewise.
271 (fma_test_data): Update call to AUTO_TESTS_fff_f.
272 (fma_test): Use ALL_RM_TEST.
273 (fma_towardzero_test_data): Remove.
274 (fma_test_towardzero): Likewise.
275 (fma_downward_test_data): Likewise.
276 (fma_test_downward): Likewise.
277 (fma_upward_test_data): Likewise.
278 (fma_test_upward): Likewise.
279 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
280 (j0_test_data): Update call to AUTO_TESTS_f_f.
281 (j1_test_data): Likewise.
282 (jn_test_data): Update call to AUTO_TESTS_if_f.
283 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
284 (log_test_data): Update call to AUTO_TESTS_f_f.
285 (log10_test_data): Likewise.
286 (log1p_test_data): Likewise.
287 (log2_test_data): Likewise.
288 (pow_test_data): Update call to AUTO_TESTS_ff_f.
289 (pow_tonearest_test_data): Likewise.
290 (sin_test_data): Update call to AUTO_TESTS_f_f.
291 (sin_test): Use ALL_RM_TEST.
292 (sin_tonearest_test_data): Remove.
293 (sin_test_tonearest): Likewise.
294 (sin_towardzero_test_data): Likewise.
295 (sin_test_towardzero): Likewise.
296 (sin_downward_test_data): Likewise.
297 (sin_test_downward): Likewise.
298 (sin_upward_test_data): Likewise.
299 (sin_test_upward): Likewise.
300 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
301 (sinh_test_data): Update call to AUTO_TESTS_f_f.
302 (sinh_test): Use ALL_RM_TEST.
303 (sinh_tonearest_test_data): Remove.
304 (sinh_test_tonearest): Likewise.
305 (sinh_towardzero_test_data): Likewise.
306 (sinh_test_towardzero): Likewise.
307 (sinh_downward_test_data): Likewise.
308 (sinh_test_downward): Likewise.
309 (sinh_upward_test_data): Likewise.
310 (sinh_test_upward): Likewise.
311 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
312 (sqrt_test): Use ALL_RM_TEST.
313 (sqrt_tonearest_test_data): Remove.
314 (sqrt_test_tonearest): Likewise.
315 (sqrt_towardzero_test_data): Likewise.
316 (sqrt_test_towardzero): Likewise.
317 (sqrt_downward_test_data): Likewise.
318 (sqrt_test_downward): Likewise.
319 (sqrt_upward_test_data): Likewise.
320 (sqrt_test_upward): Likewise.
321 (tan_test_data): Update call to AUTO_TESTS_f_f.
322 (tan_test): Use ALL_RM_TEST.
323 (tan_tonearest_test_data): Remove.
324 (tan_test_tonearest): Likewise.
325 (tan_towardzero_test_data): Likewise.
326 (tan_test_towardzero): Likewise.
327 (tan_downward_test_data): Likewise.
328 (tan_test_downward): Likewise.
329 (tan_upward_test_data): Likewise.
330 (tan_test_upward): Likewise.
331 (tanh_test_data): Update call to AUTO_TESTS_f_f.
332 (tgamma_test_data): Likewise.
333 (y0_test_data): Likewise.
334 (y1_test_data): Likewise.
335 (yn_test_data): Update call to AUTO_TESTS_if_f.
336 (main): Do not call removed functions.
337
d71aeee8
JM
3382014-03-19 Joseph Myers <joseph@codesourcery.com>
339
340 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
341 (ldexp_test_data): Remove.
342 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
343 scalbn_test_data.
344 (scalb_test): Use ALL_RM_TEST.
345
baaf1ded
AS
3462014-03-19 Andreas Schwab <schwab@suse.de>
347
348 * nscd/nscd.service: Also invalidate netgroup cache on reload.
349
b1115e91
JM
3502014-03-19 Joseph Myers <joseph@codesourcery.com>
351
352 [BZ #16649]
353 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
354 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
355 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
356 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
357 (__ASSUME_PREADV): Undefine.
358 (__ASSUME_PWRITEV): Likewise.
359
0283ecca
RM
3602014-03-18 Roland McGrath <roland@hack.frob.com>
361
7d375303
RM
362 * bits/mman-linux.h: Add comment about non-Linux use.
363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
364 bits/mman-linux.h resting place.
365
0283ecca
RM
366 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
367 * bits/mman-linux.h: ... here.
368
aebe1003
AZ
3692014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
370
371 * conform/conformtest.pl: Add standard definition when calling C
372 preprocessor on data files.
373 (checknamespace): Remove unused variable.
374
b29b6bb8
JM
3752014-03-18 Joseph Myers <joseph@codesourcery.com>
376
377 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
378 minus_oflow, plus_uflow and minus_uflow in expected results.
379 * math/libm-test.inc (scalbn_test_data): Add more tests of
380 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
381 minus_uflow.
382 (scalbn_test): Use ALL_RM_TEST.
383 (scalbln_test_data): Add more tests of negative arguments. Use
384 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
385 (scalbln_test): Use ALL_RM_TEST.
386
c8f8fa15
RM
3872014-03-18 Roland McGrath <roland@hack.frob.com>
388
389 * scripts/abilist.awk: Ignore symbols marked with .hidden.
390
fede7a5f
WN
3912014-03-18 Will Newton <will.newton@linaro.org>
392
393 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
394 inaccurate comment.
395
80cf0a58
JM
3962014-03-18 Joseph Myers <joseph@codesourcery.com>
397
398 * Makerules [!subdir] (check-abi): Exit with error status if a
399 test failed.
400
b3620862
JM
4012014-03-17 Joseph Myers <joseph@codesourcery.com>
402
403 * math/libm-test.inc (nearbyint_test_data): Include all tests used
404 for rint. Include results for all rounding modes.
405 (nearbyint_test): Use ALL_RM_TEST.
406 (rint_test_data): Include all tests used for nearbyint.
407
788bba36
WN
4082014-03-17 Will Newton <will.newton@linaro.org>
409
04ec140a
WN
410 * nptl/sysdeps/pthread/pthread.h: Revert previous
411 change.
412
7579d8d5
WN
413 * sysdeps/generic/ldsodefs.h: Revert previous
414 change.
415
c15cf13a
WN
416 * libio/genops.c: Revert previous change.
417 * libio/libioP.h: Likewise.
418 * stdio-common/vfprintf.c: Likewise.
419
d0ac1324
WN
420 * sysdeps/generic/math_private.h: Revert previous
421 change.
422
9290130a
WN
423 * sysdeps/generic/math_private.h: Check whether
424 HAVE_RM_CTX is defined with #ifdef rather
425 than #if.
426
afb466fc
WN
427 * argp/argp-fmtstream.h: Check whether
428 __STRICT_ANSI__ is defined with #ifdef rather
429 than #if.
430 * argp/argp.h: Likewise.
431
f7efd7c3
WN
432 * libio/genops.c: Check whether
433 _IO_JUMPS_OFFSET is defined with #ifdef rather
434 than #if.
435 * libio/libioP.h: Likewise.
436 * stdio-common/vfprintf.c: Likewise.
437
53f1bed3
WN
438 * sysdeps/generic/ldsodefs.h: Check whether
439 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
440 than #if.
441
788bba36
WN
442 * nptl/sysdeps/pthread/pthread.h: Check
443 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
444 its value.
445
fcd89ebe
SP
4462014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
447
ae42bbc5
SP
448 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
449 setting O_APPEND.
450 * libio/tst-ftell-active-handler.c (do_append_test): Add a
451 test case.
452
ea33158c
SP
453 [BZ #16680]
454 * libio/fileops.c (_IO_file_open): Seek to end of file but
455 don't cache the offset.
456 (get_file_offset): Remove function.
457 (do_ftell): Use cached offset when available.
458 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
459 don't cache the offset.
460 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
461 case.
462 (do_one_test): Call it.
463 (do_ftell_test): Fix up expected old offset for a+ mode.
464 * libio/wfileops.c (do_ftell_wide): Used cached offset when
465 available.
466
b1dbb426
SP
467 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
468 up test status with function return status.
469 (do_write_test): Likewise.
470 (do_append_test): Likewise.
471
fcd89ebe
SP
472 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
473 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
474 Remove.
475
9962a2d3
JM
4762014-03-17 Joseph Myers <joseph@codesourcery.com>
477
478 * math/gen-libm-test.pl (parse_args): Handle results specified for
479 each rounding mode separately.
480 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
481 tests and results from lrint_tonearest_test_data,
482 lrint_towardzero_test_data, lrint_downward_test_data and
483 lrint_upward_test_data.
484 (lrint_test): Use ALL_RM_TEST.
485 (lrint_tonearest_test_data): Remove.
486 (lrint_test_tonearest): Likewise.
487 (lrint_towardzero_test_data): Likewise.
488 (lrint_test_towardzero): Likewise.
489 (lrint_downward_test_data): Likewise.
490 (lrint_test_downward): Likewise.
491 (lrint_upward_test_data): Likewise.
492 (lrint_test_upward): Likewise.
493 (llrint_test_data): Merge in per-rounding-mode tests and results
494 from llrint_tonearest_test_data, llrint_towardzero_test_data,
495 llrint_downward_test_data and llrint_upward_test_data.
496 (llrint_test): Use ALL_RM_TEST.
497 (llrint_tonearest_test_data): Remove.
498 (llrint_test_tonearest): Likewise.
499 (llrint_towardzero_test_data): Likewise.
500 (llrint_test_towardzero): Likewise.
501 (llrint_downward_test_data): Likewise.
502 (llrint_test_downward): Likewise.
503 (llrint_upward_test_data): Likewise.
504 (llrint_test_upward): Likewise.
505 (rint_test_data): Merge in per-rounding-mode tests and results
506 from rint_tonearest_test_data, rint_towardzero_test_data,
507 rint_downward_test_data and rint_upward_test_data. Add
508 per-rounding-mode results for tests not in those arrays.
509 (rint_test): Use ALL_RM_TEST.
510 (rint_tonearest_test_data): Remove.
511 (rint_test_tonearest): Likewise.
512 (rint_towardzero_test_data): Likewise.
513 (rint_test_towardzero): Likewise.
514 (rint_downward_test_data): Likewise.
515 (rint_test_downward): Likewise.
516 (rint_upward_test_data): Likewise.
517 (rint_test_upward): Likewise.
518 (main): Don't call removed functions.
519
5006148e
RM
5202014-03-14 Roland McGrath <roland@hack.frob.com>
521
522 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
523 "Compiled on ..." crapola. It is anti-useful.
524
d6fe5e58
JM
5252014-03-14 Joseph Myers <joseph@codesourcery.com>
526
527 * scripts/evaluate-test.sh: Handle fourth argument to determine
528 whether test run should stop on failure.
529 * Makeconfig (stop-on-test-failure): New variable.
530 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
531 $(stop-on-test-failure).
532 * Makefile (tests): Give a summary of results from testing and
533 exit with failure status if they include an ERROR or FAIL.
534 (xtests): Likewise.
535 * manual/install.texi (Configuring and compiling): Mention
536 stop-on-test-failure=y.
537 * INSTALL: Regenerated.
538
498a2233
RM
5392014-03-14 Roland McGrath <roland@hack.frob.com>
540
22dbc19d
RM
541 * scripts/versionlist.awk: New file.
542 * Makerules [$(build-shared) = yes]
543 (postclean-generated): Add Versions.def, not Versions.def.v and
544 Versions.def.v.i.
545 ($(common-objpfx)Versions.def.v.i): Target removed.
546 ($(common-objpfx)Versions.def): New target.
547 ($(common-objpfx)Versions.all): Depend on that rather that
548 $(common-objpfx)Versions.def.v.
549 * Versions.def: File removed.
550
498a2233
RM
551 * Makeconfig (+gccwarn): Add -Wundef.
552 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
553 a dl-sysdep.h breaking its contract.
554 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
555 * include/stackinfo.h: New file.
556 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
557 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
558 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
559 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
560 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
561 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
562 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
563 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
564 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
565 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
566 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
567 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
568 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
569 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
570 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
571
c7de5025
AZ
5722014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
573
574 [BZ #16707]
575 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
576 implementation.
577 * math/libm-test.inc (round_test_data): Add more tests.
578
98fb27a3
AZ
5792014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
580
581 [BZ #16706]
582 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
583 implementation.
584 * math/libm-test.inc (nearbyint_test_data): Add more tests.
585
374f7f61
AZ
5862014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
587
588 [BZ #16701]
589 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
590 implementation.
591 * math/libm-test.inc (ceil_test_data): Add more tests.
592
4655c291
AZ
5932014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
594
595 * math/libm-test.inc (trunc_test_data): Add more tests related to
596 BZ#16414.
597
d7329d4b
RM
5982014-03-14 Roland McGrath <roland@hack.frob.com>
599
600 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
601 with #if rather than #ifdef.
602 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
603
aa4de9ce
L
6042014-03-14 H.J. Lu <hongjiu.lu@intel.com>
605
606 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
607 first. Disable AVX-512 GCC support if assembler doesn't support
608 it.
609 * sysdeps/x86_64/configure: Regenerated.
610
2e03fae7
CD
6112014-03-13 Carlos O'Donell <carlos@redhat.com>
612
613 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
614 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
615 (__old_pthread_attr_setstack): Likewise.
616 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
617 [!_STACK_GROWS_DOWN]: Likewise.
618
43ca83ec
MF
6192014-03-13 Mike Frysinger <vapier@gentoo.org>
620
621 * config.make.in (have-bash2): Delete.
622 * configure.ac (libc_cv_have_bash2): Delete.
623 * configure: Regenerate.
624 * elf/Makefile (common-ldd-rewrite): Rename to ...
625 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
626 (sh-ldd-rewrite): Delete.
627 (bash-ldd-rewrite): Delete.
628 (have-bash2): Delete checks.
629 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
630
c66e48b4
MF
6312014-03-13 Mike Frysinger <vapier@gentoo.org>
632
633 * config.make.in (have-ksh): Delete.
634 (KSH): Delete.
635 * configure.ac (libc_cv_have_ksh): Delete.
636 * configure: Regenerate.
637
b93834ef
MF
6382014-03-13 Mike Frysinger <vapier@gentoo.org>
639
640 * elf/Makefile: Delete $(have-ksh) check.
641 ($(objpfx)sotruss): Change KSH to BASH.
642 * elf/sotruss.ksh: Rename to ...
643 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
644 function style to match POSIX. Drop ksh vim mode setting.
645
f3a4632a
MF
6462014-03-13 Mike Frysinger <vapier@gentoo.org>
647
648 * manual/time.texi (Specifying the Time Zone with TZ): Change
649 Tuesday to Thursday.
650
5896c8bd
MF
6512014-03-13 Mike Frysinger <vapier@gentoo.org>
652
653 * debug/tst-longjmp_chk2.c: Update header comment.
654 (stackoverflow_handler): Add comment. Call assert on pass value.
655
2d63a517
IZ
6562014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
657
658 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
659 (HAVE_AVX512_ASM_SUPPORT): Likewise.
660 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
661 (La_x86_64_vector): Add zmm.
662 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
663 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
664 ($(objpfx)tst-audit10): New target.
665 ($(objpfx)tst-audit10.out): Likewise.
666 (tst-audit10-ENV): New.
667 (AVX512-CFLAGS): Likewise.
668 (CFLAGS-tst-audit10.c): Likewise.
669 (CFLAGS-tst-auditmod10a.c): Likewise.
670 (CFLAGS-tst-auditmod10b.c): Likewise.
671 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
672 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
673 * sysdeps/x86_64/configure: Regenerated.
674 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
675 AVX-512 zmm register support.
676 (_dl_x86_64_save_sse): Likewise.
677 (_dl_x86_64_restore_sse): Likewise.
678 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
679 size vector registers.
680 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
681 (ZMM_SIZE): Likewise.
682 * sysdeps/x86_64/tst-audit10.c: New file.
683 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
684 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
685
44c4e5d5
RM
6862014-03-13 Roland McGrath <roland@hack.frob.com>
687
688 * configure.ac (HAVE_EHDR_START): New check.
689 * configure: Regenerated.
690 * config.h.in (HAVE_EHDR_START): New #undef.
691 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
692 assuming the lowest-addressed segment maps the start of the file.
693
acd6e389
JM
6942014-03-13 Joseph Myers <joseph@codesourcery.com>
695
696 * INSTALL: Regenerated.
697
6f918f36
WN
6982014-03-13 Will Newton <will.newton@linaro.org>
699
700 * manual/setjmp.texi (System V contexts): Improve
701 clarity and grammar of documentation.
702
798212a0
PP
7032014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
704
705 [BZ #16381]
798212a0 706 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 707 (tests-pie): Add tst-pie2.
798212a0
PP
708 * elf/tst-pie2.c: New file.
709 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
710 for ET_EXEC.
711 * elf/rtld.c (map_doit): Load executable as lt_executable.
712 (dl_main): Likewise.
713
abe6d90c
JM
7142014-03-12 Joseph Myers <joseph@codesourcery.com>
715
716 [BZ #16642]
717 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
718 (__ASSUME_PSELECT): Undefine.
719
dd3946c6
AZ
7202014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
721
722 [BZ #16689]
723 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
724 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
725 static build.
726 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
727 selector for static builds.
728
c44496df
SP
7292014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
730
731 [BZ #16695]
732 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
733 key in the buffer.
734
27c7220a
AZ
7352014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
736
737 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
738 selector for static builds.
739
600fa361
JM
7402014-03-11 Joseph Myers <joseph@codesourcery.com>
741
76c96cf7
JM
742 * sysdeps/mips/math_private.h [__mips_hard_float]
743 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
744 libc_feresetround_mips_ctx.
745 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
746 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
747 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
748
600fa361
JM
749 [BZ #16677]
750 * math/s_nextafter.c (__nextafter): Do not return value from
751 overflowing computation.
752 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
753 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
754 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
755 Likewise.
756 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
757 Likewise.
758 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
759 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
760
d7706c32
RM
7612014-03-11 Roland McGrath <roland@hack.frob.com>
762
763 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
764 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
765 Move sfi_sp use from the load-multiple (that no longer sets sp) to
766 the new mov targetting sp.
767
4facea47
AZ
7682014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
769
770 [BZ #16683]
771 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
772 Define it for static builds as well.
773 (NO_BZERO_IMPL): Likewise.
774
e65caf1f
VR
7752014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
776
777 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
778 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
779 multiarch strspn for PPC64.
780 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
781 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
783 (__libc_ifunc_impl_list): Likewise.
784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
785 multiarch optimizations
786 * string/strspn.c (strspn): Using macro to redefine symbol name.
787
ba9cc071
AZ
7882014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
789 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
790
791 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
792 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
793 multiarch strncat for PPC64.
794 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
795 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
797 (__libc_ifunc_impl_list): Likewise.
798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
799 multiarch optimizations
800
8b4ff974
SP
8012014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
802
803 [BZ #16639]
804 * nscd/nscd.service: Make service type forking.
805
54b46a4b
AZ
8062014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
807
808 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
809 sign in non default rounding modes.
810 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
811
e9996ef7
JM
8122014-03-08 Joseph Myers <joseph@codesourcery.com>
813
814 * math/libm-test.inc (ALL_RM_TEST): New macro.
815 (ceil_test): Use ALL_RM_TEST.
816 (cimag_test): Likewise.
817 (conj_test): Likewise.
818 (copysign_test): Likewise.
819 (cproj_test): Likewise.
820 (creal_test): Likewise.
821 (fabs_test): Likewise.
822 (floor_test): Likewise.
823 (fmax_test): Likewise.
824 (fmin_test): Likewise.
825 (fmod_test): Likewise.
826 (fpclassify_test): Likewise.
827 (frexp_test): Likewise.
828 (ilogb_test): Likewise.
829 (isfinite_test): Likewise.
830 (finite_test): Likewise.
831 (isgreater_test): Likewise.
832 (isgreaterequal_test): Likewise.
833 (isinf_test): Likewise.
834 (isless_test): Likewise.
835 (islessequal_test): Likewise.
836 (islessgreater_test): Likewise.
837 (isnan_test): Likewise.
838 (isnormal_test): Likewise.
839 (issignaling_test): Likewise.
840 (isunordered_test): Likewise.
841 (logb_test): Likewise.
842 (logb_downward_test_data): Remove.
843 (logb_test_downward): Likewise.
844 (lround_test): Use ALL_RM_TEST.
845 (llround_test): Likewise.
846 (modf_test): Likewise.
847 (nexttoward_test): Likewise.
848 (remainder_test): Likewise.
849 (drem_test): Likewise.
850 (remainder_tonearest_test_data): Likewise.
851 (remainder_test_tonearest): Likewise.
852 (drem_test_tonearest): Likewise.
853 (remainder_towardzero_test_data): Likewise.
854 (remainder_test_towardzero): Likewise.
855 (drem_test_towardzero): Likewise.
856 (remainder_downward_test_data): Likewise.
857 (remainder_test_downward): Likewise.
858 (drem_test_downward): Likewise.
859 (remainder_upward_test_data): Likewise.
860 (remainder_test_upward): Likewise.
861 (drem_test_upward): Likewise.
862 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
863 (round_test): Use ALL_RM_TEST.
864 (signbit_test): Likewise.
865 (trunc_test): Likewise.
866 (significand_test): Likewise.
867 (main): Don't call removed functions.
868
bc61d27c
JM
8692014-03-07 Joseph Myers <joseph@codesourcery.com>
870
5c780849
JM
871 [BZ #16674]
872 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
873 || __USE_XOPEN2K8].
874 (ILL_ILLOPN): Likewise.
875 (ILL_ILLADR): Likewise.
876 (ILL_ILLTRP): Likewise.
877 (ILL_PRVOPC): Likewise.
878 (ILL_PRVREG): Likewise.
879 (ILL_COPROC): Likewise.
880 (ILL_BADSTK): Likewise.
881 (FPE_INTDIV): Likewise.
882 (FPE_INTOVF): Likewise.
883 (FPE_FLTDIV): Likewise.
884 (FPE_FLTOVF): Likewise.
885 (FPE_FLTUND): Likewise.
886 (FPE_FLTRES): Likewise.
887 (FPE_FLTINV): Likewise.
888 (FPE_FLTSUB): Likewise.
889 (SEGV_MAPERR): Likewise.
890 (SEGV_ACCERR): Likewise.
891 (BUS_ADRALN): Likewise.
892 (BUS_ADRERR): Likewise.
893 (BUS_OBJERR): Likewise.
894 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
895 (TRAP_TRACE): Likewise.
896 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
897 __USE_XOPEN2K8].
898 (CLD_KILLED): Likewise.
899 (CLD_DUMPED): Likewise.
900 (CLD_TRAPPED): Likewise.
901 (CLD_STOPPED): Likewise.
902 (CLD_CONTINUED): Likewise.
903 (POLL_IN): Likewise.
904 (POLL_OUT): Likewise.
905 (POLL_MSG): Likewise.
906 (POLL_ERR): Likewise.
907 (POLL_PRI): Likewise.
908 (POLL_HUP): Likewise.
909 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
910 Likewise.
911 (ILL_ILLOPN): Likewise.
912 (ILL_ILLADR): Likewise.
913 (ILL_ILLTRP): Likewise.
914 (ILL_PRVOPC): Likewise.
915 (ILL_PRVREG): Likewise.
916 (ILL_COPROC): Likewise.
917 (ILL_BADSTK): Likewise.
918 (FPE_INTDIV): Likewise.
919 (FPE_INTOVF): Likewise.
920 (FPE_FLTDIV): Likewise.
921 (FPE_FLTOVF): Likewise.
922 (FPE_FLTUND): Likewise.
923 (FPE_FLTRES): Likewise.
924 (FPE_FLTINV): Likewise.
925 (FPE_FLTSUB): Likewise.
926 (SEGV_MAPERR): Likewise.
927 (SEGV_ACCERR): Likewise.
928 (BUS_ADRALN): Likewise.
929 (BUS_ADRERR): Likewise.
930 (BUS_OBJERR): Likewise.
931 (BUS_MCEERR_AR): Likewise.
932 (BUS_MCEERR_AO): Likewise.
933 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
934 (TRAP_TRACE): Likewise.
935 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
936 __USE_XOPEN2K8].
937 (CLD_KILLED): Likewise.
938 (CLD_DUMPED): Likewise.
939 (CLD_TRAPPED): Likewise.
940 (CLD_STOPPED): Likewise.
941 (CLD_CONTINUED): Likewise.
942 (POLL_IN): Likewise.
943 (POLL_OUT): Likewise.
944 (POLL_MSG): Likewise.
945 (POLL_ERR): Likewise.
946 (POLL_PRI): Likewise.
947 (POLL_HUP): Likewise.
948 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
949 (ILL_ILLOPN): Likewise.
950 (ILL_ILLADR): Likewise.
951 (ILL_ILLTRP): Likewise.
952 (ILL_PRVOPC): Likewise.
953 (ILL_PRVREG): Likewise.
954 (ILL_COPROC): Likewise.
955 (ILL_BADSTK): Likewise.
956 (FPE_INTDIV): Likewise.
957 (FPE_INTOVF): Likewise.
958 (FPE_FLTDIV): Likewise.
959 (FPE_FLTOVF): Likewise.
960 (FPE_FLTUND): Likewise.
961 (FPE_FLTRES): Likewise.
962 (FPE_FLTINV): Likewise.
963 (FPE_FLTSUB): Likewise.
964 (SEGV_MAPERR): Likewise.
965 (SEGV_ACCERR): Likewise.
966 (BUS_ADRALN): Likewise.
967 (BUS_ADRERR): Likewise.
968 (BUS_OBJERR): Likewise.
969 (BUS_MCEERR_AR): Likewise.
970 (BUS_MCEERR_AO): Likewise.
971 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
972 (TRAP_TRACE): Likewise.
973 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
974 __USE_XOPEN2K8].
975 (CLD_KILLED): Likewise.
976 (CLD_DUMPED): Likewise.
977 (CLD_TRAPPED): Likewise.
978 (CLD_STOPPED): Likewise.
979 (CLD_CONTINUED): Likewise.
980 (POLL_IN): Likewise.
981 (POLL_OUT): Likewise.
982 (POLL_MSG): Likewise.
983 (POLL_ERR): Likewise.
984 (POLL_PRI): Likewise.
985 (POLL_HUP): Likewise.
986 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
987 Likewise.
988 (ILL_ILLOPN): Likewise.
989 (ILL_ILLADR): Likewise.
990 (ILL_ILLTRP): Likewise.
991 (ILL_PRVOPC): Likewise.
992 (ILL_PRVREG): Likewise.
993 (ILL_COPROC): Likewise.
994 (ILL_BADSTK): Likewise.
995 (ILL_BADIADDR): Likewise.
996 (ILL_BREAK): Likewise.
997 (FPE_INTDIV): Likewise.
998 (FPE_INTOVF): Likewise.
999 (FPE_FLTDIV): Likewise.
1000 (FPE_FLTOVF): Likewise.
1001 (FPE_FLTUND): Likewise.
1002 (FPE_FLTRES): Likewise.
1003 (FPE_FLTINV): Likewise.
1004 (FPE_FLTSUB): Likewise.
1005 (FPE_DECOVF): Likewise.
1006 (FPE_DECDIV): Likewise.
1007 (FPE_DECERR): Likewise.
1008 (FPE_INVASC): Likewise.
1009 (FPE_INVDEC): Likewise.
1010 (SEGV_MAPERR): Likewise.
1011 (SEGV_ACCERR): Likewise.
1012 (SEGV_PSTKOVF): Likewise.
1013 (BUS_ADRALN): Likewise.
1014 (BUS_ADRERR): Likewise.
1015 (BUS_OBJERR): Likewise.
1016 (BUS_MCEERR_AR): Likewise.
1017 (BUS_MCEERR_AO): Likewise.
1018 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1019 (TRAP_TRACE): Likewise.
1020 (TRAP_BRANCH): Likewise.
1021 (TRAP_HWBKPT): Likewise.
1022 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1023 __USE_XOPEN2K8].
1024 (CLD_KILLED): Likewise.
1025 (CLD_DUMPED): Likewise.
1026 (CLD_TRAPPED): Likewise.
1027 (CLD_STOPPED): Likewise.
1028 (CLD_CONTINUED): Likewise.
1029 (POLL_IN): Likewise.
1030 (POLL_OUT): Likewise.
1031 (POLL_MSG): Likewise.
1032 (POLL_ERR): Likewise.
1033 (POLL_PRI): Likewise.
1034 (POLL_HUP): Likewise.
1035 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1036 (ILL_ILLOPN): Likewise.
1037 (ILL_ILLADR): Likewise.
1038 (ILL_ILLTRP): Likewise.
1039 (ILL_PRVOPC): Likewise.
1040 (ILL_PRVREG): Likewise.
1041 (ILL_COPROC): Likewise.
1042 (ILL_BADSTK): Likewise.
1043 (FPE_INTDIV): Likewise.
1044 (FPE_INTOVF): Likewise.
1045 (FPE_FLTDIV): Likewise.
1046 (FPE_FLTOVF): Likewise.
1047 (FPE_FLTUND): Likewise.
1048 (FPE_FLTRES): Likewise.
1049 (FPE_FLTINV): Likewise.
1050 (FPE_FLTSUB): Likewise.
1051 (SEGV_MAPERR): Likewise.
1052 (SEGV_ACCERR): Likewise.
1053 (BUS_ADRALN): Likewise.
1054 (BUS_ADRERR): Likewise.
1055 (BUS_OBJERR): Likewise.
1056 (BUS_MCEERR_AR): Likewise.
1057 (BUS_MCEERR_AO): Likewise.
1058 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1059 (TRAP_TRACE): Likewise.
1060 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1061 __USE_XOPEN2K8].
1062 (CLD_KILLED): Likewise.
1063 (CLD_DUMPED): Likewise.
1064 (CLD_TRAPPED): Likewise.
1065 (CLD_STOPPED): Likewise.
1066 (CLD_CONTINUED): Likewise.
1067 (POLL_IN): Likewise.
1068 (POLL_OUT): Likewise.
1069 (POLL_MSG): Likewise.
1070 (POLL_ERR): Likewise.
1071 (POLL_PRI): Likewise.
1072 (POLL_HUP): Likewise.
1073 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1074 (ILL_ILLOPN): Likewise.
1075 (ILL_ILLADR): Likewise.
1076 (ILL_ILLTRP): Likewise.
1077 (ILL_PRVOPC): Likewise.
1078 (ILL_PRVREG): Likewise.
1079 (ILL_COPROC): Likewise.
1080 (ILL_BADSTK): Likewise.
1081 (FPE_INTDIV): Likewise.
1082 (FPE_INTOVF): Likewise.
1083 (FPE_FLTDIV): Likewise.
1084 (FPE_FLTOVF): Likewise.
1085 (FPE_FLTUND): Likewise.
1086 (FPE_FLTRES): Likewise.
1087 (FPE_FLTINV): Likewise.
1088 (FPE_FLTSUB): Likewise.
1089 (SEGV_MAPERR): Likewise.
1090 (SEGV_ACCERR): Likewise.
1091 (BUS_ADRALN): Likewise.
1092 (BUS_ADRERR): Likewise.
1093 (BUS_OBJERR): Likewise.
1094 (BUS_MCEERR_AR): Likewise.
1095 (BUS_MCEERR_AO): Likewise.
1096 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1097 (TRAP_TRACE): Likewise.
1098 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1099 __USE_XOPEN2K8].
1100 (CLD_KILLED): Likewise.
1101 (CLD_DUMPED): Likewise.
1102 (CLD_TRAPPED): Likewise.
1103 (CLD_STOPPED): Likewise.
1104 (CLD_CONTINUED): Likewise.
1105 (POLL_IN): Likewise.
1106 (POLL_OUT): Likewise.
1107 (POLL_MSG): Likewise.
1108 (POLL_ERR): Likewise.
1109 (POLL_PRI): Likewise.
1110 (POLL_HUP): Likewise.
1111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1112 (ILL_ILLOPN): Likewise.
1113 (ILL_ILLADR): Likewise.
1114 (ILL_ILLTRP): Likewise.
1115 (ILL_PRVOPC): Likewise.
1116 (ILL_PRVREG): Likewise.
1117 (ILL_COPROC): Likewise.
1118 (ILL_BADSTK): Likewise.
1119 (FPE_INTDIV): Likewise.
1120 (FPE_INTOVF): Likewise.
1121 (FPE_FLTDIV): Likewise.
1122 (FPE_FLTOVF): Likewise.
1123 (FPE_FLTUND): Likewise.
1124 (FPE_FLTRES): Likewise.
1125 (FPE_FLTINV): Likewise.
1126 (FPE_FLTSUB): Likewise.
1127 (SEGV_MAPERR): Likewise.
1128 (SEGV_ACCERR): Likewise.
1129 (BUS_ADRALN): Likewise.
1130 (BUS_ADRERR): Likewise.
1131 (BUS_OBJERR): Likewise.
1132 (BUS_MCEERR_AR): Likewise.
1133 (BUS_MCEERR_AO): Likewise.
1134 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1135 (TRAP_TRACE): Likewise.
1136 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1137 __USE_XOPEN2K8].
1138 (CLD_KILLED): Likewise.
1139 (CLD_DUMPED): Likewise.
1140 (CLD_TRAPPED): Likewise.
1141 (CLD_STOPPED): Likewise.
1142 (CLD_CONTINUED): Likewise.
1143 (POLL_IN): Likewise.
1144 (POLL_OUT): Likewise.
1145 (POLL_MSG): Likewise.
1146 (POLL_ERR): Likewise.
1147 (POLL_PRI): Likewise.
1148 (POLL_HUP): Likewise.
1149 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1150 (ILL_ILLOPN): Likewise.
1151 (ILL_ILLADR): Likewise.
1152 (ILL_ILLTRP): Likewise.
1153 (ILL_PRVOPC): Likewise.
1154 (ILL_PRVREG): Likewise.
1155 (ILL_COPROC): Likewise.
1156 (ILL_BADSTK): Likewise.
1157 (ILL_DBLFLT): Likewise.
1158 (ILL_HARDWALL): Likewise.
1159 (FPE_INTDIV): Likewise.
1160 (FPE_INTOVF): Likewise.
1161 (FPE_FLTDIV): Likewise.
1162 (FPE_FLTOVF): Likewise.
1163 (FPE_FLTUND): Likewise.
1164 (FPE_FLTRES): Likewise.
1165 (FPE_FLTINV): Likewise.
1166 (FPE_FLTSUB): Likewise.
1167 (SEGV_MAPERR): Likewise.
1168 (SEGV_ACCERR): Likewise.
1169 (BUS_ADRALN): Likewise.
1170 (BUS_ADRERR): Likewise.
1171 (BUS_OBJERR): Likewise.
1172 (BUS_MCEERR_AR): Likewise.
1173 (BUS_MCEERR_AO): Likewise.
1174 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1175 (TRAP_TRACE): Likewise.
1176 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1177 __USE_XOPEN2K8].
1178 (CLD_KILLED): Likewise.
1179 (CLD_DUMPED): Likewise.
1180 (CLD_TRAPPED): Likewise.
1181 (CLD_STOPPED): Likewise.
1182 (CLD_CONTINUED): Likewise.
1183 (POLL_IN): Likewise.
1184 (POLL_OUT): Likewise.
1185 (POLL_MSG): Likewise.
1186 (POLL_ERR): Likewise.
1187 (POLL_PRI): Likewise.
1188 (POLL_HUP): Likewise.
1189 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1190 (ILL_ILLOPN): Likewise.
1191 (ILL_ILLADR): Likewise.
1192 (ILL_ILLTRP): Likewise.
1193 (ILL_PRVOPC): Likewise.
1194 (ILL_PRVREG): Likewise.
1195 (ILL_COPROC): Likewise.
1196 (ILL_BADSTK): Likewise.
1197 (FPE_INTDIV): Likewise.
1198 (FPE_INTOVF): Likewise.
1199 (FPE_FLTDIV): Likewise.
1200 (FPE_FLTOVF): Likewise.
1201 (FPE_FLTUND): Likewise.
1202 (FPE_FLTRES): Likewise.
1203 (FPE_FLTINV): Likewise.
1204 (FPE_FLTSUB): Likewise.
1205 (SEGV_MAPERR): Likewise.
1206 (SEGV_ACCERR): Likewise.
1207 (BUS_ADRALN): Likewise.
1208 (BUS_ADRERR): Likewise.
1209 (BUS_OBJERR): Likewise.
1210 (BUS_MCEERR_AR): Likewise.
1211 (BUS_MCEERR_AO): Likewise.
1212 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1213 (TRAP_TRACE): Likewise.
1214 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1215 __USE_XOPEN2K8].
1216 (CLD_KILLED): Likewise.
1217 (CLD_DUMPED): Likewise.
1218 (CLD_TRAPPED): Likewise.
1219 (CLD_STOPPED): Likewise.
1220 (CLD_CONTINUED): Likewise.
1221 (POLL_IN): Likewise.
1222 (POLL_OUT): Likewise.
1223 (POLL_MSG): Likewise.
1224 (POLL_ERR): Likewise.
1225 (POLL_PRI): Likewise.
1226 (POLL_HUP): Likewise.
1227 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1228 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1229
bc61d27c
JM
1230 [BZ #16670]
1231 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1232 before #include of <time.h>.
1233 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1234 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1235 (test-xfail-UNIX98/sched.h/conform): Likewise.
1236
302949e2
MS
12372014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1238
1239 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1240 error absence of trapping exception support.
1241 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1242
a00f522a
JM
12432014-03-07 Joseph Myers <joseph@codesourcery.com>
1244
6f99f280
JM
1245 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1246 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1247 * timezone/Makefile (testdata): Move definition above include of
1248 Rules.
1249 (test-zones): New variable.
1250 (tests-special): Add zone files.
1251 (build-testdata): Use $(evaluate-test).
1252
0b20a9e8
JM
1253 * elf/Makefile (tests-special): Rename tests to end with .out.
1254 ($(objpfx)noload-mem): Likewise.
1255 ($(objpfx)tst-leaks1-mem): Likewise.
1256 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1257 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1258 $(objpfx)test-iconvconfig.out.
1259 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1260 set -e inside subshell and redirect output to file.
1261 * iconvdata/Makefile (generated): Rename tests to end with .out.
1262 Correct type.
1263 (tests-special): Rename tests to end with .out.
1264 ($(objpfx)mtrace-tst-loading): Likewise.
1265 * intl/Makefile (generated): Likewise.
1266 (tests-special): Likewise.
1267 ($(objpfx)mtrace-tst-gettext): Likewise.
1268 * misc/Makefile (generated): Likewise.
1269 (tests-special): Likewise.
1270 ($(objpfx)tst-error1-mem): Likewise.
1271 * nptl/Makefile (tests-special): Likewise.
1272 ($(objpfx)tst-stack3-mem): Likewise.
1273 (generated): Likewise.
1274 * posix/Makefile (generated): Likewise.
1275 (tests-special): Likewise.
1276 (xtests-special): Likewise.
1277 ($(objpfx)tst-fnmatch-mem): Likewise.
1278 ($(objpfx)bug-regex2-mem): Likewise.
1279 ($(objpfx)bug-regex14-mem): Likewise.
1280 ($(objpfx)bug-regex21-mem): Likewise.
1281 ($(objpfx)bug-regex31-mem): Likewise.
1282 ($(objpfx)tst-vfork3-mem): Likewise.
1283 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1284 ($(objpfx)tst-pcre-mem): Likewise.
1285 ($(objpfx)tst-boost-mem): Likewise.
1286 ($(objpfx)bug-ga2-mem): Likewise.
1287 ($(objpfx)bug-glob2-mem): Likewise.
1288 * resolv/Makefile (generate): Likewise.
1289 (tests-special): Likewise.
1290 (xtests-special): Likewise.
1291 (generated): Likewise.
1292 ($(objpfx)mtrace-tst-leaks): Likewise.
1293 ($(objpfx)mtrace-tst-leaks2): Likewise.
1294
265d52ab
JM
1295 * scripts/merge-test-results.sh: New file.
1296 * Makefile (tests-special-notdir): New variable.
1297 (tests): Run merge-test-results.sh.
1298 (xtests): Likewise.
1299 * Rules (tests-special-notdir): New variable.
1300 (xtests-special-notdir): Likewise.
1301 (tests): Run merge-test-results.sh
1302 (xtests): Likewise.
1303
54ee292d
JM
1304 * Makeconfig (test-xfail-name): New variable.
1305 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1306 compute variable name for expected failures.
1307 * conform/Makefile (conformtest-headers-data): New variable.
1308 (conformtest-standards): Likewise.
1309 (conformtest-headers-ISO): Likewise.
1310 (conformtest-headers-ISO99): Likewise.
1311 (conformtest-headers-ISO11): Likewise.
1312 (conformtest-headers-POSIX): Likewise.
1313 (conformtest-headers-XPG3): Likewise.
1314 (conformtest-headers-XPG4): Likewise.
1315 (conformtest-headers-UNIX98): Likewise.
1316 (conformtest-headers-XOPEN2K): Likewise.
1317 (conformtest-headers-POSIX2008): Likewise.
1318 (conformtest-headers-XOPEN2K8): Likewise.
1319 (conformtest-header-list-base): Likewise.
1320 (conformtest-header-list-tests): Likewise.
1321 (conformtest-header-base): Likewise.
1322 (conformtest-header-tests): Likewise.
1323 (tests-special): Add $(conformtest-header-list-tests). If
1324 [$(fast-check) && !$(cross-compiling)], add
1325 $(conformtest-header-tests) instead of
1326 $(objpfx)run-conformtest.out.
1327 (generated): Add $(conformtest-header-list-base). If
1328 [$(fast-check) && !$(cross-compiling)], add
1329 $(conformtest-header-base). Remove previous setting.
1330 ($(conformtest-header-list-tests)): New target.
1331 (test-xfail-run-conformtest): Remove variable.
1332 ($(objpfx)run-conformtest.out): Remove target.
1333 (test-xfail-ISO11/complex.h/conform): New variable.
1334 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1335 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1336 (test-xfail-XPG3/varargs.h/conform): Likewise.
1337 (test-xfail-XPG4/varargs.h/conform): Likewise.
1338 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1339 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1340 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1341 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1342 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1343 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1344 (test-xfail-XPG3/ftw.h/conform): Likewise.
1345 (test-xfail-XPG3/grp.h/conform): Likewise.
1346 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1347 (test-xfail-XPG3/limits.h/conform): Likewise.
1348 (test-xfail-XPG3/pwd.h/conform): Likewise.
1349 (test-xfail-XPG3/search.h/conform): Likewise.
1350 (test-xfail-XPG3/signal.h/conform): Likewise.
1351 (test-xfail-XPG3/stdio.h/conform): Likewise.
1352 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1353 (test-xfail-XPG3/string.h/conform): Likewise.
1354 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1355 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1356 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1357 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1358 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1359 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1360 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1361 (test-xfail-XPG3/termios.h/conform): Likewise.
1362 (test-xfail-XPG3/time.h/conform): Likewise.
1363 (test-xfail-XPG3/unistd.h/conform): Likewise.
1364 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1365 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1366 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1367 (test-xfail-XPG4/netdb.h/conform): Likewise.
1368 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1369 (test-xfail-XPG4/signal.h/conform): Likewise.
1370 (test-xfail-XPG4/stdio.h/conform): Likewise.
1371 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1372 (test-xfail-XPG4/stropts.h/conform): Likewise.
1373 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1374 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1375 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1376 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1377 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1378 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1379 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1380 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1381 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1382 (test-xfail-XPG4/termios.h/conform): Likewise.
1383 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1384 (test-xfail-XPG4/unistd.h/conform): Likewise.
1385 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1386 (test-xfail-POSIX/sched.h/conform): Likewise.
1387 (test-xfail-POSIX/signal.h/conform): Likewise.
1388 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1389 (test-xfail-POSIX/tar.h/conform): Likewise.
1390 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1391 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1392 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1393 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1394 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1395 (test-xfail-UNIX98/sched.h/conform): Likewise.
1396 (test-xfail-UNIX98/signal.h/conform): Likewise.
1397 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1398 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1399 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1400 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1401 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1402 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1403 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1404 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1405 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1406 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1407 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1408 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1409 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1410 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1411 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1412 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1413 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1414 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1415 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1416 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1417 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1418 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1419 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1420 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1421 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1422 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1423 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1424 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1425 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1426 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1427 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1428 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1429 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1430 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1431 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1432 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1433 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1434 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1435 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1436 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1437 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1438 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1439 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1440 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1441 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1442 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1443 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1444 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1445 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1446 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1447 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1448 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1449 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1450 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1451 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1452 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1453 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1454 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1455 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1456 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1457 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1458 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1459 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1460 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1461 (conformtest-cc-flags): Likewise.
1462 ($(conformtest-header-tests): New target.
1463 * conform/check-header-lists.sh: New file.
1464 * conform/run-conformtest.sh: Remove.
1465
a00f522a
JM
1466 * conform/conformtest.pl: Allow ' and \ in values given for
1467 constants.
1468 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1469 inclusion.
1470 [POSIX] (sys/types.h): Likewise.
1471 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1472 inclusion.
1473 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1474 inclusion.
1475 * conform/data/signal.h-data (SIGIO): Remove expectation.
1476 [XPG3] (SIGBUS): Do not expect.
1477 [POSIX || XPG3] (SIGPOLL): Likewise.
1478 [POSIX || XPG3] (SIGPROF): Likewise.
1479 [POSIX || XPG3] (SIGSYS): Likewise.
1480 [XPG3] (SIGTRAP): Likewise.
1481 [POSIX || XPG3] (SIGURG): Likewise.
1482 [POSIX || XPG3] (SIGVTALRM): Likewise.
1483 [POSIX || XPG3] (SIGXCPU): Likewise.
1484 [POSIX || XPG3] (SIGXFSZ): Likewise.
1485 [POSIX] (SA_SIGINFO): Expect.
1486 [XPG3] (siginfo_t): Do not expect type or contents.
1487 [POSIX] (si_pid): Do not expect element.
1488 [POSIX] (si_uid): Likewise.
1489 [POSIX] (si_addr): Likewise.
1490 [POSIX] (si_status): Likewise.
1491 [POSIX] (si_band): Likewise.
1492 [XPG4] (si_value): Likewise.
1493 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1494 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1495 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1496 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1497 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1498 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1499 [POSIX || XPG3] (ILL_COPROC): Likewise.
1500 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1501 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1502 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1503 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1504 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1505 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1506 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1507 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1508 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1509 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1510 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1511 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1512 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1513 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1514 [POSIX || XPG3] (CLD_EXITED): Likewise.
1515 [POSIX || XPG3] (CLD_KILLED): Likewise.
1516 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1517 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1518 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1519 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1520 [POSIX || XPG3] (POLL_IN): Likewise.
1521 [POSIX || XPG3] (POLL_OUT): Likewise.
1522 [POSIX || XPG3] (POLL_MSG): Likewise.
1523 [POSIX || XPG3] (POLL_ERR): Likewise.
1524 [POSIX || XPG3] (POLL_PRI): Likewise.
1525 [POSIX || XPG3] (POLL_HUP): Likewise.
1526 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1527 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1528 (SIG*): Do not allow.
1529 [XPG3] (si_*): Likewise.
1530 [XPG3] (SI_*): Likewise.
1531 [XPG3 || XPG4] (sigev_*): Likewise.
1532 [XPG3 || XPG4] (SIGEV_*): Likewise.
1533 [XPG3 || XPG4] (sival_*): Likewise.
1534 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1535 [POSIX || XPG3] (BUS_*): Likewise.
1536 [POSIX || XPG3] (CLD_*): Likewise.
1537 [POSIX || XPG3] (FPE_*): Likewise.
1538 [POSIX || XPG3] (ILL_*): Likewise.
1539 [POSIX || XPG3] (POLL_*): Likewise.
1540 [POSIX || XPG3] (SEGV_*): Likewise.
1541 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1542 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1543 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1544 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1545 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1546 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1547 Specify type and value.
1548 (TVERSLEN): Likewise.
1549 (REGTYPE): Likewise.
1550 (AREGTYPE): Likewise.
1551 (LNKTYPE): Likewise.
1552 (SYMTYPE): Likewise.
1553 (CHRTYPE): Likewise.
1554 (BLKTYPE): Likewise.
1555 (DIRTYPE): Likewise.
1556 (FIFOTYPE): Likewise.
1557 (CONTTYPE): Likewise.
1558 (TSUID): Likewise.
1559 (TSGID): Likewise.
1560 (TSVTX): Likewise.
1561 (TUREAD): Likewise.
1562 (TUWRITE): Likewise.
1563 (TUEXEC): Likewise.
1564 (TGREAD): Likewise.
1565 (TGWRITE): Likewise.
1566 (TGEXEC): Likewise.
1567 (TOREAD): Likewise.
1568 (TOWRITE): Likewise.
1569 (TOEXEC): Likewise.
1570 [POSIX] (TSVTX): Expect constant.
1571
aa97dee1
JM
15722014-03-06 Joseph Myers <joseph@codesourcery.com>
1573
f214606a
JM
1574 * Makefile (tests): Change dependencies to ....
1575 (tests-special): ... additions to this variable.
1576 (tests): Depend on $(tests-special).
1577 * Makerules (check-abi-list): New variable.
1578 (check-abi): Depend on $(check-abi-list).
1579 [$(subdir) = elf] (tests-special): Add
1580 $(objpfx)check-abi-libc.out.
1581 [$(build-shared) = yes && subdir] (tests-special): Add
1582 $(check-abi-list).
1583 [$(build-shared) = yes && subdir] (tests): Do not depend on
1584 check-abi.
1585 * Rules (tests): Depend on $(tests-special).
1586 (xtests): Depend on $(xtests-special).
1587 * catgets/Makefile (tests): Change dependencies to ....
1588 (tests-special): ... additions to this variable.
1589 * conform/Makefile (tests): Change dependencies to ....
1590 (tests-special): ... additions to this variable.
1591 * elf/Makefile (tests): Change dependencies to ....
1592 (tests-special): ... additions to this variable.
1593 * grp/Makefile (tests): Change dependencies to ....
1594 (tests-special): ... additions to this variable.
1595 * iconv/Makefile (xtests): Change dependencies to ....
1596 (xtests-special): ... additions to this variable.
1597 * iconvdata/Makefile (tests): Change dependencies to ....
1598 (tests-special): ... additions to this variable.
1599 * intl/Makefile (tests): Change dependencies to ....
1600 (tests-special): ... additions to this variable. Also add
1601 $(objpfx)tst-gettext.out.
1602 * io/Makefile (tests): Change dependencies to ....
1603 (tests-special): ... additions to this variable.
1604 * libio/Makefile (tests): Change dependencies to ....
1605 (tests-special): ... additions to this variable.
1606 * malloc/Makefile (tests): Change dependencies to ....
1607 (tests-special): ... additions to this variable.
1608 * misc/Makefile (tests): Change dependencies to ....
1609 (tests-special): ... additions to this variable.
1610 * nptl/Makefile (tests): Change dependencies to ....
1611 (tests-special): ... additions to this variable.
1612 * nptl_db/Makefile (tests): Change dependencies to ....
1613 (tests-special): ... additions to this variable.
1614 * posix/Makefile (tests): Change dependencies to ....
1615 (tests-special): ... additions to this variable.
1616 (xtests): Change dependencies to ....
1617 (xtests-special): ... additions to this variable.
1618 * resolv/Makefile (tests): Change dependencies to ....
1619 (tests-special): ... additions to this variable.
1620 (xtests): Change dependencies to ....
1621 (xtests-special): ... additions to this variable.
1622 * stdio-common/Makefile (tests): Change dependencies to ....
1623 (tests-special): ... additions to this variable.
1624 (do-tst-unbputc): Remove target.
1625 (do-tst-printf): Likewise.
1626 * stdlib/Makefile (tests): Change dependencies to ....
1627 (tests-special): ... additions to this variable.
1628 * string/Makefile (tests): Change dependencies to ....
1629 (tests-special): ... additions to this variable.
1630 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1631 (tests-special): ... additions to this variable.
1632
81700b53
JM
1633 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1634 whole file.
1635 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1636 whole file.
1637 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1638 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1639
2ea18461
JM
1640 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1641 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1642 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1643 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1644 * conform/data/libgen.h-data [XPG3]: Likewise.
1645 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1646 * conform/data/ndbm.h-data [XPG3]: Likewise.
1647 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1648 * conform/data/netdb.h-data [XPG3]: Likewise.
1649 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1650 * conform/data/poll.h-data [XPG3]: Likewise.
1651 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1652 * conform/data/strings.h-data [XPG3]: Likewise.
1653 * conform/data/stropts.h-data [XPG3]: Likewise.
1654 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1655 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1656 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1657 Likewise.
1658 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1659 * conform/data/sys/time.h-data [XPG3]: Likewise.
1660 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1661 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1662 * conform/data/sys/un.h-data [XPG3]: Likewise.
1663 * conform/data/syslog.h-data [XPG3]: Likewise.
1664 * conform/data/ucontext.h-data [XPG3]: Likewise.
1665 * conform/data/utmpx.h-data [XPG3]: Likewise.
1666 * conform/data/varargs.h-data [UNIX98]: Enable file.
1667
355bc986
JM
1668 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1669
215db402
JM
1670 * math/libm-test.inc (struct test_f_f_data): Move expected results
1671 into structure for each rounding mode.
1672 (struct test_ff_f_data): Likewise.
1673 (struct test_ff_f_data_nexttoward): Likewise.
1674 (struct test_fi_f_data): Likewise.
1675 (struct test_fl_f_data): Likewise.
1676 (struct test_if_f_data): Likewise.
1677 (struct test_fff_f_data): Likewise.
1678 (struct test_c_f_data): Likewise.
1679 (struct test_f_f1_data): Likewise.
1680 (struct test_fF_f1_data): Likewise.
1681 (struct test_ffI_f1_data): Likewise.
1682 (struct test_c_c_data): Likewise.
1683 (struct test_cc_c_data): Likewise.
1684 (struct test_f_i_data): Likewise.
1685 (struct test_ff_i_data): Likewise.
1686 (struct test_f_l_data): Likewise.
1687 (struct test_f_L_data): Likewise.
1688 (struct test_fFF_11_data): Likewise.
1689 (RM_): New macro.
1690 (RM_FE_DOWNWARD): Likewise.
1691 (RM_FE_TONEAREST): Likewise.
1692 (RM_FE_TOWARDZERO): Likewise.
1693 (RM_FE_UPWARD): Likewise.
1694 (RUN_TEST_LOOP_f_f): Update references to expected results.
1695 (RUN_TEST_LOOP_2_f): Likewise.
1696 (RUN_TEST_LOOP_fff_f): Likewise.
1697 (RUN_TEST_LOOP_c_f): Likewise.
1698 (RUN_TEST_LOOP_f_f1): Likewise.
1699 (RUN_TEST_LOOP_fF_f1): Likewise.
1700 (RUN_TEST_LOOP_fI_f1): Likewise.
1701 (RUN_TEST_LOOP_ffI_f1): Likewise.
1702 (RUN_TEST_LOOP_c_c): Likewise.
1703 (RUN_TEST_LOOP_cc_c): Likewise.
1704 (RUN_TEST_LOOP_f_i): Likewise.
1705 (RUN_TEST_LOOP_f_i_tg): Likewise.
1706 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1707 (RUN_TEST_LOOP_f_b): Likewise.
1708 (RUN_TEST_LOOP_f_b_tg): Likewise.
1709 (RUN_TEST_LOOP_f_l): Likewise.
1710 (RUN_TEST_LOOP_f_L): Likewise.
1711 (RUN_TEST_LOOP_fFF_11): Likewise.
1712 * math/gen-libm-test.pl (parse_args): Output four copies of
1713 expected results for each test.
1714
67737b8f
JM
1715 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1716 (__ASSUME_UTIMES): Remove.
1717 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1718 (__ASSUME_UTIMES): Likewise.
1719
aa97dee1
JM
1720 * math/gen-auto-libm-tests.c: Update comment on output format.
1721 (output_for_one_input_case): Generate before-rounding and
1722 after-rounding information as conditions on output flags not
1723 floating-point format.
1724 * math/auto-libm-test-out: Regenerated.
1725 * math/gen-libm-test.pl (cond_value): New function.
1726 (or_cond_value): Use cond_value.
1727 (generate_testfile): Handle conditional exceptions.
1728
e6b6a857
JM
17292014-03-05 Joseph Myers <joseph@codesourcery.com>
1730
2f0a0f44
JM
1731 * math/libm-test.inc (max_valid_error): New variable.
1732 (init_max_error): Take new argument specifying whether function
1733 results are exactly determined. Set max_valid_error and bound
1734 other variables for errors based on this argument.
1735 (set_max_error): Do not record results above max_valid_error.
1736 (check_float_internal): Only accept errors of up to 0.5ulps if
1737 also at most max_valid_error.
1738 (START): Take new argument EXACT and pass it to init_max_error.
1739 (acos_test): Update call to START.
1740 (acos_test_tonearest): Likewise.
1741 (acos_test_towardzero): Likewise.
1742 (acos_test_downward): Likewise.
1743 (acos_test_upward): Likewise.
1744 (acosh_test): Likewise.
1745 (asin_test): Likewise.
1746 (asin_test_tonearest): Likewise.
1747 (asin_test_towardzero): Likewise.
1748 (asin_test_downward): Likewise.
1749 (asin_test_upward): Likewise.
1750 (asinh_test): Likewise.
1751 (atan_test): Likewise.
1752 (atanh_test): Likewise.
1753 (atan2_test): Likewise.
1754 (cabs_test): Likewise.
1755 (cacos_test): Likewise.
1756 (cacosh_test): Likewise.
1757 (carg_test): Likewise.
1758 (casin_test): Likewise.
1759 (casinh_test): Likewise.
1760 (catan_test): Likewise.
1761 (catanh_test): Likewise.
1762 (cbrt_test): Likewise.
1763 (ccos_test): Likewise.
1764 (ccosh_test): Likewise.
1765 (ceil_test): Likewise.
1766 (cexp_test): Likewise.
1767 (cimag_test): Likewise.
1768 (clog_test): Likewise.
1769 (clog10_test): Likewise.
1770 (conj_test): Likewise.
1771 (copysign_test): Likewise.
1772 (cos_test): Likewise.
1773 (cos_test_tonearest): Likewise.
1774 (cos_test_towardzero): Likewise.
1775 (cos_test_downward): Likewise.
1776 (cos_test_upward): Likewise.
1777 (cosh_test): Likewise.
1778 (cosh_test_tonearest): Likewise.
1779 (cosh_test_towardzero): Likewise.
1780 (cosh_test_downward): Likewise.
1781 (cosh_test_upward): Likewise.
1782 (cpow_test): Likewise.
1783 (cproj_test): Likewise.
1784 (creal_test): Likewise.
1785 (csin_test): Likewise.
1786 (csinh_test): Likewise.
1787 (csqrt_test): Likewise.
1788 (ctan_test): Likewise.
1789 (ctan_test_tonearest): Likewise.
1790 (ctan_test_towardzero): Likewise.
1791 (ctan_test_downward): Likewise.
1792 (ctan_test_upward): Likewise.
1793 (ctanh_test): Likewise.
1794 (ctanh_test_tonearest): Likewise.
1795 (ctanh_test_towardzero): Likewise.
1796 (ctanh_test_downward): Likewise.
1797 (ctanh_test_upward): Likewise.
1798 (erf_test): Likewise.
1799 (erfc_test): Likewise.
1800 (exp_test): Likewise.
1801 (exp_test_tonearest): Likewise.
1802 (exp_test_towardzero): Likewise.
1803 (exp_test_downward): Likewise.
1804 (exp_test_upward): Likewise.
1805 (exp10_test): Likewise.
1806 (exp10_test_tonearest): Likewise.
1807 (exp10_test_towardzero): Likewise.
1808 (exp10_test_downward): Likewise.
1809 (exp10_test_upward): Likewise.
1810 (pow10_test): Likewise.
1811 (exp2_test): Likewise.
1812 (expm1_test): Likewise.
1813 (expm1_test_tonearest): Likewise.
1814 (expm1_test_towardzero): Likewise.
1815 (expm1_test_downward): Likewise.
1816 (expm1_test_upward): Likewise.
1817 (fabs_test): Likewise.
1818 (fdim_test): Likewise.
1819 (floor_test): Likewise.
1820 (fma_test): Likewise.
1821 (fma_test_towardzero): Likewise.
1822 (fma_test_downward): Likewise.
1823 (fma_test_upward): Likewise.
1824 (fmax_test): Likewise.
1825 (fmin_test): Likewise.
1826 (fmod_test): Likewise.
1827 (fpclassify_test): Likewise.
1828 (frexp_test): Likewise.
1829 (hypot_test): Likewise.
1830 (ilogb_test): Likewise.
1831 (isfinite_test): Likewise.
1832 (finite_test): Likewise.
1833 (isgreater_test): Likewise.
1834 (isgreaterequal_test): Likewise.
1835 (isinf_test): Likewise.
1836 (isless_test): Likewise.
1837 (islessequal_test): Likewise.
1838 (islessgreater_test): Likewise.
1839 (isnan_test): Likewise.
1840 (isnormal_test): Likewise.
1841 (issignaling_test): Likewise.
1842 (isunordered_test): Likewise.
1843 (j0_test): Likewise.
1844 (j1_test): Likewise.
1845 (jn_test): Likewise.
1846 (ldexp_test): Likewise.
1847 (lgamma_test): Likewise.
1848 (gamma_test): Likewise.
1849 (lrint_test): Likewise.
1850 (lrint_test_tonearest): Likewise.
1851 (lrint_test_towardzero): Likewise.
1852 (lrint_test_downward): Likewise.
1853 (lrint_test_upward): Likewise.
1854 (llrint_test): Likewise.
1855 (llrint_test_tonearest): Likewise.
1856 (llrint_test_towardzero): Likewise.
1857 (llrint_test_downward): Likewise.
1858 (llrint_test_upward): Likewise.
1859 (log_test): Likewise.
1860 (log10_test): Likewise.
1861 (log1p_test): Likewise.
1862 (log2_test): Likewise.
1863 (logb_test): Likewise.
1864 (logb_test_downward): Likewise.
1865 (lround_test): Likewise.
1866 (llround_test): Likewise.
1867 (modf_test): Likewise.
1868 (nearbyint_test): Likewise.
1869 (nextafter_test): Likewise.
1870 (nexttoward_test): Likewise.
1871 (pow_test): Likewise.
1872 (pow_test_tonearest): Likewise.
1873 (pow_test_towardzero): Likewise.
1874 (pow_test_downward): Likewise.
1875 (pow_test_upward): Likewise.
1876 (remainder_test): Likewise.
1877 (drem_test): Likewise.
1878 (remainder_test_tonearest): Likewise.
1879 (drem_test_tonearest): Likewise.
1880 (remainder_test_towardzero): Likewise.
1881 (drem_test_towardzero): Likewise.
1882 (remainder_test_downward): Likewise.
1883 (drem_test_downward): Likewise.
1884 (remainder_test_upward): Likewise.
1885 (drem_test_upward): Likewise.
1886 (remquo_test): Likewise.
1887 (rint_test): Likewise.
1888 (rint_test_tonearest): Likewise.
1889 (rint_test_towardzero): Likewise.
1890 (rint_test_downward): Likewise.
1891 (rint_test_upward): Likewise.
1892 (round_test): Likewise.
1893 (scalb_test): Likewise.
1894 (scalbn_test): Likewise.
1895 (scalbln_test): Likewise.
1896 (signbit_test): Likewise.
1897 (sin_test): Likewise.
1898 (sin_test_tonearest): Likewise.
1899 (sin_test_towardzero): Likewise.
1900 (sin_test_downward): Likewise.
1901 (sin_test_upward): Likewise.
1902 (sincos_test): Likewise.
1903 (sinh_test): Likewise.
1904 (sinh_test_tonearest): Likewise.
1905 (sinh_test_towardzero): Likewise.
1906 (sinh_test_downward): Likewise.
1907 (sinh_test_upward): Likewise.
1908 (sqrt_test): Likewise.
1909 (sqrt_test_tonearest): Likewise.
1910 (sqrt_test_towardzero): Likewise.
1911 (sqrt_test_downward): Likewise.
1912 (sqrt_test_upward): Likewise.
1913 (tan_test): Likewise.
1914 (tan_test_tonearest): Likewise.
1915 (tan_test_towardzero): Likewise.
1916 (tan_test_downward): Likewise.
1917 (tan_test_upward): Likewise.
1918 (tanh_test): Likewise.
1919 (tgamma_test): Likewise.
1920 (trunc_test): Likewise.
1921 (y0_test): Likewise.
1922 (y1_test): Likewise.
1923 (yn_test): Likewise.
1924 (significand_test): Likewise.
1925
e6b6a857
JM
1926 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1927 individual tests in comment.
1928 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1929 (prev_max_error): New variable.
1930 (prev_real_max_error): Likewise.
1931 (prev_imag_max_error): Likewise.
1932 (compare_ulp_data): Don't refer to test names in comment.
1933 (find_test_ulps): Remove function.
1934 (find_function_ulps): Likewise.
1935 (find_complex_function_ulps): Likewise.
1936 (init_max_error): Take function name as argument. Look up ulps
1937 for that function.
1938 (print_ulps): Remove function.
1939 (print_max_error): Use prev_max_error instead of calling
1940 find_function_ulps.
1941 (print_complex_max_error): Use prev_real_max_error and
1942 prev_imag_max_error instead of calling find_complex_function_ulps.
1943 (check_float_internal): Take max_ulp parameter instead of calling
1944 find_test_ulps. Don't call print_ulps.
1945 (check_float): Update call to check_float_internal.
1946 (check_complex): Update calls to check_float_internal.
1947 (START): Pass argument to init_max_error.
1948 * math/gen-libm-test.pl (%results): Don't include "kind"
1949 information.
1950 (parse_ulps): Don't handle ulps of individual tests.
1951 (print_ulps_file): Likewise.
1952 (output_ulps): Likewise.
1953 * math/README.libm-test: Update.
1954 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1955 individual tests.
1956 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1957 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1958 * sysdeps/arm/libm-test-ulps: Likewise.
1959 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1960 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1961 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1962 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1963 * sysdeps/microblaze/libm-test-ulps: Likewise.
1964 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1965 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1966 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1967 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1968 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1969 * sysdeps/sh/libm-test-ulps: Likewise.
1970 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1971 * sysdeps/tile/libm-test-ulps: Likewise.
1972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1973
45adef3c
JM
19742014-03-04 Joseph Myers <joseph@codesourcery.com>
1975
1976 * math/libm-test.inc (print_complex_max_error): Check separately
1977 whether real and imaginary errors are within allowed range and
1978 pass 0 to print_complex_function_ulps instead of value within
1979 allowed range.
1980
000232b9
SP
19812014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1982
d4b17258
SP
1983 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1984 formatting.
1985 (get_handles_fopen): Likewise.
1986 (do_write_test): Likewise.
1987
091eff71
SP
1988 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1989
fa3cd248
SP
1990 * libio/fileops.c (do_ftell): Use cached offset when
1991 available.
1992 * libio/iofwide.c (do_ftell_wide): Likewise.
1993 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1994 _IO_file_attach.
1995 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1996
000232b9
SP
1997 [BZ #16532]
1998 * libio/libioP.h (get_file_offset): New function.
1999 * libio/fileops.c (get_file_offset): Likewise.
2000 (do_ftell): Likewise.
2001 (_IO_new_file_seekoff): Split out ftell logic.
2002 * libio/wfileops.c (do_ftell_wide): Likewise.
2003 (_IO_wfile_seekoff): Split out ftell logic.
2004 * libio/tst-ftell-active-handler.c: New test case.
2005 * libio/Makefile (tests): Add it.
2006
116f4d1a
RM
20072014-03-03 Roland McGrath <roland@hack.frob.com>
2008
2009 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2010 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2011
532a6035
SP
20122014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2013
2014 [BZ #16639]
2015 * nscd/connections.c (nscd_init): Call do_exit.
2016 (start_threads): Call do_exit and notify_parent.
2017 (begin_drop_privileges): Call do_exit.
2018 (finish_drop_privileges): Likewise.
2019 * nscd/selinux.c (preserve_capabilities): Likewise.
2020 (install_real_capabilities): Likewise.
2021 (nscd_selinux_enabled): Likewise.
2022 (avc_create_thread): Likewise.
2023 (avc_alloc_lock): Likewise.
2024 (nscd_avc_init): Likewise.
2025 * nscd/nscd.c (parent_fd): New static variable.
2026 (main): Create a pipe between parent and child processes.
2027 Skip closing parent_fd.
2028 (monitor_child): New function.
2029 (do_exit): Likewise.
2030 (notify_parent): Likewise.
2031 * nscd/nscd.h (notify_parent): Likewise.
2032 (do_exit): Likewise.
2033
d6285c9f
CD
20342014-03-03 Carlos O'Donell <carlos@redhat.com>
2035
2036 * malloc/malloc.c (__libc_calloc): Revert last change.
2037
2b85d2a0
AZ
20382014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2039
2040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2041
c7debbdf
RS
20422014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2043
2044 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2046 implementation.
2047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2048 (__libc_ifunc_impl_list): Likewise.
2049 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2050 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2051 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2052 * string/strrchr.c: Define STRRCHR.
2053
235eed86
OB
20542014-02-28 Ondřej Bílka <neleai@seznam.cz>
2055
2056 * benchtest/bench-strtok.c (simple_strtok): Delete.
2057 (strtok_string): Use as benchmark.
2058 * string/strtok (STRTOK): New macro.
2059
8e25d1e7
CD
20602014-02-28 Carlos O'Donell <carlos@redhat.com>
2061
ef563f92
CD
2062 * manual/threads.texi: Add header and standard comments to all
2063 functions.
2064
8e25d1e7
CD
2065 * elf/dl-lookup.c (check_match): New function.
2066 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2067 (do_lookup_x): Remove nested function check_match. Use non-nested
2068 function check_match.
2069
ff71cc37
RM
20702014-02-28 Roland McGrath <roland@hack.frob.com>
2071
f08e9a26
RM
2072 * csu/Makefile (generated, before-compile): Use += rather than =.
2073 * catgets/Makefile (generated, generated-dirs): Likewise.
2074 * debug/Makefile (generated): Likewise.
2075 * dlfcn/Makefile (generated): Likewise.
2076 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2077 * iconvdata/Makefile (before-compile, generated): Likewise.
2078 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2079 * libio/Makefile (generated): Likewise.
2080 * malloc/Makefile (generated): Likewise.
2081 * manual/Makefile (generated, generated-dirs): Likewise.
2082 * misc/Makefile (generated): Likewise.
2083 * posix/Makefile (generated): Likewise.
2084 * resolv/Makefile (generated): Likewise.
2085 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2086 * timezone/Makefile (generated, generated-dirs): Likewise.
2087
ff71cc37
RM
2088 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2089
fe13a20c
AZ
20902014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2091
2092 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2093 implementation.
2094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2095 POWER8 llround ifunc implementation.
2096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2097 POWER8 implementation.
2098 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2099 POWER8 llround implementation.
2100
1ad8950a
AZ
21012014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2102
2103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2104 implementation.
2105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2106 POWER8 llrint ifunc implementation.
2107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2108 POWER8 implementation.
2109 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2110 POWER8 llrint implementation.
2111
cac626d6
AZ
21122014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2113
2114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2115 implementation.
2116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2117 POWER8 finite ifunc implementation.
2118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2119 POWER8 implementation.
2120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2121 Likewise.
2122 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2123 POWER8 finite implementation.
2124 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2125
4393fc11
AZ
21262014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2127
2128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2129 implementation.
2130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2131 POWER8 isinf ifunc implementation.
2132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2133 POWER8 implementation.
2134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2135 Likewise.
2136 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2137 POWER8 isinf implementation.
2138 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2139
487972ae
AZ
21402014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2141
2142 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2143 Add hwcap2 initialization.
2144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2145 implementation.
2146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2147 POWER8 isnan ifunc implementation.
2148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2149 POWER8 implementation.
2150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2151 Likewise.
2152 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2153 POWER8 isnan implementation.
2154 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2155
7d92b787
JY
21562014-02-27 Joey Ye <joey.ye@arm.com>
2157
2158 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2159 (_FP_NANFRAC_Q): Set to zero.
2160
1cadc858
SP
21612014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2162
2163 [BZ #16623]
2164 * math/auto-libm-test-in: New test inputs.
2165 * math/auto-libm-test-out: Regenerate.
2166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2167 and DA.
2168 (__cos): Likewise.
2169 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2170
f8c17e79
JM
21712014-02-27 Joseph Myers <joseph@codesourcery.com>
2172
2173 * scripts/evaluate-test.sh: Take new argument indicating whether
2174 failure is expected.
2175 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2176 indicating whether failure is expected.
2177 * conform/Makefile (test-xfail-run-conformtest): New variable.
2178 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2179 level.
2180 * posix/Makefile (test-xfail-annexc): New variable.
2181 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2182
a5f891ac
JM
21832014-02-26 Joseph Myers <joseph@codesourcery.com>
2184
2185 * argp/Makefile: Include Makeconfig immediately after defining
2186 subdir.
2187 * assert/Makefile: Likewise.
2188 * benchtests/Makefile: Likewise.
2189 * catgets/Makefile: Likewise.
2190 * conform/Makefile: Likewise.
2191 * crypt/Makefile: Likewise.
2192 * csu/Makefile: Likewise.
2193 (all): Remove target.
2194 * ctype/Makefile: Include Makeconfig immediately after defining
2195 subdir.
2196 * debug/Makefile: Likewise.
2197 * dirent/Makefile: Likewise.
2198 * dlfcn/Makefile: Likewise.
2199 * gmon/Makefile: Likewise.
2200 * gnulib/Makefile: Likewise.
2201 * grp/Makefile: Likewise.
2202 * gshadow/Makefile: Likewise.
2203 * hesiod/Makefile: Likewise.
2204 * hurd/Makefile: Likewise.
2205 (all): Remove target.
2206 * iconvdata/Makefile: Include Makeconfig immediately after
2207 defining subdir.
2208 * inet/Makefile: Likewise.
2209 * intl/Makefile: Likewise.
2210 * io/Makefile: Likewise.
2211 * libio/Makefile: Likewise.
2212 (all): Remove target.
2213 * locale/Makefile: Include Makeconfig immediately after defining
2214 subdir.
2215 * login/Makefile: Likewise.
2216 * mach/Makefile: Likewise.
2217 (all): Remove target.
2218 * malloc/Makefile: Include Makeconfig immediately after defining
2219 subdir.
2220 (all): Remove target.
2221 * manual/Makefile: Include Makeconfig immediately after defining
2222 subdir.
2223 * math/Makefile: Likewise.
2224 * misc/Makefile: Likewise.
2225 * nis/Makefile: Likewise.
2226 * nss/Makefile: Likewise.
2227 * po/Makefile: Likewise.
2228 (all): Remove target.
2229 * posix/Makefile: Include Makeconfig immediately after defining
2230 subdir.
2231 * pwd/Makefile: Likewise.
2232 * resolv/Makefile: Likewise.
2233 * resource/Makefile: Likewise.
2234 * rt/Makefile: Likewise.
2235 * setjmp/Makefile: Likewise.
2236 * shadow/Makefile: Likewise.
2237 * signal/Makefile: Likewise.
2238 * socket/Makefile: Likewise.
2239 * soft-fp/Makefile: Likewise.
2240 * stdio-common/Makefile: Likewise.
2241 * stdlib/Makefile: Likewise.
2242 * streams/Makefile: Likewise.
2243 * string/Makefile: Likewise.
2244 * sunrpc/Makefile: Likewise.
2245 (all): Remove target.
2246 * sysvipc/Makefile: Include Makeconfig immediately after defining
2247 subdir.
2248 * termios/Makefile: Likewise.
2249 * time/Makefile: Likewise.
2250 * timezone/Makefile: Likewise.
2251 (all): Remove target.
2252 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2253 subdir.
2254 * wctype/Makefile: Likewise.
2255
5b456e9d
SE
22562014-02-26 Steve Ellcey <sellcey@mips.com>
2257
2258 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2259 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2260 (libc_feholdexcept_setround_mips): Ditto.
2261 (libc_feholdsetround): New.
2262 (libc_feholdsetroundf): New.
2263 (libc_feholdsetroundl): New.
2264 (libc_feupdateenv_test_mips): New.
2265 (libc_feupdateenv_test): New.
2266 (libc_feupdateenv_testf): New.
2267 (libc_feupdateenv_testl): New.
2268 (libc_feresetround): New.
2269 (libc_feresetroundf): New.
2270 (libc_feresetroundl): New.
2271 (libc_fetestexcept_mips): New.
2272 (libc_fetestexcept): New.
2273 (libc_fetestexceptf): New.
2274 (libc_fetestexceptl): New.
2275 (HAVE_RM_CTX): New.
2276 (libc_feholdexcept_setround_mips_ctx): New.
2277 (libc_feholdexcept_setround_ctx): New.
2278 (libc_feholdexcept_setroundf_ctx): New.
2279 (libc_feholdexcept_setroundl_ctx): New.
2280 (libc_fesetenv_mips_ctx): New.
2281 (libc_fesetenv_ctx): New.
2282 (libc_fesetenv_ctxf): New.
2283 (libc_fesetenv_ctxl): New.
2284 (libc_feupdateenv_mips_ctx): New.
2285 (libc_feupdateenv_ctx): New.
2286 (libc_feupdateenvf_ctx): New.
2287 (libc_feupdateenvl_ctx): New.
2288 (libc_feholdsetround_mips_ctx): New.
2289 (libc_feholdsetround_ctx): New.
2290 (libc_feholdsetroundf_ctx): New.
2291 (libc_feholdsetroundl_ctx): New.
2292 (libc_feresetround_mips_ctx): New.
2293 (libc_feresetround_ctx): New.
2294 (libc_feresetroundf_ctx): New.
2295 (libc_feresetroundl_ctx): New.
2296
085d0e35
CD
22972014-02-26 Carlos O'Donell <carlos@redhat.com>
2298
f067bf1f
CD
2299 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2300
085d0e35
CD
2301 * manual/ipc.texi: New file.
2302 * manual/Makefile (chapters): Add ipc.
2303 * manual/job.texi: Add "Inter-Process Communication" to next.
2304 * manual/process.texi: Add "Inter-Process Communication" to prev.
2305
86e58c08
AZ
23062014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2307
2308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2309
4248f0da
OB
23102014-02-26 Ondřej Bílka <neleai@seznam.cz>
2311
2312 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2313
cf822e3c
OB
2314 * manual/arith.texi: Fix spaces after sentences.
2315 * manual/charset.texi: Likewise.
2316 * manual/errno.texi: Likewise.
2317 * manual/install.texi: Likewise.
2318 * manual/llio.texi: Likewise.
2319 * manual/locale.texi: Likewise.
2320 * manual/maint.texi: Likewise.
2321 * manual/math.texi: Likewise.
2322 * manual/memory.texi: Likewise.
2323 * manual/message.texi: Likewise.
2324 * manual/probes.texi: Likewise.
2325 * manual/resource.texi: Likewise.
2326 * manual/signal.texi: Likewise.
2327 * manual/socket.texi: Likewise.
2328 * manual/stdio.texi: Likewise.
2329 * manual/string.texi: Likewise.
2330 * manual/time.texi: Likewise.
2331 * manual/users.texi: Likewise.
2332
ade40b10
CD
23332014-02-25 Carlos O'Donell <carlos@redhat.com>
2334
2335 [BZ #16632]
2336 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2337 _DEFAULT_SOURCE is defined.
2338
d0503676
CD
23392014-02-25 Ulrich Drepper <drepper@gmail.com>
2340 Carlos O'Donell <carlos@redhat.com>
2341
2342 [BZ #16613]
2343 * elf/dl-tls.c (_dl_count_modids): New function.
2344 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2345 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2346 audit library and increment generation counter.
2347 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2348 * elf/tst-audit9.c: New file.
2349 * elf/tst-auditmod9a.c: New file.
2350 * elf/tst-auditmod9b.c: New file.
2351 * elf/Makefile: Add rules to build and run tst-audit9.
2352
4cbf380c
FW
23532014-02-25 Florian Weimer <fweimer@redhat.com>
2354
2355 [BZ #15347]
2356 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2357
80a56cc3
WN
23582014-02-25 Will Newton <will.newton@linaro.org>
2359
2360 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2361 (__longjmp): Restore sp and lr before restoring callee
2362 saved registers. Add longjmp and longjmp_target
2363 SystemTap probe point.
2364 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2365 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2366 Define to zero to match jmpbuf layout.
2367 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2368 (__sigsetjmp): Save sp and lr before saving callee
2369 saved registers. Add setjmp SystemTap probe point.
2370
3ea0f74e
SL
23712014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2372
2373 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2374
b04acb26
AS
23752014-02-24 Andreas Schwab <schwab@suse.de>
2376
2377 [BZ #15804]
2378 * elf/pldd.c (wait_for_ptrace_stop): New function.
2379 (main): Call it after attaching.
2380
098ad55c
RM
23812014-02-22 Roland McGrath <roland@hack.frob.com>
2382
d4ec6ae1
RM
2383 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2384 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2385 Versions files is now verboten.
2386 * hurd/Versions (libc: GLIBC_2.0):
2387 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2388 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2389 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2390 * mach/Versions: Likewise.
2391
098ad55c
RM
2392 * csu/Versions: Remove unused %include.
2393 * resolv/Versions: Likewise.
2394
acd7f096
JM
23952014-02-21 Joseph Myers <joseph@codesourcery.com>
2396
f0881698
JM
2397 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2398 ($(objpfx)check-local-headers.out): Likewise.
2399 ($(objpfx)begin-end-check.out): Likewise.
2400 * Makerules (check-abi-%.out): Likewise.
2401 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2402 ($(objpfx)test2.cat): Likewise.
2403 ($(objpfx)de/libc.cat): Likewise.
2404 ($(objpfx)test-gencat.out): Likewise.
2405 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2406 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2407 ($(objpfx)noload-mem): Likewise.
2408 ($(objpfx)tst-pathopt.out): Likewise.
2409 ($(objpfx)tst-rtld-load-self.out): Likewise.
2410 ($(objpfx)tst-array1-cmp.out): Likewise.
2411 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2412 ($(objpfx)tst-array2-cmp.out): Likewise.
2413 ($(objpfx)tst-array3-cmp.out): Likewise.
2414 ($(objpfx)tst-array4-cmp.out): Likewise.
2415 ($(objpfx)tst-array5-cmp.out): Likewise.
2416 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2417 ($(objpfx)check-textrel.out): Likewise.
2418 ($(objpfx)check-execstack.out): Likewise.
2419 ($(objpfx)check-localplt.out): Likewise.
2420 ($(objpfx)order2-cmp.out): Likewise.
2421 ($(objpfx)tst-leaks1-mem): Likewise.
2422 ($(objpfx)tst-leaks1-static-mem): Likewise.
2423 ($(objpfx)tst-initorder-cmp.out): Likewise.
2424 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2425 ($(objpfx)tst-unused-dep.out): Likewise.
2426 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2427 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2428 * iconv/Makefile (test-iconvconfig): Likewise.
2429 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2430 ($(objpfx)iconv-test.out): Likewise.
2431 ($(objpfx)tst-tables.out): Likewise.
2432 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2433 ($(objpfx)tst-gettext.out): Likewise.
2434 ($(objpfx)tst-translit.out): Likewise.
2435 ($(objpfx)tst-gettext2.out): Likewise.
2436 ($(objpfx)tst-gettext4.out): Likewise.
2437 ($(objpfx)tst-gettext6.out): Likewise.
2438 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2439 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2440 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2441 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2442 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2443 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2444 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2445 ($(objpfx)wordexp-tst.out): Likewise.
2446 ($(objpfx)annexc.out): Likewise.
2447 ($(objpfx)tst-fnmatch-mem): Likewise.
2448 ($(objpfx)bug-regex2-mem): Likewise.
2449 ($(objpfx)bug-regex14-mem): Likewise.
2450 ($(objpfx)bug-regex21-mem): Likewise.
2451 ($(objpfx)bug-regex31-mem): Likewise.
2452 ($(objpfx)tst-vfork3-mem): Likewise.
2453 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2454 ($(objpfx)tst-pcre-mem): Likewise.
2455 ($(objpfx)tst-boost-mem): Likewise.
2456 ($(objpfx)tst-getconf.out): Likewise.
2457 ($(objpfx)bug-ga2-mem): Likewise.
2458 ($(objpfx)bug-glob2-mem): Likewise.
2459 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2460 ($(objpfx)mtrace-tst-leaks2): Likewise.
2461 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2462 ($(objpfx)tst-printf.out): Likewise.
2463 ($(objpfx)tst-setvbuf1.out): Likewise.
2464 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2465 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2466 ($(objpfx)tst-fmtmsg.out): Likewise.
2467 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2468 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2469
acd7f096
JM
2470 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2471 * bits/sigaction.h [__USE_MISC]: Likewise.
2472 * bits/waitstatus.h: Update #endif comments.
2473 * ctype/ctype.h: Likewise.
2474 * dirent/dirent.h: Likewise.
2475 [__USE_MISC]: Remove redundant conditionals.
2476 * grp/grp.h: Update #endif comments.
2477 [__USE_GNU]: Remove redundant conditionals.
2478 [__USE_MISC]: Likewise.
2479 * inet/netinet/in.h [__USE_GNU]: Likewise.
2480 * io/sys/stat.h [__USE_MISC]: Likewise.
2481 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2482 * libio/bits/stdio.h: Update #endif comments.
2483 [__USE_MISC]: Remove redundant conditionals.
2484 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2485 * libio/stdio.h: Update #endif comments.
2486 [__USE_MISC]: Remove redundant conditionals.
2487 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2488 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2489 * math/math.h: Update #else and #endif comments.
2490 [__USE_MISC]: Remove redundant conditionals.
2491 * misc/sys/uio.h: Update #endif comments.
2492 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2493 * posix/glob.h [__USE_MISC]: Likewise.
2494 * posix/sys/types.h: Update #endif comments.
2495 [__USE_MISC]: Remove redundant conditionals.
2496 * posix/sys/wait.h: Update #endif comments.
2497 [__USE_MISC]: Remove redundant conditionals.
2498 * posix/unistd.h: Update #endif comments.
2499 [__USE_MISC]: Remove redundant conditionals.
2500 * pwd/pwd.h [__USE_GNU]: Likewise.
2501 [__USE_MISC]: Likewise.
2502 * resolv/netdb.h [__USE_GNU]: Likewise.
2503 * signal/signal.h: Update #endif comments.
2504 [__USE_MISC]: Remove redundant conditionals.
2505 * stdlib/stdlib.h: Update #else and #endif comments.
2506 [__USE_MISC]: Remove redundant conditionals.
2507 [__USE_GNU]: Likewise.
2508 * string/bits/string2.h [__USE_MISC]: Likewise.
2509 * string/string.h: Update #endif comments.
2510 [__USE_MISC]: Remove redundant conditionals.
2511 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2512 Likewise.
2513 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2514 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2515 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2516 Likewise.
2517 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2518 Likewise.
2519 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2520 comments.
2521 [__USE_MISC]: Remove redundant conditionals.
2522 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2523 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2524 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2525 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2526 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2527 Likewise.
2528 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2529 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2530 Likewise.
2531 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2532 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2533 Likewise.
2534 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2535 Likewise.
2536 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2537 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2538 Likewise.
2539 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2540 Likewise.
2541 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2542 * sysdeps/x86/bits/string.h: Update #endif comments.
2543 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2544 conditionals.
2545 * time/sys/time.h: Update #endif comments.
2546 * time/time.h: Likewise.
2547 [__USE_MISC]: Remove redundant conditionals.
2548
a5d82e4e
YG
25492014-02-21 Yury Gribov <y.gribov@samsung.com>
2550
2551 [BZ #16600]
2552 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2553
9a80491d
AS
25542014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2555
2556 * Versions.def (librt): Add GLIBC_2.17.
2557
105fa381
AC
25582014-02-21 Adam Conrad <adconrad@0c3.net>
2559
2560 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2561 synonym for _SYS_AUXV_H to allow direct inclusion.
2562 * sysdeps/sparc/bits/hwcap.h: Likewise.
2563 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2564 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2565 * sysdeps/sparc/sysdep.h: Likewise.
2566
b8cd1c4e
SP
25672014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2568
2569 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2570
bd939d23
RS
25712014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2572
2573 * benchtests/bench-strrchr.c: Print length instead of position.
2574
5d7b57ca
JM
25752014-02-20 Joseph Myers <joseph@codesourcery.com>
2576
bc688c10
JM
2577 [BZ #16611]
2578 * sysdeps/unix/sysv/linux/kernel-features.h
2579 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2580 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2581 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2582 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2583 Likewise.
2584 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2585 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2586 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2587 (__ASSUME_SENDMMSG): Define instead of using previous
2588 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2589 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2590 (__ASSUME_SENDMMSG_SYSCALL): Define.
2591 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2592 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2593 Likewise.
2594 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2595 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2596 Likewise.
2597 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2598 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2599 Likewise.
2600 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2601 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2602 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2603 [__ASSUME_SENDMMSG]: Change conditionals to
2604 [__ASSUME_SENDMMSG_SOCKETCALL].
2605 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2606 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2607 Define.
2608 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2609 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2610 Likewise.
2611 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2612 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2613 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2614 [!__ASSUME_SENDMMSG]: Change conditional to
2615 [!__ASSUME_SENDMMSG_SOCKETCALL].
2616 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2617 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2618 Define.
2619
0e31b18c
JM
2620 [BZ #16610]
2621 * sysdeps/unix/sysv/linux/kernel-features.h
2622 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2623 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2624 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2625 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2626 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2627 [__i386__ || __sparc__]
2628 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2629 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2630 (__ASSUME_RECVMMSG): Define instead of using previous
2631 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2632 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2633 (__ASSUME_RECVMMSG_SYSCALL): Define.
2634 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2635 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2636 Likewise.
2637 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2638 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2639 Likewise.
2640 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2641 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2642 Likewise.
2643 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2644 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2645 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2646 [__ASSUME_RECVMMSG]: Change condition to
2647 [__ASSUME_RECVMMSG_SOCKETCALL].
2648 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2649 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2650 Define.
2651 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2652 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2653 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2654 Likewise.
2655 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2656 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2657 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2658 [!__ASSUME_RECVMMSG]: Change condition to
2659 [!__ASSUME_RECVMMSG_SOCKETCALL].
2660 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2661 (__ASSUME_RECVMMSG_SYSCALL): Define.
2662
dd481ccf
JM
2663 [BZ #16609]
2664 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2665 __powerpc__ || __s390__ || __sh__ || __sparc__]
2666 (__ASSUME_SOCKETCALL): Define.
2667 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2668 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2669 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2670 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2671 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2672 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2673 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2674 (__ASSUME_ACCEPT4): Define instead of using previous
2675 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2676 __powerpc__ || __sparc__ || __s390__)] condition.
2677 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2678 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2679 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2680 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2681 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2682 [!__ASSUME_ACCEPT4]: Change condition to
2683 [!__ASSUME_ACCEPT4_SOCKETCALL].
2684 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2685 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2686 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2687 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2688 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2689 __ASSUME_ACCEPT4_SYSCALL.
2690 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2691 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2692 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2693 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2694 __ASSUME_ACCEPT4_SYSCALL.
2695 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2696 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2697 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2698 [__ASSUME_ACCEPT4]: Change condition to
2699 [__ASSUME_ACCEPT4_SOCKETCALL].
2700 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2701 (__ASSUME_SOCKETCALL): Define.
2702 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2703 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2704 (__ASSUME_SOCKETCALL): Define.
2705 (__ASSUME_ACCEPT4): Remove.
2706 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2707 Define.
2708 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2709 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2710 Likewise.
2711 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2712 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2713
5d7b57ca
JM
2714 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2715 macro.
2716 (HWCAP_ARM_LPAE): Likewise.
2717 (HWCAP_ARM_EVTSTRM): Likewise.
2718 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2719 Add vpfd32, lpae and evtstrm.
2720 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2721 Increase to 22.
2722
63689d61
JM
27232014-02-19 Joseph Myers <joseph@codesourcery.com>
2724
2725 * math/auto-libm-test-in: Add tests of clog10.
2726 * math/auto-libm-test-out: Regenerated.
2727 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2728 * sysdeps/i386/fpu/libm-test-ulps: Update.
2729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2730
ab09bf61
AS
27312014-02-18 Andreas Schwab <schwab@suse.de>
2732
2733 [BZ #16574]
2734 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2735 Store non-zero if the second buffer was newly allocated.
2736 (send_dg): Likewise.
2737 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2738 to send_vc and send_dg.
2739 (res_nsend): Pass NULL for ansp2_malloced.
2740 * resolv/res_query.c (__libc_res_nquery): Add parameter
2741 answerp2_malloced and pass it down to __libc_res_nsend.
2742 (res_nquery): Pass additional NULL to __libc_res_nquery.
2743 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2744 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2745 second answer buffer if answerp2_malloced was set.
2746 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2747 (__libc_res_nquerydomain): Add parameter
2748 answerp2_malloced and pass it down to __libc_res_nquery.
2749 (res_nquerydomain): Pass additional NULL to
2750 __libc_res_nquerydomain.
2751 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2752 additional NULL to __libc_res_nsend and __libc_res_nquery.
2753 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2754 additional NULL to __libc_res_nsearch.
2755 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2756 parameter of __libc_res_nsearch to check for separately allocated
2757 second buffer.
2758 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2759 __libc_res_nquery.
2760 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2761 additional NULL to __libc_res_nquery.
2762 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2763 __libc_res_nsearch.
2764 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2765 * include/resolv.h: Update prototypes of __libc_res_nquery,
2766 __libc_res_nsearch, __libc_res_nsend.
2767
a4fb7861
JM
27682014-02-18 Joseph Myers <joseph@codesourcery.com>
2769
c6af2d89
JM
2770 * math/auto-libm-test-in: Add tests of fma.
2771 * math/auto-libm-test-out: Regenerated.
2772 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2773 (fma_towardzero_test_data): Likewise.
2774 (fma_downward_test_data): Likewise.
2775 (fma_upward_test_data): Likewise.
2776 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2777 mpc_mode.
2778 (rounding_modes): Add values for new field.
2779 (func_calc_method): Add value mpfr_fff_f.
2780 (func_calc_desc): Add mpfr_fff_f union field.
2781 (test_function): Add field exact_args.
2782 (FUNC): Add macro argument EXACT_ARGS.
2783 (FUNC_mpfr_f_f): Update call to FUNC.
2784 (FUNC_mpfr_f_f): Likewise.
2785 (FUNC_mpfr_ff_f): Likewise.
2786 (FUNC_mpfr_if_f): Likewise.
2787 (FUNC_mpc_c_f): Likewise.
2788 (FUNC_mpc_c_c): Likewise.
2789 (test_functions): Add fma. Update calls to FUNC.
2790 (handle_input_arg): Add argument exact_args.
2791 (add_test): Update call to handle_input_arg.
2792 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2793 (output_for_one_input_case): Update call to calc_generic_results.
2794 Recalculate exact zero results in each rounding mode.
2795
a4fb7861
JM
2796 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2797 non-negative before setting low bit.
2798 * math/auto-libm-test-in: Mark one asin test possibly having
2799 spurious underflow.
2800 * math/auto-libm-test-out: Regenerated.
2801 * sysdeps/i386/fpu/libm-test-ulps: Update.
2802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2803
ef114eaf
DH
28042014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2805
2b7f4f2c
SP
2806 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2807 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2808 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2809 * README: Add missing listing for microblaze*-*-linux-gnu.
2810
c70a4b1d
MF
28112014-02-16 Mike Frysinger <vapier@gentoo.org>
2812
2813 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2814 * sysdeps/unix/sysv/linux/ia64: Move directory from
2815 ports/sysdeps/unix/sysv/linux/ia64.
2816 * README: Update listing for ia64-*-linux-gnu.
2817
591aeaf7
TD
28182014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2819 Joseph Myers <joseph@codesourcery.com>
2820
2821 * Makeconfig (test-name): New variable.
2822 (evaluate-test): Likewise.
2823 * Makerules (do-test-clean): Remove .test-result files.
2824 (common-mostlyclean): Likewise.
2825 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2826 * scripts/evaluate-test.sh: New file.
2827
6e89caf1
JM
28282014-02-14 Joseph Myers <joseph@codesourcery.com>
2829
7f98f180
JM
2830 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2831 separate $(objpfx)tst-fopenloc-cmp.out and
2832 $(objpfx)tst-fopenloc-mem.out targets.
2833 (tests): Update dependencies.
2834 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2835 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2836 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2837 (tst-rxspencer-no-utf8-ARGS): New variable.
2838 (tst-rxspencer-no-utf8-ENV): Likewise.
2839 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2840 instead of $(objpfx)tst-rxspencer-mem.
2841 ($(objpfx)tst-rxspencer-mem): Change target to
2842 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2843 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2844 * posix/tst-rxspencer-no-utf8.c: New file.
2845
6e89caf1
JM
2846 * elf/Makefile ($(objpfx)order.out): Remove rule.
2847 [$(run-built-tests) = yes] (tests): Depend on
2848 $(objpfx)order-cmp.out.
2849 ($(objpfx)order-cmp.out): New rule.
2850 [$(run-built-tests) = yes] (tests): Depend on
2851 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2852 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2853 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2854 $(objpfx)tst-array5-static-cmp.out.
2855 ($(objpfx)tst-array1.out): Remove rule.
2856 ($(objpfx)tst-array1-cmp.out): New rule.
2857 ($(objpfx)tst-array1-static.out): Remove rule.
2858 ($(objpfx)tst-array1-static-cmp.out): New rule.
2859 ($(objpfx)tst-array2.out): Remove rule.
2860 ($(objpfx)tst-array2-cmp.out): New rule.
2861 ($(objpfx)tst-array3.out): Remove rule.
2862 ($(objpfx)tst-array3-cmp.out): New rule.
2863 ($(objpfx)tst-array4.out): Remove rule.
2864 ($(objpfx)tst-array4-cmp.out): New rule.
2865 ($(objpfx)tst-array5.out): Remove rule.
2866 ($(objpfx)tst-array5-cmp.out): New rule.
2867 ($(objpfx)tst-array5-static.out): Remove rule.
2868 ($(objpfx)tst-array5-static-cmp.out): New rule.
2869 [$(run-built-tests) = yes] (tests): Depend on
2870 $(objpfx)order2-cmp.out.
2871 ($(objpfx)order2.out): Remove rule.
2872 ($(objpfx)order2-cmp.out): New rule.
2873 ($(objpfx)tst-initorder.out): Remove rule.
2874 [$(run-built-tests) = yes] (tests): Depend on
2875 $(objpfx)tst-initorder-cmp.out.
2876 ($(objpfx)tst-initorder-cmp.out): New rule.
2877 ($(objpfx)tst-initorder2.out): Remove rule.
2878 [$(run-built-tests) = yes] (tests): Depend on
2879 $(objpfx)tst-initorder2-cmp.out.
2880 ($(objpfx)tst-initorder2-cmp.out): New rule.
2881 [$(run-built-tests) = yes] (tests): Depend on
2882 $(objpfx)tst-unused-dep-cmp.out.
2883 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2884 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2885 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2886 on $(objpfx)tst-setvbuf1-cmp.out.
2887 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2888 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2889 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2890 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2891 ($(objpfx)tst-svc.out): Remove rule.
2892 ($(objpfx)tst-svc-cmp.out): New rule.
2893
ed9a38e2
JM
28942014-02-13 Joseph Myers <joseph@codesourcery.com>
2895
2896 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2897 * ctype/ctype.h [__USE_MISC]: Likewise.
2898 * dirent/dirent.h [__USE_MISC]: Likewise.
2899 * grp/grp.h [__USE_MISC]: Likewise.
2900 * io/fcntl.h [__USE_MISC]: Likewise.
2901 * io/sys/stat.h [__USE_MISC]: Likewise.
2902 * libio/stdio.h [__USE_MISC]: Likewise.
2903 * posix/unistd.h [__USE_MISC]: Likewise.
2904 * pwd/pwd.h [__USE_MISC]: Likewise.
2905 * stdlib.h [__USE_MISC]: Likewise.
2906 * string/bits/string2.h [__USE_MISC]: Likewise.
2907 * string/string.h [__USE_MISC]: Likewise.
2908 * time/time.h [__USE_MISC]: Likewise.
2909
d6680619
AS
29102014-02-13 Andreas Schwab <schwab@suse.de>
2911
2912 [BZ #16574]
2913 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2914 second answer buffer if it was separately allocated.
2915
ace614b8
JM
29162014-02-12 Joseph Myers <joseph@codesourcery.com>
2917
743151ae
JM
2918 * sysdeps/mips/math-tests.h: Include <features.h>.
2919 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2920 (ROUNDING_TESTS_long_double): Do not define.
2921 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2922 (EXCEPTION_TESTS_long_double): Likewise.
2923 * sysdeps/mips/mips64/libm-test-ulps: Update.
2924
498afc54
JM
2925 * include/features.h (__USE_BSD): Remove macro definitions.
2926 (__USE_SVID): Likewise.
2927 (_BSD_SOURCE): Likewise.
2928 (_SVID_SOURCE): Likewise.
2929 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2930 from definition of _DEFAULT_SOURCE.
2931 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2932 [_DEFAULT_SOURCE].
2933 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2934 * bits/mman.h [__USE_BSD]: Likewise.
2935 * bits/termios.h [__USE_BSD]: Likewise.
2936 * bits/waitstatus.h [__USE_BSD]: Likewise.
2937 * ctype/ctype.h [__USE_SVID]: Likewise.
2938 * dirent/dirent.h [__USE_BSD]: Likewise.
2939 * grp/grp.h [__USE_SVID]: Likewise.
2940 [__USE_BSD]: Likewise.
2941 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2942 * io/fcntl.h [__USE_BSD]: Likewise.
2943 * io/ftw.h [__USE_BSD]: Likewise.
2944 * io/sys/stat.h [__USE_BSD]: Likewise.
2945 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2946 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2947 * libio/stdio.h [__USE_SVID]: Likewise.
2948 [__USE_BSD]: Likewise.
2949 * math/math.h [__USE_SVID]: Likewise.
2950 [__USE_BSD]: Likewise.
2951 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2952 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2953 * misc/search.h [__USE_SVID]: Likewise.
2954 * misc/sys/mman.h [__USE_BSD]: Likewise.
2955 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2956 * misc/sys/uio.h [__USE_BSD]: Likewise.
2957 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2958 * posix/glob.h [__USE_BSD]: Likewise.
2959 * posix/regex.h [__USE_BSD]: Likewise.
2960 * posix/sys/types.h [__USE_BSD]: Likewise.
2961 [__USE_SVID]: Likewise.
2962 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2963 * posix/sys/wait.h [__USE_BSD]: Likewise.
2964 [__USE_SVID]: Likewise.
2965 * posix/unistd.h [__USE_BSD]: Likewise.
2966 [__USE_SVID]: Likewise.
2967 * pwd/pwd.h [__USE_SVID]: Likewise.
2968 * resolv/netdb.h [__USE_BSD]: Likewise.
2969 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2970 * signal/signal.h [__USE_BSD]: Likewise.
2971 [__USE_SVID]: Likewise.
2972 * socket/sys/socket.h [__USE_BSD]: Likewise.
2973 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2974 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2975 [__USE_SVID]: Likewise.
2976 * string/bits/string2.h [__USE_BSD]: Likewise.
2977 [__USE_SVID]: Likewise.
2978 * string/bits/string3.h [__USE_BSD]: Likewise.
2979 * string/endian.h [__USE_BSD]: Likewise.
2980 * string/string.h [__USE_SVID]: Likewise.
2981 [__USE_BSD]: Likewise.
2982 * string/strings.h [__USE_BSD]: Likewise.
2983 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2984 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2985 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2986 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2987 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2988 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2989 Likewise.
2990 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2991 Likewise.
2992 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2993 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2994 Likewise.
2995 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2996 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2997 Likewise.
2998 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2999 Likewise.
3000 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3001 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3002 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3003 Likewise.
3004 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3005 Likewise.
3006 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3007 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3008 * termios/termios.h [__USE_BSD]: Likewise.
3009 * time/sys/time.h [__USE_BSD]: Likewise.
3010 * time/time.h [__USE_BSD]: Likewise.
3011 [__USE_SVID]: Likewise.
3012
dd7b064c
JM
3013 * Makefile (subdir_targets): Remove subdir_lint.out.
3014
a2c4c199
JM
3015 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3016 (do-tst-printf): Likewise.
3017 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3018 $(objpfx)tst-printf.out.
3019
8756f740
JM
3020 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3021
1b6dd3f1
JM
3022 * Makerules (check-abi-%): Change target to
3023 $(objpfx)check-abi-%.out.
3024 (check-abi target): Update dependencies.
3025 (check-abi-pattern variable): Redirect output of diff to $@.
3026 (check-abi variable): Likewise.
3027 * elf/Makefile (check-abi): Update dependencies.
3028
ace614b8
JM
3029 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3030 unused.
3031 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3032 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3033 subnormal range.
3034 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3035 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3036 value has largest subnormal exponent.
3037 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3038 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3039 * sysdeps/aarch64/soft-fp/sfp-machine.h
3040 (_FP_TININESS_AFTER_ROUNDING): New macro.
3041 * sysdeps/alpha/soft-fp/sfp-machine.h
3042 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3043 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3044 Likewise.
3045 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3046 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3047 * sysdeps/mips/soft-fp/sfp-machine.h
3048 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3049 * sysdeps/powerpc/soft-fp/sfp-machine.h
3050 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3051 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3052 Likewise.
3053 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3054 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3055 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3056 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3057 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3058 Likewise.
3059
fbfdf9cb
DAS
30602014-02-12 Dylan Alex Simon <dylan@dylex.net>
3061
3062 [BZ #16545]
3063 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3064 model 1.
3065
68b7efaa
RH
30662014-02-12 Richard Henderson <rth@redhat.com>
3067
c70a4b1d 3068 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3069 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3070 * sysdeps/unix/sysv/linux/alpha: Move directory from
3071 ports/sysdeps/unix/sysv/linux/alpha.
3072 * README: Update listing for alpha-*-linux-gnu.
3073
cb4a2928
JM
30742014-02-11 Joseph Myers <joseph@codesourcery.com>
3075
c941736c
JM
3076 * include/features.h: Update comment documenting feature test
3077 macros.
3078 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3079 _DEFAULT_SOURCE.
3080 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3081 (_SVID_SOURCE): Likewise.
3082 (_DEFAULT_SOURCE): Update description of default features.
3083 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3084 with _GNU_SOURCE.
3085 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3086 (S_ISVTX): Likewise.
3087 * manual/math.texi (Mathematical Constants): Likewise.
3088 * manual/signal.texi (Interrupted Primitives): Likewise.
3089 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3090 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3091 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3092 Don't refer to _SVID_SOURCE in warning text.
3093
e8d8d7ec
JM
3094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3095
cb4a2928
JM
3096 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3097 already defined.
3098 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3099 * sysdeps/mips/dl-lookup.c: Remove.
3100 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3101
7e6424e3
AK
31022014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3103
3104 [BZ #16447]
3105 * math/auto-libm-test-in: Add testcase for expl.
3106 * math/auto-libm-test-out: Regenerate.
3107 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3108 calculation of unsafe.
3109 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3110
75eff3fe
MS
31112014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3112
3113 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3114 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3115 ports/sysdeps/unix/sysv/linux/aarch64.
3116 * README: Update listing for aarch64*-*-linux-gnu.
3117
d35f1e80
WN
31182014-02-11 Will Newton <will.newton@linaro.org>
3119
3120 * manual/probes.texi (Mathematical Function Probes): Use
3121 "triggered" instead of "hit".
3122
7b3436d4
WN
31232014-02-11 Will Newton <will.newton@linaro.org>
3124
3125 * manual/probes.texi (Internal Probes): Add documentation
3126 of setjmp, longjmp and longjmp_target probes.
3127
b4f12ca3
WN
31282014-02-11 Will Newton <will.newton@linaro.org>
3129
3130 * include/stap-probe.h: Add comment about probe argument
3131 format.
3132
c13a72b7
WN
31332014-02-11 Will Newton <will.newton@linaro.org>
3134
3135 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3136 definition. (tr_where, tr_freehook, tr_mallochook,
3137 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3138
195b8165
DM
31392014-02-11 David S. Miller <davem@davemloft.net>
3140
3141 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3142 processing int_tests.
3143
2ad7600b
JM
31442014-02-10 Joseph Myers <joseph@codesourcery.com>
3145
3146 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3147 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3148 * sysdeps/unix/sysv/linux/mips: Move directory from
3149 ports/sysdeps/unix/sysv/linux/mips.
3150 * README: Update listing for mips-*-linux-gnu and
3151 mips64-*-linux-gnu.
3152
73588a72
AS
31532014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3154
3155 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3156 * sysdeps/unix/sysv/linux/m68k: Move directory from
3157 ports/sysdeps/unix/sysv/linux/m68k.
3158 * README: Update listing for m68k-*-linux-gnu.
3159
4372980f
CM
31602014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3161
3162 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3163 * sysdeps/unix/sysv/linux/generic: Move directory from
3164 ports/sysdeps/unix/sysv/linux/generic.
3165 * sysdeps/unix/sysv/linux/tile: Move directory from
3166 ports/sysdeps/unix/sysv/linux/tile.
3167 * README: Update listing for tile*-*-linux-gnu.
3168
a1ffb40e
OB
31692014-02-10 Ondřej Bílka <neleai@seznam.cz>
3170
3171 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3172 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3173 * catgets/open_catalog.c (__open_catalog): Likewise.
3174 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3175 * debug/confstr_chk.c: Likewise.
3176 * debug/fread_chk.c (__fread_chk): Likewise.
3177 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3178 * debug/getgroups_chk.c: Likewise.
3179 * debug/mbsnrtowcs_chk.c: Likewise.
3180 * debug/mbsrtowcs_chk.c: Likewise.
3181 * debug/mbstowcs_chk.c: Likewise.
3182 * debug/memcpy_chk.c: Likewise.
3183 * debug/memmove_chk.c: Likewise.
3184 * debug/mempcpy_chk.c: Likewise.
3185 * debug/memset_chk.c: Likewise.
3186 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3187 * debug/strcat_chk.c (__strcat_chk): Likewise.
3188 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3189 * debug/strncat_chk.c (__strncat_chk): Likewise.
3190 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3191 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3192 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3193 * debug/wcpncpy_chk.c: Likewise.
3194 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3195 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3196 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3197 * debug/wcsncpy_chk.c: Likewise.
3198 * debug/wcsnrtombs_chk.c: Likewise.
3199 * debug/wcsrtombs_chk.c: Likewise.
3200 * debug/wcstombs_chk.c: Likewise.
3201 * debug/wmemcpy_chk.c: Likewise.
3202 * debug/wmemmove_chk.c: Likewise.
3203 * debug/wmempcpy_chk.c: Likewise.
3204 * debug/wmemset_chk.c: Likewise.
3205 * dirent/scandirat.c (SCANDIRAT): Likewise.
3206 * dlfcn/dladdr1.c (dladdr1): Likewise.
3207 * dlfcn/dladdr.c (dladdr): Likewise.
3208 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3209 * dlfcn/dlerror.c (__dlerror): Likewise.
3210 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3211 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3212 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3213 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3214 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3215 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3216 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3217 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3218 Likewise.
3219 * elf/dl-conflict.c: Likewise.
3220 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3221 * elf/dl-dst.h: Likewise.
3222 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3223 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3224 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3225 * elf/dl-init.c (call_init, _dl_init): Likewise.
3226 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3227 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3228 _dl_map_object_from_fd, open_verify, open_path,
3229 _dl_map_object): Likewise.
3230 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3231 Likewise.
3232 * elf/dl-minimal.c (__libc_memalign): Likewise.
3233 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3234 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3235 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3236 * elf/dl-sym.c (do_sym): Likewise.
3237 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3238 _dl_tls_get_addr_soft): Likewise.
3239 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3240 * elf/dl-writev.h (_dl_writev): Likewise.
3241 * elf/ldconfig.c (search_dir): Likewise.
3242 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3243 dl_main): Likewise.
3244 * elf/setup-vdso.h (setup_vdso): Likewise.
3245 * grp/compat-initgroups.c (compat_call): Likewise.
3246 * grp/fgetgrent.c (fgetgrent): Likewise.
3247 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3248 * grp/putgrent.c (putgrent): Likewise.
3249 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3250 Likewise.
3251 * hurd/hurdinit.c: Likewise.
3252 * iconvdata/8bit-gap.c (struct): Likewise.
3253 * iconvdata/ansi_x3.110.c : Likewise.
3254 * iconvdata/big5.c : Likewise.
3255 * iconvdata/big5hkscs.c : Likewise.
3256 * iconvdata/cp1255.c: Likewise.
3257 * iconvdata/cp1258.c : Likewise.
3258 * iconvdata/cp932.c : Likewise.
3259 * iconvdata/euc-cn.c: Likewise.
3260 * iconvdata/euc-jisx0213.c : Likewise.
3261 * iconvdata/euc-jp.c: Likewise.
3262 * iconvdata/euc-jp-ms.c : Likewise.
3263 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3264 * iconvdata/gb18030.c : Likewise.
3265 * iconvdata/gbbig5.c (const): Likewise.
3266 * iconvdata/gbgbk.c: Likewise.
3267 * iconvdata/gbk.c : Likewise.
3268 * iconvdata/ibm1364.c : Likewise.
3269 * iconvdata/ibm930.c : Likewise.
3270 * iconvdata/ibm932.c: Likewise.
3271 * iconvdata/ibm933.c : Likewise.
3272 * iconvdata/ibm935.c : Likewise.
3273 * iconvdata/ibm937.c : Likewise.
3274 * iconvdata/ibm939.c : Likewise.
3275 * iconvdata/ibm943.c: Likewise.
3276 * iconvdata/iso_11548-1.c: Likewise.
3277 * iconvdata/iso-2022-cn.c : Likewise.
3278 * iconvdata/iso-2022-cn-ext.c : Likewise.
3279 * iconvdata/iso-2022-jp-3.c: Likewise.
3280 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3281 * iconvdata/iso-2022-kr.c : Likewise.
3282 * iconvdata/iso646.c (gconv_end): Likewise.
3283 * iconvdata/iso_6937-2.c : Likewise.
3284 * iconvdata/iso_6937.c : Likewise.
3285 * iconvdata/iso8859-1.c: Likewise.
3286 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3287 * iconvdata/shift_jisx0213.c : Likewise.
3288 * iconvdata/sjis.c : Likewise.
3289 * iconvdata/t.61.c : Likewise.
3290 * iconvdata/tcvn5712-1.c : Likewise.
3291 * iconvdata/tscii.c: Likewise.
3292 * iconvdata/uhc.c : Likewise.
3293 * iconvdata/unicode.c (gconv_end): Likewise.
3294 * iconvdata/utf-16.c (gconv_end): Likewise.
3295 * iconvdata/utf-32.c (gconv_end): Likewise.
3296 * iconvdata/utf-7.c (base64): Likewise.
3297 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3298 * iconv/gconv_close.c (__gconv_close): Likewise.
3299 * iconv/gconv_open.c (__gconv_open): Likewise.
3300 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3301 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3302 internal_ucs4le_loop_single, ucs4le_internal_loop,
3303 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3304 * iconv/iconv.c (iconv): Likewise.
3305 * iconv/iconv_close.c: Likewise.
3306 * iconv/loop.c (SINGLE): Likewise.
3307 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3308 * include/atomic.h: Likewise.
3309 * inet/inet6_option.c (option_alloc): Likewise.
3310 * intl/bindtextdom.c (set_binding_values): Likewise.
3311 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3312 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3313 * intl/localealias.c (read_alias_file): Likewise.
3314 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3315 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3316 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3317 * libio/fmemopen.c (fmemopen): Likewise.
3318 * libio/iofgets.c (_IO_fgets): Likewise.
3319 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3320 * libio/iofgetws.c (fgetws): Likewise.
3321 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3322 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3323 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3324 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3325 * locale/findlocale.c (_nl_find_locale): Likewise.
3326 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3327 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3328 Likewise.
3329 * locale/setlocale.c (setlocale): Likewise.
3330 * login/programs/pt_chown.c (main): Likewise.
3331 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3332 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3333 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3334 mmap, mmap64, mremap, munmap): Likewise.
3335 * math/e_exp2l.c: Likewise.
3336 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3337 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3338 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3339 * math/s_catan.c (__catan): Likewise.
3340 * math/s_catanf.c (__catanf): Likewise.
3341 * math/s_catanh.c (__catanh): Likewise.
3342 * math/s_catanhf.c (__catanhf): Likewise.
3343 * math/s_catanhl.c (__catanhl): Likewise.
3344 * math/s_catanl.c (__catanl): Likewise.
3345 * math/s_ccosh.c (__ccosh): Likewise.
3346 * math/s_ccoshf.c (__ccoshf): Likewise.
3347 * math/s_ccoshl.c (__ccoshl): Likewise.
3348 * math/s_cexp.c (__cexp): Likewise.
3349 * math/s_cexpf.c (__cexpf): Likewise.
3350 * math/s_cexpl.c (__cexpl): Likewise.
3351 * math/s_clog10.c (__clog10): Likewise.
3352 * math/s_clog10f.c (__clog10f): Likewise.
3353 * math/s_clog10l.c (__clog10l): Likewise.
3354 * math/s_clog.c (__clog): Likewise.
3355 * math/s_clogf.c (__clogf): Likewise.
3356 * math/s_clogl.c (__clogl): Likewise.
3357 * math/s_csin.c (__csin): Likewise.
3358 * math/s_csinf.c (__csinf): Likewise.
3359 * math/s_csinh.c (__csinh): Likewise.
3360 * math/s_csinhf.c (__csinhf): Likewise.
3361 * math/s_csinhl.c (__csinhl): Likewise.
3362 * math/s_csinl.c (__csinl): Likewise.
3363 * math/s_csqrt.c (__csqrt): Likewise.
3364 * math/s_csqrtf.c (__csqrtf): Likewise.
3365 * math/s_csqrtl.c (__csqrtl): Likewise.
3366 * math/s_ctan.c (__ctan): Likewise.
3367 * math/s_ctanf.c (__ctanf): Likewise.
3368 * math/s_ctanh.c (__ctanh): Likewise.
3369 * math/s_ctanhf.c (__ctanhf): Likewise.
3370 * math/s_ctanhl.c (__ctanhl): Likewise.
3371 * math/s_ctanl.c (__ctanl): Likewise.
3372 * math/w_pow.c: Likewise.
3373 * math/w_powf.c: Likewise.
3374 * math/w_powl.c: Likewise.
3375 * math/w_scalb.c (sysv_scalb): Likewise.
3376 * math/w_scalbf.c (sysv_scalbf): Likewise.
3377 * math/w_scalbl.c (sysv_scalbl): Likewise.
3378 * misc/error.c (error_tail): Likewise.
3379 * misc/pselect.c (__pselect): Likewise.
3380 * nis/nis_callback.c (__nis_create_callback): Likewise.
3381 * nis/nis_call.c (__nisfind_server): Likewise.
3382 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3383 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3384 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3385 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3386 * nis/nis_lookup.c (nis_lookup): Likewise.
3387 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3388 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3389 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3390 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3391 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3392 internal_getgrgid_r): Likewise.
3393 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3394 Likewise.
3395 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3396 internal_getpwuid_r): Likewise.
3397 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3398 internal_getspnam_r): Likewise.
3399 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3400 _nss_nis_getaliasbyname_r): Likewise.
3401 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3402 _nss_nis_getntohost_r): Likewise.
3403 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3404 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3405 Likewise.
3406 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3407 internal_nis_gethostent_r, internal_gethostbyname2_r,
3408 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3409 _nss_nis_gethostbyname4_r): Likewise.
3410 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3411 initgroups_netid): Likewise.
3412 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3413 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3414 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3415 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3416 _nss_nis_getprotobynumber_r): Likewise.
3417 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3418 _nss_nis_getsecretkey): Likewise.
3419 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3420 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3421 Likewise.
3422 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3423 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3424 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3425 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3426 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3427 _nss_nis_getspnam_r): Likewise.
3428 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3429 Likewise.
3430 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3431 _nss_nisplus_getntohost_r): Likewise.
3432 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3433 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3434 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3435 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3436 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3437 Likewise.
3438 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3439 _nss_nisplus_getnetbyaddr_r): Likewise.
3440 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3441 _nss_nisplus_getprotobynumber_r): Likewise.
3442 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3443 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3444 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3445 Likewise.
3446 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3447 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3448 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3449 _nss_nisplus_getspnam_r): Likewise.
3450 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3451 * nscd/aicache.c (addhstaiX): Likewise.
3452 * nscd/cache.c (cache_search, prune_cache): Likewise.
3453 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3454 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3455 * nscd/grpcache.c (addgrbyX): Likewise.
3456 * nscd/hstcache.c (addhstbyX): Likewise.
3457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3458 * nscd/mem.c (gc, mempool_alloc): Likewise.
3459 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3460 Likewise.
3461 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3462 Likewise.
3463 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3464 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3465 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3466 Likewise.
3467 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3468 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3469 * nscd/nscd_helper.c (__readvall, open_socket,
3470 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3471 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3472 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3473 * nscd/pwdcache.c (addpwbyX): Likewise.
3474 * nscd/selinux.c (preserve_capabilities): Likewise.
3475 * nscd/servicescache.c (addservbyX): Likewise.
3476 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3477 * posix/fnmatch.c (fnmatch): Likewise.
3478 * posix/getopt.c (_getopt_internal_r): Likewise.
3479 * posix/glob.c (glob, glob_in_dir): Likewise.
3480 * posix/wordexp.c (exec_comm_child): Likewise.
3481 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3482 gaih_getanswer_slice): Likewise.
3483 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3484 * resolv/res_init.c: Likewise.
3485 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3486 * resolv/res_query.c (__libc_res_nquery): Likewise.
3487 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3488 Likewise.
3489 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3490 * stdio-common/perror.c (perror): Likewise.
3491 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3492 * stdio-common/tmpnam.c (tmpnam): Likewise.
3493 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3494 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3495 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3496 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3497 * stdlib/putenv.c (putenv): Likewise.
3498 * stdlib/setenv.c (__add_to_environ): Likewise.
3499 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3500 * stdlib/strtol_l.c (INTERNAL): Likewise.
3501 * string/memmem.c (memmem): Likewise.
3502 * string/strerror.c (strerror): Likewise.
3503 * string/strnlen.c (__strnlen): Likewise.
3504 * string/test-memmem.c (simple_memmem): Likewise.
3505 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3506 * sunrpc/pm_getport.c (__get_socket): Likewise.
3507 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3508 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3509 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3510 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3511 Likewise.
3512 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3513 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3514 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3515 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3516 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3517 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3518 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3519 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3520 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3521 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3522 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3523 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3525 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3526 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3527 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3528 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3529 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3530 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3531 Likewise.
3532 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3533 Likewise.
3534 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3535 Likewise.
3536 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3537 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3538 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3539 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3540 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3541 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3542 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3543 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3544 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3545 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3546 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3548 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3549 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3551 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3552 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3553 Likewise.
3554 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3555 Likewise.
3556 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3557 Likewise.
3558 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3559 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3560 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3561 Likewise.
3562 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3563 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3564 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3565 * sysdeps/posix/sleep.c: Likewise.
3566 * sysdeps/posix/tempname.c: Likewise.
3567 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3568 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3569 Likewise.
3570 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3571 elf_machine_rela): Likewise.
3572 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3573 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3574 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3575 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3576 Likewise.
3577 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3578 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3579 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3580 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3581 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3582 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3583 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3584 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3585 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3586 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3587 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3588 elf_machine_lazy_rel): Likewise.
3589 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3590 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3591 elf_machine_lazy_rel): Likewise.
3592 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3593 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3594 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3595 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3596 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3597 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3598 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3599 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3600 Likewise.
3601 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3602 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3603 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3604 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3605 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3606 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3607 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3608 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3609 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3610 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3611 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3612 Likewise.
3613 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3614 (__posix_fallocate64_l64): Likewise.
3615 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3616 (posix_fallocate): Likewise.
3617 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3618 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3619 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3620 getifaddrs_internal): Likewise.
3621 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3622 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3623 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3624 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3625 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3626 (__posix_fallocate64_l64): Likewise.
3627 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3628 Likewise.
3629 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3630 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3631 Likewise.
3632 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3633 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3634 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3635 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3636 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3637 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3638 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3639 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3640 Likewise.
3641 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3642 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3643 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3644 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3645 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3646 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3647 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3648 Likewise.
3649 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3650 (posix_fallocate): Likewise.
3651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3652 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3653 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3654 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3655 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3656 Likewise.
3657 * time/asctime.c (asctime_internal): Likewise.
3658 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3659 * time/tzset.c (__tzset_parse_tz): Likewise.
3660 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3661 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3662 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3663 * wcsmbs/wcsmbsload.h: Likewise.
3664
f3d338c9
OB
36652014-02-10 Ondřej Bílka <neleai@seznam.cz>
3666
3667 [BZ #15894]
3668 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3669
bdfe308a
OB
36702014-02-10 Ondřej Bílka <neleai@seznam.cz>
3671
3672 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3673 arena_get2): Remove THREAD_STATS conditionals.
3674 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3675 __malloc_stats, int): Likewise.
3676
d674667c
MF
36772014-02-08 Mike Frysinger <vapier@gentoo.org>
3678
3679 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3680 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3681
6349768c
MF
36822014-02-08 Mike Frysinger <vapier@gentoo.org>
3683
3684 * manual/setjmp.texi: Fix typos/grammar errors.
3685
0b7c7473
MF
36862014-02-08 Mike Frysinger <vapier@gentoo.org>
3687
3688 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3689 Only return early when n is <= 0. Delete unused return statement.
3690
ac8cc9e3
MF
36912014-02-08 Mike Frysinger <vapier@gentoo.org>
3692
3693 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3694 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3695 * debug/tst-longjmp_chk3.c: New file.
3696
c5bb8e23
MF
36972014-02-08 Mike Frysinger <vapier@gentoo.org>
3698
3699 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3700 (test_main): Replace code with set_fortify_handler call.
3701 * debug/test-strcpy_chk.c: Likewise.
3702 * debug/tst-chk1.c: Likewise.
3703 * debug/tst-longjmp_chk.c: Likewise.
3704 * test-skeleton.c: Include fcntl.h & paths.h
3705 (set_fortify_handler): Define.
3706
10444e42
MF
37072014-02-08 Mike Frysinger <vapier@gentoo.org>
3708
3709 * debug/tst-longjmp_chk.c: Add header comment and include
3710 ../test-skeleton.c.
3711 (do_test): Mark static.
3712 (TEST_FUNCTION): Define.
3713
1e805e8d
MF
37142014-02-08 Mike Frysinger <vapier@gentoo.org>
3715
3716 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3717 (IP_PMTUDISC_INTERFACE): Likewise.
3718 (IP_MULTICAST_IF): Likewise.
3719 (IP_MULTICAST_TTL): Likewise.
3720 (IP_MULTICAST_LOOP): Likewise.
3721 (IP_ADD_MEMBERSHIP): Likewise.
3722 (IP_DROP_MEMBERSHIP): Likewise.
3723 (IP_UNBLOCK_SOURCE): Likewise.
3724 (IP_BLOCK_SOURCE): Likewise.
3725 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3726 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3727 (IP_MSFILTER): Likewise.
3728 (MCAST_JOIN_GROUP): Likewise.
3729 (MCAST_BLOCK_SOURCE): Likewise.
3730 (MCAST_UNBLOCK_SOURCE): Likewise.
3731 (MCAST_LEAVE_GROUP): Likewise.
3732 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3733 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3734 (MCAST_MSFILTER): Likewise.
3735 (IP_MULTICAST_ALL): Likewise.
3736 (IP_UNICAST_IF): Likewise.
3737
73f79bb7
MF
37382014-02-08 Mike Frysinger <vapier@gentoo.org>
3739
3740 * timezone/Makefile: Delete $(have-ksh) check.
3741 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3742 * timezone/tzselect.ksh: Add +x mode bits.
3743
8da79b60
MF
37442014-02-08 Mike Frysinger <vapier@gentoo.org>
3745
3746 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3747 (ANON_INODE_FS_MAGIC): Likewise.
3748 (BDEVFS_MAGIC): Likewise.
3749 (BINFMTFS_MAGIC): Likewise.
3750 (BTRFS_TEST_MAGIC): Likewise.
3751 (CRAMFS_MAGIC_WEND): Likewise.
3752 (DEBUGFS_MAGIC): Likewise.
3753 (ECRYPTFS_SUPER_MAGIC): Likewise.
3754 (EXT3_SUPER_MAGIC): Likewise.
3755 (EXT4_SUPER_MAGIC): Likewise.
3756 (FUTEXFS_SUPER_MAGIC): Likewise.
3757 (HOSTFS_SUPER_MAGIC): Likewise.
3758 (HUGETLBFS_MAGIC): Likewise.
3759 (MINIX3_SUPER_MAGIC): Likewise.
3760 (MTD_INODE_FS_MAGIC): Likewise.
3761 (NILFS_SUPER_MAGIC): Likewise.
3762 (OPENPROM_SUPER_MAGIC): Likewise.
3763 (PIPEFS_MAGIC): Likewise.
3764 (PSTOREFS_MAGIC): Likewise.
3765 (QNX6_SUPER_MAGIC): Likewise.
3766 (RAMFS_MAGIC): Likewise.
3767 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3768 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3769 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3770 (SECURITYFS_MAGIC): Likewise.
3771 (SELINUX_MAGIC): Likewise.
3772 (SMACK_MAGIC): Likewise.
3773 (SOCKFS_MAGIC): Likewise.
3774 (SQUASHFS_MAGIC): Likewise.
3775 (STACK_END_MAGIC): Likewise.
3776 (TMPFS_MAGIC): Likewise.
3777 (USBDEVICE_SUPER_MAGIC): Likewise.
3778 (V9FS_MAGIC): Likewise.
3779 (XENFS_SUPER_MAGIC): Likewise.
3780 (CRAMFS_MAGIC): Fix typo in comment.
3781 (EXT2_SUPER_MAGIC): Update comment.
3782 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3783
464263cc
JM
37842014-02-08 Joseph Myers <joseph@codesourcery.com>
3785
c6bfe5c4
JM
3786 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3787 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3788 * sysdeps/unix/sysv/linux/arm: Move directory from
3789 ports/sysdeps/unix/sysv/linux/arm.
3790 * README: Update listing for arm-*-linux-gnueabi.
3791
464263cc
JM
3792 * README: Remove mention of am33.
3793
32749f6c
RM
37942014-02-07 Roland McGrath <roland@hack.frob.com>
3795
3796 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3797 than the comma operator, to avoid "rhs of comma has no effect"
3798 compiler warnings.
3799 (__sigfillset, __sigandset, __sigorset): Likewise.
3800 * include/signal.h (__sigemptyset): Likewise.
3801 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3802
d5b396c1
AM
38032014-02-07 Allan McRae <allan@archlinux.org>
3804
3805 * version.h (RELEASE): Set to "development".
3806 (VERSION): Set to "2.19.90"
3807 * NEWS: Add 2.20 section.
3808
3bfff2ed
CD
38092014-02-06 Carlos O'Donell <carlos@redhat.com>
3810
3811 [BZ #16529]
3812 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3813
ee7cc385
SP
38142014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3815
3816 * manual/contrib.texi: Update entry for Carlos O'Donell,
3817 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3818
f877c4f2
CD
38192014-02-05 Carlos O'Donell <carlos@rehdat.com>
3820
27e839f6
CD
3821 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3822
f877c4f2
CD
3823 * sysdeps/unix/sysv/linux/kernel-features.h
3824 [__LINUX_KERNEL_VERSION >= 0x020621]
3825 (__ASSUME_PROC_PID_TASK_COMM): Define.
3826
68159946
SP
38272014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3828
ba17cdbd
SP
3829 [BZ #16398]
3830 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3831 conversion when destination buffer does not have enough space.
3832 * libio/tst-ftell-partial-wide.c: New test case.
3833 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3834
68159946
SP
3835 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3836 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3837 Leonard and Allan McRae.
3838
2b528732
DM
38392014-02-04 David S. Miller <davem@davemloft.net>
3840
3841 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3842 32-bit.
3843
0ff82463
AZ
38442014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3845
c01603f7
AZ
3846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3847 file
3848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3849 New file
3850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3851 file.
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3853 file.
3854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3855 New file.
3856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3857 file.
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3859 file.
3860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3861 New file.
3862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3863 New file.
3864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3865 New file.
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3867 New file.
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3869 New file.
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3871 New file.
3872
38732014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3874
0ff82463
AZ
3875 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3876 * shlib-versions: Likewise.
3877
1695c773
AZ
38782014-02-04 Roland McGrath <roland@hack.frob.com>
3879 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3880
3881 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3882 (abilist-pattern): New variable, set to %-le.abilist.
3883
3884 * Makerules (abilist-pattern): New variable.
3885 (vpath): Use $(abilist-pattern) in place of %.abilist.
3886 (check-abi-% pattern rule): Likewise.
3887 (check-abi, update-abi): Likewise.
3888
6c0ce4b4
EW
38892014-02-04 Eric Wong <normalperson@yhbt.net>
3890
3891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3892
dc98b8f5
EW
38932014-02-04 Eric Wong <normalperson@yhbt.net>
3894
3895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3896
481e3524
CD
38972014-02-03 Carlos O'Donell <carlos@redhat.com>
3898
3899 * manual/startup.texi: Add next, previous, and top entries for
3900 the `Program Arguments' and `Environment Variables' nodes.
3901
375592d3
AO
39022014-02-03 Alexandre Oliva <aoliva@redhat.com>
3903
3904 * manual/macros.texi: Add comments before MTASC-safety macros.
3905
f54838ba
AO
3906 * manual/users.texi: Document MTASC-safety properties.
3907
909e12ad
AO
3908 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3909 pthread_getspecific, pthread_setspecific): Format with
3910 @deftypefun, and add @safety note.
3911 * manual/signal.texi: Move comments that analyze the above
3912 functions to their home place.
3913
fd3daba4
AM
39142014-02-03 Allan McRae <allan@archlinux.org>
3915
3916 * po/sl.po: Update Slovenian translation from translation project.
3917
597636d7
AO
39182014-02-02 Alexandre Oliva <aoliva@redhat.com>
3919
3920 * manual/time.texi (timegm): Add missing blank after @c.
3921 Reported by Joseph Myers <joseph@codesourcery.com>.
3922
ee196e3c
AO
39232014-02-01 Alexandre Oliva <aoliva@redhat.com>
3924
3925 * manual/check-safety.sh: New.
3926 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3927
f8d529d5
AO
3928 * manual/terminal.texi: Document MTASC-safety properties.
3929
de55fdf4
AO
3930 * manual/filesys.texi: Document MTASC-safety properties.
3931
c3299c08
AO
3932 * manual/errno.texi: Document MTASC-safety properties.
3933
06e90b14
AO
3934 * manual/intro.texi: Document safety identifiers and
3935 conditionals.
3936
1acd4371
AO
3937 * manual/string.texi (wcstok): Fix prototype.
3938 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3939
23e5b8cb
AO
3940 * manual/time.texi: Document MTASC-safety properties.
3941
11087373
AO
3942 * manual/string.texi: Document MTASC-safety properties.
3943
5da2c93d
AO
3944 * manual/threads.texi: Document MTASC-safety properties.
3945
171e9210
AO
3946 * manual/stdio.texi: Document MTASC-safety properties.
3947
d9e02532
AO
3948 * manual/syslog.texi: Document MTASC-safety properties.
3949
6af8bab7
AO
3950 * manual/sysinfo.texi: Document MTASC-safety properties.
3951
663b02d7
AO
3952 * manual/startup.texi: Document MTASC-safety properties.
3953
973f180b
AO
3954 * manual/socket.texi: Document MTASC-safety properties.
3955
8f3c25c8
AO
3956 * manual/signal.texi: Document MTASC-safety properties.
3957
542210fb
AO
39582014-01-31 Alexandre Oliva <aoliva@redhat.com>
3959
3960 * manual/setjmp.texi: Document MTASC-safety properties.
3961
433c45a2
AO
3962 * manual/search.texi: Document MTASC-safety properties.
3963
c8ce789c
AO
3964 * manual/resource.texi: Document MTASC-safety properties.
3965
19f5d29c
AO
3966 * manual/process.texi: Document MTASC-safety properties.
3967
e2dfb7f4
AO
3968 * manual/platform.texi: Document MTASC-safety properties.
3969
8c1413f5
AO
3970 * manual/pipe.texi: Document MTASC-safety properties.
3971
03483ada
AO
3972 * manual/pattern.texi: Document MTASC-safety properties.
3973
29e7e2df
AO
3974 * manual/message.texi: Document MTASC-safety properties.
3975
9f529d7c
AO
3976 [BZ #12751]
3977 * manual/memory.texi: Document MTASC-safety properties.
3978
27aaa791
AO
3979 * manual/math.texi: Document MTASC-safety properties.
3980
f2d58726
AO
3981 * manual/locale.texi: Document MTASC-safety properties.
3982
2cc3615c
AO
3983 * manual/llio.texi: Document MTASC-safety properties.
3984
d9f0ec97
AO
3985 * manual/libdl.texi: New.
3986
e7c4409a
AO
3987 * manual/lang.texi: Document MTASC-safety properties.
3988
27bdc63c
AO
3989 * manual/job.texi: Document MTASC-safety properties.
3990
a7b90ea9
AO
3991 * manual/getopt.texi: Document MTASC-safety properties.
3992
c49130e3
AO
3993 * manual/ctype.texi: Document MTASC-safety properties.
3994
0d23a5c1
MR
39952014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3996
3997 [BZ #16046]
3998 * csu/libc-tls.c (static_map): Remove variable.
3999 (__libc_setup_tls): Use main executable's link map for TLS data.
4000 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4001 casing for LM_ID_BASE and GL(dl_nns).
4002 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4003 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4004 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4005 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4006 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4007 member.
4008 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4009 l_phnum members.
4010
0037bb60
AO
40112014-01-30 Alexandre Oliva <aoliva@redhat.com>
4012
4013 * manual/debug.texi: Document MTASC-safety properties.
4014
409e00bd
L
40152014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4016
4017 [BZ #16510]
4018 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4019 of __x86_64__ when disabling x87 inline functions.
4020
86e60666
AO
40212014-01-29 Alexandre Oliva <aoliva@redhat.com>
4022
4023 * manual/charset.texi: Document MTASC-safety properties.
4024
76167637
AO
4025 * manual/crypt.texi: Document MTASC-safety properties.
4026
e567f2a0
AO
4027 * manual/conf.texi: Document MTASC-safety properties.
4028
b719dafd
AO
4029 * manual/arith.texi: Document MTASC-safety properties.
4030
4a16c662
AO
4031 * manual/argp.texi: Document MTASC-safety properties.
4032
0a57b83e
AO
4033 * manual/macros.texi: Introduce macros to document multi
4034 thread, asynchronous signal and asynchronous cancellation
4035 safety properties.
4036 * manual/intro.texi: Introduce the properties themselves.
4037
feab2397
KK
40382014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4039
4040 * sysdeps/sh/sh4/Makefile: New file.
4041
1c0d11bc
AS
40422014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4043
4044 * math/gen-libm-test.pl ($srcdir): New variable.
4045 ($auto_input): Use it.
4046
af37a8a3
SP
40472014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4048
d7b00f98
SP
4049 [BZ #16506]
4050 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4051 access beyond array bounds when parsing netgroups file.
4052
af37a8a3
SP
4053 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4054 the old buffer before realloc.
4055
0c00f062
AM
40562014-01-27 Allan McRae <allan@archlinux.org>
4057
4058 * po/fr.po: Update French translation from translation project.
4059
7d69a1b0
KK
40602014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4061
4062 * sysdeps/sh/libm-test-ulps: Regenerate.
4063
6e697ff7
DM
40642014-01-24 David S. Miller <davem@davemloft.net>
4065
4066 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4067
9cadb35c
KK
40682014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4069
4070 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4071 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4072
5d41dadf
SP
40732013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4074
4075 [BZ #16474]
4076 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4077 string pointers after reallocation.
4078
0bad441c
KK
40792014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4080
4081 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4082 __SH4A__ instead of __SH_FPU_ANY__.
4083
7007c661
KK
40842014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4085
4086 * sysdeps/sh/fpu_control.h: New file.
4087 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4088 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4089 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4090 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4091 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4092 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4093 * sysdeps/sh/sys/ucontext.h: Remove.
4094 * sysdeps/sh/sys: Remove directory.
4095
0f0c35e4
AK
40962014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4097
4098 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4099 s390/sys/ucontext.h.
4100 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4101 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4102
4959e284
L
41032014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4104
4105 [BZ #15605]
4106 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4107
d98720e0
AZ
41082014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4109
4110 [BZ#16431]
4111 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4112 Adjust the vDSO correctly for internal calls.
4113 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4114
91cbd0bc
AM
41152014-01-20 Allan McRae <allan@archlinux.org>
4116
4117 * po/ca.po: Update Catalan translation from translation project.
4118
7a02cfad
MF
41192014-01-16 Mike Frysinger <vapier@gentoo.org>
4120
4121 * sysdeps/s390/sotruss-lib.c: New file.
4122
736c304a
AZ
41232014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4124
4125 [BZ#16430]
6e077ee5 4126 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4127 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4128 local calls issues by not having a PLT stub required for IFUNC calls.
4129 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4130
94d0cea0
JM
41312014-01-16 Joseph Myers <joseph@codesourcery.com>
4132
4133 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4134 * math/test-fpucw-static.c: Likewise.
4135
980cb518
SP
41362013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4137
4138 [BZ #16453]
4139 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4140
2393fc01
AZ
41412014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4142
4143 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4144 implementation for powerpc.
4145
d359bcc2
OB
41462014-01-15 Ondřej Bílka <neleai@seznam.cz>
4147
4148 [BZ #14782]
4149 * sysdeps/posix/system.c (__libc_system): Do not enable
4150 asynchronous cancellation.
4151
7beb48cb
AK
41522014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4153
4154 [BZ #16427]
4155 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4156 handling only for numbers special also in the IEEE case.
4157
c20d5bf5
AK
41582014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4159
4160 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4161
e83bd4ee
AM
41622014-01-11 Allan McRae <allan@archlinux.org>
4163
76d0ea69
AM
4164 * po/bg.po: Update Bulgarian translation from translation project.
4165
e83bd4ee
AM
4166 * po/de.po: Update German translation from translation project.
4167
bc2ba20a
RM
41682014-01-10 Roland McGrath <roland@hack.frob.com>
4169
4170 * sysdeps/generic/gcc-compat.h: New file.
4171
649ecea2
SP
41722014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4173
4174 * benchtests/asin-inputs: Correct slow inputs.
4175 * benchtests/acos-inputs: Likewise.
4176
1b19c006
AM
41772014-01-10 Allan McRae <allan@archlinux.org>
4178
a46dab08
AM
4179 * po:sv.po: Update Swedish translation from translation project.
4180
421df74a
AM
4181 * po/vi.po: Update Vietnamese translation from translation project.
4182
d61c51a7
AM
4183 * po/eo.po: Update Esperanto translation from translation project.
4184
0339a319
AM
4185 * po/cs.po: Update Czech translation from translation project.
4186
94ad3e99
AM
4187 * po/nl.po: Update Dutch translation from translation project.
4188
e349ca71
AM
4189 * po/pl.po: Update Polish translation from translation project.
4190
ddf930c1
AM
4191 * po/ru.po: Update Russian translation from translation project.
4192
1b19c006
AM
4193 * po/uk.po: Update Ukrainian translation from translation project.
4194
9f236c49
BM
41952014-01-08 Brooks Moses <bmoses@google.com>
4196
4197 * elf/dl-load.c: Fix comment typo.
4198
cd6701cf
CD
41992014-01-08 Carlos O'Donell <carlos@redhat.com>
4200
4201 * po/header.pot: Rename to...
4202 * po/pot.header: ... this.
4203 * po/Makefile: Use pot.header.
4204
66671c84
YK
42052014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4206 Maxim Kuvyrkov <maxim@kugelworks.com>
4207
4208 [BZ #16394]
cd6701cf
CD
4209 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4210 SRC and DEST against LEN.
66671c84 4211
38f34581
AZ
42122014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4213
4214 [BZ #16414]
4215 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4216 implementation.
4217 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4218
42192014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4220
4221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4222
4c327f2a
JM
42232014-01-08 Joseph Myers <joseph@codesourcery.com>
4224
4225 [BZ #16408]
4226 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4227 for large positive arguments.
4228
b821f414
JM
42292014-01-07 Joseph Myers <joseph@codesourcery.com>
4230
1f0f2067
JM
4231 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4232
a5a326f6
JM
4233 * math/auto-libm-test-in: Mark various tests with
4234 xfail-rounding:ldbl-128ibm.
4235 * math/auto-libm-test-out: Regenerated.
4236
b821f414
JM
4237 [BZ #16407]
4238 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4239 Increase overflow threshold.
4240
94c8a4bc
OB
42412014-01-07 Ondřej Bílka <neleai@seznam.cz>
4242
4243 [BZ #14286]
4244 * stdio-common/vfprintf.c: Check for integer overflow.
4245
87ded0c3
AK
42462014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4247
4248 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4249 the first argument and return value of __tls_get_addr_internal.
4250
c5eebdd0
AK
42512014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4252
4253 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4254 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4255
05d138ef
AK
42562014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4257
4258 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4259 * sysdeps/s390/rtld-global-offsets.sym: New file.
4260 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4261 GLIBC_2.19 symbol.
4262 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4263 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4264 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4265 ... this.
4266 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4267 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4268 ... this.
4269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4270 Regenerate.
4271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4272 Regenerate.
4273 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4274 halfs of GPRs for high_gprs contexts.
4275 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4276 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4277 field.
4278 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4279 uc_flags field.
4280 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4281 64 bit versions:
4282 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4283 for high GPRs (uc_high_gprs) and for future extensions
4284 (__reserved).
4285 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4286 for future extensions (__reserved).
4287 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4288 64 bit versions:
4289 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4290 SC_HIGHGPRS offset definition.
4291 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4292 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4293
93a45ff1
AK
42942014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4295
4296 * Versions.def: Add GLIBC_2.19 for libpthread.
4297 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4298 siglongjmp for libpthread with GLIBC_2.19 symver.
4299 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4300 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4301 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4302 * sysdeps/s390/__longjmp.c: New file.
4303 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4304 * sysdeps/s390/longjmp.c: New file.
4305 * sysdeps/s390/setjmp.S: New file.
4306 * sysdeps/s390/sigjmp.S: New file.
4307 * sysdeps/s390/v1-longjmp.c: New file.
4308 * sysdeps/s390/v1-setjmp.h: New file.
4309 * sysdeps/s390/v1-sigjmp.c: New file.
4310 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4311 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4312 GLIBC_2.19 version.
4313 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4314 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4315 versioned symbols for ____longjmp_chk.
4316 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4317 Likewise.
4318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4319 Regenerate.
4320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4321 Regenerate.
4322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4323 Regenerate.
4324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4325 Regenerate.
4326 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4327 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4328 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4329 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4330 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4331 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4332 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4333 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4334 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4335 * sysdeps/s390/rtld-__longjmp.c: New file.
4336 * sysdeps/s390/rtld-setjmp.S: New file.
4337
eb3fc44b
JM
43382014-01-06 Joseph Myers <joseph@codesourcery.com>
4339
4340 [BZ #16400]
4341 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4342 Return -__logl (x) for small positive arguments without evaluating
4343 a polynomial.
4344
9341dde4
MF
43452014-01-06 Mike Frysinger <vapier@gentoo.org>
4346
4347 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4348 Rename to ...
4349 (__ptrace_peeksiginfo_args): ... this.
4350 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4351 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4352 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4353
4cff0293
AM
43542014-01-06 Allan McRae <allan@archlinux.org>
4355
4356 * inet/netinet/in.h: Fix typo in comment.
4357
75595dcf
AJ
43582014-01-05 Andreas Jaeger <aj@suse.de>
4359
4360 * sysdeps/i386/fpu/libm-test-ulps: Update.
4361
79c1e109
AM
43622014-01-05 Allan McRae <allan@archlinux.org>
4363
dd804818
AM
4364 * po/libc.pot: Regenerated.
4365
79c1e109
AM
4366 * malloc/memusagestat.c: Fix gettext call formatting.
4367
0c813d1f
SK
43682014-01-04 Sami Kerola <kerolasa@iki.fi>
4369
4370 * nscd/nscd.c: Improve usage() output.
4371
20f4a8d9
MF
43722014-01-04 Mike Frysinger <vapier@gentoo.org>
4373
4374 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4375 * sysdeps/unix/sysv/linux/configure: Regenerated.
4376 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4377 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4378
22562bb2
JM
43792014-01-03 Joseph Myers <joseph@codesourcery.com>
4380
4381 [BZ #16390]
4382 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4383 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4384
d7ad2d9b
AZ
43852014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4386
4387 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4388 extra tokens at end of #undef directive.
4389 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4390 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4391 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4392
7dd009d8
JM
43932014-01-03 Joseph Myers <joseph@codesourcery.com>
4394
24db925a
JM
4395 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4396
7dd009d8
JM
4397 * math/auto-libm-test-in: Mark various tests with
4398 xfail-rounding:ldbl-128ibm.
4399 * math/auto-libm-test-out: Regenerated.
4400
396e3ecf
JM
44012014-01-02 Joseph Myers <joseph@codesourcery.com>
4402
819e5d50
JM
4403 [BZ #16386]
4404 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4405 numbers with subnormal high part when calculating exponent.
4406
90b6a1e5
JM
4407 [BZ #16385]
4408 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4409 fabs.
4410
396e3ecf
JM
4411 [BZ #16384]
4412 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4413 M_LN2l.
4414 (__ieee754_acoshl): Use __log1pl not __log1p.
4415
6c8dbf00
OB
44162013-01-02 Ondřej Bílka <neleai@seznam.cz>
4417
4418 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4419 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4420 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4421 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4422 Convert to GNU style.
4423 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4424 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4425 memalign_check, __malloc_set_state): Likewise.
4426 * malloc/mallocbug.c (main): Likewise.
4427 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4428 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4429 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4430 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4431 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4432 * malloc/malloc.h: Likewise.
4433 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4434 memalignhook, reallochook, mabort): Likewise.
4435 * malloc/mcheck.h: Likewise.
4436 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4437 mmap64, mremap, munmap, dest): Likewise.
4438 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4439 * malloc/morecore.c (__default_morecore): Likewise.
4440 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4441 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4442 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4443 print_and_abort): Likewise.
4444 * malloc/obstack.h: Likewise.
4445 * malloc/set-freeres.c (__libc_freeres): Likewise.
4446 * malloc/tst-mallocstate.c (main): Likewise.
4447 * malloc/tst-mtrace.c (main): Likewise.
4448 * malloc/tst-realloc.c (do_test): Likewise.
4449
d4124212
SP
44502013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4451
9a3c6a6f
SP
4452 [BZ #16366]
4453 * nscd/netgroupcache.c (do_notfound): New function.
4454 (addgetnetgrentX): Use it.
4455
d4124212
SP
4456 [BZ # 16365]
4457 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4458 NSS_STATUS_NOTFOUND.
4459
97b9a009
JM
44602014-01-01 Joseph Myers <joseph@codesourcery.com>
4461
4462 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4464
d4697bc9
AM
44652014-01-01 Allan McRae <allan@archlinux.org>
4466
ddb3687f
AM
4467 * scripts/update-copyrights: Update configure input file suffix.
4468
88726d48
AM
4469 * NEWS: Update copyright year.
4470 * catgets/gencat.c: Likewise.
4471 * csu/version.c: Likewise.
4472 * debug/catchsegv.sh: Likewise.
4473 * debug/pcprofiledump.c: Likewise.
4474 * debug/xtrace.sh: Likewise.
4475 * elf/ldconfig.c: Likewise.
4476 * elf/ldd.bash.in: Likewise.
4477 * elf/pldd.c: Likewise.
4478 * elf/sotruss.ksh: Likewise.
4479 * elf/sprof.c: Likewise.
4480 * iconv/iconv_prog.c: Likewise.
4481 * iconv/iconvconfig.c: Likewise.
4482 * locale/programs/locale.c: Likewise.
4483 * locale/programs/localedef.c: Likewise.
4484 * login/programs/pt_chown.c: Likewise.
4485 * malloc/memusage.sh: Likewise.
4486 * malloc/memusagestat.c: Likewise.
4487 * malloc/mtrace.pl: Likewise.
4488 * manual/libc.texinfo: Likewise.
4489 * nscd/nscd.c: Likewise.
4490 * nss/getent.c: Likewise.
4491 * nss/makedb.c: Likewise.
4492 * posix/getconf.c: Likewise.
4493 * scripts/test-installation.pl: Likewise.
4494
d4697bc9
AM
4495 * All files with FSF copyright notices: Update copyright dates
4496 using scripts/update-copyrights.
4497 * intl/plural.c: Regenerated.
4498 * locale/programs/charmap-kw.h: Likewise.
4499 * locale/programs/locfile-kw.h: Likewise.
4500
c8590f9d
MF
45012013-12-31 Mike Frysinger <vapier@gentoo.org>
4502
4503 * sysdeps/unix/sysv/linux/configure: Regenerated.
4504 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4505 the linux/fanotify.h header.
4506 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4507 HAVE_LINUX_FANOTIFY_H is defined.
4508
b19221b9
SP
45092013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4510
dd1d85e5
SP
4511 * benchtests/cos-inputs: New inputs.
4512 * benchtests/sin-inputs: Likewise.
4513
1acbb90f
SP
4514 * benchtests/atan-inputs: New inputs. Fix name of multiple
4515 precision fallback inputs.
4516
4c012ed3
SP
4517 * benchtests/atanh-inputs: New inputs.
4518 * benchtests/tanh-inputs: Likewise.
4519
eff98324
SP
4520 * benchtests/acosh-inputs: New inputs.
4521 * benchtests/asinh-inputs: Likewise.
4522
ce641152
SP
4523 * benchtests/cosh-inputs: New inputs.
4524 * benchtests/sinh-inputs: Likewise.
4525
b19221b9
SP
4526 * benchtests/acos-inputs: Add more inputs.
4527 * benchtests/asin-inputs: Likewise.
4528
030a4976 45292013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4530
030a4976 4531 [BZ #16375]
9dcc8f11
VS
4532 * manual/arith.texi: Fix spelling.
4533 * manual/charset.texi: Likewise.
4534 * manual/errno.texi: Likewise.
4535 * manual/filesys.texi: Likewise.
4536 * manual/lang.texi: Likewise.
4537 * manual/llio.texi: Likewise.
4538 * manual/locale.texi: Likewise.
4539 * manual/message.texi: Likewise.
4540 * manual/resource.texi: Likewise.
4541 * manual/search.texi: Likewise.
4542 * manual/setjmp.texi: Likewise.
4543 * manual/stdio.texi: Likewise.
4544 * manual/string.texi: Likewise.
4545 * manual/sysinfo.texi: Likewise.
4546 * manual/time.texi: Likewise.
4547
11520a57
CD
45482013-12-27 Carlos O'Donell <carlos@redhat.com>
4549
4550 * po/sl.po: New file.
4551
471103ae
MF
45522013-12-27 Mike Frysinger <vapier@gentoo.org>
4553
4554 * .gitignore: Add core/.gdbinit/.gdb_history.
4555
6c9642ed
AM
45562013-12-27 Allan McRae <allan@archlinux.org>
4557
4558 [BZ #16369]
4559 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4560 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4561
3f637079
BM
45622013-12-24 Brooks Moses <bmoses@google.com>
4563
4564 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4565 all compilers that claim C++98 compliance, not just GCC.
4566 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4567 Likewise.
4568
abc26e99
MK
45692013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4570
4571 * NEWS: Restore accidentally deleted bug-fix entries.
4572
362b47fe
MK
45732013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4574 Ondřej Bílka <neleai@seznam.cz>
4575
4576 [BZ #15073]
4577 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4578 have_lock.
362b47fe 4579
b9bcbbcb
OB
45802013-12-23 Ondřej Bílka <neleai@seznam.cz>
4581
4582 [BZ #12986]
4583 * manual/stdio.texi (String Input Conversions): Clarify that character
4584 classes are not supported.
4585
fb55fcd2
AZ
45862013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4587
4588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4589
ef7344f0
JM
45902013-12-22 Joseph Myers <joseph@codesourcery.com>
4591
4f40e4b3
JM
4592 [BZ #16337]
4593 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4594 Calculate results for small negative arguments directly rather
4595 than using reflection formula with special underflow handling.
4596
ef7344f0
JM
4597 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4598 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4599 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4600 (fchflags): Likewise.
4601 (revoke): Likewise.
4602 (setlogin): Likewise.
4603 (sigaltstack): Likewise.
4604 (wait4): Likewise.
4605 (sigblock): Remove.
4606 (sigsetmask): Likewise.
4607 (wait3): Likewise.
4608 (waitpid): Likewise.
4609 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4610 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4611 file.
4612 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4613 * sysdeps/unix/bsd/Makefile: ... here.
4614 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4615 * sysdeps/unix/bsd/Versions: ... here.
4616 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4617 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4618 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4619 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4620 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4621 * sysdeps/unix/bsd/sigblock.c: ... here.
4622 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4623 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4624 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4625 * sysdeps/unix/bsd/sigvec.c: ... here.
4626 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4627 * sysdeps/unix/bsd/tcdrain.c: ... here.
4628 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4629 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4630 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4631 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4632 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4633 * sysdeps/unix/bsd/wait.c: ... here.
4634 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4635 * sysdeps/unix/bsd/wait3.c: ... here.
4636 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4637 * sysdeps/unix/bsd/waitpid.c: ... here.
4638
5b0626b9
JM
46392013-12-21 Joseph Myers <joseph@codesourcery.com>
4640
4641 [BZ #16356]
4642 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4643 round-to-nearest for [!USE_AS_EXPM1L].
4644 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4645 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4646 more tests of exp and exp10. Expect some exp10 tests to miss
4647 exceptions or fail in directed rounding modes.
4648 * math/auto-libm-test-out: Regenerated.
4649 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4650 (exp10_test_tonearest): New function.
4651 (exp10_towardzero_test_data): New array.
4652 (exp10_test_towardzero): New function.
4653 (exp10_downward_test_data): New array.
4654 (exp10_test_downward): New function.
4655 (exp10_upward_test_data): New array.
4656 (exp10_test_upward): New function.
4657 (main): Call the new functions.
4658 * sysdeps/i386/fpu/libm-test-ulps: Update.
4659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4660
7fda5682
JM
46612013-12-20 Joseph Myers <joseph@codesourcery.com>
4662
31e3a405
JM
4663 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4664 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4665 * math/auto-libm-test-out: Regenerated.
4666 * math/libm-test.inc (acosh_test_data): Add more tests.
4667 (atanh_test_data): Likewise.
4668 (ceil_test_data): Likewise.
4669 (copysign_test_data): Likewise.
4670 * sysdeps/i386/fpu/libm-test-ulps: Update.
4671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4672
85bff96a
JM
4673 * timezone/checktab.awk: Update from tzcode 2013i.
4674 * timezone/private.h: Likewise.
4675 * timezone/scheck.c: Likewise.
4676 * timezone/tzfile.h: Likewise.
4677 * timezone/tzselect.ksh: Likewise.
4678 * timezone/zdump.c: Likewise.
4679 * timezone/zic.c: Likewise.
4680
b7867a3b
JM
4681 * math/auto-libm-test-in: Add tests of cpow.
4682 * math/auto-libm-test-out: Regenerated.
4683 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4684 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4685 mpc_cc_c.
4686 (func_calc_desc): Add mpc_cc_c union field.
4687 (test_functions): Add cpow.
4688 (special_fill_2pi): New function.
4689 (special_real_inputs): Add 2pi.
4690 (calc_generic_results): Handle mpc_cc_c.
4691 * sysdeps/i386/fpu/libm-test-ulps: Update.
4692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4693
7fda5682
JM
4694 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4695 csqrt, ctan and ctanh.
4696 * math/auto-libm-test-out: Regenerated.
4697 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4698 (TEST_COND_x86): Likewise.
4699 (ccos_test_data): Use AUTO_TESTS_c_c.
4700 (ccosh_test_data): Likewise.
4701 (cexp_test_data): Likewise.
4702 (clog_test_data): Likewise.
4703 (csqrt_test_data): Likewise.
4704 (ctan_test_data): Likewise.
4705 (ctan_tonearest_test_data): Likewise.
4706 (ctan_towardzero_test_data): Likewise.
4707 (ctan_downward_test_data): Likewise.
4708 (ctan_upward_test_data): Likewise.
4709 (ctanh_test_data): Likewise.
4710 (ctanh_tonearest_test_data): Likewise.
4711 (ctanh_towardzero_test_data): Likewise.
4712 (ctanh_downward_test_data): Likewise.
4713 (ctanh_upward_test_data): Likewise.
4714 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4715 mpc_c_c.
4716 (func_calc_desc): Add mpc_c_c union field.
4717 (FUNC_mpc_c_c): New macro.
4718 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4719 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4720 ctanh.
4721 (special_fill_min_subnorm_p120): New function.
4722 (special_real_inputs): Add min_subnorm_p120.
4723 (calc_generic_results): Handle mpc_c_c.
4724 * sysdeps/i386/fpu/libm-test-ulps: Update.
4725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4726
5ff8d60e
SP
47272013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4728
392dd2de
SP
4729 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4730 do_sin_slow): New functions.
4731 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4732 cslow2, csloww1, csloww2): Use the new functions.
4733
84ba214c
SP
4734 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4735 Use M to change sign of result instead of X. Assume X is
4736 positive.
4737 (csloww1): Likewise.
4738 (__sin): Adjust.
4739 (__cos): Adjust.
4740
975195e4
SP
4741 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4742 arguments A and DA.
4743 (__sin): Adjust.
4744 (__cos): Likewise.
4745
5ff8d60e
SP
4746 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4747 (__cos): Likewise.
4748 (sloww1): Don't adjust sign of DX.
4749 (csloww1): Likewise.
4750 (sloww2): Use X directly and don't adjust sign of DX.
4751 (csloww2): Likewise.
4752
eb983568
JM
47532013-12-19 Joseph Myers <joseph@codesourcery.com>
4754
64a17f1a
JM
4755 * math/auto-libm-test-in: Add tests of cabs and carg.
4756 * math/auto-libm-test-out: Regenerated.
4757 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4758 (carg_test_data): Likewise.
4759 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4760 mpc_c_f.
4761 (func_calc_desc): Add mpc_c_f union field.
4762 (test_functions): Add cabs and carg.
4763 (calc_generic_results): Handle mpc_c_f.
4764
eb983568
JM
4765 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4766 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4767 as a macro and a compat symbol.
4768 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4769 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4770 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4771 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4772 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4773 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4774 not use .hidden.
4775 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4776 Likewise.
4777 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4778 Likewise.
4779 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4780 Likewise.
4781 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4782 Likewise.
4783 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4784 Likewise.
4785 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4786 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4787 from GLIBC_2.3.2.
4788
6eeb678a
AZ
47892013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4790
4791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4792
6f6fc482
JM
47932013-12-19 Joseph Myers <joseph@codesourcery.com>
4794
21fea2e2
JM
4795 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4796 trailing whitespace removed.
4797 * scripts/config.guess: Update to version 2013-11-29.
4798 * scripts/config.sub: Update to version 2013-10-01.
4799
6f6fc482
JM
4800 * math/auto-libm-test-in: Add tests of sincos.
4801 * math/auto-libm-test-out: Regenerated.
4802 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4803 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4804 mpfr_f_11.
4805 (func_calc_desc): Add mpfr_f_11 union field.
4806 (test_functions): Add sincos.
4807 (calc_generic_results): Handle mpfr_f_11.
4808 * sysdeps/i386/fpu/libm-test-ulps: Update.
4809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4810
83f5c32d
AS
48112013-12-19 Andreas Schwab <schwab@suse.de>
4812
4813 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4814 CALL_MCOUNT.
4815 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4816 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4817 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4818
c688b419
JM
48192013-12-19 Joseph Myers <joseph@codesourcery.com>
4820
335ee092
JM
4821 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4822 * sysdeps/i386/fpu/libm-test-ulps: Update.
4823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4824
f88acd39
JM
4825 [BZ #16293]
4826 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4827 round-to-nearest mode when using frndint.
4828 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4829 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4830 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4831 Likewise.
4832 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4833 sinh test to fail.
4834 * math/auto-libm-test-out: Regenerated.
4835 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4836 (TEST_COND_x86): Likewise.
4837 (expm1_tonearest_test_data): New array.
4838 (expm1_test_tonearest): New function.
4839 (expm1_towardzero_test_data): New array.
4840 (expm1_test_towardzero): New function.
4841 (expm1_downward_test_data): New array.
4842 (expm1_test_downward): New function.
4843 (expm1_upward_test_data): New array.
4844 (expm1_test_upward): New function.
4845 (main): Run the new test functions.
4846 * sysdeps/i386/fpu/libm-test-ulps: Update.
4847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4848
c688b419
JM
4849 * include/features.h: Update comment documenting feature test
4850 macros. Mention _DEFAULT_SOURCE in comment.
4851 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4852 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4853 _BSD_SOURCE and _SVID_SOURCE.
4854 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4855 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4856 !_SVID_SOURCE]: Likewise.
4857 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4858 (__USE_POSIX_IMPLICITLY): Define.
4859 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4860 (_POSIX_SOURCE): Undefine and redefine.
4861 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4862 (_POSIX_C_SOURCE): Likewise.
4863 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4864 (Feature Test Macros): Update documentation of default features.
4865
9f6e964c
RS
48662013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4867
4868 * benchtests/Makefile: Add bench-strtok.
4869 * benchtests/bench-strtok.c: New file: strtok benchtest.
4870
ee0a148a
AM
48712013-12-19 Allan McRae <allan@archlinux.org>
4872
4873 * manual/install.texi: Suppress menu for plain text output.
4874 * INSTALL: Regenerated.
4875
b9ab448f
BM
48762013-12-18 Brooks Moses <bmoses@google.com>
4877
4878 [BZ #15846]
4879 * misc/getauxval.c: Include errno.h.
4880 (__getauxval): Set errno to ENOENT if the requested type is not
4881 found.
4882 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4883 don't declare with __attribute_const__.
4884 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4885 * manual/startup.texi: Document that getauxval sets errno.
4886
23776487
JM
48872013-12-18 Joseph Myers <joseph@codesourcery.com>
4888
f889953b
JM
4889 * math/auto-libm-test-in: Add tests of jn and yn.
4890 * math/auto-libm-test-out: Regenerated.
4891 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4892 (yn_test_data): Likewise.
4893 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4894 mpfr_if_f.
4895 (func_calc_desc): Add mpfr_if_f union field.
4896 (FUNC_mpfr_if_f): New macro.
4897 (test_functions): Add jn and yn.
4898 (calc_generic_results): Assert type of second input for
4899 mpfr_ff_f. Handle mpfr_if_f.
4900 (output_for_one_input_case): Disable all checking for arguments
4901 fitting floating-point types in case of an integer argument.
4902 * sysdeps/i386/fpu/libm-test-ulps: Update.
4903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4904
23776487
JM
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4906 Don't expect fegetround reference in libm.so.
4907
cb756c6d
MS
49082013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4909
4910 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4911 $(config-cflags-nofma).
4912
2dec468f
JM
49132013-12-18 Joseph Myers <joseph@codesourcery.com>
4914
5953eb3a
JM
4915 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4916 * math/auto-libm-test-out: Regenerated.
4917
2dec468f
JM
4918 [BZ #16338]
4919 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4920 to determine exponent and adjust argument to have exponent of -1.
4921 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4922 log2.
4923 * math/auto-libm-test-out: Regenerated.
4924 * sysdeps/i386/fpu/libm-test-ulps: Update.
4925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4926
4d84e6ad
OB
49272013-12-18 Ondřej Bílka <neleai@seznam.cz>
4928
4929 * manual/probes.texi: Remove cases when per-thread arenas are
4930 disabled.
4931
1818483b
AS
49322013-12-18 Andreas Schwab <schwab@suse.de>
4933
4934 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4935 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4936 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4937 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4938 * sysdeps/i386/i686/multiarch/Makefile: Update.
4939 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4940
25de95bf
JM
49412013-12-17 Joseph Myers <joseph@codesourcery.com>
4942
4943 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4944 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4945
674762d9
PE
49462013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4947
ed27ed83 4948 [BZ #15968]
0748546f
PE
4949 Support TZ transition times < 00:00:00.
4950 This is needed for version-3 tz-format files; it supports time
4951 stamps past 2037 for America/Godthab (the only entry in the tz
4952 database for which this change is relevant).
4953 * manual/time.texi (TZ Variable): Document transition times
4954 from -167:59:59 through -00:00:01.
4955 * time/tzset.c (tz_rule): Time of day is now signed.
4956 (__tzset_parse_tz): Parse negative time of day.
4957
4480e934
PE
4958 Document TZ transition times >= 25:00:00.
4959 * manual/time.texi (TZ Variable): Document transition times from
4960 25:00:00 through 167:59:59. These are already supported, and this
4961 support will help with version-3 tz-format files.
4962
69947401
PE
4963 * manual/time.texi (TZ Variable): Modernize North America example
4964 to reflect current (i.e., 2007-and-later) daylight saving rules.
4965
674762d9
PE
4966 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4967
7011c262
JM
49682013-12-17 Joseph Myers <joseph@codesourcery.com>
4969
2fc6557e
JM
4970 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4971 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4972 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4974 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4975 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4976 * sysdeps/unix/bsd/clock.c: Likewise.
4977 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4978 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4979 * sysdeps/unix/bsd/init-posix.c: Likewise.
4980 * sysdeps/unix/bsd/poll.c: Likewise.
4981 * sysdeps/unix/bsd/ptsname.c: Likewise.
4982 * sysdeps/unix/bsd/seekdir.c: Likewise.
4983 * sysdeps/unix/bsd/setegid.c: Likewise.
4984 * sysdeps/unix/bsd/seteuid.c: Likewise.
4985 * sysdeps/unix/bsd/setgid.c: Likewise.
4986 * sysdeps/unix/bsd/setrgid.c: Likewise.
4987 * sysdeps/unix/bsd/setruid.c: Likewise.
4988 * sysdeps/unix/bsd/setsid.c: Likewise.
4989 * sysdeps/unix/bsd/setuid.c: Likewise.
4990 * sysdeps/unix/bsd/sigaction.c: Likewise.
4991 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4992 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4993 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4994 * sysdeps/unix/bsd/telldir.c: Likewise.
4995 * sysdeps/unix/bsd/times.c: Likewise.
4996 * sysdeps/unix/bsd/usleep.c: Likewise.
4997
029c7b25
JM
4998 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4999 ($(objpfx)libbsd-compat.a): Remove rule.
5000
7011c262
JM
5001 * include/features.h (__FAVOR_BSD): Do not define.
5002 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5003 features conflicting with POSIX.
5004 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5005 (_BSD_SOURCE): Remove description of not being a subset of other
5006 feature test macros.
5007 * manual/job.texi (getpgrp): Do not document BSD version.
5008 (getpgid): Do not document by reference to BSD getpgrp.
5009 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5010 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5011 * signal/signal.h [__FAVOR_BSD]: Likewise.
5012 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5013 instead of making contents conditional on [__FAVOR_BSD].
5014 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5015
affb6f78
AZ
50162013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5017
5018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5019
c88769dd
JM
50202013-12-17 Joseph Myers <joseph@codesourcery.com>
5021
6432a540
JM
5022 [BZ #16314]
5023 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5024 values below 2**-450, not 2**-500.
5025 * math/auto-libm-test-in: Don't allow spurious underflow from
5026 hypot.
5027 * math/auto-libm-test-out: Regenerated.
5028
c88769dd
JM
5029 [BZ #16316]
5030 [BZ #16330]
5031 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5032 values of ha and hb and sort them after adjusting subnormal
5033 arguments.
5034 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5035 Likewise.
5036 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5037 values of ea and eb and sort them after adjusting subnormal
5038 arguments.
5039 * math/auto-libm-test-in: Do not expect some hypot tests of
5040 subnormals to fail. Add more hypot tests.
5041 * math/auto-libm-test-out: Regenerated.
5042
29618f6b
KK
50432013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5044
5045 [BZ #13304]
5046 * sysdeps/sh/s_fma.c: New file.
5047 * sysdeps/sh/s_fmaf.c: New file.
5048 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5049 version.
5050 * sysdeps/sh/Implies: Add sh/soft-fp.
5051
eacfdfbf
RM
50522013-12-16 Roland McGrath <roland@hack.frob.com>
5053
5054 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5055 level of indirection to members `objname', `errstring', `malloced'.
5056 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5057 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5058 it as the __longjmp argument (just pass 1 instead).
5059 (_dl_catch_error): Initialize C with argument pointers and address of
5060 volatile local ERRCODE rather than copying values out of C at return.
5061
ff362e5b
JM
50622013-12-16 Joseph Myers <joseph@codesourcery.com>
5063
5064 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5065 * math/auto-libm-test-out: Regenerated.
5066 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5067 (hypot_test_data): Likewise.
5068 (pow_test_data): Likewise.
5069 (pow_tonearest_test_data): Likewise.
5070 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5071 mpfr_ff_f.
5072 (func_calc_desc): Add mpfr_ff_f union field.
5073 (FUNC_mpfr_ff_f): New macro.
5074 (test_functions): Add atan2, hypot and pow.
5075 (special_fill_min): New function.
5076 (special_fill_minus_min): Likewise.
5077 (special_fill_min_subnorm): Likewise.
5078 (special_fill_minus_min_subnorm): Likewise.
5079 (special_real_inputs): Add min, -min, min_subnorm and
5080 -min_subnorm.
5081 (calc_generic_results): Handle mpfr_ff_f.
5082 * sysdeps/i386/fpu/libm-test-ulps: Update.
5083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5084
5764c27f
WN
50852013-12-16 Will Newton <will.newton@linaro.org>
5086
5087 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5088 (Aligned Memory Blocks): Add documentation for aligned_alloc
5089 and suggest it as an alternative to posix_memalign.
5090 (Hooks for Malloc): Document __memalign_hook is also called
5091 for aligned_alloc. (Summary of Malloc): Add summary for
5092 aligned alloc. Document __memalign_hook is also called
5093 for aligned_alloc.
5094
0a096e44
WN
50952013-12-16 Will Newton <will.newton@linaro.org>
5096
5097 * manual/memory.texi (Malloc Examples): Clarify default
5098 alignment documentation. Suggest posix_memalign rather
5099 than memalign or valloc.
5100 (Aligned Memory Blocks): Remove suggestion to use memalign
5101 or valloc. Remove obsolete comment about BSD.
5102 Document memalign errno values and mark the function obsolete.
5103 Document posix_memalign returned error codes. Mark valloc
5104 as obsolete. (Hooks for Malloc): __memalign_hook is also
5105 called for posix_memalign and valloc.
5106 (Summary of Malloc): Add posix_memalign to function summary.
5107 __memalign_hook is also called for posix_memalign and valloc.
5108
8d561986
SP
51092013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5110
5111 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5112 TAYLOR_SIN.
5113 (__sin): Adjust.
5114 (__cos): Likewise.
5115 (sloww): Use mynumber union. Expand ternary operator into
5116 if-else statements.
5117 (cslow): use mynumber union.
5118
73616a74
AM
51192013-12-16 Allan McRae <allan@archlinux.org>
5120
9e8ac24b
AM
5121 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5122 * configure: Regenerated.
5123
6f8e37eb
AM
5124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5125
8894bad3
AM
5126 [BZ #14120]
5127 * configure.ac: Added --enable-maintainer-mode. Check for
5128 autoconf when enabled.
5129 * configure: Regenerated.
5130
73616a74
AM
5131 * nscd/nscd.service: New file.
5132 * nscd/nscd.tmpfiles: New file.
5133
584b18eb
OB
51342013-12-14 Ondřej Bílka <neleai@seznam.cz>
5135
5136 [BZ #12100]
5137 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5138 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5139 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5140 (strstr): Add __strstr_sse2_unaligned ifunc.
5141 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5142 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5143 (strcasestr): Remove __strcasestr_sse42 ifunc.
5144 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5145 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5147
8a5c7897
KK
51482013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5149
5150 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5151 * sysdeps/sh/bits/fenv.h: ... here.
5152 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5153
fd712ef3
AZ
51542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5155
5156 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5157
42fcb46c
AZ
51582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5159
5160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5161 hypotf multiarch implementations.
5162 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5163 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5164 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5165 multiarch hypot for PPC64.
5166 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5167 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5168 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5169 multiarch hypotf for PPC64.
5170
83efded4
AZ
51712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5172
5173 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5174 modff multiarch implementations.
5175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5178 multiarch modf for PPC64.
5179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5182 multiarch modff for PPC64.
5183
43e246d2
AZ
51842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5185
5186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5187 and logl multiarch implementations.
5188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5191 multiarch logb for PPC64.
5192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5195 multiarch logb for PPC64.
5196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5199 multiarch logb for PPC64.
5200
8fdad123
AZ
52012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5202
5203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5204 isinff multiarch implementation.
5205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5206 file.
5207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5209 multiarch isinf for PPC64.
5210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5211 file.
5212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5213 multiarch isinff for PPC64.
5214
1481d706
AZ
52152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5216
5217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5218 finitef multiarch implementation.
5219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5220 file.
5221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5223 multiarch finite for PPC64.
5224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5225 file.
5226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5227 multiarch finitef for PPC64.
5228
5ccd5fc8
AZ
52292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5230
5231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5232 lrint multiarch implementation.
5233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5234 file.
5235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5237 multiarch llrint for PPC64.
5238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5239 multiarch lrint for PPC64.
5240
2568f3fa
AZ
52412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5242
5243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5244 copysignf multiarch implementation.
5245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5246 file.
5247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5248 file.
5249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5250 multiarch copysign for PPC64.
5251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5252 multiarch copysignf for PPC64.
5253
1cb341fd
AZ
52542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5255
5256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5257 multiarch implementation.
5258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5259 file.
5260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5261 file.
5262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5263 file.
5264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5265 file.
5266 multiarch llround for PPC64.
5267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5268 multiarch trunc for PPC64.
5269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5270 multiarch truncf for PPC64.
5271
59a3e194
AZ
52722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5273
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5275 multiarch implementation.
5276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5277 file.
5278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5279 file.
5280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5281 file.
5282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5283 file.
5284 multiarch llround for PPC64.
5285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5286 multiarch round for PPC64.
5287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5288 multiarch roundf for PPC64.
5289
357fd3b4
AZ
52902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5291
5292 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5293 multiarch implementation.
5294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5295 file.
5296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5297 file.
5298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5299 file.
5300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5301 file.
5302 multiarch llround for PPC64.
5303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5304 multiarch floor for PPC64.
5305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5306 multiarch floorf for PPC64.
5307
96770f12
AZ
53082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5309
5310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5311 multiarch implementation.
5312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5313 file.
5314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5315 file.
5316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5317 file.
5318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5319 file.
5320 multiarch llround for PPC64.
5321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5322 multiarch ceil for PPC64.
5323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5324 multiarch ceilf for PPC64.
5325
c3627f6e
AZ
53262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5327
5328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5329 multiarch implementation.
5330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5331 file.
5332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5333 file.
5334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5335 file.
5336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5337 multiarch llround for PPC64.
5338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5339 multiarch lround for PPC64.
5340
b2284ad7
AZ
53412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5342
5343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5344 multiarch implementation.
5345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5348 file.
5349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5352 multiarch isnan for PPC64.
5353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5354 multiarch isnanf for PPC64.
5355
69bbc63d
AZ
53562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5357
5358 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5359 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5360 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5361 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5362 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5364
c24517c9
AZ
53652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5366
5367 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5368 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5370 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5371
a52374e8
AZ
53722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5373
5374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5375 multiarch implementations.
5376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5377 (__libc_ifunc_impl_list): Likewise.
5378 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5379 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5380 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5381 multiarch stpcpy for PPC64.
5382
7f5ec113
AZ
53832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5384
5385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5386 multiarch implementations.
5387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5388 (__libc_ifunc_impl_list): Likewise.
5389 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5390 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5391 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5392 multiarch strcpy for PPC64.
5393
e28bcd42
AZ
53942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5395
5396 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5397 redefine function name.
5398 (_wordcopy_fwd_dest_aligned): Likewise.
5399 (_wordcopy_bwd_aligned): Likewise.
5400 (_wordcopy_bwd_dest_aligned): Likewise.
5401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5402 multiarch implementations.
5403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5404 (__libc_ifunc_impl_list): Likewise.
5405 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5406 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5407 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5408 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5409 multiarch wcscpy for PPC64.
5410
92cacfce
AZ
54112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5412
5413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5414 multiarch implementations.
5415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5416 (__libc_ifunc_impl_list): Likewise.
5417 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5418 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5419 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5420 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5421 multiarch wcscpy for PPC64.
5422
7b714620
AZ
54232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5424
5425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5426 multiarch implementations.
5427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5428 (__libc_ifunc_impl_list): Likewise.
5429 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5430 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5431 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5432 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5433 multiarch wcsrchr for PPC64.
5434
16fd2ae3
AZ
54352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5436
5437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5438 multiarch implementations.
5439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5440 (__libc_ifunc_impl_list): Likewise.
5441 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5442 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5443 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5444 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5445 multiarch wcschr for PPC64.
5446
9ee2969b
AZ
54472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5448
5449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5450 multiarch implementations.
5451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5452 (__libc_ifunc_impl_list): Likewise.
5453 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5454 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5455 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5456 multiarch strchrnul for PPC64.
5457
372dc060
AZ
54582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5459
5460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5461 implementations.
5462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5463 (__libc_ifunc_impl_list): Likewise.
5464 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5465 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5466 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5467 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5468 strchr for PPC64.
5469
24c2c3b9
AZ
54702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5471
5472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5473 implementations.
5474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5475 (__libc_ifunc_impl_list): Likewise.
5476 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5477 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5478 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5479 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5480 strncmp for PPC64.
5481
1c92d9a0
AZ
54822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5483
5484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5485 multiarch implementations.
5486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5487 (__libc_ifunc_impl_list): Likewise.
5488 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5489 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5490 strncasecmp for PPC64.
5491 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5492 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5493 multiarch strncasecmp_l for PPC64.
5494
17de3ee3
AZ
54952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5496
5497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5498 multiarch implementations.
5499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5500 (__libc_ifunc_impl_list): Likewise.
5501 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5502 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5503 multiarch strcasecmp for PPC64.
5504 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5505 file.
5506 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5507 multiarch strcasecmp_l for PPC64.
5508
62982bf9
AZ
55092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5510
5511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5512 implementations.
5513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5514 (__libc_ifunc_impl_list): Likewise.
5515 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5516 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5517 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5518 strnlen for PPC64.
5519
a65f4904
AZ
55202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5521
5522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5523 implementations.
5524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5525 (__libc_ifunc_impl_list): Likewise.
5526 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5527 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5528 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5529 strlen for PPC64.
5530
1fd005ad
AZ
55312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5532
5533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5534 implementations.
5535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5536 (__libc_ifunc_impl_list): Likewise.
5537 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5538 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5539 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5540 rawmemrchr for PPC64.
5541
cd05ba91
AZ
55422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5543
5544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5545 implementation.
5546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5547 (__libc_ifunc_impl_list): Likewise.
5548 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5549 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5550 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5551 memrchr for PPC64.
5552
870f8676
AZ
55532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5554
5555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5556 implementation.
5557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5558 (__libc_ifunc_impl_list): Likewise.
5559 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5560 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5561 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5562 memchr for PPC64.
5563
f00be62b
AZ
55642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5565
5566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5567 implementation.
5568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5569 (__libc_ifunc_impl_list): Likewise.
5570 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5571 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5572 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5573 mempcpy for PPC64.
5574
8a29a3d0
AZ
55752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5576
5577 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5578 avoid cretion of __bzero symbol.
5579 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5580 Likewise.
5581 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5582 Likewise.
5583 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5584 Likewise.
5585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5586 multiarch implementations.
5587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5588 (__libc_ifunc_impl_list): Likewise.
5589 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5590 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5591 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5592 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5593 bzero for PPC32.
5594 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5595 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5596 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5597 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5598 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5599 memset for PPC64.
5600 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5601
07253fcf
AZ
56022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5603
5604 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5606 implementations.
5607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5608 (__libc_ifunc_impl_list): Likewise.
5609 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5610 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5611 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5612 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5613 memcmp for PPC64.
5614
b5beafbc
AZ
56152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5616
5617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5618 multiarch for POWER/PPC64.
5619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5620 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5621 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5622 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5623 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5624 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5625 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5626 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5627 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5628 memcpy for PPC64.
5629
5e6a4d4b
AZ
56302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5631
5632 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5633 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5634 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5635 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5636 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5637 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5638 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5639 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5640 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5641 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5642 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5643 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5644 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5645 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5646 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5654
ddfab6dc
KK
56552013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5656
5657 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5658
19b5525e
SP
56592013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5660
5661 * benchtests/Makefile (bench): Add exp2 and log2.
5662 (LDLIBS-bench-exp2): Add -lm.
5663 (LDLIBS-bench-log2): Likewise.
5664 * benchtests/exp2-inputs: New inputs file.
5665 * benchtests/log2-inputs: New inputs file.
5666 * benchtests/log-inputs: Add new inputs.
5667 * benchtests/tan-inputs: Likewise.
5668
196f7f5d
SP
56692013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5670
7a74607f
SP
5671 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5672 definition...
5673 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5674 csloww1, csloww2): ... from here.
5675
196f7f5d
SP
5676 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5677 instead of structures.
5678 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5679 (POLYNOMIAL): Likewise.
5680 (TAYLOR_SLOW): Likewise.
5681 (__sin): Likewise.
5682 (__cos): Likewise.
5683 (slow1): Likewise.
5684 (slow2): Likewise.
5685 (sloww): Likewise.
5686 (sloww1); Likewise.
5687 (sloww2): Likewise.
5688 (bsloww1): Likewise.
5689 (bsloww2): Likewise.
5690 (cslow2): Likewise.
5691 (csloww): Likewise.
5692 (csloww1): Likewise.
5693 (csloww2): Likewise.
5694
0dfa665c
OB
56952013-12-10 Ondřej Bílka <neleai@seznam.cz>
5696
5697 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5698 (__malloc_assert, __libc_realloc, __libc_calloc,
5699 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5700 memcpy and memset.
5701 * malloc/hooks.c (realloc_check): Likewise.
5702
5782a80f
OB
57032013-12-10 Ondřej Bílka <neleai@seznam.cz>
5704
5705 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5706 * malloc/arena.c: Remove PER_THREAD conditional.
5707 [!PER_THREAD]: Remove code.
5708 (ptmalloc_unlock_all2): Likewise.
5709 (ptmalloc_init): Likewise.
5710 (_int_new_arena): Likewise.
5711 (arena_get2): Likewise.
5712 * malloc/hooks.c (__malloc_get_state): Likewise.
5713 (__malloc_set_state): Likewise.
5714 * malloc/malloc.c: Likewise.
5715 (struct malloc_state): Likewise.
5716 (struct malloc_par): Likewise.
5717 (__libc_realloc): Likewise.
5718 (__libc_mallopt): Likewise.
5719
aeb95445
AZ
57202013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5721
5722 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5723
e8349efd
OB
57242013-12-09 Ondřej Bílka <neleai@seznam.cz>
5725
5726 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5727 macro to a function. Check for zero perturb_byte.
5728 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5729
f3eeb3fc
OB
57302013-12-09 Ondřej Bílka <neleai@seznam.cz>
5731
5732 * malloc/malloc.c: (force_reg): Remove.
5733 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5734 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5735 force_reg by atomic_forced_read.
5736 * malloc/arena.c (ptmalloc_init): Likewise.
5737 * malloc/hooks.c (top_check): Likewise.
5738
be2f9009
AZ
57392013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5740
5741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5742
e7b914bd
MT
57432013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5744
5745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5746
9f0be4f8
JM
57472013-12-08 Joseph Myers <joseph@codesourcery.com>
5748
5749 * math/auto-libm-test-in: Add tests of lgamma.
5750 * math/auto-libm-test-out: Regenerated.
5751 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5752 (M_LOG_2_SQRT_PIl): Likewise.
5753 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5754 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5755 mpfr_f_f1.
5756 (func_calc_desc): Add mpfr_f_f1 union field.
5757 (ARGS1): New macro.
5758 (ARGS2): Likewise.
5759 (ARGS3): Likewise.
5760 (ARGS4): Likewise.
5761 (RET1): Likewise.
5762 (RET2): Likewise.
5763 (CALC): Likewise.
5764 (FUNC): Likewise.
5765 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5766 (test_functions): Add lgamma.
5767 (calc_generic_results): Handle mpfr_f_f1.
5768 * sysdeps/i386/fpu/libm-test-ulps: Update.
5769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5770
24eeafdb
AZ
57712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5772
5773 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5774 __mpn_add_n for PowerPC64/POWER7.
5775 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5776 __mpn_sub_n for PowerPC64/POWER7.
5777
4a2c0fd4
AZ
57782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5779
5780 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5781 __mpn_addmul_1 for PowerPC64.
5782 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5783 __mpn_submul_1 for PowerPC64.
5784 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5785 for PowerPC64.
5786 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5787 for PowerPC64.
5788
4b5b548c
FS
57892013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5790
5791 [BZ #15089]
5792 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5793
0a3ac0aa
AZ
57942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5795
5796 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5797
ccdc8438
AZ
57982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5799
5800 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5801 add multiarch folders.
5802 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5803 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5804 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5805 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5806 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5807 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5808 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5809 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5810 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5811 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5812 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5819
2e973d99
AZ
58202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5821
5822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5823 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5825 New file.
5826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5827 New file.
5828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5829 multiarch __ieee754_hypot for PowerPC32.
5830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5831 New file.
5832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5833 New file.
5834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5835 multiarch __ieee754_hypotf for PowerPC32.
5836
2d9470b2
AZ
58372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5838
5839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5840 long_double_symbol only if __logbl is defined.
5841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5842 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5844 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5846 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5847 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5848 path for implementation.
5849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5850 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5852 logb, and logbl multiarch implementations for PowerPC32.
5853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5854 file.
5855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5856 file.
5857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5858 multiarch logb for PowerPC32.
5859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5860 file.
5861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5862 file.
5863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5864 multiarch logbf for PowerPC32.
5865 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5867 file.
5868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5869 multiarch logbl implementation for PowerPC32.
5870
5212ffce
AZ
58712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5872
5873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5874 and modff multiarch implementations.
5875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5876 New file.
5877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5878 New file.
5879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5880 multiarch modf for PowerPC32.
5881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5882 New file.
5883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5884 New file.
5885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5886 multiarch modff for PowerPC32.
5887
79dccf31
AZ
58882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5889
5890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5891 and lrintf multiarch implementations.
5892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5893 New file.
5894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5895 New file.
5896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5897 multiarch lrint for PowerPC32.
5898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5899 file: multiarch lrintf for PowerPC32.
5900
deb66480
AZ
59012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5902
5903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5904 and lroundf multiarch implementations.
5905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5906 New file.
5907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5908 New file.
5909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5910 New file.
5911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5912 multiarch lround for PowerPC32.
5913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5914 file: multiarch lroundf for PowerPC32.
5915
264b036b
AZ
59162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5917
5918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5919 copysign and copysignf multiarch implementations.
5920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5921 New file.
5922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5923 New file.
5924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5925 file: multiarch copysign for PowerPC32.
5926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5927 file: multiarch copysignf for PowerPC32.
5928
d47db6c9
AZ
59292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5930
5931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5932 and truncf multiarch implementations.
5933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5934 New file.
5935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5936 file.
5937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5938 multiarch trunc for PowerPC32.
5939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5940 New file.
5941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5942 New file.
5943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5944 multiarch truncf for PowerPC32.
5945
ddb60b5a
AZ
59462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5947
5948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5949 and roundf multiarch implementations.
5950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5951 New file.
5952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5953 file.
5954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5955 multiarch round for PowerPC32.
5956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5957 New file.
5958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5959 New file.
5960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5961 multiarch roundf for PowerPC32.
5962
bedcf49b
AZ
59632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5964
5965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5966 and floorf multiarch implementations.
5967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5968 New file.
5969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5970 file.
5971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5972 multiarch floor for PowerPC32.
5973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5974 New file.
5975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5976 New file.
5977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5978 multiarch floorf for PowerPC32.
5979
35ae5b40
AZ
59802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5981
5982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5983 and ceilf multiarch implementations.
5984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5985 New file.
5986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5987 file.
5988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5989 multiarch ceil for PowerPC32.
5990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5991 New file.
5992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5993 file.
5994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5995 multiarch ceilf for PowerPC32.
5996
ae1a4cd9
AZ
59972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5998
5999 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6000 is defined.
6001 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6002 FINITEF is defined.
6003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6004 and finitef multiarch implementations.
6005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6006 New file.
6007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6008 file.
6009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6010 multiarch finite for PowerPC32.
6011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6012 New file.
6013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6014 file: multiarch finitef for PowerPC32.
6015
64fffd65
AZ
60162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6017
6018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6019 and isinff multiarch implementations.
6020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6021 file.
6022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6023 file.
6024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6025 multiarch isinf for PowerPC32.
6026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6027 New file.
6028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6029 multiarch isinff for PowerPC32.
6030
8e4e7ba2
AZ
60312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6032
6033 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6034 alias when __isnan is defined.
6035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6036 and isnanf multiarch implementations.
6037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6038 file.
6039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6040 file.
6041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6042 file.
6043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6044 file.
6045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6046 multiarch isnan for PowerPC32.
6047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6048 New file.
6049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6050 New file.
6051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6052 multiarch isnanf for PowerPC32.
6053
ddba588e
AZ
60542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6055
6056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6057 and sqrtf multiarch implementations.
6058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6059 file.
6060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6061 file.
6062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6063 multiarch sqrt for PowerPC32.
6064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6065 file.
6066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6067 file.
6068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6069 multiarch sqrtf for PowerPC32.
6070
0f96a2f0
AZ
60712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6072
6073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6074 and llroundf multiarch implementations.
6075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6076 New file.
6077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6078 New file.
6079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6080 New file.
6081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6082 file: multiarch llround for PowerPC32.
6083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6084 file: multiarch llroundf for PowerPC32.
6085
c9b5d79e
AZ
60862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6087
6088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6089 multiarch PowerPC32 fpu implementations.
6090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6091 New file.
6092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6093 New file.
6094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6095 multiarch llrint for PowerPC32.
6096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6097 New file.
6098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6099 New file.
6100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6101 file.
6102
9cbb3aab
AZ
61032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6104
6105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6106
ea5a72f8
AZ
61072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6108
6109 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6110 file.
6111 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6112 file.
6113 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6114 file.
6115 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6116 multiarch wordcopy for PPC32.
6117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6118 wordcopy objects.
6119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6120 (__libc_ifunc_impl_list): Likewise.
6121 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6122 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6123 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6124 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6125 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6126 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6127
93be09e7
AZ
61282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6129
6130 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6132 file.
6133 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6134 file.
6135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6136 file.
6137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6138 multiarch wcscpy for PPC32.
6139 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6140 multiarch objects.
6141 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6142 (__libc_ifunc_impl_list): Likewise.
6143 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6144 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6145 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6146 sysdeps/powerpc/power6/wcscpy.c.
6147
bb04e529
AZ
61482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6149
6150 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6152 file.
6153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6154 file.
6155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6156 file.
6157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6158 multiarch wcsrchr for PPC32.
6159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6160 multiarch objects.
6161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6162 (__libc_ifunc_impl_list): Likewise.
6163 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6164 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6165 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6166 sysdeps/powerpc/power6/wcsrchr.c.
6167
05b5cd1c
AZ
61682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6169
6170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6171 file.
6172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6173 file.
6174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6176 multiarch wcschr for PPc32.
6177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6178 multiarch objects.
6179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6180 (__libc_ifunc_impl_list): Likewise.
6181 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6182 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6183 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6184 sysdeps/powerpc/power6/wcschr.c.
6185
ba964147
AZ
61862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6187
6188 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6189 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6190 file.
6191 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6192 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6193 file: multiarch strchr for PPC32.
6194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6195 multiarch objects.
6196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6197 (__libc_ifunc_impl_list): Likewise.
6198
31c81aaa
AZ
61992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6200
6201 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6202 name.
6203 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6204 file.
6205 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6206 file.
6207 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6208 multiarch strchrnul for PPC32.
6209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6210 multiarch objects.
6211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6212 (__libc_ifunc_impl_list): Likewise.
6213
0d0607d9
AZ
62142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6215
6216 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6217 file.
6218 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6219 multiarch strncasecmp for PPC32.
6220 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6221 file.
6222 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6223 multiarch strncasecmp_l for PPC32.
6224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6225 strncasecmp multiarch objects.
6226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6227 (__libc_ifunc_impl_list): Likewise.
6228
4dfd5c86
AZ
62292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6230
6231 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6232 file.
6233 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6234 multiarch strncasecmp for PPC32.
6235 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6236 New file.
6237 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6238 multiarch strcasecmp_l for PPC32.
6239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6240 multiarch objects.
6241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6242 (__libc_ifunc_impl_list): Likewise.
6243
a19e01a3
AZ
62442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6245
6246 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6247 file.
6248 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6249 file.
6250 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6251 multiarch strncmp for PPC32.
6252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6253 multiarch objects.
6254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6255 (__libc_ifunc_impl_list): Likewise.
6256
ae9cf7a2
AZ
62572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6258
6259 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6260 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6261 file.
6262 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6263 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6265 multiarch objects.
6266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6267 (__libc_ifunc_impl_list): Likewise.
6268
3148bb7d
AZ
62692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6270
6271 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6272 file.
6273 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6274 file.
6275 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6277 multiarch objects.
6278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6279 (__libc_ifunc_impl_list): Likewise.
6280
7af8b946
AZ
62812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6282
6283 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6284 file.
6285 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6286 file.
6287 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6288 multiarch rawmemchr for PPC32.
6289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6290 multiarch objects.
6291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6292 (__libc_ifunc_impl_list): Likewise.
6293
03a6aa6a
AZ
62942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6295
6296 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6297 file.
6298 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6299 file.
6300 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6301 file: memrchr multiarch for PPC32.
6302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6303 multiarch objects.
6304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6305 (__libc_ifunc_impl_list): Likewise.
6306
1c62e6d9
AZ
63072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6308
6309 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6310 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6311 file.
6312 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6313 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6314 multiarch memchr for PPC32.
6315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6316 multiarch objects.
6317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6318 (__libc_ifunc_impl_list): Likewise.
6319
87da8bdb
AZ
63202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6321
6322 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6323 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6324 file.
6325 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6326 file.
6327 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6328 file: multiarch mempcpy for PPC32.
6329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6330 multiarch objects.
6331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6332 (__libc_ifunc_impl_list): Likewise.
6333
20ed4714
AZ
63342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6335
6336 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6337 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6338 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6339 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6340 multiarch bzero for PPC32.
6341 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6342 file.
6343 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6344 file.
6345 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6346 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6347 file: multiarch memset for PPC32.
6348 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6350 memset multiarch objects.
6351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6352 (__libc_ifunc_impl_list): Likewise.
6353
ab3e3a46
AZ
63542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6355
6356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6357 file.
6358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6359 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6360 memcmp for PPC32.
6361 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6362 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6363 multiarch objects.
6364 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6365 (__libc_ifunc_impl_list): Likewise.
6366
930de6f0
AZ
63672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6368
6369 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6370 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6371 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6372 file.
6373 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6374 file.
6375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6376 file.
6377 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6378 multiarch memcpy for PPC32.
6379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6380 multiarch objects.
6381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6382 (__libc_ifunc_impl_list): Likewise.
6383
4c628e00
AZ
63842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6385
6386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6387 support multiarch for POWER/PPC32.
6388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6389 Likewise.
6390 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6392 Implies file to make multiarch folder appers before the fpu and
6393 default folder for power4 configuration.
6394
f4479220
SP
63952013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6396
6397 * scripts/bench.pl: Append volatile keyword to type.
6398
8517800f
KK
63992013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6400
6401 * sysdeps/sh/sotruss-lib.c: New file.
6402 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6403
180138f1
AZ
64042013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6405
6406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6407
bbf37bdc
JM
64082013-12-05 Joseph Myers <joseph@codesourcery.com>
6409
e47cc4e0
JM
6410 [BZ #6810]
6411 * math/w_tgamma.c: Include <errno.h>.
6412 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6413 * math/w_tgammaf.c: Include <errno.h>.
6414 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6415 * math/w_tgammal.c: Include <errno.h>.
6416 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6417 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6418 underflow. Add more tgamma tests.
6419 * math/auto-libm-test-out: Regenerated.
6420 * sysdeps/i386/fpu/libm-test-ulps: Update.
6421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6422
bbf37bdc
JM
6423 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6424 sin, sinh, tan, tanh, tgamma, y0 and y1.
6425 * math/auto-libm-test-out: Regenerated.
6426 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6427 (TEST_COND_x86): Likewise.
6428 (M_E2l): Remove macro.
6429 (M_E3l): Likewise.
6430 (M_2_SQRT_PIl): Likewise.
6431 (M_SQRT_PIl): Likewise.
6432 (M_1_DIV_El): Likewise.
6433 (log_test_data): Use AUTO_TESTS_f_f.
6434 (log10_test_data): Likewise.
6435 (log1p_test_data): Likewise.
6436 (log2_test_data): Likewise.
6437 (sin_test_data): Likewise.
6438 (sin_tonearest_test_data): Likewise.
6439 (sin_towardzero_test_data): Likewise.
6440 (sin_downward_test_data): Likewise.
6441 (sin_upward_test_data): Likewise.
6442 (sinh_test_data): Likewise.
6443 (sinh_tonearest_test_data): Likewise.
6444 (sinh_towardzero_test_data): Likewise.
6445 (sinh_downward_test_data): Likewise.
6446 (sinh_upward_test_data): Likewise.
6447 (tan_test_data): Likewise.
6448 (tan_tonearest_test_data): Likewise.
6449 (tan_towardzero_test_data): Likewise.
6450 (tan_downward_test_data): Likewise.
6451 (tan_upward_test_data): Likewise.
6452 (tanh_test_data): Likewise.
6453 (tgamma_test_data): Likewise.
6454 (y0_test_data): Likewise.
6455 (y1_test_data): Likewise.
6456 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6457 (special_real_inputs): Add pi/4.
6458 * sysdeps/i386/fpu/libm-test-ulps: Update.
6459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6460
eb5ad6b9
AZ
64612013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6462
6463 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6464 "longjmp_target" static probes.
6465 (__longjmp): Rename to __longjmp_symbol.
6466 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6467 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6468 on which longjmp to generate.
6469 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6470 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6471 probe.
6472 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6473 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6474 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6475 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6476 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6477 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6479 __longjmp_symbol based on which __longjmp to generate.
6480 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6481 probe.
6482 (setjmp): Rename to setjmp_symbol.
6483 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6484 (_setjmp): Rename to _setjmp_symbol.
6485 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6486 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6487 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6488 which setjmp to generate.
6489 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6490 "longjmp_target" static probes.
6491
d136c6dc
SP
64922013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6493
9298ecba
SP
6494 * benchtests/README: Add note about output arguments.
6495 * benchtests/bench-sincos.c: Remove file.
6496 * benchtests/sincos-inputs: New file.
6497 * scripts/bench.pl: Identify output arguments and define
6498 static variables for them.
6499
232983e9
SP
6500 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6501
d136c6dc
SP
6502 [BZ #15941]
6503 * Makefile (INSTALL): Add install-plain.texi as the primary
6504 dependency.
6505 * manual/install-plain.texi: New file.
6506 * manual/install.texi: Include node directive only for
6507 non-plaintext output.
6508
699ff837
JM
65092013-12-04 Joseph Myers <joseph@codesourcery.com>
6510
ab07cea8
JM
6511 * stdlib/longlong.h: Update from GCC.
6512
699ff837
JM
6513 [BZ #6807]
6514 [BZ #15901]
6515 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6516 * math/w_j0f.c (y0f): Likewise.
6517 * math/w_j0l.c (__y0l): Likewise.
6518 * math/w_j1.c (y1): Likewise.
6519 * math/w_j1f.c (y1f): Likewise.
6520 * math/w_j1l.c (__y1l): Likewise
6521 * math/w_jn.c (yn): Likewise.
6522 * math/w_jnf.c (ynf): Likewise.
6523 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6524 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6525 value for Bessel function domain errors outside _SVID_ mode.
6526 Adjust sign of return value for yn (negative integer, 0).
6527 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6528 by zero in return for negative x and set sign appropriately for
6529 negative n.
6530 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6531 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6532 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6533 expectations in error cases.
6534 (y1_test_data): Likewise.
6535 (yn_test_data): Likewise.
6536 * sysdeps/i386/fpu/libm-test-ulps: Update.
6537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6538
5b118558
UW
65392013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6540
6541 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6542 "64" to "64-v1". Add "64-v2".
6543 (abi-64-options): Rename to ...
6544 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6545 (abi-64-condition): Rename to ...
6546 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6547 (abi-64-ld-soname): Rename to ...
6548 (abi-64-v1-ld-soname): ... this.
6549 (abi-64-v2-options): Define.
6550 (abi-64-v2-condition): Likewise.
6551 (abi-64-v2-ld-soname): Likewise.
6552 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6553 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6557
61cd8fe4
UW
65582013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6559 Alan Modra <amodra@gmail.com>
6560
6561 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6562 New versions for use with the ELFv2 ABI.
6563 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6564 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6565 declaration.
6566 (struct La_ppc64v2_retval): Likewise.
6567 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6568 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6569 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6570 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6571 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6572 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6573 Do not save or restore CR.
6574 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6575 (_dl_profile_resolve): Do no save or restore CR. Support extended
6576 return values for ELFv2 ABI. Fix location of FPR return registers.
6577 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6578 updated values for _CALL_ELF == 2.
6579 (La_regs, La_retval, int_retval): Likewise.
6580
8b8a692c
UW
65812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6582
6583 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6584 (FRAME_MIN_SIZE_PARM): Likewise.
6585 (FRAME_BACKCHAIN): Likewise.
6586 (FRAME_CR_SAVE): Likewise.
6587 (FRAME_LR_SAVE): Likewise.
6588 (FRAME_TOC_SAVE): Likewise.
6589 (FRAME_PARM_SAVE): Likewise.
6590 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6591 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6592 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6593 (call_mcount_parm_offset): New macro.
6594 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6595 (PROF): Use symbolic stack frame offsets.
6596 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6597 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6598 Redefine in terms of FRAME_MIN_SIZE.
6599 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6600 (_dl_profile_resolve): Likewise. Update comment.
6601 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6602 symbols stack frame offsets.
6603 (__sigsetjmp): Likewise.
6604 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6605 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6606 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6607 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6608
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6610 (FRAME_BACKCHAIN): Remove.
6611 (FRAME_CR_SAVE): Likewise.
6612 (FRAME_LR_SAVE): Likewise.
6613 (FRAME_COMPILER_DW): Likewise.
6614 (FRAME_LINKER_DW): Likewise.
6615 (FRAME_TOC_SAVE): Likewise.
6616 (FRAME_PARM_SAVE): Likewise.
6617 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6618 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6619 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6621 (CHECK_SP): Use symbolic stack frame offsets.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6623 zone" instead of caller's parameter save area for temp storage.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6625 Likewise. Also, use symbolic stack frame offsets.
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6627 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6628 our own stack frame instead of the caller's.
6629 (__socket): Use symbolic stack frame offsets.
6630
122b66de
UW
66312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6632 Alan Modra <amodra@gmail.com>
6633
6634 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6635 Define.
6636 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6637 PPC64_LOCAL_ENTRY_OFFSET): Define.
6638 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6639 New function.
6640 (elf_machine_fixup_plt): Call it.
6641 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6642 reloc arguments.
6643 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6644 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6645 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6646 r2 before calling target.
6647
696caf1d
UW
66482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6649 Alan Modra <amodra@gmail.com>
6650
6651 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6652 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6653 versions of macros to support ELFv2 ABI.
6654 (LOCALENTRY): New macro.
6655 (ENTRY, EALIGN): Use it.
6656 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6657 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6658 fall through into ENTRY entry point.
6659 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6660 Only define if _CALL_ELF != 2.
6661
6662 (elf_machine_matches_host): Verify ABI version matches.
6663 (RTLD_START): Use LOCALENTRY.
6664 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6665 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6666 (PLT_ENTRY_WORDS): New macro.
6667 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6668 (elf_machine_runtime_setup): Support ELFv2 ABI.
6669 (elf_machine_fixup_plt): Likewise.
6670 (elf_machine_plt_conflict): Likewise.
6671 (resolve_ifunc): Likewise.
6672 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6673 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6674 Likewise.
6675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6676 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6678 (makecontext): Support ELFv2 ABI.
6679 * elf/elf.h (EF_PPC64_ABI): Define.
6680
d31beafa
UW
66812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6682
6683 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6684 New assembler macro.
6685 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6686 [ASSEMBLER] (ENTRY): ... but instead here ...
6687 [ASSEMBLER] (EALIGN): ... and here.
6688 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6689 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6690 [!ASSEMBLER] (ENTRY_2): Use it.
6691 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6692 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6693 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6694 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6695 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6697 Use PPC64_LOAD_FUNCPTR.
6698
b525166b
UW
66992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6700
6701 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6702
7ec07d9a
AM
67032013-12-04 Alan Modra <amodra@gmail.com>
6704
6705 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6706 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6707 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6708 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6709
6710 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6711 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6712 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6713 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6714 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6715 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6716
5162e7dd
UW
67172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6718
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6720 (__makecontext): Fix incorrect CFI when backtracing out of
6721 context created via makecontext.
6722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6723 (__setcontext): Fix incorrect CFI during switch to new context.
6724 (__novec_setcontext): Likewise.
6725
19e3372b
OB
67262013-12-04 Ondřej Bílka <neleai@seznam.cz>
6727
6728 [BZ #4772]
6729 * time/strptime_l.c (__strptime_internal): Allow modifiers
6730 in strptime.
6731 * time/tst-strptime.c (day_tests): Add testcase.
6732
6733
ecaf142d
SP
67342013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6735
6736 * scripts/bench.pl: Skip over blank lines.
6737
fbf964ae
PE
67382013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6739
6740 [BZ #926]
6741 * manual/time.texi (Calendar Time): Clarify what timezone functions
6742 use.
6743
fa60a674
AZ
67442013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6745
6746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6747
d674f0ef
OB
67482013-12-04 Ondřej Bílka <neleai@seznam.cz>
6749
6750 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6751 implementation.
6752 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6753 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6754 * debug/memset_chk.c (__memset_chk): Likewise.
6755 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6756 * debug/strncpy_chk.c: Likewise.
6757
17dea188
JM
67582013-12-03 Joseph Myers <joseph@codesourcery.com>
6759
749008ff
JM
6760 [BZ #15268]
6761 [BZ #15425]
6762 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6763 (__ieee754_exp): For possibly underflowing results, check size of
6764 result and force underflow exception if required.
6765 * math/auto-libm-test-in: Add more tests of exp.
6766 * math/auto-libm-test-out: Regenerated.
6767 * sysdeps/i386/fpu/libm-test-ulps: Update.
6768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6769
17dea188
JM
6770 [BZ #16283]
6771 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6772 * math/w_exp2f.c (__exp2f): Likewise.
6773 * math/w_exp2l.c (__exp2l): Likewise.
6774 * math/auto-libm-test-in: Do not allow missing errno on exp2
6775 underflow.
6776 * math/auto-libm-test-out: Regenerated.
6777
b20de2c3
OB
67782013-12-03 Ondřej Bílka <neleai@seznam.cz>
6779
6780 [BZ #16274]
6781 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6782 handle filename validation.
6783 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6784 (do_open): Delete.
6785
d8e2dbe3
JM
67862013-12-03 Joseph Myers <joseph@codesourcery.com>
6787
34e16df5
JM
6788 [BZ #6786]
6789 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6790 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6791 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6792 <float.h>.
6793 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6794 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6795 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6796 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6797 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6798 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6799 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6800 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6801 Add more erfc tests.
6802 * math/auto-libm-test-out: Regenerated.
6803 * sysdeps/i386/fpu/libm-test-ulps: Update.
6804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6805
d8e2dbe3
JM
6806 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6807 exp2, expm1, j0 and j1.
6808 * math/auto-libm-test-out: Regenerated.
6809 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6810 (erfc_test_data): Likewise.
6811 (exp_test_data): Likewise.
6812 (exp_tonearest_test_data): Likewise.
6813 (exp_towardzero_test_data): Likewise.
6814 (exp_downward_test_data): Likewise.
6815 (exp_upward_test_data): Likewise.
6816 (exp10_test_data): Likewise.
6817 (exp2_test_data): Likewise.
6818 (expm1_test_data): Likewise.
6819 (j0_test_data): Likewise.
6820 (j1_test_data): Likewise.
6821 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6822 (input_flag_type): Add flag_xfail_rounding.
6823 (input_flags): Add xfail-rounding.
6824 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6825 (output_for_one_input_case): Handle flag_xfail_rounding.
6826 * sysdeps/i386/fpu/libm-test-ulps: Update.
6827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6828
18d14251
AJ
68292013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6830
3d2e6075 6831 [BZ #16289]
18d14251
AJ
6832 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6833 division by 0.
6834
520d437b
SP
68352013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6836
6837 [BZ #16195]
6838 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6839 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6840 (STAP_PROBE0): New macro.
6841 (STAP_PROBE1): Likewise.
6842 (STAP_PROBE2): Likewise.
6843 (STAP_PROBE3): Likewise.
6844 (STAP_PROBE4): Likewise.
6845
416e0145
OB
68462013-12-02 Ondřej Bílka <neleai@seznam.cz>
6847
6848 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6849
9d17796a
SE
68502013-12-02 Steve Ellcey <sellcey@mips.com>
6851
6852 * benchtests/Makefile (bench): Add sqrt.
6853 (LDLIBS-bench-sqrt): New.
6854 * benchtests/sqrt-input: New.
6855
f524d6a8
PS
68562013-12-02 Pavel Simerda <psimerda@redhat.com>
6857
639a0ef8
PS
6858 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6859 (GAIH_EAI): Likewise.
6860 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6861 (gaih_inet): Likewise.
6862 (getaddrinfo): Don't use GAIH_EAI.
6863
f524d6a8
PS
6864 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6865 (struct gaih): Remove definition.
6866
df3aedaf
SP
68672013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6868
6869 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6870 Use HERRNOP directly.
6871
1ab19dec
AZ
68722013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6873
b42ad38d 6874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6875
176b0c79
JM
68762013-11-30 Joseph Myers <joseph@codesourcery.com>
6877
6878 * math/gen-auto-libm-tests.c (test_functions): Add more
6879 single-argument functions.
6880 (special_fill_pi_2): New function.
6881 (special_fill_minus_pi_2): Likewise.
6882 (special_fill_pi_6): Likewise.
6883 (special_fill_minus_pi_6): Likewise.
6884 (special_fill_pi_3): Likewise.
6885 (special_fill_2pi_3): Likewise.
6886 (special_fill_e): Likewise.
6887 (special_fill_1_e): Likewise.
6888 (special_fill_e_minus_1): Likewise.
6889 (special_real_inputs): Add more special inputs.
6890 (output_for_one_input_case): Do not require ERANGE on underflow to
6891 zero if round-to-nearest result does not underflow to zero, unless
6892 exact results required.
6893 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6894 atan, atanh, cbrt, cos and cosh.
6895 * math/auto-libm-test-out: Regenerated.
6896 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6897 (acos_tonearest_test_data): Likewise.
6898 (acos_towardzero_test_data): Likewise.
6899 (acos_downward_test_data): Likewise.
6900 (acos_upward_test_data): Likewise.
6901 (acosh_test_data): Likewise.
6902 (asin_test_data): Likewise.
6903 (asin_tonearest_test_data): Likewise.
6904 (asin_towardzero_test_data): Likewise.
6905 (asin_upward_test_data): Likewise.
6906 (asinh_test_data): Likewise.
6907 (atan_test_data): Likewise.
6908 (atanh_test_data): Likewise.
6909 (cbrt_test_data): Likewise.
6910 (cos_test_data): Likewise.
6911 (cos_tonearest_test_data): Likewise.
6912 (cos_towardzero_test_data): Likewise.
6913 (cos_downward_test_data): Likewise.
6914 (cos_upward_test_data): Likewise.
6915 (cosh_test_data): Likewise.
6916 (cosh_tonearest_test_data): Likewise.
6917 (cosh_towardzero_test_data): Likewise.
6918 (cosh_downward_test_data): Likewise.
6919 (cosh_upward_test_data): Likewise.
6920 * sysdeps/i386/fpu/libm-test-ulps: Update.
6921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6922
ffb536d0
JM
69232013-11-29 Joseph Myers <joseph@codesourcery.com>
6924
2a77a467
JM
6925 [BZ #6787]
6926 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6927 * math/w_exp10f.c (__exp10f): Likewise.
6928 * math/w_exp10l.c (__exp10l): Likewise.
6929 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6930 errno settings in existing tests.
6931
ea3bc4e8
JM
6932 [BZ #14032]
6933 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6934 precision control set to double precision.
6935 * sysdeps/i386/fpu/w_sqrt.c: New file.
6936 * math/auto-libm-test-in: Add more tests.
6937 * math/auto-libm-test-out: Update.
6938
0712c9d8
JM
6939 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6940 (sqrt_test_tonearest): New function.
6941 (sqrt_towardzero_test_data): New variable.
6942 (sqrt_test_towardzero): New function.
6943 (sqrt_downward_test_data): New variable.
6944 (sqrt_test_downward): New function.
6945 (sqrt_upward_test_data): New variable.
6946 (sqrt_test_upward): New function.
6947 (main): Call the new functions.
6948
ffb536d0
JM
6949 * math/gen-auto-libm-tests.c: New file.
6950 * math/auto-libm-test-in: Likewise.
6951 * math/auto-libm-test-out: New generated file.
6952 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6953 variables.
6954 (%beautify): Add generated representations of zero.
6955 (top level): Set $auto_input and call parse_auto_input.
6956 (beautify): Remove trailing "f" from hex float constants.
6957 (parse_args): Handle XFAIL_TEST.
6958 (convert_condition): New function.
6959 (or_value): Likewise.
6960 (or_cond_value): Likewise.
6961 (generate_testfile): Handle AUTO_TESTS_* lines.
6962 (parse_auto_input): New function.
6963 * math/libm-test.inc (XFAIL_TEST): New macro.
6964 (ERRNO_UNCHANGED): Update value.
6965 (ERRNO_EDOM): Likewise.
6966 (ERRNO_ERANGE): Likewise.
6967 (IGNORE_RESULT): Likewise.
6968 (TEST_COND_flt_32): New macro.
6969 (TEST_COND_dbl_64): Likewise.
6970 (TEST_COND_ldbl_96_intel): Likewise.
6971 (TEST_COND_ldbl_96_m68k): Likewise.
6972 (TEST_COND_ldbl_128): Likewise.
6973 (TEST_COND_ldbl_128ibm): Likewise.
6974 (TEST_COND_long32): Likewise.
6975 (TEST_COND_long64): Likewise.
6976 (TEST_COND_before_rounding): Likewise.
6977 (TEST_COND_after_rounding): Likewise.
6978 (enable_test): Handle XFAIL_TEST flag.
6979 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6980 with finite results.
6981 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6982 auto-libm-test-out.
6983
acd98a8e
AK
69842013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6985 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6986
6987 [BZ #16214]
6988 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6989 __tls_get_addr_internal instead of __tls_get_offset in order to
6990 avoid GOT pointer dependency. Make rtld export
6991 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6992 __tls_get_addr since we are a __tls_get_offset platform.
6993 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6994 GOT pointer being set up before.
6995 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6996
3c1c46a6
JM
69972013-11-28 Joseph Myers <joseph@codesourcery.com>
6998
7475aef5
JM
6999 * manual/math.texi (Errors in Math Functions): Document accuracy
7000 goals.
7001
8bca7cd8
JM
7002 [BZ #15004]
7003 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7004 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7006 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7007 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7009 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7010 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7011 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7013 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7014 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7016 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7018 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7019
91a1f3fe
JM
7020 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7021 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7022 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7023 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7024 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7025 Likewise.
7026 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7027 Likewise.
7028 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7029 Likewise.
7030 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7031 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7032 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7033 atomic-feupdateenv and flt-rounds.
7034 * sysdeps/powerpc/nofpu/Versions (libc): Add
7035 __atomic_feholdexcept, __atomic_feclearexcept,
7036 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7037 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7038 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7039 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7040 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7041 here.
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7043 Update.
7044
c5df7609
JM
7045 * manual/arith.texi (FP Exceptions): Document that exceptions may
7046 not be raised when matherr is used.
7047 (Math Error Reporting): Document overflow in directed rounding
7048 modes. Document that errno may not be set when finite values are
7049 returned on overflow. Document intent to set errno on underflow
7050 only for underflow to zero.
7051
3c1c46a6
JM
7052 [BZ #16271]
7053 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7054 round-to-nearest then adjust result for other rounding modes.
7055 * include/fenv.h (fegetround): Use libm_hidden_proto.
7056 * math/fegetround.c (fegetround): Use libm_hidden_def.
7057 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7058 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7059 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7060 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7061 Likewise.
7062 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7063 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7064 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7065 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7066
5a4c6d53
SP
70672013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7068
7069 [BZ #16077]
7070 * nss/Versions (libnss_files): Add
7071 _nss_files_gethostbyname3_r.
7072 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7073 New function.
7074 (HOST_DB_LOOKUP): Remove macro.
7075 (_nss_files_gethostbyname_r): Implement function without the
7076 HOST_DB_LOOKUP macro.
7077 (_nss_files_gethostbyname2_r): Likewise.
7078
897b98ba
OB
70792013-11-28 Ondřej Bílka <neleai@seznam.cz>
7080
7081 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7082
6f476861
UB
70832013-11-26 Uros Bizjak <ubizjak@gmail.com>
7084
7085 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7086 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7087 warning.
7088
bd12ab55
AZ
70892013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7090
7091 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7092 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7093 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7094 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7095 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7096 __fe_nomask_env_priv and attribute_hidden.
7097 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7098 (libc_feupdateenv_test_ppc): Likewise.
7099 (libc_feresetround_ppc): Likewise.
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7101 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7102 compat_symbol macro.
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7104 (__fe_nomask_env): Likewise.
7105 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7106
52bb6543
OB
71072013-11-26 Ondřej Bílka <neleai@seznam.cz>
7108
7109 * string/Makefile: Remove ifunc tests.
7110 * string/test-string.h: Define TEST_IFUNC.
7111 * string/test-bcopy-ifunc.c: Remove.
7112 * string/test-bzero-ifunc.c: Likewise.
7113 * string/test-memccpy-ifunc.c: Likewise.
7114 * string/test-memchr-ifunc.c: Likewise.
7115 * string/test-memcmp-ifunc.c: Likewise.
7116 * string/test-memcpy-ifunc.c: Likewise.
7117 * string/test-memmem-ifunc.c: Likewise.
7118 * string/test-memmove-ifunc.c: Likewise.
7119 * string/test-mempcpy-ifunc.c: Likewise.
7120 * string/test-memrchr-ifunc.c: Likewise.
7121 * string/test-memset-ifunc.c: Likewise.
7122 * string/test-rawmemchr-ifunc.c: Likewise.
7123 * string/test-stpcpy-ifunc.c: Likewise.
7124 * string/test-stpncpy-ifunc.c: Likewise.
7125 * string/test-strcasecmp-ifunc.c: Likewise.
7126 * string/test-strcasestr-ifunc.c: Likewise.
7127 * string/test-strcat-ifunc.c: Likewise.
7128 * string/test-strchr-ifunc.c: Likewise.
7129 * string/test-strchrnul-ifunc.c: Likewise.
7130 * string/test-strcmp-ifunc.c: Likewise.
7131 * string/test-strcpy-ifunc.c: Likewise.
7132 * string/test-strcspn-ifunc.c: Likewise.
7133 * string/test-strlen-ifunc.c: Likewise.
7134 * string/test-strncasecmp-ifunc.c: Likewise.
7135 * string/test-strncat-ifunc.c: Likewise.
7136 * string/test-strncmp-ifunc.c: Likewise.
7137 * string/test-strncpy-ifunc.c: Likewise.
7138 * string/test-strnlen-ifunc.c: Likewise.
7139 * string/test-strpbrk-ifunc.c: Likewise.
7140 * string/test-strrchr-ifunc.c: Likewise.
7141 * string/test-strspn-ifunc.c: Likewise.
7142 * string/test-strstr-ifunc.c: Likewise.
7143
ab260039 71442013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7145
7146 * benchtests/Makefile: Remove ifunc tests.
7147 * benchtests/bench-string.h: Define TEST_IFUNC.
7148 * benchtests/bench-bcopy-ifunc.c: Remove.
7149 * benchtests/bench-bzero-ifunc.c: Likewise.
7150 * benchtests/bench-memccpy-ifunc.c: Likewise.
7151 * benchtests/bench-memchr-ifunc.c: Likewise.
7152 * benchtests/bench-memcmp-ifunc.c: Likewise.
7153 * benchtests/bench-memcpy-ifunc.c: Likewise.
7154 * benchtests/bench-memmem-ifunc.c: Likewise.
7155 * benchtests/bench-memmove-ifunc.c: Likewise.
7156 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7157 * benchtests/bench-memrchr-ifunc.c: Likewise.
7158 * benchtests/bench-memset-ifunc.c: Likewise.
7159 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7160 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7161 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7162 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7163 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7164 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7165 * benchtests/bench-strcat-ifunc.c: Likewise.
7166 * benchtests/bench-strchr-ifunc.c: Likewise.
7167 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7168 * benchtests/bench-strcmp-ifunc.c: Likewise.
7169 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7170 * benchtests/bench-strcpy-ifunc.c: Likewise.
7171 * benchtests/bench-strcspn-ifunc.c: Likewise.
7172 * benchtests/bench-strlen-ifunc.c: Likewise.
7173 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7174 * benchtests/bench-strncat-ifunc.c: Likewise.
7175 * benchtests/bench-strncmp-ifunc.c: Likewise.
7176 * benchtests/bench-strncpy-ifunc.c: Likewise.
7177 * benchtests/bench-strnlen-ifunc.c: Likewise.
7178 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7179 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7180 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7181 * benchtests/bench-strspn-ifunc.c: Likewise.
7182 * benchtests/bench-strstr-ifunc.c: Likewise.
7183
71842013-11-26 Ondřej Bílka <neleai@seznam.cz>
7185
ab260039
OB
7186 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7187
d1d9eaf4 71882013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7189
d1d9eaf4
OB
7190 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7191 * rt/aio.h: Likewise.
7192 * sysdeps/gnu/bits/utmp.h: Likewise.
7193 * sysdeps/gnu/bits/utmpx.h: Likewise.
7194 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7195 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7196 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7197 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7198 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7199 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7200 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7201 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7202 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7203 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7204 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7205 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7206 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7208 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7209 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7210 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7211 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7212 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7213 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7214 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7215 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7216 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7217 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7218 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7220 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7221 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7222 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7223 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7224 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7225 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7226 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7227 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7228 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7229 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7230 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7231 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7232 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7233 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7234 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7235 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7236
a7624ed9
CD
72372013-11-25 Carlos O'Donell <carlos@redhat.com>
7238
7239 [BZ #16245]
7240 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7241 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7242
63cfe52b
JM
72432013-11-25 Joseph Myers <joseph@codesourcery.com>
7244
7245 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7246 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7247 Likewise.
7248
41e8926a
AZ
72492013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7250
7251 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7252 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7253 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7254 (__fesetround): Remove define.
7255 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7256 rounding and exceptions handling.
7257 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7258 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7259 (__fe_nomask_env): Likewise.
7260 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7261 __fegetround instead of fegetround.
7262 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7263 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7264
6851bd4d
RM
72652013-11-21 Roland McGrath <roland@hack.frob.com>
7266
070906ff
RM
7267 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7268 it's there.
7269
6851bd4d
RM
7270 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7271
84ae135d
MI
72722013-11-21 Meador Inge <meadori@codesourcery.com>
7273
7274 [BZ #11157]
7275 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7276 (encrypt_r): Likewise.
7277 * malloc/obstack.h (obstack_free): Likewise.
7278 * posix/unistd.h (encrypt): Likewise.
7279
daf75146
GM
72802013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7281
7282 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7283 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7284 DL_CALL_DT_FINI() that call the functions directly.
7285 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7286 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7287 * elf/dl-fini.c: Likewise.
7288
10ad46bc
OB
72892013-11-20 Ondřej Bílka <neleai@seznam.cz>
7290
7291 * malloc/hooks.c (memalign_check): Add alignment rounding.
7292 * malloc/malloc.c (_mid_memalign): New function.
7293 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7294 Implement by calling _mid_memalign.
7295 * manual/probes.texi (Memory Allocation Probes): Remove
7296 memory_valloc_retry and memory_pvalloc_retry.
7297
f3fd2628
SP
72982013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7299
4712799f
SP
7300 * locale/programs/locarchive.c (open_archive): Add const
7301 qualifier to ARCHIVEFNAME and copy default fname to
7302 DEFAULT_FNAME.
7303
0417b20f
SP
7304 [BZ #15601]
7305 * libio/tst-widetext.input: Rename Oriya to Odia.
7306 * locale/iso-639.def: Likewise.
7307
f3fd2628
SP
7308 * manual/probes.texi (Mathematical Function Probes): Add
7309 documentation for sin, cos, asin and acos probes.
7310 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7311 (__sin32): Add slowasin probe.
7312 (__cos32): Add slowacos probe.
7313 (__mpsin): Add slowsin probe.
7314 (__mpcos): Add slowcos probe.
7315
73c1ce4f
JM
73162013-11-19 Joseph Myers <joseph@codesourcery.com>
7317
7318 [BZ #15483]
7319 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7320 thread-local __sim_exceptions_thread and global
7321 __sim_exceptions_global.
7322 (__sim_disabled_exceptions): Change to thread-local
7323 __sim_disabled_exceptions_thread and global
7324 __sim_disabled_exceptions_global.
7325 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7326 and global __sim_round_mode_global.
7327 (__simulate_exceptions): Use thread-local floating-point state and
7328 set global state from it as needed.
7329 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7330 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7331 __sim_round_mode_thread.
7332 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7333 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7334 and global __sim_exceptions_global.
7335 (__sim_disabled_exceptions): Change to thread-local
7336 __sim_disabled_exceptions_thread and global
7337 __sim_disabled_exceptions_global.
7338 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7339 and global __sim_round_mode_global.
7340 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7341 (SIM_SET_GLOBAL): Likewise.
7342 * sysdeps/powerpc/soft-fp/sfp-machine.h
7343 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7344 __sim_round_mode_thread.
7345 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7346 __sim_disabled_exceptions_thread.
7347 (__sim_exceptions): Change to __sim_exceptions_thread.
7348 (__sim_disabled_exceptions): Change to
7349 __sim_disabled_exceptions_thread.
7350 (__sim_round_mode): Change to __sim_round_mode_thread.
7351 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7352 thread-local floating-point state and set global state from it as
7353 needed.
7354 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7355 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7356 (__sim_disabled_exceptions): Remove extern declaration.
7357 (feenableexcept): Use thread-local floating-point state and set
7358 global state from it as needed.
7359 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7360 extern declaration.
7361 (__sim_disabled_exceptions): Likewise.
7362 (__sim_round_mode): Likewise.
7363 (__fegetenv): Use thread-local floating-point state.
7364 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7365 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7366 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7367 floating-point state and set global state from it as needed.
7368 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7369 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7370 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7371 Likewise.
7372 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7373 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7374 Likewise.
7375 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7376 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7377 Use __sim_round_mode_thread.
7378 * math/test-fenv-tls.c: New file.
7379 * math/Makefile (tests): Add test-fenv-tls.
7380 ($(objpfx)test-fenv-tls): Depend on
7381 $(common-objpfx)nptl/libpthread.so.
7382
b5449b12
AS
73832013-11-19 Andreas Schwab <schwab@suse.de>
7384
7385 * locale/programs/locale.c (show_info): Decode wordarray elements.
7386 * locale/categories.def (LC_MONETARY): Add element for
7387 _NL_MONETARY_CRNCYSTR.
7388 * locale/C-monetary.c (conversion_rate): New variable.
7389 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7390 element.
7391
e186536b
CM
73922013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7393
7394 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7395 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7396
5c349950
PP
73972013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7398
7399 * elf/Makefile (tst-auxv): New test.
7400 * elf/tst-auxv.c: New
7401 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7402
699df45b
JM
74032013-11-18 Joseph Myers <joseph@codesourcery.com>
7404
7405 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7406 (hidden_proto): Caller changed.
7407 (hidden_tls_proto): New macro.
7408 (libc_hidden_tls_proto): Likewise.
7409 (rtld_hidden_tls_proto): Likewise.
7410 (libm_hidden_tls_proto): Likewise.
7411 (libresolv_hidden_tls_proto): Likewise.
7412 (librt_hidden_tls_proto): Likewise.
7413 (libdl_hidden_tls_proto): Likewise.
7414 (libnss_files_hidden_tls_proto): Likewise.
7415 (libnsl_hidden_tls_proto): Likewise.
7416 (libnss_nisplus_hidden_tls_proto): Likewise.
7417 (libutil_hidden_tls_proto): Likewise.
7418
b7589107
OB
74192013-11-18 Ondřej Bílka <neleai@seznam.cz>
7420
7421 [BZ #10253]
7422 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7423 (decompose_rpath): Defer expansion to fillin_rpath.
7424 (_dl_init_paths): Pass linkmap to fillin_rpath.
7425
250c23bd
RS
74262013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7427
7428 * benchtests/Makefile: Add strsep.
7429 * benchtests/bench-strsep.c: New file: strsep benchtest.
7430 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7431
a7931fcf
AS
74322013-11-18 Andreas Schwab <schwab@suse.de>
7433
7434 * locale/programs/locale.c (show_info) [case byte]: Check for
7435 '\377' instead of '\177'.
7436 * locale/C-monetary.c (not_available): Always use "\377".
7437 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7438 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7439 detect unavailable sign_posn locale elements.
7440 * locale/localeconv.c (__localeconv): For grouping and
7441 mon_grouping handle "\177" and "\377" like no grouping.
7442 (INT_ELEM): New macro. Use it to set all numeric members.
7443 * locale/programs/ld-monetary.c (monetary_read)
7444 <tok_mon_grouping>: Normalize single -1 to the empty string.
7445 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7446 Likewise.
7447
728dab0e
OB
74482013-11-07 Ondřej Bílka <neleai@seznam.cz>
7449
7450 [BZ #16055]
7451 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7452 when we match (nil).
7453 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7454
66294491
JM
74552013-11-16 Joseph Myers <joseph@codesourcery.com>
7456
ce665817
JM
7457 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7458 (NO_TEST_INLINE): Update value.
7459 (ERRNO_UNCHANGED): Likewise.
7460 (ERRNO_EDOM): Likewise.
7461 (ERRNO_ERANGE): Likewise.
7462 (IGNORE_RESULT): Likewise.
7463 (check_float_internal): Check signs of NaN results if
7464 TEST_NAN_SIGN used.
7465 (check_complex): Pass TEST_NAN_SIGN flag through to second
7466 check_float_internal call.
7467 (copysign_test_data): Add tests with quiet NaNs as second
7468 argument. Use TEST_NAN_SIGN.
7469 (fabs_test_data): Add test of negative quiet NaN argument. Use
7470 TEST_NAN_SIGN.
7471 (signbit_test_data): Add tests of quiet NaN argument.
7472 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7473
ee1466a9
JM
7474 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7475 $ignore_result.
7476 (parse_args): Handle function results specified as IGNORE.
7477 * math/libm-test.inc (IGNORE_RESULT): New macro.
7478 (check_float_internal): Do not check numerical result if flag
7479 IGNORE_RESULT set.
7480 (check_complex): Pass through IGNORE_RESULT to second
7481 check_float_internal call.
7482 (check_int): Do not check numerical result if flag IGNORE_RESULT
7483 set.
7484 (check_long): Likewise.
7485 (check_bool): Likewise.
7486 (check_longlong): Likewise.
7487 (lrint_test_data): Add tests of infinite and NaN arguments.
7488 (lrint_tonearest_test_data): Likewise.
7489 (lrint_towardzero_test_data): Likewise.
7490 (lrint_downward_test_data): Likewise.
7491 (lrint_upward_test_data): Likewise.
7492 (llrint_test_data): Likewise.
7493 (llrint_tonearest_test_data): Likewise.
7494 (llrint_towardzero_test_data): Likewise.
7495 (llrint_downward_test_data): Likewise.
7496 (llrint_upward_test_data): Likewise.
7497 (lround_test_data): Likewise.
7498 (llround_test_data): Likewise.
7499
14407b7e
JM
7500 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7501 (ERRNO_UNCHANGED): Update value.
7502 (ERRNO_EDOM): Likewise.
7503 (ERRNO_ERANGE): Likewise.
7504 (NO_TEST_INLINE_FLOAT): New macro.
7505 (NO_TEST_INLINE_DOUBLE): Likewise.
7506 (enable_test): New function.
7507 (RUN_TEST_f_f): Check enable_test before running test.
7508 (RUN_TEST_2_f): Likewise.
7509 (RUN_TEST_fff_f): Likewise.
7510 (RUN_TEST_c_f): Likewise.
7511 (RUN_TEST_f_f1): Likewise.
7512 (RUN_TEST_fF_f1): Likewise.
7513 (RUN_TEST_fI_f1): Likewise.
7514 (RUN_TEST_ffI_f1): Likewise.
7515 (RUN_TEST_c_c): Likewise.
7516 (RUN_TEST_cc_c): Likewise.
7517 (RUN_TEST_f_i): Likewise.
7518 (RUN_TEST_f_i_tg): Likewise.
7519 (RUN_TEST_ff_i_tg): Likewise.
7520 (RUN_TEST_f_b): Likewise.
7521 (RUN_TEST_f_b_tg): Likewise.
7522 (RUN_TEST_f_l): Likewise.
7523 (RUN_TEST_f_L): Likewise.
7524 (RUN_TEST_fFF_11): Likewise.
7525 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7526 conditionals.
7527 (cosh_test_data): Likewise.
7528 (exp_test_data): Likewise.
7529 (expm1_test_data): Likewise.
7530 (hypot_test_data): Likewise.
7531 (pow_test_data): Likewise.
7532 (sinh_test_data): Likewise.
7533 (tanh_test_data): Likewise.
7534 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7535 flags argument.
7536
ca07f197
JM
7537 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7538 tests with quiet NaN input and output.
7539 (acosh_test_data): Likewise.
7540 (asin_test_data): Likewise.
7541 (asinh_test_data): Likewise.
7542 (atan_test_data): Likewise.
7543 (atanh_test_data): Likewise.
7544 (atan2_test_data): Likewise.
7545 (cbrt_test_data): Likewise.
7546 (cos_test_data): Likewise.
7547 (cosh_test_data): Likewise.
7548 (erf_test_data): Likewise.
7549 (erfc_test_data): Likewise.
7550 (exp_test_data): Likewise.
7551 (exp10_test_data): Likewise.
7552 (exp2_test_data): Likewise.
7553 (expm1_test_data): Likewise.
7554 (hypot_test_data): Likewise.
7555 (j0_test_data): Likewise.
7556 (j1_test_data): Likewise.
7557 (jn_test_data): Likewise.
7558 (lgamma_test_data): Likewise.
7559 (log_test_data): Likewise.
7560 (log10_test_data): Likewise.
7561 (log1p_test_data): Likewise.
7562 (log2_test_data): Likewise.
7563 (pow_test_data): Likewise.
7564 (scalb_test_data): Likewise.
7565 (sin_test_data): Likewise.
7566 (sincos_test_data): Likewise.
7567 (sinh_test_data): Likewise.
7568 (tan_test_data): Likewise.
7569 (tanh_test_data): Likewise.
7570 (tgamma_test_data): Likewise.
7571 (y0_test_data): Likewise.
7572 (y1_test_data): Likewise.
7573 (yn_test_data): Likewise.
7574
66294491
JM
7575 [BZ #16167]
7576 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7577 argument being NaN and avoid computations with second argument in
7578 that case.
7579 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7580 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7581 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7582
1820b143
CL
75832013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7584
7585 * locale/iso-639.def: Add Chitwani Tharu (the).
7586
714bd261
AS
75872013-11-14 Andreas Schwab <schwab@suse.de>
7588
7589 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7590 word instead of empty string.
7591
7ab44563
AZ
75922013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7593
7594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7595 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7597 (__fe_nomask_env): Likewise.
7598
e8470ea2
SE
75992013-11-13 Steve Ellcey <sellcey@mips.com>
7600
7601 * benchtests/bench-timing.h: Include time.h.
7602
17c1d9f0
L
76032013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7604
7605 [BZ #15997]
7606 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7607 to 3.4.0 for x32.
7608 * sysdeps/unix/sysv/linux/configure: Regenerated.
7609
9310c284
JM
76102013-11-13 Joseph Myers <joseph@codesourcery.com>
7611
7612 [BZ #16151]
7613 * stdlib/strtod_l.c (round_and_return): Do not consider
7614 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7615 exponent one less than half the least subnormal exponent.
7616 * stdlib/test-strtod-round-data: Add more tests.
7617 * stdlib/tst-strtod-round.c (tests): Regenerated.
7618
7a2ad8cf
AZ
76192013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7620
7621 [BZ #14143]
7622 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7623 (__fe_mask_env): Likewise.
7624 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7625 libm_hidden_proto and add function prototype.
7626 (__fe_mask_env): Add function prototype.
7627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7628 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7630 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7632 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7633
50727aa7
MS
76342013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7635
b2f386c1 7636 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7637 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7638
a615be46
MS
76392013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7640
7641 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7642 of htab_find_slot().
7643
7ddace62
DM
76442013-11-11 David S. Miller <davem@davemloft.net>
7645
7646 [BZ #16150]
7647 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7648 symbol in the non-vis3 case in static builds.
7649 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7650 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7651 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7652 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7653
9182aa67
JK
76542013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7655
7656 [BZ #387]
7657 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7658 it is empty.
7659
450a2e2d
AZ
76602013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7661
b2f386c1
SP
7662 * benchtests/Makefile: Add bench-strtod.
7663 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7664
8ec3f656
AS
76652013-11-11 Andreas Schwab <schwab@suse.de>
7666
7667 [BZ #16153]
7668 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7669 terminating NUL in key length.
7670
76a9b998
AZ
76712013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7672
7673 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7674 Add artificial ODP entry for vDSO symbol for PPC64.
7675 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7676 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7677
e4368156
OB
76782013-11-07 Ondřej Bílka <neleai@seznam.cz>
7679
7680 [BZ #15374]
7681 * nss/getent.c (services_keys): Recognize services starting with digit.
7682
8d6bb57c
DM
76832013-11-06 David S. Miller <davem@davemloft.net>
7684
7685 [BZ #15985]
7686 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7687 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7688
e256c421
WN
76892013-11-06 Will Newton <will.newton@linaro.org>
7690
7691 * manual/memory.texi (Malloc Examples): Remove register
7692 keyword from examples.
7693
f6e12daa 76942013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7695
f6e12daa 7696 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7697
9d880655
AS
76982013-11-04 Joseph Myers <joseph@codesourcery.com>
7699
fd2f9486 7700 [BZ #6981]
9d880655
AS
7701 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7702 depending on [__GCC_IEC_559 > 0].
7703 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7704 depending on [__GCC_IEC_559_COMPLEX > 0].
7705
ae129d3c
CL
77062013-11-03 Chris Leonard <cjl@sugarlabs.org>
7707
7708 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7709 to iso-639.def.
7710
4a15c2a4 77112013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7712
7713 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7714
8b35e35d
OB
77152013-11-01 Ondřej Bílka <neleai@seznam.cz>
7716
7717 [BZ #16112]
7718 * malloc/malloc (malloc_info): Do not handle first bin as
7719 special case.
7720
1d70fd6c
CL
77212013-11-01 Chris Leonard <cjl@sugarlabs.org>
7722
7723 * locale/iso-639.def: Add Central Nahuatl (nhn).
7724
8c5c2600
BH
77252013-11-01 Bruno Haible <bruno@clisp.org>
7726
7727 [BZ #7003]
7728 * manual/math.texi (BSD Random): Specify range upper bound as
7729 in POSIX.
7730
da5579c2
CL
77312013-10-31 Chris Leonard <cjl@sugarlabs.org>
7732
7733 * locale/iso-639.def: Add Meadow Mari (mhr).
7734
5d30d853
OB
77352013-10-31 Ondřej Bílka <neleai@seznam.cz>
7736
7737 [BZ #14752], [BZ #15763]
7738 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7739 Validate name.
7740 * rt/tst_shm.c: Add test for escaping directory.
7741
a4966c61
AS
77422013-10-31 Andreas Schwab <schwab@suse.de>
7743
8a43e768 7744 [BZ #15917]
a4966c61
AS
7745 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7746 followed by 'x' as part of digit sequence.
7747 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7748
28d708c4
MAP
77492013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7750
7751 [BZ #16037]
7752 * configure.ac: allow GNU Make 4.0 and greater.
7753 * configure: Regenerated.
7754
a56ee40b
WN
77552013-10-30 Will Newton <will.newton@linaro.org>
7756
7757 [BZ #16038]
7758 * malloc/hooks.c (memalign_check): Limit alignment to the
7759 maximum representable power of two.
7760 * malloc/malloc.c (__libc_memalign): Likewise.
7761 * malloc/tst-memalign.c (do_test): Add test for very
7762 large alignment values.
7763 * malloc/tst-posix_memalign.c (do_test): Likewise.
7764
c6e4925d
OB
77652013-10-30 Ondřej Bílka <neleai@seznam.cz>
7766
7767 [BZ #11087]
7768 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7769 (munmap_chunk): Likewise.
7770 (mremap_chunk): Likewise.
7771
77722013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7773
8a43e768 7774 [BZ #15799]
bbea82f7
OB
7775 * stdlib/div.c (div): Remove obsolete code.
7776 * stdlib/ldiv.c (ldiv): Likewise.
7777 * stdlib/lldiv.c (lldiv): Likewise.
7778
977f4b31
SP
77792013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7780
7781 [BZ #16071]
7782 * nss/nss_files/files-XXX.c (get_contents_ret): New
7783 enumerator.
7784 (get_contents): New function.
7785 (internal_getent): Use it. Expand size of LINEBUFLEN.
7786
cb8a6dbd
MF
77872013-10-30 Mike Frysinger <vapier@gentoo.org>
7788
7789 * configure.in: Moved to ...
7790 * configure.ac: ... here. Change reference to configure.in
7791 to configure.ac.
7792 * sysdeps/arm/preconfigure.ac: ... here.
7793 configure.in to configure.ac.
7794 * sysdeps/gnu/configure.in: Moved to ...
7795 * sysdeps/gnu/configure.ac: ... here.
7796 * sysdeps/i386/configure.in: Moved to ...
7797 * sysdeps/i386/configure.ac: ... here.
7798 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7799 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7800 * sysdeps/mach/configure.in: Moved to ...
7801 * sysdeps/mach/configure.ac: ... here.
7802 * sysdeps/mach/hurd/configure.in: Moved to ...
7803 * sysdeps/mach/hurd/configure.ac: ... here.
7804 * sysdeps/powerpc/configure.in: Moved to ...
7805 * sysdeps/powerpc/configure.ac: ... here.
7806 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7807 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7808 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7809 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7810 * sysdeps/s390/s390-32/configure.in: Moved to ...
7811 * sysdeps/s390/s390-32/configure.ac: ... here.
7812 * sysdeps/s390/s390-64/configure.in: Moved to ...
7813 * sysdeps/s390/s390-64/configure.ac: ... here.
7814 * sysdeps/sh/configure.in: Moved to ...
7815 * sysdeps/sh/configure.ac: ... here.
7816 * sysdeps/sparc/configure.in: Moved to ...
7817 * sysdeps/sparc/configure.ac: ... here.
7818 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7819 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7820 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7821 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7822 * sysdeps/x86_64/configure.in: Moved to ...
7823 * sysdeps/x86_64/configure.ac: ... here.
7824 * sysdeps/x86_64/preconfigure.in: Moved to ...
7825 * sysdeps/x86_64/preconfigure.ac: ... here.
7826 * aclocal.m4: Change reference to configure.in to configure.ac.
7827 * config.h.in: Likewise.
7828 * manual/install.texi: Likewise.
7829 * manual/maint.texi: Likewise.
7830 * Makefile: Likewise.
7831 * malloc/Makefile: Likewise.
7832 * nscd/Makefile: Likewise.
7833 * Makeconfig: Change reference to configure.in and
7834 preconfigure.in to configure.ac and preconfigure.ac
7835 respectively.
7836 * INSTALL: Regenerated.
7837 * configure: Likewise.
7838 * sysdeps/gnu/configure: Likewise.
7839 * sysdeps/i386/configure: Likewise.
7840 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7841 * sysdeps/mach/configure: Likewise.
7842 * sysdeps/mach/hurd/configure: Likewise.
7843 * sysdeps/powerpc/configure: Likewise.
7844 * sysdeps/powerpc/powerpc32/configure: Likewise.
7845 * sysdeps/powerpc/powerpc64/configure: Likewise.
7846 * sysdeps/s390/s390-32/configure: Likewise.
7847 * sysdeps/s390/s390-64/configure: Likewise.
7848 * sysdeps/sh/configure: Likewise.
7849 * sysdeps/sparc/configure: Likewise.
7850 * sysdeps/unix/sysv/linux/configure: Likewise.
7851 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7852 * sysdeps/x86_64/configure: Likewise.
7853 * sysdeps/x86_64/preconfigure: Likewise.
7854
36a4953a
AS
78552013-10-29 Andreas Schwab <schwab@suse.de>
7856
7857 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7858
c79a1204
SP
78592013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7860
dfa1b402
SP
7861 * benchtests/pow-inputs: Add new inputs.
7862
54f73d9c
SP
7863 * benchtests/exp-inputs: Add new inputs.
7864
c79a1204
SP
7865 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7866 conditional check for return value.
7867 (__cos32): Likewise.
7868
67beb545 78692013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7870
7871 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7872 to provide a boost for large inputs with word alignment.
7873 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7874 implementation based on optimized PPC64 strcpy.
7875 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7876 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7877 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7878 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7879
151659f6
OB
78802013-10-25 Ondřej Bílka <neleai@seznam.cz>
7881
482a077e 7882 [BZ #2801]
151659f6
OB
7883 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7884
10b0f26b
OB
78852013-10-25 Ondřej Bílka <neleai@seznam.cz>
7886
7887 [BZ #14876]
7888 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7889 * time/tst-strptime.c (day_tests): Add testcase.
7890
ca42d35e
OB
78912013-10-25 Ondřej Bílka <neleai@seznam.cz>
7892
482a077e 7893 [BZ #14029]
ca42d35e
OB
7894 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7895
52e6d801
FB
78962013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7897
7898 [BZ #16074]
7899 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7900 MAP_FAILED on error.
7901
7cbcdb36
SP
79022013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7903
7904 [BZ #16072]
7905 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7906 heap for large requests.
7907
894f3f10
AM
79082013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7909
7910 [BZ #9954]
7911 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7912 result if the result has no associated interface.
7913 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7914 interface for all 127.X.Y.Z addresses.
7915
b85545a6
CL
79162013-10-24 Chris Leonard <cjl@sugarlabs.org>
7917
7918 * locale/iso-639.def: Add Ligurian (lij)
7919
d1f23d46
OB
79202013-10-21 Ondřej Bílka <neleai@seznam.cz>
7921
7922 [BZ #15825]
7923 * sunrpc/rpc_main.c: Document rpcgen -5.
7924
4db5b08f
MS
79252013-10-19 Michael Stahl <mstahl@redhat.com>
7926
7927 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7928
a471e96a
OB
79292013-10-19 Ondřej Bílka <neleai@seznam.cz>
7930
d1f23d46 7931 [BZ #10278]
a471e96a
OB
7932 * posix/glob.c: Match only directories when trailing slash is present.
7933 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7934 (main): Add testcase.
7935
45c30c61
OB
79362013-10-19 Ondřej Bílka <neleai@seznam.cz>
7937
7938 [BZ #15670]
7939 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7940
484c12fb
CD
79412013-10-18 Carlos O'Donell <carlos@redhat.com>
7942
3d7dc513
CD
7943 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7944 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7945 AUTH_DES and cindex for FIPS 140-2.
7946 (DES Encryption): Add cindex FIPS 46-3.
7947
484c12fb
CD
7948 * locale/locarchive.h (struct locarhandle): Add fname.
7949 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7950 if an optional argument was specified to --list-archive,
7951 otherwise NULL.
7952 * locale/programs/locarchive.c (show_archive_content): Take new
7953 argument fname and pass it via ah.fname to open_archive.
7954 * locale/programs/localedef.h: Update decl.
7955 (open_archive): If AH->fname is non-null, open that file
7956 rather than the default file name, and don't ignore ENOENT.
7957 (create_archive): Set AH.fname to NULL.
7958 (delete_locales_from_archive): Likewise.
7959 (add_locales_to_archive): Likewise.
7960 * locale/programs/locfile.c (write_all_categories): Likewise.
7961
3c8325fb
JM
79622013-10-18 Joseph Myers <joseph@codesourcery.com>
7963 Aldy Hernandez <aldyh@redhat.com>
7964
7965 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7966 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7967 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7968 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7969 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7970 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7971 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7972 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7973 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7974 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7975 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7976 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7977 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7978 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7979 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7980 Likewise.
7981 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7982 Likewise.
7983 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7984 Likewise.
7985 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7986 Likewise.
7987 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7988 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7989 Likewise.
7990 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7991 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7992 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7993 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7994 Likewise.
7995 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7996 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7997 * sysdeps/powerpc/preconfigure: Likewise.
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7999 Likewise.
8000 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8001 Replace contents of file by #include of <fenv_libc.h>.
8002 * sysdeps/powerpc/soft-fp/sfp-machine.h
8003 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8004 and <sys/prctl.h>.
8005 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8006 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8007 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8008 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8009 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8010 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8011 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8012 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8013 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8014 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8015 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8016 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8018 Allow copysignl PLT reference to be missing.
8019
5abe0682
RS
80202013-10-18 Richard Sandiford <richard@codesourcery.com>
8021 Joseph Myers <joseph@codesourcery.com
8022
8023 [BZ #15948]
8024 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8025 single character.
8026 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8027
c7738d08
SP
80282013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8029
8030 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8031 * elf/tst-tls1.c: Likewise.
8032 * elf/tst-tls10.h: Likewise.
8033 * elf/tst-tls14.c: Likewise.
8034 * elf/tst-tls2.c: Likewise.
8035 * elf/tst-tls3.c: Likewise.
8036 * elf/tst-tls4.c: Likewise.
8037 * elf/tst-tls5.c: Likewise.
8038 * elf/tst-tls6.c: Likewise.
8039 * elf/tst-tls7.c: Likewise.
8040 * elf/tst-tls8.c: Likewise.
8041 * elf/tst-tls9.c: Likewise.
8042 * elf/tst-tlsmod1.c: Likewise.
8043 * elf/tst-tlsmod13.c: Likewise.
8044 * elf/tst-tlsmod13a.c: Likewise.
8045 * elf/tst-tlsmod14a.c: Likewise.
8046 * elf/tst-tlsmod16a.c: Likewise.
8047 * elf/tst-tlsmod16b.c: Likewise.
8048 * elf/tst-tlsmod2.c: Likewise.
8049 * elf/tst-tlsmod3.c: Likewise.
8050 * elf/tst-tlsmod4.c: Likewise.
8051 * elf/tst-tlsmod5.c: Likewise.
8052 * elf/tst-tlsmod6.c: Likewise.
8053
0bfcf2c7
OB
80542013-10-18 Ondřej Bílka <neleai@seznam.cz>
8055
8056 [BZ #12486]
8057 * malloc/malloc.c: remove checks for statistics.
8058
264aad1e
OB
80592013-10-17 Ondřej Bílka <neleai@seznam.cz>
8060
8061 [BZ #15277]
8062 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8063 * inet/tst-network.c: Add testcase.
8064
b957ced8
AS
80652013-10-17 Andreas Schwab <schwab@suse.de>
8066
8067 [BZ #15218]
8068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8069 to determine canonical name.
8070
c5d5d574
OB
80712013-10-17 Ondřej Bílka <neleai@seznam.cz>
8072
8073 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8074 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8075 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8076 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8077 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8085 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8086 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8087 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8088 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8090 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8091 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8092 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8097 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8098 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8101 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8102 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8103 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8105 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8106 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8107 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8108 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8109 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8110 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8111 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8112 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8113 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8114 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8115 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8116 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8117 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8118 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8119 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8120 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8121 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8124 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8125 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8127 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8128 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8129 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8131
e5c2c2d0
JM
81322013-10-17 Joseph Myers <joseph@codesourcery.com>
8133
8134 [BZ #16041]
8135 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8136 make result into a quiet NaN.
8137
51ca9e29
JM
81382013-10-16 Joseph Myers <joseph@codesourcery.com>
8139
8140 * soft-fp/adddf3.c: Fix horizontal whitespace.
8141 * soft-fp/addsf3.c: Likewise.
8142 * soft-fp/addtf3.c: Likewise.
8143 * soft-fp/divdf3.c: Likewise.
8144 * soft-fp/divsf3.c: Likewise.
8145 * soft-fp/divtf3.c: Likewise.
8146 * soft-fp/double.h: Likewise.
8147 * soft-fp/eqdf2.c: Likewise.
8148 * soft-fp/eqsf2.c: Likewise.
8149 * soft-fp/eqtf2.c: Likewise.
8150 * soft-fp/extenddftf2.c: Likewise.
8151 * soft-fp/extended.h: Likewise.
8152 * soft-fp/extendsfdf2.c: Likewise.
8153 * soft-fp/extendsftf2.c: Likewise.
8154 * soft-fp/extendxftf2.c: Likewise.
8155 * soft-fp/fixdfdi.c: Likewise.
8156 * soft-fp/fixdfsi.c: Likewise.
8157 * soft-fp/fixdfti.c: Likewise.
8158 * soft-fp/fixsfdi.c: Likewise.
8159 * soft-fp/fixsfsi.c: Likewise.
8160 * soft-fp/fixsfti.c: Likewise.
8161 * soft-fp/fixtfdi.c: Likewise.
8162 * soft-fp/fixtfsi.c: Likewise.
8163 * soft-fp/fixtfti.c: Likewise.
8164 * soft-fp/fixunsdfdi.c: Likewise.
8165 * soft-fp/fixunsdfsi.c: Likewise.
8166 * soft-fp/fixunsdfti.c: Likewise.
8167 * soft-fp/fixunssfdi.c: Likewise.
8168 * soft-fp/fixunssfsi.c: Likewise.
8169 * soft-fp/fixunssfti.c: Likewise.
8170 * soft-fp/fixunstfdi.c: Likewise.
8171 * soft-fp/fixunstfsi.c: Likewise.
8172 * soft-fp/fixunstfti.c: Likewise.
8173 * soft-fp/floatdidf.c: Likewise.
8174 * soft-fp/floatdisf.c: Likewise.
8175 * soft-fp/floatditf.c: Likewise.
8176 * soft-fp/floatsidf.c: Likewise.
8177 * soft-fp/floatsisf.c: Likewise.
8178 * soft-fp/floatsitf.c: Likewise.
8179 * soft-fp/floattidf.c: Likewise.
8180 * soft-fp/floattisf.c: Likewise.
8181 * soft-fp/floattitf.c: Likewise.
8182 * soft-fp/floatundidf.c: Likewise.
8183 * soft-fp/floatundisf.c: Likewise.
8184 * soft-fp/floatunditf.c: Likewise.
8185 * soft-fp/floatunsidf.c: Likewise.
8186 * soft-fp/floatunsisf.c: Likewise.
8187 * soft-fp/floatunsitf.c: Likewise.
8188 * soft-fp/floatuntidf.c: Likewise.
8189 * soft-fp/floatuntisf.c: Likewise.
8190 * soft-fp/floatuntitf.c: Likewise.
8191 * soft-fp/fmadf4.c: Likewise.
8192 * soft-fp/fmasf4.c: Likewise.
8193 * soft-fp/fmatf4.c: Likewise.
8194 * soft-fp/gedf2.c: Likewise.
8195 * soft-fp/gesf2.c: Likewise.
8196 * soft-fp/getf2.c: Likewise.
8197 * soft-fp/ledf2.c: Likewise.
8198 * soft-fp/lesf2.c: Likewise.
8199 * soft-fp/letf2.c: Likewise.
8200 * soft-fp/muldf3.c: Likewise.
8201 * soft-fp/mulsf3.c: Likewise.
8202 * soft-fp/multf3.c: Likewise.
8203 * soft-fp/negdf2.c: Likewise.
8204 * soft-fp/negsf2.c: Likewise.
8205 * soft-fp/negtf2.c: Likewise.
8206 * soft-fp/op-1.h: Likewise.
8207 * soft-fp/op-2.h: Likewise.
8208 * soft-fp/op-4.h: Likewise.
8209 * soft-fp/op-8.h: Likewise.
8210 * soft-fp/op-common.h: Likewise.
8211 * soft-fp/quad.h: Likewise.
8212 * soft-fp/single.h: Likewise.
8213 * soft-fp/soft-fp.h: Likewise.
8214 * soft-fp/sqrtdf2.c: Likewise.
8215 * soft-fp/sqrtsf2.c: Likewise.
8216 * soft-fp/sqrttf2.c: Likewise.
8217 * soft-fp/subdf3.c: Likewise.
8218 * soft-fp/subsf3.c: Likewise.
8219 * soft-fp/subtf3.c: Likewise.
8220 * soft-fp/truncdfsf2.c: Likewise.
8221 * soft-fp/trunctfdf2.c: Likewise.
8222 * soft-fp/trunctfsf2.c: Likewise.
8223 * soft-fp/trunctfxf2.c: Likewise.
8224 * soft-fp/unorddf2.c: Likewise.
8225 * soft-fp/unordsf2.c: Likewise.
8226 * soft-fp/unordtf2.c: Likewise.
8227
9ebb0332
JM
82282013-10-15 Joseph Myers <joseph@codesourcery.com>
8229
8230 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8231 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8232
4b1a6d8b
OB
82332013-10-15 Ondřej Bílka <neleai@seznam.cz>
8234
8235 * elf/dl-libc.c: Clear initfini list after freeing.
8236
1e145589
JM
82372013-10-14 Joseph Myers <joseph@codesourcery.com>
8238
8239 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8240 * soft-fp/addsf3.c: Likewise.
8241 * soft-fp/addtf3.c: Likewise.
8242 * soft-fp/divdf3.c: Likewise.
8243 * soft-fp/divsf3.c: Likewise.
8244 * soft-fp/divtf3.c: Likewise.
8245 * soft-fp/double.h: Likewise.
8246 * soft-fp/eqdf2.c: Likewise.
8247 * soft-fp/eqsf2.c: Likewise.
8248 * soft-fp/eqtf2.c: Likewise.
8249 * soft-fp/extenddftf2.c: Likewise.
8250 * soft-fp/extended.h: Likewise.
8251 * soft-fp/extendsfdf2.c: Likewise.
8252 * soft-fp/extendsftf2.c: Likewise.
8253 * soft-fp/extendxftf2.c: Likewise.
8254 * soft-fp/fixdfdi.c: Likewise.
8255 * soft-fp/fixdfsi.c: Likewise.
8256 * soft-fp/fixdfti.c: Likewise.
8257 * soft-fp/fixsfdi.c: Likewise.
8258 * soft-fp/fixsfsi.c: Likewise.
8259 * soft-fp/fixsfti.c: Likewise.
8260 * soft-fp/fixtfdi.c: Likewise.
8261 * soft-fp/fixtfsi.c: Likewise.
8262 * soft-fp/fixtfti.c: Likewise.
8263 * soft-fp/fixunsdfdi.c: Likewise.
8264 * soft-fp/fixunsdfsi.c: Likewise.
8265 * soft-fp/fixunsdfti.c: Likewise.
8266 * soft-fp/fixunssfdi.c: Likewise.
8267 * soft-fp/fixunssfsi.c: Likewise.
8268 * soft-fp/fixunssfti.c: Likewise.
8269 * soft-fp/fixunstfdi.c: Likewise.
8270 * soft-fp/fixunstfsi.c: Likewise.
8271 * soft-fp/fixunstfti.c: Likewise.
8272 * soft-fp/floatdidf.c: Likewise.
8273 * soft-fp/floatdisf.c: Likewise.
8274 * soft-fp/floatditf.c: Likewise.
8275 * soft-fp/floatsidf.c: Likewise.
8276 * soft-fp/floatsisf.c: Likewise.
8277 * soft-fp/floatsitf.c: Likewise.
8278 * soft-fp/floattidf.c: Likewise.
8279 * soft-fp/floattisf.c: Likewise.
8280 * soft-fp/floattitf.c: Likewise.
8281 * soft-fp/floatundidf.c: Likewise.
8282 * soft-fp/floatundisf.c: Likewise.
8283 * soft-fp/floatunsidf.c: Likewise.
8284 * soft-fp/floatunsisf.c: Likewise.
8285 * soft-fp/floatuntidf.c: Likewise.
8286 * soft-fp/floatuntisf.c: Likewise.
8287 * soft-fp/floatuntitf.c: Likewise.
8288 * soft-fp/fmadf4.c: Likewise.
8289 * soft-fp/fmasf4.c: Likewise.
8290 * soft-fp/fmatf4.c: Likewise.
8291 * soft-fp/gedf2.c: Likewise.
8292 * soft-fp/gesf2.c: Likewise.
8293 * soft-fp/getf2.c: Likewise.
8294 * soft-fp/ledf2.c: Likewise.
8295 * soft-fp/lesf2.c: Likewise.
8296 * soft-fp/letf2.c: Likewise.
8297 * soft-fp/muldf3.c: Likewise.
8298 * soft-fp/mulsf3.c: Likewise.
8299 * soft-fp/multf3.c: Likewise.
8300 * soft-fp/negdf2.c: Likewise.
8301 * soft-fp/negsf2.c: Likewise.
8302 * soft-fp/negtf2.c: Likewise.
8303 * soft-fp/op-1.h: Likewise.
8304 * soft-fp/op-2.h: Likewise.
8305 * soft-fp/op-4.h: Likewise.
8306 * soft-fp/op-8.h: Likewise.
8307 * soft-fp/op-common.h: Likewise.
8308 * soft-fp/quad.h: Likewise.
8309 * soft-fp/single.h: Likewise.
8310 * soft-fp/soft-fp.h: Likewise.
8311 * soft-fp/sqrtdf2.c: Likewise.
8312 * soft-fp/sqrtsf2.c: Likewise.
8313 * soft-fp/sqrttf2.c: Likewise.
8314 * soft-fp/subdf3.c: Likewise.
8315 * soft-fp/subsf3.c: Likewise.
8316 * soft-fp/subtf3.c: Likewise.
8317 * soft-fp/truncdfsf2.c: Likewise.
8318 * soft-fp/trunctfdf2.c: Likewise.
8319 * soft-fp/trunctfsf2.c: Likewise.
8320 * soft-fp/trunctfxf2.c: Likewise.
8321 * soft-fp/unorddf2.c: Likewise.
8322 * soft-fp/unordsf2.c: Likewise.
8323 * soft-fp/unordtf2.c: Likewise.
8324
17c48a60
OB
83252013-10-14 Ondřej Bílka <neleai@seznam.cz>
8326
8327 [BZ #15672]
8328 * misc/error.c (error_tail): Fix possible buffer overflow.
8329
cabba934
OB
83302013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8331
8332 [BZ #13028]
8333 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8334 address.
8335
94bf958a
PM
83362013-10-14 P. J. McDermott <pj@pehjota.net>
8337
8338 [BZ #832]
8339 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8340 testing pipefail option.
8341
71b4dea7
JM
83422013-10-12 Joseph Myers <joseph@codesourcery.com>
8343
8344 * soft-fp/double.h: Indent preprocessor directives inside #if.
8345 * soft-fp/extended.h: Likewise.
8346 * soft-fp/op-2.h: Likewise.
8347 * soft-fp/op-4.h: Likewise.
8348 * soft-fp/op-common.h: Likewise.
8349 * soft-fp/quad.h: Likewise.
8350 * soft-fp/single.h: Likewise.
8351 * soft-fp/soft-fp.h: Likewise.
8352
55602758
YC
83532013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8354
8355 * iconv/iconv_prog.c: Fix typos.
8356 * stdio-common/psiginfo-data.h: Likewise.
8357
9cd83302
RT
83582013-10-12 Reuben Thomas <rrt@sc3d.org>
8359
8360 [BZ #15764]
8361 * locale/setlocale.c: Fix typo.
8362
99fd9f47
JM
83632013-10-12 Joseph Myers <joseph@codesourcery.com>
8364
b7ea74f0
JM
8365 [BZ #16036]
8366 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8367 signaling NaN arguments.
8368 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8369 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8370
8a509447
JM
8371 [BZ #14910]
8372 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8373 unordered operands.
8374 * soft-fp/gesf2.c (__gesf2): Likewise.
8375 * soft-fp/getf2.c (__getf2): Likewise.
8376 * soft-fp/ledf2.c (__ledf2): Likewise.
8377 * soft-fp/lesf2.c (__lesf2): Likewise.
8378 * soft-fp/letf2.c (__letf2): Likewise.
8379
98998e9f
JM
8380 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8381 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8382 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8383 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8384 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8385 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8386 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8387 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8388 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8389 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8390 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8391 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8392 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8393 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8394 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8395 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8396 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8397 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8398 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8399 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8400 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8401 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8402 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8403 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8404 * soft-fp/floattidf.c (__floattidf): Likewise.
8405 * soft-fp/floattisf.c (__floattisf): Likewise.
8406 * soft-fp/floattitf.c (__floattitf): Likewise.
8407 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8408 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8409 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8410 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8411 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8412 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8413 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8414 * soft-fp/gesf2.c (__gesf2): Likewise.
8415 * soft-fp/getf2.c (__getf2): Likewise.
8416 * soft-fp/ledf2.c (__ledf2): Likewise.
8417 * soft-fp/lesf2.c (__lesf2): Likewise.
8418 * soft-fp/letf2.c (__letf2): Likewise.
8419
8edc4a11
JM
8420 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8421 Undefine and redefine.
8422 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8423 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8424 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8425 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8426 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8427 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8428 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8429 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8430 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8431 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8432 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8433 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8434 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8435 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8436 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8437
8399acaf
JM
8438 [BZ #16032]
8439 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8440 without decrementing exponent if mantissa >= that for the
8441 denominator, not >.
8442 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8443 denominator, not >. Decrement exponent in < case instead of
8444 incrementing in >= case.
8445 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8446 without decrementing exponent if mantissa >= that for the
8447 denominator, not >.
8448
99fd9f47
JM
8449 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8450 computing saturated result for unsigned overflow.
8451
10e1cf6b
SP
84522013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8453 Jeff Law <law@redhat.com>
8454
8455 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8456 (atan2Mp): Add systemtap probe marker.
8457 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8458 (__ieee754_log): Add systemtap probe marker.
8459 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8460 (atanMp): Add systemtap probe marker.
8461 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8462 (tanMp): Add systemtap probe marker.
8463 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8464 (__slowexp): Add systemtap probe marker.
8465 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8466 (__slowpow): Add systemtap probe marker.
8467 * manual/probes.texi: Document probes.
8468
3d110c7c
EB
84692013-10-11 Eric Biggers <ebiggers3@gmail.com>
8470
8471 [BZ #15362]
8472 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8473 written.
8474 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8475 written.
8476 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8477 written to buffer but not flushed.
8478 * libio/iofwrite_u.c: Likewise.
8479 * libio/iopadn.c: Return bytes returned even if EOF was
8480 encountered.
8481 * libio/iowpadn.c: Likewise.
8482 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8483 if _IO_padn does not write the whole buffer.
8484 [!COMPILE_WPRINTF] (PAD): Likewise.
8485
75b4202a
DM
84862013-10-10 David S. Miller <davem@davemloft.net>
8487
8488 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8489 directory block.
8490
6c6352e6
JM
84912013-10-10 Joseph Myers <joseph@codesourcery.com>
8492
33b853c3
JM
8493 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8494 instead of FSF address.
8495 * soft-fp/fixdfti.c: Likewise.
8496 * soft-fp/fixsfti.c: Likewise.
8497 * soft-fp/fixtfti.c: Likewise.
8498 * soft-fp/fixunsdfti.c: Likewise.
8499 * soft-fp/fixunssfti.c: Likewise.
8500 * soft-fp/fixunstfti.c: Likewise.
8501 * soft-fp/floattidf.c: Likewise.
8502 * soft-fp/floattisf.c: Likewise.
8503 * soft-fp/floattitf.c: Likewise.
8504 * soft-fp/floatuntidf.c: Likewise.
8505 * soft-fp/floatuntisf.c: Likewise.
8506 * soft-fp/floatuntitf.c: Likewise.
8507 * soft-fp/trunctfxf2.c: Likewise.
8508
6c6352e6
JM
8509 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8510 * soft-fp/fixdfti.c: Likewise.
8511 * soft-fp/fixsfti.c: Likewise.
8512 * soft-fp/fixtfti.c: Likewise.
8513 * soft-fp/fixunsdfti.c: Likewise.
8514 * soft-fp/fixunssfti.c: Likewise.
8515 * soft-fp/fixunstfti.c: Likewise.
8516 * soft-fp/floattidf.c: Likewise.
8517 * soft-fp/floattisf.c: Likewise.
8518 * soft-fp/floattitf.c: Likewise.
8519 * soft-fp/floatuntidf.c: Likewise.
8520 * soft-fp/floatuntisf.c: Likewise.
8521 * soft-fp/floatuntitf.c: Likewise.
8522 * soft-fp/trunctfxf2.c: Likewise.
8523
3bf78b71
DM
85242013-10-10 David S. Miller <davem@davemloft.net>
8525
8526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8527
6f10289e
JM
85282013-10-10 Joseph Myers <joseph@codsourcery.com>
8529
bd878fc0
JM
8530 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8531 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8532 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8533 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8534 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8535 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8536 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8537
6f10289e
JM
8538 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8539 for NaNs before doing comparisons on argument.
8540 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8541 Likewise.
8542
321e2684
WN
85432013-10-10 Will Newton <will.newton@linaro.org>
8544
8545 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8546 passed to _int_memalign does not overflow.
8547
40fefba1
TR
85482013-10-10 Torvald Riegel <triegel@redhat.com>
8549
8550 * scripts/bench.pl: Add include-sources directive.
8551 * benchtests/README: Update documentation.
8552
2ae21ed2
JM
85532013-10-10 Joseph Myers <joseph@codesourcery.com>
8554
dcc2dd3f
JM
8555 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8556 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8557 instead of FP_INIT_ROUNDMODE.
8558 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8559 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8560
2ae21ed2
JM
8561 [BZ #16034]
8562 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8563 copy class of input value.
8564 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8565 not handle exceptions.
8566 * soft-fp/negsf2.c (__negsf2): Likewise.
8567 * soft-fp/negtf2.c (__negtf2): Likewise.
8568 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8569
cb8f9562
JM
85702013-10-09 Joseph Myers <joseph@codesourcery.com>
8571
8572 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8573 semicolon. From Linux kernel.
8574
5b60c59d
AB
85752013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8576
8577 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8578
b86835ca
YC
85792013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8580
8581 [BZ #156]
8582 * manual/socket.texi: Added statement about buffer
8583 for gethostbyname2_r.
8584
e7044ea7
OB
85852013-10-08 Ondřej Bílka <neleai@seznam.cz>
8586
8587 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8588 Use .p2align directive instead, throughout.
8589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8590 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8591 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8592 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8593 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8594 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8595 * sysdeps/x86_64/strchr.S: Likewise.
8596 * sysdeps/x86_64/strrchr.S: Likewise.
8597
09544cbc
SP
85982013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8599
88576635
SP
8600 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8601
e7b2d1dd
SP
8602 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8603
09544cbc
SP
8604 * sysdeps/generic/math_private.h (__mpsin1): Remove
8605 declaration.
8606 (__mpcos1): Likewise.
8607 (__mpsin): New argument __range_reduce.
8608 (__mpcos): Likewise.
8609 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8610 (slow): Use __mpsin and __mpcos.
8611 (slow1): Likewise.
8612 (slow2): Likewise.
8613 (sloww): Likewise.
8614 (sloww1): Likewise.
8615 (sloww2): Likewise.
8616 (bsloww): Likewise.
8617 (bsloww1): Likewise.
8618 (bsloww2): Likewise.
8619 (cslow2): Likewise.
8620 (csloww): Likewise.
8621 (csloww1): Likewise.
8622 (csloww2): Likewise.
8623 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8624 range_reduce. Merge in __mpsin1.
8625 (__mpcos): Likewise.
8626 (__mpsin1): Remove.
8627 (__mpcos1): Likewise.
8628
7602d070
JM
86292013-10-07 Joseph Myers <joseph@codesourcery.com>
8630
8631 * locale/loadlocale.c (_nl_intern_locale_data): Use
8632 LOCFILE_ALIGNED_P.
8633 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8634 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8635 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8636 obstack data is appropriately aligned.
8637 (obstack_int32_grow_fast): Likewise.
8638 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8639 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8640 (add_locale_uint32_array): Likewise.
8641
a357259b
SP
86422013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8643
8644 * benchtests/Makefile: Remove ARGLIST and RET variables.
8645 ($(objpfx)bench-%.c): Pass only function name to the script.
8646 * benchtests/README: Update documentation.
8647 * benchtests/acos-inputs: Add new directives.
8648 * benchtests/acosh-inputs: Likewise.
8649 * benchtests/asin-inputs: Likewise.
8650 * benchtests/asinh-inputs: Likewise.
8651 * benchtests/atan-inputs: Likewise.
8652 * benchtests/atanh-inputs: Likewise.
8653 * benchtests/cos-inputs: Likewise.
8654 * benchtests/cosh-inputs: Likewise.
8655 * benchtests/exp-inputs: Likewise.
8656 * benchtests/log-inputs: Likewise.
8657 * benchtests/pow-inputs: Likewise.
8658 * benchtests/rint-inputs: Likewise.
8659 * benchtests/sin-inputs: Likewise.
8660 * benchtests/sinh-inputs: Likewise.
8661 * benchtests/tan-inputs: Likewise.
8662 * benchtests/tanh-inputs: Likewise.
8663 * scripts/bench.pl: Add support for new directives.
8664
9ec1b13d
AM
86652013-10-07 Alan Modra <amodra@gmail.com>
8666
8667 * README: Fix careless merge.
8668
8b7d57cd
AM
86692013-10-05 Alan Modra <amodra@gmail.com>
8670
8671 * NEWS: Mention powerpc64le support and bugs fixed.
8672 * README: Both big-endian and little-endian powerpc64 supported.
8673
7b7bab13
ST
86742013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8675
8676 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8677 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8678 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8679 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8680
d39baad1
RA
86812013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8682
8683 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8684 match prototype.
8685
cd78f7e7
JM
86862013-10-04 Joseph Myers <joseph@codesourcery.com>
8687
29d73d86
JM
8688 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8689 Move -mhard-float appending from
8690 ports/sysdeps/powerpc/powerpc32/Makefile.
8691 [$(with-fp) = yes] (ASFLAGS): Likewise.
8692 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8693 * sysdeps/powerpc/nofpu: Move directory from
8694 ports/sysdeps/powerpc/nofpu.
8695 * sysdeps/powerpc/soft-fp: Move directory from
8696 ports/sysdeps/powerpc/soft-fp.
8697 * sysdeps/powerpc/powerpc32/405: Move directory from
8698 ports/sysdeps/powerpc/powerpc32/405.
8699 * sysdeps/powerpc/powerpc32/440: Move directory from
8700 ports/sysdeps/powerpc/powerpc32/440.
8701 * sysdeps/powerpc/powerpc32/464: Move directory from
8702 ports/sysdeps/powerpc/powerpc32/464.
8703 * sysdeps/powerpc/powerpc32/476: Move directory from
8704 ports/sysdeps/powerpc/powerpc32/476.
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8706 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8708 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8710 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8712 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8714 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8715 * README: Update for powerpc-*-linux-gnu software floating point
8716 support in libc.
8717
e246b347
JM
8718 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8719 case to powerpc/powerpc32*.
8720 * sysdeps/unix/sysv/linux/configure: Regenerated.
8721
89c2003e
JM
8722 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8723 (_FPU_MASK_OM): Define as 0x04.
8724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8726 0x00c10080.
8727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8728 0x0000003c.
8729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8730
cd78f7e7
JM
8731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8732 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8733 getcontext_e500.
8734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8735 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8736 setcontext_e500.
8737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8738 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8739 and setcontext_e500.
8740
c755294d
CL
87412013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8742
8743 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8744
e16d221c
SP
87452013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8746
8747 * manual/threads.texi (Default Thread Attributes): Fix typo.
8748
215c7d43
WN
87492013-10-04 Will Newton <will.newton@linaro.org>
8750
8751 * malloc/Makefile: Add tst-memalign.
8752 * malloc/tst-memalign.c: New file.
8753
27d0461b
WN
8754 * malloc/tst-posix_memalign.c: Add comments.
8755 (do_test): Add comments and call free on all potentially
8756 allocated pointers. Add space after cast.
8757
1bc92709
WN
8758 * malloc/tst-pvalloc.c: Add comments.
8759 (do_test): Add comments and call free on all potentially
8760 allocated pointers. Remove duplicate check for NULL pointer.
8761 Add space after cast.
8762
66a9be9d
WN
8763 * malloc/tst-valloc.c: Add comments.
8764 (do_test): Add comments and call free on all potentially
8765 allocated pointers. Remove duplicate check for NULL pointer.
8766 Add space after cast.
8767
4cb81307
AM
87682013-10-04 Alan Modra <amodra@gmail.com>
8769
8770 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8771 Use stdint types in rather than __attribute__((mode())).
8772 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8773
f8e3e9f3
AM
87742013-10-04 Alan Modra <amodra@gmail.com>
8775
8776 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8777 Correct handling of unaligned relocs for little-endian.
8778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8779
8f9ebb08
AM
87802013-10-04 Alan Modra <amodra@gmail.com>
8781
8782 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8783 * configure: Regenerate.
8784 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8785 * shlib-versions: Likewise.
8786
0edf96c2
AM
87872013-10-04 Alan Modra <amodra@gmail.com>
8788
8789 * string/tester.c (test_memrchr): Increment reported test cycle.
8790
e0f7a380
AM
87912013-10-04 Alan Modra <amodra@gmail.com>
8792
8793 * string/test-memcpy.c (do_one_test): When reporting errors, print
8794 string address and don't overrun end of string.
8795
466b0393
AM
87962013-10-04 Alan Modra <amodra@gmail.com>
8797
8798 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8799 insrdi. Make better use of reg selection to speed exit slightly.
8800 Schedule entry path a little better. Remove useless "are we done"
8801 checks on entry to main loop. Handle wrapping around zero address.
8802 Correct main loop count. Handle single left-over word from main
8803 loop inline rather than by using loop_small. Remove extra word
8804 case in loop_small caused by wrong loop count. Add little-endian
8805 support.
8806 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8807 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8808 cache hint.
8809 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8810 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8811 support. Avoid rlwimi.
8812 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8813
3be87c77
AM
88142013-10-04 Alan Modra <amodra@gmail.com>
8815
8816 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8817 insrdi. Formatting.
3be87c77
AM
8818 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8819 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8820 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8821 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8822 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8823 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8824
759cfef3
AM
88252013-10-04 Alan Modra <amodra@gmail.com>
8826
8827 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8828 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8829 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8830 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8831 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8832 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8833 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8834 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8835 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8836 use of regs. Use power7 mtocrf. Tidy function tails.
8837
fe6e95d7
AM
88382013-10-04 Alan Modra <amodra@gmail.com>
8839
8840 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8841 Formatting. Consistently use rXXX register defines or rN defines.
8842 Use early exit labels that avoid restoring unused non-volatile regs.
8843 Make cr field use more consistent with rWORDn compares. Rename
8844 regs used as shift registers for unaligned loop, using rN defines
8845 for short lifetime/multiple use regs.
8846 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8847 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8848 addi 1,1,64 to pop stack frame. Simplify return value code.
8849 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8850
664318c3
AM
88512013-10-04 Alan Modra <amodra@gmail.com>
8852
8853 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8854 support. Correct typos, formatting. Optimize tail. Use insrdi
8855 rather than rlwimi.
8856 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8857 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8858 little-endian support. Correct typos.
8859 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8860 rather than rlwimi.
8861 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8862 in loop and entry code to keep "and." results.
8863 (strchr): Add little-endian support. Comment. Move cntlzd
8864 earlier in tail.
8865 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8866
43b84013
AM
88672013-10-04 Alan Modra <amodra@gmail.com>
8868
8869 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8870 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8871 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8872 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8873
8a7413f9
AM
88742013-10-04 Alan Modra <amodra@gmail.com>
8875
8876 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8877 (rTMP): Define as r11.
8878 (strcmp): Add little-endian support. Optimise tail.
8879 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8880 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8881 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8882 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8883 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8884 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8885 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8886
33ee81de
AM
88872013-10-04 Alan Modra <amodra@gmail.com>
8888
8889 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8890 little-endian support. Remove unnecessary "are we done" tests.
8891 Handle "s" wrapping around zero and extremely large "size".
8892 Correct main loop count. Handle single left-over word from main
8893 loop inline rather than by using small_loop. Correct comments.
8894 Delete "zero" tail, use "end_max" instead.
8895 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8896
db9b4570
AM
88972013-10-04 Alan Modra <amodra@gmail.com>
8898
8899 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8900 support. Don't branch over align.
8901 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8902 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8903 support. Rearrange tmp reg use to suit. Comment.
8904 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8905
f7c399cf
AM
89062013-10-04 Alan Modra <amodra@gmail.com>
8907
8908 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8909
0b2c2ace
AM
89102013-10-04 Alan Modra <amodra@gmail.com>
8911
8912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8913 conditional form of branch and link when obtaining pc.
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8915
02f04a6c
AM
89162013-10-04 Alan Modra <amodra@gmail.com>
8917
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8919 HIWORD/LOWORD.
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8922
9b874b2f
AM
89232013-10-04 Alan Modra <amodra@gmail.com>
8924
8925 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8926 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8927 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8928 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8929 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8930 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8931 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8932 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8933 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8934 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8935
be1e5d31
AB
89362013-10-04 Anton Blanchard <anton@au1.ibm.com>
8937 Alistair Popple <alistair@ozlabs.au.ibm.com>
8938 Alan Modra <amodra@gmail.com>
8939
8940 [BZ #15723]
8941 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8942 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8943 _dl_hwcap access for little-endian.
8944 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8945 destroy vmx regs when saving unaligned.
8946 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8947 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8948 destroy vmx regs when saving unaligned.
8949
fef13a78
AM
89502013-10-04 Alan Modra <amodra@gmail.com>
8951
8952 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8953 Don't use a union to pack hi/low value.
8954
76a66d51
AB
89552013-10-04 Anton Blanchard <anton@au1.ibm.com>
8956
8957 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8958 for little-endian.
8959 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8960 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8961 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8962 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8963 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8964
6a31fe7f
AM
89652013-10-04 Alan Modra <amodra@gmail.com>
8966
8967 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8968 constants to usual value for .cst8 section, and remove redundant
8969 high address load.
8970 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8971 constant for 0x1p52. Load little-endian words of double from
8972 correct stack offsets.
8973
7b88401f
AM
89742013-10-04 Alan Modra <amodra@gmail.com>
8975
8976 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8977 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8978 words of double from correct stack offsets.
8979 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8980 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8981 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8982 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8983 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8984 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8985 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8986 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8987 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8988 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8989 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8990 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8991 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8992 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8993 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8994 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8995 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8996
9c008155
AM
89972013-10-04 Alan Modra <amodra@gmail.com>
8998
8999 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9000 64-bit int/double union.
9001 (_FPU_SETCW): Likewise.
9002 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9003 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9004
da13146d
AM
90052013-10-04 Alan Modra <amodra@gmail.com>
9006
9007 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9008 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9009
603e8410
AM
90102013-10-04 Alan Modra <amodra@gmail.com>
9011
9012 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9013 use vector int constants.
9014 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9015
4a28b3ca
AB
90162013-10-04 Anton Blanchard <anton@au1.ibm.com>
9017
9018 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9019 array with long long.
9020 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9021 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9022 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9023 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9024 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9025 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9026 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9027 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9028 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9029 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9030 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9031 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9032 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9033
2ca85d2b
AB
90342013-10-04 Anton Blanchard <anton@au1.ibm.com>
9035
9036 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9037 (__signbit): Likewise. Correct for little-endian.
9038 (__signbitl): Call __signbit.
9039 (lrint): Correct for little-endian.
9040 (lrintf): Call lrint.
9041
62a728ae
AM
90422013-10-04 Alan Modra <amodra@gmail.com>
9043
9044 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9045 union 32-bit int array member with 64-bit int array.
9046 (t515, tm256): Double rather than long double.
9047 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9048
32c301df
AM
90492013-10-04 Alan Modra <amodra@gmail.com>
9050
9051 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9052 Delete.
9053 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9054 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9055 version of math_ldbl.h.
9056
650ef4bd
AM
90572013-10-04 Alan Modra <amodra@gmail.com>
9058
9059 [BZ #15734], [BZ #15735]
9060 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9061 all uses of ieee875 long double macros and unions. Simplify test
9062 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9063 ldbl_extract_mantissa value for ix,iy exponents. Properly
9064 normalize after ldbl_extract_mantissa, and don't add hidden bit
9065 already handled. Don't treat low word of ieee854 mantissa like
9066 low word of IBM long double and mask off bit when testing for
9067 zero.
9068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9069 all uses of ieee875 long double macros and unions. Simplify tests
9070 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9071 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9072 two1022, instead use their values. Recognise that tests for large
9073 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9074 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9075 Rewrite all uses of ieee875 long double macros and unions. Simplify
9076 test for 0.0L and nan. Correct negation.
9077 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9078 ieee875 long double macros and unions. Correct output for large
9079 magnitude x. Correct absolute value calculation.
9080 (__erfcl): Likewise.
9081 * math/libm-test.inc: Add tests for errors discovered in IBM long
9082 double versions of fmodl, remainderl, erfl and erfcl.
9083
765714ca
AM
90842013-10-04 Alan Modra <amodra@gmail.com>
9085
9086 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9087 all uses of ieee854 long double macros and unions. Simplify tests
9088 for long doubles that are fully specified by the high double.
9089 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9090 Likewise.
9091 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9092 Remove dead code too.
9093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9094 (__ieee754_ynl): Likewise.
9095 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9096 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9097 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9098 Remove dead code too.
9099 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9100 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9101 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9102 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9103 Simplify.
9104 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9105 Simplify.
9106 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9107 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9108 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9109 Comment on variable precision.
9110 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9111 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9112 Likewise.
9113 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9116 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9117 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9118
4ebd120c
AM
91192013-10-04 Alan Modra <amodra@gmail.com>
9120
9121 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9122 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9123 all uses of ieee854 long double macros and unions.
9124 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9127 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9130 Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9137 Simplify sign and nan test too.
9138 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9139 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9142 Likewise.
9143 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9144 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9145 Likewise.
9146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9147 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9148 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9149 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9150 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9151 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9152
1b6adf88
AM
91532013-10-04 Alan Modra <amodra@gmail.com>
9154
9155 * stdio-common/printf_size.c (__printf_size): Don't use
9156 union ieee854_long_double in fpnum union.
9157 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9158 signbit macro to retrieve sign from long double.
9159 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9160 retrieve sign from long double.
9161 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9162 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9163 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9164 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9165 * math/test-misc.c (main): Don't use union ieee854_long_double.
9166
4cf69995
AM
91672013-10-04 Alan Modra <amodra@gmail.com>
9168
9169 [BZ #15680]
9170 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9171 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9172 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9173 calculation. Remove unnecessary test for denormal exponent.
9174 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9175 Correct handling of denormals. Avoid undefined shift behaviour.
9176 Correct normalisation of low mantissa when low double is denormal.
9177 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9178 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9179 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9180 Correct normalisation of low mantissa. Test for overflow of high
9181 mantissa and normalise.
9182 (ldbl_nearbyint): Use more readable constant for two52.
9183 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9184 (__mpn_construct_long_double): Fix test for overflow of high
9185 mantissa and correct normalisation. Avoid undefined shift.
9186
9605ca6c
AM
91872013-10-04 Alan Modra <amodra@gmail.com>
9188
9189 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9190 (union ibm_extended_long_double): Define as an array of ieee754_double.
9191 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9192 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9193 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9194 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9198 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9202
975569d0
JM
92032013-10-03 Joseph Myers <joseph@codesourcery.com>
9204
d3d23756
JM
9205 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9206 page size instead of calling getpagesize.
9207
975569d0
JM
9208 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9209 (LOCFILE_ALIGN_MASK): Likewise.
9210 (LOCFILE_ALIGN_UP): Likewise.
9211 (LOCFILE_ALIGNED_P): Likewise.
9212 * locale/programs/ld-collate.c (collate_output): Use the new
9213 macros instead of __alignof__ (int32_t).
9214 * locale/weight.h (findidx): Likewise.
9215
b1fe1f2b
OB
92162013-10-03 Ondřej Bílka <neleai@seznam.cz>
9217
9218 [BZ #431]
9219 * manual/string.texi: Fix strncat and wcsncat.
9220
5f855e35
BM
92212013-10-03 Brooks Moses <bmoses@google.com>
9222
9223 [BZ #15915]
9224 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9225 * Makerules: ...here, and adjust associated comments.
9226
3cef6009
WN
92272013-10-02 Will Newton <will.newton@linaro.org>
9228
9229 * malloc/Makefile: Add tst-pvalloc.
9230 * malloc/tst-pvalloc.c: New file.
9231
7815420b
WN
92322013-10-02 Will Newton <will.newton@linaro.org>
9233
9234 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9235 improve test coverage.
9236
4868b204
WN
92372013-10-02 Will Newton <will.newton@linaro.org>
9238
9239 * malloc/Makefile: Add tst-posix_memalign.
9240 * malloc/tst-posix_memalign.c: New file.
9241
29c793b3
EB
92422013-10-01 Eric Blake <eblake@redhat.com>
9243
9244 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9245 Use __THROWNL rather than __THROW on static functions.
9246
fd967522
PM
92472013-09-30 Petr Machata <pmachata@redhat.com>
9248
9249 * elf/elf.h (R_AARCH64_ABS16): New macro.
9250 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9251 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9252 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9253 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9254 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9255 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9256 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9257 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9258 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9259 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9260 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9261 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9262 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9263 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9264 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9265 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9266 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9267 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9268 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9269 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9270 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9271 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9272 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9273 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9274 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9275 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9276 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9277 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9278 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9279 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9280 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9281 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9282 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9283 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9284 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9285 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9286 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9287 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9288 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9289 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9290 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9291 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9292 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9293 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9294 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9295 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9296 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9297 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9298 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9299 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9300 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9301 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9302 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9303 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9304 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9305 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9306 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9307 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9308 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9309 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9310 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9311 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9312 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9313 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9314 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9315 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9316 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9317 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9318 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9319 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9320 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9321 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9322 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9323 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9324 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9325 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9326 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9327 (R_AARCH64_TLSDESC_LDR): Likewise.
9328 (R_AARCH64_TLSDESC_ADD): Likewise.
9329 (R_AARCH64_TLSDESC_CALL): Likewise.
9330
b2179107
AS
93312013-09-30 Andreas Schwab <schwab@suse.de>
9332
9333 [BZ #15048]
9334 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9335 the nss database lookup.
9336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9338
47f28d0a
MF
93392013-09-28 Mike Frysinger <vapier@gentoo.org>
9340
9341 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9342
93432013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9344
9345 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9346 ${Bash-specific parameter/pattern/string} parameter expansion.
9347 * sysdeps/unix/make-syscalls.sh: Likewise.
9348
f4518a17
KK
93492013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9350
9351 * sysdeps/sh/stackguard-macros.h: New file.
9352
dc1a95c7
OB
93532013-09-26 Ondřej Bílka <neleai@seznam.cz>
9354
9355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9357 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9358 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9360 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9361
5ebbff8f
AZ
93622013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9363
9364 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9365 Fix thread ID register.
9366
4fd2cf9f
JM
93672013-09-25 Joseph Myers <joseph@codesourcery.com>
9368
9369 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9370 [POSIX || UNIX98]: Require rather than permitting all symbols from
9371 <time.h>.
9372 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9373 element of struct sched_param.
9374 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9375 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9376 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9377 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9378 constant.
9379
12c22bc4
OL
93802013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9381
9382 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9383 argument calculation.
9384
a03d8ea7
JM
93852013-09-24 Joseph Myers <joseph@codesourcery.com>
9386
9387 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9388 Expect macro.
9389 [POSIX] (pthread_attr_t): Do not require type.
9390 [POSIX] (pthread_cond_t): Likewise.
9391 [POSIX] (pthread_condattr_t): Likewise.
9392 [POSIX] (pthread_key_t): Likewise.
9393 [POSIX] (pthread_mutex_t): Likewise.
9394 [POSIX] (pthread_mutexattr_t): Likewise.
9395 [POSIX] (pthread_once_t): Likewise.
9396 [POSIX] (pthread_t): Likewise.
9397 [POSIX-based standards] (pthread_atfork): Expect function.
9398
6055173a
JM
93992013-09-24 Joseph Myers <joseph@codesourcery.com>
9400 Richard Sandiford <richard@codesourcery.com>
9401
9402 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9403 (swap_endianness_p): New extern variable.
9404 (set_big_endian): New inline function.
9405 (maybe_swap_uint32): Likewise.
9406 (maybe_swap_uint32_array): Likewise.
9407 (maybe_swap_uint32_obstack): Likewise.
9408 * locale/programs/locfile.c: Include <stdbool.h>.
9409 (swap_endianness_p): New variable.
9410 (add_locale_uint32): Call maybe_swap_uint32.
9411 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9412 (write_locale_data): Call maybe_swap_uint32_array.
9413 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9414 maybe_swap_uint32.
9415 (obstack_int32_grow_fast): Likewise.
9416 (output_weightwc): Call maybe_swap_uint32_obstack.
9417 (collate_output): Likewise.
9418 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9419 (OPT_LITTLE_ENDIAN): Likewise.
9420 (options): Add --little-endian and --big-endian options.
9421 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9422 * locale/programs/locarchive.c: Include "locfile.h".
9423 (GET): New macro.
9424 (SET): Likewise.
9425 (INC): Likewise.
9426 (create_archive): Use the new macros to access fields of
9427 structures directly mapped from or written to locale archives.
9428 (oldlocrecentcmp): Likewise.
9429 (enlarge_archive): Likewise.
9430 (insert_name): Likewise.
9431 (add_alias): Likewise.
9432 (add_locale): Likewise.
9433 (delete_locales_from_archive): Likewise.
9434 (show_archive_content): Likewise.
9435 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9436 locale data.
9437
39bf0bb4
RM
94382013-09-24 Roland McGrath <roland@hack.frob.com>
9439
9440 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9441 http://www.gnu.org/doc/freemanuals.texi.
9442 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9443
f02eed10
WN
94442013-09-24 Will Newton <will.newton@linaro.org>
9445
9446 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9447 macro.
9448
a3a6c312
JM
94492013-09-23 Joseph Myers <joseph@codesourcery.com>
9450
9451 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9452 unsigned char.
9453
107375ac
MR
94542013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9455
9456 * manual/threads.texi (POSIX Threads): Fix a typo.
9457
141f3a77
SP
94582013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9459
303e567a
SP
9460 [BZ #14547]
9461 * string/tst-strcoll-overflow.c: New test case.
9462 * string/Makefile (xtests): Add tst-strcoll-overflow.
9463 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9464 cache if string sizes may cause integer overflow.
9465
141f3a77
SP
9466 [BZ #14547]
9467 * string/strcoll_l.c (coll_seq): New members rule, idx,
9468 save_idx and back_us.
9469 (get_next_seq_nocache): New function.
9470 (do_compare_nocache): New function.
9471 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9472 when malloc fails.
9473
c61b4d41
CD
94742013-09-23 Carlos O'Donell <carlos@redhat.com>
9475
0b1f8e35
CD
9476 [BZ #15754]
9477 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9478 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9479 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9480
c61b4d41
CD
9481 [BZ #15754]
9482 * elf/Makefile (tests): Add tst-ptrguard1.
9483 (tests-static): Add tst-ptrguard1-static.
9484 (tst-ptrguard1-ARGS): Define.
9485 (tst-ptrguard1-static-ARGS): Define.
9486 * elf/tst-ptrguard1.c: New file.
9487 * elf/tst-ptrguard1-static.c: New file.
9488 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9489 * sysdeps/i386/stackguard-macros.h: Likewise.
9490 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9491 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9492 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9493 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9494 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9495 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9496
94972013-09-23 Hector Marco <hecmargi@upv.es>
9498 Ismael Ripoll <iripoll@disca.upv.es>
9499 Carlos O'Donell <carlos@redhat.com>
9500
9501 [BZ #15754]
9502 * sysdeps/generic/stackguard-macros.h: Define
9503 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9504 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9505 Define __pointer_chk_guard_local.
9506 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9507 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9508
f5f4e7b4
VV
95092013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9510
9511 [BZ #15859]
9512 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9513
5bb43a43
AS
95142013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9515
9516 * include/string.h (__ffs): Declare as hidden.
9517 * string/ffs.c (__ffs): Define as hidden.
9518 * sysdeps/i386/ffs.c (__ffs): Likewise.
9519 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9520 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9521 * sysdeps/s390/ffs.c (__ffs): Likewise.
9522 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9523
3ea5be54
AO
95242013-09-20 Alexandre Oliva <aoliva@redhat.com>
9525
ffb89e53
AO
9526 * NEWS: Mention malloc probes.
9527
322dea08
AO
9528 * malloc/arena.c (new_heap): New memory_heap_new probe.
9529 (grow_heap): New memory_heap_more probe.
9530 (shrink_heap): New memory_heap_less probe.
9531 (heap_trim): New memory_heap_free probe.
9532 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9533 (systrim): New memory_sbrk_less probe.
9534 * manual/probes.texi: Document them.
9535
655673f3
AO
9536 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9537 * manual/probes.texi: Document it.
9538
35fed6f1
AO
9539 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9540 (__libc_realloc): Add memory_realloc_retry probe.
9541 (__libc_memalign): Add memory_memalign_retry probe.
9542 (__libc_valloc): Add memory_valloc_retry probe.
9543 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9544 (__libc_calloc): Add memory_calloc_retry probe.
9545 * manual/probes.texi: Document them.
9546
6999d38c
AO
9547 * malloc/arena.c (get_free_list): Add probe
9548 memory_arena_reuse_free_list.
9549 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9550 and memory_arena_reuse.
9551 (arena_get2) [!PER_THREAD]: Likewise.
9552 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9553 memory_arena_reuse_realloc.
9554 * manual/probes.texi: Document them.
9555
0653427f
AO
9556 * malloc/malloc.c (__libc_free): Add
9557 memory_mallopt_free_dyn_thresholds probe.
9558 (__libc_mallopt): Add multiple memory_mallopt probes.
9559 * manual/probes.texi: Document them.
9560
3ea5be54
AO
9561 * malloc/malloc.c: Include stap-probe.h.
9562 (__libc_mallopt): Add memory_mallopt probe.
9563 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9564 * manual/probes.texi: New.
9565 * manual/Makefile (chapters): Add probes.
9566 * manual/threads.texi: Set next node.
9567
e35696c3 95682013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9569
e35696c3
CL
9570 [BZ #15963, #13985]
9571 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9572 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9573 Add `Chinese' to `nan' entry name.
9574
4aafb73c
SP
95752013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9576
9577 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9578 (POLYNOMIAL): Likewise.
9579 (TAYLOR_SINCOS): Likewise.
9580 (TAYLOR_SLOW): Likewise.
9581 (__sin): Use TAYLOR_SINCOS.
9582 (__cos): Likewise.
9583 (slow): Use TAYLOR_SLOW.
9584 (sloww): Likewise.
9585 (bsloww): Likewise.
9586 (csloww): Likewise.
9587
d84f25c7
LD
95882013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9589
9590 * stdlib/strtod_l.c: Fix buffer overrun.
9591
5eea0404
SP
95922013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9593
7849ff93
SP
9594 * benchtests/Makefile (bench): Add sincos.
9595 * benchtests/bench-sincos.c: New file.
9596
cfa3c886
SP
9597 * math/libm-test.inc (cos_test_data): New test inputs.
9598 (sin_test_data): Likewise.
9599
b348e1e3
SP
9600 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9601 macro.
9602 (__sin): Use it.
9603 (__cos): Likewise.
9604 (slow1): Likewise.
9605 (slow2): Likewise.
9606 (sloww1): Likewise.
9607 (sloww2): Likewise.
9608 (bsloww1): Likewise.
9609 (bsloww2): Likewise.
9610 (cslow2): Likewise.
9611 (csloww1): Likewise.
9612 (csloww2): Likewise.
9613
6cce25f8
SP
9614 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9615 function.
9616 (__sin): Use it.
9617 (__cos): Likewise.
9618
5eea0404
SP
9619 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9620 gotos.
9621 (__cos): Likewise.
9622
9c21573c
MR
96232013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9624
9625 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9626 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9627 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9628 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9629 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9630 * elf/cache.c (print_entry): Handle the new cache flags.
9631
24d22e65
JM
96322013-09-18 Joseph Myers <joseph@codesourcery.com>
9633 Aldy Hernandez <aldyh@redhat.com>
9634
9635 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9636 Change condition to [_SOFT_FLOAT].
9637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9649 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9651 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9652 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9653 declaration.
9654
d13ef066
JM
96552013-09-18 Joseph Myers <joseph@codesourcery.com>
9656
2e071de0
JM
9657 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9658 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9659 (__longjmp): Use LOAD_GP to load saved GPRs.
9660 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9661 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9662 (__sigsetjmp): Use SAVE_GP to save GPRs.
9663
d13ef066
JM
9664 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9665 Do not append -msoft-float.
9666 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9667
97a0650b
SP
96682013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9669
9670 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9671
11ca09e9
JM
96722013-09-17 Joseph Myers <joseph@codesourcery.com>
9673
9674 [BZ #15966]
9675 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9676 (_FPU_GETCW): Use initial "__" on variable and field names but not
9677 on macro parameter name.
9678 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9679 parentheses around reference to macro parameter.
9680
08ffcf34
RS
96812013-09-13 Richard Sandiford <richard@codesourcery.com>
9682
9683 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9684 prototype.
9685 (ctype_startup): Use uint32_t in cast and sizeof for
9686 ctype->charnames.
9687
ae7080d3
JL
96882013-09-11 Jia Liu <proljc@gmail.com>
9689
9690 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9691 __daddr_t_defined.
9692 [__FreeBSD__]: Likewise.
9693
5905e7b3
OB
96942013-09-11 Ondřej Bílka <neleai@seznam.cz>
9695
9696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9697 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9698 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9699 (strchr): Remove __strchr_sse42 ifunc selection.
9700 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9701 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9702
b987c776
WN
97032013-09-11 Will Newton <will.newton@linaro.org>
9704
9705 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9706 parameter to RES. Remove hardcoded 1000 value.
9707 * benchtests/bench-skeleton.c (main): Pass RES parameter
9708 to TIMING_INIT and multiply result by 1000.
9709
ddf985af
AZ
97102013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9711
9712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9713
ffdd3181
AS
97142013-09-11 Andreas Schwab <schwab@suse.de>
9715
9716 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9717 if not defined.
9718 (O_TMPFILE) [__USE_GNU]: Define.
9719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9720 Define.
9721
b73ed247
WN
97222013-09-11 Will Newton <will.newton@linaro.org>
9723
9724 [BZ #15857]
9725 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9726 does not overflow.
9727
55e17aad
WN
97282013-09-11 Will Newton <will.newton@linaro.org>
9729
9730 [BZ #15856]
9731 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9732 does not overflow.
9733
1159a193
WN
97342013-09-11 Will Newton <will.newton@linaro.org>
9735
9736 [BZ #15855]
9737 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9738 does not overflow.
9739
5905e7b3 97402013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9741
9742 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9743 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9744 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9745 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9746 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9747
cdfc721b
AM
97482013-09-10 Allan McRae <allan@archlinux.org>
9749
aa04af00
AM
9750 [BZ #15748]
9751 * manual/arith.texi (Parsing of Floats): Clarify
9752 cross-reference.
9753
cdfc721b
AM
9754 [BZ #15849]
9755 * manual/install.texi (Running make install): Mention
9756 --enable-pt-chown.
9757 * INSTALL: Regenerated.
9758
95e7cf29
MR
97592013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9760
9761 * csu/init-first.c (_init): Remove the !SHARED condition around
9762 FPU control word initialization.
9763 * elf/dl-support.c (_dl_fpu_control): New variable.
9764 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9765 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9766 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9767 * math/test-fpucw-static.c: New file.
9768 * math/test-fpucw-ieee.c: New file.
9769 * math/test-fpucw-ieee-static.c: New file.
9770 * math/Makefile (tests): Add `test-fpucw-ieee' and
9771 `$(tests-static)'.
9772 (tests-static): New variable.
9773 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9774 dependency to...
9775 [($(build-shared),yes)]
9776 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9777 ... this.
9778 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9779 New dependency.
9780
83e43bf0
AM
97812013-09-09 Allan McRae <allan@archlinux.org>
9782
a9f5ce09
AM
9783 [BZ #15939]
9784 * manual/string.texi (Collation Functions): Fix typo in
9785 strcoll example.
9786 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9787
34829bc2
AM
9788 [BZ #15893]
9789 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9790
3932737d
AM
9791 [BZ #15892]
9792 * libio/memstream.c (open_memstream): Fix memory leak.
9793 * libio/wmemstream.c (open_wmemstream): Likewise.
9794
83e43bf0
AM
9795 [BZ #15895]
9796 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9797
0c66b8e9
WN
97982013-09-09 Will Newton <will.newton@linaro.org>
9799
9800 * malloc/Makefile: Add tst-realloc to tests.
9801 * malloc/tst-realloc.c: New file.
9802
f6b00fd1
AM
98032013-09-09 Allan McRae <allan@archlinux.org>
9804
9805 [BZ #15844]
9806 * COPYING: Update from GNU website to fix FSF address.
9807 * COPYING.LIB: Likewise.
9808
eec55e16
DM
98092013-09-06 David S. Miller <davem@davemloft.net>
9810
9811 * po/zh_TW.po: Update Chinese (traditional) translation from
9812 translation project.
9813
1ecbb381
RS
98142013-09-06 Richard Sandiford <richard@codesourcery.com>
9815 Joseph Myers <joseph@codesourcery.com>
9816
9817 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9818 "localeinfo.h".
9819 (obstack_chunk_alloc): New macro.
9820 (obstack_chunk_free): Likewise.
9821 (record_offset): New function.
9822 (init_locale_data): Likewise.
9823 (align_locale_data): Likewise.
9824 (add_locale_empty): Likewise.
9825 (add_locale_raw_data): Likewise.
9826 (add_locale_raw_obstack): Likewise.
9827 (add_locale_string): Likewise.
9828 (add_locale_wstring): Likewise.
9829 (add_locale_uint32): Likewise.
9830 (add_locale_uint32_array): Likewise.
9831 (add_locale_char): Likewise.
9832 (start_locale_structure): Likewise.
9833 (end_locale_structure): Likewise.
9834 (start_locale_prelude): Likewise.
9835 (end_locale_prelude): Likewise.
9836 (write_locale_data): Take locale_file structure rather than an
9837 iovec.
9838 * locale/programs/locfile.h: Include "obstack.h".
9839 (struct locale_file): Change to store locale file contents instead
9840 of header.
9841 (init_locale_data): New prototype.
9842 (align_locale_data): Likewise.
9843 (add_locale_empty): Likewise.
9844 (add_locale_raw_data): Likewise.
9845 (add_locale_raw_obstack): Likewise.
9846 (add_locale_string): Likewise.
9847 (add_locale_wstring): Likewise.
9848 (add_locale_uint32): Likewise.
9849 (add_locale_uint32_array): Likewise.
9850 (add_locale_char): Likewise.
9851 (start_locale_structure): Likewise.
9852 (end_locale_structure): Likewise.
9853 (start_locale_prelude): Likewise.
9854 (end_locale_prelude): Likewise.
9855 (write_locale_data): Update prototype.
9856 * locale/programs/3level.h (struct TABLE): Remove result field.
9857 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9858 Use new locale_file interface.
9859 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9860 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9861 * locale/programs/ld-address.c (address_output): Use new
9862 locale_file interface.
9863 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9864 NO_ADD_LOCALE.
9865 (collate_finish): Don't call collseq_table_finalize.
9866 (collate_output): Use new locale_file interface.
9867 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9868 in file.
9869 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9870 (TABLE): Move defines earlier in file.
9871 (ELEMENT): Likewise.
9872 (DEFAULT): Likewise.
9873 (wctrans_table_add): Move macro and inline function earlier in
9874 file.
9875 (struct wctype_table): Move type earlier in file.
9876 (add_locale_wctype_table): New static prototype.
9877 (struct locale_ctype_t): Use logical types instead of struct iovec
9878 pointers for members.
9879 (ctype_output): Use new locale_file interface.
9880 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9881 new locale_file interface.
9882 (allocate_arrays): Update for use of new locale_file interface.
9883 * locale/programs/ld-identification.c (identification_output): Use
9884 new locale_file interface.
9885 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9886 * locale/programs/ld-messages.c (messages_output): Likewise.
9887 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9888 * locale/programs/ld-name.c (name_output): Likewise.
9889 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9890 * locale/programs/ld-paper.c (paper_output): Likewise.
9891 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9892 * locale/programs/ld-time.c (time_output): Likewise.
9893
e029e2e5
AZ
98942013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9895
9896 * benchtests/Makefile: Add memrchr benchmark.
9897 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9898 benchmark as memrchr.
9899 * benchtests/bench-memrchr-ifunc.c: New file.
9900 * benchtests/bench-memrchr.c: New file.
9901
bbf6e8e4
WN
99022013-09-06 Will Newton <will.newton@linaro.org>
9903
9904 * benchtests/Makefile (string-bench): Add memcpy.
9905
6c82a2f8
CD
99062013-09-05 Carlos O'Donell <carlos@redhat.com>
9907 Cong Wang <amwang@redhat.com>
9908
e732c5f0 9909 [BZ #15850]
6c82a2f8
CD
9910 * sysdeps/unix/sysv/linux/bits/in.h
9911 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9912 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9913 before __USE_KERNEL_IPV6_DEFS uses.
9914 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9915 IPPROTO_BEETPH.
9916 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9917 sockaddr_in6, or ipv6_mreq.
9918
5430fc65
AZ
99192013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9920
9921 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9922 memory access for final bytes in some large inputs.
9923 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9924
4660856c
AZ
99252013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9926
9927 * string/test-memrchr.c: New file.
9928 * string/test-memrchr-ifunc.c: New file.
9929 * string/Makefile: Add new memrchr testcase.
9930
bb8ea713
MF
99312013-09-05 Mike Frysinger <vapier@gentoo.org>
9932
9933 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9934 fanotify_init returns EPERM.
9935
b92a20b5
JM
99362013-09-04 Joseph Myers <joseph@codesourcery.com>
9937
9938 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9939 errors.
9940 (top level): Treat second token from macro or constant entries for
9941 allowed headers as allowed.
9942 * include/complex.h: Condition internal declarations on
9943 [!_ISOMAC].
9944 * include/fenv.h: Condition include of <stdbool.h> and internal
9945 declarations on [!_ISOMAC].
7447ccd9
CL
9946
99472013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9948
3e181dda 9949 [BZ #15923]
7447ccd9
CL
9950 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9951
3f2e46a4
JM
99522013-09-04 Joseph Myers <joseph@codesourcery.com>
9953
9954 * configure.in (--enable-versioning): Remove configure option.
9955 (libc_cv_asm_symver_directive): Remove configure test.
9956 (libc_cv_ld_version_script_option): Likewise.
9957 (VERSIONING): Remove variable and AC_SUBST.
9958 (DO_VERSIONING): Remove AC_DEFINE.
9959 * configure: Regenerated.
9960 * config.h.in (DO_VERSIONING): Remove macro.
9961 * Makerules [$(versioning) = yes]: Change conditionals to
9962 [$(build-shared) = yes].
9963 * config.make.in (versioning): Remove variable.
9964 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9965 [$(build-shared) = yes].
9966 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9967 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9968 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9969 [$(build-shared) = yes].
9970 * extra-lib.mk [$(versioning) = yes]: Likewise.
9971 * hurd/Makefile [$(versioning) = yes]: Likewise.
9972 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9973 [SHARED].
9974 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9975 [SHARED].
9976 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9977 [SHARED && !NO_HIDDEN].
9978 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9979 [SHARED].
9980 [SHARED && DO_VERSIONING]: Likewise..
9981 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9982 [$(build-shared) = yes].
9983 * manual/install.texi (--disable-versioning): Remove
9984 documentation.
9985 * INSTALL: Regenerated.
9986 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9987 to [SHARED].
9988 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9989 [$(build-shared) = yes].
9990 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9991 * sysdeps/i386/i686/multiarch/strstr-c.c
9992 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9993 [SHARED && !NO_HIDDEN].
9994 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9995 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9996 * sysdeps/powerpc/powerpc32/dl-machine.c
9997 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9998 * sysdeps/powerpc/powerpc32/sysdep.h
9999 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10000 to [SHARED && PIC && !NO_HIDDEN].
10001 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10002 conditional to [SHARED].
10003
44558701
WN
100042013-09-04 Will Newton <will.newton@linaro.org>
10005
10006 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10007 * benchtests/bench-string.h: Include bench-timing.h instead
10008 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10009 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10010 call to HP_TIMING_DIFF_INIT.
10011 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10012 instead of hp-timing.h macros.
10013 * benchtests/bench-memchr.c: Likewise.
10014 * benchtests/bench-memcmp.c: Likewise.
10015 * benchtests/bench-memcpy.c: Likewise.
10016 * benchtests/bench-memmem.c: Likewise.
10017 * benchtests/bench-memmove.c: Likewise.
10018 * benchtests/bench-memset.c: Likewise.
10019 * benchtests/bench-rawmemchr.c: Likewise.
10020 * benchtests/bench-strcasecmp.c: Likewise.
10021 * benchtests/bench-strcasestr.c: Likewise.
10022 * benchtests/bench-strcat.c: Likewise.
10023 * benchtests/bench-strchr.c: Likewise.
10024 * benchtests/bench-strcmp.c: Likewise.
10025 * benchtests/bench-strcpy.c: Likewise.
10026 * benchtests/bench-strcpy_chk.c: Likewise.
10027 * benchtests/bench-strlen.c: Likewise.
10028 * benchtests/bench-strncasecmp.c: Likewise.
10029 * benchtests/bench-strncat.c: Likewise.
10030 * benchtests/bench-strncmp.c: Likewise.
10031 * benchtests/bench-strncpy.c: Likewise.
10032 * benchtests/bench-strnlen.c: Likewise.
10033 * benchtests/bench-strpbrk.c: Likewise.
10034 * benchtests/bench-strrchr.c: Likewise.
10035 * benchtests/bench-strspn.c: Likewise.
10036 * benchtests/bench-strstr.c: Likewise.
10037
cae16d66
WN
100382013-09-04 Will Newton <will.newton@linaro.org>
10039
10040 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10041
ffa3cd7f
JM
100422013-09-03 Joseph Myers <joseph@codesourcery.com>
10043
10044 [BZ #15427]
10045 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10046 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10047 * math/libm-test.inc (lgamma_test_data): Add more tests.
10048 * sysdeps/i386/fpu/libm-test-ulps: Update.
10049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10050
8f02859f
OB
100512013-09-03 Ondřej Bílka <neleai@seznam.cz>
10052
10053 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10054 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10055 Add ifunc.
10056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10057 Add strcmp-sse2-unaligned
10058 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10059
18d43716
MF
100602013-09-02 Mike Frysinger <vapier@gentoo.org>
10061
10062 * Versions.def (libc): Add GLIBC_2.19.
10063
ac444012
MF
100642013-09-02 Mike Frysinger <vapier@gentoo.org>
10065
10066 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10067 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10068
b7835e32
JM
100692013-09-02 Joseph Myers <joseph@codesourcery.com>
10070
10071 [BZ #14155]
10072 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10073 intermediate calculations in recurrence.
10074 (__ieee754_ynf): Likewise.
10075 * math/libm-test.inc (jn_test_data): Do not allow spurious
10076 underflow exception. Add more tests.
10077 (yn_test_data): Add more tests.
10078 * sysdeps/i386/fpu/libm-test-ulps: Update.
10079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10080
8220f4f0
OB
100812013-09-02 Ondřej Bílka <neleai@seznam.cz>
10082
10083 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10084
f24a6d08
OB
100852013-08-30 Ondřej Bílka <neleai@seznam.cz>
10086
10087 * csu/init-first.c: Fix then/than typos.
10088 * locale/programs/ld-collate.c: Likewise.
10089 * locale/programs/linereader.h: Likewise.
10090 * manual/charset.texi: Likewise.
10091 * manual/filesys.texi: Likewise.
10092 * manual/stdio.texi: Likewise.
10093 * manual/string.texi: Likewise.
10094 * stdlib/fmtmsg.c: Likewise.
10095 * sysdeps/i386/stpncpy.S: Likewise.
10096 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10097 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10098 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10099 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10100
382466e0
OB
101012013-08-30 Ondřej Bílka <neleai@seznam.cz>
10102
10103 * elf/dl-open.c: Fix typos.
10104 * iconvdata/gbbig5.c: Likewise.
10105 * iconvdata/iso-2022-jp.c: Likewise.
10106 * iconv/gconv_int.h: Likewise.
10107 * iconv/loop.c: Likewise.
10108 * nis/rpcsvc/nis.h: Likewise.
10109 * resolv/ns_name.c: Likewise.
10110 * stdio-common/vfscanf.c: Likewise.
10111 * streams/stropts.h: Likewise.
10112 * sunrpc/rpc_thread.c: Likewise.
10113 * sysdeps/i386/strpbrk.S: Likewise.
10114 * sysdeps/ieee754/k_standard.c: Likewise.
10115 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10116 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10117 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10118 * sysdeps/mach/hurd/profil.c: Likewise.
10119 * sysdeps/s390/dl-procinfo.h: Likewise.
10120 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10121 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10122 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10123 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10125
0186c6e9
OB
101262013-08-30 Ondřej Bílka <neleai@seznam.cz>
10127
10128 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10129 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10130
d4e16af1
OB
101312013-08-29 Ondřej Bílka <neleai@seznam.cz>
10132
10133 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10134 aix specific files.
10135 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10136 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10137 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10138 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10139 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10140 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10141 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10142 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10143
88335980
TS
101442013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10145 Roland McGrath <roland@hack.frob.com>
10146
10147 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10148 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10149
ed479b02
ST
101502013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10151
10152 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10153 __executable_start symbol instead of _start.
10154
f1cc4c86
TS
101552013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10156
d821f07c
TS
10157 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10158 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10159 Move macros to...
10160 * sysdeps/gnu/ldsodefs.h: ... this new file.
10161
c54290cf
TS
10162 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10163 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10164 instead of ELFOSABI_LINUX.
10165
0007fc9b 10166 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10167 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10168 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10169 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10170 Likewise.
10171 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10172 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10173 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10174 Likewise.
10175 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10176 (ibm_extended_long_double): Add ieee_nan member.
10177 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10178 (do_test): New function.
10179
f1cc4c86
TS
10180 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10181 TEST_TRUNC.
10182 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10183 functions, renamed from truncdfsf_test, trunctfsf_test,
10184 trunctfdf_test.
10185 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10186 functions.
10187 (do_test): Run all these.
10188
6f65e668
OB
101892013-08-29 Ondřej Bílka <neleai@seznam.cz>
10190
10191 * argp/argp-help.c: Fix typos.
10192 * argp/argp-parse.c: Likewise.
10193 * debug/backtracesyms.c: Likewise.
10194 * elf/elf.h: Likewise.
10195 * malloc/malloc.c: Likewise.
10196 * nis/nis_print.c: Likewise.
10197 * resolv/res_comp.c: Likewise.
10198 * stdlib/stdlib.h: Likewise.
10199 * sunrpc/clnt_tcp.c: Likewise.
10200 * sunrpc/clnt_udp.c: Likewise.
10201 * sunrpc/clnt_unix.c: Likewise.
10202 * sysdeps/unix/bsd/ptsname.c: Likewise.
10203 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10204 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10206 Likewise.
10207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10208 Likewise.
10209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10210 Likewise.
6f65e668
OB
10211 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10212
3a309239
SP
102132013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10214
10215 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10217
3b813b29
MF
102182013-08-27 Mike Frysinger <vapier@gentoo.org>
10219
10220 [BZ #15897]
10221 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10222 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10223 ($(objpfx)bug-dl-leaf): New rule.
10224 ($(objpfx)bug-dl-leaf.so): Likewise.
10225 ($(objpfx)bug-dl-leaf.out): Likewise.
10226 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10227 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10228 * dlfcn/bug-dl-leaf.c: New test.
10229 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10230 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10231 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10232 (dlclose): Likewise.
10233 (dlmopen): Likewise.
10234
8cc3269f
RM
102352013-08-27 Roland McGrath <roland@hack.frob.com>
10236
7f9d0034
RM
10237 * include/netdb.h [!_ISOMAC]:
10238 Don't include <tls.h>.
10239 (h_errno, __libc_h_errno): Move declaration and macros out of
10240 [_LIBC_REENTRANT].
10241
fb431262
RM
10242 * include/resolv.h [_RESOLV_H_]:
10243 Don't include <tls.h>.
10244 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10245 * resolv/res_libc.c: Don't include <tls.h>.
10246 (_res): Use __attribute__ ((nocommon)) in place of
10247 __attribute__ ((section (".bss"))).
10248
bd81123a
RM
10249 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10250 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10251
c4e42566
RM
10252 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10253
f890a59b
RM
10254 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10255 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10256
10257 * resolv/res_mkquery.c: Include <sys/time.h>.
10258
5d1f0a09
RM
10259 * inet/ifreq.c: Moved to ...
10260 * sysdeps/unix/ifreq.c: ... here.
10261 * inet/ifreq.c: New file, true stub version.
10262
6fcf28b3
RM
10263 * socket/sa_len.c: New file.
10264 * socket/Makefile (aux): Add it.
10265 * sysdeps/unix/sysv/linux/Makefile
10266 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10267 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10268 and #include <socket/sa_len.c>.
10269 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10270 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10271
e041fb8b
RM
10272 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10273 * bits/socket.h: ... here.
10274
8cc3269f
RM
10275 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10276 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10277 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10278
5d228a43
AS
102792013-08-27 Andreas Schwab <schwab@suse.de>
10280
45b8accc
AS
10281 [BZ #15736]
10282 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10283 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10284 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10285 * string/test-strcasecmp.c (test_main): Run tests in several
10286 locales.
10287 * string/test-strncasecmp.c (test_main): Likewise.
10288
5d228a43
AS
10289 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10290 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10291 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10293 (__strncasecmp_ssse3) [PIC]: Likewise.
10294
59d112a4
RM
102952013-08-26 Roland McGrath <roland@hack.frob.com>
10296
53234cc3
RM
10297 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10298
59d112a4
RM
10299 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10300 instead of explicitly declaring xdecrypt.
10301 * nis/nss_nis/nis-publickey.c: Likewise.
10302
595aba70
SP
103032013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10304
10305 [BZ #15890]
10306 * nscd/aicache.c: Include res_hconf.h.
10307 (addhstaiX): Initialize res_hconf.
10308
ffabd393
AS
103092013-08-26 Andreas Schwab <schwab@suse.de>
10310
10311 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10312 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10313
e0a69f5c
SP
103142013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10315
10316 * nscd/aicache.c (addhstaiX): Fix indentation.
10317
8c12f01d
MF
103182013-08-25 Mike Frysinger <vapier@gentoo.org>
10319
10320 * configure.ac: Quote $build_pt_chown test.
10321 * configure: Regenerated.
10322
8fe89494
JM
103232013-08-23 Joseph Myers <joseph@codesourcery.com>
10324
10325 [BZ #15532]
10326 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10327 * math/s_cexpf.c (__cexpf): Likewise.
10328 * math/s_cexpl.c (__cexpl): Likewise.
10329 * math/libm-test.inc (cexp_test_data): Correct expected return
10330 value for NaN + i0. Add another test.
10331
75b181d6
DM
103322013-08-22 David S. Miller <davem@davemloft.net>
10333
10334 * po/ca.po: Update Catalan translation from translation project.
936241e4 10335 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10336
acd06bb1
JM
103372013-08-21 Joseph Myers <joseph@codesourcery.com>
10338
10339 [BZ #15797]
10340 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10341 is infinite, not alongside NaN test.
10342 * math/s_fdimf.c (__fdimf): Likewise.
10343 * math/s_fdiml.c (__fdiml): Likewise.
10344 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10345 errno is unchanged.
10346
c0c3f78a
OB
103472013-08-21 Ondřej Bílka <neleai@seznam.cz>
10348
10349 * argp/argp-help.c: Fix typos.
10350 * crypt/speeds.c: Likewise.
10351 * csu/check_fds.c: Likewise.
10352 * elf/dl-load.c: Likewise.
10353 * elf/dl-open.c: Likewise.
10354 * elf/reldep3.c: Likewise.
10355 * elf/reldep.c: Likewise.
10356 * elf/sprof.c: Likewise.
10357 * iconv/iconv_charmap.c: Likewise.
10358 * iconv/skeleton.c: Likewise.
10359 * iconv/strtab.c: Likewise.
10360 * io/lockf64.c: Likewise.
10361 * libio/libioP.h: Likewise.
10362 * resolv/gai_notify.c: Likewise.
10363 * resolv/ns_name.c: Likewise.
10364 * resolv/ns_samedomain.c: Likewise.
10365 * resolv/res_send.c: Likewise.
10366 * stdlib/random.c: Likewise.
10367 * sunrpc/rpc/xdr.h: Likewise.
10368 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10369 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10370 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10371 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10372 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10375 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10376 * sysdeps/mach/hurd/check_fds.c: Likewise.
10377 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10378 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10379 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10380 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10381 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10382 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10383 * sysdeps/pthread/aio_notify.c: Likewise.
10384 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10385 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10386 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10387 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10388 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10389
46ed1038
LD
103902013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10391
10392 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10393 version if bit_Slow_SSE4_2 is set.
10394 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10395 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10396
d400dcac
AZ
103972013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10398
10399 [BZ #15867]
10400 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10401 trampoline stack frame information.
10402 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10403 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10404 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10405 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10406 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10407 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10408 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10409 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10410 sa_flags value.
10411 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10412 interrupting a syscall and set with option SA_SIGINFO.
10413
42c8fdd8
JM
104142013-08-20 Joseph Myers <joseph@codesourcery.com>
10415
c980f2f4
JM
10416 [BZ #15531]
10417 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10418 argument is infinite.
10419 * math/s_cprojf.c (__cprojf): Likewise.
10420 * math/s_cprojl.c (__cprojl): Likewise.
10421 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10422 * math/libm-test.inc (cproj_test_data): Add more tests.
10423
0716c4fc
JM
10424 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10425
42c8fdd8
JM
10426 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10427 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10428 size. Use __ffs to determine corresponding shift.
10429
b31469d0
JM
104302013-08-20 Joseph Myers <joseph@codesourcery.com>
10431 Roland McGrath <roland@hack.frob.com>
10432
10433 * Makefile (INSTALL): Remove trailing blank lines from output of
10434 makeinfo.
10435
4e39af6e
AK
104362013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10437
10438 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10439 Align 32 bit compat elf_greg to 8 bytes.
10440
f315524e
AA
104412013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10442
10443 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10444
1326ba1a
SP
104452013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10446
10447 * string/strcoll_l.c (coll_seq): New structure.
10448 (get_next_seq_cached): New function.
10449 (get_next_seq): New function.
10450 (do_compare): New function.
10451 (STRCOLL): Use GNU style definition. Simplify implementation
10452 by using get_next_seq, get_next_seq_cached and do_compare.
10453
91ce4085
FW
104542013-08-16 Florian Weimer <fweimer@redhat.com>
10455
10456 [BZ #14699]
10457 CVE-2013-4237
10458 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10459 member.
10460 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10461 member.
10462 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10463 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10464 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10465 conditional.
10466 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10467 GETDENTS_64BIT_ALIGNED.
10468 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10469 * manual/filesys.texi (Reading/Closing Directory): Document
10470 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10471 strongly.
10472 * manual/conf.texi (Limits for Files): Add portability note to
10473 NAME_MAX, PATH_MAX.
10474 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10475
ca0a6bc4
AS
104762013-08-13 Andreas Schwab <schwab@suse.de>
10477
10478 [BZ #15749]
10479 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10480 of fabs.
10481 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10482 LDBL_MAX_EXP >= 16384]: Add tests for it.
10483
6c1fd795
DM
104842013-08-12 David S. Miller <davem@davemloft.net>
10485
10486 * version.h (RELEASE): Set to "development".
10487 (VERSION): Set to "2.18.90".
10488 * NEWS: Add 2.19 section.
10489
31ad488d
DM
104902013-08-03 David S. Miller <davem@davemloft.net>
10491
10492 * po/ko.po: Update Korean translation from translation project.
10493
db24e684
DM
104942013-08-01 David S. Miller <davem@davemloft.net>
10495
10496 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10497 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10498 Bilka.
10499
f723285b
DM
105002013-07-30 David S. Miller <davem@davemloft.net>
10501
10502 * po/fr.po: Update French translation from translation project.
10503
3cbc52db
DM
105042013-07-28 David S. Miller <davem@davemloft.net>
10505
30bbc0cc
DM
10506 * po/cs.po: Update Czech translation from translation project.
10507
3cbc52db
DM
10508 * po/sv.po: Update Swedish translation from translation project.
10509
d492e6d0
DM
105102013-07-27 David S. Miller <davem@davemloft.net>
10511
f1a7f492
DM
10512 * po/eo.po: Update Esperanto translation from translation project.
10513
90e62a4a
DM
10514 * po/vi.po: Update Vietnamese translation from translation project.
10515
d492e6d0
DM
10516 * po/de.po: Update German translation from translation project.
10517
d4baa62d
DM
105182013-07-26 David S. Miller <davem@davemloft.net>
10519
641aa7b4
DM
10520 * po/bg.po: Update Bulgarian translation from translation project.
10521
d4baa62d
DM
10522 * po/nl.po: Update Dutch translation from translation project.
10523 * po/pl.po: Update Polish translation from translation project.
10524 * po/ru.po: Update Russian translation from translation project.
10525
61a9dcb9
DM
105262013-07-24 David S. Miller <davem@davemloft.net>
10527
10528 * po/libc.pot: Update.
10529
7b1f8b58
AZ
105302013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10531
10532 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10533 variable page size.
10534 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10535 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10536 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10537
a8fc7a03
AK
105382013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10539
10540 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10541
e4608715
CD
105422013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10543 Andreas Schwab <schwab@suse.de>
10544 Roland McGrath <roland@hack.frob.com>
10545 Joseph Myers <joseph@codesourcery.com>
10546 Carlos O'Donell <carlos@redhat.com>
10547
10548 [BZ #15755]
10549 * config.h.in: Define HAVE_PT_CHOWN.
10550 * config.make.in (build-pt-chown): New variable.
10551 * configure.in (--enable-pt_chown): New configure option.
10552 * configure: Regenerate.
10553 * login/Makefile: Include Makeconfig. Build pt_chown only if
10554 build-pt-chown is enabled.
10555 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10556 pt_chown to fix pty ownership.
10557 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10558 CLOSE_ALL_FDS.
10559 * manual/install.texi (Configuring and compiling): Mention
10560 --enable-pt_chown. Add @findex for grantpt.
10561 * INSTALL: Regenerate.
10562
da2d62df
DM
105632013-07-20 David S. Miller <davem@davemloft.net>
10564
10565 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10566 difference between 32-bit and 64-bit.
10567
d7e06450
CD
105682013-07-15 Carlos O'Donell <carlos@redhat.com>
10569
10570 [BZ #15711]
10571 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10572 Avoid system header dependency with -ffreestanding.
10573 ($(objpfx)bits/syscall%d): Likewise.
10574
f959cfd7
DM
105752013-07-13 David S. Miller <davem@davemloft.net>
10576
10577 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10578 underflows from atanl/atan2l due to bug 15319.
10579 (casinh_test_data): Likewise.
10580
c61f8513
DM
105812013-07-07 David S. Miller <davem@davemloft.net>
10582
10583 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10584
72c90ed0
JA
105852013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10586
10587 * sysdeps/i386/fpu/libm-test-ulps: Update.
10588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10589
52dfbe13
SP
105902013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10591
10592 * configure.in (--enable-lock-elision): Fix message text.
10593 * INSTALL: Regenerate.
10594 * configure: Regenerate.
10595
3f169543
AZ
105962013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10597
10598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10599
521c6785
AJ
106002013-07-03 Andreas Jaeger <aj@suse.de>
10601
10602 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10603 define.
10604 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10605 (ptrace_peeksiginfo_args): Add.
10606 (__ptrace_peeksiginfo_flags): Add.
10607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10608 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10609 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10610
d2cc15cb
AM
106112013-07-03 Allan McRae <allan@archlinux.org>
10612
10613 * sysdeps/i386/fpu/libm-test-ulps: Update.
10614
3aaeeca7
DM
106152013-07-02 David S. Miller <davem@davemloft.net>
10616
10617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10618
5314ed1a
MT
106192013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10620
10621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10622
67338156
JM
106232013-07-02 Joseph Myers <joseph@codesourcery.com>
10624
10625 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10627
1717da59
AK
106282013-07-02 Andi Kleen <ak@linux.intel.com>
10629
10630 * config.h.in (ENABLE_LOCK_ELISION): Add.
10631 * configure.in (--enable-lock-elision): Add option.
10632 * manual/install.texi: Document --enable lock elision.
10633 * configure: Regenerate
10634 * INSTALL: Regenerate.
10635
1c81621c
L
106362013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10637
10638 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10639 SSE4.2 strcasecmp for libc.a.
10640 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10641
77f01ab5
JM
106422013-07-02 Joseph Myers <joseph@codesourcery.com>
10643
10644 [BZ #13304]
10645 * soft-fp/op-common.h (_FP_FMA): New macro.
10646 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10647 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10648 (_FP_MUL_MEAT_1_imm): ... here.
10649 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10650 (_FP_MUL_MEAT_1_wide): ... here.
10651 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10652 (_FP_MUL_MEAT_1_hard): ... here.
10653 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10654 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10655 (_FP_MUL_MEAT_2_wide): ... here.
10656 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10657 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10658 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10659 (_FP_MUL_MEAT_2_gmp): ... here.
10660 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10661 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10662 (_FP_MUL_MEAT_4_wide): ... here.
10663 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10664 (_FP_MUL_MEAT_4_gmp): ... here.
10665 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10666 (_FP_WFRACBITS_DW_S): Likewise.
10667 (_FP_WFRACXBITS_DW_S): Likewise.
10668 (_FP_HIGHBIT_DW_S): Likewise.
10669 (FP_FMA_S): Likewise.
10670 (_FP_FRAC_HIGH_DW_S): Likewise.
10671 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10672 (_FP_WFRACBITS_DW_D): Likewise.
10673 (_FP_WFRACXBITS_DW_D): Likewise.
10674 (_FP_HIGHBIT_DW_D): Likewise.
10675 (FP_FMA_D): Likewise.
10676 (_FP_FRAC_HIGH_DW_D): Likewise.
10677 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10678 (_FP_WFRACBITS_DW_E): Likewise.
10679 (_FP_WFRACXBITS_DW_E): Likewise.
10680 (_FP_HIGHBIT_DW_E): Likewise.
10681 (FP_FMA_E): Likewise.
10682 (_FP_FRAC_HIGH_DW_E): Likewise.
10683 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10684 (_FP_WFRACBITS_DW_Q): Likewise.
10685 (_FP_WFRACXBITS_DW_Q): Likewise.
10686 (_FP_HIGHBIT_DW_Q): Likewise.
10687 (FP_FMA_Q): Likewise.
10688 (_FP_FRAC_HIGH_DW_Q): Likewise.
10689 * soft-fp/fmasf4.c: New file.
10690 * soft-fp/fmadf4.c: Likewise.
10691 * soft-fp/fmatf4.c: Likewise.
10692
6308fd9a
LD
106932013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10694
10695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10696 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10697 Silvermont.
10698 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10699 macro.
10700 (index_Slow_SSE4_2): Likewise.
10701 (index_Prefer_PMINUB_for_stringop): Likewise.
10702 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10703 bit_Slow_SSE4_2 is set.
10704 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10705 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10706
89cd9569
RA
107072013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10708
10709 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10710 rtld_global._dl_hwcap2.
10711 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10712 POWER8.
10713 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10714 POWER8 feature descriptions defined in _dl_hwcap2.
10715 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10716 string handling for POWER8 feature bits.
10717 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10718 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10719 _dl_powerpc_cap_flags.
10720 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10721 * sysdeps/powerpc/rtld-global-offsets.sym
10722 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10723 _dl_hwcap2 in the rtld_global_ro structure.
10724
1ae8bfe0
RA
107252013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10726
10727 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10728 hardware capabilities in support of AT_HWCAP2.
10729 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10730 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10731 GLRO(dl_hwcap2).
10732 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10733 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10734 explicitly the unknown a_type display mechanism is used.
10735 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10736 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10737 struct member.
10738 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10739 to macro prototype for AT_HWCAP2 support.
10740 * sysdeps/i386/dl-procinfo.h: Likewise.
10741 * sysdeps/s390/dl-procinfo.h: Likewise.
10742 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10743 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10744 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10745 return -1 for unknown a_type display fallback.
10746 * sysdeps/sparc/dl-procinfo.h: Likewise.
10747 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10748 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10749
8fbec010
JM
107502013-06-28 Joseph Myers <joseph@codesourcery.com>
10751
10752 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10753 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10754
0432680e
PY
107552013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10756
10757 [BZ #12492]
10758 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10759 mprotect making __stack_prot writable.
10760
ce61a2ad
NF
107612013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10762 Joseph Myers <joseph@codesourcery.com>
10763
10764 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10765 as being properly aligned.
10766
f91f1c0f
MR
107672013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10768
3d0f5d0c
MR
10769 * dlfcn/modstatic5.c: New file.
10770 * dlfcn/tststatic5.c: New file.
10771 * dlfcn/Makefile (tests): Add tststatic5.
10772 (tests-static): Likewise.
10773 (modules-names): Add modstatic5.
10774 (tststatic5-ENV): New variable.
10775 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10776
f91f1c0f
MR
10777 [BZ #15022]
10778 * elf/dl-support.c (_dl_main_map): New variable.
10779 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10780 (_dl_nns, _dl_load_adds): Set to 1.
10781 (_dl_initial_searchlist): Refer to _dl_main_map.
10782 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10783 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10784 call to _dl_get_origin.
10785 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10786 around call_map.
10787 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10788 * dlfcn/modstatic3.c: New file.
10789 * dlfcn/tststatic3.c: New file.
10790 * dlfcn/tststatic4.c: New file.
10791 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10792 (tests-static): Likewise.
10793 (modules-names): Add modstatic3.
10794 (tststatic3-ENV, tststatic4-ENV): New variables.
10795 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10796 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10797
cbe7d24b
JM
107982013-06-26 Joseph Myers <joseph@codesourcery.com>
10799
10800 * configure.in (CC): Require GCC version 4.4 or later.
10801 * configure: Regenerated.
10802 * manual/install.texi (Tools for Compilation): Update GCC version
10803 requirement.
10804 * INSTALL: Regenerated.
10805
11b8a0e1
LD
108062013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10807
10808 [BZ #15674]
bb5bb87c
L
10809 * string/test-memcmp.c (check2): New.
10810 (main): Call check2.
10811
11b8a0e1
LD
10812 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10813
b0037103
MR
108142013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10815
10816 [BZ #15022]
10817 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10818 over to...
10819 (dl_open_worker) [!SHARED]: ... here.
10820
c18c701d
RA
108212013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10822
10823 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10824
1d17fa5f
RH
108252013-06-25 Richard Henderson <rth@redhat.com>
10826
10827 * locale/programs/locarchive.c: Include <libc-internal.h>
10828
8fcb833a
JM
108292013-06-25 Joseph Myers <joseph@codesourcery.com>
10830
10831 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10832 trailing whitespace removed.
10833
17db6e8d
MF
108342013-06-24 Mike Frysinger <vapier@gentoo.org>
10835
10836 [BZ #10283]
17db6e8d
MF
10837 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10838 * locale/programs/locarchive.c: Include libc-mmap.h.
10839 (prepare_address_space): Take two new outputs (the mmap base and len).
10840 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10841 values.
10842 (create_archive): Declare new mmap base and len values for
10843 prepare_address_space, and store the result in ah.
10844 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10845 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10846 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10847 Declare new mmap base and len values for
10848 prepare_address_space, and store the result in new_ah.
10849 (open_archive): Declare new mmap base and len values for
10850 prepare_address_space, and store the result in ah.
10851 (close_archive): If ah->mmap_base is not NULL, use that and
10852 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10853 * sysdeps/generic/libc-mmap.h: New file.
10854
d605071e
MF
108552013-06-24 Mike Frysinger <vapier@gentoo.org>
10856
10857 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10858 (ALIGN_UP): Likewise.
10859 (PTR_ALIGN_DOWN): Likewise.
10860 (PTR_ALIGN_UP): Likewise.
10861
2f063a6e
RA
108622013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10863
10864 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10865 entry mapped to PPC_PLATFORM_POWER8.
10866 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10867 POWER8.
10868 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10869 (_dl_string_platform): Add case for exporting platform position for
10870 POWER8.
10871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10872 search path to sysdeps/powerpc/powerpc32/power8 directory.
10873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10874 search path to sysdeps/powerpc/powerpc64/power8 directory.
10875 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10876 power7 directories.
10877 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10878 power7 directories.
10879
a31ee4b3
SP
108802013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10881
a74ca98f
SP
10882 * INSTALL: Regenerate.
10883
a31ee4b3
SP
10884 * nscd/connections.c (nscd_init): Fix comment.
10885
695c378f
JM
108862013-06-22 Joseph Myers <joseph@codesourcery.com>
10887
d8412221
JM
10888 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10889
695c378f
JM
10890 [BZ #15667]
10891 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10892 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10893
d1d54715
MR
108942013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10895
10896 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10897 DL_DST_REQ_STATIC.
10898 (DL_DST_REQ_STATIC): Remove macro.
10899
8fdda7af
JM
109002013-06-21 Joseph Myers <joseph@codesourcery.com>
10901
10902 [BZ #7006]
10903 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10904 with a shift of 0 bits.
10905
f3bc5e5a
MR
109062013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10907
10908 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10909 $(tststatic-ENV).
10910
be09e8c9
KK
109112013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10912
10913 [BZ #15655]
10914 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10915
85c2e611
AZ
109162013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10917
10918 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10919 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10920 accepts -fno-tree-loop-distribute-patterns.
10921 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10922 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10923 recursive call.
10924 * string/memset.c (memset): Likewise.
10925 * string/test-memmove.c (simple_memmove): Disable loop transformation
10926 to library calls.
10927 * string/test-memset.c (simple_memset): Likewise.
10928 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10929 * benchtests/bench-memset.c (simple_memset): Likewise.
10930 * configure: Regenerated.
10931
c91e0825
JM
109322013-06-20 Joseph Myers <joseph@codesourcery.com>
10933
b8c792af
JM
10934 * math/test-misc.c (main): Ignore fesetround failure when failures
10935 of subsequent rounding tests would be ignored.
10936
c91e0825
JM
10937 [BZ #15654]
10938 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10939 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10940 * math/fegetenv.c (__fegetenv): Return 0.
10941 * math/fegetexcept.c (fegetexcept): Return 0.
10942 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10943 FE_TONEAREST.
10944 * math/feholdexcpt.c (feholdexcept): Return 0.
10945 * math/fesetenv.c (__fesetenv): Return 0.
10946 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10947 argument FE_TONEAREST.
10948 * math/feupdateenv.c (__feupdateenv): Return 0.
10949 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10950
bfcacbde
RM
109512013-06-18 Roland McGrath <roland@hack.frob.com>
10952
10953 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10954 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10955 ($(objpfx)rtld-%.os rules): Use them.
10956
e55a9b25
AZ
109572013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10958
10959 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10960 fields.
10961
346d65b3
RM
109622013-06-17 Roland McGrath <roland@hack.frob.com>
10963
12086fb4
RM
10964 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10965 length of target pattern, then descending length of dependency pattern.
10966 * configure.in (AWK): Require gawk 3.1.2 or newer.
10967 * manual/install.texi (Tools for Compilation): Say that we do.
10968 * configure: Regenerated.
10969
346d65b3
RM
10970 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10971 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10972 * scripts/sysd-rules.awk: ... this new script.
10973 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10974 than a glob-style pattern.
10975
1a846317
JM
109762013-06-17 Joseph Myers <joseph@codesourcery.com>
10977
10978 * math/test-misc.c (main): Do not treat incorrectly rounded
10979 conversions as failure unless ROUNDING_TESTS passes.
10980
8fc75e6f
JM
109812013-06-15 Joseph Myers <joseph@codesourcery.com>
10982
3711a167
JM
10983 [BZ #15631]
10984 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10985 restore exception state around main square root computation, then
10986 check for inexactness explicitly.
10987
8fc75e6f
JM
10988 * math/libm-test.inc (fma_test_data): Add another test.
10989
61dd6208
SP
109902013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10991
adf23d2c
SP
10992 * manual/threads.texi (Non-POSIX Extensions): New document
10993 node. Document pthread_getattr_default_np and
10994 pthread_setattr_default_np.
10995
61dd6208
SP
10996 * Versions.def (libpthread): Add GLIBC_2.18.
10997 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10999 Likewise.
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11001 Likewise.
11002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11003 Likewise.
11004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11005 Likewise.
11006 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11007 Likewise.
11008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11009 Likewise.
11010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11011 Likewise.
11012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11013 Likewise.
11014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11015 Likewise.
11016
d086fc7b
LD
110172013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11018
11019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11020 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11021
747ef469
SP
110222013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11023 H.J. Lu <hjl.tools@gmail.com>
11024
11025 [BZ #15627]
11026 * sysdeps/x86_64/rtld-memset.c: Remove file.
11027 * sysdeps/x86_64/rtld-memset.S: New file.
11028
1b2feed2
JM
110292013-06-14 Joseph Myers <joseph@codesourcery.com>
11030
11031 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11032 (test_in_one_mode): Take arguments for whether the rounding mode
11033 is supported for each floating-point type.
11034 (do_test): Pass new arguments to test_in_one_mode using
11035 ROUNDING_TESTS.
11036
a58ad3f8
RM
110372013-06-13 Roland McGrath <roland@hack.frob.com>
11038
11039 * posix/tst-waitid.c (do_test): Distinguish different instances of
11040 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11041 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11042 before entering the kernel for waitpid.
11043
c204ab28
SP
110442013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11045
11046 * NEWS: Fix note on clock function precision. Text by Roland
11047 McGrath.
11048
f4a29fba
RM
110492013-06-13 Roland McGrath <roland@hack.frob.com>
11050
11051 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11052 it into place only when and if the sanity check passes.
11053
1f24b9ad
JM
110542013-06-13 Joseph Myers <joseph@codesourcery.com>
11055
11056 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11057 output for whether conversion result is exact. Take argument
11058 indicating whether type is IBM long double.
11059 (round_for_all): Change need_exact field to ibm_ld.
11060 * stdlib/tst-strtod-round.c (struct exactness): New type.
11061 (struct test): Change bool ld_ok field to struct exactness exact.
11062 (TEST): Update all definitions for change to field.
11063 (tests): Regenerate array contents.
11064 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11065 field value. Check for IBM long double here.
11066 (do_test): Update calls to test_in_one_mode.
11067
58206c68
SP
110682013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11069
11070 [BZ #12515]
11071 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11072 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11073
2d6f4c5b 110742013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11075
11076 [BZ #15605]
11077 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11078 generated by the compiler on loop optimizations.
11079 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11080 general definitions.
11081
94f2c076
JM
110822013-06-12 Joseph Myers <joseph@codesourcery.com>
11083
11084 * math/bug-nextafter.c: Include <math-tests.h>.
11085 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11086 the relevant type.
11087 * math/bug-nexttoward.c: Include <math-tests.h>.
11088 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11089 the relevant type.
11090 * math/test-misc.c: Include <math-tests.h>.
11091 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11092 the relevant type.
11093
e0e50a0a
AJ
110942013-06-12 Andreas Jaeger <aj@suse.de>
11095
11096 * po/ia.po: Update Interlingua translation from translation
11097 project.
11098
25061094
SP
110992013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11100
11101 * include/fenv.h: Include stdbool.h.
11102 (struct rm_ctx): New structure.
11103 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11104 Define macro.
11105 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11106 (SET_RESTORE_ROUNDF): Likewise.
11107 (SET_RESTORE_ROUNDL): Likewise.
11108 (SET_RESTORE_ROUND_NOEX): Likewise.
11109 (SET_RESTORE_ROUND_NOEXF): Likewise.
11110 (SET_RESTORE_ROUND_NOEXL): Likewise.
11111 (SET_RESTORE_ROUND_53BIT): Likewise.
11112 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11113 (libc_feresetround_noexf_ctx): Likewise.
11114 (libc_feresetround_noexl_ctx): Likewise.
11115 (libc_feholdsetround_53bit_ctx): Likewise.
11116 (libc_feresetround_53bit_ctx): Likewise.
11117 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11118 (libc_feholdexcept_setround_sse_ctx): New function.
11119 (libc_fesetenv_sse_ctx): Likewise.
11120 (libc_feupdateenv_sse_ctx): Likewise.
11121 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11122 (libc_feholdexcept_setround_387_ctx): Likewise.
11123 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11124 (libc_feholdsetround_387_prec_ctx): Likewise.
11125 (libc_feholdsetround_387_ctx): Likewise.
11126 (libc_feholdsetround_387_53bit_ctx): Likewise.
11127 (libc_feholdsetround_sse_ctx): Likewise.
11128 (libc_feresetround_sse_ctx): Likewise.
11129 (libc_feresetround_387_ctx): Likewise.
11130 (libc_feupdateenv_387_ctx): Likewise.
11131 (libc_feholdexcept_setroundf_ctx): Define macro.
11132 (libc_fesetenvf_ctx): Likewise.
11133 (libc_feupdateenvf_ctx): Likewise.
11134 (libc_feholdsetroundf_ctx): Likewise.
11135 (libc_feresetroundf_ctx): Likewise.
11136 (libc_feholdexcept_setround_ctx): Likewise.
11137 (libc_fesetenv_ctx): Likewise.
11138 (libc_feupdateenv_ctx): Likewise.
11139 (libc_feholdsetround_ctx): Likewise.
11140 (libc_feresetround_ctx): Likewise.
11141 (libc_feholdexcept_setroundl_ctx): Likewise.
11142 (libc_feupdateenvl_ctx): Likewise.
11143 (libc_feholdsetroundl_ctx): Likewise.
11144 (libc_feresetroundl_ctx): Likewise.
11145 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11146 (libc_feresetround_53bit_ctx): Likewise.
11147
59b30555
SP
111482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11149
11150 * locale/iso-639.def: Convert to UTF-8.
11151
f1d73d30
JM
111522013-06-11 Joseph Myers <joseph@codesourcery.com>
11153
11154 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11155 (EXCEPTION_TESTS_double): Likewise.
11156 (EXCEPTION_TESTS_long_double): Likewise.
11157 (EXCEPTION_TESTS): Likewise.
11158 * math/libm-test.inc (test_exceptions): Only test exceptions if
11159 EXCEPTION_TESTS (FLOAT).
11160
94aca5e7
SP
111612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11162
11163 * benchtests/Makefile (string-bench): Add strcpy_chk and
11164 stpcpy_chk.
11165 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11166 * benchtests/bench-stpcpy_chk.c: New file.
11167 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11168 * benchtests/bench-strcpy_chk.c: New file.
11169 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11170 code.
11171 (do_test): Likewise.
11172
fac0c5f2
RA
111732013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11174
11175 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11176 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11177 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11178 with tabs where appropriate.
11179 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11180 dl-procinfo.h.
11181 [PPC_PLATFORM_PPC440]: Likewise.
11182 [PPC_PLATFORM_PPC464]: Likewise.
11183 [PPC_PLATFORM_PPC476]: Likewise.
11184 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11185 ppc464, and ppc476 platform strings merging from ports/
11186 dl-procinfo.h.
11187
f22bc486
AS
111882013-06-11 Andreas Schwab <schwab@suse.de>
11189
11190 [BZ #14991]
11191 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11192 (from_ucs4_idx): Regenerate.
11193 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11194 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11195 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11196 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11197 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11198 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11199 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11200 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11201 from FROM_LOOP and TO_LOOP specific macros.
11202 (BODY): Handle combining characters.
11203 * iconvdata/BIG5HKSCS.irreversible: Update.
11204 * iconvdata/BIG5HKSCS.precomposed: New file.
11205 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11206 characters.
11207 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11208
c1f75dc3
SP
112092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11210
4eacded2
SP
11211 * include/sys/time.h: Fix indentation and add copyright header.
11212
fec799f8
SP
11213 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11214 (do_test): Likewise.
11215 * string/test-memchr.c (do_one_test): Likewise.
11216 (do_test): Likewise.
11217 * string/test-memcmp.c (do_one_test): Likewise.
11218 (do_test): Likewise.
11219 * string/test-memcpy.c (do_one_test): Likewise.
11220 (do_test): Likewise.
11221 * string/test-memmem.c (do_one_test): Likewise.
11222 (do_test): Likewise.
11223 (do_random_tests): Likewise.
11224 * string/test-memmove.c (do_one_test): Likewise.
11225 (do_test): Likewise.
11226 * string/test-memset.c (do_one_test): Likewise.
11227 (do_test): Likewise.
11228 * string/test-rawmemchr.c (do_one_test): Likewise.
11229 (do_test): Likewise.
11230 * string/test-strcasecmp.c (do_one_test): Likewise.
11231 (do_test): Likewise.
11232 * string/test-strcasestr.c (do_one_test): Likewise.
11233 (do_test): Likewise.
11234 * string/test-strcat.c (do_one_test): Likewise.
11235 (do_test): Likewise.
11236 * string/test-strchr.c (do_one_test): Likewise.
11237 (do_test): Likewise.
11238 * string/test-strcmp.c (do_one_test): Likewise.
11239 (do_test): Likewise.
11240 * string/test-strcpy.c (do_one_test): Likewise.
11241 (do_test): Likewise.
11242 * string/test-string.h: Likewise.
11243 (test_init): Likewise.
11244 * string/test-strlen.c (do_one_test): Likewise.
11245 (do_test): Likewise.
11246 * string/test-strncasecmp.c (do_one_test): Likewise.
11247 (do_test): Likewise.
11248 * string/test-strncat.c (do_one_test): Likewise.
11249 (do_test): Likewise.
11250 * string/test-strncmp.c (do_one_test): Likewise.
11251 (do_test_limit): Likewise.
11252 (do_test): Likewise.
11253 * string/test-strncpy.c (do_one_test): Likewise.
11254 (do_test): Likewise.
11255 * string/test-strnlen.c (do_one_test): Likewise.
11256 (do_test): Likewise.
11257 * string/test-strpbrk.c (do_one_test): Likewise.
11258 (do_test): Likewise.
11259 * string/test-strrchr.c (do_one_test): Likewise.
11260 (do_test): Likewise.
11261 * string/test-strspn.c (do_one_test): Likewise.
11262 (do_test): Likewise.
11263 * string/test-strstr.c (do_one_test): Likewise.
11264 (do_test): Likewise.
11265
97020474
SP
11266 * benchtests/Makefile (string-bench): Add string benchmarks.
11267 * benchtests/bench-bcopy-ifunc.c: New file.
11268 * benchtests/bench-bcopy.c: New file.
11269 * benchtests/bench-bzero-ifunc.c: New file.
11270 * benchtests/bench-bzero.c: New file.
11271 * benchtests/bench-memccpy-ifunc.c: New file.
11272 * benchtests/bench-memccpy.c: New file.
11273 * benchtests/bench-memchr-ifunc.c: New file.
11274 * benchtests/bench-memchr.c: New file.
11275 * benchtests/bench-memcmp-ifunc.c: New file.
11276 * benchtests/bench-memcmp.c: New file.
11277 * benchtests/bench-memmem-ifunc.c: New file.
11278 * benchtests/bench-memmem.c: New file.
11279 * benchtests/bench-memmove-ifunc.c: New file.
11280 * benchtests/bench-memmove.c: New file.
11281 * benchtests/bench-mempcpy-ifunc.c: New file.
11282 * benchtests/bench-mempcpy.c: New file.
11283 * benchtests/bench-memset-ifunc.c: New file.
11284 * benchtests/bench-memset.c: New file.
11285 * benchtests/bench-rawmemchr-ifunc.c: New file.
11286 * benchtests/bench-rawmemchr.c: New file.
11287 * benchtests/bench-stpcpy-ifunc.c: New file.
11288 * benchtests/bench-stpcpy.c: New file.
11289 * benchtests/bench-stpncpy-ifunc.c: New file.
11290 * benchtests/bench-stpncpy.c: New file.
11291 * benchtests/bench-strcasecmp-ifunc.c: New file.
11292 * benchtests/bench-strcasecmp.c: New file.
11293 * benchtests/bench-strcasestr-ifunc.c: New file.
11294 * benchtests/bench-strcasestr.c: New file.
11295 * benchtests/bench-strcat-ifunc.c: New file.
11296 * benchtests/bench-strcat.c: New file.
11297 * benchtests/bench-strchr-ifunc.c: New file.
11298 * benchtests/bench-strchr.c: New file.
11299 * benchtests/bench-strchrnul-ifunc.c: New file.
11300 * benchtests/bench-strchrnul.c: New file.
11301 * benchtests/bench-strcmp-ifunc.c: New file.
11302 * benchtests/bench-strcmp.c: New file.
11303 * benchtests/bench-strcpy-ifunc.c: New file.
11304 * benchtests/bench-strcpy.c: New file.
11305 * benchtests/bench-strcspn-ifunc.c: New file.
11306 * benchtests/bench-strcspn.c: New file.
11307 * benchtests/bench-strlen-ifunc.c: New file.
11308 * benchtests/bench-strlen.c: New file.
11309 * benchtests/bench-strncasecmp-ifunc.c: New file.
11310 * benchtests/bench-strncasecmp.c: New file.
11311 * benchtests/bench-strncat-ifunc.c: New file.
11312 * benchtests/bench-strncat.c: New file.
11313 * benchtests/bench-strncmp-ifunc.c: New file.
11314 * benchtests/bench-strncmp.c: New file.
11315 * benchtests/bench-strncpy-ifunc.c: New file.
11316 * benchtests/bench-strncpy.c: New file.
11317 * benchtests/bench-strnlen-ifunc.c: New file.
11318 * benchtests/bench-strnlen.c: New file.
11319 * benchtests/bench-strpbrk-ifunc.c: New file.
11320 * benchtests/bench-strpbrk.c: New file.
11321 * benchtests/bench-strrchr-ifunc.c: New file.
11322 * benchtests/bench-strrchr.c: New file.
11323 * benchtests/bench-strspn-ifunc.c: New file.
11324 * benchtests/bench-strspn.c: New file.
11325 * benchtests/bench-strstr-ifunc.c: New file.
11326 * benchtests/bench-strstr.c: New file.
11327
c1f75dc3
SP
11328 * benchtests/Makefile: Disable parallel execution of targets.
11329 (string-bench): Add memcpy.
11330 (benchset): New variable to store a list of benchmark sets.
11331 (bench-func): Renamed from bench.
11332 (bench-set): New target.
11333 (bench): Depend on bench-func and bench-set.
11334 * benchtests/README: Add section on benchmark sets.
11335 * benchtests/bench-memcpy-ifunc.c: New file.
11336 * benchtests/bench-memcpy.c: New file.
11337 * benchtests/bench-string.h: New file.
11338
50fd745b
AS
113392013-06-11 Andreas Schwab <schwab@suse.de>
11340
11341 [BZ #15577]
11342 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11343 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11344 values in the triple.
11345 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11346 terminator in the group key.
11347
3ee7e9fe
AJ
113482013-06-11 Andreas Jaeger <aj@suse.de>
11349
11350 * po/zh_TW.po: Update Chinese (traditional) translation from
11351 translation project.
11352
89fb6835
SP
113532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11354
11355 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11356 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11357 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11358 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11359 (clock_getcpuclockid): Likewise.
11360 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11361 Add weak_alias and libc_hidden_def.
11362 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11363 * rt/clock_gettime.c (clock_gettime): Rename to
11364 __clock_gettime. Add weak_alias and libc_hidden_def.
11365 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11366 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11367 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11368 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11369 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11370 Likewise.
11371 * rt/clock_settime.c (clock_settime): Rename to
11372 __clock_settime. Add weak_alias and libc_hidden_def.
11373 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11374
0efa6f8b
JM
113752013-06-10 Joseph Myers <joseph@codesourcery.com>
11376
b8c61b4b
JM
11377 * mach/err_boot.sub: Remove trailing whitespace.
11378 * mach/err_ipc.sub: Likewise.
11379 * mach/err_mach.sub: Likewise.
11380
0efa6f8b
JM
11381 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11382 (ROUNDING_TESTS_double): Likewise.
11383 (ROUNDING_TESTS_long_double): Likewise.
11384 (ROUNDING_TESTS): Likewise.
11385 * math/libm-test.inc: Include <math-tests.h>.
11386 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11387 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11388 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11389 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11390
50b818bf
SP
113912013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11392
11393 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11394 of assigning.
11395
60d2f8f3
JM
113962013-06-08 Joseph Myers <joseph@codesourcery.com>
11397
4902d2c3
JM
11398 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11399 otherwise empty TRANS lines.
11400 * sysdeps/gnu/errlist.c: Regenerated.
11401
60d2f8f3
JM
11402 * catgets/gencat.c (error_print): Use (void) in function
11403 definition.
11404 * crypt/crypt_util.c (__init_des): Likewise.
11405 * crypt/speeds.c (Stop): Likewise.
11406 (main): Likewise.
11407 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11408 * inet/ruserpass.c (token): Likewise.
11409 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11410 * intl/localealias.c (extend_alias_table): Likewise.
11411 * intl/plural-exp.c (init_germanic_plural): Likewise.
11412 * libio/fcloseall.c (__fcloseall): Likewise.
11413 * libio/genops.c (_IO_flush_all): Likewise.
11414 (_IO_flush_all_linebuffered): Likewise.
11415 (_IO_cleanup): Likewise.
11416 (_IO_iter_begin): Likewise.
11417 (_IO_iter_end): Likewise.
11418 (_IO_list_lock): Likewise.
11419 (_IO_list_unlock): Likewise.
11420 (_IO_list_resetlock): Likewise.
11421 * libio/getchar.c (getchar): Likewise.
11422 * libio/getchar_u.c (getchar_unlocked): Likewise.
11423 * libio/getwchar.c (getwchar): Likewise.
11424 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11425 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11426 * login/getpt.c (__getpt): Likewise.
11427 * login/tst-utmp.c (main): Likewise.
11428 * malloc/hooks.c (__malloc_check_init): Likewise.
11429 * malloc/malloc.c (__malloc_stats): Likewise.
11430 * malloc/mtrace.c (tr_break): Likewise.
11431 (mtrace): Likewise.
11432 (muntrace): Likewise.
11433 * misc/fstab.c (endfsent): Likewise.
11434 * misc/getclktck.c (__getclktck): Likewise.
11435 * misc/getdtsz.c (__getdtablesize): Likewise.
11436 * misc/gethostid.c (gethostid): Likewise.
11437 * misc/getpagesize.c (__getpagesize): Likewise.
11438 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11439 (__get_nprocs): Likewise.
11440 (__get_phys_pages): Likewise.
11441 (__get_avphys_pages): Likewise.
11442 * misc/getttyent.c (getttyent): Likewise.
11443 (setttyent): Likewise.
11444 (endttyent): Likewise.
11445 * misc/getusershell.c (getusershell): Likewise.
11446 (endusershell): Likewise.
11447 (setusershell): Likewise.
11448 (initshells): Likewise.
11449 * misc/hsearch.c (__hdestroy): Likewise.
11450 * misc/sync.c (sync): Likewise.
11451 * misc/syslog.c (closelog_internal): Likewise.
11452 (closelog): Likewise.
11453 * misc/ttyslot.c (ttyslot): Likewise.
11454 * misc/vhangup.c (vhangup): Likewise.
11455 * posix/fork.c (__fork): Likewise.
11456 * posix/getegid.c (__getegid): Likewise.
11457 * posix/geteuid.c (__geteuid): Likewise.
11458 * posix/getgid.c (__getgid): Likewise.
11459 * posix/getpid.c (__getpid): Likewise.
11460 * posix/getppid.c (__getppid): Likewise.
11461 * posix/getuid.c (__getuid): Likewise.
11462 * posix/pause.c (pause): Likewise.
11463 * posix/setpgrp.c (setpgrp): Likewise.
11464 * posix/setsid.c (__setsid): Likewise.
11465 * posix/test-vfork.c (noop): Likewise.
11466 * resolv/gethnamaddr.c (_endhtent): Likewise.
11467 (_gethtent): Likewise.
11468 (ht_endhostent): Likewise.
11469 (gethostent): Likewise.
11470 (dns_service): Likewise.
11471 * stdlib/drand48.c (drand48): Likewise.
11472 * stdlib/lrand48.c (lrand48): Likewise.
11473 * stdlib/mrand48.c (mrand48): Likewise.
11474 * stdlib/rand.c (rand): Likewise.
11475 * stdlib/random.c (__random): Likewise.
11476 * stdlib/setenv.c (clearenv): Likewise.
11477 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11478 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11479 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11480 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11481 (__get_nprocs): Likewise.
11482 (__get_phys_pages): Likewise.
11483 (__get_avphys_pages): Likewise.
11484 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11485 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11486 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11487 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11488 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11489 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11490 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11491 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11492 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11493 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11494 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11495 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11496 * sysdeps/posix/clock.c (clock): Likewise.
11497 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11498 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11499 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11500 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11501 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11502 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11503 (__get_nprocs_conf): Likewise.
11504 (__get_phys_pages): Likewise.
11505 (__get_avphys_pages): Likewise.
11506 * time/clock.c (clock): Likewise.
11507 * time/tzset.c (__tzname_max): Likewise.
11508
2e09a79a
JM
115092013-06-07 Joseph Myers <joseph@codesourcery.com>
11510
11511 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11512 (__bswap_32): Do not use "register".
11513 * crypt/crypt.c (_ufc_doit_r): Likewise.
11514 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11515 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11516 * gmon/gmon.c (__monstartup): Likewise.
11517 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11518 * hurd/hurdmalloc.c (more_memory): Likewise.
11519 (malloc): Likewise.
11520 (free): Likewise.
11521 (realloc): Likewise.
11522 (malloc_fork_prepare): Likewise.
11523 (malloc_fork_parent): Likewise.
11524 (malloc_fork_child): Likewise.
11525 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11526 (_svcauth_des): Likewise.
11527 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11528 * inet/inet_net.c (inet_network): Likewise.
11529 * inet/inet_netof.c (inet_netof): Likewise.
11530 * inet/rcmd.c (__validuser2_sa): Likewise.
11531 * io/fts.c (fts_open): Likewise.
11532 (fts_load): Likewise.
11533 (fts_close): Likewise.
11534 (fts_read): Likewise.
11535 (fts_children): Likewise.
11536 (fts_build): Likewise.
11537 (fts_stat): Likewise.
11538 (fts_sort): Likewise.
11539 (fts_alloc): Likewise.
11540 (fts_lfree): Likewise.
11541 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11542 (_IO_file_xsgetn): Likewise.
11543 (_IO_file_xsgetn_mmap): Likewise.
11544 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11545 (_IO_cookie_write): Likewise.
11546 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11547 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11548 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11549 * malloc/obstack.c (_obstack_begin): Likewise.
11550 (_obstack_begin_1): Likewise.
11551 (_obstack_newchunk): Likewise.
11552 (_obstack_allocated_p): Likewise.
11553 (obstack_free): Likewise.
11554 (_obstack_memory_used): Likewise.
11555 * misc/getttyent.c (getttynam): Likewise.
11556 (getttyent): Likewise.
11557 (skip): Likewise.
11558 (value): Likewise.
11559 * misc/getusershell.c (initshells): Likewise.
11560 * misc/syslog.c (__vsyslog_chk): Likewise.
11561 * misc/ttyslot.c (ttyslot): Likewise.
11562 * nis/nis_hash.c (__nis_hash): Likewise.
11563 * posix/fnmatch_loop.c (FCT): Likewise.
11564 * posix/getconf.c (print_all): Likewise.
11565 (main): Likewise.
11566 * posix/getopt.c (exchange): Likewise.
11567 * posix/glob.c (globfree): Likewise.
11568 (prefix_array): Likewise.
11569 (__glob_pattern_type): Likewise.
11570 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11571 (NS_GET32): Likewise.
11572 (NS_PUT16): Likewise.
11573 (NS_PUT32): Likewise.
11574 * resolv/gethnamaddr.c (getanswer): Likewise.
11575 (gethostbyname2): Likewise.
11576 (gethostbyaddr): Likewise.
11577 (_gethtent): Likewise.
11578 (_gethtbyname2): Likewise.
11579 (_gethtbyaddr): Likewise.
11580 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11581 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11582 * resolv/res_init.c (__res_vinit): Likewise.
11583 (net_mask): Likewise.
11584 * resolv/res_mkquery.c (outchar): Likewise.
11585 (PRINT): Likewise.
11586 * stdio-common/printf_fp.c (outchar): Likewise.
11587 (PRINT): Likewise.
11588 * stdio-common/printf_fphex.c (outchar): Likewise.
11589 (PRINT): Likewise.
11590 * stdio-common/printf_size.c (outchar): Likewise.
11591 (PRINT): Likewise.
11592 * stdio-common/test_rdwr.c (main): Likewise.
11593 * stdio-common/tfformat.c (matches): Likewise.
11594 * stdio-common/vfprintf.c (outchar): Likewise.
11595 (printf_unknown): Likewise.
11596 (buffered_vfprintf): Likewise.
11597 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11598 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11599 (ReadFile): Likewise.
11600 * stdlib/qsort.c (SWAP): Likewise.
11601 (_quicksort): Likewise.
11602 * stdlib/setenv.c (__add_to_environ): Likewise.
11603 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11604 * stdlib/strtol_l.c (__strtol_l): Likewise.
11605 * stdlib/tst-strtod.c (main): Likewise.
11606 * stdlib/tst-strtol.c (main): Likewise.
11607 * stdlib/tst-strtoll.c (main): Likewise.
11608 * string/bits/string2.h (__strcmp_cc): Likewise.
11609 (__strcmp_cg): Likewise.
11610 (__strcspn_c1): Likewise.
11611 (__strcspn_c2): Likewise.
11612 (__strcspn_c3): Likewise.
11613 (__strspn_c1): Likewise.
11614 (__strspn_c2): Likewise.
11615 (__strspn_c3): Likewise.
11616 (__strsep_1c): Likewise.
11617 (__strsep_2c): Likewise.
11618 (__strsep_3c): Likewise.
11619 * string/memccpy.c (__memccpy): Likewise.
11620 * string/stpcpy.c (__stpcpy): Likewise.
11621 * string/strcmp.c (strcmp): Likewise.
11622 * string/strrchr.c (strrchr): Likewise.
11623 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11624 Likewise.
11625 * sysdeps/mach/hurd/getcwd.c
11626 (_hurd_canonicalize_directory_name_internal): Likewise.
11627 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11628 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11629 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11630 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11631 Likewise, in both definitions.
11632 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11633 definitions.
11634 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11635 64] (__bswap_64): Likewise.
11636 * time/test_time.c (main): Likewise.
11637 * time/tzfile.c (__tzfile_read): Likewise.
11638 (__tzfile_compute): Likewise.
11639 * time/tzset.c (__tzset_parse_tz): Likewise.
11640 (tzset_internal): Likewise.
11641 (compute_change): Likewise.
11642 * wcsmbs/wcscat.c (__wcscat): Likewise.
11643 * wcsmbs/wcschr.c (wcschr): Likewise.
11644 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11645 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11646 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11647 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11648 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11649 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11650 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11651 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11652 * wcsmbs/wmemset.c (wmemset): Likewise.
11653
9e54314b
JM
116542013-06-06 Joseph Myers <joseph@codesourcery.com>
11655
11656 * scripts/config.guess: Update to version 2013-05-16.
11657 * scripts/config.sub: Update to version 2013-04-24.
11658 * scripts/install-sh: Update to version 2011-11-20.07.
11659 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11660 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11661
350635a5
OB
116622013-06-06 Ondřej Bílka <neleai@seznam.cz>
11663
11664 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11665 * elf/sln.c: Likewise.
11666 * hurd/hurd/ioctl.h: Likewise.
11667 * hurd/hurdmalloc.c: Likewise.
11668 * hurd/xattr.c: Likewise.
11669 * include/shlib-compat.h: Likewise.
11670 * inet/ruserpass.c: Likewise.
11671 * libio/iofgets_u.c: Likewise.
11672 * libio/iofgetws_u.c: Likewise.
11673 * locale/programs/ld-identification.c: Likewise.
11674 * locale/programs/ld-time.c: Likewise.
11675 * mach/msg-destroy.c: Likewise.
11676 * nss/nss_files/files-netgrp.c: Likewise.
11677 * resolv/res_data.c: Likewise.
11678 * soft-fp/op-1.h: Likewise.
11679 * soft-fp/op-2.h: Likewise.
11680 * soft-fp/op-4.h: Likewise.
11681 * soft-fp/op-common.h: Likewise.
11682 * stdio-common/printf_fphex.c: Likewise.
11683 * stdlib/strtod_l.c: Likewise.
11684 * sunrpc/rpc/clnt.h: Likewise.
11685 * sysdeps/generic/framestate.c: Likewise.
11686 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11687 * sysdeps/i386/bsd-setjmp.S: Likewise.
11688 * sysdeps/i386/__longjmp.S: Likewise.
11689 * sysdeps/i386/setjmp.S: Likewise.
11690 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11691 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11692 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11693 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11695 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11696 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11697 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11698 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11699 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11700 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11701 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11702 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11703 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11705 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11706 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11708 * sysdeps/ieee754/support.c: Likewise.
11709 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11710 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11711 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11712 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11713 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11714 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11715 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11716 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11717 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11718 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11719 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11720 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11721 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11722 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11723 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11724 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11725 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11727
44a988af
OB
117282013-06-05 Ondřej Bílka <neleai@seznam.cz>
11729
25506f09 11730 * posix/transbug.c: Remove executable mode.
44a988af 11731
9c84384c
JM
117322013-06-05 Joseph Myers <joseph@codesourcery.com>
11733
11734 * crypt/speeds.c: Remove trailing whitespace.
11735 * dlfcn/default.c: Likewise.
11736 * elf/ifuncdep2.c: Likewise.
11737 * elf/ifuncmain1.c: Likewise.
11738 * elf/ifuncmain1vis.c: Likewise.
11739 * elf/testobj.h: Likewise.
11740 * elf/tst-stackguard1.c: Likewise.
11741 * gmon/sys/gmon.h: Likewise.
11742 * hurd/hurdmsg.c: Likewise.
11743 * hurd/new-fd.c: Likewise.
11744 * hurd/ports-get.c: Likewise.
11745 * iconvdata/ibm1008_420.c: Likewise.
11746 * inet/tst-getni1.c: Likewise.
11747 * inet/tst-getni2.c: Likewise.
11748 * libio/ioungetc.c: Likewise.
11749 * libio/wfiledoalloc.c: Likewise.
11750 * manual/libm-err-tab.pl: Likewise.
11751 * math/w_dremf.c: Likewise.
11752 * misc/ftruncate.c: Likewise.
11753 * posix/bug-glob2.c: Likewise.
11754 * posix/tst-pcre.c: Likewise.
11755 * posix/wait4.c: Likewise.
11756 * resolv/README: Likewise.
11757 * resolv/res_debug.h: Likewise.
11758 * resolv/tst-inet_ntop.c: Likewise.
11759 * setjmp/bug269-setjmp.c: Likewise.
11760 * soft-fp/extended.h: Likewise.
11761 * soft-fp/op-1.h: Likewise.
11762 * soft-fp/op-2.h: Likewise.
11763 * soft-fp/op-4.h: Likewise.
11764 * soft-fp/op-8.h: Likewise.
11765 * soft-fp/testit.c: Likewise.
11766 * stdio-common/bug16.c: Likewise.
11767 * stdlib/random.c: Likewise.
11768 * sunrpc/rpcsvc/rquota.x: Likewise.
11769 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11770 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11771 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11772 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11773 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11774 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11775 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11776 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11777 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11778 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11779 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11780 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11781 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11782 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11784 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11785 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11787 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11788 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11789 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11796 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11798 * sysdeps/ieee754/s_lib_version.c: Likewise.
11799 * sysdeps/mach/hurd/check_fds.c: Likewise.
11800 * sysdeps/mach/hurd/getsockname.c: Likewise.
11801 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11802 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11803 * sysdeps/powerpc/bits/link.h: Likewise.
11804 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11805 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11806 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11807 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11808 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11809 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11810 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11811 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11812 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11813 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11814 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11815 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11816 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11817 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11818 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11819 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11820 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11821 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11822 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11823 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11824 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11825 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11826 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11827 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11828 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11829 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11830 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11831 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11832 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11833 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11834 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11835 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11836 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11837 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11838 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11839 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11840 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11841 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11842 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11843 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11844 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11845 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11846 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11847 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11848 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11849 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11850 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11851 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11852 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11853 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11855 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11856 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11857 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11858 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11859 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11860 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11861 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11862 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11863 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11864 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11865 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11866 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11867 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11868 * sysdeps/powerpc/sysdep.h: Likewise.
11869 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11870 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11871 * sysdeps/sh/dl-trampoline.S: Likewise.
11872 * sysdeps/sh/memset.S: Likewise.
11873 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11874 * sysdeps/sh/strlen.S: Likewise.
11875 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11876 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11877 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11878 * sysdeps/sparc/sparc32/rem.S: Likewise.
11879 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11880 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11881 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11882 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11883 * sysdeps/sparc/sparc32/urem.S: Likewise.
11884 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11885 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11886 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11887 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11888 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11889 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11890 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11891 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11892 * sysdeps/unix/bsd/times.c: Likewise.
11893 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11894 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11898 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11899 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11900 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11901 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11902 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11903 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11904 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11905 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11906 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11907 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11908 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11909 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11910 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11911 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11912 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11913 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11914 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11915 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11916 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11917 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11918 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11919 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11920 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11921 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11922 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11923 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11924 * sysdeps/x86_64/strcspn.S: Likewise.
11925
869378a5
RA
119262013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11927
11928 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11929 generated file. Regenerate properly from gen-translit.pl.
11930 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11931 locale/C-translit.h.
11932
840e2943
AS
119332013-06-05 Andreas Schwab <schwab@suse.de>
11934
11935 [BZ #15100]
11936 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11937 week as 6 instead of -1.
11938 * time/tst-strptime.c (day_tests): Add test case.
11939
4c60cb0c
SP
119402013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11941
11942 * sysdeps/generic/math_private.h
11943 (libc_feholdexcept_setround_53bit): Replace with
11944 libc_feholdsetround_53bit.
11945 (libc_feupdateenv_53bit): Replace with
11946 libc_feresetround_53bit.
11947 (SET_RESTORE_ROUND_53BIT): Adjust.
11948
d180203e
SP
119492013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11950
96df079a
SP
11951 * string/test-strchrnul.c: Add copyright header.
11952
d180203e
SP
11953 * posix/tst-getaddrinfo4.c: Increase test timeout.
11954
8b0ccb2d
CD
119552013-06-03 Carlos O'Donell <carlos@redhat.com>
11956
11957 [BZ #15536]
11958 * math/libm-test.inc (MAX_EXP): Remove
11959 (MIN_EXP): Define.
11960 (ulp): Use MIN_EXP - MANT_DIG.
11961 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11962
3b3c4d40
CD
119632013-05-31 Carlos O'Donell <carlos@redhat.com>
11964
11965 * po/be.po: Revert last change.
11966 * po/zh_CN.po: Likewise.
11967 * po/header.pot: Likewise.
11968
fab7ce3f
JM
119692013-05-31 Joseph Myers <joseph@codesourcery.com>
11970
11971 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11972 link-libc-deps to empty as target-specific variable.
11973 * Makerules (link-libc-args): New variable.
11974 (libc-for-link): Likewise.
11975 (link-libc-deps): Likewise.
11976 (lib%.so): Depend on $(link-libc-deps). Link with
11977 $(link-libc-args).
11978 (build-module): Link with $(link-libc-args).
11979 (build-module-asneeded): Likewise.
11980 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11981 list of objects.
11982 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11983 target-specific variable.
11984 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11985 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11986 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11987 libc.
11988 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11989 libc and ld.so.
11990 ($(objpfx)libpcprofile.so): Likewise.
11991 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11992 libc_nonshared.a.
11993 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11994 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11995 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11996 $(link-libc-deps).
11997 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11998 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11999 * login/Makefile ($(objpfx)libutil.so): Likewise.
12000 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12001 * math/Makefile ($(objpfx)libm.so): Likewise.
12002 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12003 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12004 variable instead of depending directly on libc.
12005 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12006 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12007 $(link-libc-deps).
12008 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12009 libc.
12010 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12011 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12012 ($(objpfx)libanl.so): Likewise.
12013 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12014 ld.so.
12015 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12016 $(link-libc-deps).
12017 * sysdeps/i386/fpu/Makefile: Remove file.
12018 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12019 ($(objpfx)libm.so): Remove dependency on ld.so.
12020
eca5920c
PF
120212013-05-30 Patsy Franklin <pfrankli@redhat.com>
12022
12023 [BZ # 15553]
12024 * nis/yp_xdr.c (XDRMAXNAME): Define.
12025 (XDRMAXRECORD): Define.
12026 (xdr_domainname): Use XDRMAXNAME.
12027 (xdr_mapname): Likewise.
12028 (xdr_peername): Likewise.
12029 (xdr_keydat): Use XDRMAXRECORD.
12030 (xdr_valdat): Likewise.
12031
120322013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12033
12034 [BZ #14256]
12035 * manual/errno.texi (ESTALE): Update to account for more than
12036 just NFS file systems.
12037 * sysdeps/gnu/errlist.c: Regenerated.
12038
b9375348
SP
120392013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12040
12041 [BZ #15465]
12042 * elf/Makefile (tests): Add tst-null-argv.
12043 (modules-names): Add tst-null-argv-lib.
12044 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12045 (tst-null-argv-ENV): Set environment for tst-null-argv.
12046 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12047 (RTLD_PROGNAME): New macro.
12048 * elf/tst-null-argv.c: New test case.
12049 * elf/tst-null-argv-lib.c: Library for test case.
12050 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12051 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12052 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12053 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12054 * elf/dl-init.c (call_init): Likewise.
12055 (_dl_init): Likewise.
12056 * elf/dl-load.c (print_search_path): Likewise.
12057 (_dl_map_object): Likewise.
12058 * elf/dl-lookup.c (do_lookup_x): Likewise.
12059 (add_dependency): Likewise.
12060 (_dl_lookup_symbol_x): Likewise.
12061 (_dl_debug_bindings): Likewise.
12062 * elf/dl-open.c (_dl_show_scope): Likewise.
12063 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12064 * elf/dl-version.c (match_symbol): Likewise.
12065 (_dl_check_map_versions): Likewise.
12066 * elf/rtld.c (dl_main): Likewise.
12067 (print_unresolved): Use RTLD_PROGNAME.
12068 (print_missing_version): Likewise.
12069 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12070 (elf_machine_rela): Likewise.
12071 * sysdeps/powerpc/powerpc32/dl-machine.c
12072 (__process_machine_rela): Likewise.
12073 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12074 Likewise.
12075 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12076 Likewise.
12077 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12078 Likewise.
12079 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12080 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12081 Likewise.
12082 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12083 Likewise.
12084 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12085
8a9f20c8
CD
120862013-05-28 Carlos O'Donell <carlos@redhat.com>
12087
12088 * po/be.po: Add descriptive title.
12089 * po/zh_CN.po: Likewise.
12090 * po/header.pot: Likewise.
12091
0e60d68e
MF
120922013-05-28 Mike Frysinger <vapier@gentoo.org>
12093
12094 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12095 error message.
12096 (enlarge_archive): Likewise.
12097
56b672e9
BN
120982013-05-28 Ben North <ben@redfrontdoor.org>
12099
12100 * manual/arith.texi (frexp): It is the magnitude of the return
12101 value which lies in [0.5, 1), not the return value itself.
12102
5e056687
AZ
121032013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12104
12105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12106
2b66ef5d
TS
121072013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12108
528c2405
TS
12109 * stdio-common/bug26.c (main): Correct fscanf template.
12110
07b4c13d
TS
12111 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12112 declare _dl_skip_args.
12113
ec9dd97c
TS
12114 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12115 Don't declare.
12116
2b66ef5d
TS
12117 * manual/platform.texi: Add missing @end deftypefun.
12118
4f8dfe27
JM
121192013-05-24 Joseph Myers <joseph@codesourcery.com>
12120
0323d086
JM
12121 [BZ #15529]
12122 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12123 bit of mantissa of 2^16382.
12124 * math/libm-test.inc (hypot_test_data): Add more tests.
12125
dd4259b9
JM
12126 * math/libm-test.inc: Add drem and pow10 to list of tested
12127 functions.
12128 (pow10_test): New function.
12129 (drem_test): Likewise.
12130 (drem_test_tonearest): Likewise.
12131 (drem_test_towardzero): Likewise.
12132 (drem_test_downward): Likewise.
12133 (drem_test_upward): Likewise.
12134 (main): Call the new functions.
12135
4f8dfe27
JM
12136 * math/libm-test.inc (finite_test_data): Remove.
12137 (finite_test): Run tests from isfinite_test_data.
12138 (gamma_test_data): Remove.
12139 (gamma_test): Run tests from lgamma_test_data.
12140 * sysdeps/i386/fpu/libm-test-ulps: Update.
12141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12142
d116b7c4
AZ
121432013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12144
12145 * manual/platform.texi: Add PowerPC PPR function set documentation.
12146 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12147 implementation.
12148
e96e3767
CD
121492013-05-24 Carlos O'Donell <carlos@redhat.com>
12150
12151 * math/libm-test.inc (MAX_EXP): Define.
12152 (ULPDIFF): Define.
12153 (ulp): New function.
12154 (check_float_internal): Use ULPDIFF.
12155 (cpow_test): Disable failing test.
12156 (check_ulp): Test ulp() implemetnation.
12157 (main): Call check_ulp before starting tests.
12158
b679a606
JM
121592013-05-24 Joseph Myers <joseph@codesourcery.com>
12160
e8bdba36
JM
12161 * math/gen-libm-test.pl (generate_testfile): Do not handle
12162 START_DATA and END_DATA.
12163 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12164 END_DATA.
12165 (acos_tonearest_test_data): Likewise.
12166 (acos_towardzero_test_data): Likewise.
12167 (acos_downward_test_data): Likewise.
12168 (acos_upward_test_data): Likewise.
12169 (acosh_test_data): Likewise.
12170 (asin_test_data): Likewise.
12171 (asin_tonearest_test_data): Likewise.
12172 (asin_towardzero_test_data): Likewise.
12173 (asin_downward_test_data): Likewise.
12174 (asin_upward_test_data): Likewise.
12175 (asinh_test_data): Likewise.
12176 (atan_test_data): Likewise.
12177 (atanh_test_data): Likewise.
12178 (atan2_test_data): Likewise.
12179 (cabs_test_data): Likewise.
12180 (cacos_test_data): Likewise.
12181 (cacosh_test_data): Likewise.
12182 (carg_test_data): Likewise.
12183 (casin_test_data): Likewise.
12184 (casinh_test_data): Likewise.
12185 (catan_test_data): Likewise.
12186 (catanh_test_data): Likewise.
12187 (cbrt_test_data): Likewise.
12188 (ccos_test_data): Likewise.
12189 (ccosh_test_data): Likewise.
12190 (ceil_test_data): Likewise.
12191 (cexp_test_data): Likewise.
12192 (cimag_test_data): Likewise.
12193 (clog_test_data): Likewise.
12194 (clog10_test_data): Likewise.
12195 (conj_test_data): Likewise.
12196 (copysign_test_data): Likewise.
12197 (cos_test_data): Likewise.
12198 (cos_tonearest_test_data): Likewise.
12199 (cos_towardzero_test_data): Likewise.
12200 (cos_downward_test_data): Likewise.
12201 (cos_upward_test_data): Likewise.
12202 (cosh_test_data): Likewise.
12203 (cosh_tonearest_test_data): Likewise.
12204 (cosh_towardzero_test_data): Likewise.
12205 (cosh_downward_test_data): Likewise.
12206 (cosh_upward_test_data): Likewise.
12207 (cpow_test_data): Likewise.
12208 (cproj_test_data): Likewise.
12209 (creal_test_data): Likewise.
12210 (csin_test_data): Likewise.
12211 (csinh_test_data): Likewise.
12212 (csqrt_test_data): Likewise.
12213 (ctan_test_data): Likewise.
12214 (ctan_tonearest_test_data): Likewise.
12215 (ctan_towardzero_test_data): Likewise.
12216 (ctan_downward_test_data): Likewise.
12217 (ctan_upward_test_data): Likewise.
12218 (ctanh_test_data): Likewise.
12219 (ctanh_tonearest_test_data): Likewise.
12220 (ctanh_towardzero_test_data): Likewise.
12221 (ctanh_downward_test_data): Likewise.
12222 (ctanh_upward_test_data): Likewise.
12223 (erf_test_data): Likewise.
12224 (erfc_test_data): Likewise.
12225 (exp_test_data): Likewise.
12226 (exp_tonearest_test_data): Likewise.
12227 (exp_towardzero_test_data): Likewise.
12228 (exp_downward_test_data): Likewise.
12229 (exp_upward_test_data): Likewise.
12230 (exp10_test_data): Likewise.
12231 (exp2_test_data): Likewise.
12232 (expm1_test_data): Likewise.
12233 (fabs_test_data): Likewise.
12234 (fdim_test_data): Likewise.
12235 (finite_test_data): Likewise.
12236 (floor_test_data): Likewise.
12237 (fma_test_data): Likewise.
12238 (fma_towardzero_test_data): Likewise.
12239 (fma_downward_test_data): Likewise.
12240 (fma_upward_test_data): Likewise.
12241 (fmax_test_data): Likewise.
12242 (fmin_test_data): Likewise.
12243 (fmod_test_data): Likewise.
12244 (fpclassify_test_data): Likewise.
12245 (frexp_test_data): Likewise.
12246 (gamma_test_data): Likewise.
12247 (hypot_test_data): Likewise.
12248 (ilogb_test_data): Likewise.
12249 (isfinite_test_data): Likewise.
12250 (isgreater_test_data): Likewise.
12251 (isgreaterequal_test_data): Likewise.
12252 (isinf_test_data): Likewise.
12253 (isless_test_data): Likewise.
12254 (islessequal_test_data): Likewise.
12255 (islessgreater_test_data): Likewise.
12256 (isnan_test_data): Likewise.
12257 (isnormal_test_data): Likewise.
12258 (issignaling_test_data): Likewise.
12259 (isunordered_test_data): Likewise.
12260 (j0_test_data): Likewise.
12261 (j1_test_data): Likewise.
12262 (jn_test_data): Likewise.
12263 (ldexp_test_data): Likewise.
12264 (lgamma_test_data): Likewise.
12265 (lrint_test_data): Likewise.
12266 (lrint_tonearest_test_data): Likewise.
12267 (lrint_towardzero_test_data): Likewise.
12268 (lrint_downward_test_data): Likewise.
12269 (lrint_upward_test_data): Likewise.
12270 (llrint_test_data): Likewise.
12271 (llrint_tonearest_test_data): Likewise.
12272 (llrint_towardzero_test_data): Likewise.
12273 (llrint_downward_test_data): Likewise.
12274 (llrint_upward_test_data): Likewise.
12275 (log_test_data): Likewise.
12276 (log10_test_data): Likewise.
12277 (log1p_test_data): Likewise.
12278 (log2_test_data): Likewise.
12279 (logb_test_data): Likewise.
12280 (logb_downward_test_data): Likewise.
12281 (lround_test_data): Likewise.
12282 (llround_test_data): Likewise.
12283 (modf_test_data): Likewise.
12284 (nearbyint_test_data): Likewise.
12285 (nextafter_test_data): Likewise.
12286 (nexttoward_test_data): Likewise.
12287 (pow_test_data): Likewise.
12288 (pow_tonearest_test_data): Likewise.
12289 (pow_towardzero_test_data): Likewise.
12290 (pow_downward_test_data): Likewise.
12291 (pow_upward_test_data): Likewise.
12292 (remainder_test_data): Likewise.
12293 (remainder_tonearest_test_data): Likewise.
12294 (remainder_towardzero_test_data): Likewise.
12295 (remainder_downward_test_data): Likewise.
12296 (remainder_upward_test_data): Likewise.
12297 (remquo_test_data): Likewise.
12298 (rint_test_data): Likewise.
12299 (rint_tonearest_test_data): Likewise.
12300 (rint_towardzero_test_data): Likewise.
12301 (rint_downward_test_data): Likewise.
12302 (rint_upward_test_data): Likewise.
12303 (round_test_data): Likewise.
12304 (scalb_test_data): Likewise.
12305 (scalbn_test_data): Likewise.
12306 (scalbln_test_data): Likewise.
12307 (signbit_test_data): Likewise.
12308 (sin_test_data): Likewise.
12309 (sin_tonearest_test_data): Likewise.
12310 (sin_towardzero_test_data): Likewise.
12311 (sin_downward_test_data): Likewise.
12312 (sin_upward_test_data): Likewise.
12313 (sincos_test_data): Likewise.
12314 (sinh_test_data): Likewise.
12315 (sinh_tonearest_test_data): Likewise.
12316 (sinh_towardzero_test_data): Likewise.
12317 (sinh_downward_test_data): Likewise.
12318 (sinh_upward_test_data): Likewise.
12319 (sqrt_test_data): Likewise.
12320 (tan_test_data): Likewise.
12321 (tan_tonearest_test_data): Likewise.
12322 (tan_towardzero_test_data): Likewise.
12323 (tan_downward_test_data): Likewise.
12324 (tan_upward_test_data): Likewise.
12325 (tanh_test_data): Likewise.
12326 (tgamma_test_data): Likewise.
12327 (trunc_test_data): Likewise.
12328 (y0_test_data): Likewise.
12329 (y1_test_data): Likewise.
12330 (yn_test_data): Likewise.
12331 (significand_test_data): Likewise.
12332
b679a606
JM
12333 * math/gen-libm-test.pl (@functions): Remove variable.
12334 (generate_testfile): Don't handle START and END lines.
12335 * math/libm-test.inc (START): New macro.
12336 (END): Likewise.
12337 (END_COMPLEX): Likewise.
12338 (acos_test): Use END macro without arguments.
12339 (acos_test_tonearest): Likewise.
12340 (acos_test_towardzero): Likewise.
12341 (acos_test_downward): Likewise.
12342 (acos_test_upward): Likewise.
12343 (acosh_test): Likewise.
12344 (asin_test): Likewise.
12345 (asin_test_tonearest): Likewise.
12346 (asin_test_towardzero): Likewise.
12347 (asin_test_downward): Likewise.
12348 (asin_test_upward): Likewise.
12349 (asinh_test): Likewise.
12350 (atan_test): Likewise.
12351 (atanh_test): Likewise.
12352 (atan2_test): Likewise.
12353 (cabs_test): Likewise.
12354 (cacos_test): Use END_COMPLEX macro without arguments.
12355 (cacosh_test): Likewise.
12356 (carg_test): Use END macro without arguments.
12357 (casin_test): Use END_COMPLEX macro without arguments.
12358 (casinh_test): Likewise.
12359 (catan_test): Likewise.
12360 (catanh_test): Likewise.
12361 (cbrt_test): Use END macro without arguments.
12362 (ccos_test): Use END_COMPLEX macro without arguments.
12363 (ccosh_test): Likewise.
12364 (ceil_test): Use END macro without arguments.
12365 (cexp_test): Use END_COMPLEX macro without arguments.
12366 (cimag_test): Use END macro without arguments.
12367 (clog_test): Use END_COMPLEX macro without arguments.
12368 (clog10_test): Likewise.
12369 (conj_test): Likewise.
12370 (copysign_test): Use END macro without arguments.
12371 (cos_test): Likewise.
12372 (cos_test_tonearest): Likewise.
12373 (cos_test_towardzero): Likewise.
12374 (cos_test_downward): Likewise.
12375 (cos_test_upward): Likewise.
12376 (cosh_test): Likewise.
12377 (cosh_test_tonearest): Likewise.
12378 (cosh_test_towardzero): Likewise.
12379 (cosh_test_downward): Likewise.
12380 (cosh_test_upward): Likewise.
12381 (cpow_test): Use END_COMPLEX macro without arguments.
12382 (cproj_test): Likewise.
12383 (creal_test): Use END macro without arguments.
12384 (csin_test): Use END_COMPLEX macro without arguments.
12385 (csinh_test): Likewise.
12386 (csqrt_test): Likewise.
12387 (ctan_test): Likewise.
12388 (ctan_test_tonearest): Likewise.
12389 (ctan_test_towardzero): Likewise.
12390 (ctan_test_downward): Likewise.
12391 (ctan_test_upward): Likewise.
12392 (ctanh_test): Likewise.
12393 (ctanh_test_tonearest): Likewise.
12394 (ctanh_test_towardzero): Likewise.
12395 (ctanh_test_downward): Likewise.
12396 (ctanh_test_upward): Likewise.
12397 (erf_test): Use END macro without arguments.
12398 (erfc_test): Likewise.
12399 (exp_test): Likewise.
12400 (exp_test_tonearest): Likewise.
12401 (exp_test_towardzero): Likewise.
12402 (exp_test_downward): Likewise.
12403 (exp_test_upward): Likewise.
12404 (exp10_test): Likewise.
12405 (exp2_test): Likewise.
12406 (expm1_test): Likewise.
12407 (fabs_test): Likewise.
12408 (fdim_test): Likewise.
12409 (finite_test): Likewise.
12410 (floor_test): Likewise.
12411 (fma_test): Likewise.
12412 (fma_test_towardzero): Likewise.
12413 (fma_test_downward): Likewise.
12414 (fma_test_upward): Likewise.
12415 (fmax_test): Likewise.
12416 (fmin_test): Likewise.
12417 (fmod_test): Likewise.
12418 (fpclassify_test): Likewise.
12419 (frexp_test): Likewise.
12420 (gamma_test): Likewise.
12421 (hypot_test): Likewise.
12422 (ilogb_test): Likewise.
12423 (isfinite_test): Likewise.
12424 (isgreater_test): Likewise.
12425 (isgreaterequal_test): Likewise.
12426 (isinf_test): Likewise.
12427 (isless_test): Likewise.
12428 (islessequal_test): Likewise.
12429 (islessgreater_test): Likewise.
12430 (isnan_test): Likewise.
12431 (isnormal_test): Likewise.
12432 (issignaling_test): Likewise.
12433 (isunordered_test): Likewise.
12434 (j0_test): Likewise.
12435 (j1_test): Likewise.
12436 (jn_test): Likewise.
12437 (ldexp_test): Likewise.
12438 (lgamma_test): Likewise.
12439 (lrint_test): Likewise.
12440 (lrint_test_tonearest): Likewise.
12441 (lrint_test_towardzero): Likewise.
12442 (lrint_test_downward): Likewise.
12443 (lrint_test_upward): Likewise.
12444 (llrint_test): Likewise.
12445 (llrint_test_tonearest): Likewise.
12446 (llrint_test_towardzero): Likewise.
12447 (llrint_test_downward): Likewise.
12448 (llrint_test_upward): Likewise.
12449 (log_test): Likewise.
12450 (log10_test): Likewise.
12451 (log1p_test): Likewise.
12452 (log2_test): Likewise.
12453 (logb_test): Likewise.
12454 (logb_test_downward): Likewise.
12455 (lround_test): Likewise.
12456 (llround_test): Likewise.
12457 (modf_test): Likewise.
12458 (nearbyint_test): Likewise.
12459 (nextafter_test): Likewise.
12460 (nexttoward_test): Likewise.
12461 (pow_test): Likewise.
12462 (pow_test_tonearest): Likewise.
12463 (pow_test_towardzero): Likewise.
12464 (pow_test_downward): Likewise.
12465 (pow_test_upward): Likewise.
12466 (remainder_test): Likewise.
12467 (remainder_test_tonearest): Likewise.
12468 (remainder_test_towardzero): Likewise.
12469 (remainder_test_downward): Likewise.
12470 (remainder_test_upward): Likewise.
12471 (remquo_test): Likewise.
12472 (rint_test): Likewise.
12473 (rint_test_tonearest): Likewise.
12474 (rint_test_towardzero): Likewise.
12475 (rint_test_downward): Likewise.
12476 (rint_test_upward): Likewise.
12477 (round_test): Likewise.
12478 (scalb_test): Likewise.
12479 (scalbn_test): Likewise.
12480 (scalbln_test): Likewise.
12481 (signbit_test): Likewise.
12482 (sin_test): Likewise.
12483 (sin_test_tonearest): Likewise.
12484 (sin_test_towardzero): Likewise.
12485 (sin_test_downward): Likewise.
12486 (sin_test_upward): Likewise.
12487 (sincos_test): Likewise.
12488 (sinh_test): Likewise.
12489 (sinh_test_tonearest): Likewise.
12490 (sinh_test_towardzero): Likewise.
12491 (sinh_test_downward): Likewise.
12492 (sinh_test_upward): Likewise.
12493 (sqrt_test): Likewise.
12494 (tan_test): Likewise.
12495 (tan_test_tonearest): Likewise.
12496 (tan_test_towardzero): Likewise.
12497 (tan_test_downward): Likewise.
12498 (tan_test_upward): Likewise.
12499 (tanh_test): Likewise.
12500 (tgamma_test): Likewise.
12501 (trunc_test): Likewise.
12502 (y0_test): Likewise.
12503 (y1_test): Likewise.
12504 (yn_test): Likewise.
12505 (significand_test): Likewise.
12506
bae143d2
OB
125072013-05-24 Ondřej Bílka <neleai@seznam.cz>
12508
12509 [BZ #15381]
12510 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12511
9323d39b
EM
125122013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12513
d4ea44a0 12514 [BZ #14894]
9323d39b
EM
12515 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12516 __ppc_mdoio and __ppc_mdoom.
12517 * manual/platform.texi: Document new functions __ppc_yield,
12518 __ppc_mdoio and __ppc_mdoom.
12519
13e23af7
CD
125202013-05-22 Carlos O'Donell <carlos@redhat.com>
12521
12522 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12523 (main): Mention "tls" pseudo-hwcap is legacy.
12524 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12525
351fe550
JM
125262013-05-22 Joseph Myers <joseph@codesourcery.com>
12527
12528 * math/gen-libm-test.pl (parse_args): Output only string of
12529 arguments as text for test name, not full call or descriptions of
12530 tests for extra outputs.
12531 (generate_testfile): Do not pass function name to parse_args.
12532 Generate this_func variable from START.
12533 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12534 field to arg_str.
12535 (struct test_ff_f_data): Likewise.
12536 (test_ff_f_data_nexttoward): Likewise.
12537 (struct test_fi_f_data): Likewise.
12538 (struct test_fl_f_data): Likewise.
12539 (struct test_if_f_data): Likewise.
12540 (struct test_fff_f_data): Likewise.
12541 (struct test_c_f_data): Likewise.
12542 (struct test_f_f1_data): Likewise. Remove field extra_name.
12543 (struct test_fF_f1_data): Likewise.
12544 (struct test_ffI_f1_data): Likewise.
12545 (struct test_c_c_data): Rename test_name field to arg_str.
12546 (struct test_cc_c_data): Likewise.
12547 (struct test_f_i_data): Likewise.
12548 (struct test_ff_i_data): Likewise.
12549 (struct test_f_l_data): Likewise.
12550 (struct test_f_L_data): Likewise.
12551 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12552 and extra2_name.
12553 (COMMON_TEST_SETUP): New macro.
12554 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12555 (COMMON_TEST_CLEANUP): Likewise.
12556 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12557 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12558 macros.
12559 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12560 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12561 macros.
12562 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12563 (RUN_TEST_fff_f): Take argument string. Call new setup and
12564 cleanup macros.
12565 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12566 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12567 macros.
12568 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12569 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12570 macros.
12571 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12572 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12573 cleanup macros.
12574 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12575 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12576 cleanup macros.
12577 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12578 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12579 cleanup macros.
12580 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12581 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12582 macros.
12583 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12584 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12585 macros.
12586 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12587 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12588 macros.
12589 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12590 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12591 cleanup macros.
12592 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12593 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12594 cleanup macros.
12595 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12596 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12597 macros.
12598 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12599 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12600 cleanup macros.
12601 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12602 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12603 macros.
12604 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12605 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12606 macros.
12607 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12608 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12609 cleanup macros.
12610 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12611
85118d4d
EBM
126122013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12613
12614 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12615 to _sifields.sigfault.
12616 (si_addr_lsb): Define new macro.
12617 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12618 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12619 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12620
7a44c18f
CD
126212013-05-03 Carlos O'Donell <carlos at redhat.com>
12622
12623 [BZ #15441]
12624 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12625 returns -1.
12626 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12627 null return -1.
12628 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12629 loading the domain.
12630
b50a7181
JM
126312013-05-22 Joseph Myers <joseph@codesourcery.com>
12632
12633 * math/gen-libm-test.pl (parse_args): Do not include expected
12634 result in test name.
12635 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12636 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12637 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12638 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12639 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12641
051063c8
SP
126422013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12643
3ce9e010
SP
12644 * benchtests/Makefile: Sort function entries.
12645
051063c8
SP
12646 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12647 tanh, asinh, acosh, atanh.
12648 * benchtests/acos-inputs: New file.
12649 * benchtests/acosh-inputs: New file.
12650 * benchtests/asin-inputs: New file.
12651 * benchtests/asinh-inputs: New file.
12652 * benchtests/atanh-inputs: New file.
12653 * benchtests/cosh-inputs: New file.
12654 * benchtests/log-inputs: New file.
12655 * benchtests/sinh-inputs: New file.
12656 * benchtests/tanh-inputs: New file.
12657
47c22455
DL
126582013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12659
12660 [BZ #15339]
12661 * posix/tst-getaddrinfo4.c: New test.
12662 * posix/Makefile (tests): Add it.
12663
3d04f5db
SP
126642013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12665
12666 [BZ #15339]
12667 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12668 when no services were used.
12669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12670 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12671
d5dd6189
AS
126722013-05-21 Andreas Schwab <schwab@suse.de>
12673
12674 [BZ #15014]
12675 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12676 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12677 successful.
12678 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12679 redundant variable declarations and reallocation of buffer when
12680 parsing as IPv6 address. Always set NSS status when called from
12681 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12682 buffer too small. Correct computation of needed size.
12683 * nss/Makefile (tests): Add test-digits-dots.
12684 * nss/test-digits-dots.c: New test.
12685
fef94eab
SP
126862013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12687
12688 * benchtests/Makefile: Remove instructions for adding
12689 benchmark tests.
12690 * benchtests/README: New file to explain how to execute and
12691 enhance the benchmark tests.
12692
e39adf43
AS
126932013-05-21 Andreas Schwab <schwab@suse.de>
12694
12695 [BZ #15493]
12696 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12697 * setjmp/tst-sigsetjmp.c: New test.
12698
b2b671b6
OB
126992013-05-20 Ondřej Bílka <neleai@seznam.cz>
12700
12701 * sysdeps/x86_64/memset.S (memset): New implementation.
12702 (__bzero): Likewise.
12703 (__memset_tail): New function.
12704
2d48b41c
OB
127052013-05-20 Ondřej Bílka <neleai@seznam.cz>
12706
12707 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12708 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12709 __memcpy_sse2_unaligned ifunc selection.
12710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12711 Add memcpy-sse2-unaligned.S.
12712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12713 Add: __memcpy_sse2_unaligned.
12714
f16cc3eb
JM
127152013-05-19 Joseph Myers <joseph@codesourcery.com>
12716
3e694268
JM
12717 [BZ #15490]
12718 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12719 math_force_eval before restoring floating-point envrionment.
12720 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12721 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12722 Likewise.
12723 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12724 <math_private.h>.
12725 (__nearbyintl): Use math_force_eval before restoring
12726 floating-point environment.
12727 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12728
db62a907
JM
12729 * math/gen-libm-test.pl (special_functions): Remove.
12730 (parse_args): Don't handle TEST_extra. Handle functions with no
12731 return value.
12732 * math/libm-test.inc (struct test_sincos_data): Replace with
12733 struct test_fFF_11_data.
12734 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12735 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12736 (sincos_test_data): Change element type to struct
12737 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12738 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12739 RUN_TEST_LOOP_sincos.
12740 * math/README.libm-test: Don't mention special handling of
12741 individual functions.
12742 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12744 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12745 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12746 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12748
f16cc3eb
JM
12749 * math/gen-libm-test.pl (get_variable): Remove function.
12750 (parse_args): Don't show pointer parameters to call in test
12751 names. Use "extra output N" in test names for extra outputs
12752 rather than naming variables.
12753
3779b5b6
JM
127542013-05-18 Joseph Myers <joseph@codesourcery.com>
12755
2ee094ff
JM
12756 [BZ #15488]
12757 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12758 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12759 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12760 double tests.
12761 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12762 disable.
12763 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12764 check_long_double.
12765
3779b5b6
JM
12766 * math/gen-libm-test.pl (@tests): Remove variable.
12767 ($count): Likewise.
12768 (new_test): Remove function.
12769 (show_exceptions): New function.
12770 (special_functions): Use show_exceptions instead of new_test.
12771 (parse_args): Likewise.
12772 (generate_testfile): Pass only function name in generated call to
12773 print_max_error or print_complex_max_error.
12774 (get_ulps): Do not handle complex tests specially.
12775 (output_test): Rename to ...
12776 (get_all_ulps_for_test): ... this. Return a string rather than
12777 printing to a file. Require ulps to be present.
12778 (output_ulps): Generate arrays rather than #defines.
12779 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12780 (struct ulp_data): New type.
12781 (BUILD_COMPLEX_ULP): Remove macro.
12782 (compare_ulp_data): New function.
12783 (find_ulps): Likewise.
12784 (find_test_ulps): Likewise.
12785 (find_function_ulps): Likewise.
12786 (find_complex_function_ulps): Likewise.
12787 (print_max_error): Determine allowed ulps using
12788 find_function_ulps.
12789 (print_complex_max_error): Determine allowed ulps using
12790 find_complex_function_ulps.
12791 (check_float_internal): Determine max ulps using find_test_ulps.
12792 (check_float): Do not take max_ulp parameter. Update call to
12793 check_float_internal.
12794 (check_complex): Likewise.
12795 (check_int): Do not take max_ulp parameter.
12796 (check_long): Likewise.
12797 (check_bool): Likewise.
12798 (check_longlong): Likewise.
12799 (struct test_f_f_data): Remove max_ulp field.
12800 (struct test_ff_f_data): Likewise.
12801 (struct test_ff_f_data_nexttoward): Likewise.
12802 (struct test_fi_f_data): Likewise.
12803 (struct test_fl_f_data): Likewise.
12804 (struct test_if_f_data): Likewise.
12805 (struct test_fff_f_data): Likewise.
12806 (struct test_c_f_data): Likewise.
12807 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12808 (struct test_fF_f1_data): Likewise.
12809 (struct test_ffI_f1_data): Likewise.
12810 (struct test_c_c_data): Remove max_ulp field.
12811 (struct test_cc_c_data): Likewise.
12812 (struct test_f_i_data): Likewise.
12813 (struct test_ff_i_data): Likewise.
12814 (struct test_f_l_data): Likewise.
12815 (struct test_f_L_data): Likewise.
12816 (struct test_sincos_data): Likewise.
12817 (RUN_TEST_f_f): Do not handle ulps.
12818 (RUN_TEST_LOOP_f_f): Likewise.
12819 (RUN_TEST_2_f): Likewise.
12820 (RUN_TEST_LOOP_2_f): Likewise.
12821 (RUN_TEST_fff_f): Likewise.
12822 (RUN_TEST_LOOP_fff_f): Likewise.
12823 (RUN_TEST_c_f): Likewise.
12824 (RUN_TEST_LOOP_c_f): Likewise.
12825 (RUN_TEST_f_f1): Likewise.
12826 (RUN_TEST_LOOP_f_f1): Likewise.
12827 (RUN_TEST_fF_f1): Likewise.
12828 (RUN_TEST_LOOP_fF_f1): Likewise.
12829 (RUN_TEST_fI_f1): Likewise.
12830 (RUN_TEST_LOOP_fI_f1): Likewise.
12831 (RUN_TEST_ffI_f1): Likewise.
12832 (RUN_TEST_LOOP_ffI_f1): Likewise.
12833 (RUN_TEST_c_c): Likewise.
12834 (RUN_TEST_LOOP_c_c): Likewise.
12835 (RUN_TEST_cc_c): Likewise.
12836 (RUN_TEST_LOOP_cc_c): Likewise.
12837 (RUN_TEST_f_i): Likewise.
12838 (RUN_TEST_LOOP_f_i): Likewise.
12839 (RUN_TEST_f_i_tg): Likewise.
12840 (RUN_TEST_LOOP_f_i_tg): Likewise.
12841 (RUN_TEST_ff_i_tg): Likewise.
12842 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12843 (RUN_TEST_f_b): Likewise.
12844 (RUN_TEST_LOOP_f_b): Likewise.
12845 (RUN_TEST_f_b_tg): Likewise.
12846 (RUN_TEST_LOOP_f_b_tg): Likewise.
12847 (RUN_TEST_f_l): Likewise.
12848 (RUN_TEST_LOOP_f_l): Likewise.
12849 (RUN_TEST_f_L): Likewise.
12850 (RUN_TEST_LOOP_f_L): Likewise.
12851 (RUN_TEST_sincos): Likewise.
12852 (RUN_TEST_LOOP_sincos): Likewise.
12853
8269107f
JM
128542013-05-17 Joseph Myers <joseph@codesourcery.com>
12855
bb38759d
JM
12856 [BZ #15480]
12857 [BZ #15485]
12858 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12859 main case of finite arguments, set rounding mode to FE_TONEAREST
12860 and discard exceptions.
12861 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12862 exceptions.
12863 (remainder_tonearest_test_data): New variable.
12864 (remainder_test_tonearest): New function.
12865 (remainder_towardzero_test_data): New variable.
12866 (remainder_test_towardzero): New function.
12867 (remainder_downward_test_data): New variable.
12868 (remainder_test_downward): New function.
12869 (remainder_upward_test_data): New variable.
12870 (remainder_test_upward): New function.
12871 (main): Call the new test functions.
12872
a00bdcf0
JM
12873 * math/libm-test.inc (struct test_f_f1_data): Remove field
12874 extra_init.
12875 (struct test_fF_f1_data): Likewise.
12876 (struct test_ffI_f1_data): Likewise.
12877 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12878 based on value of EXTRA_EXPECTED.
12879 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12880 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12881 EXTRA_VAR based on value of EXTRA_EXPECTED.
12882 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12883 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12884 EXTRA_VAR based on value of EXTRA_EXPECTED.
12885 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12886 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12887 EXTRA_VAR based on value of EXTRA_EXPECTED.
12888 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12889 * math/gen-libm-test.pl (parse_args): Don't output initializers
12890 for extra output values.
12891
de407f79
JM
12892 * math/libm-test.inc (check_int): Expect result to be exactly
12893 equal to expected value and do not handle ulps.
12894 (check_long): Likewise.
12895 (check_longlong): Likewise.
12896
8269107f
JM
12897 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12898 exceptions.
12899 (cimag_test_data): Likewise.
12900 (conj_test_data): Likewise.
12901 (copysign_test_data): Likewise.
12902 (cproj_test_data): Likewise.
12903 (creal_test_data): Likewise.
12904 (fabs_test_data): Likewise.
12905 (fdim_test_data): Likewise.
12906 (finite_test_data): Likewise.
12907 (floor_test_data): Likewise.
12908 (fmax_test_data): Likewise.
12909 (fmin_test_data): Likewise.
12910 (fmod_test_data): Likewise.
12911 (fpclassify_test_data): Likewise.
12912 (frexp_test_data): Likewise.
12913 (ilogb_test_data): Likewise.
12914 (isfinite_test_data): Likewise.
12915 (isgreater_test_data): Likewise.
12916 (isgreaterequal_test_data): Likewise.
12917 (isinf_test_data): Likewise.
12918 (isless_test_data): Likewise.
12919 (islessequal_test_data): Likewise.
12920 (islessgreater_test_data): Likewise.
12921 (isnan_test_data): Likewise.
12922 (isnormal_test_data): Likewise.
12923 (issignaling_test_data): Likewise.
12924 (isunordered_test_data): Likewise.
12925 (ldexp_test_data): Likewise.
12926 (lrint_test_data): Likewise.
12927 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12928 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12929 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12930 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12931 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12932 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12933 test input.
12934 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12935 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12936 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12937 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12938 that test input.
12939 (lrint_downward_test_data): Test for "inexact" exceptions.
12940 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12941 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12942 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12943 test input.
12944 (lrint_upward_test_data): Test for "inexact" exceptions.
12945 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12946 test input.
12947 (llrint_test_data): Test for "inexact" exceptions.
12948 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12949 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12950 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12951 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12952 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12953 (llrint_downward_test_data): Test for "inexact" exceptions.
12954 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12955 (llrint_upward_test_data): Test for "inexact" exceptions.
12956 (logb_test_data): Likewise.
12957 (logb_downward_test_data): Likewise.
12958 (nextafter_test_data): Likewise.
12959 (nexttoward_test_data): Likewise.
12960 (remainder_test_data): Likewise.
12961 (remquo_test_data): Likewise.
12962 (scalbn_test_data): Likewise.
12963 (scalbln_test_data): Likewise.
12964 (signbit_test_data): Likewise.
12965 (sqrt_test_data): Likewise.
12966 (significand_test_data): Likewise.
12967
48a18de1
SP
129682013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12969
12970 [BZ #15424]
12971 * benchtests/bench-modf.c (struct args): Mark arg0 as
12972 volatile.
12973 * scripts/bench.pl: Mark members of struct args as volatile.
12974
13d3b41a
AZ
129752013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12976
68191c1d 12977 [BZ # 15497]
13d3b41a
AZ
12978 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12979 negative infinity on POWER6 or lower.
12980 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12981
2848b105
MR
129822013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12983
12984 [BZ #15442]
12985 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12986 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12987 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12988 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12989 (_FP_SETQNAN): New macro.
12990 (_FP_SETQNAN_SEMIRAW): Likewise.
12991 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12992 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12993 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12994 (FP_EXTEND): Use _FP_FRAC_SNANP.
12995 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12996 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12997 into account.
12998 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12999 New macro.
13000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13001 Likewise.
13002
323e5cb7
JM
130032013-05-16 Joseph Myers <joseph@codesourcery.com>
13004
c58b274f
JM
13005 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13006 with DIVIDE_BY_ZERO_EXCEPTION.
13007 (gamma_test_data): Likewise.
13008 (lgamma_test_data): Likewise.
13009 (log_test_data): Likewise.
13010 (log10_test_data): Likewise.
13011 (log2_test_data): Likewise.
13012 (tgamma_test_data): Likewise.
13013
0ab34904
JM
13014 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13015 (acos_test_tonearest): Likewise.
13016 (acos_test_towardzero): Likewise.
13017 (acos_test_downward): Likewise.
13018 (acos_test_upward): Likewise.
13019 (acosh_test): Likewise.
13020 (asin_test): Likewise.
13021 (asin_test_tonearest): Likewise.
13022 (asin_test_towardzero): Likewise.
13023 (asin_test_downward): Likewise.
13024 (asin_test_upward): Likewise.
13025 (asinh_test): Likewise.
13026 (atan_test): Likewise.
13027 (atanh_test): Likewise.
13028 (atan2_test): Likewise.
13029 (cabs_test): Likewise.
13030 (cacos_test): Likewise.
13031 (cacosh_test): Likewise.
13032 (casin_test): Likewise.
13033 (casinh_test): Likewise.
13034 (catan_test): Likewise.
13035 (catanh_test): Likewise.
13036 (cbrt_test): Likewise.
13037 (ccos_test): Likewise.
13038 (ccosh_test): Likewise.
13039 (cexp_test): Likewise.
13040 (clog_test): Likewise.
13041 (clog10_test): Likewise.
13042 (cos_test): Likewise.
13043 (cos_test_tonearest): Likewise.
13044 (cos_test_towardzero): Likewise.
13045 (cos_test_downward): Likewise.
13046 (cos_test_upward): Likewise.
13047 (cosh_test): Likewise.
13048 (cosh_test_tonearest): Likewise.
13049 (cosh_test_towardzero): Likewise.
13050 (cosh_test_downward): Likewise.
13051 (cosh_test_upward): Likewise.
13052 (cpow_test): Likewise.
13053 (csin_test): Likewise.
13054 (csinh_test): Likewise.
13055 (csqrt_test): Likewise.
13056 (ctan_test): Likewise.
13057 (ctan_test_tonearest): Likewise.
13058 (ctan_test_towardzero): Likewise.
13059 (ctan_test_downward): Likewise.
13060 (ctan_test_upward): Likewise.
13061 (ctanh_test): Likewise.
13062 (ctanh_test_tonearest): Likewise.
13063 (ctanh_test_towardzero): Likewise.
13064 (ctanh_test_downward): Likewise.
13065 (ctanh_test_upward): Likewise.
13066 (erf_test): Likewise.
13067 (erfc_test): Likewise.
13068 (exp_test): Likewise.
13069 (exp_test_tonearest): Likewise.
13070 (exp_test_towardzero): Likewise.
13071 (exp_test_downward): Likewise.
13072 (exp_test_upward): Likewise.
13073 (exp10_test): Likewise.
13074 (exp2_test): Likewise.
13075 (expm1_test): Likewise.
13076 (fmod_test): Likewise.
13077 (gamma_test): Likewise.
13078 (hypot_test): Likewise.
13079 (j0_test): Likewise.
13080 (j1_test): Likewise.
13081 (jn_test): Likewise.
13082 (lgamma_test): Likewise.
13083 (log_test): Likewise.
13084 (log10_test): Likewise.
13085 (log1p_test): Likewise.
13086 (log2_test): Likewise.
13087 (logb_test_downward): Likewise.
13088 (pow_test): Likewise.
13089 (pow_test_tonearest): Likewise.
13090 (pow_test_towardzero): Likewise.
13091 (pow_test_downward): Likewise.
13092 (pow_test_upward): Likewise.
13093 (remainder_test): Likewise.
13094 (remquo_test): Likewise.
13095 (sin_test): Likewise.
13096 (sin_test_tonearest): Likewise.
13097 (sin_test_towardzero): Likewise.
13098 (sin_test_downward): Likewise.
13099 (sin_test_upward): Likewise.
13100 (sincos_test): Likewise.
13101 (sinh_test): Likewise.
13102 (sinh_test_tonearest): Likewise.
13103 (sinh_test_towardzero): Likewise.
13104 (sinh_test_downward): Likewise.
13105 (sinh_test_upward): Likewise.
13106 (sqrt_test): Likewise.
13107 (tan_test): Likewise.
13108 (tan_test_tonearest): Likewise.
13109 (tan_test_towardzero): Likewise.
13110 (tan_test_downward): Likewise.
13111 (tan_test_upward): Likewise.
13112 (tanh_test): Likewise.
13113 (tgamma_test): Likewise.
13114 (y0_test): Likewise.
13115 (y1_test): Likewise.
13116 (yn_test): Likewise.
13117
323e5cb7
JM
13118 * math/gen-libm-test.pl (adjust_arg): Remove function.
13119 (special_function): Remove argument $in_func. Only handle
13120 generating output for tables of tests, not inside functions.
13121 (parse_args): Likewise.
13122 (generate_testfile): Remove variable $in_func. Update call to
13123 parse_args.
13124 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13125 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13126 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13127 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13128 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13129 (MAX_VALUE_INIT): Rename macro to max_value.
13130 (MIN_VALUE_INIT): Rename macro to min_value.
13131 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13132 (plus_zero): Remove variable.
13133 (minus_zero): Likewise.
13134 (plus_infty): Likewise.
13135 (minus_infty): Likewise.
13136 (qnan_value): Likewise.
13137 (max_value): Likewise.
13138 (min_value): Likewise.
13139 (min_subnorm_value): Likewise.
13140
e054f494
RA
131412013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13142
13143 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13144 uint64_t or uint32_t usage.
13145 * crypt/sha256-block.c: Likewise.
13146 * crypt/sha256-crypt.c: Likewise.
13147 * crypt/sha256.c: Likewise.
13148 * crypt/sha512-block.c: Likewise.
13149 * crypt/sha512-crypt.c: Likewise.
13150 * crypt/sha512.c: Likewise.
13151 * debug/backtrace-tst.c: Likewise.
13152 * debug/pcprofiledump.c: Likewise.
13153 * elf/cache.c: Likewise.
13154 * elf/dl-cache.c: Likewise.
13155 * elf/dl-misc.c: Likewise.
13156 * elf/dl-profile.c: Likewise.
13157 * elf/dl-support.c: Likewise.
13158 * elf/ldconfig.c: Likewise.
13159 * elf/sprof.c: Likewise.
13160 * iconv/dummy-repertoire.c: Likewise.
13161 * iconv/iconv_charmap.c: Likewise.
13162 * iconv/skeleton.c: Likewise.
13163 * iconvdata/8bit-generic.c: Likewise.
13164 * iconvdata/cp737.h: Likewise.
13165 * iconvdata/cp775.h: Likewise.
13166 * iconvdata/ibm1008.h: Likewise.
13167 * iconvdata/ibm1025.h: Likewise.
13168 * iconvdata/ibm1046.h: Likewise.
13169 * iconvdata/ibm1097.h: Likewise.
13170 * iconvdata/ibm1112.h: Likewise.
13171 * iconvdata/ibm1122.h: Likewise.
13172 * iconvdata/ibm1123.h: Likewise.
13173 * iconvdata/ibm1124.h: Likewise.
13174 * iconvdata/ibm1129.h: Likewise.
13175 * iconvdata/ibm1130.h: Likewise.
13176 * iconvdata/ibm1132.h: Likewise.
13177 * iconvdata/ibm1133.h: Likewise.
13178 * iconvdata/ibm1137.h: Likewise.
13179 * iconvdata/ibm1140.h: Likewise.
13180 * iconvdata/ibm1141.h: Likewise.
13181 * iconvdata/ibm1142.h: Likewise.
13182 * iconvdata/ibm1143.h: Likewise.
13183 * iconvdata/ibm1144.h: Likewise.
13184 * iconvdata/ibm1145.h: Likewise.
13185 * iconvdata/ibm1146.h: Likewise.
13186 * iconvdata/ibm1147.h: Likewise.
13187 * iconvdata/ibm1148.h: Likewise.
13188 * iconvdata/ibm1149.h: Likewise.
13189 * iconvdata/ibm1153.h: Likewise.
13190 * iconvdata/ibm1154.h: Likewise.
13191 * iconvdata/ibm1155.h: Likewise.
13192 * iconvdata/ibm1156.h: Likewise.
13193 * iconvdata/ibm1157.h: Likewise.
13194 * iconvdata/ibm1158.h: Likewise.
13195 * iconvdata/ibm1160.h: Likewise.
13196 * iconvdata/ibm1161.h: Likewise.
13197 * iconvdata/ibm1162.h: Likewise.
13198 * iconvdata/ibm1163.h: Likewise.
13199 * iconvdata/ibm1164.h: Likewise.
13200 * iconvdata/ibm1166.h: Likewise.
13201 * iconvdata/ibm1167.h: Likewise.
13202 * iconvdata/ibm12712.h: Likewise.
13203 * iconvdata/ibm1390.h: Likewise.
13204 * iconvdata/ibm1399.h: Likewise.
13205 * iconvdata/ibm16804.h: Likewise.
13206 * iconvdata/ibm4517.h: Likewise.
13207 * iconvdata/ibm4899.h: Likewise.
13208 * iconvdata/ibm4909.h: Likewise.
13209 * iconvdata/ibm4971.h: Likewise.
13210 * iconvdata/ibm5347.h: Likewise.
13211 * iconvdata/ibm803.h: Likewise.
13212 * iconvdata/ibm856.h: Likewise.
13213 * iconvdata/ibm901.h: Likewise.
13214 * iconvdata/ibm902.h: Likewise.
13215 * iconvdata/ibm9030.h: Likewise.
13216 * iconvdata/ibm9066.h: Likewise.
13217 * iconvdata/ibm921.h: Likewise.
13218 * iconvdata/ibm922.h: Likewise.
13219 * iconvdata/ibm9448.h: Likewise.
13220 * iconvdata/isiri-3342.h: Likewise.
13221 * iconvdata/jis0201.h: Likewise.
13222 * include/link.h: Likewise.
13223 * include/netdb.h: Likewise.
13224 * inet/check_native.c: Likewise.
13225 * inet/check_pf.c: Likewise.
13226 * inet/getipv4sourcefilter.c: Likewise.
13227 * inet/getnameinfo.c: Likewise.
13228 * inet/getsourcefilter.c: Likewise.
13229 * inet/htonl.c: Likewise.
13230 * inet/setipv4sourcefilter.c: Likewise.
13231 * inet/setsourcefilter.c: Likewise.
13232 * inet/test-inet6_opt.c: Likewise.
13233 * inet/tst-network.c: Likewise.
13234 * locale/C-collate.c: Likewise.
13235 * locale/C-ctype.c: Likewise.
13236 * locale/C-time.c: Likewise.
13237 * locale/C-translit.h: Likewise.
13238 * locale/loadarchive.c: Likewise.
13239 * locale/programs/3level.h: Likewise.
13240 * locale/programs/charmap.c: Likewise.
13241 * locale/programs/charmap.h: Likewise.
13242 * locale/programs/ld-address.c: Likewise.
13243 * locale/programs/ld-collate.c: Likewise.
13244 * locale/programs/ld-ctype.c: Likewise.
13245 * locale/programs/ld-identification.c: Likewise.
13246 * locale/programs/ld-measurement.c: Likewise.
13247 * locale/programs/ld-messages.c: Likewise.
13248 * locale/programs/ld-monetary.c: Likewise.
13249 * locale/programs/ld-name.c: Likewise.
13250 * locale/programs/ld-numeric.c: Likewise.
13251 * locale/programs/ld-paper.c: Likewise.
13252 * locale/programs/ld-telephone.c: Likewise.
13253 * locale/programs/ld-time.c: Likewise.
13254 * locale/programs/linereader.c: Likewise.
13255 * locale/programs/locale.c: Likewise.
13256 * locale/programs/locarchive.c: Likewise.
13257 * locale/programs/locfile.h: Likewise.
13258 * locale/programs/repertoire.c: Likewise.
13259 * locale/programs/simple-hash.c: Likewise.
13260 * locale/programs/simple-hash.h: Likewise.
13261 * malloc/memusage.c: Likewise.
13262 * malloc/memusagestat.c: Likewise.
13263 * nis/nis_defaults.c: Likewise.
13264 * nis/nis_hash.c: Likewise.
13265 * nis/nis_print.c: Likewise.
13266 * nis/nis_xdr.c: Likewise.
13267 * nscd/connections.c: Likewise.
13268 * nscd/hstcache.c: Likewise.
13269 * nscd/nscd_gethst_r.c: Likewise.
13270 * nscd/nscd_getserv_r.c: Likewise.
13271 * nscd/nscd_helper.c: Likewise.
13272 * nscd/servicescache.c: Likewise.
13273 * nss/makedb.c: Likewise.
13274 * nss/nss_db/db-XXX.c: Likewise.
13275 * nss/nss_db/db-initgroups.c: Likewise.
13276 * nss/nss_db/db-netgrp.c: Likewise.
13277 * nss/nss_files/files-network.c: Likewise.
13278 * nss/nss_files/files-parse.c: Likewise.
13279 * posix/bug-regex5.c: Likewise.
13280 * posix/fnmatch_loop.c: Likewise.
13281 * posix/regcomp.c: Likewise.
13282 * posix/regexec.c: Likewise.
13283 * posix/tst-rfc3484-2.c: Likewise.
13284 * posix/tst-rfc3484-3.c: Likewise.
13285 * posix/tst-rfc3484.c: Likewise.
13286 * resolv/nss_dns/dns-canon.c: Likewise.
13287 * resolv/nss_dns/dns-network.c: Likewise.
13288 * resolv/res_init.c: Likewise.
13289 * resolv/res_mkquery.c: Likewise.
13290 * resolv/tst-aton.c: Likewise.
13291 * stdlib/cxa_atexit.c: Likewise.
13292 * stdlib/cxa_finalize.c: Likewise.
13293 * stdlib/gen-fpioconst.c: Likewise.
13294 * stdlib/strtol_l.c: Likewise.
13295 * string/tst-endian.c: Likewise.
13296 * sunrpc/auth_des.c: Likewise.
13297 * sunrpc/clnt_udp.c: Likewise.
13298 * sunrpc/rtime.c: Likewise.
13299 * sunrpc/svcauth_des.c: Likewise.
13300 * sunrpc/xdr.c: Likewise.
13301 * sunrpc/xdr_intXX_t.c: Likewise.
13302 * sunrpc/xdr_rec.c: Likewise.
13303 * sysdeps/generic/ldconfig.h: Likewise.
13304 * sysdeps/generic/ldsodefs.h: Likewise.
13305 * sysdeps/generic/memusage.h: Likewise.
13306 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13309 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13316 * sysdeps/posix/getaddrinfo.c: Likewise.
13317 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13318 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13319 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13320 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13321 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13322 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13323 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13324 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13325 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13326 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13327 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13328 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13329 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13330 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13331 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13332 * sysdeps/x86_64/dl-tls.h: Likewise.
13333 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13334 * time/alt_digit.c: Likewise.
13335 * time/era.c: Likewise.
13336 * wcsmbs/tst-c16c32-1.c: Likewise.
13337
8c75f674
JM
133382013-05-16 Joseph Myers <joseph@codesourcery.com>
13339
13340 * math/libm-test.inc (struct test_sincos_data): New type.
13341 (RUN_TEST_LOOP_sincos): New macro.
13342 (sincos_test_data): New variable.
13343 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13344
e6e49e59
RH
133452013-05-16 Richard Henderson <rth@redhat.com>
13346
13347 * math/atest-exp2.c (LIMB64): New macro.
13348 (CONSTSZ): New macro.
13349 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13350 (hexdig): Move ...
13351 (print_mpn_fp): ... to function scope.
13352 (read_mpn_hex): Remove.
13353 (get_log2): Remove.
13354 (exp2_mpn): Use mp_log2.
13355 (main): Use mp_exp1.
13356
15c7c18d
JM
133572013-05-16 Joseph Myers <joseph@codesourcery.com>
13358
105a07df
JM
13359 * math/libm-test.inc: Remove comment about not testing "inexact"
13360 exceptions.
13361 (INEXACT_EXCEPTION): New macro.
13362 (NO_INEXACT_EXCEPTION): Likewise.
13363 (INVALID_EXCEPTION_OK): Update value.
13364 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13365 (OVERFLOW_EXCEPTION_OK): Likewise.
13366 (UNDERFLOW_EXCEPTION_OK): Likewise.
13367 (IGNORE_ZERO_INF_SIGN): Likewise.
13368 (ERRNO_UNCHANGED): Likewise.
13369 (ERRNO_EDOM): Likewise.
13370 (ERRNO_ERANGE): Likewise.
13371 (test_exceptions): Handle testing "inexact" exceptions.
13372 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13373 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13374 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13375 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13376 INEXACT_EXCEPTION.
13377 (rint_towardzero_test_data): Likewise.
13378 (rint_downward_test_data): Likewise.
13379 (rint_upward_test_data): Likewise.
13380
e9eee333
JM
13381 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13382 with OVERFLOW_EXCEPTION.
13383 (exp10_test_data): Likewise.
13384 (exp2_test_data): Likewise.
13385 (expm1_test_data): Likewise.
13386 (lgamma_test_data): Likewise.
13387 (pow_test_data): Likewise.
13388 (tgamma_test_data): Likewise.
13389 (yn_test_data): Remove duplicate test of overflow.
13390
1c38ff73
JM
13391 * math/libm-test.inc (struct test_cc_c_data): New type.
13392 (RUN_TEST_LOOP_cc_c): New macro.
13393 (cpow_test_data): New variable.
13394 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13395
15c7c18d
JM
13396 * math/libm-test.inc (struct test_f_L_data): New type.
13397 (RUN_TEST_LOOP_f_L): New macro.
13398 (llrint_test_data): New variable.
13399 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13400 (llrint_tonearest_test_data): New variable.
13401 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13402 (llrint_towardzero_test_data): New variable.
13403 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13404 (llrint_downward_test_data): New variable.
13405 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13406 (llrint_upward_test_data): New variable.
13407 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13408 (llround_test_data): New variable.
13409 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13410
f137ff13
PC
134112013-05-13 Peter Collingbourne <pcc@google.com>
13412
13413 * math/atest-exp2.c (get_log2): Remove const attribute.
13414
3608cb24
JM
134152013-05-15 Joseph Myers <joseph@codesourcery.com>
13416
13417 * math/libm-test.inc (struct test_f_l_data): New type.
13418 (RUN_TEST_LOOP_f_l): New macro.
13419 (lrint_test_data): New variable.
13420 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13421 (lrint_tonearest_test_data): New variable.
13422 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13423 (lrint_towardzero_test_data): New variable.
13424 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13425 (lrint_downward_test_data): New variable.
13426 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13427 (lrint_upward_test_data): New variable.
13428 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13429 (lround_test_data): New variable.
13430 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13431
39b1f617
PC
134322013-05-15 Peter Collingbourne <pcc@google.com>
13433
1deff3dc
PC
13434 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13435 (EXTRACT_WORDS64) Use where appropriate.
13436 (INSERT_WORDS64) Likewise.
13437
791f3ba0
PC
13438 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13439 constraints with x constraints.
13440 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13441
39b1f617
PC
13442 * malloc/obstack.c (_obstack_compat): Add initializer.
13443
12fba011
EM
134442013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13445
13446 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13447 si_trapno and add si_addr_lsb to _sifields.sigfault.
13448 (si_trapno): Remove macro.
13449 (si_addr_lsb): Define new macro.
13450 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13451
d369f531
JM
134522013-05-15 Joseph Myers <joseph@codesourcery.com>
13453
b861c6c4
JM
13454 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13455 instead of TEST_f_l.
13456 (llrint_test_tonearest): Likewise.
13457 (llrint_test_towardzero): Likewise.
13458 (llrint_test_downward): Likewise.
13459 (llrint_test_upward): Likewise.
13460 (llround_test): Likewise.
13461
7abeee12
JM
13462 * math/libm-test.inc (struct test_f_i_data): Add comment.
13463 (RUN_TEST_LOOP_f_b): New macro.
13464 (RUN_TEST_LOOP_f_b_tg): Likewise.
13465 (finite_test_data): New variable.
13466 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13467 (isfinite_test_data): New variable.
13468 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13469 (isinf_test_data): New variable.
13470 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13471 (isnan_test_data): New variable.
13472 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13473 (isnormal_test_data): New variable.
13474 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13475 (issignaling_test_data): New variable.
13476 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13477 (signbit_test_data): New variable.
13478 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13479
cbe8c4d3
JM
13480 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13481 with INVALID_EXCEPTION.
13482 (acosh_test_data): Likewise.
13483 (asin_test_data): Likewise.
13484 (atanh_test_data): Likewise.
13485 (fmod_test_data): Likewise.
13486 (log_test_data): Likewise.
13487 (log10_test_data): Likewise.
13488 (log2_test_data): Likewise.
13489 (pow_test_data): Likewise.
13490 (sqrt_test_data): Likewise.
13491 (y0_test_data): Likewise.
13492 (y1_test_data): Likewise.
13493 (yn_test_data): Likewise.
13494
5575c0e5
JM
13495 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13496 function contents.
13497
d369f531
JM
13498 * math/libm-test.inc (struct test_ff_i_data): New type.
13499 (RUN_TEST_LOOP_ff_i_tg): New macro.
13500 (isgreater_test_data): New variable.
13501 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13502 (isgreaterequal_test_data): New variable.
13503 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13504 (isless_test_data): New variable.
13505 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13506 (islessequal_test_data): New variable.
13507 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13508 (islessgreater_test_data): New variable.
13509 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13510 (isunordered_test_data): New variable.
13511 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13512
781fd748
DM
135132013-05-14 David S. Miller <davem@davemloft.net>
13514
13515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13516
87aa21df
JM
135172013-05-14 Joseph Myers <joseph@codesourcery.com>
13518
5e908270
JM
13519 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13520
f71172e5
JM
13521 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13522 extra_test to int.
13523 (struct test_f_i_data): Change type of max_ulp to int.
13524
8cfa635a
JM
13525 * math/libm-test.inc (test_ffI_f1_data): New type.
13526 (RUN_TEST_LOOP_ffI_f1): New macro.
13527 (remquo_test_data): New variable.
13528 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13529
2bcb36b2
JM
13530 * setjmp/tst-setjmp-fp.c: New file.
13531 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13532 (link-libm): New variable.
13533 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13534
acbd839a
JM
13535 * math/libm-test.inc (struct test_f_i_data): New type.
13536 (RUN_TEST_LOOP_f_i): New macro.
13537 (RUN_TEST_LOOP_f_i_tg): Likewise.
13538 (fpclassify_test_data): New variable.
13539 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13540 (ilogb_test_data): New variable.
13541 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13542
e414d745
JM
13543 * math/libm-test.inc (scalbln_test): Correct function name in END
13544 call.
13545
d9c2a0fd
JM
13546 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13547 (RUN_TEST_LOOP_fI_f1): New macro.
13548 (frexp_test_data): New variable.
13549 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13550
9dc9095d
JM
13551 * math/libm-test.inc (struct test_fF_f1_data): New type.
13552 (RUN_TEST_LOOP_fF_f1): New macro.
13553 (modf_test_data): New variable.
13554 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13555
87aa21df
JM
13556 * math/libm-test.inc (struct test_f_f1_data): New type.
13557 (RUN_TEST_LOOP_f_f1): New macro.
13558 (gamma_test_data): New variable.
13559 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13560 (lgamma_test_data): New variable.
13561 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13562
141af660
CD
135632013-05-13 Carlos O'Donell <carlos@redhat.com>
13564
13565 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13566 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13567 (main): Comment "tls" pseudo-hwcap.
13568
6d33265c
JM
135692013-05-13 Joseph Myers <joseph@codesourcery.com>
13570
68fc074c
JM
13571 * math/libm-test.inc (struct test_fl_f_data): New type.
13572 (RUN_TEST_LOOP_fl_f): New variable.
13573 (scalbln_test_data): New variable.
13574 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13575
243216e1
JM
13576 * math/libm-test.inc (struct test_fi_f_data): New type.
13577 (RUN_TEST_LOOP_fi_f): New macro.
13578 (ldexp_test_data): New variable.
13579 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13580 (scalbn_test_data): New variable.
13581 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13582
6a1992e2
JM
13583 * math/libm-test.inc (struct test_c_f_data): New type.
13584 (RUN_TEST_LOOP_c_f): New macro.
13585 (cabs_test_data): New variable.
13586 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13587 (carg_test_data): New variable.
13588 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13589 (cimag_test_data): New variable.
13590 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13591 (creal_test_data): New variable.
13592 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13593
0e400df5
JM
13594 * math/libm-test.inc (struct test_if_f_data): New type.
13595 (RUN_TEST_LOOP_if_f): New macro.
13596 (jn_test_data): New variable.
13597 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13598 (yn_test_data): New variable.
13599 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13600
6d33265c
JM
13601 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13602
f98ece5f
AZ
136032013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13604
13605 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13606 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13607
0f7d347b
SP
136082013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13609
43fe811b
SP
13610 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13611 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13612 (bench-deps): Add bench-timing.h.
13613 * benchtests-bench-skeleton.c: Include bench-timing.h.
13614 (main): Use TIMING_* macros instead of clock_gettime.
13615 * benchtests/bench-timing.h: New file.
13616
0f7d347b
SP
13617 [BZ #14582]
13618 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13619 Renamed from _LIB_VERSION.
13620 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13621
601a3a5f
JM
136222013-05-12 Joseph Myers <joseph@codesourcery.com>
13623
4f184d30
JM
13624 * math/libm-test.inc (struct test_fff_f_data): New type.
13625 (RUN_TEST_LOOP_fff_f): New macro.
13626 (fma_test_data): New variable.
13627 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13628 (fma_towardzero_test_data): New variable.
13629 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13630 (fma_downward_test_data): New variable.
13631 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13632 (fma_upward_test_data): New variable.
13633 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13634
08198877
JM
13635 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13636 (struct test_c_c_data): New type.
13637 (RUN_TEST_LOOP_c_c): New macro.
13638 (cacos_test_data): New variable.
13639 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13640 (cacosh_test_data): New variable.
13641 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13642 (casin_test_data): New variable.
13643 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13644 (casinh_test_data): New variable.
13645 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13646 (catan_test_data): New variable.
13647 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13648 (catanh_test_data): New variable.
13649 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13650 (ccos_test_data): New variable.
13651 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13652 (ccosh_test_data): New variable.
13653 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13654 (cexp_test_data): New variable.
13655 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13656 (clog_test_data): New variable.
13657 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13658 (clog10_test_data): New variable.
13659 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13660 (conj_test_data): New variable.
13661 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13662 (cproj_test_data): New variable.
13663 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13664 (csin_test_data): New variable.
13665 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13666 (csinh_test_data): New variable.
13667 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13668 (csqrt_test_data): New variable.
13669 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13670 (ctan_test_data): New variable.
13671 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13672 (ctan_tonearest_test_data): New variable.
13673 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13674 (ctan_towardzero_test_data): New variable.
13675 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13676 (ctan_downward_test_data): New variable.
13677 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13678 (ctan_upward_test_data): New variable.
13679 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13680 (ctanh_test_data): New variable.
13681 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13682 (ctanh_tonearest_test_data): New variable.
13683 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13684 (ctanh_towardzero_test_data): New variable.
13685 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13686 (ctanh_downward_test_data): New variable.
13687 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13688 (ctanh_upward_test_data): New variable.
13689 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13690 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13691 of BUILD_COMPLEX.
13692
601a3a5f
JM
13693 * math/libm-test.inc (struct test_ff_f_data): New type.
13694 (struct test_ff_f_data_nexttoward): Likewise.
13695 (RUN_TEST_LOOP_2_f): New macro.
13696 (RUN_TEST_LOOP_ff_f): Likewise.
13697 (atan2_test_data): New variable.
13698 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13699 (copysign_test_data): New variable.
13700 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13701 (fdim_test_data): New variable.
13702 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13703 (fmax_test_data): New variable.
13704 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13705 (fmin_test_data): New variable.
13706 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13707 (fmod_test_data): New variable.
13708 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13709 (hypot_test_data): New variable.
13710 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13711 (nextafter_test_data): New variable.
13712 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13713 (nexttoward_test_data): New variable.
13714 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13715 (pow_test_data): New variable.
13716 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13717 (pow_tonearest_test_data): New variable.
13718 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13719 (pow_towardzero_test_data): New variable.
13720 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13721 (pow_downward_test_data): New variable.
13722 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13723 (pow_upward_test_data): New variable.
13724 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13725 (remainder_test_data): New variable.
13726 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13727 (scalb_test_data): New variable.
13728 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13729 * sysdeps/i386/fpu/libm-test-ulps: Update.
13730
74c57478
JM
137312013-05-11 Joseph Myers <joseph@codesourcery.com>
13732
8329e4da
JM
13733 * math/libm-test.inc (fma_test): Use max_value instead of local
13734 variable fltmax.
13735 (nextafter_test): Likewise.
13736
74c57478
JM
13737 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13738 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13739 (acos_downward_test_data): New variable.
13740 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13741 (acos_upward_test_data): New variable.
13742 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13743 (acosh_test_data): New variable.
13744 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13745 (asin_test_data): New variable.
13746 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13747 (asin_tonearest_test_data): New variable.
13748 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13749 (asin_towardzero_test_data): New variable.
13750 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13751 (asin_downward_test_data): New variable.
13752 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13753 (asin_upward_test_data): New variable.
13754 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13755 (asinh_test_data): New variable.
13756 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13757 (atan_test_data): New variable.
13758 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13759 (atanh_test_data): New variable.
13760 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13761 (cbrt_test_data): New variable.
13762 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13763 (ceil_test_data): New variable.
13764 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13765 (cos_test_data): New variable.
13766 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13767 (cos_tonearest_test_data): New variable.
13768 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13769 (cos_towardzero_test_data): New variable.
13770 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13771 (cos_downward_test_data): New variable.
13772 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13773 (cos_upward_test_data): New variable.
13774 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13775 (cosh_test_data): New variable.
13776 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13777 (cosh_tonearest_test_data): New variable.
13778 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13779 (cosh_towardzero_test_data): New variable.
13780 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13781 (cosh_downward_test_data): New variable.
13782 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13783 (cosh_upward_test_data): New variable.
13784 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13785 (erf_test_data): New variable.
13786 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13787 (erfc_test_data): New variable.
13788 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13789 (exp_test_data): New variable.
13790 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13791 (exp_tonearest_test_data): New variable.
13792 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13793 (exp_towardzero_test_data): New variable.
13794 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13795 (exp_downward_test_data): New variable.
13796 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13797 (exp_upward_test_data): New variable.
13798 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13799 (exp10_test_data): New variable.
13800 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13801 (exp2_test_data): New variable.
13802 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13803 (expm1_test_data): New variable.
13804 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13805 (fabs_test_data): New variable.
13806 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13807 (floor_test_data): New variable.
13808 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13809 (j0_test_data): New variable.
13810 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13811 (j1_test_data): New variable.
13812 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13813 (log_test_data): New variable.
13814 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13815 (log10_test_data): New variable.
13816 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13817 (log1p_test_data): New variable.
13818 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13819 (log2_test_data): New variable.
13820 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13821 (logb_test_data): New variable.
13822 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13823 (logb_downward_test_data): New variable.
13824 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13825 (nearbyint_test_data): New variable.
13826 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13827 (rint_test_data): New variable.
13828 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13829 (rint_tonearest_test_data): New variable.
13830 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13831 (rint_towardzero_test_data): New variable.
13832 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13833 (rint_downward_test_data): New variable.
13834 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13835 (rint_upward_test_data): New variable.
13836 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13837 (round_test_data): New variable.
13838 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13839 (sin_test_data): New variable.
13840 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13841 (sin_tonearest_test_data): New variable.
13842 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13843 (sin_towardzero_test_data): New variable.
13844 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13845 (sin_downward_test_data): New variable.
13846 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13847 (sin_upward_test_data): New variable.
13848 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13849 (sinh_test_data): New variable.
13850 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13851 (sinh_tonearest_test_data): New variable.
13852 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13853 (sinh_towardzero_test_data): New variable.
13854 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13855 (sinh_downward_test_data): New variable.
13856 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13857 (sinh_upward_test_data): New variable.
13858 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13859 (sqrt_test_data): New variable.
13860 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13861 (tan_test_data): New variable.
13862 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13863 (tan_tonearest_test_data): New variable.
13864 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13865 (tan_towardzero_test_data): New variable.
13866 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13867 (tan_downward_test_data): New variable.
13868 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13869 (tan_upward_test_data): New variable.
13870 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13871 (tanh_test_data): New variable.
13872 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13873 (tgamma_test_data): New variable.
13874 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13875 (trunc_test_data): New variable.
13876 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13877 (y0_test_data): New variable.
13878 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13879 (y1_test_data): New variable.
13880 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13881 (significand_test_data): New variable.
13882 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13883
7187d844
CG
138842013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13885
13886 [BZ #12387]
13887 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13888
f63fae73
PT
138892013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13890
13891 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13892
8a67a4b3
AJ
138932013-05-10 Andreas Jaeger <aj@suse.de>
13894
13895 [BZ #15448]
13896 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13897 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13898
51df539d
JM
138992013-05-10 Joseph Myers <joseph@codesourcery.com>
13900
13901 * math/gen-libm-test.pl (adjust_arg): New function.
13902 (special_functions): Handle generating output in both functions
13903 and arrays.
13904 (parse_args): Likewise.
13905 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13906 $in_func argument to parse_args.
13907 * math/libm-test.inc (struct test_f_f_data): New type.
13908 (IF_ROUND_INIT_): New macro.
13909 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13910 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13911 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13912 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13913 (ROUND_RESTORE_): Likewise.
13914 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13915 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13916 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13917 (ROUND_RESTORE_FE_UPWARD): Likewise.
13918 (RUN_TEST_LOOP_f_f): New macro.
13919 (acos_test_data): New variable.
13920 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13921 (acos_tonearest_test_data): New variable.
13922 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13923
5c637fe5
SP
139242013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13925
13926 * benchtests/bench-skeleton.c (startup): Fix coding style.
13927
ab2b9461
JM
139282013-05-10 Joseph Myers <joseph@codesourcery.com>
13929
13930 [BZ #6809]
13931 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13932 negative infinity argument.
13933 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13934 negative infinity argument.
13935 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13936 negative infinity argument.
13937 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13938 domain errors.
13939
4c0fe6fe
FW
139402013-05-10 Florian Weimer <fweimer@redhat.com>
13941
13942 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13943 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13944 * iconv/iconv_prog.c (main): Likewise.
13945 * locale/programs/charmap-dir.c (charmap_readdir)
13946 (fopen_uncompressed): Likewise.
13947 * locale/programs/locfile.c (siblings_uncached)
13948 (write_locale_data): Use lstat64 instead of lstat.
13949 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13950 stat.
13951
a3375d29
AJ
139522013-05-10 Andreas Jaeger <aj@suse.de>
13953
13954 [BZ #15395]
13955 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13956 localization.
13957 Include <locale.h>.
13958
36129722
CD
139592013-05-09 Carlos O'Donell <carlos@redhat.com>
13960
13961 * elf/dl-close.c (_dl_close_worker): Add comments.
13962
faa7f811
JM
139632013-05-09 Joseph Myers <joseph@codesourcery.com>
13964
ed41ffef
JM
13965 [BZ #15359]
13966 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13967 high part of pi/2.
13968 (__ieee754_rem_pio2l): Update comments.
13969
d0213cd0
JM
13970 [BZ #15429]
13971 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13972 high part of pi/2.
13973 (__ieee754_rem_pio2l): Update comments.
13974
0d3e777a
JM
13975 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13976 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13977
24f56066
JM
13978 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13979 M_PI_4l.
13980
faa7f811
JM
13981 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13982 (M_PI_34_LOG10El): Likewise.
13983 (M_PI2_LOG10El): Likewise.
13984 (M_PI4_LOG10El): Likewise.
13985 (M_PI_LOG10El): Likewise.
13986
e9a5e0fd
AZ
139872013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13988
13989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13990
d8cd06db
JM
139912013-05-08 Joseph Myers <joseph@codesourcery.com>
13992
a0d9f9d7
JM
13993 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13994 (MINUS_ZERO_INIT): Likewise.
13995 (PLUS_INFTY_INIT): Likewise.
13996 (MINUS_INFTY_INIT): Likewise.
13997 (QNAN_VALUE_INIT): Likewise.
13998 (MAX_VALUE_INIT): Likewise.
13999 (MIN_VALUE_INIT): Likewise.
14000 (MIN_SUBNORM_VALUE_INIT): Likewise.
14001 (plus_zero): Initialize with PLUS_ZERO_INIT.
14002 (minus_zero): Initialize with MINUS_ZERO_INIT.
14003 (plus_infty): Initialize with PLUS_INFTY_INIT.
14004 (minus_infty): Initialize with MINUS_INFTY_INIT.
14005 (qnan_value): Initialize with QNAN_VALUE_INIT.
14006 (max_value): Initialize with MAX_VALUE_INIT.
14007 (min_value): Initialize with MIN_VALUE_INIT.
14008 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14009
ae08db3b
JM
14010 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14011 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14012 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14013 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14014
f44bf14a
JM
14015 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14016 (RUN_TEST_2_f): Likewise.
14017 (RUN_TEST_ff_f): Likewise.
14018 (RUN_TEST_fi_f): Likewise.
14019 (RUN_TEST_fl_f): Likewise.
14020 (RUN_TEST_fff_f): Likewise.
14021 (RUN_TEST_c_f): Likewise.
14022 (RUN_TEST_f_f1): Likewise.
14023 (RUN_TEST_fF_f1): Likewise.
14024 (RUN_TEST_fI_f1): Likewise.
14025 (RUN_TEST_ffI_f1): Likewise.
14026 (RUN_TEST_c_c): Likewise.
14027 (RUN_TEST_cc_c): Likewise.
14028 (RUN_TEST_f_i): Likewise.
14029 (RUN_TEST_f_i_tg): Likewise.
14030 (RUN_TEST_ff_i_tg): Likewise.
14031 (RUN_TEST_f_b): Likewise.
14032 (RUN_TEST_f_b_tg): Likewise.
14033 (RUN_TEST_f_l): Likewise.
14034 (RUN_TEST_f_L): Likewise.
14035 (RUN_TEST_sincos): Likewise.
14036 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14037 whether to show exceptions. Do not include ");\n" in return
14038 value.
14039 (special_functions): Output call to RUN_TEST_sincos instead of
14040 check_float calls. Update calls to new_test.
14041 (parse_args): Output call to single RUN_TEST_* macro instead of
14042 check_* calls and other assignments. Update calls to new_test.
14043
d8cd06db
JM
14044 [BZ #2546]
14045 [BZ #2560]
14046 [BZ #5159]
14047 [BZ #15426]
14048 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14049 input to result for tgamma overflow.
14050 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14051 (gamma_coeff): New variable.
14052 (NCOEFF): New macro.
14053 (gamma_positive): New function.
14054 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14055 underflow here. Use gamma_positive instead of exp (lgamma) for
14056 other arguments.
14057 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14058 (gamma_coeff): New variable.
14059 (NCOEFF): New macro.
14060 (gammaf_positive): New function.
14061 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14062 underflow here. Use gamma_positive instead of exp (lgamma) for
14063 other arguments.
14064 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14065 (gamma_coeff): New variable.
14066 (NCOEFF): New macro.
14067 (gammal_positive): New function.
14068 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14069 underflow here. Use gamma_positive instead of exp (lgamma) for
14070 other arguments.
14071 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14072 (gamma_coeff): New variable.
14073 (NCOEFF): New macro.
14074 (gammal_positive): New function.
14075 (__ieee754_gammal_r): Handle positive infinity, overflow and
14076 underflow here. Handle NaN the same as positive infinity. Remove
14077 check x < 0xffffffff for negative integers. Use gamma_positive
14078 instead of exp (lgamma) for other arguments.
14079 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14080 (gamma_coeff): New variable.
14081 (NCOEFF): New macro.
14082 (gammal_positive): New function.
14083 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14084 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14085 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14086 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14087 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14088 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14089 * sysdeps/generic/math_private.h (__gamma_productf): New
14090 prototype.
14091 (__gamma_product): Likewise.
14092 (__gamma_productl): Likewise.
14093 * math/Makefile (libm-calls): Add gamma_product.
14094 * math/libm-test.inc (tgamma_test): Add more tests.
14095 * sysdeps/i386/fpu/libm-test-ulps: Update.
14096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14097
bb7cf681
OB
140982013-05-08 Ondřej Bílka <neleai@seznam.cz>
14099
14100 * benchtests/bench-skeleton.c (main): Preheat CPU.
14101
ba853947
AJ
141022013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14103
14104 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14105
8347c74c
RM
141062013-05-07 Roland McGrath <roland@hack.frob.com>
14107
14108 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14109 and _dl_skip_args_internal.
14110
e8dd4791
CD
141112013-05-07 Carlos O'Donell <carlos@redhat.com>
14112
14113 * manual/message.texi (Message Translation): Talk about users.
14114 Message to key mapping impacts design.
14115
c7405830
RM
141162013-05-06 Roland McGrath <roland@hack.frob.com>
14117
a9173057
RM
14118 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14119
976e2f03
RM
14120 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14121
9723ffc5
RM
14122 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14123 * sysdeps/wordsize-64/glob64.c: ... here.
14124
962e6658
RM
14125 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14126 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14127 New macros.
14128
ee586a6d
RM
14129 * debug/getlogin_r_chk.c: Moved to ...
14130 * login/getlogin_r_chk.c: ... here.
14131 * debug/Makefile (routines): Move getlogin_r_chk to ...
14132 * login/Makefile (routines): ... here.
14133 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14134 * login/Versions (libc: GLIBC_2.4): ... here.
14135
355f9165
RM
14136 * io/poll.c (__poll): Renamed from poll.
14137 Add libc_hidden_def.
14138 (poll): Define as weak alias.
14139
bd9ffde6
RM
14140 * debug/ptsname_r_chk.c: Moved to ...
14141 * login/ptsname_r_chk.c: ... here.
14142 * debug/Makefile (routines): Move ptsname_r_chk to ...
14143 * login/Makefile (routines): ... here.
14144 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14145 * login/Versions (libc: GLIBC_2.4): ... here.
14146
8fb16a04
RM
14147 * posix/getlogin.c: Moved to ...
14148 * login/getlogin.c: ... here.
14149 * posix/getlogin_r.c: Moved to ...
14150 * login/getlogin_r.c: ... here.
14151 * posix/getlogin_r.c: Moved to ...
14152 * login/getlogin_r.c: ... here.
14153 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14154 * login/Makefile (routines): ... here.
14155 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14156 * login/Versions (libc: GLIBC_2.0): ... here.
14157
b99b892f
RM
14158 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14159 (setrlimit): Define as weak alias.
14160
c7405830
RM
14161 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14162 Call __ names for open, ftruncate, and close.
14163 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14164 (truncate): Define as weak alias.
14165
5bf96de5
JM
141662013-05-06 Joseph Myers <joseph@codesourcery.com>
14167
9ea3513c
JM
14168 * math/gen-libm-test.pl (parse_args): Initialize x before each
14169 test of frexp, modf and remquo.
14170
5bf96de5
JM
14171 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14172 test signgam value.
14173
16e616a7
AZ
141742013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14175
14176 [BZ #15418]
14177 [BZ #15419]
14178 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14179 internal tests.
14180 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14181
d5e82754
RM
141822013-05-06 Roland McGrath <roland@hack.frob.com>
14183
14184 * elf/dl-writev.h: New file.
14185 * elf/dl-misc.c: Include it.
14186 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14187 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14188
a7548d41
JM
141892013-05-04 Joseph Myers <joseph@codesourcery.com>
14190
b7dab1e4
JM
14191 * math/libm-test.inc (noXFails): Remove variable.
14192 (noXPasses): Likewise.
14193 (BUILD_COMPLEX_INT): Remove macro.
14194 (print_screen): Remove xfail argument.
14195 (print_screen_max_error): Likewise.
14196 (update_stats): Likewise.
14197 (print_max_error): Likewise. Update calls to other affected
14198 functions.
14199 (print_complex_max_error): Likewise.
14200 (test_single_exception): Update calls to print_screen.
14201 (test_single_errno): Likewise.
14202 (check_float_internal): Remove xfail argument. Update calls to
14203 other affected functions.
14204 (check_float): Likewise.
14205 (check_complex): Likewise.
14206 (check_int): Likewise.
14207 (check_long): Likewise.
14208 (check_bool): Likewise.
14209 (check_longlong): Likewise.
14210 (main): Don't print noXFails and noXPasses.
14211 * math/gen-libm-test.pl (top level): Don't mention expected
14212 failure handling in comment.
14213 (new_test): Don't handle expected failures.
14214 (parse_args): Don't mention expected failure handling in comment.
14215 (generate_testfile): Don't handle expected failures.
14216 (parse_ulps): Likewise.
14217 (print_ulps_file): Likewise.
14218 (get_failure): Remove function.
14219 (output_test): Don't handle expected failures.
14220 * make/README.libm-test: Don't mention expected failure handling.
14221
a7548d41
JM
14222 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14223 (minus_zero): Likewise.
14224 (plus_infty): Likewise.
14225 (minus_infty): Likewise.
14226 (qnan_value): Likewise.
14227 (max_value): Likewise.
14228 (min_value): Likewise.
14229 (min_subnorm_value): Likewise.
14230 (initialize): Do not initialize those variables dynamically.
14231
60bfd54c
RM
142322013-05-03 Roland McGrath <roland@hack.frob.com>
14233
cc0e6ed8
RM
14234 * io/open.c (__open_2): Moved to ...
14235 * io/open_2.c: ... this new file.
14236 * io/open64.c (__open64_2): Moved to ...
14237 * io/open64_2.c: ... this new file.
14238 * io/openat.c (__openat_2): Moved to ...
14239 * io/openat_2.c: ... this new file.
14240 * io/openat64.c (__openat64_2): Moved to ...
14241 * io/openat64_2.c: ... this new file.
14242 * io/Makefile (routines): Add them.
14243 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14244 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14245 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14246 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14247 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14248 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14249 (__openat64): Add hidden_ver.
14250 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14251 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14252
60bfd54c
RM
14253 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14254 Separately conditionalize setting of GLRO(dl_sysinfo) so
14255 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14256 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14257
83e7640f
AZ
142582013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14259
14260 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14261 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14262 definition.
14263 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14264 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14265 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14266 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14267 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14268
d5dc2af3
JM
142692013-05-03 Joseph Myers <joseph@codesourcery.com>
14270
c31a5b1e
JM
14271 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14272 test signgam value.
14273
d5dc2af3
JM
14274 * math/libm-test.inc (hypot_test): Do not use
14275 IGNORE_ZERO_INF_SIGN.
14276
164fd39d
AJ
142772013-05-03 Andreas Jaeger <aj@suse.de>
14278
14279 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14280 Linux 3.9.
14281 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14282 (PF_MAX): Adjust for VSOCK change.
14283
8237f48c
AZ
142842013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14285
14286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14287
9df02941
CD
142882013-05-02 Carlos O'Donell <carlos@redhat.com>
14289
14290 [BZ #15264]
14291 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14292 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14293 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14294
d422395e
DM
142952013-05-02 David S. Miller <davem@davemloft.net>
14296
14297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14298
a07c5731
OB
142992013-05-01 Ondřej Bílka <neleai@seznam.cz>
14300
14301 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14302
1324e37f
RM
143032013-05-01 Roland McGrath <roland@hack.frob.com>
14304
14305 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14306
0695940b
RS
143072013-05-01 Richard Smith <richard@metafoo.co.uk>
14308
bb5f27ad 14309 [BZ #14952]
0695940b
RS
14310 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14311 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14312 Use __attribute__ ((__gnu_inline__)).
14313 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14314 Don't use __attribute__ ((__gnu_inline__)).
14315
10de07f5
JM
143162013-05-01 Joseph Myers <joseph@codesourcery.com>
14317
14318 [BZ #15423]
14319 * math/s_catan.c (__catan): Handle small real or imaginary part of
14320 input specially to avoid spurious underflow.
14321 * math/s_catanf.c (__catanf): Likewise.
14322 * math/s_catanh.c (__catanh): Likewise.
14323 * math/s_catanhf.c (__catanhf): Likewise.
14324 * math/s_catanhl.c (__catanhl): Likewise.
14325 * math/s_catanl.c (__catanl): Likewise.
14326 * math/libm-test.inc (catan_test): Add more tests.
14327 (catanh_test): Likewise.
14328 * sysdeps/i386/fpu/libm-test-ulps: Update.
14329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14330
cb4d5414
AZ
143312013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14332
14333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14334
caf84319
JM
143352013-04-30 Joseph Myers <joseph@codesourcery.com>
14336
14337 [BZ #15416]
14338 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14339 accurately for denominator in atan2.
14340 * math/s_catanf.c (__catanf): Likewise.
14341 * math/s_catanh.c (__catanh): Likewise.
14342 * math/s_catanhf.c (__catanhf): Likewise.
14343 * math/s_catanhl.c (__catanhl): Likewise.
14344 * math/s_catanl.c (__catanl): Likewise.
14345 * math/libm-test.inc (catan_test): Add more tests.
14346 (catanh_test): Likewise.
14347 * sysdeps/i386/fpu/libm-test-ulps: Update.
14348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14349
d569c6ee
SP
143502013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14351
6dbe713d
SP
14352 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14353
f0ee064b
SP
14354 * benchtests/Makefile (bench): Remove slow benchmarks.
14355 * benchtests/atan-inputs: Add slow benchmark inputs.
14356 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14357 (BENCH_FUNC): Accept variant offset.
14358 (VARIANT): Define.
14359 * benchtests/bench-skeleton.c (main): Run benchmark for each
14360 variant.
14361 * benchtests/cos-inputs: Add slow benchmark inputs.
14362 * benchtests/exp-inputs: Likewise.
14363 * benchtests/pow-inputs: Likewise.
14364 * benchtests/sin-inputs: Likewise.
14365 * benchtests/slowatan-inputs: Remove.
14366 * benchtests/slowatan.c: Remove.
14367 * benchtests/slowcos-inputs: Remove.
14368 * benchtests/slowcos.c: Remove.
14369 * benchtests/slowexp-inputs: Remove.
14370 * benchtests/slowexp.c: Remove.
14371 * benchtests/slowpow-inputs: Remove.
14372 * benchtests/slowpow.c: Remove.
14373 * benchtests/slowsin-inputs: Remove.
14374 * benchtests/slowsin.c: Remove.
14375 * benchtests/slowtan-inputs: Remove.
14376 * benchtests/slowtan.c: Remove.
14377 * benchtests/tan-inputs: Add slow benchmark inputs.
14378 * scripts/bench.pl: Parse comments and directives.
14379
d569c6ee
SP
14380 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14381 in CPPFLAGS.
14382 ($(objpfx)bench-%.c): Remove *-ITER.
14383 * benchtests/bench-modf.c: Remove definition of ITER.
14384 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14385 (main): Loop for DURATION seconds instead of fixed number of
14386 iterations.
14387 * scripts/bench.pl: Don't expect iterations in parameters.
14388
a6a242fe
RM
143892013-04-29 Roland McGrath <roland@hack.frob.com>
14390
14391 * io/fchdir.c (__fchdir): Renamed from fchdir.
14392 (fchdir): Define as weak alias.
14393
f2da7793
JM
143942013-04-29 Joseph Myers <joseph@codesourcery.com>
14395
14396 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14397 (ERRNO_EDOM): Likewise.
14398 (ERRNO_ERANGE): Likewise.
14399 (noErrnoTests): New variable.
14400 (init_max_error): Set errno to 0.
14401 (test_single_errno): New function.
14402 (test_errno): Likewise.
14403 (check_float_internal): Call test_errno. Set errno to 0.
14404 (check_complex): Refer to errno tests in comment.
14405 (check_int): Call test_errno. Set errno to 0.
14406 (check_long): Likewise.
14407 (check_bool): Likewise.
14408 (check_longlong): Likewise.
14409 (cos_test): Use ERRNO_* flags for errno tests instead of
14410 check_int.
14411 (expm1_test): Likewise.
14412 (fmod_test): Likewise.
14413 (ilogb_test): Likewise.
14414 (lgamma_test): Likewise.
14415 (pow_test): Likewise.
14416 (remainder_test): Likewise.
14417 (sin_test): Likewise.
14418 (tan_test): Likewise.
14419 (yn_test): Likewise.
14420 (initialize): Set errno to 0.
14421 (main): Print number of errno tests.
14422 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14423
b1a36ceb
AJ
144242013-04-29 Andreas Jaeger <aj@suse.de>
14425
c3ed8088
AJ
14426 [BZ #15084]
14427 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14428 and RES_USEVC.
14429
f1a24198
AJ
14430 [BZ #15085]
14431 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14432 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14433 unimplemented.
14434
9ce3b2cb
AJ
14435 [BZ #15380]
14436 * stdlib/random.c (__initstate): Return NULL if
14437 __initstate fails.
14438
f1a24198 14439 [BZ #15086]
b1a36ceb
AJ
14440 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14441 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14442 RES_SNGLKUPREOP.
14443
7e7b6f36
AZ
144442013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14445
14446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14447
4d14f449
JM
144482013-04-29 Joseph Myers <joseph@codesourcery.com>
14449
14450 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14451 of individual tests.
14452 (casin_test): Likewise.
14453 (casinh_test): Likewise.
14454
5b4217d7
JM
144552013-04-27 Joseph Myers <joseph@codesourcery.com>
14456
14457 [BZ #15409]
14458 * math/s_catan.c (__catan): Handle arguments with large real or
14459 imaginary part separately without squaring.
14460 * math/s_catanf.c (__catanf): Likewise.
14461 * math/s_catanh.c (__catanh): Likewise.
14462 * math/s_catanhf.c (__catanhf): Likewise.
14463 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14464 and redefine.
14465 (__catanhl): Handle arguments with large real or imaginary part
14466 separately without squaring.
14467 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14468 and redefine.
14469 (__catanl): Handle arguments with large real or imaginary part
14470 separately without squaring.
14471 * math/libm-test.inc (catan_test): Add more tests.
14472 (catanh_test): Likewise.
14473 * sysdeps/i386/fpu/libm-test-ulps: Update.
14474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14475
4220c3ef
AJ
144762013-04-27 Andreas Jaeger <aj@suse.de>
14477
14478 [BZ #15007]
14479 * stdlib/stdlib.h: Update guards for qecvt.
14480 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14481 <stdlib.h>.
14482
4721b2d1
AM
144832013-04-27 Allan McRae <allan@archlinux.org>
14484
14485 * sysdeps/i386/fpu/libm-test-ulps: Update.
14486
f0302940
JM
144872013-04-26 Joseph Myers <joseph@codesourcery.com>
14488
9457fd95
JM
14489 [BZ #15406]
14490 * math/s_catan.c: Include <float.h>.
14491 (__catan): Ensure underflow exception occurs for underflowed
14492 result.
14493 * math/s_catanf.c: Include <float.h>.
14494 (__catanf): Ensure underflow exception occurs for underflowed
14495 result.
14496 * math/s_catanh.c: Include <float.h>.
14497 (__catanh): Ensure underflow exception occurs for underflowed
14498 result.
14499 * math/s_catanhf.c: Include <float.h>.
14500 (__catanhf): Ensure underflow exception occurs for underflowed
14501 result.
14502 * math/s_catanhl.c: Include <float.h>.
14503 (__catanhl): Ensure underflow exception occurs for underflowed
14504 result.
14505 * math/s_catanl.c: Include <float.h>.
14506 (__catanl): Ensure underflow exception occurs for underflowed
14507 result.
14508 * math/libm-test.inc (catan_test): Add more tests.
14509 (catanh_test): Likewise.
14510
f0302940
JM
14511 [BZ #15405]
14512 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14513 underflowed result.
14514 * math/s_ccoshf.c (__ccoshf): Likewise.
14515 * math/s_ccoshl.c (__ccoshl): Likewise.
14516 * math/s_csin.c (__csin): Likewise.
14517 * math/s_csinf.c (__csinf): Likewise.
14518 * math/s_csinh.c (__csinh): Likewise.
14519 * math/s_csinhf.c (__csinhf): Likewise.
14520 * math/s_csinhl.c (__csinhl): Likewise.
14521 * math/s_csinl.c (__csinl): Likewise.
14522 * math/libm-test.inc (ccos_test): Add more tests.
14523 (ccosh_test): Likewise.
14524 (csin_test): Likewise.
14525 (csinh_test): Likewise.
14526
aa630f59
AZ
145272013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14528
14529 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14530 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14531 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14532 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14533 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14534 powerpc/power5+/fpu folders.
14535 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14536
14537
1b835983
MT
145382013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14539
14540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14541
73709b26
JM
145422013-04-25 Joseph Myers <joseph@codesourcery.com>
14543
14544 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14545 additions to variable.
14546 [$(config-machine) = x86_64] (modules-names): Likewise.
14547 ($(objpfx)tst-audit3): Remove dependency.
14548 ($(objpfx)tst-audit3.out): Likewise.
14549 ($(objpfx)tst-audit4): Likewise.
14550 ($(objpfx)tst-audit4.out): Likewise.
14551 ($(objpfx)tst-audit5): Likewise.
14552 ($(objpfx)tst-audit5.out): Likewise.
14553 ($(objpfx)tst-audit6): Likewise.
14554 ($(objpfx)tst-audit6.out): Likewise.
14555 ($(objpfx)tst-audit7): Likewise.
14556 ($(objpfx)tst-audit7.out): Likewise.
14557 (tst-audit3-ENV): Remove variable.
14558 (tst-audit4-ENV): Likewise.
14559 (tst-audit5-ENV): Likewise.
14560 (tst-audit6-ENV): Likewise.
14561 (tst-audit7-ENV): Likewise.
14562 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14563 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14564 addition to variable.
14565 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14566 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14567 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14568 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14569 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14570 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14571 tst-audit3, tst-audit4 and tst-audit5.
14572 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14573 tst-audit6 and tst-audit7.
14574 [$(subdir) = elf] (modules-names): Add audit modules for those
14575 tests.
14576 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14577 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14578 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14579 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14580 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14581 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14582 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14583 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14584 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14585 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14586 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14587 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14588 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14589 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14590 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14591 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14592 Likewise.
14593 [$(subdir) = elf && $(config-cflags-avx) = yes]
14594 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14595 [$(subdir) = elf && $(config-cflags-avx) = yes]
14596 (CFLAGS-tst-auditmod4a.c): Likewise.
14597 [$(subdir) = elf && $(config-cflags-avx) = yes]
14598 (CFLAGS-tst-auditmod4b.c): Likewise.
14599 [$(subdir) = elf && $(config-cflags-avx) = yes]
14600 (CFLAGS-tst-auditmod6b.c): Likewise.
14601 [$(subdir) = elf && $(config-cflags-avx) = yes]
14602 (CFLAGS-tst-auditmod6c.c): Likewise.
14603 [$(subdir) = elf && $(config-cflags-avx) = yes]
14604 (CFLAGS-tst-auditmod7b.c): Likewise.
14605 * elf/tst-audit3.c: Move to ...
14606 * sysdeps/x86_64/tst-audit3.c: ... here.
14607 * elf/tst-audit4.c: Move to ...
14608 * sysdeps/x86_64/tst-audit4.c: ... here.
14609 * elf/tst-audit5.c: Move to ...
14610 * sysdeps/x86_64/tst-audit5.c: ... here.
14611 * elf/tst-audit6.c: Move to ...
14612 * sysdeps/x86_64/tst-audit6.c: ... here.
14613 * elf/tst-audit7.c: Move to ...
14614 * sysdeps/x86_64/tst-audit7.c: ... here.
14615 * elf/tst-auditmod3a.c: Move to ...
14616 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14617 * elf/tst-auditmod3b.c: Move to ...
14618 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14619 * elf/tst-auditmod4a.c: Move to ...
14620 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14621 * elf/tst-auditmod4b.c: Move to ...
14622 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14623 * elf/tst-auditmod5a.c: Move to ...
14624 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14625 * elf/tst-auditmod5b.c: Move to ...
14626 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14627 * elf/tst-auditmod6a.c: Move to ...
14628 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14629 * elf/tst-auditmod6b.c: Move to ...
14630 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14631 * elf/tst-auditmod6c.c: Move to ...
14632 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14633 * elf/tst-auditmod7a.c: Move to ...
14634 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14635 * elf/tst-auditmod7b.c: Move to ...
14636 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14637
1ef74943
PP
146382013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14639
14640 [BZ #15366]
14641 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14642 define unconditionally.
14643 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14644 define unconditionally.
14645 (INT8_C, INT16_C, etc.): Likewise.
14646
93fd48c5
MR
146472013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14648
ae9552cf
MR
14649 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14650 __ehdr_start with hidden visibility.
14651
93fd48c5
MR
14652 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14653
418601aa
CD
146542013-04-24 Carlos O'Donell <carlos@redhat.com>
14655
14656 * math/libm-test.inc (cos_test): Use accurate hex constants.
14657 (sincost_test): Likewise.
14658
2f38fbfe
JM
146592013-04-24 Joseph Myers <joseph@codesourcery.com>
14660
5e221800
JM
14661 * math/libm-test.inc (catan_test): Add more tests.
14662 (catanh_test): Likewise.
14663
77f143fd
JM
14664 * math/s_catanf.c (__catanf): Use suffixed floating-point
14665 constants.
14666 * math/s_catanhf.c (__catanhf): Likewise.
14667 * math/s_catanhl.c (__catanhl): Likewise.
14668 * math/s_catanl.c (__catanl): Likewise.
14669
2f38fbfe
JM
14670 [BZ #15394]
14671 * math/s_catan.c (__catan): Calculate imaginary part of result
14672 with log1p not log unless computing log of number close to 0.
14673 * math/s_catanf.c (__catanf): Likewise.
14674 * math/s_catanl.c (__catanl): Likewise.
14675 * math/s_catanh.c (__catanh): Calculate real part of result with
14676 log1p not log unless computing log of number close to 0.
14677 * math/s_catanhf.c (__catanhf): Likewise.
14678 * math/s_catanhl.c (__catanhl): Likewise.
14679 * math/libm-test.inc (catan_test): Add more tests.
14680 (catanh_test): Likewise.
14681 * sysdeps/i386/fpu/libm-test-ulps: Update.
14682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14683
45d69176
SP
146842013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14685
14686 * benchtests/Makefile: Mention files in which fast and slow
14687 paths of math functions are implemented.
14688
87f51853
RM
146892013-04-23 Roland McGrath <roland@hack.frob.com>
14690
14691 * sysdeps/posix/timespec_get.c: New file.
14692
3c026539
AZ
146932013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14694
14695 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14696 POWER.
14697 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14698 for POWER.
14699 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14700 powerpc/power5/fpu folders.
14701 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14702 * benchtests/Makefile: Add modf testcase.
14703 * benchtests/bench-modf.c: New file: Benchmark test for mo
14704
ff491d14
SP
147052013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14706
14707 [BZ #14888]
14708 * time/Makefile (tests): Add tst-strptime-whitespace.
14709 * time/strptime_l.c (get_number): Use ISSPACE.
14710 (__strptime_internal): Likewise.
14711 * time/tst-strptime-whitespace.c: New test case.
14712
7ed3f4e8
AS
147132013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14714
14715 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14716 member.
14717 (_nss_files_init): Set it here.
14718
5c95f7b6
HC
147192013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14720
14721 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14722 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14723 unsigned.
14724
d34c9158
JBG
147252013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14726
14727 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14728
2169712d
SP
147292013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14730
14731 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14732 size just once.
14733
29c5de99
DM
147342013-04-21 David S. Miller <davem@davemloft.net>
14735
14736 * po/ru.po: Update Russion translation from translation project.
14737
ccdad15d
AC
147382013-04-17 Adam Conrad <adconrad@0c3.net>
14739
14740 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14741 and setfsgid.
14742
0f122b8d
CD
147432013-04-17 Carlos O'Donell <carlos@redhat.com>
14744
5c5b07da 14745 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14746 * configure: Regenerate.
5c5b07da 14747 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14748 Add example to error message.
14749 * sysdeps/i386/configure: Regenerate.
14750
037714dd
SP
147512013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14752
14753 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14754 slowtan.
14755 * benchtests/cos-inputs: New file.
14756 * benchtests/slowcos-inputs: New file.
14757 * benchtests/slowcos.c: New file.
14758 * benchtests/slowtan-inputs: New file.
14759 * benchtests/slowtan.c: New file.
14760 * benchtests/tan-inputs: New file.
14761
e913141d
RM
147622013-04-16 Roland McGrath <roland@hack.frob.com>
14763
14764 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14765 considered kosher.
14766
a2964074
SP
147672013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14768
4856bcd2
SP
14769 * benchtests/Makefile: Include cppflags-iterator.mk to add
14770 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14771
a2964074
SP
14772 * Makefile.in (bench-clean): New target.
14773 * benchtests/Makefile (bench-clean): Likewise.
14774
9fbf9aca
DH
147752013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14776
14777 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14778
207d1e2a
TS
147792013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14780
14781 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14782
306dfba9
AS
147832013-04-15 Andreas Schwab <schwab@suse.de>
14784
14785 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14786 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14787 * nscd/pwdcache.c (cache_addpw): Likewise.
14788 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14789 more than recsize.
14790
206a6699
SP
147912013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14792
14793 * benchtests/Makefile (bench): Write all output to
14794 bench-out.tmp together.
14795
0582f6b3
AS
147962013-04-15 Andreas Schwab <schwab@suse.de>
14797
14798 * nscd/nscd.c (main): Don't fork again after closing files.
14799
acb4325f
SP
148002013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14801
5cb26d0a
SP
14802 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14803
acb4325f
SP
14804 * benchtests/Rules (bench-deps): Collect dependencies into a
14805 single variable. Add Makefile to dependencies.
14806 ($(objpfx)bench-%.c): Depend on bench-deps.
14807
47792506
RM
148082013-04-12 Roland McGrath <roland@hack.frob.com>
14809 Xavier Roche <roche+kml2@exalead.com>
14810
14811 [BZ #15361]
14812 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14813 just that it's a file descriptor.
14814 * manual/llio.texi (Synchronizing AIO Operations): Update description
14815 for EBADF error from aio_fsync.
14816
8fc1bee5
SP
148172013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14818
14819 * Rules (bench): Move target definition...
14820 * benchtests/Makefile: ... here.
14821
aba5e333
CD
148222013-04-11 Carlos O'Donell <carlos@redhat.com>
14823
14824 * math/libm-test.inc (cos_test): Fix PI/2 test.
14825 (sincos_test): Likewise.
14826 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14827 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14828
273cdee8
AS
148292013-04-11 Andreas Schwab <schwab@suse.de>
14830
6ecec3b6
AS
14831 [BZ #13988]
14832 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14833 accept exponent character only when digits were seen.
14834 * stdio-common/Makefile (tests): Add bug26.
14835 * stdio-common/bug26.c: New file.
14836
273cdee8
AS
14837 [BZ #14293]
14838 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14839 non-freeable.
14840
8da491f5
SP
148412013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14842
01dc6df9
SP
14843 * Makeconfig (rtld-prefix): Define built linker prefix.
14844 * Rules (run-bench): Use it.
14845 * math/Makefile (run-regen-ulps): Likewise.
14846
8da491f5
SP
14847 * Rules (bench): Remove eval.
14848
abe7f530
SP
148492013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14850 Roland McGrath <roland@hack.frob.com>
14851 Ondrej Bilka <neleai@seznam.cz>
14852
14853 [BZ #15346]
14854 * time/getdate.c: Include ctype.h and alloca.h.
14855 (__getdate_r): Trim leading and trailing spaces of input.
14856 * time/tst-getdate.c (tests): Add tests with leading and
14857 trailing spaces.
14858
61c23e62
RM
148592013-04-08 Roland McGrath <roland@hack.frob.com>
14860
14861 [BZ #14280]
14862 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14863 when computing value.
14864
7208a313
CD
148652013-04-06 Carlos O'Donell <carlos@redhat.com>
14866
085b2d41
CD
14867 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14868 Use testrun.sh to run libm tests.
14869
7208a313
CD
14870 [BZ #15309]
14871 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14872
872c0acd
MM
148732013-04-06 Marko Myllynen <myllynen@redhat.com>
14874
14875 [BZ #15264]
14876 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14877
26510bdd
CD
148782013-04-06 Carlos O'Donell <carlos@redhat.com>
14879
14880 * Makefile.in (regen-ulps): New target.
14881 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14882 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14883 [ifneq (no,$(PERL)] (regen-ulps): New target.
14884 [ifeq (no,$(PERL)] (regen-ulps): New target.
14885 * math/libm-test.inc (ulps_file_name): Define.
14886 (output_dir): New variable.
14887 (options): Add "output-dir" option.
14888 (parse_opt): Handle 'o' case.
14889 (main): If output_dir is non-NULL use it as a prefix
14890 otherwise use "".
14891 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14892
a01f19c8
CD
148932013-04-06 Carlos O'Donell <carlos@redhat.com>
14894
14895 [BZ #10060, #10062]
14896 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14897 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14898 fail configure if __sync_val_compare_and_swap is not inlined.
14899 * sysdeps/i386/configure: Regenerate.
14900 * configure.in: Build for i686 when configured for i386.
14901 * configure: Regenerate.
14902 * README: Remove i386 reference.
14903
b7a329a5
CD
149042013-04-06 Carlos O'Donell <carlos@redhat.com>
14905
14906 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14907 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14908
bf0f50df
TS
149092013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14910
ee091edf
TS
14911 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14912 (lmsnanval): New variables.
14913 (F): Add conversion tests.
14914 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14915 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14916
a8b792d6
TS
14917 * stdio-common/tstdiomisc.c (F): Properly collect individual
14918 tests' results.
14919
a1cbf437
TS
14920 [BZ #14686, #15336]
14921 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14922 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14923 Instead, use input NaN values or generate a qNaN by arithmetic
14924 operation. Also fix bugs to comply with the standard.
14925 * math/libm-test.inc (remainder_test): Add more tests.
14926
8b43a0c9
TS
14927 [BZ #15335, #15342]
14928 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14929 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14930 input NaN values or generate a qNaN by arithmetic operation.
14931
d91da4ce
TS
14932 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14933 unreachable code.
14934
bf0f50df
TS
14935 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14936 definitions.
14937
05e166c8
JM
149382013-04-03 Joseph Myers <joseph@codesourcery.com>
14939
14940 [BZ #14478]
14941 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14942 underflowed result.
14943 * math/s_cexpf.c (__cexpf): Likewise.
14944 * math/s_cexpl.c (__cexpl): Likewise.
14945 * math/libm-test.inc (cexp_test): Add more tests.
14946
1cef1b19
AS
149472013-04-03 Andreas Schwab <schwab@suse.de>
14948
14949 [BZ #15330]
14950 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14951 order arrays from heap if bigger than alloca cutoff.
14952
74d87055
TS
149532013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14954
14955 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14956 (SNAN_TESTS_double): Refer to GCC PR56831.
14957 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14958 GCC PR56828.
14959
d755bba4
SP
149602013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14961
90d5d5bb
SP
14962 * Rules (bench): Move bench.out after the run is complete.
14963
73e0cd5d
SP
14964 * Rules (bench): Echo currently running benchmark.
14965
64aabd4b
SP
14966 * benchtests/Makefile (bench): Add atan and slowatan.
14967 * benchtests/atan-inputs: New file.
14968 * benchtests/slowatan-inputs: New file.
14969 * benchtests/slowatan.c: New file.
14970
c871eccd
SP
14971 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14972 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14973 its value.
14974
d755bba4
SP
14975 [BZ #15305]
14976 * sysdeps/unix/sysv/linux/kernel-features.h
14977 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14978 __ASSUME_XFS_RESTRICTED_CHOWN.
14979 * sysdeps/unix/sysv/linux/pathconf.c
14980 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14981 Save and restore errno.
14982
52ce4860
JM
149832013-04-02 Joseph Myers <joseph@codesourcery.com>
14984
14985 [BZ #15327]
14986 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14987 arguments using __kernel_casinh.
14988 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14989 arguments using __kernel_casinhf.
14990 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14991 arguments using __kernel_casinhl.
14992 * math/libm-test.inc (cacosh_test): Add more tests.
14993 * sysdeps/i386/fpu/libm-test-ulps: Update.
14994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14995
81f311c2
SP
149962013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14997
e7906a47
SP
14998 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15000
92e3664b
SP
15001 * bench/Makefile (bench): Add sin and slowsin.
15002 * benchtests/sin-inputs: New file.
15003 * benchtests/slowsin-inputs: New file.
15004 * benchtests/slowsin.c: New file.
15005
81f311c2
SP
15006 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15007 (bench): Add slowexp and slowpow.
15008 (exp-ITER): Increase iterations.
15009 (pow-ITER): Likewise.
15010 * benchtests/exp-inputs: Change input.
15011 * benchtests/pow-inputs: Likewise.
15012 * benchtests/slowexp-inputs: New file.
15013 * benchtests/slowexp.c: New file.
15014 * benchtests/slowpow-inputs: New file.
15015 * benchtests/slowpow.c: New file.
15016
ab0f1aa9
AZ
150172013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15018
15019 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15020 instructions.
15021 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15022 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15023 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15024 * benchtests/Makefile: Add rint benchtest.
15025 * benchtests/rint-inputs: Input for rint benchtest.
15026
57267616
TS
150272013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15028
15029 * Versions.def (libm): Add GLIBC_2.18.
15030 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15031 hidden libm prototypes.
15032 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15033 * math/Makefile (libm-calls): Add s_issignaling.
15034 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15035 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15036 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15037 declaration.
15038 * math/math.h [__USE_GNU] (issignaling): New macro.
15039 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15040 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15042 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15044 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15045 * manual/arith.texi (issignaling): New section.
15046 * manual/libm-err-tab.pl (@all_functions): Update comment.
15047 * math/gen-libm-test.pl (parse_args): Apply special handling for
15048 issignaling.
15049 * math/libm-test.inc (print_float, issignaling_test): New
15050 functions.
15051 (check_float_internal): Add issignaling checks.
15052 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15053 default definition.
15054 * sysdeps/powerpc/math-tests.h: New file.
15055 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15056 tests.
15057 * math/test-snan.c (TEST_FUNC): Likewise.
15058
6142896d
DM
150592013-03-30 David S. Miller <davem@davemloft.net>
15060
15061 * po/de.po: Update from translation team.
15062
ccc8cadf
JM
150632013-03-30 Joseph Myers <joseph@codesourcery.com>
15064
15065 [BZ #10357]
15066 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15067 imaginary part less than 1.0 and real part less than 0.5
15068 specially.
15069 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15070 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15071 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15072 (cacos_test): Add more tests.
15073 (casin_test): Likewise.
15074 (casinh_test): Likewise.
15075 * sysdeps/i386/fpu/libm-test-ulps: Update.
15076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15077
0f6a8d4b
SP
150782013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15079
0d1029de
SP
15080 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15081 ONE with its value.
15082
c2d94018
SP
15083 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15084 (__pow_mp): Replace ONE and MONE with their values.
15085 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15086 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15087 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15088 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15089 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15090 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15091
27ec37f1
SP
15092 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15093
a64d7e0e
SP
15094 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15095 (__pow_mp): Replace ZERO and MZERO with their values.
15096 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15097 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15098 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15099 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15100 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15101 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15102 (__sqr): Likewise.
15103
d26dd3eb
SP
15104 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15105
0f6a8d4b
SP
15106 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15107
e57b0c61
RM
151082013-03-28 Roland McGrath <roland@hack.frob.com>
15109
15110 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15111 Declare with __attribute__ ((weak)).
15112 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15113 Call __call_tls_dtors only if it's not NULL.
15114
356b3480
RM
151152013-03-28 Roland McGrath <roland@hack.frob.com>
15116
288f7d79
RM
15117 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15118 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15119 magic __ehdr_start linker symbol if it's defined.
15120 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15121 them up here if it was already done.
15122
dc0a0263
RM
15123 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15124 (_dl_aux_init): Use const in cast when setting it.
15125 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15126 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15127 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15128
3d3436ae
RM
15129 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15130 Declare them here.
15131 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15132 * csu/libc-tls.c: Nor here.
15133 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15134
356b3480
RM
15135 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15136 (__libc_message): Never call vsyslog.
15137
b0f1246a
AM
151382013-03-28 Alan Modra <amodra@gmail.com>
15139
15140 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15141 Define as empty.
15142 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15143 Likewise.
15144
fbbe2b9a
AZ
151452013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15146
15147 [BZ #15214]
15148 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15149 underflow.
15150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15151
1728ab37
SP
151522013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15153
7a86be6e
SP
15154 [BZ #15304]
15155 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15156 Don't add gid passed as argument.
15157
1728ab37
SP
15158 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15159
3a7182a1
JM
151602013-03-27 Joseph Myers <joseph@codesourcery.com>
15161
15162 [BZ #15307]
15163 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15164 imaginary part between 1.0 and 1.5 and real part less than 0.5
15165 specially.
15166 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15167 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15168 * math/libm-test.inc (cacos_test): Add more tests.
15169 (casin_test): Likewise.
15170 (casinh_test): Likewise.
15171 * sysdeps/i386/fpu/libm-test-ulps: Update.
15172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15173
6f2e90e7
SP
151742013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15175
5739f705
SP
15176 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15177 constants.
15178 (norm): Likewise.
15179 (denorm): Likewise.
15180 (__dbl_mp): Likewise.
15181 (add_magnitudes): Likewise.
15182 (sub_magnitudes): Likewise.
15183 (__add): Likewise.
15184 (__sub): Likewise.
15185 (__mul): Likewise.
15186 (__sqr): Likewise.
15187 (__inv): Likewise.
15188 (__dvd): Likewise.
15189
e375e83d
SP
15190 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15191 commented code.
15192 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15193 (__dubcos): Likewise.
15194 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15195 (__ieee754_acos): Likewise.
15196 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15197 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15198 (__exp1): Likewise.
15199 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15200 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15201 (log1): Likewise.
15202 (my_log2): Likewise.
15203 (checkint): Likewise.
15204 * sysdeps/ieee754/dbl-64/e_remainder.c
15205 (__ieee754_remainder): Likewise.
15206 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15207 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15208 (bsloww): Likewise.
15209 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15210
6f2e90e7
SP
15211 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15212 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15213 MANTISSA_STORE_T to store computations on mantissa. Use
15214 macros for rounding and division.
15215 (denorm): Likewise.
15216 (__dbl_mp): Likewise.
15217 (add_magnitudes): Likewise.
15218 (sub_magnitudes): Likewise.
15219 (__mul): Likewise.
15220 (__sqr): Likewise.
15221 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15222 powers of two in terms of TWOPOW macro.
15223 (mp_no): Make type of mantissa as MANTISSA_T.
15224 [!RADIXI]: Define RADIXI.
15225 [!TWO52]: Define TWO52.
15226 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15227
fce14d4e
AZ
152282013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15229
15230 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15231 llroundl symbol when building for PPC32.
15232
9ad027fb
MW
152332013-03-24 Mark H Weaver <mhw@netris.org>
15234
15235 * manual/arith.texi (Normalization Functions): Fix prototypes for
15236 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15237
e42a38dd
AZ
152382013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15239
15240 [BZ #13889]
15241 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15242 high value to check if expl overflow.
15243 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15244 to check for underflow and overflow.
15245 * math/libm-test.inc: Add exp test.
15246
2e0fb521
DL
152472013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15248
15249 [BZ #11120]
15250 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15251 with NOT_IN_libc.
15252
b5784d95
AZ
152532013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15254
15255 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15256 symbol.
15257
5aa4a1a1
TS
152582013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15259
bdef0be7
TS
15260 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15261 wrap blocks consisting of several statements.
15262
5aa4a1a1
TS
15263 * sysdeps/generic/math-tests.h: New file.
15264 * sysdeps/i386/fpu/math-tests.h: Likewise.
15265 * math/test-snan.c: Include it.
15266 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15267
98c48fe5
JM
152682013-03-21 Joseph Myers <joseph@codesourcery.com>
15269
15270 [BZ #15285]
15271 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15272 (__ieee754_j0l): Do not improve calculations using cos of twice
15273 input for inputs above LDBL_MAX / 2.0L.
15274 (__ieee754_y0l): Likewise.
15275 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15276 (__ieee754_j1l): Do not improve calculations using cos of twice
15277 input for inputs above LDBL_MAX / 2.0L.
15278 (__ieee754_y1l): Likewise.
15279 * math/libm-test.inc (j0_test): Add another test.
15280 (j1_test): Likewise.
15281 (y0_test): Likewise.
15282 (y1_test): Likewise.
15283 * sysdeps/i386/fpu/libm-test-ulps: Update.
15284
3775a8bc
SP
152852013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15286
15287 * Rules ($(objpfx)bench-%.c): Include code from a C source
15288 file.
15289
0a1b2ae6
JM
152902013-03-21 Joseph Myers <joseph@codesourcery.com>
15291
15292 [BZ #15287]
15293 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15294 imaginary part 1.0 and real part less than 0.5 specially.
15295 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15296 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15297 * math/libm-test.inc (cacos_test): Add more tests.
15298 (casin_test): Likewise.
15299 (casinh_test): Likewise.
15300 * sysdeps/i386/fpu/libm-test-ulps: Update.
15301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15302
b33d4ce4
SP
153032013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15304
15305 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15306 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15307
bef0b507
JM
153082013-03-20 Joseph Myers <joseph@codesourcery.com>
15309
15310 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15311 * config.make.in (config-cflags-sse4): Remove variable.
15312 (config-cflags-avx): Likewise.
15313 (config-cflags-sse2avx): Likewise.
15314 (config-cflags-novzeroupper): Likewise.
15315 (config-asflags-i686): Likewise.
15316 (have-mfma4): Likewise.
15317 (have-as-vis3): Likewise.
15318 (MIG): Likewise.
15319 * configure.in (MIG): Do not AC_SUBST.
15320 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15321 (libc_cv_cc_sse4): Do not AC_SUBST.
15322 (libc_cv_cc_avx): Likewise.
15323 (libc_cv_cc_sse2avx): Likewise.
15324 (libc_cv_cc_novzeroupper): Likewise.
15325 (libc_cv_cc_fma4): Likewise.
15326 (libc_cv_as_i686): Likewise.
15327 (libc_cv_sparc_as_vis3): Likewise.
15328 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15329 LIBC_CONFIG_VAR.
15330 (config-asflags-i686): Likewise.
15331 (config-cflags-avx): Likewise.
15332 (config-cflags-sse2avx): Likewise.
15333 (have-mfma4): Likewise.
15334 (config-cflags-novzeroupper): Likewise.
15335 * sysdeps/mach/configure.in (MIG): Likewise.
15336 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15337 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15338 LIBC_CONFIG_VAR.
15339 (config-cflags-avx): Likewise.
15340 (config-cflags-sse2avx): Likewise.
15341 (have-mfma4): Likewise.
15342 (config-cflags-novzeroupper): Likewise.
15343 * configure: Regenerated.
15344 * sysdeps/i386/configure: Likewise.
15345 * sysdeps/mach/configure: Likewise.
15346 * sysdeps/sparc/configure: Likewise.
15347 * sysdeps/x86_64/configure: Likewise.
15348
912cc4b3
RM
153492013-03-20 Roland McGrath <roland@hack.frob.com>
15350
15351 [BZ #14812]
15352 * locale/programs/localedef.c (options): Put N_ translation marker
15353 on argument names, not just descriptions.
15354
04eed2b0
MS
153552013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15356
15357 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15358
a065ceff
OB
153592013-03-20 Ondřej Bílka <neleai@seznam.cz>
15360
9bb2a810 15361 [BZ #14176]
a065ceff
OB
15362 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15363
a600e5ce
RM
153642013-03-19 Roland McGrath <roland@hack.frob.com>
15365
15366 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15367 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15368 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15369 [!BEFORE_ABORT] (before_abort): New function.
15370 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15371 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15372 (writev_for_fatal): New function.
15373 (WRITEV_FOR_FATAL): New macro; call that.
15374 (backtrace_and_maps): New function.
15375 (BEFORE_ABORT): New macro; call that.
15376 (struct str_list): Type removed.
15377 (__libc_message, __libc_fatal): Functions removed.
15378 Include <sysdeps/posix/libc_fatal.c> instead.
15379
6b18bea6
JM
153802013-03-19 Joseph Myers <joseph@codesourcery.com>
15381
15382 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15383 constants.
15384 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15385 double constants.
15386
aaa8cb4b
AS
153872013-03-19 Andreas Schwab <schwab@suse.de>
15388
44673770
AS
15389 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15390 * sysdeps/gnu/configure: Regenerate.
15391
aaa8cb4b
AS
15392 * configure.in: Substitute libc_cv_rtlddir.
15393 * configure: Regenerate.
15394 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15395 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15396 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15397 * elf/Makefile (install-others, CFLAGS-interp.c)
15398 (ldso_install, common-ldd-rewrite): Likewise.
15399 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15400 $(inst_slibdir)/$(rtld-installed-name).
15401 * scripts/rellns-sh: Add -p option.
15402 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15403 for source.
15404
d3cfc668
SP
154052013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15406
15407 * manual/nptl.texi: Renamed to ...
15408 * manual/threads.texi: ... this.
15409 * manual/Makefile (chapters): Update.
15410
0e2b9cdd
RM
154112013-03-18 Roland McGrath <roland@hack.frob.com>
15412
15413 [BZ #14812]
15414 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15415 on argument names, not just descriptions.
0e2b9cdd
RM
15416 * malloc/memusagestat.c (options): Likewise.
15417 * nss/getent.c (options): Likewise.
63270c24
RM
15418
154192013-03-18 Benno Schulenberg <bensberg@justemail.net>
15420
15421 [BZ #14812]
15422 * iconv/iconv_prog.c (options): Put N_ translation marker
15423 on argument names, not just descriptions.
15424 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15425
b2e1393c
OB
154262013-03-18 Ondrej Bilka <neleai@seznam.cz>
15427
15428 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15429 implementation which is faster on all x86_64 architectures.
15430 Tested on AMD, Intel Nehalem, SNB, IVB.
15431 * sysdeps/x86_64/strnlen.S: Likewise.
15432
15433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15434 Remove all multiarch strlen and strnlen versions.
15435 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15436 Remove strlen and strnlen related parts.
15437
15438 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15439 Inline strlen part.
15440 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15441
15442 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15443 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15444 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15445 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15446 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15447 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15448
ec4ff04d
CD
154492013-03-17 Carlos O'Donell <carlos@redhat.com>
15450
15451 * manual/memory.texi (Malloc Tunable Parameters):
15452 Sort parameters alphabetically. Add comments for missing entries.
15453
cd18e90a
DM
154542013-03-17 David S. Miller <davem@davemloft.net>
15455
15456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15457
2a185d32
JM
154582013-03-16 Joseph Myers <joseph@codesourcery.com>
15459
d2f9799e
JM
15460 [BZ #15283]
15461 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15462 for arguments at most half maximum finite value.
15463 * math/libm-test.inc (j0_test): Add more tests.
15464 (j1_test): Likewise.
15465 (y0_test): Likewise.
15466 (y1_test): Likewise.
15467 * sysdeps/i386/fpu/libm-test-ulps: Update.
15468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15469
2a185d32
JM
15470 [BZ #14155]
15471 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15472 1 / x and functions P and Q for arguments above 0x1p256L.
15473 (__ieee754_y0l): Likewise.
15474 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15475 (__ieee754_y1l): Likewise.
15476 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15477 (j1_test): Likewise.
15478 (y0_test): Likewise.
15479 (y1_test): Likewise.
15480
6cbec759
TS
154812013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15482
15483 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15484 variable.
15485
bc16e260
RM
154862013-03-15 Roland McGrath <roland@hack.frob.com>
15487
aefc9b8c
RM
15488 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15489 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15490 zero since it's initialized to EXEC_PAGESIZE.
15491
bc16e260
RM
15492 * sysdeps/unix/sysv/linux/ldsodefs.h
15493 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15494 * sysdeps/generic/ldsodefs.h: ... here.
15495
a57da955
TS
154962013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15497
af00a34d
TS
15498 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15499
495ded2c
TS
15500 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15501 math/test-snan.c.
15502 * math/test-snan.c: Renamed from
15503 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15504 * math/Makefile (tests): Add test-snan.
15505 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15506 test-powerpc-snan.
15507
777b0332
TS
15508 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15509 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15510 functions.
15511 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15512 __builtin_nan family of functions.
15513 * math/libm-test.inc (initialize): Initialize qnan_value with
15514 __builtin_nan family of functions.
15515 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15516 Remove variables.
15517 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15518 Remove functions.
15519 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15520 storage class. Initialize qNaN_var and sNaN_var with
15521 __builtin_nan and __builtin_nans families of functions,
15522 respectively.
15523
64d063b8
TS
15524 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15525 (sqrt_test): Remove duplicate test with qNaN input.
15526 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15527 (round_test, signbit_test, significand_test): Note missing +/-Inf
15528 as well as qNaN tests.
15529
67e971f1
TS
15530 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15531 qNaN_var. Fix a few strings, too.
15532 * math/libm-test.inc (nan_value): Rename to qnan_value.
15533 * math/gen-libm-test.pl (%beautify): Adjust to that.
15534 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15535 * math/test-misc.c (main): Likewise.
15536 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15537 to __qnan_bytes, and __qnan_union, respectively.
15538 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15539 Likewise.
15540 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15541 and lqnanval, respectively.
15542 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15543 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15544 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15545 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15546
64487e12
TS
15547 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15548 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15549 doubles.
15550
e015e27b
TS
15551 * math/test-misc.c (main): Fix copy'n'pastos.
15552 * misc/tst-efgcvt.c (special): Likewise.
15553
a57da955
TS
15554 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15555 Remove declarations.
15556
1e380345
SP
155572013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15558
15559 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15560 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15561 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15562 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15563
ef26eece
AZ
155642013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15565
15566 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15567 macro to return vdso values correctly in IFUNC implementations.
15568 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15569 Optimization by using IFUNC.
15570
8cfdb7e0
SP
155712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15572 Richard Henderson <rth@redhat.com>
15573 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15574
15575 * Makefile.in (bench): New target.
15576 * NEWS: Mention the benchmark framework.
15577 * Rules (bench): Likewise.
15578 (binaries-bench): Generate binaries for functions to
15579 benchmark.
15580 * benchtests/Makefile: New makefile for benchmark tests.
15581 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15582 programs.
15583 * benchtests/exp-inputs: New input file for EXP function.
15584 * benchtests/pow-inputs: New input file for POW function.
15585 * scripts/bench.pl: New script to generate source files for
15586 benchmark programs.
15587
bcda9880
SP
155882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15589
d22ca8cd
SP
15590 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15591 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15592 computations on mantissa. Use macros for rounding and
15593 division.
15594 (denorm): Likewise.
15595 (__dbl_mp): Likewise.
15596 (add_magnitudes): Likewise.
15597 (sub_magnitudes): Likewise.
15598 (__mul): Likewise.
15599 (__sqr): Likewise.
15600 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15601 powers of two in terms of TWOPOW macro.
15602 (mp_no): Make type of mantissa as MANTISSA_T.
15603 [!RADIXI]: Define RADIXI.
15604 [!TWO52]: Define TWO52.
15605 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15606
bcda9880
SP
15607 * manual/nptl.texi (cindex): Modify threads to pthreads.
15608
06d5adfb
JM
156092013-03-15 Joseph Myers <joseph@codesourcery.com>
15610
15611 * sysdeps/x86_64/preconfigure: Regenerated.
15612
41c7328e
JM
156132013-03-14 Joseph Myers <joseph@codesourcery.com>
15614
15615 [BZ #14155]
15616 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15617 0x1p28 and above.
15618 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15619 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15620 0x1p28 and above.
15621 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15622 * math/libm-test.inc (j0_test): Do not allow one spurious
15623 underflow exception.
15624 (y1_test): Likewise.
15625
e25cfa60
SP
156262013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15627
0409959c
SP
15628 * manual/Makefile (chapters): Add nptl.
15629 * manual/debug.texi (Debugging Support): Add link to Threads
15630 chapter.
15631 * manual/nptl.texi: New file.
15632
e25cfa60
SP
15633 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15634
58a1335e
PB
156352013-03-14 Petr Baudis <pasky@ucw.cz>
15636
15637 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15638 for non-NULL pointer before the memory validity test. Pointed
15639 out by Holger Brunck <holger.brunck@keymile.com>.
15640
9dc7c64f
AS
156412013-03-13 Andreas Schwab <schwab@suse.de>
15642
15643 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15644 instead of .os.
15645
54206aa6
JM
156462013-03-13 Joseph Myers <joseph@codesourcery.com>
15647
15648 * timezone/zic.c: Update from tzcode 2013b.
15649
e98cdb38
CD
156502013-03-12 Carlos O'Donell <carlos@redhat.com>
15651
15652 * manual/install.texi (Configuring and compiling):
15653 Mention i686 and i586.
15654 * INSTALL: Regenerate.
15655
9967e003
RM
156562013-03-12 Roland McGrath <roland@hack.frob.com>
15657
15658 * sysdeps/init_array/elf-init.c: New file.
15659 * csu/elf-init.c
15660 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15661 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15662
15663 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15664 __gmon_start__ as global, but as static with a .preinit_array pointer.
15665 * sysdeps/init_array/gmon-start.c: New file. Use that.
15666 * sysdeps/init_array/crti.S: New file, empty except for comments.
15667 * sysdeps/init_array/crtn.S: Likewise.
15668
e6b5a293 156692013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15670
15671 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15672 definining bcopy.
80f844c9
OB
15673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15674 Remove Prefer_SSE_for_memop.
15675 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15676 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15677 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15679 memset-x86-64.
80f844c9 15680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15681 Remove bzero, memset ifunc support.
80f844c9
OB
15682 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15683 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15684 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15685 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15686
fb6b0fcb
AS
156872013-03-11 Andreas Schwab <schwab@suse.de>
15688
15689 [BZ #15234]
15690 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15691 by SHLIB_COMPAT.
15692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15693 (GLIBC_2.16): Remove pthread_atfork.
15694
3e6bd4b1
PP
156952013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15696
15697 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15698 (ptestcases.h): Likewise.
15699
222d7f00
RM
157002013-03-08 Roland McGrath <roland@hack.frob.com>
15701
15702 * Makeconfig ($(common-objpfx)config.status): Depend on
15703 sysdeps/*/preconfigure{,.in} too.
15704
1ba4f030
JM
157052013-03-08 Joseph Myers <joseph@codesourcery.com>
15706
a222d91a
JM
15707 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15708 (__free_hook): Use void * instead of __malloc_ptr_t.
15709 (__malloc_hook): Likewise.
15710 (__realloc_hook): Likewise.
15711 (__memalign_hook): Likewise.
15712 (__after_morecore_hook): Likewise.
15713 * malloc/arena.c (save_malloc_hook): Likewise.
15714 (save_free_hook): Likewise.
15715 * malloc/hooks.c (malloc_hook_ini): Likewise.
15716 (realloc_hook_ini): Likewise.
15717 (memalign_hook_ini): Likewise.
15718 * malloc/malloc.c (malloc_hook_ini): Likewise.
15719 (realloc_hook_ini): Likewise.
15720 (memalign_hook_ini): Likewise.
15721 (__free_hook): Likewise.
15722 (__malloc_hook): Likewise.
15723 (__realloc_hook): Likewise.
15724 (__memalign_hook): Likewise.
15725 (__libc_malloc): Likewise.
15726 (__libc_free): Likewise.
15727 (__libc_realloc): Likewise.
15728 (__libc_memalign): Likewise.
15729 (__libc_valloc): Likewise.
15730 (__libc_pvalloc): Likewise.
15731 (__libc_calloc): Likewise.
15732 (__posix_memalign): Likewise.
15733 * malloc/morecore.c (__sbrk): Likewise.
15734 (__default_morecore): Likewise.
15735
5cc45e10
JM
15736 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15737
dd54b864
JM
15738 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15739 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15740 __malloc_ptrdiff_t.
15741
1ba4f030
JM
15742 * malloc/malloc.h (__malloc_size_t): Remove macro.
15743 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15744 __malloc_size_t.
15745 (old_memalign_hook): Likewise.
15746 (old_realloc_hook): Likewise.
15747 (struct hdr): Likewise.
15748 (flood): Likewise.
15749 (mallochook): Likewise.
15750 (memalignhook): Likewise.
15751 (reallochook): Likewise.
15752 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15753 (tr_old_realloc_hook): Likewise.
15754 (tr_old_memalign_hook): Likewise.
15755 (tr_mallochook): Likewise.
15756 (tr_reallochook): Likewise.
15757 (tr_memalignhook): Likewise.
15758
edf66e57
AZ
157592013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15760
15761 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15762 default_ldbl_pack and using as default implementation.
15763 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15764 implementation.
15765 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15766 redundant definition.
15767 (ldbl_insert_mantissa): Likewise.
15768 (ldbl_canonicalize): Likewise.
15769 (ldbl_nearbyint): Likewise.
15770 (ldbl_pack): Rename to ldbl_pack_ppc.
15771 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15772 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15773 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15774
6d9145d8
SP
157752013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15776
15777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15778 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15779 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15780 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15782 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15783 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15784 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15785
4dd4e157
AJ
157862013-03-07 Andreas Jaeger <aj@suse.de>
15787
15788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15789 bits/mman-linux.h.
15790
adbb8027
SP
157912013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15792
ce544b5b
SP
15793 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15794 Include mpa.h and declare __MPEXP.
15795 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15796 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15797 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15798 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15799 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15800 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15801 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15802
4cc149fd
SP
15803 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15804 (__slowpow): Use long double EXPL and LOGL functions to
15805 compute POW.
15806 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15807 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15808 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15809 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15810 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15811 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15812
e6ebd4a7
SP
15813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15814 intermediate variable to calculate exponent.
15815 (__sqr): Likewise.
15816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15817 Likewise.
15818 (__sqr): Likewise.
15819
82a9811d
SP
15820 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15821 [!NO__SQR]: Define __sqr.
15822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15823 and NO__SQR. Remove all code except __mul and __sqr. Include
15824 sysdeps/ieee754/dbl-64/mpa.c.
15825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15826
adbb8027
SP
15827 [BZ #12723]
15828 * posix/Makefile (tests): Add tst-pathconf.
15829 * posix/tst-pathconf.c: New test case.
15830 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15831 _PC_PIPE_BUF.
15832 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15833
39120df9
PF
158342013-03-06 Patsy Franklin <pfrankli@redhat.com>
15835
15836 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15837
67525cb8
AJ
158382013-03-06 Andreas Jaeger <aj@suse.de>
15839
664a9ce4
AJ
15840 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15841 definition via __MAP_ANONYMOUS.
15842
8e39047d
AJ
15843 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15844 it's not part of Linux headers.
15845
67525cb8
AJ
15846 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15847 (MAP_HUGE_MASK): Define.
15848
15849 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15850 Define.
15851 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15852 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15853 Define.
15854 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15855 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15856 Define.
15857 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15858 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15859 Define.
15860 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15861
15862 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15863 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15864 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15865 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15866 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15867 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15868
15869 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15870 Handle f2fs.
15871
15872 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15873 Handle f2fs and efivarfs.
15874
15875 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15876 f2fs.
15877
15878 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15879 (EFIVARFS_MAGIC): Add.
15880 (F2FS_LINK_MAX): Add.
15881
e1b42695
PP
158822013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15883
15884 * stdio-common/vfprintf.c: Replace __builtin_expect with
15885 __glibc_unlikely.
15886
2d67d91a
JM
158872013-03-06 Joseph Myers <joseph@codesourcery.com>
15888
15889 [BZ #13550]
15890 * sysdeps/generic/bp-sym.h: Remove file.
15891 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15892 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15893 <bp-sym.h> and <bp-asm.h>.
15894 (__longjmp): Don't use BP_SYM.
15895 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15896 and <bp-asm.h>.
15897 (memcpy): Don't use BP_SYM.
15898 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15899 <bp-sym.h> and <bp-asm.h>.
15900 (memcpy): Don't use BP_SYM.
15901 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15902 <bp-asm.h>.
15903 (memcpy): Don't use BP_SYM.
15904 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15905 <bp-asm.h>.
15906 (memset): Don't use BP_SYM.
15907 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15908 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15909 (__bzero): Don't use BP_SYM.
15910 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15911 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15912 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15913 <bp-sym.h> and <bp-asm.h>.
15914 (memcmp): Don't use BP_SYM. Remove comment about bounded
15915 pointers.
15916 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15917 <bp-sym.h> and <bp-asm.h>.
15918 (memcpy): Don't use BP_SYM.
15919 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15920 <bp-sym.h> and <bp-asm.h>.
15921 (memset): Don't use BP_SYM.
15922 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15923 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15924 (__bzero): Don't use BP_SYM.
15925 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15926 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15927 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15928 <bp-sym.h> and <bp-asm.h>.
15929 (strncmp): Don't use BP_SYM. Remove comment about bounded
15930 pointers.
15931 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15932 <bp-sym.h> and <bp-asm.h>.
15933 (memcpy): Don't use BP_SYM.
15934 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15935 <bp-sym.h> and <bp-asm.h>.
15936 (memset): Don't use BP_SYM.
15937 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15938 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15939 (__bzero): Don't use BP_SYM.
15940 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15941 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15942 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15943 <bp-sym.h> and <bp-asm.h>.
15944 (__memchr): Don't use BP_SYM.
15945 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15946 <bp-sym.h> and <bp-asm.h>.
15947 (memcmp): Don't use BP_SYM. Remove comment about bounded
15948 pointers.
15949 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15950 <bp-sym.h> and <bp-asm.h>.
15951 (memcpy): Don't use BP_SYM.
15952 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15953 <bp-sym.h> and <bp-asm.h>.
15954 (__mempcpy): Don't use BP_SYM.
15955 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15956 <bp-sym.h> and <bp-asm.h>.
15957 (__memrchr): Don't use BP_SYM.
15958 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15959 <bp-sym.h> and <bp-asm.h>.
15960 (memset): Don't use BP_SYM.
15961 (__bzero): Likewise.
15962 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15963 <bp-sym.h> and <bp-asm.h>.
15964 (__rawmemchr): Don't use BP_SYM.
15965 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15966 <bp-sym.h> and <bp-asm.h>.
15967 (__STRCMP): Don't use BP_SYM.
15968 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15969 <bp-sym.h> and <bp-asm.h>.
15970 (strchr): Don't use BP_SYM.
15971 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15972 <bp-sym.h> and <bp-asm.h>.
15973 (__strchrnul): Don't use BP_SYM.
15974 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15975 <bp-sym.h> and <bp-asm.h>.
15976 (strlen): Don't use BP_SYM.
15977 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15978 <bp-sym.h> and <bp-asm.h>.
15979 (strncmp): Don't use BP_SYM. Remove comment about bounded
15980 pointers.
15981 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15982 <bp-sym.h> and <bp-asm.h>.
15983 (__strnlen): Don't use BP_SYM.
15984 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15985 <bp-sym.h> and <bp-asm.h>.
15986 (__GI__setjmp): Don't use BP_SYM.
15987 (_setjmp): Likewise.
15988 (__sigsetjmp): Likewise.
15989 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15990 (L(start_addresses)): Don't use BP_SYM.
15991 (_start): Likewise.
15992 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15993 <bp-asm.h>.
15994 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15995 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15996 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15997 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15998 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15999 <bp-asm.h>.
16000 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16001 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16002 about bounded pointers.
16003 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16004 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16005 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16006 <bp-asm.h>.
16007 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16008 about bounded pointers. Remove GKM FIXME comments.
16009 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16010 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16011 <bp-asm.h>.
16012 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16013 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16014 Remove GKM FIXME comments.
16015 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16016 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16017 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16018 <bp-asm.h>.
16019 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16020 about bounded pointers. Remove GKM FIXME comment.
16021 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16022 and <bp-asm.h>.
16023 (strncmp): Don't use BP_SYM. Remove comment about bounded
16024 pointers.
16025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16026 <bp-sym.h> and <bp-asm.h>.
16027 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16029 <bp-sym.h> and <bp-asm.h>.
16030 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16031 comment.
16032
cdcf361f
PP
160332013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16034
16035 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16036 call free(NULL).
16037
3c4a2b15
DM
160382013-03-05 David S. Miller <davem@davemloft.net>
16039
16040 * po/es.po: Update from translation team.
16041
cdcf361f 160422013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16043
16044 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16045 <bits/mman-linux.h>.
16046 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16047 is fine.
16048 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16049 <bits/mman-linux.h> to end of file.
16050 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16051 is fine.
16052 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16053 <bits/mman-linux.h> to end of file.
16054 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16055 is fine.
16056 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16057 <bits/mman-linux.h> to end of file.
16058
16059 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16060 (MCL_CURRENT, MCL_FUTURE): Define here.
16061
5f67c04f
AK
160622013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16063
8a4473cc 16064 [BZ #15232]
5f67c04f
AK
16065 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16066 attribute_hidden.
16067 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16068
c3e94a95
AK
160692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16070
16071 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16072 fourth parameter needed for rt_sigprocmask syscall.
16073 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16074 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16075 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16076 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16077 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16078 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16079
cfb6382a
JM
160802013-03-04 Joseph Myers <joseph@codesourcery.com>
16081
16082 [BZ #13550]
16083 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16084 comment about bounded pointers.
16085 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16086 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16087
539d8e01
AJ
160882013-03-04 Andreas Jaeger <aj@suse.de>
16089
16090 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16091 common definitions.
16092
16093 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16094 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16095 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16096 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16097 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16098 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16099
2e167a70 161002013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16101
16102 [BZ #15055]
16103 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16104 __ieee754_sqrl instead of __sqrl.
16105
68508633
JM
161062013-03-01 Joseph Myers <joseph@codesourcery.com>
16107
16108 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16109 * sysdeps/powerpc/fpu_control.h: ... here.
16110 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16111 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16112 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16113 * sysdeps/powerpc/bits/mathinline.h: ... here.
16114
7775448e
RM
161152013-03-01 Roland McGrath <roland@hack.frob.com>
16116
16117 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16118 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16119 to just [NEED_DL_SYSINFO_DSO].
16120 * elf/dl-support.c: Likewise.
16121 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16122 * elf/rtld.c (dl_main): Likewise.
16123 * elf/setup-vdso.h (setup_vdso): Likewise.
16124 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16125 * sysdeps/unix/sysv/linux/dl-sysdep.c
16126 (_dl_discover_osversion): Likewise.
16127
4e9b5995
CD
161282013-03-01 Carlos O'Donell <carlos@redhat.com>
16129
16130 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16131 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16132
e23872c8
SP
161332013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16134
e5c74c63
SP
16135 * NEWS: Mention libm performance improvements and non-x86 PI
16136 futex support.
16137
e23872c8
SP
16138 * csu/libc-start.c (__pthread_initialize_minimal): Change
16139 function arguments.
16140 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16141
b5510883
JM
161422013-02-28 Joseph Myers <joseph@codesourcery.com>
16143
16144 [BZ #13550]
16145 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16146 * sysdeps/powerpc/powerpc32/__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/a2/memcpy.S: Don't include <bp-sym.h>
16150 and <bp-asm.h>.
16151 (memcpy): Don't use BP_SYM.
16152 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16153 <bp-asm.h>.
16154 (__mpn_add_n): Don't use BP_SYM.
16155 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16156 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16157 and <bp-asm.h>.
16158 (__mpn_addmul_1): Don't use BP_SYM.
16159 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16160 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16161 <bp-sym.h>.
16162 (_setjmp): Don't use BP_SYM.
16163 (__novmx_setjmp): Likewise.
16164 (__GI__setjmp): Likewise.
16165 (__vmx_setjmp): Likewise.
16166 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16167 <bp-sym.h>.
16168 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16169 (__bzero): Don't use BP_SYM.
16170 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16171 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16172 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16173 <bp-sym.h> and <bp-asm.h>.
16174 (memcpy): Don't use BP_SYM.
16175 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16176 <bp-sym.h> and <bp-asm.h>.
16177 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16178 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16179 <bp-sym.h> and <bp-asm.h>.
16180 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16181 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16182 <bp-asm.h>.
16183 (__mpn_lshift): Don't use BP_SYM.
16184 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16185 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16186 <bp-asm.h>.
16187 (memset): Don't use BP_SYM.
16188 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16189 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16190 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16191 <bp-asm.h>.
16192 (__mpn_mul_1): Don't use BP_SYM.
16193 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16194 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16195 <bp-sym.h> and <bp-asm.h>.
16196 (memcmp): Don't use BP_SYM.
16197 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16198 <bp-sym.h> and <bp-asm.h>.
16199 (memcpy): Don't use BP_SYM.
16200 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16201 <bp-sym.h> and <bp-asm.h>.
16202 (memset): Don't use BP_SYM.
16203 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16204 <bp-sym.h> and <bp-asm.h>.
16205 (strncmp): Don't use BP_SYM.
16206 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16207 <bp-sym.h> and <bp-asm.h>.
16208 (memcpy): Don't use BP_SYM.
16209 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16210 <bp-sym.h> and <bp-asm.h>.
16211 (memset): Don't use BP_SYM.
16212 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16213 <bp-sym.h> and <bp-asm.h>.
16214 (__memchr): Don't use BP_SYM.
16215 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16216 <bp-sym.h> and <bp-asm.h>.
16217 (memcmp): Don't use BP_SYM.
16218 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16219 <bp-sym.h> and <bp-asm.h>.
16220 (memcpy): Don't use BP_SYM.
16221 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16222 <bp-sym.h> and <bp-asm.h>.
16223 (__mempcpy): Don't use BP_SYM.
16224 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16225 <bp-sym.h> and <bp-asm.h>.
16226 (__memrchr): Don't use BP_SYM.
16227 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16228 <bp-sym.h> and <bp-asm.h>.
16229 (memset): Don't use BP_SYM.
16230 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16231 <bp-sym.h> and <bp-asm.h>.
16232 (__rawmemchr): Don't use BP_SYM.
16233 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16234 <bp-sym.h> and <bp-asm.h>.
16235 (__STRCMP): Don't use BP_SYM.
16236 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16237 <bp-sym.h> and <bp-asm.h>.
16238 (strchr): Don't use BP_SYM.
16239 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16240 <bp-sym.h> and <bp-asm.h>.
16241 (__strchrnul): Don't use BP_SYM.
16242 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16243 <bp-sym.h> and <bp-asm.h>.
16244 (strlen): Don't use BP_SYM.
16245 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16246 <bp-sym.h> and <bp-asm.h>.
16247 (strncmp): Don't use BP_SYM.
16248 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16249 <bp-sym.h> and <bp-asm.h>.
16250 (__strnlen): Don't use BP_SYM.
16251 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16252 <bp-asm.h>.
16253 (__mpn_rshift): Don't use BP_SYM.
16254 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16255 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16256 <bp-sym.h> and <bp-asm.h>.
16257 (__sigsetjmp): Don't use BP_SYM.
16258 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16259 (L(start_addresses)): Don't use BP_SYM.
16260 (_start): Likewise.
16261 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16262 <bp-asm.h>.
16263 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16264 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16265 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16266 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16267 <bp-asm.h>.
16268 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16269 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16270 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16271 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16272 <bp-asm.h>.
16273 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16274 comments.
16275 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16276 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16277 <bp-asm.h>.
16278 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16279 FIXME comments.
16280 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16281 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16282 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16283 <bp-asm.h>.
16284 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16285 comment.
16286 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16287 and <bp-asm.h>.
16288 (strncmp): Don't use BP_SYM,
16289 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16290 <bp-asm.h>.
16291 (__mpn_sub_n): Don't use BP_SYM.
16292 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16293 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16294 and <bp-asm.h>.
16295 (__mpn_submul_1): Don't use BP_SYM.
16296 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16298 <bp-sym.h> and <bp-asm.h>.
16299 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16301 <bp-sym.h> and <bp-asm.h>.
16302 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16303 comment.
16304
8d19fe64
SP
163052013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16306
16307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16308 Use ZK to minimize writes to Z.
16309 (sub_magnitudes): Simplify code a bit.
16310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16311 Use ZK to minimize writes to Z.
16312 (sub_magnitudes): Simplify code a bit.
16313
85bd816a
RM
163142013-02-27 Roland McGrath <roland@hack.frob.com>
16315
16316 * csu/gmon-start.c: Add special exception to license text.
16317
b5977bf2
RH
163182013-02-27 Richard Henderson <rth@redhat.com>
16319
16320 * scripts/config.guess: Update from config.git.
16321 * scripts/config.sub: Likewise.
16322
11d6e2f2
SP
163232013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16324
09c14ed2
SP
16325 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16326
a688864e
SP
16327 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16328
6295157a
SP
16329 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16330
b8de2202
SP
16331 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16332
11d6e2f2
SP
16333 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16334
7e80ddb8
RM
163352013-02-26 Roland McGrath <roland@hack.frob.com>
16336
16337 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16338 [$(build-shared = yes].
7e80ddb8 16339
7da6d9ed
SP
163402013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16341
45f05884
SP
16342 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16343 (__mul): Reduce iterations for calculating mantissa.
16344
2236d359
SP
16345 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16346 MPTWO.
16347 (__mpranred): Likewise.
16348
7da6d9ed
SP
16349 [BZ #15160]
16350 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16351 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16352
b7688c42
PE
163532013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16354
16355 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16356 Define __attribute__.
16357
53a5c423
SP
163582013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16359
16360 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16361 unused.
16362 * posix/regex_internal.h (__attribute): Remove.
16363 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16364 (re_string_context_at): Likewise.
16365 (bitset_not): Use __attribute__ and mark function as possibly
16366 unused.
16367 (bitset_merge): Likewise.
16368 (bitset_mask): Likewise.
16369 (re_string_char_size_at): Likewise.
16370 (re_string_wchar_at): Likewise.
16371 (re_string_elem_size_at): Likewise.
16372
60f5a8b5
SP
163732013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16374
2a983a2e
SP
16375 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16376 code.
16377 (cc32): Likewise.
16378
e69804d1
SP
16379 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16380 (__acr): Likewise.
16381 (__cpy): Likewise.
16382 (norm): Likewise.
16383 (denorm): Likewise.
16384 (__dbl_mp): Likewise.
16385 (add_magnitudes): Likewise.
16386 (sub_magnitudes): Likewise.
16387 (__mul): Likewise.
16388 (__inv): Likewise.
16389
2f22a1e8
SP
16390 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16391 style.
16392
8930ddc7
SP
16393 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16394 style.
16395
dc60cb11
SP
16396 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16397 code.
16398
60f5a8b5
SP
16399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16400 up changes with default code.
16401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16402 Likewise.
16403
b4d1fd33
AM
164042013-02-24 Allan McRae <allan@archlinux.org>
16405
faf6f8bc
AM
16406 * manual/socket.texi (The Internet Namespace): Order menu items
16407 to match that in the file.
16408
b4d1fd33
AM
16409 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16410 node listing of the info page menu.
16411
2366713d
JM
164122013-02-21 Joseph Myers <joseph@codesourcery.com>
16413
16414 [BZ #13550]
16415 * sysdeps/i386/bp-asm.h: Remove file.
16416 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16417 (PARMS): Do not use macros from bp-asm.h.
16418 (S1): Likewise.
16419 (S2): Likewise.
16420 (SIZE): Likewise.
16421 (__mpn_add_n): Do not use BP_SYM
16422 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16423 "bp-asm.h".
16424 (PARMS): Do not use macros from bp-asm.h.
16425 (S1): Likewise.
16426 (SIZE): Likewise.
16427 (__mpn_addmul_1): Do not use BP_SYM
16428 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16429 "bp-asm.h".
16430 (PARMS): Do not use macros from bp-asm.h.
16431 (SIGMSK): Likewise.
16432 (_setjmp): Likewise. Do not use BP_SYM.
16433 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16434 "bp-asm.h".
16435 (PARMS): Do not use macros from bp-asm.h.
16436 (SIGMSK): Likewise.
16437 (setjmp): Likewise. Do not use BP_SYM.
16438 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16439 "bp-asm.h".
16440 (PARMS): Do not use macros from bp-asm.h.
16441 (__frexp): Do not use BP_SYM.
16442 (frexp): Likewise.
16443 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16444 "bp-asm.h".
16445 (PARMS): Do not use macros from bp-asm.h.
16446 (__frexpf): Do not use BP_SYM.
16447 (frexpf): Likewise.
16448 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16449 "bp-asm.h".
16450 (PARMS): Do not use macros from bp-asm.h.
16451 (__frexpl): Do not use BP_SYM.
16452 (frexpl): Likewise.
16453 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16454 "bp-asm.h".
16455 (PARMS): Do not use macros from bp-asm.h.
16456 (__remquo): Do not use BP_SYM.
16457 (remquo): Likewise.
16458 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16459 "bp-asm.h".
16460 (PARMS): Do not use macros from bp-asm.h.
16461 (__remquof): Do not use BP_SYM.
16462 (remquof): Likewise.
16463 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16464 "bp-asm.h".
16465 (PARMS): Do not use macros from bp-asm.h.
16466 (__remquol): Do not use BP_SYM.
16467 (remquol): Likewise.
16468 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16469 "bp-asm.h".
16470 (PARMS): Do not use macros from bp-asm.h.
16471 (DEST): Likewise.
16472 (SRC): Likewise.
16473 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16474 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16475 "bp-asm.h".
16476 (PARMS): Do not use macros from bp-asm.h.
16477 (strlen): Do not use BP_SYM.
16478 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16479 "bp-asm.h".
16480 (PARMS): Do not use macros from bp-asm.h.
16481 (S1): Likewise.
16482 (S2): Likewise.
16483 (SIZE): Likewise.
16484 (__mpn_add_n): Do not use BP_SYM.
16485 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16486 "bp-asm.h".
16487 (PARMS): Do not use macros from bp-asm.h.
16488 (S1): Likewise.
16489 (SIZE): Likewise.
16490 (__mpn_addmul_1): Do not use BP_SYM.
16491 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16492 weak_alias.
16493 (bzero): Likewise.
16494 * sysdeps/i386/i586/lshift.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_lshift): Do not use BP_SYM.
16500 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16501 "bp-asm.h".
16502 (PARMS): Do not use macros from bp-asm.h.
16503 (DEST): Likewise.
16504 (SRC): Likewise.
16505 (LEN): Likewise.
16506 (memcpy): Likewise. Do not use BP_SYM.
16507 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16508 libc_hidden_def and weak_alias.
16509 (mempcpy): Do not use BP_SYM in weak_alias.
16510 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16511 "bp-asm.h".
16512 (PARMS): Do not use macros from bp-asm.h.
16513 (DEST): Likewise.
16514 (LEN): Likewise.
16515 [!BZERO_P] (CHR): Likewise.
16516 (memset): Likewise. Do not use BP_SYM.
16517 * sysdeps/i386/i586/mul_1.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 (SIZE): Likewise.
16522 (__mpn_mul_1): Do not use BP_SYM.
16523 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16524 "bp-asm.h".
16525 (PARMS): Do not use macros from bp-asm.h.
16526 (S): Likewise.
16527 (SIZE): Likewise.
16528 (__mpn_rshift): Do not use BP_SYM.
16529 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16530 "bp-asm.h".
16531 (PARMS): Do not use macros from bp-asm.h.
16532 (STR): Likewise.
16533 (CHR): Likewise.
16534 (strchr): Likewise. Do not use BP_SYM.
16535 (index): Do not use BP_SYM in weak_alias.
16536 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16537 "bp-asm.h".
16538 (PARMS): Do not use macros from bp-asm.h.
16539 (DEST): Likewise.
16540 (SRC): Likewise.
16541 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16542 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16543 "bp-asm.h".
16544 (PARMS): Do not use macros from bp-asm.h.
16545 (strlen): Do not use BP_SYM.
16546 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16547 "bp-asm.h".
16548 (PARMS): Do not use macros from bp-asm.h.
16549 (S1): Likewise.
16550 (S2): Likewise.
16551 (SIZE): Likewise.
16552 (__mpn_sub_n): Do not use BP_SYM.
16553 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16554 "bp-asm.h".
16555 (PARMS): Do not use macros from bp-asm.h.
16556 (S1): Likewise.
16557 (SIZE): Likewise.
16558 (__mpn_submul_1): Do not use BP_SYM.
16559 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16560 "bp-asm.h".
16561 (PARMS): Do not use macros from bp-asm.h.
16562 (S1): Likewise.
16563 (S2): Likewise.
16564 (SIZE): Likewise.
16565 (__mpn_add_n): Do not use BP_SYM.
16566 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16567 weak_alias.
16568 (bzero): Likewise.
16569 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16570 "bp-asm.h".
16571 (PARMS): Do not use macros from bp-asm.h.
16572 (BLK2): Likewise.
16573 (LEN): Likewise.
16574 (memcmp): Do not use BP_SYM.
16575 (bcmp): Do not use BP_SYM in weak_alias.
16576 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16577 "bp-asm.h".
16578 (PARMS): Do not use macros from bp-asm.h.
16579 (DEST): Likewise.
16580 (SRC): Likewise.
16581 (LEN): Likewise.
16582 (memcpy): Likewise. Do not use BP_SYM.
16583 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16584 "bp-asm.h".
16585 (PARMS): Do not use macros from bp-asm.h.
16586 (DEST): Likewise.
16587 (SRC): Likewise.
16588 (LEN): Likewise.
16589 (memmove): Likewise. Do not use BP_SYM.
16590 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16591 "bp-asm.h".
16592 (PARMS): Do not use macros from bp-asm.h.
16593 (DEST): Likewise.
16594 (SRC): Likewise.
16595 (LEN): Likewise.
16596 (__mempcpy): Likewise. Do not use BP_SYM.
16597 (mempcpy): Do not use BP_SYM in weak_alias.
16598 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16599 "bp-asm.h".
16600 (PARMS): Do not use macros from bp-asm.h.
16601 (DEST): Likewise.
16602 (LEN): Likewise.
16603 [!BZERO_P] (CHR): Likewise.
16604 (memset): Likewise. Do not use BP_SYM.
16605 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16606 "bp-asm.h".
16607 (PARMS): Do not use macros from bp-asm.h.
16608 (STR2): Likewise.
16609 (strcmp): Do not use BP_SYM.
16610 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16611 "bp-asm.h".
16612 (PARMS): Do not use macros from bp-asm.h.
16613 (STR): Likewise.
16614 (DELIM): Likewise.
16615 [USE_AS_STRTOK_R] (SAVE): Likewise.
16616 (FUNCTION): Likewise. Do not use BP_SYM.
16617 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16618 aliases.
16619 (strtok_r): Likewise.
16620 (__GI___strtok_r): Likewise.
16621 * sysdeps/i386/lshift.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_lshift): Do not use BP_SYM.
16626 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16627 (PARMS): Do not use macros from bp-asm.h.
16628 (STR): Likewise.
16629 (CHR): Likewise.
16630 (__memchr): Do not use BP_SYM.
16631 (memchr): Do not use BP_SYM in weak_alias.
16632 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16633 (PARMS): Do not use macros from bp-asm.h.
16634 (BLK2): Likewise.
16635 (LEN): Likewise.
16636 (memcmp): Do not use BP_SYM.
16637 (bcmp): Do not use BP_SYM in weak_alias.
16638 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16639 (PARMS): Do not use macros from bp-asm.h.
16640 (S1): Likewise.
16641 (SIZE): Likewise.
16642 (__mpn_mul_1): Do not use BP_SYM.
16643 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16644 "bp-asm.h".
16645 (PARMS): Do not use macros from bp-asm.h.
16646 (STR): Likewise.
16647 (CHR): Likewise.
16648 (__rawmemchr): Do not use BP_SYM.
16649 (rawmemchr): Do not use BP_SYM in weak_alias.
16650 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16651 (PARMS): Do not use macros from bp-asm.h.
16652 (S): Likewise.
16653 (SIZE): Likewise.
16654 (__mpn_rshift): Do not use BP_SYM.
16655 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16656 (PARMS): Do not use macros from bp-asm.h.
16657 (SIGMSK): Likewise.
16658 (__sigsetjmp): Likewise. Do not use BP_SYM.
16659 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16660 (_start): Do not use BP_SYM.
16661 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16662 (PARMS): Do not use macros from bp-asm.h.
16663 (DEST): Likewise.
16664 (SRC): Likewise.
16665 (__stpcpy): Likewise. Do not use BP_SYM.
16666 (stpcpy): Do not use BP_SYM in weak_alias.
16667 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16668 "bp-asm.h".
16669 (PARMS): Do not use macros from bp-asm.h.
16670 (DEST): Likewise.
16671 (SRC): Likewise.
16672 (LEN): Likewise.
16673 (__stpncpy): Likewise. Do not use BP_SYM.
16674 (stpncpy): Do not use BP_SYM in weak_alias.
16675 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16676 (PARMS): Do not use macros from bp-asm.h.
16677 (STR): Likewise.
16678 (CHR): Likewise.
16679 (strchr): Likewise. Do not use BP_SYM.
16680 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16681 "bp-asm.h".
16682 (PARMS): Do not use macros from bp-asm.h.
16683 (STR): Likewise.
16684 (CHR): Likewise.
16685 (__strchrnul): Likewise. Do not use BP_SYM.
16686 (strchrnul): Do not use BP_SYM in weak_alias.
16687 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16688 "bp-asm.h".
16689 (PARMS): Do not use macros from bp-asm.h.
16690 (STOP): Likewise.
16691 (strcspn): Do not use BP_SYM.
16692 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16693 "bp-asm.h".
16694 (PARMS): Do not use macros from bp-asm.h.
16695 (STR): Likewise.
16696 (STOP): Likewise.
16697 (strpbrk): Likewise. Do not use BP_SYM.
16698 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16699 "bp-asm.h".
16700 (PARMS): Do not use macros from bp-asm.h.
16701 (STR): Likewise.
16702 (CHR): Likewise.
16703 (strrchr): Likewise. Do not use BP_SYM.
16704 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16705 (PARMS): Do not use macros from bp-asm.h.
16706 (SKIP): Likewise.
16707 (strspn): Do not use BP_SYM.
16708 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16709 (PARMS): Do not use macros from bp-asm.h.
16710 (STR): Likewise.
16711 (DELIM): Likewise.
16712 (SAVE): Likewise.
16713 (FUNCTION): Likewise. Do not use BP_SYM.
16714 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16715 aliases.
16716 (strtok_r): Likewise.
16717 (__GI___strtok_r): Likewise.
16718 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16719 (PARMS): Do not use macros from bp-asm.h.
16720 (S1): Likewise.
16721 (S2): Likewise.
16722 (SIZE): Likewise.
16723 (__mpn_sub_n): Do not use BP_SYM.
16724 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16725 "bp-asm.h".
16726 (PARMS): Do not use macros from bp-asm.h.
16727 (S1): Likewise.
16728 (SIZE): Likewise.
16729 (__mpn_submul_1): Do not use BP_SYM.
16730 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16731 <bp-sym.h>.
16732 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16733 and <bp-asm.h>.
16734 (PARMS): Do not use macros from bp-asm.h.
16735 (FLAGS): Likewise.
16736 (PTID): Likewise.
16737 (TLS): Likewise.
16738 (CTID): Likewise.
16739 (__clone): Do not use BP_SYM.
16740 (clone): Do not use BP_SYM in weak_alias.
16741 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16742 and <bp-asm.h>.
16743 (PARMS): Do not use macros from bp-asm.h.
16744 (LEN): Likewise.
16745 (__mmap64): Do not use BP_SYM.
16746 (mmap64): Do not use BP_SYM in weak_alias.
16747 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16748 <bp-sym.h> and <bp-asm.h>.
16749 (PARMS): Do not use macros from bp-asm.h.
16750 (__posix_fadvise64_l64): Do not use BP_SYM.
16751 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16752 (PARMS): Do not use macros from bp-asm.h.
16753 (NSOPS): Likewise.
16754 (semtimedop): Do not use BP_SYM.
16755 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16756 and <bp-asm.h>.
16757
582a3cff
AM
167582013-02-21 Allan McRae <allan@archlinux.org>
16759
16760 * manual/message.texi (Charset conversion in gettext):
16761 Move @end statement to beginning of line.
16762
bab8a695
SP
167632013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16764
80945231
SP
16765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16766 static.
16767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16768 Likewise.
16769
bab8a695
SP
16770 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16771 (denorm): Likewise.
16772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16774
e21d7aa7
AK
167752013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16776
16777 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16778 tail-call to the resolved function if pltexit isn't needed.
16779
4c7a4263
SP
167802013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16781
16782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16783 or Y being zero as being unlikely.
16784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16785 Likewise.
16786
41f49342
CD
167872013-02-20 Carlos O'Donell <carlos@redhat.com>
16788
16789 * manual/nss.texi (System Databases and Name Service Switch):
16790 Remove frobnicate @pxref.
16791
50022a93
TS
167922013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16793
16794 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16795 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16796
08cbd996
PM
167972013-02-20 Petr Machata <pmachata@redhat.com>
16798
16799 * elf/elf.h (R_ARM_TARGET1): New macro.
16800 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16801 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16802 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16803 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16804 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16805 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16806 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16807 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16808 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16809 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16810 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16811 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16812 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16813 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16814 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16815 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16816 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16817 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16818 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16819 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16820 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16821 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16822 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16823 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16824 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16825 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16826 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16827 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16828 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16829 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16830 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16831 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16832 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16833 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16834 (R_ARM_THM_GOT_BREL12): Likewise.
16835 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16836 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16837 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16838 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16839 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16840 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16841 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16842 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16843 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16844
c7b275d6
TS
168452013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16846
16847 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16848 __attribute_used__ to __attribute__ ((unused)).
16849
20cd7fb3
SP
168502013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16851
16852 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16853 powerpc mpa.c.
16854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16855 comment formatting.
16856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16857
92945b52
JM
168582013-02-19 Joseph Myers <joseph@codesourcery.com>
16859
16860 [BZ #13550]
16861 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16862 Remove macro.
16863 (ENTER): Remove both macro definitions.
16864 (LEAVE): Likewise.
16865 (CHECK_BOUNDS_LOW): Likewise.
16866 (CHECK_BOUNDS_HIGH): Likewise.
16867 (CHECK_BOUNDS_BOTH): Likewise.
16868 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16869 (RETURN_BOUNDED_POINTER): Likewise.
16870 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16871 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16872 (POP_ERRNO_LOCATION_RETURN): Likewise.
16873 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16874 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16875 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16876 macros.
16877 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16878 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16879 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16880 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16881 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16882 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16883 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16884 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16885 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16886 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16887 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16888 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16889 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16890 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16891 removed macros.
16892 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16893 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16894 macros.
16895 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16896 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16897 * sysdeps/i386/i586/memset.S (memset): Likewise.
16898 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16899 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16900 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16901 macros.
16902 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16903 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16904 Change uses of L(2) to L(out).
16905 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16906 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16907 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16908 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16909 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16910 removed macros.
16911 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16912 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16913 macros.
16914 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16915 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16916 (RETURN): Do not use macro LEAVE.
16917 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16918 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16919 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16920 * sysdeps/i386/i686/memset.S (memset): Likewise.
16921 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16922 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16923 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16924 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16925 Likewise.
16926 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16927 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16928 L(1_2) and L(1_3) into L(1).
16929 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16930 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16931 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16932 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16933 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16934 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16935 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16936 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16937 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16938 macros.
16939 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16940 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16941 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16942 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16943 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16944 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16945 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16946 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16947 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16948 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16949 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16950 * sysdeps/i386/strspn.S (strspn): Likewise.
16951 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16952 conditional code.
16953 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16954 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16955 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16956 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16957 L(1_3) into L(1_1).
16958 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16959 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16960 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16961 macros.
16962 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16963
2389741a
JJ
169642013-02-19 Jakub Jelinek <jakub@redhat.com>
16965
16966 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16967 macro.
16968
2016b3cd
SP
169692013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16970
e4f22324
SP
16971 * math/atest-exp.c (exp_mpn): Remove ROUND.
16972 * math/atest-exp2.c (exp_mpn): Likewise.
16973 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16974
2016b3cd
SP
16975 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16976 * stdlib/tst-tls-atexit-lib.c: Likewise.
16977 * stdlib/tst-tls-atexit.c: Likewise.
16978
4be9b544
MF
169792013-02-18 Mike Frysinger <vapier@gentoo.org>
16980
16981 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16982 and __attribute_alloc_size__.
16983
2f62b9ee
MF
169842013-02-18 Mike Frysinger <vapier@gentoo.org>
16985
16986 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16987 __attribute_alloc_size__.
16988 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16989 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16990
6ff444c4
MF
169912013-02-18 Mike Frysinger <vapier@gentoo.org>
16992
16993 * include/programs/xmalloc.h: New file.
16994 * catgets/gencat.c: Include it.
16995 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16996 * elf/pldd.c: Likewise.
16997 * iconv/iconv_charmap.c: Likewise.
16998 * iconv/iconvconfig.c: Likewise.
16999 * iconv/strtab.c: Likewise.
17000 * locale/programs/locale.c: Likewise.
17001 * locale/programs/localedef.h: Likewise.
17002 * locale/programs/simple-hash.c: Likewise.
17003 * nscd/nscd.h: Likewise.
17004 * nss/makedb.c: Likewise.
17005 * sysdeps/generic/ldconfig.h: Likewise.
17006
be179c8a
SP
170072013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17008
ba384f6e
SP
17009 * Versions.def: Add GLIBC_2.18.
17010 * include/link.h (struct link_map): New member l_tls_dtor_count.
17011 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17012 (__call_tls_dtors): Likewise.
17013 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17014 __cxa_thread_atexit_impl.
17015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17016 Likewise.
17017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17018 Likewise.
17019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17020 Likewise.
17021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17022 Likewise.
17023 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17025 Likewise.
17026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17027 Likewise.
17028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17030 Likewise.
17031 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17032 (tests): Add test case tst-tls-atexit.
17033 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17034 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17035 (GLIBC_PRIVATE): Add __call_tls_dtors.
17036 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17037 for libstdc++.
17038 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17039 * stdlib/tst-tls-atexit.c: New test case.
17040 * stdlib/tst-tls-atexit-lib.c: New test case.
17041
ffaa74cf 17042 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17043
be179c8a
SP
17044 * elf/Versions (ld): Add _dl_find_dso_for_object.
17045 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17046 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17047 (dl_open_worker): Use _dl_find_dso_for_object.
17048 * elf/dl-sym.c (do_sym): Likewise.
17049 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17050
f78b5caa
AK
170512013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17052
17053 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17054 Syntactic changes only.
17055 (_dl_runtime_profile): Do a tail-call to the resolved function.
17056
29691210
JM
170572013-02-17 Joseph Myers <joseph@codesourcery.com>
17058
17059 [BZ #13550]
17060 * sysdeps/x86_64/bp-asm.h: Remove file.
17061 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17062 <bp-sym.h> and <bp-asm.h>.
17063 (__clone): Do not use BP_SYM.
17064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17065 <bp-sym.h> and <bp-asm.h>.
17066 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17067 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17068 "bp-asm.h".
17069 (_setjmp): Do not use BP_SYM.
17070 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17071 "bp-asm.h".
17072 (setjmp): Do not use BP_SYM.
17073 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17074 libc_hidden_def.
17075 (mempcpy): Do not use BP_SYM in weak_alias.
17076 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17077 "bp-asm.h".
17078 (strchr): Do not use BP_SYM.
17079 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17080 "bp-asm.h".
17081 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17082 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17083 (_start): Do not use BP_SYM.
17084 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17085 "bp-asm.h".
17086 (strcat): Do not use BP_SYM.
17087 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17088 "bp-asm.h".
17089 (STRCMP): Do not use BP_SYM.
17090 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17091 "bp-asm.h".
17092 (STRCPY): Do not use BP_SYM.
17093 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17094 "bp-asm.h".
17095 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17096 "bp-asm.h".
17097 (FUNCTION): Do not use BP_SYM.
17098 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17099 weak_alias.
17100 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17101
f238fd19
AJ
171022013-02-17 Andreas Jaeger <aj@suse.de>
17103
17104 * time/Versions: Sort entries.
17105 * string/Versions: Likewise.
17106 * resolv/Versions: Likewise.
17107 * posix/Versions: Likewise.
17108 * iconv/Versions: Likewise.
17109 * elf/Versions: Likewise.
17110 * wcsmbs/Versions: Likewise.
17111
bd07f23c 171122013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17113
22af19f9
SP
17114 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17115 loop termination condition.
17116
4709fe76
SP
17117 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17118 variable to calculate EZ.
17119 (__sqr): Likewise.
2d0e0f29
SP
17120
17121 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17122 the lower precision input.
17123
daaa7713
JM
171242013-02-15 Joseph Myers <joseph@codesourcery.com>
17125
17126 [BZ #13550]
17127 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17128 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17129 (run-via-rtld-prefix): Do not handle %-bp tests.
17130 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17131 (all-object-suffixes): Remove .ob.
17132 (bppfx): Remove variable.
17133 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17134 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17135 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17136 [$(build-bounded) = yes] (libtype.ob): Likewise.
17137 * Makerules (elide-routines.ob): Remove variable.
17138 (do-tests-clean): Do not handle *-bp.out.
17139 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17140 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17141 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17142 (tests): Do not include $(tests-bp.out).
17143 (xtests): Do not include $(xtests-bp.out).
17144 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17145 [$(build-bounded) = yes] ($(addprefix
17146 $(objpfx),$(binaries-bounded))): Remove rule.
17147 ($(objpfx)%-bp.out): Remove rule.
17148 * config.make.in (build-bounded): Remove variable.
17149 * crypt/Makefile [$(build-bounded) = yes]
17150 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17151 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17152 append to variable.
17153 [$(build-bounded) = yes] (install-lib): Likewise.
17154 [$(build-bounded) = yes] (generated): Likewise.
17155 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17156 Remove rule.
17157 * intl/Makefile [$(build-bounded) = yes]
17158 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17159 * math/Makefile [$(build-bounded) = yes]
17160 ($(tests:%=$(objpfx)%-bp): Likewise.
17161 * misc/Makefile [$(build-bounded) = yes]
17162 ($(objpfx)tst-tsearch-bp): Likewise.
17163 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17164 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17165 Remove dependency.
17166 * string/Makefile (o-objects.ob): Remove variable.
17167 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17168 (CFLAGS-.ob): Remove variable.
17169 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17170 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17171 both definitions of variable.
17172 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17173 (ASFLAGS-.ob): Remove variable.
17174
e97ed6dd
JM
171752013-02-14 Joseph Myers <joseph@codesourcery.com>
17176
2bdd4ca6
JM
17177 [BZ #13550]
17178 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17179 Remove __BOUNDED_POINTERS__ from condition.
17180 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17181 * string/bits/string2.h [!__NO_STRING_INLINES &&
17182 !__BOUNDED_POINTERS__]: Likewise.
17183 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17184 Likewise.
17185 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17186 Remove conditional code.
17187 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17188 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17189 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17190 condition.
17191
e97ed6dd
JM
17192 [BZ #13550]
17193 * csu/libc-start.c: Do not include <bp-sym.h>.
17194 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17195 * elf/dl-open.c: Do not include <bp-sym.h>.
17196 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17197 * math/fegetenv.c: Do not include <bp-sym.h>.
17198 (fegetenv): Do not use BP_SYM in versioned symbols.
17199 * nptl/sysdeps/pthread/bits/libc-lockP.h
17200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17201 <bp-sym.h>.
17202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17203 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17205 (__pthread_mutex_destroy): Likewise.
17206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17207 (__pthread_mutex_lock): Likewise.
17208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17209 (__pthread_mutex_trylock): Likewise.
17210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17211 (__pthread_mutex_unlock): Likewise.
17212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17213 (__pthread_mutexattr_init): Likewise.
17214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17215 (__pthread_mutexattr_destroy): Likewise.
17216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17217 (__pthread_mutexattr_settype): Likewise.
17218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17219 (__pthread_rwlock_init): Likewise.
17220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17221 (__pthread_rwlock_destroy): Likewise.
17222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17223 (__pthread_rwlock_rdlock): Likewise.
17224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17225 (__pthread_rwlock_tryrdlock): Likewise.
17226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17227 (__pthread_rwlock_wrlock): Likewise.
17228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17229 (__pthread_rwlock_trywrlock): Likewise.
17230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17231 (__pthread_rwlock_unlock): Likewise.
17232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17233 (__pthread_key_create): Likewise.
17234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17235 (__pthread_setspecific): Likewise.
17236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17237 (__pthread_getspecific): Likewise.
17238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17239 Likewise.
17240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17241 (_pthread_cleanup_push_defer): Likewise.
17242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17243 (_pthread_cleanup_pop_restore): Likewise.
17244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17245 (pthread_setcancelstate): Likewise.
17246 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17247 <bp-sym.h>.
17248 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17249 (memchr): Do not use BP_SYM in weak_alias.
17250 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17251 (fegetenv): Do not use BP_SYM in versioned symbols.
17252 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17253 (fesetenv): Do not use BP_SYM in versioned symbols.
17254 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17255 (feupdateenv): Do not use BP_SYM in versioned symbols.
17256 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17257 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17258 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17259 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17260 (open64): Do not use BP_SYM in weak_alias.
17261 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17262 (fegetenv): Do not use BP_SYM in versioned symbols.
17263 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17264 (fesetenv): Do not use BP_SYM in versioned symbols.
17265 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17266 (feupdateenv): Do not use BP_SYM in versioned symbols.
17267 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17268 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17269 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17270 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17271 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17272 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17273 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17274 <bp-sym.h>.
17275 (__libc_start_main): Do not use BP_SYM.
17276
d6752ccd
SP
172772013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17278
cb57ce60
SP
17279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17280 redundant return line.
17281 (norm): Likewise.
17282 (denorm): Likewise.
17283 (dbl_mp): Likewise.
17284 (sub_magnitudes): Likewise.
17285 (__add): Likewise.
17286 (__sub): Likewise.
17287 (__mul): Likewise.
17288 (__inv): Likewise.
17289 (__dvd): Likewise.
17290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17291 (norm): Likewise.
17292 (denorm): Likewise.
17293 (dbl_mp): Likewise.
17294 (sub_magnitudes): Likewise.
17295 (__add): Likewise.
17296 (__sub): Likewise.
17297 (__mul): Likewise.
17298 (__inv): Likewise.
17299 (__dvd): Likewise.
17300
f414520d
SP
17301 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17302 instead of __mul.
17303 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17304 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17305 (cc32): Likewise.
17306
d6752ccd
SP
17307 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17308 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17310 of __mul for squares.
17311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17312 function
17313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17314 Likewise.
17315 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17316 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17317
70d9946a
JM
173182013-02-13 Joseph Myers <joseph@codesourcery.com>
17319
17320 [BZ #13550]
17321 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17322 code.
17323 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17324 prototype or function definition. Rename ubp_* variables and
17325 parameters. Remove argv definitions conditional on
17326 [__BOUNDED_POINTERS__].
17327 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17328 * elf/dl-runtime.c (_dl_fixup): Likewise.
17329 * include/set-hooks.h (RUN_HOOK): Likewise.
17330 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17331 definition.
17332 * string/strcpy.c (strcpy): Do not use __unbounded.
17333 * sysdeps/generic/frame.h (struct layout): Likewise.
17334 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17335 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17336 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17337 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17338 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17339 (__backtrace): Likewise.
17340 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17341 use __ptrvalue.
17342 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17343 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17344 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17345 Likewise.
17346 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17347 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17348 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17349 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17350 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17351 Do not use __unbounded.
17352 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17353 Rename __unboundedrlimits parameter to rlimits in prototype.
17354 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17355 Do not use __unbounded.
17356 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17357 not use __ptrvalue.
17358 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17359 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17360 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17361 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17362 __ptrvalue or __unbounded.
17363 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17364 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17365 use __unbounded.
17366 (__new_msgctl): Do not use __ptrvalue.
17367 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17368 __unbounded.
17369 (__libc_msgrcv): Do not use __ptrvalue.
17370 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17371 startup_info): Do not use __unbounded.
17372 (__libc_start_main): Likewise. Rename ubp_* variables and
17373 parameters. Remove argv definitions conditional on
17374 [__BOUNDED_POINTERS__].
17375 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17376 __ptrvalue.
17377 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17378 use __unbounded.
17379 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17380 or __ptrvalue.
17381 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17382 use __unbounded.
17383 (__new_shmctl): Do not use __ptrvalue.
17384 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17385 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17386 Likewise.
17387 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17388 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17389 (__libc_sigaction): Likewise.
17390 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17391 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17392 Likewise.
17393 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17394
cc7834d6
OB
173952013-02-13 Ondřej Bílka <neleai@seznam.cz>
17396
ffb1ec7b 17397 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17398
17399 * string/mempcpy.c: Implement by calling memcpy.
17400
bdf02814
SP
174012013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17402
c2af38aa
SP
17403 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17404
4e92d59e
SP
17405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17406 evaluation.
17407
909279a5
SP
17408 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17409 values in the mantissa.
17410
bdf02814
SP
17411 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17412 minimize writes to Z.
17413 (sub_magnitudes): Simplify code a bit.
17414
cd525923
RM
174152013-02-12 Roland McGrath <roland@hack.frob.com>
17416
17417 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17418 from the message. The linker prefixes all warnings with that already.
17419
7e2f0d2d
AS
174202013-02-12 Andreas Schwab <schwab@suse.de>
17421
a445af0b
AS
17422 [BZ #15078]
17423 * posix/regexec.c (extend_buffers): Add parameter min_len.
17424 (check_matching): Pass minimum needed length.
17425 (clean_state_log_if_needed): Likewise.
17426 (get_subexp): Likewise.
17427 * posix/Makefile (tests): Add bug-regex34.
17428 (bug-regex34-ENV): Define.
17429 * posix/bug-regex34.c: New file.
17430
7e2f0d2d
AS
17431 [BZ #11561]
17432 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17433 elements compare against the byte sequence of it, not its name.
17434 * posix/Makefile (tests): Add bug-regex35.
17435 (bug-regex35-ENV): Define.
17436 * posix/bug-regex35.c: New file.
17437
a175b684
TV
174382013-02-11 Tom de Vries <tom@codesourcery.com>
17439
17440 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17441 comment.
17442 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17443 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17444 (CHECK_EOL): Add undef.
17445
310998fe 174462013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17447
17448 * bits/stdlib-bsearch.h: New file.
17449 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17450 * stdlib/stdlib.h: Likewise.
41eda41d 17451
8ded91fb
RM
174522013-02-11 Roland McGrath <roland@hack.frob.com>
17453
17454 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17455 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17456 declaration.
17457 * manual/search.texi (Array Search Function): Add missing const in
17458 lfind prototype.
17459 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17460 declaration to use rlim_t.
17461 (Basic Scheduling Functions): Remove erroneous const from
17462 sched_getparam prototype. Remove erroneous * from
17463 sched_get_priority_max and sched_get_priority_min prototypes.
17464 (Resource Usage): Fix summary @comment on vtimes to refer to
17465 sys/vtimes.h rather than vtimes.h.
17466 Add missing *s in vtimes prototype.
17467 (Limits on Resources): Fix ulimit prototype to return long int.
17468 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17469 prototypes to use long int rather than double.
17470 (BSD Random): Fix initstate and setstate to use char *, not void *.
17471 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17472 prototype to make second argument 'struct aiocb64 *const[]'.
17473 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17474 (Status of AIO Operations): Remove erroneous const in aio_return and
17475 aio_return64 prototypes.
17476 (Synchronizing I/O): Fix sync prototype to return void.
17477 * manual/startup.texi (Suboptions): Remove an erroneous const in
17478 getsubopt prototype.
17479 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17480 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17481 use size_t rather than int.
17482 (Scanning All Users): Likewise for getpwent_r.
17483 (Setting Groups): Add missing const to setgroups prototype.
17484 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17485 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17486 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17487 'const void *' rather than 'const char *'.
17488 (Host Address Functions): Likewise for inet_ntop.
17489 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17490 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17491 ssize_t for return value.
17492 (Sending Data): Likewise for send, sendto, sendmsg.
17493 (Socket Option Functions): Add a missing const in setsockopt prototype.
17494 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17495 use wchar_t for the argument.
17496 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17497 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17498 take no arguments.
17499 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17500 double/float/long double for second argument.
17501 Fix return types of significand, significandf, significandl.
17502 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17503 argument in fchmod prototype.
17504 (File Owner): Use uid_t and gid_t in fchown prototype.
17505 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17506 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17507 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17508 use 'const struct dirent **' as argument types to CMP function pointer
17509 argument.
17510 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17511 (File Times): Fix summary magic @comment for struct utimbuf and utime
17512 to refer to utime.h, not time.h.
17513 * manual/string.texi (Argz Functions): Add missing const in
17514 argz_extract and argz_next prototypes.
17515 (Finding Tokens in a String): Likewise for basename.
17516 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17517 (Copying and Concatenation): Fix typo in wmemmove prototype.
17518 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17519 (Signal Stack): Remove erroneous const in sigstack prototype.
17520 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17521 prototype.
17522 (Simple Calendar Time): Likewise for stime.
17523 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17524 prototype.
17525 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17526 say sys/sysctl.h instead.
17527 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17528 and vsyslog prototypes.
17529
fe77fe6d
TV
175302013-02-11 Tom de Vries <tom@codesourcery.com>
17531
17532 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17533 Remove.
17534
3a09b620
RM
175352013-02-11 Roland McGrath <roland@hack.frob.com>
17536
17537 * misc/sys/mman.h: Fix typo in mremap comment.
17538
550a0b89
RM
175392013-02-08 Roland McGrath <roland@hack.frob.com>
17540
17541 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17542 the '\0' terminator.
17543
a2da1673
JM
175442013-02-08 Joseph Myers <joseph@codesourcery.com>
17545
17546 [BZ #13550]
17547 * debug/segfault.c: Don't include <bp-checks.h>.
17548 * sysdeps/generic/bp-checks.h: Remove file.
17549 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17550 (__GETDENTS): Don't use CHECK_N.
17551 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17552 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17553 (__getgroups): Don't use CHECK_N.
17554 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17555 (setgroups): Don't use CHECK_N.
17556 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17557 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17558 (__libc_msgrcv): Don't use CHECK_N.
17559 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17560 (__libc_msgsnd): Don't use CHECK_N.
17561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17562 <bp-checks.h>.
17563 (__libc_pread): Don't use CHECK_N.
17564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17565 include <bp-checks.h>.
17566 (__libc_pread64): Don't use CHECK_N.
17567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17568 include <bp-checks.h>.
17569 (__libc_pwrite): Don't use CHECK_N.
17570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17571 include <bp-checks.h>.
17572 (__libc_pwrite64): Don't use CHECK_N.
17573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17574 <bp-checks.h>.
17575 (__libc_pread): Don't use CHECK_N.
17576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17577 include <bp-checks.h>.
17578 (__libc_pread64): Don't use CHECK_N.
17579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17580 include <bp-checks.h>.
17581 (__libc_pwrite): Don't use CHECK_N.
17582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17583 include <bp-checks.h>.
17584 (__libc_pwrite64): Don't use CHECK_N.
17585 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17586 (do_pread): Don't use CHECK_N.
17587 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17588 (do_pread64): Don't use CHECK_N.
17589 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17590 (do_pwrite): Don't use CHECK_N.
17591 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17592 (do_pwrite64): Don't use CHECK_N.
17593 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17594 (__libc_readv): Don't use CHECK_N.
17595 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17596 (semop): Don't use CHECK_N.
17597 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17598 <bp-checks.h>.
17599 (semtimedop): Don't use CHECK_N.
17600 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17601 (__libc_pread): Don't use CHECK_N.
17602 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17603 <bp-checks.h>.
17604 (__libc_pread64): Don't use CHECK_N.
17605 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17606 <bp-checks.h>.
17607 (__libc_pwrite): Don't use CHECK_N.
17608 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17609 <bp-checks.h>.
17610 (__libc_pwrite64): Don't use CHECK_N.
17611 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17612 <bp-checks.h>.
17613 (__libc_msgrcv): Don't use CHECK_N.
17614 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17615 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17616 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17617 (__libc_writev): Don't use CHECK_N.
17618
b84660a8
RM
176192013-02-08 Roland McGrath <roland@hack.frob.com>
17620
7f3e75f8
RM
17621 * string/strcpy.c: Removed unused variable.
17622
b84660a8
RM
17623 * Makeconfig (+sysdep-includes): Define with := rather than =.
17624 Use an existing include/ subdir of each sysdeps dir before it.
17625
471514d3
CD
176262013-02-08 Carlos O'Donell <carlos@redhat.com>
17627
17628 * nscd/connection.c (register_traced_file): Comment function.
17629 [HAVE_INOTIFY] (union __inev): Define.
17630 [HAVE_INOTIFY] (inotify_check_files): New function.
17631 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17632 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17633 clear_db_cache.
17634 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17635
b2d3c3be
CD
176362013-02-08 Carlos O'Donell <carlos@redhat.com>
17637
17638 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17639 loaded if not already and that a failure is permanent.
17640
b39949d2
CD
176412013-02-08 Carlos O'Donell <carlos@redhat.com>
17642
ddacd1db 17643 [BZ #15006]
b39949d2
CD
17644 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17645 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17646
b2c9eff4
JM
176472013-02-08 Joseph Myers <joseph@codesourcery.com>
17648
f3aae3f3
JM
17649 [BZ #13550]
17650 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17651 (CHECK_1_NULL_OK): Likewise.
17652 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17653 (__fxstat): Do not use CHECK_1.
17654 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17655 <bp-checks.h>.
17656 (___fxstat64): Do not use CHECK_1.
17657 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17658 <bp-checks.h>.
17659 (__fxstatat): Do not use CHECK_1.
17660 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17661 <bp-checks.h>.
17662 (__fxstatat64): Do not use CHECK_1.
17663 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17664 <bp-checks.h>.
17665 (__fxstat): Do not use CHECK_1.
17666 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17667 <bp-checks.h>.
17668 (__fxstatat): Do not use CHECK_1.
17669 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17670 <bp-checks.h>.
17671 (__getresgid): Do not use CHECK_1.
17672 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17673 <bp-checks.h>.
17674 (__getresuid): Do not use CHECK_1.
17675 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17676 <bp-checks.h>.
17677 (__lxstat): Do not use CHECK_1.
17678 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17679 <bp-checks.h>.
17680 (__old_msgctl): Do not use CHECK_1.
17681 (__new_msgctl): Likewise.
17682 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17683 <bp-checks.h>.
17684 (__new_setrlimit): Do not use CHECK_1.
17685 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17686 <bp-checks.h>.
17687 (__old_shmctl): Do not use CHECK_1.
17688 (__new_shmctl): Likewise.
17689 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17690 <bp-checks.h>.
17691 (__xstat): Do not use CHECK_1.
17692 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17693 (__lxstat): Do not use CHECK_1.
17694 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17695 <bp-checks.h>.
17696 (___lxstat64): Do not use CHECK_1.
17697 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17698 (__old_msgctl): Do not use CHECK_1.
17699 (__new_msgctl): Likewise.
17700 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17701 <bp-checks.h>.
17702 (__gettimeofday): Do not use CHECK_1.
17703 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17704 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17705 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17706 <bp-checks.h>.
17707 (__gettimeofday): Do not use CHECK_1.
17708 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17709 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17710 (__new_shmctl): Do not use CHECK_1.
17711 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17712 <bp-checks.h>.
17713 (do_sigtimedwait): Do not use CHECK_1.
17714 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17715 <bp-checks.h>.
17716 (do_sigwaitinfo): Do not use CHECK_1.
17717 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17718 <bp-checks.h>.
17719 (msgctl): Do not use CHECK_1.
17720 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17721 <bp-checks.h>.
17722 (shmctl): Do not use CHECK_1.
17723 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17724 (ustat): Do not use CHECK_1.
17725 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17726 <bp-checks.h>.
17727 (__fxstat): Do not use CHECK_1.
17728 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17729 <bp-checks.h>.
17730 (__fxstatat): Do not use CHECK_1.
17731 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17732 <bp-checks.h>.
17733 (__lxstat): Do not use CHECK_1.
17734 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17735 <bp-checks.h>.
17736 (__xstat): Do not use CHECK_1.
17737 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17738 (__xstat): Do not use CHECK_1.
17739 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17740 (___xstat64): Do not use CHECK_1.
17741
b2c9eff4
JM
17742 [BZ #13550]
17743 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17744 definitions.
17745 (CHECK_BOUNDS_HIGH): Likewise.
17746 * string/strcpy.c: Do not include <bp-checks.h>.
17747 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17748
f1d70dad
RM
177492013-02-07 Roland McGrath <roland@hack.frob.com>
17750
17751 * nscd/nscd-client.h (__nscd_drop_map_ref):
17752 Add __attribute__ ((unused)).
17753 * nis/nss-nisplus.h (niserr2nss): Likewise.
17754
17755 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17756 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17757
17758 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17759 Remove inline keyword.
17760 * include/rounding-mode.h (round_away): Likewise.
17761 * libio/wfileops.c (adjust_wide_data): Likewise.
17762 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17763 (__m128i_strloadu_tolower): Likewise.
17764 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17765 (__m128i_strloadu_tolower): Likewise.
17766 * time/mktime.c (ydhms_diff): Likewise.
17767 * locale/elem-hash.h (elem_hash): Likewise.
17768 * locale/setlocale.c (setdata): Likewise.
17769 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17770 (re_string_wchar_at): Likewise.
17771 (bitset_not, bitset_merge, bitset_mask): Likewise.
17772 [!(__GNUC__ > 3)] (inline): Remove macro.
17773 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17774 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17775 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17776 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17777 * string/memcmp.c (memcmp_bytes): Likewise.
17778 * locale/programs/locarchive.c (compute_hashval): Likewise.
17779 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17780 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17781 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17782 * nss/getent.c (print_rpc, print_protocols): Likewise.
17783 (print_passwd, print_group, print_aliases): Likewise.
17784 * nis/nss-nisplus.h (niserr2nss): Likewise.
17785 * nscd/connections.c (restart_p): Likewise.
17786 Change return type to bool.
17787
eab55bfb
RM
177882013-02-05 Roland McGrath <roland@hack.frob.com>
17789
7bd642f5
RM
17790 * Makeconfig (all-Depend-files): Add existing
17791 $(sorted-subdirs:=/Depend) files.
17792 (all-subdirs): Remove nss.
17793 * sysdeps/unix/inet/Subdirs: Add it here instead.
17794 * hesiod/Depend: New file.
17795
573c29b2
RM
17796 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17797 instead of calling alloca.
17798
b2e25af0
RM
17799 * io/lseek.c (__lseek): Rename to __libc_lseek.
17800 Define __lseek as an alias.
17801
eab55bfb
RM
17802 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17803
9a0d1941
CD
178042013-02-04 Carlos O'Donell <carlos@redhat.com>
17805
17806 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17807 else clause and remove check for non-standard endianness.
17808
b83bbec4
DM
178092013-02-04 David S. Miller <davem@davemloft.net>
17810
17811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17812
6277fdab
JM
178132013-02-04 Joseph Myers <joseph@codesourcery.com>
17814
17815 [BZ #13550]
17816 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17817 (__ubp_memchr): Remove prototype.
17818 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17819 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17820 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17821 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17822 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17823 Remove alias.
17824 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17825 (__ubp_memchr): Likewise.
17826 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17827 (__ubp_memchr): Likewise.
17828 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17829 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17830 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17831 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17832 CHECK_STRING.
17833 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17834 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17835 (__getcwd): Do not use CHECK_STRING.
17836 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17837 <bp-checks.h>.
17838 (__real_chown): Do not use CHECK_STRING.
17839 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17840 <bp-checks.h>.
17841 (fchownat): Do not use CHECK_STRING.
17842 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17843 CHECK_STRING.
17844 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17845 <bp-checks.h>.
17846 (__lchown): Do not use CHECK_STRING.
17847 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17848 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17849 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17850 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17852 include <bp-checks.h>.
17853 (truncate64): Do not use CHECK_STRING.
17854 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17855 <bp-checks.h>.
17856 (__real_chown): Do not use CHECK_STRING.
17857 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17858 <bp-checks.h>.
17859 (__lchown): Do not use CHECK_STRING.
17860 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17861 <bp-checks.h>.
17862 (__chown): Do not use CHECK_STRING.
17863 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17864 <bp-checks.h>.
17865 (truncate64): Do not use CHECK_STRING.
17866 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17867 Likewise.
17868 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17869 (__xmknod): Do not use CHECK_STRING.
17870 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17871 <bp-checks.h>.
17872 (__xmknodat): Do not use CHECK_STRING.
17873 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17874 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17875
903ae060
AS
178762013-02-04 Andreas Schwab <schwab@suse.de>
17877
17878 [BZ #14142]
17879 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17880 * include/netdb.h: Likewise for h_errno.
17881 * elf/tst-stackguard1.c: Include <tls.h>.
17882
542f9466
JK
178832013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17884
17885 * elf/link.h (struct link_map): Extend the l_addr comment.
17886 * include/link.h (struct link_map): Likewise.
17887
e782a927
JM
178882013-02-01 Joseph Myers <joseph@codesourcery.com>
17889
17890 [BZ #13550]
17891 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17892 (BOUNDED_1): Remove macro.
17893 * debug/backtrace.c: Don't include <bp-checks.h>.
17894 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17895 (__backtrace): Likewise.
17896 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17897 <bp-checks.h>.
17898 (__backtrace): Don't use BOUNDED_1.
17899 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17900 <bp-checks.h>.
17901 (__backtrace): Don't use BOUNDED_1.
17902 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17903 (__backtrace): Don't use BOUNDED_1.
17904 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17905 (shmat): Don't use BOUNDED_N.
17906
8cf28c5e
JM
179072013-01-31 Joseph Myers <joseph@codesourcery.com>
17908
3a7ac8a0
JM
17909 [BZ #13550]
17910 * sysdeps/generic/bp-start.h: Remove file.
17911 * csu/libc-start.c: Don't include <bp-start.h>.
17912 (LIBC_START_MAIN): Set up __environ directly instead of using
17913 INIT_ARGV_and_ENVIRON.
17914 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17915 <bp-start.h>.
17916
f3499f95
JM
17917 [BZ #13550]
17918 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17919 definitions.
17920 (CHECK_FCNTL): Likewise.
17921 (CHECK_N_PAGES): Likewise.
17922
32a45bea
JM
17923 [BZ #13550]
17924 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17925 definitions.
17926 (CHECK_SIGSET_NULL_OK): Likewise.
17927 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17928 <bp-checks.h>.
17929 (sigpending): Don't use CHECK_SIGSET.
17930 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17931 <bp-checks.h>.
17932 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17933 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17934 <bp-checks.h>.
17935 (do_sigsuspend): Don't use CHECK_SIGSET.
17936 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17937 use CHECK_SIGSET.
17938 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17939 (do_sigwait): Don't use CHECK_SIGSET.
17940 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17941 use CHECK_SIGSET.
17942 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17943 include <bp-checks.h>.
17944 (sigpending): Don't use CHECK_SIGSET.
17945 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17946 include <bp-checks.h>.
17947 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17948 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17949 <bp-checks.h>.
17950 (sigpending): Don't use CHECK_SIGSET.
17951 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17952 <bp-checks.h>.
17953 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17954
2e8a5c8c
JM
17955 [BZ #13550]
17956 * sysdeps/generic/bp-semctl.h: Remove file.
17957 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17958 <bp-checks.h> and <bp-semctl.h>.
17959 (__old_semctl): Don't use CHECK_SEMCTL.
17960 (__new_semctl): Likewise.
17961 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17962 and <bp-semctl.h>.
17963 (__old_semctl): Don't use CHECK_SEMCTL.
17964 (__new_semctl): Likewise.
17965 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17966 <bp-checks.h> and <bp-semctl.h>.
17967 (__old_semctl): Don't use CHECK_SEMCTL.
17968 (__new_semctl): Likewise.
17969 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17970 <bp-checks.h> and <bp-semctl.h>.
17971 (semctl): Don't use CHECK_SEMCTL.
17972
c2d54929
JM
17973 [BZ #13550]
17974 * Makerules (elide-bp-thunks): Remove variable.
17975 (elide-routines.oS): Don't use $(elide-bp-thunks).
17976 (elide-routines.os): Likewise.
17977 (elide-routines.o): Likewise.
17978 (elide-routines.op): Likewise.
17979 (elide-routines.og): Likewise.
17980 (objects): Don't use $(bp-thunks).
17981 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17982 include.
17983 (common-generated): Do not add s-proto-bp.d.
17984 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17985 (int): Likewise.
17986 (typ): Likewise.
17987 Do not generate makefile rules for bounded-pointer thunks.
17988 * sysdeps/generic/bp-thunks.h: Remove file.
17989 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17990 * sysdeps/unix/s-proto-bp.S: Likewise.
17991
8cf28c5e
JM
17992 [BZ #15062]
17993 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17994 parts of result separately when argument is not close to line from
17995 -i to i and one part of argument is small.
17996 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17997 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17998 * math/libm-test.inc (cacos_test): Add more tests.
17999 (casin_test): Likewise.
18000 (casinh_test): Likewise.
18001 * sysdeps/i386/fpu/libm-test-ulps: Update.
18002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18003
c4e33b8d
DM
180042013-01-31 David S. Miller <davem@davemloft.net>
18005
18006 * po/de.po: Update from translation team.
18007
3b60b421
MK
180082013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18009
18010 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18011
bb931195
TS
180122013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18013
b5a5da23
TS
18014 * configure.in (_AC_PROG_CC_C89): New definition.
18015 * configure: Regenerate.
18016
bb931195
TS
18017 * configure.in (AC_PROG_CPP): New definition.
18018 * configure: Regenerate.
18019
8c53a12c
JM
180202013-01-23 Joseph Myers <joseph@codesourcery.com>
18021
18022 * debug/tst-backtrace.h: New file.
18023 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18024 (ret): Remove variable.
18025 (x): Likewise.
18026 (FAIL): Remove macro.
18027 (NO_INLINE): Likewise.
18028 (fn1): Use match function instead of strstr.
18029 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18030 (ret): Remove variable.
18031 (x): Likewise.
18032 (FAIL): Remove macro.
18033 (NO_INLINE): Likewise.
18034 (fn): Use match function instead of strstr.
18035 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18036 (ret): Remove variable.
18037 (x): Likewise.
18038 (FAIL): Remove macro.
18039 (NO_INLINE): Likewise.
18040 (handle_signal): Use match function instead of strstr.
18041 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18042 (ret): Remove variable.
18043 (x): Likewise.
18044 (FAIL): Remove macro.
18045 (NO_INLINE): Likewise.
18046 (handle_signal): Use match function instead of strstr.
18047
4858fa2a
RM
180482013-01-23 Roland McGrath <roland@hack.frob.com>
18049
18050 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18051
bae8e7f5
DM
180522013-01-23 David S. Miller <davem@davemloft.net>
18053
18054 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18055 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18056 argument of CAS if possible.
18057 * sysdeps/sparc/sparc64/bits/atomic.h
18058 (__arch_compare_and_exchange_val_32_acq): Likewise.
18059 (__arch_compare_and_exchange_val_64_acq): Likewise.
18060
9cbbc4ae
PT
180612013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18062
18063 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18064 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18065 Include <limits.h>.
67b3f58c 18066 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18067
5655a0b5
AC
180682013-01-23 Adam Conrad <adconrad@0c3.net>
18069
18070 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18071 (LDFLAGS-tst-array5): Likewise.
18072
052aff95
JM
180732013-01-23 Joseph Myers <joseph@codesourcery.com>
18074
18075 [BZ #15036]
18076 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18077 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18078 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18079 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18080
7c1e01aa
DM
180812013-01-21 David S. Miller <davem@davemloft.net>
18082
18083 * sysdeps/sparc/backtrace.c: New file.
18084 * sysdeps/sparc/sparc32/backtrace.h: New file.
18085 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18086 * sysdeps/sparc/sparc64/backtrace.h: New file.
18087 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18088 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18089 -funwind-tables.
18090
ab087e0a
AS
180912013-01-21 Andreas Schwab <schwab@suse.de>
18092
18093 [BZ #15020]
18094 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18095 closed its stdout.
18096
ed689c2f
AS
180972013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18098
18099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18100 "mpa2.h".
18101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18102
31d470ac
JM
181032013-01-18 Joseph Myers <joseph@codesourcery.com>
18104 Mark Mitchell <mark@codesourcery.com>
18105 Tom de Vries <tom@codesourcery.com>
18106 Paul Pluzhnikov <ppluzhnikov@google.com>
18107
18108 * debug/tst-backtrace2.c: New file.
18109 * debug/tst-backtrace3.c: Likewise.
18110 * debug/tst-backtrace4.c: Likewise.
18111 * debug/tst-backtrace5.c: Likewise.
18112 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18113 (CFLAGS-tst-backtrace3.c): Likewise.
18114 (CFLAGS-tst-backtrace4.c): Likewise.
18115 (CFLAGS-tst-backtrace5.c): Likewise.
18116 (LDFLAGS-tst-backtrace2): Likewise.
18117 (LDFLAGS-tst-backtrace3): Likewise.
18118 (LDFLAGS-tst-backtrace4): Likewise.
18119 (LDFLAGS-tst-backtrace5): Likewise.
18120 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18121 tst-backtrace4 and tst-backtrace5.
18122
90567f30 181232013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18124 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18125
18126 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18127 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18128 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18129 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18131 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18132 "+r" and remove output regs list as redundant. Add explicit inline
18133 asm to specify register of return val to work around compiler codegen
18134 bug. Remove (int) cast on return value. Add return type parameter to
18135 use in macro so that this macro does not truncate return value for
18136 64-bit values.
18137 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18138 pass to INTERNAL_VSYSCALL_NCS.
18139 (INLINE_VSYSCALL): Add 'long int' as return type to
18140 INTERNAL_VSYSCALL_NCS macro invocation.
18141 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18142 INTERNAL_VSYSCALL_NCS macro invocation.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18144
d3b9ea61
SP
181452013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18146
0b57daeb
SP
18147 [BZ #14496]
18148 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18149 Fix application of SIMD FP exception mask.
18150
caa99d06
SP
18151 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18152 mp_no from a power of two.
18153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18154 __mpexp_twomm1. Use __pow_mp.
18155
d3b9ea61
SP
18156 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18157 multiplication.
18158
1dbaee3c
DM
181592013-01-17 David S. Miller <davem@davemloft.net>
18160
18161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18162
728d7b43
JM
181632013-01-17 Joseph Myers <joseph@codesourcery.com>
18164
18165 [BZ #15023]
18166 * include/complex.h: Condition contents on [!_COMPLEX_H].
18167 (__kernel_casinhf): New prototype.
18168 (__kernel_casinh): Likewise.
18169 (__kernel_casinhl): Likewise.
18170 * math/Makefile (libm_calls): Add k_casinh.
18171 * math/k_casinh.c: New file.
18172 * math/k_casinhf.c: Likewise.
18173 * math/k_casinhl.c: Likewise.
18174 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18175 finite nonzero arguments.
18176 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18177 finite nonzero arguments.
18178 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18179 finite nonzero arguments.
18180 * math/s_casinh.c: Do not include <float.h>.
18181 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18182 * math/s_casinhf.c: Do not include <float.h>.
18183 (__casinhf): Move code for finite nonzero arguments to
18184 k_casinhf.c.
18185 * math/s_casinhl.c: Do not include <float.h>.
18186 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18187 redefine.
18188 (__casinhl): Move code for finite nonzero arguments to
18189 k_casinhl.c.
18190 * math/libm-test.inc (cacos_test): Add more tests.
18191 * sysdeps/i386/fpu/libm-test-ulps: Update.
18192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18193
2a26ef3a
PT
181942013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18195
18196 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18197 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18198 [!HAVE_MREMAP]: Remove [defined linux] case.
18199 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18200
a897655d
SP
182012013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18202
18203 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18204
881ebe89 182052013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18206
18207 * elf/elf.h (R_386_SIZE32): New relocation.
18208 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18209 R_386_SIZE32.
18210 (elf_machine_rela): Likewise.
18211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18212 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18213
59981e9b
JM
182142013-01-17 Joseph Myers <joseph@codesourcery.com>
18215
18216 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18217 (FP_FAST_FMA): Do not define.
18218 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18219 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18220 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18221 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18222 !_SOFT_FLOAT]: Likewise.
18223 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18224 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18225 value.
18226 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18227 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18228 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18229 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18230 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18231 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18232 file.
18233
cfa8054f
AS
182342013-01-16 Andreas Schwab <schwab@suse.de>
18235
18236 [BZ #14327]
18237 * include/stdlib.h (__mktemp): Add declaration.
18238 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18239 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18240
dd930cc5
SP
182412013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18242
881ebe89
SP
18243 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18244 definitions.
18245 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18246 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18247 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18248 definitions here.
18249 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18250 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18251 definitions.
18252 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18253 and ONE.
18254 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18255 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18256 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18257 definitions.
18258 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18259 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18260 definitions.
18261 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18262
dd930cc5
SP
18263 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18264
c19a9f89
DM
182652013-01-15 David S. Miller <davem@davemloft.net>
18266
1aa61767
DM
18267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18268 trunc{,f} to libm-sysdep_routes.
18269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18271 file.
18272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18274 file.
18275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18276 file.
18277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18279 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18280 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18281 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18282 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18283 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18284 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18285
c42d5e98
DM
18286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18287 nearbyint{,f} to libm-sysdep_routes.
18288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18290 New file.
18291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18292 file.
18293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18294 New file.
18295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18296 file.
18297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18299 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18300 file.
18301 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18302 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18303 file.
18304 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18305 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18306 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18307
c19a9f89
DM
18308 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18309 libc_feholdexcept and libc_fesetenv.
18310
357679d2
MF
183112013-01-15 Mike Frysinger <vapier@gentoo.org>
18312
18313 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18314
65a82e3d
DM
183152013-01-14 David S. Miller <davem@davemloft.net>
18316
8b954ab9
DM
18317 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18318 (SPARC_ASM_VIS2_IFUNC): Likewise.
18319 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18321 use of 'siam' instruction.
18322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18323 Likewise.
18324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18325 Likewise.
18326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18327 Likewise.
18328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18333 file.
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18335 file.
18336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18337 file.
18338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18339 file.
18340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18345 new VIS2 routines.
18346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18349 Likewise.
18350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18355 routines to libm-sysdep_routines.
18356 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18357
65a82e3d
DM
18358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18359 fdim/fdimf to libm-sysdep_routines.
18360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18361 file.
18362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18364 file.
18365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18368 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18369 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18370 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18371 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18372
e34ab705
SP
183732013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18374
2a91b573
SP
18375 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18376 to optimize copies.
18377
1066a534
SP
18378 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18381
e34ab705
SP
18382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18383 local variable MPTWO.
18384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18385 Likewise.
18386
aba5e596
MF
183872013-01-13 Mike Frysinger <vapier@gentoo.org>
18388
18389 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18390 GLOB_NOESCAPE.
18391
e557e9e5
MF
183922013-01-13 Mike Frysinger <vapier@gentoo.org>
18393
18394 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18395
0428cec9
MF
183962013-01-13 Mike Frysinger <vapier@gentoo.org>
18397
18398 * manual/pattern.texi (glob_t): Document gl_flags.
18399 (glob64_t): Likewise.
18400
8794a964
DM
184012013-01-11 David S. Miller <davem@davemloft.net>
18402
66438c3f
RM
18403 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18404 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18405 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18406 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18407 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18408 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18409 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18410 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18411 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18412 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18413 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18414 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18415 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18416
4ae4244d
DM
18417 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18418 sparc V9 rather than using V8 code.
18419 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18420 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18421
8794a964
DM
18422 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18423 Move to...
18424 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18425 Here.
18426
6270516e
RM
184272013-01-11 Roland McGrath <roland@hack.frob.com>
18428
18429 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18430 not in the main loop.
18431 * configure: Regenerated.
18432
6a57d931
JM
184332013-01-11 Joseph Myers <joseph@codesourcery.com>
18434
18435 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18436 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18437 to just #else.
18438 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18439 [!__GLIBC_HAVE_LONG_LONG] case.
18440 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18441 condition to just #else.
18442 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18443 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18444 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18445 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18446 unconditional.
18447 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18448 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18449 #elif condition to just #else.
18450 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18451 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18452 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18453 #elif condition to just #else.
18454
0e8529e9
SE
184552013-01-11 Steve Ellcey <sellcey@mips.com>
18456
18457 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18458 (EF_MIPS_ARCH_64): Fix value.
18459 (EF_MIPS_ARCH_32R2): New.
18460 (EF_MIPS_ARCH_64R2): New.
18461
740b3dbe
L
184622013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18463
18464 * Makeconfig (+link-pie-before-libc): New.
18465 (+link-pie-after-libc): Likewise.
18466 (+link-pie-tests): Likewise.
18467 (+link-pie): Rewritten.
18468 (link-before-libc): Remove $(config-LDFLAGS).
18469 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18470 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18471 (config-LDFLAGS): Renamed to ...
18472 (rtld-LDFLAGS): This.
18473 (rtld-tests-LDFLAGS): New macro.
18474 (link-libc-rpath-link): Likewise.
18475 (link-libc-tests-rpath-link): Likewise.
18476 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18477 (link-libc): Prepand $(link-libc-rpath-link).
18478 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18479 (test-program-prefix): New macro.
18480 (test-via-rtld-prefix): Likewise.
18481 (test-program-cmd): Likewise.
18482 (host-test-program-cmd): Likewise.
18483 * Makefile ($(common-objpfx)testrun.sh): Replace
18484 $(run-program-prefix) with $(test-program-prefix).
18485 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18486 $(rtld-LDFLAGS).
18487 ($(common-objpfx)shlib.lds): Likewise.
18488 (build-module-helper): Likewise.
18489 ($(common-objpfx)format.lds): Likewise.
18490 * Rules (binaries-pie-tests): New.
18491 (binaries-pie-notests): Likewise.
18492 (binaries-pie): Rewritten.
18493 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18494 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18495 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18496 (make-test-out): Replace $(host-built-program-cmd) with
18497 $(host-test-program-cmd).
18498 * config.make.in (build-hardcoded-path-in-tests): New variable.
18499 * configure.in (--enable-hardcoded-path-in-tests): New configure
18500 option.
18501 (hardcoded_path_in_tests): New AC_SUBST.
18502 * configure: Regenerated.
18503 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18504 $(built-program-cmd) with $(test-program-cmd).
18505 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18506 (test_program_cmd): This.
18507 * elf/Makefile ($(objpfx)order.out): Run test with
18508 $(test-program-prefix).
18509 ($(objpfx)order2.out): Likewise.
18510 ($(objpfx)tst-initorder.out): Likewise.
18511 ($(objpfx)tst-initorder2.out): Likewise.
18512 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18513 $(test-program-cmd).
18514 ($(objpfx)tst-array1-static.out): Likewise.
18515 ($(objpfx)tst-array2.out): Likewise.
18516 ($(objpfx)tst-array3.out): Likewise.
18517 ($(objpfx)tst-array4.out): Likewise.
18518 ($(objpfx)tst-array5.out): Likewise.
18519 ($(objpfx)tst-array5-static.out): Likewise.
18520 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18521 $(test-program-cmd).
18522 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18523 $(run-program-prefix) with $(test-program-prefix).
18524 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18525 (test_program_prefix): This.
18526 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18527 $(run-program-prefix) with $(test-program-prefix).
18528 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18529 (test_program_prefix): This.
18530 * iconvdata/tst-tables.sh: Likewise.
18531 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18532 $(run-program-prefix) with $(test-program-prefix).
18533 ($(objpfx)tst-translit.out): Likewise.
18534 ($(objpfx)tst-gettext2.out): Likewise.
18535 ($(objpfx)tst-gettext4.out): Likewise.
18536 ($(objpfx)tst-gettext6.out): Likewise.
18537 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18538 (test_program_prefix): This.
18539 * intl/tst-gettext2.sh: Likewise.
18540 * intl/tst-gettext4.sh Likewise.
18541 * intl/tst-gettext6.sh: Likewise.
18542 * intl/tst-translit.sh: Likewise.
18543 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18544 with $(test-program-cmd).
18545 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18546 $(run-program-prefix) with $(test-program-prefix).
18547 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18548 (test_program_prefix): This.
18549 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18550 $(run-program-prefix) with $(test-program-prefix).
18551 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18552 (test_program_prefix): This.
18553 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18554 * posix/Makefile ($(objpfx)globtest.out): Replace
18555 $(run-via-rtld-prefix) and $(test-wrapper) with
18556 $(test-program-prefix) and $(test-via-rtld-prefix).
18557 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18558 $(test-program-prefix).
18559 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18560 $(host-test-program-cmd).
18561 (tst-spawn-ARGS): Likewise.
18562 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18563 $(test-program-prefix).
18564 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18565 (test_via_rtld_prefix): This.
18566 (test_wrapper): Renamed to ...
18567 (test_program_prefix): This.
18568 (run_program_prefix): Replaced by test_program_prefix.
18569 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18570 (test_program_prefix): This.
18571 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18572 with $(host-test-program-cmd).
18573 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18574 $(run-program-prefix) with $(test-program-prefix).
18575 ($(objpfx)tst-printf.out): Likewise.
18576 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18577 $(test-program-cmd).
18578 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18579 (test_program_prefix): This.
18580 * stdio-common/tst-unbputc.sh: Likewise.
18581 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18582 $(run-program-prefix) with $(test-program-prefix).
18583 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18584 (test_program_prefix): This.
18585 * string/Makefile ($(objpfx)tst-svc.out): Replace
18586 $(built-program-cmd) with $(test-program-cmd).
18587
c6fe55cf
AJ
185882013-01-11 Andreas Jaeger <aj@suse.de>
18589
18590 [BZ #15003]
18591 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18592 value. Sync with Linux 3.7.
18593
9e6919c8
DM
185942013-01-10 David S. Miller <davem@davemloft.net>
18595
18596 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18597 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18598 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18599
1c9f1a02
RM
186002013-01-10 Roland McGrath <roland@hack.frob.com>
18601
18602 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18603 never set.
18604 * configure: Regenerated.
18605
b9de2dde
DM
186062013-01-10 David S. Miller <davem@davemloft.net>
18607
18608 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18609 sparc V9 rather than using V8 code.
18610 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18611 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18612
e7f68ef4
RM
186132013-01-10 Roland McGrath <roland@hack.frob.com>
18614
18615 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18616 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18617 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18618 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18619 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18620 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18621 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18622 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18623 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18624 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18625 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18626 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18627 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18628 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18629 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18630 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18631 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18632 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18633 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18634 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18635 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18636 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18637 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18638 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18639 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18640 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18641 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18642
5a47cc9c
DM
186432013-01-10 David S. Miller <davem@davemloft.net>
18644
18645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18646
4cf8f209
L
186472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18648
18649 * posix/Makefile (tests-static): New variable.
18650 (tests): Add $(tests-static).
18651 (tst-exec-static-ARGS): New variable.
18652 (tst-spawn-static-ARGS): Likewise.
18653 * posix/tst-exec-static.c: New file.
18654 * posix/tst-spawn-static.c: Likewise.
18655 * posix/tst-exec.c: Support run directly.
18656 * posix/tst-spawn.c: Likewise.
18657
fed0faa1
JM
186582013-01-10 Joseph Myers <joseph@codesourcery.com>
18659
828beb13
JM
18660 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18661 long.
18662 * math/bits/mathcalls.h (llrint): Likewise.
18663 (llround): Likewise.
18664 * stdlib/stdlib.h (struct drand48_data): Likewise.
18665 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18666 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18667 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18668 Likewise.
18669 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18670 Likewise.
18671 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18672 (elf_greg_t): Likewise.
18673 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18674 (__jmp_buf): Likewise.
18675 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18676 definitions.
18677 (llrint): Likewise, for all definitions.
18678 (llrintl): Likewise.
18679
fed0faa1
JM
18680 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18681 Remove [__GNUC__] condition.
18682 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18683 condition to just [__USE_ISOC99].
18684 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18685
1a20cb20
L
186862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18687
18688 [BZ #14200]
18689 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18690 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18691 defined.
18692 (_POSIX_V6_ILP32_OFF32): Likewise.
18693 (_XBS5_ILP32_OFF32): Likewise.
18694 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18695 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18696
751b85f7
SP
186972013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18698
7490eb81
SP
18699 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18700
751b85f7
SP
18701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18702 doubles __mpexp_twomm1. Adjust usage.
18703 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18704 Remove.
18705
988197f0
AS
187062013-01-10 Andreas Schwab <schwab@suse.de>
18707
18708 [BZ #14964]
18709 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18710 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18711
e83d7298
DM
187122013-01-09 David S. Miller <davem@davemloft.net>
18713
034ed64b 18714 [BZ #15003]
e83d7298
DM
18715 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18716 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18717 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18718 TCP_FASTOPEN): Define.
18719 (tcp_repair_opt): New structure.
18720 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18721 enum values.
18722 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18723 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18724 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18725 (tcp_cookie_transactions): New structure.
18726
d5e0b9bd
AB
187272013-01-09 Anton Blanchard <anton@samba.org>
18728
18729 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18730 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18731 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18732 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18733
0c07e3ea
JM
187342013-01-09 Joseph Myers <joseph@codesourcery.com>
18735
18736 * include/features.h (__USE_ANSI): Remove.
18737
232f7002
RM
187382013-01-09 Roland McGrath <roland@hack.frob.com>
18739
ad98e30c
RM
18740 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18741
232f7002
RM
18742 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18743
950c99ca
SP
187442013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18745
b5792741
SP
18746 * sysdeps/s390/fpu/libm-test-ulps: Update.
18747
47cf2278
SP
18748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18749
950c99ca
SP
18750 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18751 (__acr): Likewise.
18752 (__cpy): Likewise.
18753 (norm): Likewise.
18754 (denorm): Likewise.
18755 (__mp_dbl): Likewise.
18756 (__dbl_mp): Likewise.
18757 (add_magnitudes): Likewise.
18758 (sub_magnitudes): Likewise.
18759 (__add): Likewise.
18760 (__sub): Likewise.
18761 (__mul): Likewise.
18762 (__inv): Likewise.
18763 (__dvd): Likewise.
18764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18765 (__acr): Likewise.
18766 (__cpy): Likewise.
18767 (norm): Likewise.
18768 (denorm): Likewise.
18769 (__mp_dbl): Likewise.
18770 (__dbl_mp): Likewise.
18771 (add_magnitudes): Likewise.
18772 (sub_magnitudes): Likewise.
18773 (__add): Likewise.
18774 (__sub): Likewise.
18775 (__mul): Likewise.
18776 (__inv): Likewise.
18777 (__dvd): Likewise.
18778 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18779 (__acr): Likewise.
18780 (__cpy): Likewise.
18781 (norm): Likewise.
18782 (denorm): Likewise.
18783 (__mp_dbl): Likewise.
18784 (__dbl_mp): Likewise.
18785 (add_magnitudes): Likewise.
18786 (sub_magnitudes): Likewise.
18787 (__add): Likewise.
18788 (__sub): Likewise.
18789 (__mul): Likewise.
18790 (__inv): Likewise.
18791 (__dvd): Likewise.
18792
eede9df9
JM
187932013-01-08 Joseph Myers <joseph@codesourcery.com>
18794
18795 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18796 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18797 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18798 2 && __USE_EXTERN_INLINES]: Likewise.
18799
c40ea3d9
AJ
188002013-01-08 Andreas Jaeger <aj@suse.de>
18801
18802 [BZ# 14985]
18803 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18804 Remove.
18805 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18806 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18807
2ccdea26
AB
188082013-01-07 Anton Blanchard <anton@samba.org>
18809
18810 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18811 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18812 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18813 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18814 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18815 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18816 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18817 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18819 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18820 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18821 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18822 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18823 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18824 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18825 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18826 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18827 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18828 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18829 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18830 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18831 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18833 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18834 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18835 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18836 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18837 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18838 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18839 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18840 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18842 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18843 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18844 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18845 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18846 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18847 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18848 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18849 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18850 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18851 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18852 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18853
a9708fed
JM
188542013-01-07 Joseph Myers <joseph@codesourcery.com>
18855
375607b9
JM
18856 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18857 (__MALLOC_PMT): Likewise.
18858 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18859 [__GNUC__], only on [_LIBC].
18860 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18861 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18862 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18863 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18864 forward declaration.
18865 (realloc_hook_ini): Likewise.
18866 (memalign_hook_ini): Likewise.
18867 (__libc_memalign): Do not use __MALLOC_PMT in variable
18868 declaration.
18869 (__libc_valloc): Likewise.
18870 (__libc_pvalloc): Likewise.
18871 (__libc_calloc): Likewise.
18872 (__posix_memalign): Likewise.
18873
a9708fed
JM
18874 [BZ #14996]
18875 * math/s_casinh.c: Include <float.h>.
18876 (__casinh): Do not do computation with squaring and square root
18877 for large arguments.
18878 * math/s_casinhf.c: Include <float.h>.
18879 (__casinhf): Do not do computation with squaring and square root
18880 for large arguments.
18881 * math/s_casinhl.c: Include <float.h>.
18882 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18883 (__casinhl): Do not do computation with squaring and square root
18884 for large arguments.
18885 * math/libm-test.inc (casin_test): Add more tests.
18886 (casinh_test): Likewise.
18887 * sysdeps/i386/fpu/libm-test-ulps: Update.
18888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18889
afec409a
L
188902013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18891
18892 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18893 (__x86_64_raw_data_cache_size): Likewise.
18894 (__x86_64_data_cache_size_half): Likewise.
18895 (__x86_64_raw_data_cache_size_half): Likewise.
18896 (__x86_64_shared_cache_size): Likewise.
18897 (__x86_64_raw_shared_cache_size): Likewise.
18898 (__x86_64_shared_cache_size_half): Likewise.
18899 (__x86_64_raw_shared_cache_size_half): Likewise.
18900 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18901 to ...
18902 (__x86_data_cache_size): This.
18903 (__x86_64_raw_data_cache_size): Renamed to ...
18904 (__x86_raw_data_cache_size): This.
18905 (__x86_64_data_cache_size_half): Renamed to ...
18906 (__x86_data_cache_size_half): This.
18907 (__x86_64_raw_data_cache_size_half): Renamed to ...
18908 (__x86_raw_data_cache_size_half): This.
18909 (__x86_64_shared_cache_size): Renamed to ...
18910 (__x86_shared_cache_size): This.
18911 (__x86_64_raw_shared_cache_size): Renamed to ...
18912 (__x86_raw_shared_cache_size): This.
18913 (__x86_64_shared_cache_size_half): Renamed to ...
18914 (__x86_shared_cache_size_half): This.
18915 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18916 (__x86_raw_shared_cache_size_half): This.
18917 * sysdeps/x86_64/memcpy.S: Updated.
18918 * sysdeps/x86_64/memset.S: Likewise.
18919 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18920 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18921 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18922
0b3986d0
DM
189232013-01-04 David S. Miller <davem@davemloft.net>
18924
18925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18926
e47686e9
AS
189272013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18928
d643bac1
AS
18929 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18930 1 to avoid redefinition warning.
18931 (__USE_GNU): Don't define.
18932 (init_signaling_nan): Protoize.
18933
e47686e9
AS
18934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18935
b18decba
SP
189362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18937
fffb407f
SP
18938 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18940 (__cpymn): Likewise.
18941 (norm): Remove commented code.
18942 (denorm): Likewise.
18943 (__mp_dbl): Likewise.
18944 (__inv): Likewise.
18945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18946 (__cpymn): Likewise.
18947 (norm): Remove commented code.
18948 (denorm): Likewise.
18949 (__mp_dbl): Likewise.
18950 (__inv): Likewise.
18951
b18decba
SP
18952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18953 mp_no value for 1.0 and 2.0.
18954 (norm): Use RADIXI instead of radixi.d.
18955 (denorm): Likewise.
18956 (__mul): Use 0.0 instead of zero.d.
18957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18958 mp_no value for 1.0 and 2.0.
18959 (norm): Use RADIXI instead of radixi.d.
18960 (denorm): Likewise.
18961 (__mul): Use 0.0 instead of zero.d.
18962
cdc1c96f
JM
189632013-01-04 Joseph Myers <joseph@codesourcery.com>
18964
18965 [BZ #14994]
18966 * math/s_casinh.c (__casinh): Reduce finite argument to first
18967 quadrant then set signs of results at the end.
18968 * math/s_casinhf.c (__casinhf): Likewise.
18969 * math/s_casinhl.c (__casinhl): Likewise.
18970 * math/libm-test.inc (casin_test): Add more tests.
18971 (casinh_test): Likewise.
18972 * sysdeps/i386/fpu/libm-test-ulps: Update.
18973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18974
302913e1
SP
189752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18976
6420d207
SP
18977 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18978
a9e48ab4
SP
18979 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18980
b7837264
SP
18981 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18982 declarations.
18983 (denorm): Likewise.
18984 (__mp_dbl): Likewise.
18985 (__inv): Likewise.
18986
f8af25d2
SP
18987 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18988 and adjust the header comment.
18989
302913e1
SP
18990 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18991 variable name from declaration.
18992
5d7dd1ca
L
189932013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18994
18995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18996 Initialize COMMON_CPUID_INDEX_7 element.
18997 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18998 (CPUID_RTM): Likewise.
18999 (HAS_RTM): Likewise.
19000 (COMMON_CPUID_INDEX_7): New enum.
19001
2f5f40f4
AS
190022013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19003
19004 [BZ #14981]
19005 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19006 size is zero, record memory as freed.
19007
4056f4a0
AJ
190082013-01-03 Andreas Jaeger <aj@suse.de>
19009
19010 * po/ia.po: Add new Interlingua translation.
19011
ab15736f 190122012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19013
19014 * locale/programs/localedef.c: Fix description of '--posix' flag.
19015
568035b7
JM
190162013-01-02 Joseph Myers <joseph@codesourcery.com>
19017
e6898b8d
JM
19018 * NEWS: Update dates in second copyright notice.
19019 * README: Update copyright dates in example.
19020 * manual/libc.texinfo: Update copyright dates.
19021 * scripts/test-installation.pl: Update copyright date in --version
19022 output.
19023
0e2f9562
JM
19024 * hurd/ctty-input.c: Fix copyright notice formatting.
19025 * hurd/ctty-output.c: Likewise.
19026 * hurd/dtable.c: Likewise.
19027 * hurd/hurd-raise.c: Likewise.
19028 * hurd/hurdprio.c: Likewise.
19029 * hurd/msgportdemux.c: Likewise.
19030 * misc/sys/file.h: Likewise.
19031 * misc/sys/ioctl.h: Likewise.
19032 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19033 * sysdeps/mach/hurd/chdir.c: Likewise.
19034 * sysdeps/mach/hurd/fchdir.c: Likewise.
19035 * sysdeps/mach/hurd/rename.c: Likewise.
19036 * sysdeps/mach/hurd/rmdir.c: Likewise.
19037 * sysdeps/mach/hurd/seekdir.c: Likewise.
19038 * sysdeps/mach/hurd/setsid.c: Likewise.
19039 * sysdeps/posix/wait3.c: Likewise.
19040
568035b7
JM
19041 * All files with FSF copyright notices: Update copyright dates
19042 using scripts/update-copyrights.
19043 * intl/plural.c: Regenerated.
19044 * locale/programs/charmap-kw.h: Likewise.
19045 * locale/programs/locfile-kw.h: Likewise.
19046
da08f647
SP
190472013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19048
0f5477af
SP
19049 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19050 four values.
19051
44e0d4c2
SP
19052 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19053 calculation loop and add branch prediction.
19054
4d55b4e5
SP
19055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19056 check access beyond bounds of m1np.
19057
da08f647
SP
19058 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19059 MPTWO.
19060 (__inv): Remove local variable MPTWO to use the global
19061 constant.
19062 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19063 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19064 variable MPTWO.
19065 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19066 MP3HALFS static const.
19067
8e051029
DM
190682013-01-01 David S. Miller <davem@davemloft.net>
19069
19070 * po/ca.po: Update from translation team.
19071
f4cf5f2d
JM
190722013-01-01 Joseph Myers <joseph@codesourcery.com>
19073
19074 * scripts/update-copyrights: New file.
19075 * Makeconfig: Reformat copyright notice.
19076 * ctype/ctype.h: Likewise.
19077 * debug/swprintf_chk.c: Likewise.
19078 * elf/dl-cache.c: Likewise.
19079 * elf/dl-debug.c: Likewise.
19080 * elf/dl-object.c: Likewise.
19081 * grp/initgroups.c: Likewise.
19082 * hurd/Makefile: Likewise.
19083 * hurd/hurd/signal.h: Likewise.
19084 * hurd/hurdfault.c: Likewise.
19085 * hurd/hurdioctl.c: Likewise.
19086 * hurd/hurdlookup.c: Likewise.
19087 * hurd/intr-msg.c: Likewise.
19088 * iconv/gconv_open.c: Likewise.
19089 * libio/swprintf.c: Likewise.
19090 * locale/lc-ctype.c: Likewise.
19091 * locale/nl_langinfo.c: Likewise.
19092 * mach/Machrules: Likewise.
19093 * mach/Makefile: Likewise.
19094 * malloc/obstack.h: Likewise.
19095 * manual/Makefile: Likewise.
19096 * manual/tsort.awk: Likewise.
19097 * misc/bits/stab.def: Likewise.
19098 * nis/nis_print_group_entry.c: Likewise.
19099 * nis/nis_table.c: Likewise.
19100 * nis/nss_compat/compat-pwd.c: Likewise.
19101 * nis/nss_compat/compat-spwd.c: Likewise.
19102 * po/Makefile: Likewise.
19103 * posix/fnmatch.c: Likewise.
19104 * posix/regex.h: Likewise.
19105 * resolv/Makefile: Likewise.
19106 * resolv/nss_dns/dns-network.c: Likewise.
19107 * resolv/res_hconf.c: Likewise.
19108 * scripts/gen-sorted.awk: Likewise.
19109 * soft-fp/soft-fp.h: Likewise.
19110 * stdio-common/printf.h: Likewise.
19111 * stdlib/monetary.h: Likewise.
19112 * stdlib/random.c: Likewise.
19113 * stdlib/random_r.c: Likewise.
19114 * sysdeps/generic/Makefile: Likewise.
19115 * sysdeps/gnu/Makefile: Likewise.
19116 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19118 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19119 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19120 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19123 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19124 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19125 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19126 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19127 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19128 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19129 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19130 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19131 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19132 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19133 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19134 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19136 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19137 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19138 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19139 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19140 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19141 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19142 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19144 * sysdeps/mach/hurd/errnos.awk: Likewise.
19145 * sysdeps/mach/hurd/fork.c: Likewise.
19146 * sysdeps/mach/hurd/getcwd.c: Likewise.
19147 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19148 * sysdeps/mach/hurd/mmap.c: Likewise.
19149 * sysdeps/mach/hurd/utimes.c: Likewise.
19150 * sysdeps/mach/hurd/xmknod.c: Likewise.
19151 * sysdeps/posix/profil.c: Likewise.
19152 * sysdeps/posix/readdir_r.c: Likewise.
19153 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19154 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19155 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19156 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19158 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19159 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19160 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19162 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19163 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19164 * sysdeps/pthread/lio_listio.c: Likewise.
19165 * sysdeps/sparc/dl-procinfo.h: Likewise.
19166 * sysdeps/unix/i386/sysdep.S: Likewise.
19167 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19168 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19169 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19170 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19172 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19173 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19174 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19175 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19176 * sysdeps/wordsize-32/divdi3.c: Likewise.
19177 * time/sys/time.h: Likewise.
19178 * wcsmbs/Makefile: Likewise.
19179
0549fbba
DM
191802013-01-01 David S. Miller <davem@davemloft.net>
19181
a141f1a7
DM
19182 * po/fr.po: Update from translation team.
19183
0549fbba
DM
19184 * catgets/gencat.c: Update copyright year.
19185 * csu/version.c: Likewise.
19186 * debug/catchsegv.sh: Likewise.
19187 * debug/pcprofiledump.c: Likewise.
19188 * debug/xtrace.sh: Likewise.
19189 * elf/ldconfig.c: Likewise.
19190 * elf/ldd.bash.in: Likewise.
19191 * elf/pldd.c: Likewise.
19192 * elf/sotruss.ksh: Likewise.
19193 * elf/sprof.c: Likewise.
19194 * iconv/iconv_prog.c: Likewise.
19195 * iconv/iconvconfig.c: Likewise.
19196 * locale/programs/locale.c: Likewise.
19197 * locale/programs/localedef.c: Likewise.
19198 * login/programs/pt_chown.c: Likewise.
19199 * malloc/memusage.sh: Likewise.
19200 * malloc/memusagestat.c: Likewise.
19201 * malloc/mtrace.pl: Likewise.
19202 * nscd/nscd.c: Likewise.
19203 * nss/getent.c: Likewise.
19204 * nss/makedb.c: Likewise.
19205 * posix/getconf.c: Likewise.
19206
18ea052c
SP
192072012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19208
19209 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19210 numbers.
19211
9c89fca6
MF
192122012-12-30 Mike Frysinger <vapier@gentoo.org>
19213
19214 * math/bits/mathcalls.h (modf): Use __nonnull.
19215
085ec079
SP
192162012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19217
19218 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19219 (split): Use macro CN instead of the bare value.
19220 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19221 could be used.
19222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19223 instead of the bare value.
19224 (power1): Likewise.
19225
6d9f97e1
SP
192262012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19227
d63f73be
SP
19228 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19229 __ATAN_TWOM.
19230 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19231
6d9f97e1
SP
19232 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19233 their values.
19234 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19235 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19236 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19237 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19238
4c4febf5
AJ
192392012-12-28 Andreas Jaeger <aj@suse.de>
19240
af5843ef
AJ
19241 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19242 values are from Linux 3.7.
19243
4c4febf5
AJ
19244 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19245 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19246
99136f82
SP
192472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19248
2f216c3c 19249 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19250 TRUE case.
19251
99136f82
SP
19252 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19253 (norm): Likewise.
19254 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19255 variables with preprocessor constants.
19256 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19257 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19258 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19259
7fffbdff
BH
192602012-12-27 Bruno Haible <bruno@clisp.org>
19261
19262 [BZ #14317]
19263 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19264 only if needed.
19265
b76eb5f0
SP
192662012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19267
31a7fe5c
SP
19268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19269 and use variable directly.
19270 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19271
b76eb5f0
SP
19272 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19273 MPONE.
19274 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19275 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19276 variable MPONE.
19277 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19279 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19280 include directive. Remove local variable MPONE.
19281 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19282 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19283 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19284
2c8bfe7d
DM
192852012-12-25 David S. Miller <davem@davemloft.net>
19286
19287 * version.h (RELEASE): Set to "development".
19288 (VERSION): Set to "2.17.90".
19289 * NEWS: Add 2.18 section.
19290
147d03b0
DM
192912012-12-21 David S. Miller <davem@davemloft.net>
19292
19293 * po/hr.po: Update from translation team.
19294
a8ebb2b9
AK
192952012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19296
19297 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19298
95b4f1b6
SE
192992012-12-19 Steve Ellcey <sellcey@mips.com>
19300
b2d94007 19301 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19302
cedb2a90
MS
193032012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19304
19305 * manual/contrib.texi (Contributors): Spelling correction.
19306
bbf527d6
DM
193072012-12-15 David S. Miller <davem@davemloft.net>
19308
19309 * po/ru.po: Update from translation team.
19310
bc38c906
DM
193112012-12-13 David S. Miller <davem@davemloft.net>
19312
85429b1a
DM
19313 * NEWS: Mention IFUNC testsuite enhancements.
19314
d283e353
DM
19315 * po/pl.po: Update from translation team.
19316 * po/bg.po: Likewise.
19317
bc38c906
DM
19318 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19319 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19320
a181b0d7
DM
193212012-12-11 David S. Miller <davem@davemloft.net>
19322
4641d57e
DM
19323 * po/sv.po: Update from translation team.
19324
f7bc6495
DM
19325 * po/vi.po: Update from translation team.
19326
6fc9048f
DM
19327 * po/cs.po: Update from translation team.
19328
a181b0d7
DM
19329 * po/de.po: Update from translation team.
19330 * po/eo.po: Likewise.
19331 * po/nl.po: Likewise.
19332
f70bfe80
SP
193332012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19334
3c8b4190
SP
19335 [BZ #14246]
19336 * manual/argp.texi (Argp Helper Functions): Move node to follow
19337 Argp Parsing State.
19338
f70bfe80
SP
19339 [BZ #14872]
19340 * manual/conf.texi (Limits on File System Capacity): Mention if
19341 terminating null is included in the max size.
19342
188f0adf
AJ
193432012-12-10 Andreas Jaeger <aj@suse.de>
19344
19345 * po/cs.po: Update from translation team.
19346
56e7d3ad
SP
193472012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19348
19349 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19350 void pointer and cast to uintptr_t.
19351 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19352 path.
19353 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19354 * sysdeps/s390/s390-64/memset.S: Likewise.
19355
76f2d2ea 193562012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19357
19358 [BZ #14833]
19359 * menual/message.texi (Message Translation): Fix typos.
19360 (Helper programs for gettext): Likewise.
19361
67cbf9a2
AS
193622012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19363
19364 [BZ #14898]
19365 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19366 Change to -1.
19367
682d0e9a
DM
193682012-12-07 David S. Miller <davem@davemloft.net>
19369
19370 * po/libc.pot: Update.
19371
573cd484
RH
193722012-12-07 Richard Henderson <rth@redhat.com>
19373
7e9da188 19374 [BZ #10114]
573cd484
RH
19375 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19376 normal/normal case to before the switch.
19377 (_FP_DIV): Likewise.
19378
e933a943
MF
193792012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19380 Mike Frysinger <vapier@gentoo.org>
19381
19382 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19383 check for __NR_fadvise64_64.
19384
82123268
CM
193852012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19386
19387 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19388 0, not just to plain "0" as a statement.
19389 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19390 with cw.
19391
d9814526
JM
193922012-12-06 Joseph Myers <joseph@codesourcery.com>
19393
19394 * NEWS: Use sourceware.org in Bugzilla URL.
19395
7728c574
SP
193962012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19397
f16946dd
SP
19398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19399 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19400
5704bbcb
SP
19401 * stdio-common/tst-put-error.c (do_test): Add newline to the
19402 padded test to ensure flush.
19403
17aa0516
JL
194042012-12-05 Jeff Law <law@redhat.com>
19405
19406 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19407
363313b5
JM
194082012-12-05 Joseph Myers <joseph@codesourcery.com>
19409
effbd42a
JM
19410 * README: Don't refer to ports add-on as distributed separately.
19411 Mention AArch64 in list of systems supported in the ports add-on.
19412
87600365
JM
19413 * LICENSES: Add more non-FSF copyright and license notices.
19414
a0d7066a
JM
19415 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19416 ((unused)).
19417
66ca5a5b
JM
19418 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19419
363313b5
JM
19420 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19421 10000 as width of padded output.
19422
b37984ad
JM
194232012-12-04 Joseph Myers <joseph@codesourcery.com>
19424
9003570a
JM
19425 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19426
b37984ad
JM
19427 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19428 variable LX with __attribute__ ((unused)).
19429 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19430 Likewise.
19431 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19432 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19433 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19434 with __attribute__ ((unused)).
19435
c8df52ec
DM
194362012-12-04 David S. Miller <davem@abraco.davemloft.net>
19437
19438 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19439
b3b099af
JM
194402012-12-04 Joseph Myers <joseph@codesourcery.com>
19441
c33aa6e3
JM
19442 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19443 (CFLAGS-nldbl-acos.c): New variable.
19444 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19445 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19446 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19447 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19448 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19449 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19450 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19451 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19452 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19453 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19454 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19455 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19456 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19457 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19458 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19459 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19460 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19461 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19462 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19463 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19464 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19465 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19466 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19467 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19468 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19469 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19470 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19471 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19472 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19473 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19474 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19475 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19476 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19477 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19478 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19479 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19480 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19481 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19482 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19483 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19484 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19485 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19486 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19487 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19488 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19489 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19490 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19491 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19492 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19493 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19494 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19495 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19496 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19497 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19498 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19499 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19500 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19501 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19502 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19503 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19504 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19505 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19506 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19507 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19508 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19509 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19510 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19511 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19512 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19513 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19514 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19515 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19516 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19517 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19518 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19519 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19520 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19521 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19522 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19523 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19524 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19525 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19526 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19527 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19528 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19529 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19530 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19531 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19532 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19533 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19534 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19535 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19536 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19537 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19538 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19539 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19540 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19541
20f0018d
JM
19542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19543 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19544
b3b099af
JM
19545 [BZ #14914]
19546 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19547 whole low double instead of just low 47 bits when splitting values
19548 into two parts.
19549
029264d1
AM
195502012-12-03 Allan McRae <allan@archlinux.org>
19551
19552 * manual/stdio.texi (Predefined Printf Handlers): Remove
19553 @hsep and @vsep usage.
19554
c9d6789e
MF
195552012-12-03 Mike Frysinger <vapier@gentoo.org>
19556
19557 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19558 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19559
4b7634a5
JL
195602012-12-03 Jeff Law <law@redhat.com>
19561
19562 * time/sys/time.h (settimeofday): Do not mark TV argument
19563 as __nonnull.
19564
eb6cbd24
MF
195652012-12-01 Mike Frysinger <vapier@gentoo.org>
19566
19567 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19568 when currently writing and seek to current position when not.
19569 * libio/Makefile (tests): Remove bug-fclose1.
19570 * libio/bug-fclose1.c: Delete.
19571
f638872a
JM
195722012-12-01 Joseph Myers <joseph@codesourcery.com>
19573
19574 * manual/arith.texi (feenableexcept): Fix typo.
19575 (fedisableexcept): Likewise.
19576
48085d14
RM
195772012-11-30 Roland McGrath <roland@hack.frob.com>
19578
19579 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19580 second, differently-typed declaration, rather than a cast.
19581
1a538b9f
SP
195822012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19583
19584 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19585 * include/rpc/svc.h: ... here.
19586
d07f2ff1 195872012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19588
19589 [BZ #13013]
19590 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19591 depending n and resplen2 to catch cases where answer
19592 equals answerp2.
19593
c93ec1f0
CD
195942012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19595
19596 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19597 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19598
37db69de
MF
195992012-11-29 Mike Frysinger <vapier@gentoo.org>
19600
19601 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19602
e10c4e4f
RM
196032012-11-29 Roland McGrath <roland@hack.frob.com>
19604
19605 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19606
2af1b328
JL
196072012-11-28 Jeff Law <law@redhat.com>
19608
19609 [BZ #13761]
19610 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19611 dataset_temporary. Track alloca usage into alloca_used.
19612 If dataset is large allocate and release it via malloc/free.
19613
111db5b1
FW
196142012-06-04 Florian Weimer <fweimer@redhat.com>
19615
f06cc227 19616 [BZ #14197]
111db5b1
FW
19617 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19618
dd694abd
DM
196192012-11-28 David S. Miller <davem@davemloft.net>
19620
19621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19622
9984dd01
JM
196232012-11-28 Joseph Myers <joseph@codesourcery.com>
19624
19625 [BZ #14803]
19626 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19627 of pi/2 rounded to nearest to 64 bits.
19628 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19629 nearest to 64 bits.
19630 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19631 bits.
19632
14bc93a9
JL
196332012-11-28 Jeff Law <law@redhat.com>
19634 Martin Osvald <mosvald@redhat.com>
19635
19636 [BZ #14889]
19637 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19638 * sunrpc/svc.c: Include time.h.
19639 (__svc_accept_failed): New function.
19640 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19641 any reason other than EINTR, call __svc_accept_failed.
19642 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19643 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19644
e3c6aa3a
AS
196452012-11-28 Andreas Schwab <schwab@suse.de>
19646
19647 * scripts/abilist.awk: Also handle indirect functions in .opd
19648 section.
19649
1bead169
JM
196502012-11-28 Joseph Myers <joseph@codesourcery.com>
19651
19652 [BZ #13881]
19653 * sysdeps/x86/fpu/powl_helper.c: New file.
19654 * sysdeps/x86/fpu/Makefile: Likewise.
19655 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19656 (p3): New object.
19657 (__ieee754_powl): Use __powl_helper for finite arguments except
19658 integer exponents below 8.
19659 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19660 (p3): New object.
19661 (__ieee754_powl): Use __powl_helper for finite arguments except
19662 integer exponents below 8.
19663 * math/libm-test.inc (pow_test): Add more tests and enable some
19664 previously disabled tests.
19665 * sysdeps/i386/fpu/libm-test-ulps: Update.
19666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19667
0817d63d
SP
196682012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19669 Carlos O'Donell <carlos_odonell@mentor.com>
19670
19671 * nss/makedb.c (is_prime): Assert that input is odd and greater
19672 than 4. Note that fact in a comment too.
19673 (next_prime): Add 4 to input.
19674
de2fd463
SP
196752012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19676
19677 [BZ #11741]
19678 * libio/Makefile (tests): Add test case tst-fwrite-error.
19679 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19680 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19681 * libio/tst-fwrite-error.c: New test case.
19682
c515fb51
L
196832012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19684
19685 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19686 before casting to void *.
19687 * include/libc-internal.h (__pointer_type): New macro.
19688 (__integer_if_pointer_type_sub): Likewise.
19689 (__integer_if_pointer_type): Likewise.
19690 (cast_to_integer): Likewise.
19691 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19692 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19693 before casting to atomic64_t.
19694 (atomic_exchange_acq): Likewise.
19695 (__arch_exchange_and_add_body): Likewise.
19696 (__arch_add_body): Likewise.
19697 (atomic_add_negative): Likewise.
19698 (atomic_add_zero): Likewise.
19699
4cf77aa9
JM
197002012-11-26 Joseph Myers <joseph@codesourcery.com>
19701
19702 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19703 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19704 (add_fdes): Likewise.
19705 (linear_search_fdes): Likewise.
19706 (binary_search_unencoded_fdes): Likewise.
19707
d260b3b4
AS
197082012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19709
19710 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19711
67060746
AC
197122012-11-24 Adam Conrad <adconrad@0c3.net>
19713
19714 * configure.in: Autodetect C++ header directories.
19715 * configure: Regenerated.
19716
800938a1
MF
197172012-11-23 Mike Frysinger <vapier@gentoo.org>
19718
19719 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19720
4e6e34e6
AS
197212012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19722
19723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19724
7c7feb47
JM
197252012-11-22 Joseph Myers <joseph@codesourcery.com>
19726
7184dcdf
JM
19727 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19728 LDBL_MANT_DIG == 106]: Disable some tests.
19729 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19730 Likewise.
19731 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19732 Likewise.
19733
0a42601f
JM
19734 [BZ #14871]
19735 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19736 input for small inputs. Return +/- pi/2 for large inputs.
19737 * math/libm-test.inc (atan_test): Add more tests.
19738
79c9b9fe
JM
19739 * sysdeps/generic/unwind-dw2-fde-glibc.c
19740 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19741 __attribute__ ((unused)).
19742
c60d3bf2
JM
19743 [BZ #14645]
19744 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19745 x * y if x and y are nonzero and z is zero.
19746
ef1e0867
JM
19747 [BZ #14811]
19748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19749 nonzero exponents with absolute value below 0x1p-117 to +/-
19750 0x1p-117.
19751
1468ded3
JM
19752 [BZ #14869]
19753 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19754 up arguments below 2**-450, not just those below 2**-500.
19755 * math/libm-test.inc (hypot_test): Add another test.
19756
8e27e3cc
JM
19757 [BZ #14868]
19758 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19759 Return a+b for ratio over 2**120, not 2**60.
19760 * math/libm-test.inc (hypot_test): Add another test.
19761
c9c0279b
JM
19762 * math/libm-test.inc (clog_test): Use
19763 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19764 (clog10_test): Likewise.
19765
7c7feb47
JM
19766 [BZ #6778]
19767 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19768
fff1530e
AS
197692012-11-22 Andreas Schwab <schwab@suse.de>
19770
19771 * sysdeps/i386/fpu/libm-test-ulps: Update.
19772
94558d30
PT
197732012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19774
19775 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19776 printf output with newline.
19777
7e1be741
L
197782012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19779
6bfea974
L
19780 [BZ #14865]
19781 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19782 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19783 -z nodlopen, -z initfirst and -z execstack support.
19784 * configure: Regenerated.
19785
7e1be741
L
19786 * elf/elf.h (DF_1_NODIRECT): New macro.
19787 (DF_1_IGNMULDEF): Likewise.
19788 (DF_1_NOKSYMS): Likewise.
19789 (DF_1_NOHDR): Likewise.
19790 (DF_1_EDITED): Likewise.
19791 (DF_1_NORELOC): Likewise.
19792 (DF_1_SYMINTPOSE): Likewise.
19793 (DF_1_GLOBAUDIT): Likewise.
19794 (DF_1_SINGLETON): Likewise.
19795 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19796 DT_1_SUPPORTED_MASK bits.
19797 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19798
105ce2ce
CD
197992012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19800
19801 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19802
123be9de
TS
198032012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19804
d072f3f7
TS
19805 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19806 macro.
19807
123be9de
TS
19808 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19809 (sendmmsg): Move declarations...
19810 * socket/sys/socket.h: ... here.
19811 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19812 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19813 include it from...
19814 * socket/recvmmsg.c: ... this new file.
19815 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19816 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19817 definition of __sendmmsg hidden.
19818 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19819 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19820 Move ENOSYS stub into and include it from...
19821 * socket/sendmmsg.c: ... this new file.
19822 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19823 (sysdep_routines): Move recvmmsg and sendmmsg...
19824 * socket/Makefile (routines): ... here.
19825 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19826 (GLIBC_PRIVATE): Add __sendmmsg.
19827 * include/sys/socket.h (__sendmmsg): Add declarations.
19828 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19829 sendmmsg.
19830
cf9a5d18
JM
198312012-11-20 Joseph Myers <joseph@codesourcery.com>
19832
19833 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19834 variable I1 with __attribute__ ((unused)).
19835 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19836
ecd4caf9
JM
198372012-11-19 Joseph Myers <joseph@codesourcery.com>
19838
be14d48f
JM
19839 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19840 DUMMY variables with __attribute__ ((unused)).
19841
ecd4caf9
JM
19842 * bits/byteswap.h: Include <bits/types.h>.
19843 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19844
986cab95
PT
198452012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19846
19847 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19848 string_t. Do not manually set errno.
19849 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19850 length with __strnlen. Make sure to both set errno and return it on
19851 failure.
19852
6d33cc9d
DM
198532012-11-19 David S. Miller <davem@davemloft.net>
19854
19855 With help from Joseph Myers.
19856 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19857 very large arguments properly.
19858 * math/libm-test.inc (atan_test): New tests.
19859 (atan2_test): New tests.
19860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19862
ee663277
JM
198632012-11-19 Joseph Myers <joseph@codesourcery.com>
19864
877f2d8e
JM
19865 [BZ #14856]
19866 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19867 Define to 3.
19868
116fc08a
JM
19869 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19870 [POSIX] (EADDRNOTAVAIL): Likewise.
19871 [POSIX] (EAFNOSUPPORT): Likewise.
19872 [POSIX] (EALREADY): Likewise.
19873 [POSIX] (ECONNABORTED): Likewise.
19874 [POSIX] (ECONNREFUSED): Likewise.
19875 [POSIX] (ECONNRESET): Likewise.
19876 [POSIX] (EDESTADDRREQ): Likewise.
19877 [POSIX] (EDQUOT): Likewise.
19878 [POSIX] (EHOSTUNREACH): Likewise.
19879 [POSIX] (EIDRM): Likewise.
19880 [POSIX] (EISCONN): Likewise.
19881 [POSIX] (ELOOP): Likewise.
19882 [POSIX] (EMULTIHOP): Likewise.
19883 [POSIX] (ENETDOWN): Likewise.
19884 [POSIX] (ENETUNREACH): Likewise.
19885 [POSIX] (ENOBUFS): Likewise.
19886 [POSIX] (ENODATA): Likewise.
19887 [POSIX] (ENOLINK): Likewise.
19888 [POSIX] (ENOMSG): Likewise.
19889 [POSIX] (ENOPROTOOPT): Likewise.
19890 [POSIX] (ENOSR): Likewise.
19891 [POSIX] (ENOSTR): Likewise.
19892 [POSIX] (ENOTCONN): Likewise.
19893 [POSIX] (ENOTSOCK): Likewise.
19894 [POSIX] (EOPNOTSUPP): Likewise.
19895 [POSIX] (EOVERFLOW): Likewise.
19896 [POSIX] (EPROTO): Likewise.
19897 [POSIX] (EPROTONOSUPPORT): Likewise.
19898 [POSIX] (EPROTOTYPE): Likewise.
19899 [POSIX] (ESTALE): Likewise.
19900 [POSIX] (ETIME): Likewise.
19901 [POSIX] (ETXTBSY): Likewise.
19902 [POSIX] (EWOULDBLOCK): Likewise.
19903 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19904 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19905 [POSIX] (SEEK_CUR): Likewise.
19906 [POSIX] (SEEK_END): Likewise.
19907 [POSIX || UNIX98] (mode_t): Do not require.
19908 [POSIX] (off_t): Likewise.
19909 [POSIX] (pid_t): Likewise.
19910 [POSIX] (sys/stat.h): Do not allow header.
19911 [POSIX] (unistd.h): Likewise.
19912 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19913 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19914 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19915 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19916 require.
19917 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19918 sigevent): Specify elements.
19919 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19920 entry.
19921 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19922 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19923
a483863f
JM
19924 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19925 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19926 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19927 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19928 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19929 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19930 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19931 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19932 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19933 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19934 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19935 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19936 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19937 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19938 Likewise.
19939 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19940 Likewise.
19941 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19942 Likewise.
19943 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19944 Likewise.
19945 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19946 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19947 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19948 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19949 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19950 Specify lower bound on value.
19951 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19952 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19953 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19954 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19955 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19956 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19957 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19958 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19959 value.
19960 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19961 as optional.
19962 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19963 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19964 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19965 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19966 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19967 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19968 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19969 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19970 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19971 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19972 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19973 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19974 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19975 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19976 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19977 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19978 entry.
19979 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19980 optional.
19981 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19982 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19983 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19984 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19985 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19986 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19987 Likewise.
19988 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19989 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19990 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19991 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19992 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19993 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19994 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19995 as optional.
19996 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19997 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19998 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19999 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20000 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20001 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20002 specify as optional.
20003 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20004 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20005 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20006 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20007 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20008 [XPG3] (NL_LANGMAX): Likewise.
20009 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20010 [POSIX || XPG3] (NL_NMAX): Likewise.
20011 [POSIX || XPG3] (NL_SETMAX): Likewise.
20012 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20013 [XPG3] (NZERO): Likewise.
20014 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20015 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20016 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20017 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20018 (REG_ERANGE): Expect.
20019 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20020 optional-constant.
20021 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20022 Use (void) in prototype.
20023 [POSIX] (*_t): Allow.
20024 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20025 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20026 (WRDE_BADVAL): Expect.
20027
5ba924e3
JM
20028 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20029 expect.
20030 [XPG3 || XPG4] (O_RSYNC): Likewise.
20031 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20032 Likewise.
20033 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20034 [XPG3 || XPG4] (sigqueue): Likewise.
20035 [XPG3 || XPG4] (sigtimedwait): Likewise.
20036 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20037 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20038 [XPG3 || XPG4] (vsnprintf): Likewise.
20039 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20040 Likewise.
20041 [XPG3 || XPG4] (blksize_t): Likewise.
20042 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20043 Likewise.
20044 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20045 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20046 [XPG3 || XPG4] (struct itimerspec): Likewise.
20047 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20048 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20049 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20050 [XPG3 || XPG4] (clockid_t): Likewise.
20051 [XPG3 || XPG4] (timer_t): Likewise.
20052 [XPG3 || XPG4] (clock_getres): Likewise.
20053 [XPG3 || XPG4] (clock_gettime): Likewise.
20054 [XPG3 || XPG4] (clock_settime): Likewise.
20055 [XPG3 || XPG4] (nanosleep): Likewise.
20056 [XPG3 || XPG4] (timer_create): Likewise.
20057 [XPG3 || XPG4] (timer_delete): Likewise.
20058 [XPG3 || XPG4] (timer_gettime): Likewise.
20059 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20060 [XPG3 || XPG4] (timer_settime): Likewise.
20061 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20062 [XPG3 || XPG4] (getlogin_r): Likewise.
20063 [XPG3 || XPG4] (pread): Likewise.
20064 [XPG3 || XPG4] (pthread_atfork): Likewise.
20065 [XPG3 || XPG4] (pwrite): Likewise.
20066
ee663277
JM
20067 [BZ #14835]
20068 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20069 <bits/siginfo.h>.
20070
942caa16
PT
200712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20072
e19af380
PT
20073 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20074 finalizing MALLSTREAM.
20075
942caa16
PT
20076 * sysdeps/mach/hurd/syncfs.c: New file.
20077
cfde9b46
SP
200782012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20079
20080 [BZ #14719]
20081 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20082 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20083 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20084 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20085 (_nss_dns_gethostbyname4_r): Likewise.
20086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20087 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20088
f6da27e5
PH
200892012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20090
20091 [BZ #13763]
20092 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20093
6665d4a2
SM
200942012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20095
1f51ee92
SM
20096 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20097 * elf/cache.c (print_entry): Print ",AArch64" for
20098 FLAG_AARCH64_LIB64
20099
6665d4a2
SM
20100 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20101 * elf/cache.c (print_entry): Print ",hard-float" for
20102 FLAG_ARM_LIBHF.
20103
05b227bd
DM
201042012-11-18 David S. Miller <davem@davemloft.net>
20105
20106 With help from Joseph Myers.
20107 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20108 cutoff to 2**-13.
20109 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20110 cutoff to 2**-25.
20111 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20112 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20113 small.
20114 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20115 * math/libm-test.inc (y0_test): New tests.
20116 (y1_test): New tests.
20117 * sysdeps/i386/fpu/libm-test-ulps: Update.
20118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20120
786b0b67
AS
201212012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20122
20123 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20124 64-bit targets.
20125 * configure: Regenerated.
20126
8e18b86d
DM
201272012-11-17 David S. Miller <davem@davemloft.net>
20128
20129 [BZ #14811]
20130 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20131 nonzero exponents with absolute value below 0x1p-128 to +/-
20132 0x1p-128.
20133
531f1ae0
JM
201342012-11-17 Joseph Myers <joseph@codesourcery.com>
20135
12df29e2
JM
20136 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20137
150dc1a0
JM
20138 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20139
531f1ae0
JM
20140 * posix/getconf-speclist.c: New file.
20141 * posix/posix-envs.def: Likewise.
20142 * posix/confstr.c (START_ENV_GROUP): New macro.
20143 (END_ENV_GROUP): Likewise.
20144 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20145 (KNOWN_PRESENT_ENV_STRING): Likewise.
20146 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20147 (UNKNOWN_ENVIRONMENT): Likewise.
20148 (confstr): Include posix-envs.def instead of handling
20149 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20150 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20151 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20152 (END_ENV_GROUP): Likewise.
20153 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20154 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20155 (UNKNOWN_ENVIRONMENT): Likewise.
20156 (__sysconf): Include posix-envs.def instead of handling associated
20157 cases directly here.
20158 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20159 preprocessing getconf-speclist.c rather than running getconf or
20160 generating empty file.
20161
a93f9cbc
PT
201622012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20163
20164 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20165
d64d9f87
AL
201662012-11-16 Andrej Lajovic <natrij@gmail.com>
20167
20168 [BZ #14672]
20169 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20170
447885eb
DM
201712012-11-16 David S. Miller <davem@davemloft.net>
20172
20173 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20174 smaller than LDBL_EPSILON/2.0L, just return xm1.
20175
bcbf9830
L
201762012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20177
20178 * elf/tst-array1.c (init): Set constructor priority to 1000.
20179 (fini): Set destructor priority to 1000.
20180 * elf/tst-array2dep.c: Likewise.
20181
2b766585
SP
201822012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20183
20184 [BZ #11741]
20185 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20186 (_IO_new_file_xsputn): Also return EOF if none of the input
20187 data was written when overflow failed.
20188 * libio/iopadn.c (_IO_padn): Likewise.
20189 * libio/iowpadn.c (_IO_wpadn): Likewise.
20190 * stdio-common/tst-put-error.c: Add copyright notice.
20191 (do_test): Add case for printing padded string.
20192 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20193 _IO_padn returned error.
20194 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20195 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20196 return EOF.
20197
b1848fde
SP
201982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20199
20200 * libio/libioP.h: Add comment note that the references to C++
20201 bits are now obsolete.
20202
2fd89785
MS
202032012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20204
20205 * math/libm-test.inc (check_complex): Use asprintf.
20206
e3ea5409
JM
202072012-11-14 Joseph Myers <joseph@codesourcery.com>
20208
20209 * debug/pcprofiledump.c (print_version): Update copyright year.
20210 * malloc/memusagestat.c (print_version): Likewise.
20211
2e64d265
L
202122012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20213
20214 [BZ #14831]
20215 * elf/Makefile (tests): Add tst-audit8.
20216 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20217 ($(objpfx)tst-audit8.out): New target.
20218 (tst-audit8-ENV): New variable.
20219 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20220 audit if l_reloc_result is NULL.
20221 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20222 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20223 * elf/tst-audit8.c: New file.
20224
c485e4d2
MS
202252012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20226
20227 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20228 * misc/Makefile (CFLAGS-select.c): Define.
20229 * posix/Makefile (CFLAGS-pause.c): Define.
20230
3a0d900a
DM
202312012-11-13 David S. Miller <davem@davemloft.net>
20232
20233 * crypt/Makefile: Move test targets after toplevel Rules
20234 inclusion. Grab any necessary sysdep routines when linking.
20235 * crypt/md5.c (md5_process_block): Remove define, we will always
20236 name it __md5_process_block.
20237 (md5_finish_ctx): Update md5_process_block call.
20238 (md5_stream): Likewise.
20239 (md5_process_bytes): Likewise.
20240 (md5_process_block): Rename to __md5_process_block and move to ...
20241 * crypt/md5-block.c: ... here.
20242 * crypt/sha256.c (sha256_process_block): Move to ...
20243 * crypt/sha256-block.c: ... here.
20244 * crypt/sha512.c (sha512_process_block): Move to ...
20245 * crypt/sha512-block.c: ... here.
20246 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20247 path.
20248 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20249 * sysdeps/sparc/sparc64/multiarch/Makefile
20250 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20251 crypt subdir.
20252 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20253 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20254 multiarch changes.
20255 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20256 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20257 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20258 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20259 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20260 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20261 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20262 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20263 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20264 file.
20265 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20266 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20267 file.
20268 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20269
8ca89318
JM
202702012-11-13 Joseph Myers <joseph@codesourcery.com>
20271
e27d476a
JM
20272 * timezone/tzselect.ksh: Update from tzcode git revision
20273 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20274 * timezone/zdump.c: Likewise.
20275 * timezone/zic.c: Likewise.
20276 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20277 in TZVERSION setting, not $(PKGVERSION).
20278 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20279 REPORT_BUGS_TO settings.
20280
8ca89318
JM
20281 [BZ #14838]
20282 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20283 macro.
20284
47594329
MS
202852012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20286
20287 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20288 detection to immediately after _FP_ROUND().
20289 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20290 bits are 0.
20291
640ac3f1
DM
202922012-11-11 David S. Miller <davem@davemloft.net>
20293
20294 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20295 inttypes.h
20296 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20297 __close rather than their public counterparts.
20298
3d2577bb
JM
202992012-11-10 Joseph Myers <joseph@codesourcery.com>
20300
20301 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20302 file.
20303 [UNIX98] (sem_timedwait): Do not expect.
20304 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20305 [XPG4 || UNIX98] (sockatmark): Do not expect.
20306 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20307 (clock_getcpuclockid): Do not expect.
20308 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20309 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20310 Do not expect.
20311 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20312 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20313 [UNIX98] (vwscanf): Likewise.
20314 [UNIX98] (vswscanf): Likewise.
20315
fb1ae1ee
JM
203162012-11-09 Joseph Myers <joseph@codesourcery.com>
20317
9ec6f8bd
JM
20318 * timezone/version.h: Remove file.
20319 * timezone/README: Do not refer to version.h.
20320 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20321 $(objpfx)version.h.
20322 ($(objpfx)zdump.o): Likewise.
c3f81911 20323 ($(objpfx)version.h): New target.
9ec6f8bd 20324
0aa8f8a1
JM
20325 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20326 2012i.
20327 * timezone/README: Don't mention modification to tzselect.ksh.
20328 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20329 work on unmodified tzselect.ksh. Substitute version numbers in
20330 tzselect.ksh.
20331
4e87147f
JM
20332 * Makefile (format-me): Remove.
20333 (INSTALL): Adjust indentation. Use commands directly instead of
20334 using $(format-me).
20335
8b748aed
JM
20336 * aclocal.m4 (ACX_PKGVERSION): New macro.
20337 (ACX_BUGURL): Likewise.
20338 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20339 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20340 (REPORT_BUGS_TO): Likewise.
20341 * configure: Regenerated.
20342 * config.h.in (PKGVERSION): New macro.
20343 (REPORT_BUGS_TO): Likewise.
20344 * config.make.in (PKGVERSION): New variable.
20345 (PKGVERSION_TEXI): Likewise.
20346 (REPORT_BUGS_TO): Likewise.
20347 (REPORT_BUGS_TEXI): Likewise.
20348 * Makefile (format-me): Use -I$(common-objpfx)manual.
20349 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20350 ($(common-objpfx)manual/%): New target.
20351 (manual/%): Remove target.
20352 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20353 (print_version): Use PKGVERSION.
20354 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20355 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20356 and REPORT_BUGS_TO.
20357 ($(objpfx)xtrace): Likewise.
20358 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20359 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20360 (print_version): Use PKGVERSION.
20361 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20362 (do_version): Use PKGVERSION.
20363 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20364 REPORT_BUGS_TO.
20365 (common-ldd-rewrite): Likewise.
20366 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20367 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20368 (print_version): Use PKGVERSION.
20369 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20370 * elf/pldd.c (argp_program_bug_address): Remove variable.
20371 (more_help): New function.
20372 (argp): Use more_help.
20373 (print_version): Use PKGVERSION.
20374 * elf/sln.c (main): Use PKGVERSION.
20375 (usage): Use REPORT_BUGS_TO.
20376 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20377 (top level): Use PKGVERSION.
20378 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20379 (print_version): Use PKGVERSION.
20380 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20381 (print_version): Use PKGVERSION.
20382 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20383 (print_version): Use PKGVERSION.
20384 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20385 (print_version): Use PKGVERSION.
20386 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20387 (print_version): Use PKGVERSION.
20388 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20389 (print_version): Use PKGVERSION.
20390 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20391 and BUGURL.
20392 ($(objpfx)memusage): Likewise.
20393 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20394 (do_version): Use PKGVERSION.
20395 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20396 (print_version): Use PKGVERSION.
20397 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20398 ($PKGVERSION): New variable.
20399 ($REPORT_BUGS_TO): Likewise.
20400 (usage): Use $REPORT_BUGS_TO.
20401 (top level): Use $PKGVERSION.
20402 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20403 ($(objpfx)pkgvers.texi): New rule.
20404 ($(objpfx)stamp-pkgvers): Likewise.
20405 * manual/install.texi: Include pkgvers.texi.
20406 (--with-pkgversion): Document new configure option.
20407 (--with-bugurl): Likewise.
20408 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20409 than necessarily for this particular distribution. Use
20410 REPORT_BUGS_TO for where to report bugs.
20411 * INSTALL: Regenerated.
20412 * manual/libc.texinfo: Include pkgvers.texi.
20413 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20414 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20415 (print_version): Use PKGVERSION.
20416 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20417 (print_version): Use PKGVERSION.
20418 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20419 (print_version): Use PKGVERSION.
20420 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20421 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20422 macro.
20423 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20424 (print_version): Use PKGVERSION.
20425 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20426 (print_version): Use PKGVERSION.
20427 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20428 and PKGVERSION.
20429
92e4b6a9
JM
20430 * timezone/checktab.awk: Update from tzcode 2012i.
20431 * timezone/ialloc.c: Likewise.
20432 * timezone/private.h: Likewise.
20433 * timezone/scheck.c: Likewise.
20434 * timezone/tzfile.h: Likewise.
20435 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20436 (TZVERSION): Hardcode tzcode version number.
20437 * timezone/zdump.c: Update from tzcode 2012i.
20438 * timezone/zic.c: Likewise.
20439 * timezone/version.h: New file.
20440 * timezone/README: Describe version.h. Update upstream location.
20441
9bde902c
JM
20442 [BZ #14824]
20443 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20444 (mktemp): Enable declaration.
20445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20446 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20448 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20449 Likewise.
20450 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20451 Likewise.
20452 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20453 Likewise.
20454 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20455 Likewise.
20456 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20457 Likewise.
20458 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20459 Likewise.
20460
fb1ae1ee
JM
20461 [BZ #14821]
20462 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20463 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20464 for copies of such integer values.
20465 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20466 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20467
2c1adbcb
AJ
204682012-11-09 Andreas Jaeger <aj@suse.de>
20469
20470 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20471 definitions and declarations that are provided by
20472 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20473
d0f8457e
AK
204742012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20475
3a235abb 20476 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20477 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20478 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20479 definition.
20480
57241e26
MS
204812012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20482
20483 * elf/elf.h: Update comment before AArch64 relocations.
20484
60e8270d
DM
204852012-11-07 David S. Miller <davem@davemloft.net>
20486
20487 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20488 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20489 (__start_context): Declare.
20490 (__makecontext_ret): Delete.
20491 (__makecontext): Hook up __start_context instead of
20492 __makecontext_ret.
20493 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20494 (sysdep_routines): Add __start_context when in stdlib.
20495
0fbb0fbc
JM
204962012-11-07 Joseph Myers <joseph@codesourcery.com>
20497
20498 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20499 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20500 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20501 hardcoded "nm".
20502 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20503 (READELF): New variable. Use it instead of hardcoded "readelf".
20504
eb48db7e
L
205052012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20506
20507 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20508 * sysdeps/x86/Makefile: Here.
20509 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20510 * sysdeps/x86/tst-xmmymm.sh: This.
20511
05bcf62a
JM
205122012-11-07 Joseph Myers <joseph@codesourcery.com>
20513
c4b6cf53
JM
20514 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20515 expectations.
20516 [UNIX98] (pthread_barrier_t): Do not expect.
20517 [UNIX98] (pthread_barrierattr_t): Likewise.
20518 [UNIX98] (pthread_spinlock_t): Likewise.
20519 [UNIX98] (pthread_barrier_destroy): Likewise.
20520 [UNIX98] (pthread_barrier_init): Likewise.
20521 [UNIX98] (pthread_barrier_wait): Likewise.
20522 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20523 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20524 [UNIX98] (pthread_barrierattr_init): Likewise.
20525 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20526 [UNIX98] (pthread_getcpuclockid): Likewise.
20527 [UNIX98] (pthread_mutex_timedlock): Likewise.
20528 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20529 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20530 [UNIX98] (pthread_sigmask): Likewise.
20531 [UNIX98] (pthread_spin_destroy): Likewise.
20532 [UNIX98] (pthread_spin_init): Likewise.
20533 [UNIX98] (pthread_spin_lock): Likewise.
20534 [UNIX98] (pthread_spin_trylock): Likewise.
20535 [UNIX98] (pthread_spin_unlock): Likewise.
20536 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20537 Do not expect.
20538 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20540 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20541 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20542 [XPG3 || XPG4] (pthread_key_t): Likewise.
20543 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20544 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20545 [XPG3 || XPG4] (pthread_once_t): Likewise.
20546 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20547 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20548 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20549 [XPG3 || XPG4] (pthread_t): Likewise.
20550
cbe6e120
JM
20551 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20552 not expect.
20553 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20554
1b126443
JM
20555 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20556 Change function return type to int.
20557
b961a573
JM
20558 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20559 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20560 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20561 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20562 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20563 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20564 [!POSIX] (posix_madvise): Likewise.
20565 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20566 && !UNIX98].
20567 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20568 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20569 (mode_t): Likewise.
20570 (posix_mem_offset): Likewise.
20571 (posix_typed_mem_get_info): Likewise.
20572 (posix_typed_mem_open): Likewise.
20573
9e188909
JM
20574 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20575 Change condition to [XOPEN2K8].
20576
05bcf62a
JM
20577 * conform/conformtest.pl: Preprocess allow-header data with -x c
20578 instead of from stdin.
20579 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20580 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20581 [C99-based standards] (cerfc): Likewise.
20582 [C99-based standards] (cexp2): Likewise.
20583 [C99-based standards] (cexpm1): Likewise.
20584 [C99-based standards] (clog10): Likewise.
20585 [C99-based standards] (clog1p): Likewise.
20586 [C99-based standards] (clog2): Likewise.
20587 [C99-based standards] (clgamma): Likewise.
20588 [C99-based standards] (ctgamma): Likewise.
20589 [C99-based standards] (cerff): Likewise.
20590 [C99-based standards] (cerfcf): Likewise.
20591 [C99-based standards] (cexp2f): Likewise.
20592 [C99-based standards] (cexpm1f): Likewise.
20593 [C99-based standards] (clog10f): Likewise.
20594 [C99-based standards] (clog1pf): Likewise.
20595 [C99-based standards] (clog2f): Likewise.
20596 [C99-based standards] (clgammaf): Likewise.
20597 [C99-based standards] (ctgammaf): Likewise.
20598 [C99-based standards] (cerfl): Likewise.
20599 [C99-based standards] (cerfcl): Likewise.
20600 [C99-based standards] (cexp2l): Likewise.
20601 [C99-based standards] (cexpm1l): Likewise.
20602 [C99-based standards] (clog10l): Likewise.
20603 [C99-based standards] (clog1pl): Likewise.
20604 [C99-based standards] (clog2l): Likewise.
20605 [C99-based standards] (clgammal): Likewise.
20606 [C99-based standards] (ctgammal): Likewise.
20607 * conform/data/inttypes.h-data [C99-based standards]: Include
20608 stdint.h-data. Remove all expectations for stdint.h contents.
20609 [C99-based standards] (PRI*): Do not allow.
20610 [C99-based standards] (SCN*): Likewise.
20611 [C99-based standards] (*_t): Likewise.
20612 [C99-based-standards] (PRId8): Expect macro.
20613 [C99-based-standards] (PRIi8): Likewise.
20614 [C99-based-standards] (PRIo8): Likewise.
20615 [C99-based-standards] (PRIu8): Likewise.
20616 [C99-based-standards] (PRIx8): Likewise.
20617 [C99-based-standards] (PRIX8): Likewise.
20618 [C99-based-standards] (SCNd8): Likewise.
20619 [C99-based-standards] (SCNi8): Likewise.
20620 [C99-based-standards] (SCNo8): Likewise.
20621 [C99-based-standards] (SCNu8): Likewise.
20622 [C99-based-standards] (SCNx8): Likewise.
20623 [C99-based-standards] (PRIdLEAST8): Likewise.
20624 [C99-based-standards] (PRIiLEAST8): Likewise.
20625 [C99-based-standards] (PRIoLEAST8): Likewise.
20626 [C99-based-standards] (PRIuLEAST8): Likewise.
20627 [C99-based-standards] (PRIxLEAST8): Likewise.
20628 [C99-based-standards] (PRIXLEAST8): Likewise.
20629 [C99-based-standards] (SCNdLEAST8): Likewise.
20630 [C99-based-standards] (SCNiLEAST8): Likewise.
20631 [C99-based-standards] (SCNoLEAST8): Likewise.
20632 [C99-based-standards] (SCNuLEAST8): Likewise.
20633 [C99-based-standards] (SCNxLEAST8): Likewise.
20634 [C99-based-standards] (PRIdFAST8): Likewise.
20635 [C99-based-standards] (PRIiFAST8): Likewise.
20636 [C99-based-standards] (PRIoFAST8): Likewise.
20637 [C99-based-standards] (PRIuFAST8): Likewise.
20638 [C99-based-standards] (PRIxFAST8): Likewise.
20639 [C99-based-standards] (PRIXFAST8): Likewise.
20640 [C99-based-standards] (SCNdFAST8): Likewise.
20641 [C99-based-standards] (SCNiFAST8): Likewise.
20642 [C99-based-standards] (SCNoFAST8): Likewise.
20643 [C99-based-standards] (SCNuFAST8): Likewise.
20644 [C99-based-standards] (SCNxFAST8): Likewise.
20645 [C99-based-standards] (PRId16): Likewise.
20646 [C99-based-standards] (PRIi16): Likewise.
20647 [C99-based-standards] (PRIo16): Likewise.
20648 [C99-based-standards] (PRIu16): Likewise.
20649 [C99-based-standards] (PRIx16): Likewise.
20650 [C99-based-standards] (PRIX16): Likewise.
20651 [C99-based-standards] (SCNd16): Likewise.
20652 [C99-based-standards] (SCNi16): Likewise.
20653 [C99-based-standards] (SCNo16): Likewise.
20654 [C99-based-standards] (SCNu16): Likewise.
20655 [C99-based-standards] (SCNx16): Likewise.
20656 [C99-based-standards] (PRIdLEAST16): Likewise.
20657 [C99-based-standards] (PRIiLEAST16): Likewise.
20658 [C99-based-standards] (PRIoLEAST16): Likewise.
20659 [C99-based-standards] (PRIuLEAST16): Likewise.
20660 [C99-based-standards] (PRIxLEAST16): Likewise.
20661 [C99-based-standards] (PRIXLEAST16): Likewise.
20662 [C99-based-standards] (SCNdLEAST16): Likewise.
20663 [C99-based-standards] (SCNiLEAST16): Likewise.
20664 [C99-based-standards] (SCNoLEAST16): Likewise.
20665 [C99-based-standards] (SCNuLEAST16): Likewise.
20666 [C99-based-standards] (SCNxLEAST16): Likewise.
20667 [C99-based-standards] (PRIdFAST16): Likewise.
20668 [C99-based-standards] (PRIiFAST16): Likewise.
20669 [C99-based-standards] (PRIoFAST16): Likewise.
20670 [C99-based-standards] (PRIuFAST16): Likewise.
20671 [C99-based-standards] (PRIxFAST16): Likewise.
20672 [C99-based-standards] (PRIXFAST16): Likewise.
20673 [C99-based-standards] (SCNdFAST16): Likewise.
20674 [C99-based-standards] (SCNiFAST16): Likewise.
20675 [C99-based-standards] (SCNoFAST16): Likewise.
20676 [C99-based-standards] (SCNuFAST16): Likewise.
20677 [C99-based-standards] (SCNxFAST16): Likewise.
20678 [C99-based-standards] (PRId32): Likewise.
20679 [C99-based-standards] (PRIi32): Likewise.
20680 [C99-based-standards] (PRIo32): Likewise.
20681 [C99-based-standards] (PRIu32): Likewise.
20682 [C99-based-standards] (PRIx32): Likewise.
20683 [C99-based-standards] (PRIX32): Likewise.
20684 [C99-based-standards] (SCNd32): Likewise.
20685 [C99-based-standards] (SCNi32): Likewise.
20686 [C99-based-standards] (SCNo32): Likewise.
20687 [C99-based-standards] (SCNu32): Likewise.
20688 [C99-based-standards] (SCNx32): Likewise.
20689 [C99-based-standards] (PRIdLEAST32): Likewise.
20690 [C99-based-standards] (PRIiLEAST32): Likewise.
20691 [C99-based-standards] (PRIoLEAST32): Likewise.
20692 [C99-based-standards] (PRIuLEAST32): Likewise.
20693 [C99-based-standards] (PRIxLEAST32): Likewise.
20694 [C99-based-standards] (PRIXLEAST32): Likewise.
20695 [C99-based-standards] (SCNdLEAST32): Likewise.
20696 [C99-based-standards] (SCNiLEAST32): Likewise.
20697 [C99-based-standards] (SCNoLEAST32): Likewise.
20698 [C99-based-standards] (SCNuLEAST32): Likewise.
20699 [C99-based-standards] (SCNxLEAST32): Likewise.
20700 [C99-based-standards] (PRIdFAST32): Likewise.
20701 [C99-based-standards] (PRIiFAST32): Likewise.
20702 [C99-based-standards] (PRIoFAST32): Likewise.
20703 [C99-based-standards] (PRIuFAST32): Likewise.
20704 [C99-based-standards] (PRIxFAST32): Likewise.
20705 [C99-based-standards] (PRIXFAST32): Likewise.
20706 [C99-based-standards] (SCNdFAST32): Likewise.
20707 [C99-based-standards] (SCNiFAST32): Likewise.
20708 [C99-based-standards] (SCNoFAST32): Likewise.
20709 [C99-based-standards] (SCNuFAST32): Likewise.
20710 [C99-based-standards] (SCNxFAST32): Likewise.
20711 [C99-based-standards] (PRId64): Likewise.
20712 [C99-based-standards] (PRIi64): Likewise.
20713 [C99-based-standards] (PRIo64): Likewise.
20714 [C99-based-standards] (PRIu64): Likewise.
20715 [C99-based-standards] (PRIx64): Likewise.
20716 [C99-based-standards] (PRIX64): Likewise.
20717 [C99-based-standards] (SCNd64): Likewise.
20718 [C99-based-standards] (SCNi64): Likewise.
20719 [C99-based-standards] (SCNo64): Likewise.
20720 [C99-based-standards] (SCNu64): Likewise.
20721 [C99-based-standards] (SCNx64): Likewise.
20722 [C99-based-standards] (PRIdLEAST64): Likewise.
20723 [C99-based-standards] (PRIiLEAST64): Likewise.
20724 [C99-based-standards] (PRIoLEAST64): Likewise.
20725 [C99-based-standards] (PRIuLEAST64): Likewise.
20726 [C99-based-standards] (PRIxLEAST64): Likewise.
20727 [C99-based-standards] (PRIXLEAST64): Likewise.
20728 [C99-based-standards] (SCNdLEAST64): Likewise.
20729 [C99-based-standards] (SCNiLEAST64): Likewise.
20730 [C99-based-standards] (SCNoLEAST64): Likewise.
20731 [C99-based-standards] (SCNuLEAST64): Likewise.
20732 [C99-based-standards] (SCNxLEAST64): Likewise.
20733 [C99-based-standards] (PRIdFAST64): Likewise.
20734 [C99-based-standards] (PRIiFAST64): Likewise.
20735 [C99-based-standards] (PRIoFAST64): Likewise.
20736 [C99-based-standards] (PRIuFAST64): Likewise.
20737 [C99-based-standards] (PRIxFAST64): Likewise.
20738 [C99-based-standards] (PRIXFAST64): Likewise.
20739 [C99-based-standards] (SCNdFAST64): Likewise.
20740 [C99-based-standards] (SCNiFAST64): Likewise.
20741 [C99-based-standards] (SCNoFAST64): Likewise.
20742 [C99-based-standards] (SCNuFAST64): Likewise.
20743 [C99-based-standards] (SCNxFAST64): Likewise.
20744 [C99-based-standards] (PRIdMAX): Likewise.
20745 [C99-based-standards] (PRIiMAX): Likewise.
20746 [C99-based-standards] (PRIoMAX): Likewise.
20747 [C99-based-standards] (PRIuMAX): Likewise.
20748 [C99-based-standards] (PRIxMAX): Likewise.
20749 [C99-based-standards] (PRIXMAX): Likewise.
20750 [C99-based-standards] (SCNdMAX): Likewise.
20751 [C99-based-standards] (SCNiMAX): Likewise.
20752 [C99-based-standards] (SCNoMAX): Likewise.
20753 [C99-based-standards] (SCNuMAX): Likewise.
20754 [C99-based-standards] (SCNxMAX): Likewise.
20755 [C99-based-standards] (PRIdPTR): Likewise.
20756 [C99-based-standards] (PRIiPTR): Likewise.
20757 [C99-based-standards] (PRIoPTR): Likewise.
20758 [C99-based-standards] (PRIuPTR): Likewise.
20759 [C99-based-standards] (PRIxPTR): Likewise.
20760 [C99-based-standards] (PRIXPTR): Likewise.
20761 [C99-based-standards] (SCNdPTR): Likewise.
20762 [C99-based-standards] (SCNiPTR): Likewise.
20763 [C99-based-standards] (SCNoPTR): Likewise.
20764 [C99-based-standards] (SCNuPTR): Likewise.
20765 [C99-based-standards] (SCNxPTR): Likewise.
20766 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20767 allow.
20768 * conform/data/stdint.h-data: Update comments to clarify
20769 requirements.
20770 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20771 type.
20772 [C99-based standards] (INT8_MAX): Likewise.
20773 [C99-based standards] (INT16_MIN): Likewise.
20774 [C99-based standards] (INT16_MAX): Likewise.
20775 [C99-based standards] (INT32_MIN): Likewise.
20776 [C99-based standards] (INT32_MAX): Likewise.
20777 [C99-based standards] (INT64_MIN): Likewise.
20778 [C99-based standards] (INT64_MAX): Likewise.
20779 [C99-based standards] (UINT8_MAX): Likewise.
20780 [C99-based standards] (UINT16_MAX): Likewise.
20781 [C99-based standards] (UINT32_MAX): Likewise.
20782 [C99-based standards] (UINT64_MAX): Likewise.
20783 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20784 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20785 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20786 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20787 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20788 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20789 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20790 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20791 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20792 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20793 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20794 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20795 [C99-based standards] (INT_FAST8_MIN): Likewise.
20796 [C99-based standards] (INT_FAST8_MAX): Likewise.
20797 [C99-based standards] (INT_FAST16_MIN): Likewise.
20798 [C99-based standards] (INT_FAST16_MAX): Likewise.
20799 [C99-based standards] (INT_FAST32_MIN): Likewise.
20800 [C99-based standards] (INT_FAST32_MAX): Likewise.
20801 [C99-based standards] (INT_FAST64_MIN): Likewise.
20802 [C99-based standards] (INT_FAST64_MAX): Likewise.
20803 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20804 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20805 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20806 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20807 [C99-based standards] (INTPTR_MIN): Likewise.
20808 [C99-based standards] (INTPTR_MAX): Likewise.
20809 [C99-based standards] (UINTPTR_MAX): Likewise.
20810 [C99-based standards] (INTMAX_MIN): Likewise.
20811 [C99-based standards] (INTMAX_MAX): Likewise.
20812 [C99-based standards] (UINTMAX_MAX): Likewise.
20813 [C99-based standards] (PTRDIFF_MIN): Likewise.
20814 [C99-based standards] (PTRDIFF_MAX): Likewise.
20815 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20816 [C99-based standards] (SIZE_MAX): Likewise.
20817 [C99-based standards] (WCHAR_MAX): Likewise.
20818 [C99-based standards] (WINT_MAX): Likewise.
20819 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20820 constraint on value.
20821 [C99-based standards] (WCHAR_MIN): Likewise.
20822 [C99-based standards] (WINT_MIN): Likewise.
20823 [C99-based standards] (*_t): Allow.
20824 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20825 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20826 Include math.h-data and complex.h-data. Remove all expectations
20827 of math.h and complex.h contents.
20828 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20829 at end of line.
20830 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20831 (struct tm): Expect tag.
20832 [C99-based-standards] (wcstof): Expect function.
20833 [C99-based-standards] (wcstold): Likewise.
20834 [C99-based-standards] (wcstoll): Likewise.
20835 [C99-based-standards] (wcstoull): Likewise.
20836 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20837 macro-int-constant. Specify type.
20838 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20839 constraint on value.
20840 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20841 Specify type.
20842 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20843 Specify value.
20844 [ISO C standards]: Do not allow headers.
20845 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20846 wcs[abcdefghijklmnopqrstuvwxyz]*.
20847 [ISO C standards] (*_t): Do not allow.
20848 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20849 Expect function.
20850 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20851 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20852 Specify type.
20853 [ISO C standards]: Do not allow headers.
20854 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20855 is[abcdefghijklmnopqrstuvwxyz]*.
20856 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20857 to[abcdefghijklmnopqrstuvwxyz]*.
20858 [ISO C standards] (*_t): Do not allow.
20859 * conform/data/stdalign.h-data: New file.
20860 * conform/data/stdbool.h-data: Likewise.
20861 * conform/data/stdnoreturn.h-data: Likewise.
20862
7514feb8
RM
208632012-11-07 Roland McGrath <roland@hack.frob.com>
20864
20865 [BZ #14815]
20866 * manual/filesys.texi (Directory Entries): Typo fix.
20867 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20868
19b2ecfc
MS
208692012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20870
20871 * elf/elf.h (EM_AARCH64): New macro.
20872 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20873 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20874 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20875 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20876 (R_AARCH64_TLSDESC): Likewise.
20877 (NT_ARM_TLS): Likewise.
20878 (NT_ARM_HW_BREAK): Likewise.
20879 (NT_ARM_HW_WATCH): Likewise.
20880
60e235ee
JM
208812012-11-07 Joseph Myers <joseph@codesourcery.com>
20882
20883 [BZ #14811]
20884 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20885 (__ieee754_powl): Saturate nonzero exponents with absolute value
20886 below 0x1p-79 to +/- 0x1p-79.
20887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20888 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20889 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20890 nonzero exponents with absolute value below 0x1p-32 to +/-
20891 0x1p-32.
20892 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20893 (__ieee754_powl): Saturate nonzero exponents with absolute value
20894 below 0x1p-79 to +/- 0x1p-79.
20895 * math/libm-test.inc (pow_test): Add more tests.
20896
0ab234b7
AK
208972012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20898
20899 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20900 _dl_s390_cap_flags with kernel. Increase string length.
20901 (_dl_s390_platforms): Add z196 and zEC12.
20902
45832f74
JM
209032012-11-07 Joseph Myers <joseph@codesourcery.com>
20904
20905 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20906 Change XOPEN21K to XOPEN2K.
20907
19218757
MK
209082012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20909
20910 * string/memmove.c: Use memcpy when possible.
20911
c5f45721
AJ
209122012-11-06 Andreas Jaeger <aj@suse.de>
20913
20914 * po/eo.po: Update from translation team.
20915
82477c28
JM
209162012-11-06 Joseph Myers <joseph@codesourcery.com>
20917
20918 [BZ #14793]
20919 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20920 exponent and small x and y exponents, scale x or y up. Increase
20921 by 2 the exponent used in scaling up.
20922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20923 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20924 * math/libm-test.inc (fma_test): Add more tests.
20925 (fma_test_towardzero): Likewise.
20926 (fma_test_downward): Likewise.
20927 (fma_test_upward): Likewise.
20928
99252c8c
JM
209292012-11-05 Joseph Myers <joseph@codesourcery.com>
20930
acfa885f
JM
20931 [BZ #14805]
20932 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20933 fenv_t *.
20934
99252c8c
JM
20935 [BZ #14801]
20936 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20937 namespace for names of struct fields.
20938 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20939 fenv_t fields.
20940 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20941 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20942
d6d98dea
ST
209432012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20944
20945 [BZ #3665]
20946 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20947
e10bb107
TS
209482012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20949
20950 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20951 PTR_DEMANGLE.
20952
20953 [BZ #5246]
20954 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20955 PTR_DEMANGLE.
20956
a0c2940d
JM
209572012-11-04 Joseph Myers <joseph@codesourcery.com>
20958
20959 [BZ #14797]
20960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20961 definitely overflow as x * y not x * y + z.
20962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20963 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20964 * math/libm-test.inc (fma_test): Add more tests.
20965 (fma_test_towardzero): Likewise.
20966 (fma_test_downward): Likewise.
20967 (fma_test_upward): Likewise.
20968
b830319d
TS
209692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20970
20971 [BZ #157]
20972
20973 * include/stub-tag.h: Remove file.
20974 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20975 '#include' of it.
20976 * manual/maint.texi (Porting): Don't reference it.
20977 * Makerules ($(objpfx)stubs): Likewise.
20978 * dirent/closedir.c: Don't include <stub-tag.h>.
20979 * dirent/dirfd.c: Likewise.
20980 * dirent/fdopendir.c: Likewise.
20981 * dirent/getdents.c: Likewise.
20982 * dirent/getdents64.c: Likewise.
20983 * dirent/opendir.c: Likewise.
20984 * dirent/readdir.c: Likewise.
20985 * dirent/readdir64.c: Likewise.
20986 * dirent/readdir64_r.c: Likewise.
20987 * dirent/readdir_r.c: Likewise.
20988 * dirent/rewinddir.c: Likewise.
20989 * dirent/seekdir.c: Likewise.
20990 * dirent/telldir.c: Likewise.
20991 * gmon/profil.c: Likewise.
20992 * grp/setgroups.c: Likewise.
20993 * inet/if_index.c: Likewise.
20994 * io/access.c: Likewise.
20995 * io/chdir.c: Likewise.
20996 * io/chmod.c: Likewise.
20997 * io/chown.c: Likewise.
20998 * io/close.c: Likewise.
20999 * io/dup.c: Likewise.
21000 * io/dup2.c: Likewise.
21001 * io/dup3.c: Likewise.
21002 * io/euidaccess.c: Likewise.
21003 * io/faccessat.c: Likewise.
21004 * io/fchdir.c: Likewise.
21005 * io/fchmod.c: Likewise.
21006 * io/fchmodat.c: Likewise.
21007 * io/fchown.c: Likewise.
21008 * io/fchownat.c: Likewise.
21009 * io/fcntl.c: Likewise.
21010 * io/flock.c: Likewise.
21011 * io/fstatfs.c: Likewise.
21012 * io/fstatfs64.c: Likewise.
21013 * io/fstatvfs.c: Likewise.
21014 * io/fstatvfs64.c: Likewise.
21015 * io/futimens.c: Likewise.
21016 * io/fxstat.c: Likewise.
21017 * io/fxstat64.c: Likewise.
21018 * io/fxstatat.c: Likewise.
21019 * io/fxstatat64.c: Likewise.
21020 * io/getcwd.c: Likewise.
21021 * io/isatty.c: Likewise.
21022 * io/lchmod.c: Likewise.
21023 * io/lchown.c: Likewise.
21024 * io/link.c: Likewise.
21025 * io/linkat.c: Likewise.
21026 * io/lseek.c: Likewise.
21027 * io/lseek64.c: Likewise.
21028 * io/lxstat64.c: Likewise.
21029 * io/mkdir.c: Likewise.
21030 * io/mkdirat.c: Likewise.
21031 * io/mkfifo.c: Likewise.
21032 * io/mkfifoat.c: Likewise.
21033 * io/open.c: Likewise.
21034 * io/open64.c: Likewise.
21035 * io/openat.c: Likewise.
21036 * io/openat64.c: Likewise.
21037 * io/pipe.c: Likewise.
21038 * io/pipe2.c: Likewise.
21039 * io/poll.c: Likewise.
21040 * io/posix_fadvise.c: Likewise.
21041 * io/posix_fadvise64.c: Likewise.
21042 * io/posix_fallocate.c: Likewise.
21043 * io/posix_fallocate64.c: Likewise.
21044 * io/read.c: Likewise.
21045 * io/readlink.c: Likewise.
21046 * io/readlinkat.c: Likewise.
21047 * io/rmdir.c: Likewise.
21048 * io/sendfile.c: Likewise.
21049 * io/sendfile64.c: Likewise.
21050 * io/statfs.c: Likewise.
21051 * io/statfs64.c: Likewise.
21052 * io/statvfs.c: Likewise.
21053 * io/statvfs64.c: Likewise.
21054 * io/symlink.c: Likewise.
21055 * io/symlinkat.c: Likewise.
21056 * io/ttyname.c: Likewise.
21057 * io/ttyname_r.c: Likewise.
21058 * io/umask.c: Likewise.
21059 * io/unlink.c: Likewise.
21060 * io/unlinkat.c: Likewise.
21061 * io/utime.c: Likewise.
21062 * io/utimensat.c: Likewise.
21063 * io/write.c: Likewise.
21064 * io/xmknod.c: Likewise.
21065 * io/xmknodat.c: Likewise.
21066 * io/xstat.c: Likewise.
21067 * io/xstat64.c: Likewise.
21068 * login/getpt.c: Likewise.
21069 * login/grantpt.c: Likewise.
21070 * login/unlockpt.c: Likewise.
21071 * math/e_acoshl.c: Likewise.
21072 * math/e_acosl.c: Likewise.
21073 * math/e_asinl.c: Likewise.
21074 * math/e_atan2l.c: Likewise.
21075 * math/e_atanhl.c: Likewise.
21076 * math/e_coshl.c: Likewise.
21077 * math/e_expl.c: Likewise.
21078 * math/e_fmodl.c: Likewise.
21079 * math/e_gammal_r.c: Likewise.
21080 * math/e_hypotl.c: Likewise.
21081 * math/e_j0l.c: Likewise.
21082 * math/e_j1l.c: Likewise.
21083 * math/e_jnl.c: Likewise.
21084 * math/e_lgammal_r.c: Likewise.
21085 * math/e_log10l.c: Likewise.
21086 * math/e_log2l.c: Likewise.
21087 * math/e_logl.c: Likewise.
21088 * math/e_powl.c: Likewise.
21089 * math/e_rem_pio2l.c: Likewise.
21090 * math/e_sinhl.c: Likewise.
21091 * math/e_sqrtl.c: Likewise.
21092 * math/fclrexcpt.c: Likewise.
21093 * math/fedisblxcpt.c: Likewise.
21094 * math/feenablxcpt.c: Likewise.
21095 * math/fegetenv.c: Likewise.
21096 * math/fegetexcept.c: Likewise.
21097 * math/fegetround.c: Likewise.
21098 * math/feholdexcpt.c: Likewise.
21099 * math/fesetenv.c: Likewise.
21100 * math/fesetround.c: Likewise.
21101 * math/feupdateenv.c: Likewise.
21102 * math/fgetexcptflg.c: Likewise.
21103 * math/fraiseexcpt.c: Likewise.
21104 * math/fsetexcptflg.c: Likewise.
21105 * math/ftestexcept.c: Likewise.
21106 * math/k_cosl.c: Likewise.
21107 * math/k_rem_pio2l.c: Likewise.
21108 * math/k_sinl.c: Likewise.
21109 * math/k_tanl.c: Likewise.
21110 * math/s_asinhl.c: Likewise.
21111 * math/s_atanl.c: Likewise.
21112 * math/s_cbrtl.c: Likewise.
21113 * math/s_erfl.c: Likewise.
21114 * math/s_expm1l.c: Likewise.
21115 * math/s_log1pl.c: Likewise.
21116 * math/s_tanhl.c: Likewise.
21117 * misc/acct.c: Likewise.
21118 * misc/brk.c: Likewise.
21119 * misc/chflags.c: Likewise.
21120 * misc/chroot.c: Likewise.
21121 * misc/fchflags.c: Likewise.
21122 * misc/fgetxattr.c: Likewise.
21123 * misc/flistxattr.c: Likewise.
21124 * misc/fremovexattr.c: Likewise.
21125 * misc/fsetxattr.c: Likewise.
21126 * misc/fsync.c: Likewise.
21127 * misc/ftruncate.c: Likewise.
21128 * misc/futimes.c: Likewise.
21129 * misc/futimesat.c: Likewise.
21130 * misc/getdomain.c: Likewise.
21131 * misc/getdtsz.c: Likewise.
21132 * misc/gethostid.c: Likewise.
21133 * misc/gethostname.c: Likewise.
21134 * misc/getloadavg.c: Likewise.
21135 * misc/getpagesize.c: Likewise.
21136 * misc/getsysstats.c: Likewise.
21137 * misc/getxattr.c: Likewise.
21138 * misc/gtty.c: Likewise.
21139 * misc/ioctl.c: Likewise.
21140 * misc/lgetxattr.c: Likewise.
21141 * misc/listxattr.c: Likewise.
21142 * misc/llistxattr.c: Likewise.
21143 * misc/lremovexattr.c: Likewise.
21144 * misc/lsetxattr.c: Likewise.
21145 * misc/lutimes.c: Likewise.
21146 * misc/madvise.c: Likewise.
21147 * misc/mincore.c: Likewise.
21148 * misc/mlock.c: Likewise.
21149 * misc/mlockall.c: Likewise.
21150 * misc/mmap.c: Likewise.
21151 * misc/mprotect.c: Likewise.
21152 * misc/msync.c: Likewise.
21153 * misc/munlock.c: Likewise.
21154 * misc/munlockall.c: Likewise.
21155 * misc/munmap.c: Likewise.
21156 * misc/preadv.c: Likewise.
21157 * misc/preadv64.c: Likewise.
21158 * misc/ptrace.c: Likewise.
21159 * misc/pwritev.c: Likewise.
21160 * misc/pwritev64.c: Likewise.
21161 * misc/readv.c: Likewise.
21162 * misc/reboot.c: Likewise.
21163 * misc/remap_file_pages.c: Likewise.
21164 * misc/removexattr.c: Likewise.
21165 * misc/revoke.c: Likewise.
21166 * misc/select.c: Likewise.
21167 * misc/setdomain.c: Likewise.
21168 * misc/setegid.c: Likewise.
21169 * misc/seteuid.c: Likewise.
21170 * misc/sethostid.c: Likewise.
21171 * misc/sethostname.c: Likewise.
21172 * misc/setregid.c: Likewise.
21173 * misc/setreuid.c: Likewise.
21174 * misc/setxattr.c: Likewise.
21175 * misc/sstk.c: Likewise.
21176 * misc/stty.c: Likewise.
21177 * misc/swapoff.c: Likewise.
21178 * misc/swapon.c: Likewise.
21179 * misc/sync.c: Likewise.
21180 * misc/syncfs.c: Likewise.
21181 * misc/syscall.c: Likewise.
21182 * misc/truncate.c: Likewise.
21183 * misc/ualarm.c: Likewise.
21184 * misc/usleep.c: Likewise.
21185 * misc/ustat.c: Likewise.
21186 * misc/utimes.c: Likewise.
21187 * misc/vhangup.c: Likewise.
21188 * misc/writev.c: Likewise.
21189 * posix/_exit.c: Likewise.
21190 * posix/alarm.c: Likewise.
21191 * posix/execve.c: Likewise.
21192 * posix/fexecve.c: Likewise.
21193 * posix/fork.c: Likewise.
21194 * posix/fpathconf.c: Likewise.
21195 * posix/getaddrinfo.c: Likewise.
21196 * posix/getegid.c: Likewise.
21197 * posix/geteuid.c: Likewise.
21198 * posix/getgid.c: Likewise.
21199 * posix/getgroups.c: Likewise.
21200 * posix/getlogin.c: Likewise.
21201 * posix/getlogin_r.c: Likewise.
21202 * posix/getpgid.c: Likewise.
21203 * posix/getpid.c: Likewise.
21204 * posix/getppid.c: Likewise.
21205 * posix/getresgid.c: Likewise.
21206 * posix/getresuid.c: Likewise.
21207 * posix/getsid.c: Likewise.
21208 * posix/getuid.c: Likewise.
21209 * posix/glob64.c: Likewise.
21210 * posix/nanosleep.c: Likewise.
21211 * posix/pathconf.c: Likewise.
21212 * posix/pause.c: Likewise.
21213 * posix/posix_madvise.c: Likewise.
21214 * posix/pread.c: Likewise.
21215 * posix/pread64.c: Likewise.
21216 * posix/pwrite.c: Likewise.
21217 * posix/pwrite64.c: Likewise.
21218 * posix/sched_getaffinity.c: Likewise.
21219 * posix/sched_getp.c: Likewise.
21220 * posix/sched_gets.c: Likewise.
21221 * posix/sched_primax.c: Likewise.
21222 * posix/sched_primin.c: Likewise.
21223 * posix/sched_rr_gi.c: Likewise.
21224 * posix/sched_setaffinity.c: Likewise.
21225 * posix/sched_setp.c: Likewise.
21226 * posix/sched_sets.c: Likewise.
21227 * posix/sched_yield.c: Likewise.
21228 * posix/setgid.c: Likewise.
21229 * posix/setlogin.c: Likewise.
21230 * posix/setpgid.c: Likewise.
21231 * posix/setresgid.c: Likewise.
21232 * posix/setresuid.c: Likewise.
21233 * posix/setsid.c: Likewise.
21234 * posix/setuid.c: Likewise.
21235 * posix/sleep.c: Likewise.
21236 * posix/spawni.c: Likewise.
21237 * posix/sysconf.c: Likewise.
21238 * posix/times.c: Likewise.
21239 * posix/wait.c: Likewise.
21240 * posix/wait3.c: Likewise.
21241 * posix/wait4.c: Likewise.
21242 * posix/waitpid.c: Likewise.
21243 * resolv/gai_sigqueue.c: Likewise.
21244 * resource/getpriority.c: Likewise.
21245 * resource/getrlimit.c: Likewise.
21246 * resource/getrusage.c: Likewise.
21247 * resource/nice.c: Likewise.
21248 * resource/setpriority.c: Likewise.
21249 * resource/setrlimit.c: Likewise.
21250 * resource/ulimit.c: Likewise.
21251 * rt/aio_cancel.c: Likewise.
21252 * rt/aio_fsync.c: Likewise.
21253 * rt/aio_read.c: Likewise.
21254 * rt/aio_sigqueue.c: Likewise.
21255 * rt/aio_suspend.c: Likewise.
21256 * rt/aio_write.c: Likewise.
21257 * rt/clock_getres.c: Likewise.
21258 * rt/clock_gettime.c: Likewise.
21259 * rt/clock_nanosleep.c: Likewise.
21260 * rt/clock_settime.c: Likewise.
21261 * rt/lio_listio.c: Likewise.
21262 * rt/mq_close.c: Likewise.
21263 * rt/mq_getattr.c: Likewise.
21264 * rt/mq_notify.c: Likewise.
21265 * rt/mq_open.c: Likewise.
21266 * rt/mq_receive.c: Likewise.
21267 * rt/mq_send.c: Likewise.
21268 * rt/mq_setattr.c: Likewise.
21269 * rt/mq_timedreceive.c: Likewise.
21270 * rt/mq_timedsend.c: Likewise.
21271 * rt/mq_unlink.c: Likewise.
21272 * rt/shm_open.c: Likewise.
21273 * rt/shm_unlink.c: Likewise.
21274 * rt/timer_create.c: Likewise.
21275 * rt/timer_delete.c: Likewise.
21276 * rt/timer_getoverr.c: Likewise.
21277 * rt/timer_gettime.c: Likewise.
21278 * rt/timer_settime.c: Likewise.
21279 * setjmp/__longjmp.c: Likewise.
21280 * setjmp/setjmp.c: Likewise.
21281 * signal/kill.c: Likewise.
21282 * signal/killpg.c: Likewise.
21283 * signal/raise.c: Likewise.
21284 * signal/sigaction.c: Likewise.
21285 * signal/sigaltstack.c: Likewise.
21286 * signal/sigblock.c: Likewise.
21287 * signal/sigignore.c: Likewise.
21288 * signal/sigintr.c: Likewise.
21289 * signal/signal.c: Likewise.
21290 * signal/sigpause.c: Likewise.
21291 * signal/sigpending.c: Likewise.
21292 * signal/sigqueue.c: Likewise.
21293 * signal/sigreturn.c: Likewise.
21294 * signal/sigset.c: Likewise.
21295 * signal/sigsetmask.c: Likewise.
21296 * signal/sigstack.c: Likewise.
21297 * signal/sigsuspend.c: Likewise.
21298 * signal/sigtimedwait.c: Likewise.
21299 * signal/sigvec.c: Likewise.
21300 * signal/sigwait.c: Likewise.
21301 * signal/sigwaitinfo.c: Likewise.
21302 * signal/sysv_signal.c: Likewise.
21303 * socket/accept.c: Likewise.
21304 * socket/accept4.c: Likewise.
21305 * socket/bind.c: Likewise.
21306 * socket/connect.c: Likewise.
21307 * socket/getpeername.c: Likewise.
21308 * socket/getsockname.c: Likewise.
21309 * socket/getsockopt.c: Likewise.
21310 * socket/isfdtype.c: Likewise.
21311 * socket/listen.c: Likewise.
21312 * socket/recv.c: Likewise.
21313 * socket/recvfrom.c: Likewise.
21314 * socket/recvmsg.c: Likewise.
21315 * socket/send.c: Likewise.
21316 * socket/sendmsg.c: Likewise.
21317 * socket/sendto.c: Likewise.
21318 * socket/setsockopt.c: Likewise.
21319 * socket/shutdown.c: Likewise.
21320 * socket/sockatmark.c: Likewise.
21321 * socket/socket.c: Likewise.
21322 * socket/socketpair.c: Likewise.
21323 * stdio-common/ctermid.c: Likewise.
21324 * stdio-common/cuserid.c: Likewise.
21325 * stdio-common/remove.c: Likewise.
21326 * stdio-common/rename.c: Likewise.
21327 * stdio-common/renameat.c: Likewise.
21328 * stdio-common/tempname.c: Likewise.
21329 * stdlib/getcontext.c: Likewise.
21330 * stdlib/makecontext.c: Likewise.
21331 * stdlib/setcontext.c: Likewise.
21332 * stdlib/swapcontext.c: Likewise.
21333 * stdlib/system.c: Likewise.
21334 * streams/fattach.c: Likewise.
21335 * streams/fdetach.c: Likewise.
21336 * streams/getmsg.c: Likewise.
21337 * streams/getpmsg.c: Likewise.
21338 * streams/putmsg.c: Likewise.
21339 * streams/putpmsg.c: Likewise.
21340 * sysdeps/unix/bsd/getpt.c: Likewise.
21341 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21342 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21343 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21345 Likewise.
21346 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21347 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21348 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21349 * sysvipc/msgctl.c: Likewise.
21350 * sysvipc/msgget.c: Likewise.
21351 * sysvipc/msgrcv.c: Likewise.
21352 * sysvipc/msgsnd.c: Likewise.
21353 * sysvipc/semctl.c: Likewise.
21354 * sysvipc/semget.c: Likewise.
21355 * sysvipc/semop.c: Likewise.
21356 * sysvipc/semtimedop.c: Likewise.
21357 * sysvipc/shmat.c: Likewise.
21358 * sysvipc/shmctl.c: Likewise.
21359 * sysvipc/shmdt.c: Likewise.
21360 * sysvipc/shmget.c: Likewise.
21361 * termios/tcdrain.c: Likewise.
21362 * termios/tcflow.c: Likewise.
21363 * termios/tcflush.c: Likewise.
21364 * termios/tcgetattr.c: Likewise.
21365 * termios/tcgetpgrp.c: Likewise.
21366 * termios/tcsendbrk.c: Likewise.
21367 * termios/tcsetattr.c: Likewise.
21368 * termios/tcsetpgrp.c: Likewise.
21369 * time/adjtime.c: Likewise.
21370 * time/clock.c: Likewise.
21371 * time/getitimer.c: Likewise.
21372 * time/gettimeofday.c: Likewise.
21373 * time/setitimer.c: Likewise.
21374 * time/settimeofday.c: Likewise.
21375 * time/stime.c: Likewise.
21376 * time/time.c: Likewise.
21377
213782012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21379
a20492cf
PT
21380 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21381 /usr/old/bin.
21382
72e182e3
PT
21383 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21384 instead of spaces.
21385 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21386
fbeafede
JM
213872012-11-03 Joseph Myers <joseph@codesourcery.com>
21388
5b5b04d6
JM
21389 [BZ #14796]
21390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21391 FE_TONEAREST before applying Dekker multiplication and Knuth
21392 addition. Clear inexact exceptions and check for exact zero
21393 results afterwards.
21394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21395 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21396 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21397 * math/libm-test.inc (fma_test): Add more tests.
21398 (fma_test_towardzero): Likewise.
21399 (fma_test_downward): Likewise.
21400 (fma_test_upward): Likewise.
21401 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21402 function.
21403 (libc_fesetround): New macro.
21404 (libc_fesetroundf): Likewise.
21405 (libc_fesetroundl): Likewise.
21406 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21407 function.
21408 (libc_fesetround_387): Likewise.
21409 (libc_fesetroundf): New macro.
21410 (libc_fesetround): Likewise.
21411 (libc_fesetroundl): Likewise.
21412 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21413 function.
21414 (libc_fesetroundf): New macro.
21415 (libc_fesetround): Likewise.
21416 (libc_fesetroundl): Likewise.
21417 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21418 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21419 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21420 libm_hidden_ver.
21421 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21422 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21423 libm_hidden_def.
21424 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21425 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21426 libm_hidden_ver.
21427 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21428 libm_hidden_def.
21429
fbeafede
JM
21430 [BZ #3439]
21431 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21432 integer constant usable in #if and use that to give value to enum
21433 constant.
21434 (FE_DIVBYZERO): Likewise.
21435 (FE_UNDERFLOW): Likewise.
21436 (FE_OVERFLOW): Likewise.
21437 (FE_INVALID): Likewise.
21438 (FE_INVALID_SNAN): Likewise.
21439 (FE_INVALID_ISI): Likewise.
21440 (FE_INVALID_IDI): Likewise.
21441 (FE_INVALID_ZDZ): Likewise.
21442 (FE_INVALID_IMZ): Likewise.
21443 (FE_INVALID_COMPARE): Likewise.
21444 (FE_INVALID_SOFTWARE): Likewise.
21445 (FE_INVALID_SQRT): Likewise.
21446 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21447 (FE_TONEAREST): Likewise.
21448 (FE_TOWARDZERO): Likewise.
21449 (FE_UPWARD): Likewise.
21450 (FE_DOWNWARD): Likewise.
21451 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21452 (FE_DIVBYZERO): Likewise.
21453 (FE_OVERFLOW): Likewise.
21454 (FE_UNDERFLOW): Likewise.
21455 (FE_INEXACT): Likewise.
21456 (FE_TONEAREST): Likewise.
21457 (FE_DOWNWARD): Likewise.
21458 (FE_UPWARD): Likewise.
21459 (FE_TOWARDZERO): Likewise.
21460 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21461 (FE_UNDERFLOW): Likewise.
21462 (FE_OVERFLOW): Likewise.
21463 (FE_DIVBYZERO): Likewise.
21464 (FE_INVALID): Likewise.
21465 (FE_TONEAREST): Likewise.
21466 (FE_TOWARDZERO): Likewise.
21467 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21468 (FE_OVERFLOW): Likewise.
21469 (FE_UNDERFLOW): Likewise.
21470 (FE_DIVBYZERO): Likewise.
21471 (FE_INEXACT): Likewise.
21472 (FE_TONEAREST): Likewise.
21473 (FE_TOWARDZERO): Likewise.
21474 (FE_UPWARD): Likewise.
21475 (FE_DOWNWARD): Likewise.
21476 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21477 (FE_DIVBYZERO): Likewise.
21478 (FE_OVERFLOW): Likewise.
21479 (FE_UNDERFLOW): Likewise.
21480 (FE_INEXACT): Likewise.
21481 (FE_TONEAREST): Likewise.
21482 (FE_DOWNWARD): Likewise.
21483 (FE_UPWARD): Likewise.
21484 (FE_TOWARDZERO): Likewise.
21485
105ca950
CM
214862012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21487
21488 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21489
a542b389
AS
214902012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21491
21492 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21493 commands. Quote $PWD.
21494 (blacklist_exports): Don't use remove_newlines. Replace "declare
21495 -x" by "export".
21496 (remove_newlines): Remove.
21497
f62c8abc
L
214982012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21499
21500 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21501 * stdlib/stdlib.h (atof): Moved to ...
21502 * include/bits/stdlib-float.h: Here. New file.
21503 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21504 * stdlib/bits/stdlib-float.h: New file.
21505 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21506 -mno-sse -mno-mmx.
21507 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21508 <xmmintrin.h>.
21509
0155d5b2
JM
215102012-11-02 Joseph Myers <joseph@codesourcery.com>
21511
a68d0680
JM
21512 * conform/conformtest.pl (@headers): Add fenv.h.
21513 * conform/data/fenv.h-data: New file.
21514 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21515 include of <math/fenv.h>.
21516
caf7f573
JM
21517 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21518 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21519 && !UNIX98]. Enables tests for XOPEN2K8.
21520 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21521 POSIX2008]: Likewise.
21522
6c073ad6
JM
21523 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21524 (struct rusage): Do not expect type or its members.
21525
0155d5b2
JM
21526 [BZ #3439]
21527 * math/math.h (FP_NAN): Define macro to integer constant usable in
21528 #if and use that to give value to enum constant.
21529 (FP_INFINITE): Likewise.
21530 (FP_ZERO): Likewise.
21531 (FP_SUBNORMAL): Likewise.
21532 (FP_NORMAL): Likewise.
21533
b5dcacb4
AS
215342012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21535
21536 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21537 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21538 arguments.
21539
f7934be8
RM
215402012-11-02 Roland McGrath <roland@hack.frob.com>
21541
21542 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21543 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21544 autoconf-time if not.
21545 * configure.in: Remove AC_PREREQ.
21546
d7d08bde
TMQMF
215472012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21548
21549 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21550 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21551 of the internal implementation.
21552
dcdae19a
JM
215532012-11-02 Joseph Myers <joseph@codesourcery.com>
21554
21555 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21556 except include of <misc/sys/syslog.h>.
21557
d6cffd3e
AS
215582012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21559
21560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21561 function returns with a NULL context exit with zero.
21562
b3563932
TMQMF
215632012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21564
21565 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21566
b288a93d
L
215672012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21568
21569 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21570 (run_program_cmd): This.
21571 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21572 (tst_langinfo): New variable. Use it.
21573
a2421a68
SAS
215742012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21575
21576 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21577 floating point opcodes.
21578
6f796e1b
TS
215792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21580
7402596b
TS
21581 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21582 variable.
21583
d0d4f868
TS
21584 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21585
6f796e1b
TS
21586 * sysdeps/mach/hurd/powerpc: Remove directory.
21587 * sysdeps/mach/powerpc: Likewise.
21588
4da224a2
AS
215892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21590
21591 * scripts/check-local-headers.sh: Ignore c++ headers.
21592
341dd673
TS
215932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21594
21595 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21596 __libc_cleanup_region_start argument.
21597
473611b2
JM
215982012-11-01 Joseph Myers <joseph@codesourcery.com>
21599
21600 [BZ #14784]
21601 [BZ #14785]
21602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21603 x * y using scaling, not as x * y + z.
21604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21606 * math/libm-test.inc (fma_test): Add more tests.
21607 (fma_test_towardzero): Likewise.
21608 (fma_test_downward): Likewise.
21609 (fma_test_upward): Likewise.
21610
4078da3d
TS
216112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21612
21613 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21614
903252aa
JM
216152012-10-31 Joseph Myers <joseph@codesourcery.com>
21616
21617 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21618 New variable.
21619
cbc818d0
TS
216202012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21621
21622 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21623
5a03cb1e
AS
216242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21625
21626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21627 Fix sort order.
21628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21629 Likewise.
21630
90aff2ff
TMQMF
216312012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21632
21633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21634 Fix the order of the list for glibc 2.17.
21635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21636 Likewise.
21637
1818fcb7
AS
216382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21639
21640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21641
ef82f4da
JM
216422012-10-31 Joseph Myers <joseph@codesourcery.com>
21643
16a0e2ec
JM
21644 [BZ #14610]
21645 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21646 for low part of x being zero before using __atanl (y).
21647 * math/libm-test.inc (atan2_test): Add another test.
21648
0eb69512
JM
21649 * manual/install.texi (Configuring and compiling): Document
21650 general use of test-wrapper and test-wrapper-env.
21651 * INSTALL: Regenerated.
21652
ef82f4da
JM
21653 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21654 (__fma): Do not extract and scale down low bits on after-rounding
21655 systems when result rounded to normal precision would have normal
21656 exponent.
21657 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21658 (__fmal): Do not extract and scale down low bits on after-rounding
21659 systems when result rounded to normal precision would have normal
21660 exponent.
21661 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21662 (__fmal): Do not extract and scale down low bits on after-rounding
21663 systems when result rounded to normal precision would have normal
21664 exponent.
21665 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21666 macro.
21667 (fma_test): Add more tests.
21668 (fma_test_towardzero): Likewise.
21669 (fma_test_downward): Likewise.
21670 (fma_test_upward): Likewise.
21671
954ef0d9
L
216722012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21673
21674 * sysdeps/i386/tininess.h: Renamed to ...
21675 * sysdeps/x86/tininess.h: This.
21676 * sysdeps/x86_64/tininess.h: Removed.
21677
df61ffb2
JM
216782012-10-30 Joseph Myers <joseph@codesourcery.com>
21679
21680 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21681 input. Use $(build-program-cmd).
21682 ($(objpfx)tst-array1-static.out): Likewise.
21683 ($(objpfx)tst-array2.out): Likewise.
21684 ($(objpfx)tst-array3.out): Likewise.
21685 ($(objpfx)tst-array4.out): Likewise.
21686 ($(objpfx)tst-array5.out): Likewise.
21687 ($(objpfx)tst-array5-static.out): Likewise.
21688
01767843
CM
216892012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21690
47cc1490
CM
21691 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21692 if defined.
21693
01767843
CM
21694 * nss/nsswitch.h (nss_interface_function): Provide new
21695 macro for use with NSS functions.
21696 * grp/initgroups.c: Use new macro.
21697 * nss/getXXbyYY.c: Likewise.
21698 * nss/getXXbyYY_r.c: Likewise.
21699 * nss/getXXent.c: Likewise.
21700 * nss/getXXent_r.c: Likewise.
21701 * sysdeps/posix/getaddrinfo.c: Likewise.
21702
8321aa97
AJ
217032012-10-30 Andreas Jaeger <aj@suse.de>
21704
21705 * po/ru.po: Update Russion translation from translation project.
21706
2a27fd6d
JM
217072012-10-30 Joseph Myers <joseph@codesourcery.com>
21708
8627a232
JM
21709 [BZ #14152]
21710 [BZ #14783]
21711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21712 result and shift together with sticky bit instead of replicating
21713 round-to-nearest rounding.
21714 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21715 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21716 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21717 missing underflow exceptions.
21718 (fma_test_towardzero): Add more tests.
21719 (fma_test_downward): Likewise.
21720 (fma_test_upward): Likewise.
21721
2a27fd6d
JM
21722 [BZ #14047]
21723 * sysdeps/generic/tininess.h: New file.
21724 * sysdeps/i386/tininess.h: Likewise.
21725 * sysdeps/sh/tininess.h: Likewise.
21726 * sysdeps/x86_64/tininess.h: Likewise.
21727 * stdlib/tst-strtod-underflow.c: Likewise.
21728 * stdlib/tst-tininess.c: Likewise.
21729 * stdlib/strtod_l.c: Include <tininess.h>.
21730 (round_and_return): Do not set errno for exact underflow cases.
21731 Force an underflow exception when setting errno for underflow.
21732 Determine underflow based on rounding to normal precision if
21733 TININESS_AFTER_ROUNDING.
21734 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21735 ERANGE for exact underflow cases.
21736 * stdlib/Makefile (tests): Add tst-tininess and
21737 tst-strtod-underflow.
21738 ($(objpfx)tst-tininess): Use $(link-libm).
21739 ($(objpfx)tst-strtod-underflow): Likewise.
21740
e7170363
AJ
217412012-10-30 Andreas Jaeger <aj@suse.de>
21742
e5088dc6
AJ
21743 [BZ#14767]
21744 * elf/Makefile (tests): Remove conditional for have-initfini-array
21745 since this is now always required and the variable does not exist
21746 anymore.
21747 (tests-static): Likewise.
21748 (modules-names): Likewise.
21749
e7170363 21750 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21751
21752 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21753 merged with constructor/destructor.
21754 (init_array): Likewise.
21755 * elf/tst-array2dep.c (fini_array): Likewise.
21756 (init_array): Likewise.
21757
60457d8a
MF
217582012-10-29 Mike Frysinger <vapier@gentoo.org>
21759
21760 * manual/message.texi: Delete @cartouche tags.
21761
8bece752
PT
217622012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21763
94ce799f
PT
21764 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21765 EOPNOTSUPP.
21766 * sysdeps/mach/hurd/fsync.c: Likewise.
21767
8bece752
PT
21768 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21769 [_POSIX_REALTIME_SIGNALS]: Change condition to
21770 [_POSIX_REALTIME_SIGNALS > 0].
21771
86ebe6b1
AJ
217722012-10-27 Andreas Jaeger <aj@suse.de>
21773
21774 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21775 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21777 [__WORDSIZE != 64]: Likewise.
21778
54399c08
L
217792012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21780
21781 * iconvdata/tst-table.sh: Remove ${SHELL}.
21782 * iconvdata/tst-tables.sh: Likewise.
21783
e2211bed
DM
217842012-10-25 David S. Miller <davem@davemloft.net>
21785
21786 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21787 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21788 of strtoull.
21789
f303f97c
DM
21790 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21791 ifunc-impl-list.c
21792 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21793 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21794 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21795 file.
21796
1e9d84cd
RM
217972012-10-25 Roland McGrath <roland@hack.frob.com>
21798
21799 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21800 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21801 __getdirentries.
21802
df381762
JM
218032012-10-25 Joseph Myers <joseph@codesourcery.com>
21804 Jim Blandy <jimb@codesourcery.com>
21805
21806 * scripts/cross-test-ssh.sh: New file.
21807 * manual/install.texi (Configuring and compiling): Document use of
21808 cross-test-ssh.sh.
21809 * INSTALL: Regenerated.
21810
bff64913
PT
218112012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21812
21813 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21814 EOPNOTSUPP.
21815
25fe8932
JM
218162012-10-25 Joseph Myers <joseph@codesourcery.com>
21817
21818 * Makeconfig (run-program-prefix): Fix comment.
21819
cc1290d0
JM
218202012-10-24 Joseph Myers <joseph@codesourcery.com>
21821 Jim Blandy <jimb@codesourcery.com>
21822
21823 * Makeconfig (test-wrapper): New variable,
21824 (test-wrapper-env): Likewise.
21825 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21826 (run-built-tests): Define to yes.
21827 (run-program-prefix): Use $(test-wrapper).
21828 (built-program-cmd): Likewise.
21829 * Rules (make-test-out): Use $(test-wrapper-env) and
21830 $(host-built-program-cmd).
21831 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21832 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21833 tst-pathopt.sh.
21834 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21835 $(test-wrapper-env) to tst-rtld-load-self.sh.
21836 ($(objpfx)order2.out): Use $(test-wrapper).
21837 ($(objpfx)tst-initorder.out): Likewise.
21838 ($(objpfx)tst-initorder2.out): Likewise.
21839 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21840 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21841 (test_wrapper_env): New variable. Use it to run ld.so.
21842 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21843 Use it to run ld.so.
21844 (test_wrapper_env): Likewise.
21845 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21846 $(test-wrapper) to run-iconv-test.sh.
21847 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21848 (ICONV): Use $test_wrapper.
21849 * posix/Makefile ($(objpfx)globtest.out): Pass
21850 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21851 globtest.sh, not $(run-program-prefix).
21852 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21853 (test_wrapper): Likewise.
21854 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21855 set together with run_via_rtld_prefix.
21856 (run_program_prefix): Define in terms of test_wrapper and
21857 run_via_rtld_prefix.
21858
6e6249d0
RM
218592012-10-24 Roland McGrath <roland@hack.frob.com>
21860
21861 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21862 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21863 Targets removed.
21864
21865 [BZ #14743]
21866 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21867 Declare __clock_getres, __clock_gettime, __clock_settime,
21868 __clock_nanosleep, and __clock_getcpuclockid.
21869 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21870 Remove librt_hidden_def (clock_gettime).
21871 * sysdeps/unix/clock_gettime.c: Likewise.
21872 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21874 * rt/clock_getres.c: Define __clock_getres as an alias.
21875 * sysdeps/posix/clock_getres.c: Likewise.
21876 * rt/clock_settime.c: Define __clock_settime as an alias.
21877 * sysdeps/unix/clock_settime.c: Likewise.
21878 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21879 * sysdeps/unix/clock_nanosleep.c: Likewise.
21880 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21881 * rt/clock-compat.c: New file.
21882 * rt/Makefile (librt-routines): Add clock-compat and move
21883 $(clock-routines) to ...
21884 (routines): ... here, new variable.
21885 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21886 Don't add get_clockfreq here.
21887 * rt/Versions (libc: GLIBC_2.17): New version set.
21888 Add clock_* symbols here.
21889 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21890 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21891 (GLIBC_2.17): Add clock_* symbols.
21892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21894 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21896 Likewise.
21897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21898 Likewise.
21899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21903 * NEWS: Mention the move.
21904
21905 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21906 Use __open, __read, __close rather than their public counterparts.
21907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21908 (__get_clockfreq_via_cpuinfo): Likewise.
21909 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21910 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21911
21912 * config.h.in (HAVE_IFUNC): New #undef.
21913 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21914 was successful.
21915 * configure: Regenerated.
21916
0cae3f4b
MF
219172012-10-24 Mike Frysinger <vapier@gentoo.org>
21918
21919 * configure.in: Move READELF check to start of file.
21920 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21921 libc_cv_asm_gnu_indirect_function in the process.
21922 * configure: Regenerated.
21923
8175a253
MF
219242012-10-24 Mike Frysinger <vapier@gentoo.org>
21925
21926 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21927 send the output to /dev/null.
21928 (libc_cv_cc_with_libunwind): Likewise.
21929 (libc_cv_as_noexecstack): Likewise.
21930 * configure: Regenerate.
21931
0708a7d1
JM
219322012-10-24 Joseph Myers <joseph@codesourcery.com>
21933
10b40d85
JM
21934 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21935
0708a7d1
JM
21936 * posix/globtest.sh (TMPDIR): Do not set.
21937 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21938 (testout): Likewise.
21939
9fddec1a
AJ
219402012-10-24 Andreas Jaeger <aj@suse.de>
21941
3a8db22f
AJ
21942 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21943 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21944 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21945 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21946 posix_fadvise64, posix_fallocate64.
21947
9fddec1a
AJ
21948 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21949 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21950 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21951 Likewise.
21952 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21953 Likewise.
21954 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21955
21956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21957 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21958 <bits/fcntl-linux.h>.
21959 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21960
21961 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21962 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21963 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21964 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21965 [__WORDSIZE != 64]: Likewise.
21966
ebfd1bbd
JM
219672012-10-23 Joseph Myers <joseph@codesourcery.com>
21968
03ac099f
JM
21969 * Makeconfig (run-built-tests): New variable.
21970 * Rules [$(cross-compiling) = yes]: Change condition to
21971 [$(run-built-tests) = no].
21972 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21973 to [$(run-built-tests) = yes].
21974 * elf/Makefile [$(cross-compiling) = no]: Likewise
21975 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21976 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21977 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21978 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21979 * io/Makefile [$(cross-compiling) = no]: Likewise.
21980 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21981 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21982 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21983 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21984 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21985 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21986 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21987 * string/Makefile [$(cross-compiling) = no]: Likewise.
21988
ebfd1bbd
JM
21989 * posix/Makefile ($(objpfx)globtest.out): Pass
21990 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21991 $(rtld-installed-name).
21992 * posix/globtest.sh (elf_objpfx): Remove variable.
21993 (rtld_installed_name): Likewise.
21994 (library_path): Likewise.
21995 (run_program_prefix): New variable. Use for running globtest
21996 binary.
21997
166bca24
JB
219982012-10-23 Jim Blandy <jimb@codesourcery.com>
21999 Joseph Myers <joseph@codesourcery.com>
22000
22001 * Makeconfig (host-built-program-cmd): New variable.
22002 * elf/Makefile (tst-stackguard1-ARGS): Use
22003 $(host-built-program-cmd).
22004 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22005 (tst-spawn-ARGS): Likewise.
22006 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22007
88866099
JM
220082012-10-23 Joseph Myers <joseph@codesourcery.com>
22009 Jim Blandy <jimb@codesourcery.com>
22010
22011 * Makeconfig (run-via-rtld-prefix): New variable.
22012 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22013 (built-program-cmd): Likewise.
22014
b4b4c296
AJ
220152012-10-22 Andreas Jaeger <aj@suse.de>
22016
22017 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22018 __O_RSYNC if it exists, otherwise to O_SYNC.
22019
6fb54a22
JB
220202012-10-22 Jim Blandy <jimb@codesourcery.com>
22021 Joseph Myers <joseph@codesourcery.com>
22022
22023 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22024 /dev/null.
22025 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22026 from /dev/null
22027 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22028 /dev/null.
22029
481b90b9
AJ
220302012-10-22 Andreas Jaeger <aj@suse.de>
22031
2a0e2669
AJ
22032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22033 Define always.
22034 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22035
76e38f9a
AJ
22036 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22037 bits/fcntl-linux.h.
22038
7cd37b43
AJ
22039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22040 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22041
481b90b9
AJ
22042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22043 to __O_LARGEFILE.
22044 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22045 to __O_LARGEFILE.
22046
aba75984
JB
220472012-10-21 Jim Blandy <jimb@codesourcery.com>
22048 Joseph Myers <joseph@codesourcery.com>
22049
22050 * config.make.in (NM): New variable.
22051
88d4247f
AJ
220522012-10-21 Andreas Jaeger <aj@suse.de>
22053
22054 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22055 definitions and declarations that are provided by
22056 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22057
f2eed205
L
220582012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22059
22060 [BZ #14683]
22061 * elf/Makefile (tests-static): Add tst-leaks1-static.
22062 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22063 ($(objpfx)tst-leaks1-static): New rule.
22064 ($(objpfx)tst-leaks1-static-mem): Likewise.
22065 (tst-leaks1-static-ENV): New macro.
22066 * elf/dl-open.c (dl_open_worker): Check the main application
22067 only if SHARED is defined.
22068 * elf/tst-leaks1-static.c: New file.
22069
335e6931
AJ
220702012-10-20 Andreas Jaeger <aj@suse.de>
22071
22072 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22073 generic values for Linux.
22074 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22075 and declarations that are provided by <bits/fcntl-linux.h> and
22076 include <bits/fcntl-linux.h>.
22077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22079
ac5c94d3
RM
220802012-10-20 Roland McGrath <roland@hack.frob.com>
22081
22082 * io/fcntl.h: Move include of <bits/types.h> to the top and
22083 include it unconditionally.
22084
de54b33a
L
220852012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22086
228cfb01
L
22087 * wcsmbs/Makefile (tests-ifunc): New variable.
22088 (tests): Add $(tests-ifunc).
22089 * wcsmbs/test-wcschr-ifunc.c: New file.
22090 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22091 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22092 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22093 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22094 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22095
69f07e5f
L
22096 * string/Makefile (tests-ifunc): New variable.
22097 (tests): Add $(tests-ifunc).
22098 * string/test-memccpy.c (TEST_NAME): New macro.
22099 * string/test-memchr.c (TEST_NAME): Likewise.
22100 * string/test-memcmp.c (TEST_NAME): Likewise.
22101 * string/test-memcpy.c (TEST_NAME): Likewise.
22102 * string/test-memmem.c (TEST_NAME): Likewise.
22103 * string/test-memmove.c (TEST_NAME): Likewise.
22104 * string/test-memset.c (TEST_NAME): Likewise.
22105 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22106 * string/test-stpcpy.c (TEST_NAME): Likewise.
22107 * string/test-stpncpy.c (TEST_NAME): Likewise.
22108 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22109 * string/test-strcasestr.c (TEST_NAME): Likewise.
22110 * string/test-strcat.c (TEST_NAME): Likewise.
22111 * string/test-strchr.c (TEST_NAME): Likewise.
22112 * string/test-strcmp.c(TEST_NAME): Likewise.
22113 * string/test-strcpy.c (TEST_NAME): Likewise.
22114 * string/test-strcspn.c (TEST_NAME): Likewise.
22115 * string/test-strlen.c (TEST_NAME): Likewise.
22116 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22117 * string/test-strncmp.c (TEST_NAME): Likewise.
22118 * string/test-strncpy.c (TEST_NAME): Likewise.
22119 * string/test-strnlen.c (TEST_NAME): Likewise.
22120 * string/test-strpbrk.c (TEST_NAME): Likewise.
22121 * string/test-strrchr.c (TEST_NAME): Likewise.
22122 * string/test-strspn.c (TEST_NAME): Likewise.
22123 * string/test-strstr.c (TEST_NAME): Likewise.
22124 * string/test-bcopy-ifunc.c: New file.
22125 * string/test-bzero-ifunc.c: Likewise.
22126 * string/test-memccpy-ifunc.c: Likewise.
22127 * string/test-memchr-ifunc.c: Likewise.
22128 * string/test-memcmp-ifunc.c: Likewise.
22129 * string/test-memcpy-ifunc.c: Likewise.
22130 * string/test-memmem-ifunc.c: Likewise.
22131 * string/test-memmove-ifunc.c: Likewise.
22132 * string/test-mempcpy-ifunc.c: Likewise.
22133 * string/test-memset-ifunc.c: Likewise.
22134 * string/test-rawmemchr-ifunc.c: Likewise.
22135 * string/test-stpcpy-ifunc.c: Likewise.
22136 * string/test-stpncpy-ifunc.c: Likewise.
22137 * string/test-strcasecmp-ifunc.c: Likewise.
22138 * string/test-strcasestr-ifunc.c: Likewise.
22139 * string/test-strcat-ifunc.c: Likewise.
22140 * string/test-strchr-ifunc.c: Likewise.
22141 * string/test-strchrnul-ifunc.c: Likewise.
22142 * string/test-strcmp-ifunc.c: Likewise.
22143 * string/test-strcpy-ifunc.c: Likewise.
22144 * string/test-strcspn-ifunc.c: Likewise.
22145 * string/test-strlen-ifunc.c: Likewise.
22146 * string/test-strncasecmp-ifunc.c: Likewise.
22147 * string/test-strncat-ifunc.c: Likewise.
22148 * string/test-strncmp-ifunc.c: Likewise.
22149 * string/test-strncpy-ifunc.c: Likewise.
22150 * string/test-strnlen-ifunc.c: Likewise.
22151 * string/test-strpbrk-ifunc.c: Likewise.
22152 * string/test-strrchr-ifunc.c: Likewise.
22153 * string/test-strspn-ifunc.c: Likewise.
22154 * string/test-strstr-ifunc.c: Likewise.
22155
de54b33a
L
22156 * debug/Makefile (tests-ifunc): New variable.
22157 (tests): Add $(tests-ifunc).
22158 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22159 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22160 * debug/test-stpcpy_chk-ifunc.c: New file.
22161 * debug/test-strcpy_chk-ifunc.c: Likewise.
22162
88481c16
SP
221632012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22164
22165 [BZ #13601]
22166 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22167 header is not read in.
22168
135948bd
JM
221692012-10-19 Joseph Myers <joseph@codesourcery.com>
22170
89f1c388
JM
22171 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22172 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22173 directly. Pass built executable to script as
22174 $(built-program-cmd).
22175 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22176 $testprogram without using LD_LIBRARY_PATH and $ldso.
22177
e40a0d21
JM
22178 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22179 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22180 $(rtld-installed-name).
22181 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22182 (rtld_installed_name): Likewise.
22183 (library_path): Likewise.
22184 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22185 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22186 $(run-program-prefix) to tst-tables.sh.
22187 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22188 it to run tst-table-from and tst-table-to.
22189 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22190 Pass it to tst-table.sh.
22191 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22192 $(run-program-prefix) to tst-gettext.sh.
22193 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22194 tst-translit.sh.
22195 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22196 tst-gettext2.sh.
22197 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22198 to run tst-gettext.
22199 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22200 to run tst-gettext2.
22201 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22202 to run tst-translit.
22203 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22204 $(run-program-prefix) to tst-mtrace.sh.
22205 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22206 to run tst-mtrace.
22207 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22208 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22209 $(rtld-installed-name).
22210 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22211 (rtld_installed_name): Likewise.
22212 (run_program_prefix): New variable. Use it to run wordexp-test.
22213
728e272a
JM
22214 * Makeconfig (ARCH): Remove all definitions.
22215 (machine): Likewise.
22216 [ARCH]: Remove conditional code.
22217 [!objdir]: Give error.
22218 [!objdir] (objpfx): Remove.
22219 [!objdir] (common-objpfx): Likewise.
22220 [!objdir] (common-objdir): Likewise.
22221 * configure.in (config_makefile): Remove. Hardcode Makefile in
22222 AC_CONFIG_FILES call.
22223 * configure: Regenerated.
22224
d528cdcf
JM
22225 [BZ #13888]
22226 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22227 or TMPDIR.
22228 (testout): Likewise.
22229
135948bd
JM
22230 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22231 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22232 $(rtld-installed-name).
22233 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22234 (rtld_installed_name): Likwise.
22235 (runit): Remove function.
22236 (run_getconf): New variable, Use it for running getconf binary.
22237
38c78296
L
222382012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22239
22240 [BZ #14716]
22241 * string/test-memmem.c (check_result): New function.
22242 (do_one_test): Use it.
22243 (check1): New function.
22244 (test_main): Use it.
22245
d077f65f
MT
222462012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22247
22248 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22249
ced52c71
JM
222502012-10-18 Joseph Myers <joseph@codesourcery.com>
22251
22252 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22253 (_G_LSEEK64): Likewise.
22254 (_G_MMAP64): Likewise.
22255 (_G_FSTAT64): Likewise.
22256 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22257 (_G_LSEEK64): Likewise.
22258 (_G_MMAP64): Likewise.
22259 (_G_FSTAT64): Likewise.
22260 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22261 unconditional. Call __mmap64 directly.
22262 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22263 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22264 __lseek64 directly.
22265 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22266 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22267 __mmap64 directly.
22268 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22269 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22270 __lseek64 directly.
22271 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22272 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22273 __lseek64 directly.
22274 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22275 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22276 __lseek64 directly.
22277 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22278 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22279 __fxstat64 directly.
22280 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22281 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22282 unconditional.
22283 (freopen64) [!_G_OPEN64]: Remove conditional code.
22284 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22285 unconditional.
22286 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22287 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22288 unconditional.
22289 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22290 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22291 unconditional.
22292 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22293 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22294 unconditional.
22295 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22296 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22297 unconditional.
22298 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22299 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22300 unconditional.
22301 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22302 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22303 unconditional.
22304 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22305
b741de23
SP
223062012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22307
22308 [BZ #12140]
22309 * manual/memory.texi (Malloc Tunable Parameters): Add note
22310 about free list pointers overwriting some perturb bytes.
22311 Wording suggested by Roland McGrath.
22312
f9b9d9c9
JM
223132012-10-17 Joseph Myers <joseph@codesourcery.com>
22314
22315 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22316 (lgamma_test): Likewise.
22317 (tgamma_test): Likewise.
22318
172a631a
FW
223192012-10-16 Florian Weimer <fweimer@redhat.com>
22320
22321 [BZ #14700]
22322 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22323 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22324
e9f37252
MK
223252012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22326
22327 * NEWS: Mention BZ #14716.
22328 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22329 when removing AVAILABLE1_USES_J macro.
22330
d394eb74
L
223312012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22332
22333 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22334 (__bswap_64): __uint64_t for unsigned 64-bit int.
22335
ca38dc17
AS
223362012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22337
22338 * include/string.h (memmem): Declare libc hidden alias.
22339 * string/memmem.c (memmem): Define libc hidden alias.
22340 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22341 __read, __close instead of open, read, close.
22342
9a387d1f
L
223432012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22344
ac49ecaf
L
22345 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22346 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22347 global and hidden.
22348 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22349 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22350 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22351 Likewise.
22352 (__rawmemchr_sse2): Likewise.
22353 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22354 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22355 (__strchr_sse2): Likewise.
22356 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22357 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22358 (__strcasecmp_sse2): Likewise.
22359 (__strncasecmp_sse2): Likewise.
22360 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22361 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22362 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22363 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22364 (__strrchr_sse2): Likewise.
22365 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22366 ifunc-impl-list.c.
22367 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22368 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22369 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22370 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22371 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22372 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22373 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22374 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22375 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22376 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22377 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22378 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22379 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22380 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22381 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22382 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22383 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22384 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22385 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22386 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22387 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22388 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22389 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22390 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22391 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22392 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22393 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22394 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22395 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22396 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22397
b090e8ea
L
22398 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22399 global and hidden.
22400 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22401 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22402 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22403 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22404 Likewise.
22405 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22406 Likewise.
22407 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22408 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22409 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22410 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22411 ifunc-impl-list.c.
22412 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22413 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22414 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22415 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22416 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22417 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22418 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22419 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22420 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22421 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22422 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22423 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22424 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22425 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22426 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22427 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22428 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22429 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22430 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22431 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22432 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22433 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22434 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22435 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22436 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22437 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22438 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22439 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22440 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22441 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22442 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22443 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22444 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22445 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22446 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22447 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22448 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22449 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22450 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22451 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22452 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22453
11dd4af6
L
22454 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22455 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22456 * include/ifunc-impl-list.h: New file.
22457 * misc/ifunc-impl-list.c: Likewise.
22458 * misc/Makefile (routines): Add ifunc-impl-list.
22459 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22460 * string/test-string.h: Include <ifunc-impl-list.h>.
22461 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22462 impl_array): New variables.
22463 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22464 are defined.
22465 (test_init): Call __libc_ifunc_impl_list to initialize
22466 func_list if TEST_IFUNC and TEST_NAME are defined.
22467
9a387d1f
L
22468 * string/Makefile (strop-tests): Add bcopy and bzero.
22469 * string/test-bcopy.c: New file.
22470 * string/test-bzero.c: Likewise.
22471 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22472 defined.
22473 * string/test-memset.c: Support bzero test if TEST_BZERO is
22474 defined.
22475 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22476 __libc_memmove.
22477 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22478 __libc_memset.
22479 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22480 of memset.
22481
472371b9
JM
224822012-10-10 Joseph Myers <joseph@codesourcery.com>
22483
1e4a9536
JM
22484 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22485 * configure: Regenerated.
22486
d173d12e
JM
22487 * Makeconfig (+link-static-before-libc): Don't include
22488 $(link-static-libc).
22489
472371b9
JM
22490 * libio/libio.h (_IO_pos_t): Remove.
22491
89a3ad0b
AO
224922012-10-10 Alexandre Oliva <aoliva@redhat.com>
22493
22494 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22495 McGrath.
22496
e7451425
AO
224972012-10-10 Alexandre Oliva <aoliva@redhat.com>
22498
22499 * crypt/crypt-entry.c: Include fips-private.h.
22500 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22501 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22502 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22503 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22504
4ba74a35
AO
225052012-10-10 Alexandre Oliva <aoliva@redhat.com>
22506
22507 * crypt/crypt-private.h: Include stdbool.h.
22508 (_ufc_setup_salt_r): Return bool.
22509 * crypt/crypt-entry.c: Include errno.h.
22510 (__crypt_r): Return NULL with EINVAL for bad salt.
22511 * crypt/crypt_util.c (bad_for_salt): New.
22512 (_ufc_setup_salt_r): Check that salt is long enough and within
22513 the specified alphabet.
22514 * crypt/badsalttest.c: New file.
22515 * crypt/Makefile (tests): Add it.
22516 ($(objpfx)badsalttest): New.
22517
f96f1242
MK
225182012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22519
22520 * NEWS: Add entry for BZ #14602.
22521
0e8e0c1c
JM
225222012-10-09 Joseph Myers <joseph@codesourcery.com>
22523
22524 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22525 type-generic.
22526 * math/libm-test.inc: Update comment listing what functions and
22527 macros are tested.
22528 (isgreater_test): New function.
22529 (isgreaterequal_test): Likewise.
22530 (isless_test): Likewise.
22531 (islessequal_test): Likewise.
22532 (islessgreater_test): Likewise.
22533 (isunordered_test): Likewise.
22534 (main): Call the new functions.
22535
273edc5e
RM
225362012-10-09 Roland McGrath <roland@hack.frob.com>
22537
b8493de0
RM
22538 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22539 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22540 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22541 * sysdeps/i386/configure: Regenerated.
22542 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22543 * sysdeps/mach/configure: Regenerated.
22544 * sysdeps/mach/hurd/configure: Regenerated.
22545 * sysdeps/powerpc/configure: Regenerated.
22546 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22547 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22548 * sysdeps/s390/s390-32/configure: Regenerated.
22549 * sysdeps/s390/s390-64/configure: Regenerated.
22550 * sysdeps/sh/configure: Regenerated.
22551 * sysdeps/sparc/configure: Regenerated.
22552 * sysdeps/unix/sysv/linux/configure: Regenerated.
22553 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22554 * sysdeps/x86_64/configure: Regenerated.
22555
273edc5e
RM
22556 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22557 defined. Don't check if MAP is NULL.
22558
c8450f70
JM
225592012-10-09 Joseph Myers <joseph@codesourcery.com>
22560
22561 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22562 (_G_stat64): Likewise.
22563 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22564 (_G_stat64): Likewise.
22565 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22566 instead of struct _G_stat64.
22567 * libio/fileops.c (mmap_remap_check): Likewise.
22568 (decide_maybe_mmap): Likewise.
22569 (_IO_new_file_seekoff): Likewise.
22570 (_IO_file_stat): Likewise.
22571 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22572 _G_off64_t.
22573 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22574 instead of struct _G_stat64.
22575 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22576
57e605ba
MK
225772012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22578
22579 [BZ #14602]
22580 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22581 Replace with ...
22582 (CHECK_EOL): New macro.
22583 (two_way_short_needle): Check beginning of haystack for EOL. Use
22584 CHECK_EOL.
22585 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22586 Replace with CHECK_EOL.
22587 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22588 Replace with CHECK_EOL.
22589
ef1bb361
JM
225902012-10-08 Joseph Myers <joseph@codesourcery.com>
22591
22592 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22593 type-generic.
22594 * math/libm-test.inc: Update comment listing what functions and
22595 macros are tested.
22596 (finite_test): New function.
22597 (isinf_test): Likewise.
22598 (isnan_test): Likewise.
22599 (fpclassify_test): Test subnormal input.
22600 (isfinite_test): Likewise.
22601 (isnormal_test): Likewise.
22602 (main): Call the new functions.
22603
55f11534
JN
226042012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22605
22606 [BZ #14660]
22607 * Makerules (%.dynsym): Force C locale when running
22608 $(OBJDUMP) --dynamic-syms.
22609
1ab29350
AS
226102012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22611
22612 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22613 <stdint.h>.
22614
f1ecb7ef
DM
226152012-10-06 David S. Miller <davem@davemloft.net>
22616
22617 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22618 upper 32-bits of the length value in %o2 since we use branch-on-register
22619 tests which consider the entire 64-bit register.
22620
5d41d91a
L
226212012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22622
22623 * string/test-strstr.c (check2): Add a test for page boundary.
22624
3baddb72
DM
226252012-10-05 David S. Miller <davem@davemloft.net>
22626
22627 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22628 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22629 file.
22630 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22631 sysdep_routines.
22632 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22633 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22634 and bzero when HWCAP_SPARC_CRYPTO is present.
22635
9cee5585
L
226362012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22637
d7e0dab9
L
22638 [BZ #14602]
22639 * string/test-strstr.c (check2): New function.
22640 (test_main): Call check2.
22641
03759f47
L
22642 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22643 and bug-strchr1.
22644 * string/bug-strcasestr1.c (do_test): Moved to ...
22645 * string/test-strcasestr.c (check1): Here. New function.
22646 (do_one_test): Break out result checking code into ...
22647 (check_result): This. New function.
22648 (do_one_test): Call check_result.
22649 (test_main): Call check1.
22650 * string/bug-strchr1.c (do_test): Moved to ...
22651 * string/test-strchr.c (check1): Here. New function.
22652 (do_one_test): Break out result checking code into ...
22653 (check_result): This. New function.
22654 (do_one_test): Call check_result.
22655 (test_main): Call check1.
22656 * string/bug-strstr1.c (main): Moved to ...
046f153e 22657 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22658 (do_one_test): Break out result checking code into ...
22659 (check_result): This. New function.
22660 (do_one_test): Call check_result.
22661 (test_main): Call check1.
22662 * string/bug-strcasestr1.c: Removed.
22663 * string/bug-strchr1.c: Likewise.
22664 * string/bug-strstr1.c: Likewise.
22665
53cea63e
L
22666 * elf/Makefile (dl-routines): Add hwcaps.
22667 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22668 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22669 (_dl_important_hwcaps): Moved to ...
22670 * elf/dl-hwcaps.c: Here. New file.
22671 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22672
9cee5585 22673 [BZ #14557]
bb859b06
L
22674 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22675 if IS_IN_rtld isn't defined.
22676
9cee5585
L
22677 * elf/dl-support.c (_dl_sysinfo_map): New.
22678 Include "get-dynamic-info.h" and "setup-vdso.h".
22679 (_dl_non_dynamic_init): Call setup_vdso.
22680 * elf/dynamic-link.h: Don't include <assert.h>.
22681 (elf_get_dynamic_info): Moved to ...
22682 * elf/get-dynamic-info.h: Here. New file.
22683 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22684 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22685 * elf/setup-vdso.h: Here. New file.
22686 * elf/rtld.c: Include "setup-vdso.h".
22687 (dl_main): Call setup_vdso.
22688
23c31b76
JM
226892012-10-05 Joseph Myers <joseph@codesourcery.com>
22690
28234b07
JM
22691 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22692 creal in comment listing functions tested. List finite, isinf,
22693 isnan, isless, islessequal, isgreater, isgreaterequal,
22694 islessgreater, isunordered, lgamma_r and pow10 as functions and
22695 macros not tested. Mention which functions not tested are aliases
22696 for other functions. Fix typo. Note that signs of NaNs are not
22697 tested.
22698
23c31b76
JM
22699 * scripts/config.guess: Update from config.git.
22700 * scripts/config.sub: Likewise.
22701
9043e228
RM
227022012-10-04 Roland McGrath <roland@hack.frob.com>
22703
22704 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22705 * misc/madvise.c (madvise): Renamed to __madvise.
22706 Make madvise a weak alias.
22707 * include/sys/mman.h: Declare __madvise.
22708 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22709 * sysdeps/unix/syscalls.list
22710 (madvise): Make __madvise the strong name, and madvise a weak alias.
22711 * sysdeps/unix/sysv/linux/syscalls.list
22712 (madvise, mmap): Remove redundant entries.
22713 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22714 * malloc/malloc.c (mtrim): Likewise.
22715 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22716
f57f8055
RM
227172012-10-03 Roland McGrath <roland@hack.frob.com>
22718
22719 * sysdeps/mach/hurd/dl-cache.c: File removed.
22720 * config.h.in (USE_LDCONFIG): New #undef.
22721 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22722 * configure: Regenerated.
22723 * elf/Makefile (dl-routines): Add dl-cache only under
22724 [$(use-ldconfig) = yes].
22725 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22726 cache on [USE_LDCONFIG].
22727 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22728 [USE_LDCONFIG].
22729 * elf/rtld.c (dl_main): Likewise.
22730
5bb0c10a
PT
227312012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22732
22733 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22734 _SC_LEVEL4_CACHE_LINESIZE.
22735
010188c6
RM
227362012-10-03 Roland McGrath <roland@hack.frob.com>
22737
22738 * sysdeps/unix/bsd/confstr.h: File removed.
22739
b6c5ec07
AO
227402012-10-02 Alexandre Oliva <aoliva@redhat.com>
22741
22742 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22743 sys/sdt-config.h.
22744
408223d4
RM
227452012-10-02 Roland McGrath <roland@hack.frob.com>
22746
22747 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22748 Make 'mapoff' field ElfW(Off) rather than off_t.
22749
bb9510dc
DL
227502012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22751
fc997c6e
DL
22752 * nscd/Makefile: Remove nscd-cflags and all its users.
22753 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22754 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22755
bb9510dc
DL
22756 [BZ #10631]
22757 * malloc.c (malloc_printerr): Clarify error message.
22758
05699367
L
227592012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22760
22761 [BZ #14648]
22762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22763 Set bit_FMA_Usable if FMA is supported.
22764 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22765 macro.
22766 (bit_FMA4_Usable): Updated.
22767 (index_FMA_Usable): New macro.
22768 (CPUID_FMA): Likewise
22769 (HAS_FMA): Defined with bit_FMA_Usable.
22770
51367701
RM
227712012-10-01 Roland McGrath <roland@hack.frob.com>
22772
22773 * bits/types.h (__swblk_t): Type removed.
22774 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22775 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22776 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22777 (__SWBLK_T_TYPE): Likewise.
22778 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22779 (__SWBLK_T_TYPE): Likewise.
22780 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22781 (__SWBLK_T_TYPE): Likewise.
22782 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22783 (__SWBLK_T_TYPE): Likewise.
22784
4d57bf63 227852012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22786 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22787
22788 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22789 (xdr_mapname): Use YPMAXMAP as maxsize.
22790 (xdr_peername): Use YPMAXPEER as maxsize.
22791 (xdr_keydat): Use YPAXRECORD as maxsize.
22792 (xdr_valdat): Use YPMAXRECORD as maxsize.
22793
93c65d43
RM
227942012-10-01 Roland McGrath <roland@hack.frob.com>
22795
497a03d6
RM
22796 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22797
93c65d43
RM
22798 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22799 * csu/init-first.c: ... here.
22800 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22801 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22802 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22803 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22804 * sysdeps/i386/init-first.c: File removed.
22805 * sysdeps/sh/init-first.c: File removed.
22806
bec749fd
JM
228072012-10-01 Joseph Myers <joseph@codesourcery.com>
22808
22809 [BZ #14645]
22810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22811 if x * y might underflow to zero and z is zero.
22812 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22814 * math/libm-test.inc (min_subnorm_value): New variable.
22815 (fma_test): Add more tests.
22816 (fma_test_towardzero): Likewise.
22817 (fma_test_downward): Likewise
22818 (fma_test_upward): Likewise.
22819 (initialize): Set min_subnorm_value.
22820
8ec5b013
JM
228212012-09-29 Joseph Myers <joseph@codesourcery.com>
22822
22823 [BZ #14638]
22824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22825 0 + 0.
22826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22827 mode for addition resulting in exact zero.
22828 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22830 exact 0 + 0.
22831 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22832 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22833 * math/libm-test.inc (fma_test): Add more tests.
22834 (fma_test_towardzero): New function.
22835 (fma_test_downward): Likewise.
22836 (fma_test_upward): Likewise.
22837 (main): Call the new functions.
22838
b1fa802e
DM
228392012-09-28 David S. Miller <davem@davemloft.net>
22840
22841 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22842
d3b9fd9e
RM
228432012-09-28 Roland McGrath <roland@hack.frob.com>
22844
ea4d37b3
RM
22845 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22846 instead of SIGALRM.
22847
ac51c949
RM
22848 * sysdeps/gnu/_G_config.h: Moved to ...
22849 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22850 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22851 * sysdeps/generic/_G_config.h: ... here.
22852
28c195f7
RM
22853 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22854
848917f9
RM
22855 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22856
6bacf05b
RM
22857 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22858 Conditionalize target on [libnss_test1.so-version].
22859
91363dbb
RM
22860 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22861
cc87f7d8
RM
22862 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22863 (elfobjdir): Move out of conditionals.
22864
b1c608fe
RM
22865 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22866 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22867 (__nss_lookup_function): Conditionalize label remove_from_tree on
22868 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22869
1d9a6d96
DM
228702012-09-28 David S. Miller <davem@davemloft.net>
22871
22872 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22873 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22874 file.
22875 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22876 sysdep_routines.
22877 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22879 when HWCAP_SPARC_CRYPTO is present.
22880
72581615
PT
228812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22882
22883 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22884
715a900c
JL
228852012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22886
22887 [BZ #6530]
22888 * stdio-common/vfprintf.c (process_string_arg): Revert
22889 2000-07-22 change.
22890
228912011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22892
22893 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22894 for testcase.
22895 * stdio-common/tst-sprintf.c: Include <locale.h>
22896 (main): Test sprintf's handling of incomplete multibyte
22897 characters.
22898
9bac1d86
L
228992012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22900
22901 * elf/dl-runtime.c (VERSYMIDX): Removed.
22902 * elf/dl-version.c (VERSYMIDX): Likewise.
22903 * elf/do-rel.h (VERSYMIDX): Likewise.
22904 (VALIDX): Likewise.
22905 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22906 * elf/rtld.c (VALIDX): Likewise.
22907 (ADDRIDX): Likewise.
9bac1d86
L
22908 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22909 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22910 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22911 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22912 (VALIDX): Likewise.
22913 (ADDRIDX): Likewise.
9bac1d86 22914
b31606c0
PT
229152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22916
22917 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22918
11541177
JL
229192012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22920
22921 [BZ #11438]
22922 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22923 to global scope.
22924 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22925 addresses are in the same scope as 192.0.2/24.
22926 * posix/gai.conf: Document new scope table defaults.
22927
adb26fae
SP
229282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22929
22930 [BZ #5298]
22931 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22932 for ftell. Compute offsets from write pointers instead.
22933 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22934
4573c6b0
SP
229352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22936
22937 [BZ #14543]
22938 * libio/Makefile (tests): New test case tst-fseek.
22939 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22940 combination works in wide mode.
22941 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22942 state when the external buffer state changes.
22943
aa9bbfe6
DM
229442012-09-27 David S. Miller <davem@davemloft.net>
22945
22946 [BZ #14376]
22947 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22948 pass reloc->r_addend in as the 'high' argument to
22949 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22950
784421e7
DM
22951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22952
c39bc8b8
PT
229532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22954
22955 * rt/tst-aio2.c: Include <pthread.h>.
22956 * rt/tst-aio3.c: Likewise.
22957
1ccc2399
SE
229582012-09-27 Steve Ellcey <sellcey@mips.com>
22959
22960 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22961
31ed4153
L
229622012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22963
25f5f885
L
22964 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22965 contents on [SHARED].
31ed4153 22966
b7bfe116
MP
229672012-09-26 Marek Polacek <polacek@redhat.com>
22968
22969 [BZ #14530]
22970 [BZ #13741]
22971 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22972 for C++ and GCC <4.3 as well as for non GCC compilers.
22973
43c4edba
MT
229742012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22975
22976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22977
6a1bf82f
RM
229782012-09-25 Roland McGrath <roland@hack.frob.com>
22979
22980 * Makefile.in (all, install): Declare with .PHONY.
22981 Reported by Michael Hope <michael.hope@linaro.org>.
22982
8ad11b9a
TMQMF
229832012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22984
22985 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22986 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22987 system header.
22988 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22989 Likewise.
22990 (sydep_routines): Add the new and the internal functions.
22991 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22992 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22994 (GLIBC_2.17): Add the new function.
22995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22996 (GLIBC_2.17): Likewise.
22997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22998 (GLIBC_2.17): Likewise.
22999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23000 (GLIBC_2.17): Likewise.
23001 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23002
7e2fca8d
AM
230032012-09-25 Alan Modra <amodra@gmail.com>
23004
23005 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23006 Add release barrier before setting once_control to say
23007 initialisation is done. Add hints on lwarx. Use macro in
23008 place of isync.
23009 (clear_once_control): Add release barrier.
23010
b87c4b24
JM
230112012-09-25 Joseph Myers <joseph@codesourcery.com>
23012
d032e0d2
JM
23013 [BZ #13629]
23014 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23015 specially.
23016 * math/s_clog10.c (__clog10): Likewise.
23017 * math/s_clog10f.c (__clog10f): Likewise.
23018 * math/s_clog10l.c (__clog10l): Likewise.
23019 * math/s_clogf.c (__clogf): Likewise.
23020 * math/s_clogl.c (__clogl): Likewise.
23021 * math/Makefile (libm-calls): Add x2y2m1.
23022 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23023 (__x2y2m1): Likewise.
23024 (__x2y2m1l): Likewise.
23025 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23026 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23029 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23030 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23031 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23032 * sysdeps/i386/fpu/libm-test-ulps: Update.
23033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23034
b87c4b24
JM
23035 [BZ #14621]
23036 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23037 int as type of variable DEPTH.
23038 (glob): Use size_t instead of int as type of variables NEWCOUNT
23039 and OLD_PATHC.
23040
6d3bf199
LD
230412012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23042
22bf5c17
LD
23043 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23044 Add s_sincosf-sse2.
23045 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23046 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23047 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23048 macros for using routine as __sincosf_ia32.
23049 Use macro for function declaration and weak_alias.
23050 * sysdeps/i386/fpu/libm-test-ulps: Update.
23051
23052 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23054
23055 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23056 subnormal argument.
23057 * math/s_cexpf.c (__cexpf): Likewise.
23058 * math/s_csinf.c (__csinf): Likewise.
23059 * math/s_csinhf.c (__csinhf): Likewise.
23060 * math/s_ctanf.c (__ctanf): Likewise.
23061 * math/s_ctanhf.c (__ctanhf): Likewise.
23062 * math/s_ccosh.c (__ccoshf): Likewise.
23063 * math/s_cexp.c (__cexpl): Likewise.
23064 * math/s_csin.c (__csin): Likewise.
23065 * math/s_csinh.c (__csinh): Likewise.
23066 * math/s_ctan.c (__ctan): Likewise.
23067 * math/s_ctanh.c (ctanh): Likewise.
23068 * math/s_ccoshl.c (__ccoshl): Likewise.
23069 * math/s_cexpl.c (__cexpl): Likewise.
23070 * math/s_csinl.c (__csinl): Likewise.
23071 * math/s_csinhl.c (__csinhl): Likewise.
23072 * math/s_ctanl.c (__ctanl): Likewise.
23073 * math/s_ctanhl.c (__ctanhl): Likewise.
23074
203e5603
JM
230752012-09-25 Joseph Myers <joseph@codesourcery.com>
23076
23077 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23078 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23079 (_IO_off_t): Define to __off_t, not _G_off_t.
23080 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23081 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23082 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23083 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23084 type of __dummy and __dummy2 fields.
23085 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23086 (_G_ssize_t): Likewise.
23087 (_G_off_t): Likewise.
23088 (_G_pid_t): Likewise.
23089 (_G_uid_t): Likewise.
23090 (_G_wchar_t): Likewise.
23091 (_G_wint_t): Likewise.
23092 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23093 (_G_ssize_t): Likewise.
23094 (_G_off_t): Likewise.
23095 (_G_pid_t): Likewise.
23096 (_G_uid_t): Likewise.
23097 (_G_wchar_t): Likewise.
23098 (_G_wint_t): Likewise.
23099 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23100 (_G_ssize_t): Likewise.
23101 (_G_off_t): Likewise.
23102 (_G_pid_t): Likewise.
23103 (_G_uid_t): Likewise.
23104 (_G_wchar_t): Likewise.
23105 (_G_wint_t): Likewise.
23106
9fab36eb
SP
231072012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23108
23109 * malloc/arena.c: Include malloc-sysdep.h.
23110 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23111 is sufficient to shrink the heap or an unmap is needed.
23112 * sysdeps/generic/malloc-sysdep.h: New file. Define
23113 new function check_may_shrink_heap.
23114 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23115 new function check_may_shrink_heap.
23116
2b4f00d1
SP
231172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23118
23119 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23120 comments.
23121
9a9028b1
DL
231222012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23123
57c69bef
DL
23124 * catgets/test-gencat.sh: Add "set -e".
23125 * elf/tst-pathopt.sh: Likewise.
23126 * grp/tst_fgetgrent.sh: Likewise.
23127 * iconvdata/run-iconv-test.sh: Likewise.
23128 * intl/tst-gettext.sh: Likewise.
23129 * intl/tst-gettext2.sh: Likewise.
23130 * intl/tst-gettext4.sh: Likewise.
23131 * intl/tst-gettext6.sh: Likewise.
23132 * intl/tst-translit.sh: Likewise.
23133 * io/ftwtest-sh: Likewise.
23134 * libio/test-freopen.sh: Likewise.
23135 * malloc/tst-mtrace.sh: Likewise.
23136 * posix/globtest.sh: Likewise.
23137 * posix/tst-getconf.sh: Likewise.
23138 * posix/wordexp-tst.sh: Likewise.
23139 * stdio-common/tst-printf.sh: Likewise.
23140 * stdio-common/tst-unbputc.sh: Likewise.
23141 * stdlib/tst-fmtmsg.sh: Likewise.
23142 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23143 * catgets/Makefile: Do not specify -e option when running
23144 testsuite shell scripts.
23145 * elf/Makefile: Likewise.
23146 * grp/Makefile: Likewise.
23147 * iconvdata/Makefile: Likewise.
23148 * intl/Makefile: Likewise.
23149 * io/Makefile: Likewise.
23150 * libio/Makefile: Likewise.
23151 * malloc/Makefile: Likewise.
23152 * posix/Makefile: Likewise.
23153 * stdio-common/Makefile: Likewise.
23154 * stdlib/Makefile: Likewise.
23155 * sysdeps/x86_64/Makefile: Likewise.
23156
9a9028b1
DL
23157 * io/ftwtest-sh: Add copyright header.
23158 * posix/globtest.sh: Likewise.
23159 * posix/tst-getconf.sh: Likewise.
23160 * posix/wordexp-tst.sh: Likewise.
23161 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23162
ced6f16e
L
231632012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23164
94b32c39
L
23165 [BZ #13679]
23166 * Makeconfig (+link): Defined as $(+link-static) if
23167 $(build-shared) isn't yes.
23168 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23169 isn't yes.
23170 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23171
189e935b
L
23172 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23173
ced6f16e
L
23174 [BZ #14562]
23175 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23176 new chunk size with MALLOC_ALIGN_MASK.
23177
a9f8e53a
JM
231782012-09-24 Joseph Myers <joseph@codesourcery.com>
23179
23180 [BZ #5044]
23181 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23182 <rounding-mode.h>.
23183 (__printf_fphex): Determine rounding using get_rounding_mode and
23184 round_away.
23185 * stdio-common/tst-printf-round.c (struct hex_test): New
23186 structure.
23187 (hex_tests): New variable.
23188 (test_hex_in_one_mode): New function.
23189 (do_test): Also run tests for hex float output.
23190
43153109
JM
231912012-09-21 Joseph Myers <joseph@codesourcery.com>
23192
23193 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23194 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23195 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23196 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23197 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23198 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23199 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23200 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23201
8a26625d
JM
232022012-09-20 Joseph Myers <joseph@codesourcery.com>
23203
23204 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23205 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23206 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23207 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23208
f3fd569c
DL
232092012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23210
23211 [BZ #14579]
23212 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23213 mode only.
23214 * elf/tst-rtld-load-self.sh: New test.
23215 * elf/Makefile: Run it.
23216
63bbedd4
JM
232172012-09-18 Joseph Myers <joseph@codesourcery.com>
23218
23219 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23220 (tst-writev-ENV): Remove.
23221 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23222
626f8b6a
CM
232232012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23224
23225 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23226
b7aaa4d6
JM
232272012-09-17 Joseph Myers <joseph@codesourcery.com>
23228
23229 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23230 unconditional.
23231 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23232 Likewise.
23233 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23234 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23235 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23236 Likewise.
23237
65513990
L
232382012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23239
23240 [BZ #14587]
23241 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23242 * config.make.in (have-cpp-asm-debuginfo): Removed.
23243 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23244 * configure: Regenerated.
23245
784761be
JM
232462012-09-14 Joseph Myers <joseph@codesourcery.com>
23247
23248 [BZ #5044]
23249 * stdio-common/printf_fp.c: Include <stdbool.h> and
23250 <rounding-mode.h>.
23251 (___printf_fp): Determine rounding using get_rounding_mode and
23252 round_away.
23253 * stdio-common/tst-printf-round.c: New file.
23254 * stdio-common/Makefile (tests): Add tst-printf-round.
23255 (link-libm): New variable.
23256 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23257
9503345f
L
232582012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23259
23260 [BZ #14576]
23261 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23262 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23263 Likewise.
23264 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23265 Likewise.
23266
ad35fc00
JM
232672012-09-13 Joseph Myers <joseph@codesourcery.com>
23268
23269 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23270 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23271 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23272 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23273
6c9b0f68
JM
232742012-09-12 Joseph Myers <joseph@codesourcery.com>
23275
23276 [BZ #14518]
23277 * include/rounding-mode.h: New file.
23278 * sysdeps/generic/get-rounding-mode.h: Likewise.
23279 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23280 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23281 (MAX_VALUE): New macro.
23282 (MIN_VALUE): Likewise.
23283 (overflow_value): New function.
23284 (underflow_value): Likewise.
23285 (round_and_return): Use overflow_value and underflow_value to
23286 determine return values in overflow and underflow cases. Use
23287 round_away to determine rounding depending on rounding mode.
23288 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23289 determine return values in overflow and underflow cases.
23290 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23291 (struct test_results): New structure.
23292 (struct test): Use struct test_results to store expected results
23293 for all rounding modes.
23294 (TEST): Include expected results for all rounding modes.
23295 (test_in_one_mode): New function.
23296 (do_test): Use test_in_one_mode to compute and check results.
23297 Check results for all rounding modes.
23298 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23299 $(link-libm).
23300
19fcedd5
AM
233012012-12-09 Allan McRae <allan@archlinux.org>
23302
1e9d84cd 23303 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23304
8bbfd2f1
JM
233052012-09-11 Joseph Myers <joseph@codesourcery.com>
23306
23307 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23308 (_G_int32_t): Likewise.
23309 (_G_uint16_t): Likewise.
23310 (_G_uint32_t): Likewise.
23311 (_G_HAVE_BOOL): Likewise.
23312 (_G_HAVE_ATEXIT): Likewise.
23313 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23314 (_G_HAVE_IO_FILE_OPEN): Likewise.
23315 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23316 (_G_int32_t): Likewise.
23317 (_G_uint16_t): Likewise.
23318 (_G_uint32_t): Likewise.
23319 (_G_HAVE_BOOL): Likewise.
23320 (_G_HAVE_ATEXIT): Likewise.
23321 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23322 (_G_HAVE_IO_FILE_OPEN): Likewise.
23323 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23324 (_G_int32_t): Likewise.
23325 (_G_uint16_t): Likewise.
23326 (_G_uint32_t): Likewise.
23327 (_G_HAVE_BOOL): Likewise.
23328 (_G_HAVE_ATEXIT): Likewise.
23329 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23330 (_G_HAVE_IO_FILE_OPEN): Likewise.
23331
b1dc5912
L
233322012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23333
23334 * csu/libc-tls.c: Update copyright years.
23335
0e886ef9
JM
233362012-09-10 Joseph Myers <joseph@codesourcery.com>
23337
28361c5e
JM
23338 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23339 [!_G_USING_THUNKS]: Remove conditional code.
23340 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23341 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23342
0e886ef9
JM
23343 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23344 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23345 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23346 (_G_VTABLE_LABEL_PREFIX): Likewise.
23347 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23348 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23349 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23350 (_G_VTABLE_LABEL_PREFIX): Likewise.
23351 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23352 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23353 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23354 (_G_VTABLE_LABEL_PREFIX): Likewise.
23355 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23356
bcba7aa2
L
233572012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23358
23359 * libio/Makefile: Include ../Makeconfig before tests.
23360 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23361 only if $(build-shared) is yes.
23362
06585ee8
L
23363 * iconv/gconv_db.c: Update copyright years.
23364
80ccd52c
LD
233652012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23366
23367 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23368 unwind info if defined PIC. Fix special cases description.
23369 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23370
23371 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23372 DP_HI_MASK entry.
23373 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23374
691bc9c1
L
233752012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23376
3d9b46b3
L
23377 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23378
de2139a9
L
23379 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23380 is NULL.
23381
5ca78dd0
L
23382 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23383 (LDLIBS-tst-chk4): This.
23384 (LDFLAGS-tst-chk5): Renamed to ...
23385 (LDLIBS-tst-chk5): This.
23386 (LDFLAGS-tst-chk6): Renamed to ...
23387 (LDLIBS-tst-chk6): This.
23388 (LDFLAGS-tst-lfschk4): Renamed to ...
23389 (LDLIBS-tst-lfschk4): This.
23390 (LDFLAGS-tst-lfschk5): Renamed to ...
23391 (LDLIBS-tst-lfschk5): This.
23392 (LDFLAGS-tst-lfschk6): Renamed to ...
23393 (LDLIBS-tst-lfschk6): This.
23394
691bc9c1
L
23395 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23396 on $(common-objpfx)soversions.mk.
23397
65cafb1c
JM
233982012-09-07 Joseph Myers <joseph@codesourcery.com>
23399
23400 [BZ #10014]
23401 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23402 example host name.
23403
c78ab094
SP
234042012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23405
23406 * malloc/arena.c (arena_get_retry): New function that gets
23407 another arena for the caller to try its request on.
23408 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23409 current arena cannot fulfill the request.
23410 (__libc_memalign): Likewise.
23411 (__libc_memalign): Likewise.
23412 (__libc_pvalloc): Likewise.
23413 (__libc_calloc): Likewise.
23414
01f49f59
JT
234152012-09-05 John Tobey <john.tobey@gmail.com>
23416
23417 [BZ #13542]
23418 * manual/arith.texi (Operations on Complex): Fix description
23419 of carg branch cut.
23420
4c23fed5
JM
234212012-09-06 Joseph Myers <joseph@codesourcery.com>
23422
1d3c8572
JM
23423 [BZ #10014]
23424 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23425 host name.
23426
4c23fed5
JM
23427 [BZ #10038]
23428 * manual/memory.texi (Memory): Make order of menu items match
23429 order of sections.
23430
04570aaa
L
234312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23432
23433 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23434 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23435 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23436
b80af2f4
L
234372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23438
23439 * csu/libc-tls.c (static_dtv): Renamed to ...
23440 (_dl_static_dtv): This. Make it global.
23441 (_dl_initial_dtv): Removed.
23442 (__libc_setup_tls): Updated.
23443 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23444 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23445 DL_INITIAL_DTV.
23446
2abe9f15
PM
234472012-09-06 Petr Machata <pmachata@redhat.com>
23448
23449 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23450 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23451 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23452 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23453
0948c3af
L
234542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23455
23456 [BZ #14545]
23457 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23458 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23459 freeing dtv[-1].
23460
a5055ad1
L
234612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23462
23463 [BZ #14544]
23464 * Makeconfig (link-static-before-libc): Replace $(+prector)
23465 with $(+prectorT).
23466 (link-static-after-libc): Replace $(+postctor) with
23467 $(+postctorT).
23468 (link-bounded): Replace $(+prector)/$(+postctor) with
23469 $(+prectorT)/$(+postctorT).
23470 (+prectorT): New macro.
23471 (+postctorT): Likewise.
23472
ed8c2ecd
JM
234732012-09-06 Joseph Myers <joseph@codesourcery.com>
23474
23475 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23476 (round_str): Handle values above the maximum for IBM long double
23477 as inexact.
23478 * stdlib/tst-strtod-round.c (tests): Regenerated.
23479
14c996c8
AK
234802012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23481
23482 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23483 assembler flag.
23484 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23485 zarch_nohighgprs around the zarch optimized routines.
23486 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23487 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23488 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23489 for zarch.
23490
430d6ce6
DM
234912012-09-05 David S. Miller <davem@davemloft.net>
23492
23493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23494
ff04dda4
DM
23495 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23496 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23497 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23498 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23499 entries.
23500
24d4e01b
AO
235012012-09-05 Alexandre Oliva <aoliva@redhat.com>
23502
23503 * malloc/arena.c: Fold copyright years.
23504 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23505
61d58174
AO
235062012-09-05 Alexandre Oliva <aoliva@redhat.com>
23507
23508 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23509
20196a5e
AO
235102012-09-05 Alexandre Oliva <aoliva@redhat.com>
23511
23512 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23513
5c447383
AO
235142012-09-05 Alexandre Oliva <aoliva@redhat.com>
23515
23516 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23517 change internal state upon failure.
23518
fad64255
AO
235192012-09-05 Alexandre Oliva <aoliva@redhat.com>
23520
23521 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23522 * malloc/memusage.c (mmap): Likewise.
23523 (mmap64, mremap): Likewise. Adjust name in comment.
23524
1ffb8c90
SP
235252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23526
23527 * libio/fileops.c: Fix typos in comments.
23528 * libio/oldfileops.c: Likewise.
23529 * libio/wfileops.c: Likewise.
23530
6ef9cc37
SP
235312012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23532
23533 [BZ #1349]
23534 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23535 (tst-malloc-usable-ENV): Set environment for test case.
23536 * malloc/hooks.c (malloc_check_get_size): New function to get
23537 requested size.
23538 * malloc/malloc.c (musable): Use malloc_check_get_size.
23539 * malloc/tst-malloc-usable.c: New test case.
23540
4d038ae3
AS
235412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23542
23543 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23544
c4e85184
AM
235452012-09-05 Allan McRae <allan@archlinux.org>
23546
b9dafc56 23547 [BZ #13966]
c4e85184
AM
23548 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23549 determine header location.
23550 * configure: Regenerated.
23551
e1343020
AS
235522012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23553
23554 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23555 float format.
23556 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23557 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23558 format.
e1343020
AS
23559 (test): Regenerate.
23560
0a9f1987
DM
235612012-09-04 David S. Miller <davem@davemloft.net>
23562
23563 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23564 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23565 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23566
29237804
FW
235672012-09-04 Florian Weimer <fweimer@redhat.com>
23568
23569 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23570 failures.
23571
edb3cb88
FW
23572 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23573
60160d83
JM
235742012-09-04 Joseph Myers <joseph@codesourcery.com>
23575
23576 [BZ #9914]
23577 * libio/iogetdelim.c: Include <limits.h>.
23578 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23579 + len + 1 would overflow.
23580
bcd6c8dc
AJ
235812012-09-03 Andreas Jaeger <aj@suse.de>
23582
23583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23584 * sysdeps/i386/fpu/libm-test-ulps: Update.
23585
4ffffbd2
LD
235862012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23587
23588 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23589 Add s_sinf-sse2, s_conf-sse2.
23590
23591 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23592 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23593 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23594 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23595
23596 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23597 for using routine as __sinf_ia32.
23598 Use macro for function declaration and weak_alias.
23599 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23600 for using routine as __cosf_ia32.
23601 Use macro for function declaration and weak_alias.
23602
23603 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23604 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23605
23606 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23607 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23609
23610 * math/libm-test.inc (cos_test): Add more test cases.
23611 (sin_test): Likewise.
23612 (sincos_test): Likewise.
23613
511fa286
AK
236142012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23615
23616 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23617 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23618 hidden.
23619 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23620
5f30cfec
L
236212012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23622
23623 [BZ #14538]
23624 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23625 first element of the GOT.
23626 (elf_machine_load_address): Return the difference between
23627 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23628
0786794f
AM
236292012-09-01 Allan McRae <allan@archlinux.org>
23630
5f30cfec
L
23631 [BZ #13412]
23632 * configure.in (AWK): Require gawk version 3.0 or later.
23633 * configure: Regenerated.
0786794f 23634
26889eac
JM
236352012-09-01 Joseph Myers <joseph@codesourcery.com>
23636
23637 * sysdeps/unix/sysv/linux/kernel-features.h
23638 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23639 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23640 [__NR_clock_getres]: Make code unconditional.
23641 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23642 (clock_getcpuclockid): Remove code left unreachable by removal of
23643 conditionals.
23644 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23645 code unconditional.
23646 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23647 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23648 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23649 Make code unconditional.
23650 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23651 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23652 * sysdeps/unix/sysv/linux/clock_settime.c
23653 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23654 conditional code.
23655 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23656 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23657
d22e28b0
L
236582012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23659
23660 [BZ #14476]
23661 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23662 scripts/test-installation.pl.
23663
23664 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23665 and $ld_so_version if it is set.
23666
050af9c4
SP
236672012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23668
23669 [BZ #14516]
23670 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23671 failure if reading from procfs failed.
23672 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23673
ad845c0b
JM
236742012-08-27 Joseph Myers <joseph@codesourcery.com>
23675
23676 * sysdeps/unix/sysv/linux/kernel-features.h
23677 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23678 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23679 Remove conditional code.
23680 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23681 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23682 Remove conditional code.
23683 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23684 * sysdeps/unix/sysv/linux/i386/fxstat.c
23685 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23687 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23688 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23690 * sysdeps/unix/sysv/linux/i386/lxstat.c
23691 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23692 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23693 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23694 Remove conditional code.
23695 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23696 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23697 Remove conditional code.
23698 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23699 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23700 <kernel-features.h>.
23701 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23702 Remove.
23703 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23704 Remove conditional code.
23705 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23706 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23707 Remove conditional.
23708
5dbf56af
MF
237092012-08-27 Mike Frysinger <vapier@gentoo.org>
23710
23711 [BZ #5400]
23712 * NEWS: Add fixed bug number.
23713
d6e70f43
JM
237142012-08-27 Joseph Myers <joseph@codesourcery.com>
23715
7efb4737
JM
23716 [BZ #14519]
23717 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23718 underflowing exponent in case of negative sign.
23719 * stdlib/tst-strtod-round-data: Add more tests.
23720 * stdlib/tst-strtod-round.c (tests): Regenerated.
23721
af92131a
JM
23722 [BZ #3479]
23723 * stdlib/strtod_l.c (NDIG): Remove.
23724 (HEXNDIG): Likewise.
23725 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23726 smallest representable value.
23727 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23728 lie within an exact representation of 1/2 ulp of the result.
23729 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23730 unconditionally.
23731 (TENS_P9_IDX): Define unconditionally.
23732 (TENS_P9_SIZE): Likewise.
23733 (TENS_P10_IDX): Likewise.
23734 (TENS_P10_SIZE): Likewise.
23735 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23736 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23737 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23738 entries for 10^2^13 and 10^2^14.
23739 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23740 (TENS_P13_IDX): Define.
23741 (TENS_P13_SIZE): Likewise.
23742 (TENS_P14_IDX): Likewise.
23743 (TENS_P14_SIZE): Likewise.
23744 (_fpioconst_pow10): Change array size to
23745 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23746 unconditional.
23747 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23748 1024]: Add entries for 10^2^13 and 10^2^14.
23749 [LAST_POW10 > _LAST_POW10]: Remove #error.
23750 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23751 (_fpioconst_pow10): Change array size to
23752 FPIOCONST_POW10_ARRAY_SIZE.
23753 * stdlib/gen-fpioconst.c: New file.
23754 * stdlib/gen-tst-strtod-round.c: Likewise.
23755 * stdlib/tst-strtod-round-data: Likewise.
23756 * stdlib/tst-strtod-round.c: Likewise.
23757 * stdlib/Makefile (tests): Add tst-strtod-round.
23758
d6e70f43
JM
23759 [BZ #14459]
23760 * stdlib/strtod_l.c: Include <stdint.h>.
23761 (NDEBUG): Do not define.
23762 (round_and_return): Change EXPONENT parameter to type intmax_t.
23763 Rearrange calculations to avoid internal overflow possibilities.
23764 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23765 Rearrange calculations to avoid internal overflow possibilities.
23766 Assert that number fits inside MPNSIZE limbs.
23767 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23768 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23769 calculations and add assertions to avoid internal overflow
23770 possibilities. Add casts to avoid signed/unsigned operations.
23771 * stdlib/tst-strtod-overflow.c: New file.
23772 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23773
1f529f7d
MP
237742012-08-25 Marek Polacek <polacek@redhat.com>
23775
23776 * time/time.h: Fix some typos in comments.
23777
59a629f1
RM
237782012-08-23 Roland McGrath <roland@hack.frob.com>
23779
23780 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23781 * posix/tst-rfc3484-2.c: Likewise.
23782 * posix/tst-rfc3484-3.c: Likewise.
23783
d3bafbc9
SM
237842012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23785
23786 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23787 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23788
4efcc022
JM
237892012-08-23 Joseph Myers <joseph@codesourcery.com>
23790
23791 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23792 #include of fxstatat64.c.
23793
3cc3ef96
RM
237942012-08-22 Roland McGrath <roland@hack.frob.com>
23795
f04e2132
RM
23796 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23797 * shadow/getspent_r.c: Likewise.
23798 * shadow/getspnam.c: Likewise.
23799 * shadow/getspnam_r.c: Likewise.
23800 * gshadow/getsgent.c: Likewise.
23801 * gshadow/getsgent_r.c: Likewise.
23802 * gshadow/getsgnam.c: Likewise.
23803 * gshadow/getsgnam_r.c: Likewise.
23804 * inet/getnetbyad.c: Likewise.
23805 * inet/getnetbyad_r.c: Likewise.
23806 * inet/getnetbynm.c: Likewise.
23807 * inet/getnetbynm_r.c: Likewise.
23808 * inet/getnetent.c: Likewise.
23809 * inet/getnetent_r.c: Likewise.
23810 * inet/getproto.c: Likewise.
23811 * inet/getproto_r.c: Likewise.
23812 * inet/getprtent.c: Likewise.
23813 * inet/getprtent_r.c: Likewise.
23814 * inet/getprtname.c: Likewise.
23815 * inet/getprtname_r.c: Likewise.
23816 * inet/getrpcbyname.c: Likewise.
23817 * inet/getrpcbyname_r.c: Likewise.
23818 * inet/getrpcbynumber.c: Likewise.
23819 * inet/getrpcbynumber_r.c: Likewise.
23820 * inet/getrpcent.c: Likewise.
23821 * inet/getrpcent_r.c: Likewise.
23822 * inet/getaliasent.c: Likewise.
23823 * inet/getaliasent_r.c: Likewise.
23824 * inet/getaliasname.c: Likewise.
23825 * inet/getaliasname_r.c: Likewise.
23826 * nscd/getgrgid_r.c: Likewise.
23827 * nscd/getgrnam_r.c: Likewise.
23828 * nscd/gethstbyad_r.c: Likewise.
23829 * nscd/gethstbynm3_r.c: Likewise.
23830 * nscd/getpwnam_r.c: Likewise.
23831 * nscd/getpwuid_r.c: Likewise.
23832 * nscd/getsrvbynm_r.c: Likewise.
23833 * nscd/getsrvbypt_r.c: Likewise.
23834 * nscd/gai.c: Likewise.
23835
c53d909c
RM
23836 * configure.in (build_nscd): New substituted variable, set
23837 by --disable-build-nscd and defaults to $use_nscd.
23838 * configure: Regenerated.
23839 * config.make.in (build-nscd): New substituted variable.
23840 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23841 Change conditional to require [$(build-nscd) = yes] as well.
23842 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23843
3cc3ef96
RM
23844 [BZ# 13696]
23845 * configure.in (use_nscd): New substituted variable, set by
23846 --disable-nscd. If enabled, define USE_NSCD.
23847 * configure: Regenerated.
23848 * config.h.in: Add USE_NSCD.
23849 * config.make.in (use-nscd): New substituted variable.
23850 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23851 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23852 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23853 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23854 (CFLAGS-getgrnam_r.c): Likewise.
23855 (CFLAGS-initgroups.c): Likewise.
23856 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23857 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23858 Variables removed.
23859 * inet/getnetgrent_r.c
23860 (nscd_setnetgrent): New function, broken out of ...
23861 (setnetgrent): ... here. Call it.
23862 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23863 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23864 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23865 * nscd/Makefile (routines, aux): Move definitions after include of
23866 Makeconfig. Conditionalize on [$(use-nscd) != no].
23867 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23868 Conditionalize on [USE_NSCD].
23869 (is_nscd, nscd_init_cb): Likewise.
23870 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23871 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23872 * nss/nss_db/db-init.c: Likewise.
23873 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23874 [USE_NSCD].
23875 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23876 (make_request): Use it.
23877 (cache_valid_p): New function.
23878 (__check_pf): Use it.
23879 * NEWS: Add item for --disable-nscd.
23880
07e51550
DL
238812012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23882
23883 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23884 to support sed >= 4.2.1-20-ga9bf076.
23885 * configure: Regenerated.
23886
35a5b08b
RM
238872012-08-22 Roland McGrath <roland@hack.frob.com>
23888
23889 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23890 Conditionalize whole body on [IREL].
23891
8479f23a
JL
238922012-08-22 Jeff Law <law@redhat.com>
23893
23894 [BZ #14505]
23895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23896 if the family is PF_UNSPEC.
23897
48da0b21
MF
238982012-08-22 Mike Frysinger <vapier@gentoo.org>
23899
23900 * Makerules (lib-version): Rename from V.
23901 (install-lib-nosubdir): Change V to lib-version.
23902
15d0da8c
WS
239032012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23904
23905 [BZ #14252]
23906 * powerpc32/power6/wcschr.c: New file.
23907 * powerpc32/power6/wcscpy.c: New file.
23908 * powerpc32/power6/wcsrchr.c: New file.
23909 * powerpc64/power6/wcschr.c: New file.
23910 * powerpc64/power6/wcscpy.c: New file.
23911 * powerpc64/power6/wcsrchr.c: New file.
23912
bcca0895
MK
239132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23914
23915 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23916 (two_way_short_needle): Use it.
5a4aaa33
RM
23917 * string/strstr.c (AVAILABLE1_USES_J): Define.
23918 * string/strcasestr.c: Likewise.
99677e57
MK
23919
23920 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23921 array references.
23922 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23923
400726de
MK
23924 [BZ #11607]
23925 * NEWS: Add an entry.
23926 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23927 define their defaults.
23928 (two_way_short_needle): Detect end-of-string on-the-fly.
23929 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23930 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23931 * string/bug-strcasestr1.c: New test.
23932 * string/Makefile: Run it.
23933
20a71f2c
MK
239342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23935
23936 [BZ #11607]
23937 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23938 the first character.
23939
21ad0558
RM
239402012-08-21 Roland McGrath <roland@hack.frob.com>
23941
23942 * csu/elf-init.c (__libc_csu_irel): Function removed.
23943 * csu/libc-start.c (apply_irel): New function.
23944 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23945
0e1d9911
JM
239462012-08-21 Joseph Myers <joseph@codesourcery.com>
23947
23948 * sysdeps/unix/sysv/linux/kernel-features.h
23949 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23950 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23951 <kernel-features.h>.
23952 [__NR_fadvise64_64]: Make code unconditional.
23953 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23954 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23955 !__NR_fadvise64_64)]: Likewise.
23956 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23957 !__NR_fadvise64_64))]: Likewise.
23958 [__NR_fadvise64]: Make code unconditional.
23959 [!__NR_fadvise64]: Remove conditional code.
23960 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23961 <kernel-features.h>.
23962 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23963 unconditional.
23964 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23965 conditional code.
23966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23967 not include <kernel-features.h>.
23968 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23969 unconditional.
23970 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23971 conditional code.
23972 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23973 include <kernel-features.h>.
23974 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23975 unconditional.
23976 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23977 conditional code.
23978
14a50c9d
WS
239792012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23980
23981 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23982 slight instruction rearrangements per scrollpipe analysis.
23983 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23984
c0f4faf0
RM
239852012-08-20 Roland McGrath <roland@hack.frob.com>
23986
696da859
RM
23987 * manual/syslog.texi (syslog; vsyslog, closelog):
23988 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23989 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23990
c0f4faf0
RM
23991 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23992 DSOCAPS to match condition on defining it.
23993
348363b2
JM
239942012-08-20 Joseph Myers <joseph@codesourcery.com>
23995
a35cbf28
JM
23996 * sysdeps/unix/sysv/linux/kernel-features.h
23997 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23999 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24000 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24002 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24003 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24005 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24006 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24007
445f7ecd
JM
24008 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24009 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24010
348363b2
JM
24011 * sysdeps/unix/sysv/linux/kernel-features.h
24012 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24013 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24014 unconditional.
24015 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24016 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24017 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24018 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24019 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24020 Make code unconditional.
24021 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24022 (__mmap64) [!__NR_mmap2]: Likewise.
24023 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24024 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24025 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24026 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24027 [__NR_mmap2]: Make code unconditional.
24028 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24029 (__mmap64) [!__NR_mmap2]: Likewise.
24030
bc5bc0e5
AK
240312012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24032
24033 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24034
88d506de
AJ
240352012-08-18 Andreas Jaeger <aj@suse.de>
24036
24037 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24038
493387d2
MF
240392012-08-18 Mike Frysinger <vapier@gentoo.org>
24040
24041 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24042 * include/unistd.h (__have_sock_cloexec): Likewise.
24043 (__have_pipe2): Likewise.
24044 (__have_dup3): Likewise.
24045
a277af22
MF
240462012-08-18 Mike Frysinger <vapier@gentoo.org>
24047
24048 [BZ #9685]
24049 * include/unistd.h (__have_pipe2): Change define into an extern int.
24050 (__have_dup3): Likewise.
24051 * socket/have_sock_cloexec.c: Include fcntl.h.
24052 (__have_pipe2): New variable.
24053 (__have_dup3): Likewise.
24054
fdab8fd3
MF
240552012-08-17 Mike Frysinger <vapier@gentoo.org>
24056
24057 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24058
31035e80
MP
240592012-08-17 Marek Polacek <polacek@redhat.com>
24060
24061 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24062 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24063
3bd9e993
RM
240642012-08-17 Roland McGrath <roland@hack.frob.com>
24065
c91c505f
RM
24066 * configure.in: Add AC_SUBST for sysheaders.
24067 * configure: Regenerated.
24068 * config.make.in (sysheaders): New substituted variable.
24069
7c6f9d53
RM
24070 * sysdeps/unix/mkfifo.c: Moved ...
24071 * sysdeps/posix/mkfifo.c: ... here.
24072 * sysdeps/unix/mkfifoat.c: Moved ...
24073 * sysdeps/posix/mkfifoat.c: ... here.
24074
24075 * sysdeps/unix/utime.c: Moved ...
24076 * sysdeps/posix/utime.c: ... here.
24077
24078 * sysdeps/unix/time.c: Moved ...
24079 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24080 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24081 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24082
24083 * sysdeps/unix/nice.c: Moved ...
24084 * sysdeps/posix/nice.c: ... here.
24085
24086 * sysdeps/unix/alarm.c: Moved ...
24087 * sysdeps/posix/alarm.c: ... here.
24088
3bd9e993
RM
24089 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24090
d1f09384
JL
240912012-08-17 Jeff Law <law@redhat.com>
24092
24093 * intl/Makefile (codeset_mo): New variable.
24094 ($(codeset_mo)): New target.
24095 (tst-codeset.out): Depend on that. Remove explicit rule.
24096 (tst-gettext3.out, tst-gettext5.out): Likewise.
24097 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24098 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24099 * intl/tst-codeset.sh: Remove.
24100 * intl/tst-gettext3.sh: Likewise.
24101 * intl/tst-gettext5.sh: Likewise.
24102
2ae1ae5c
RM
241032012-08-17 Roland McGrath <roland@hack.frob.com>
24104
c31fdb83
RM
24105 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24106 * sysdeps/unix/syscalls.list: ... here.
24107
a0844057
RM
24108 * sysdeps/posix/getaddrinfo.c
24109 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24110 (gaiconf_init, gaiconf_reload): Use them.
24111 [!_STATBUF_ST_NSEC]
24112 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24113 Define using time_t rather than struct timespec.
24114
750c1f2a
RM
24115 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24116 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24117 Macros removed.
24118 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24119 [!NO_THREADS].
24120 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24121 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24122 Likewise.
24123
2ae1ae5c
RM
24124 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24125 __libc_cleanup_push argument.
24126
e66a42f5
RM
24127 * bits/param.h: New file.
24128 * misc/sys/param.h: New file.
24129 * include/sys/param.h: New file.
24130 * misc/Makefile (headers): Add bits/param.h.
24131 * sysdeps/generic/sys/param.h: File removed.
24132 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24133 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24134 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24135 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24136
b7c08a66
RM
24137 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24138 last change.
24139
b2e1c562
RM
24140 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24141 [_IO_MTSAFE_IO].
24142 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24143 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24144 New macros.
24145
c75ccd4c
RM
24146 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24147 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24148 rather than -D_IO_MTSAFE_IO conditionally.
24149 * stdio-common/Makefile (CPPFLAGS): Likewise.
24150 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24151 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24152 Use $(libio-mtsafe).
24153 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24154 of -D_IO_MTSAFE_IO.
24155 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24156 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24157 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24158 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24159 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24160 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24161 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24162 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24163 (CFLAGS-fread_u_chk.c): Likewise.
24164 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24165 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24166 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24167 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24168 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24169 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24170 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24171 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24172 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24173
24174 * libio/Makefile: Test [$(libc-reentrant) = yes]
24175 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24176
24177 * Makeconfig
24178 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24179 * sysdeps/pthread/configure: File removed.
24180 * sysdeps/pthread/Makeconfig: New file.
24181 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24182 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24183
d9195db8
GB
241842012-08-16 Gary Benson <gbenson@redhat.com>
24185
24186 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24187 unmapping the first object in a namespace.
24188
86466cd9
RM
241892012-08-16 Roland McGrath <roland@hack.frob.com>
24190
24191 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24192 (__internal_setnetgrent): ... this. Add internal_function to
24193 definition. Add libc_hidden_def.
24194 (setnetgrent): Update caller.
24195 (internal_endnetgrent): Renamed to ...
24196 (__internal_endnetgrent): ... this. Add internal_function to
24197 definition. Add libc_hidden_def.
24198 (endnetgrent): Update caller.
24199 (internal_getnetgrent_r): Renamed to ...
24200 (__internal_getnetgrent_r): ... this. Add internal_function to
24201 definition. Add libc_hidden_def.
24202 (__getnetgrent_r): Update caller.
24203 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24204
c3c8283c
JM
242052012-08-16 Joseph Myers <joseph@codesourcery.com>
24206
24207 * stdlib/longlong.h: Update from GCC.
24208
db1ee0a8
RM
242092012-08-16 Roland McGrath <roland@hack.frob.com>
24210
24211 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24212 on _QL, which is set by umul_ppmm but never used.
24213 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24214 variables, which are set by GMP macros but never used.
24215 * stdio-common/_itowa.c (_itowa): Likewise.
24216 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24217 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24218
30f69637
CD
242192012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24220
24221 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24222 struct La_sh_regs is not constant.
24223 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24224 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24225 and struct La_sparc64_regs are not constant.
24226
93a78ac4
JM
242272012-08-16 Joseph Myers <joseph@codesourcery.com>
24228
24229 * sysdeps/unix/sysv/linux/kernel-features.h
24230 (__ASSUME_POSIX_TIMERS): Remove.
24231 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24232 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24233 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24234 Make code unconditional.
24235 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24236 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24237 Make code unconditional.
24238 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24239 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24240 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24241 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24242 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24243 Make code unconditional.
24244 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24245 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24246 (__libc_missing_posix_timers): Remove.
24247
dd924cd7
RM
242482012-08-15 Roland McGrath <roland@hack.frob.com>
24249
4b4f2771
RM
24250 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24251 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24252
601c888b
RM
24253 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24254
176790a7
RM
24255 * elf/dl-sym.c: Include <stdlib.h>.
24256
329bc018
RM
24257 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24258 constants, which avoids warnings in 32-bit builds.
24259
e04e272d
RM
24260 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24261 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24262
952bf94a
RM
24263 * misc/lseek.c: File moved to ...
24264 * io/lseek.c: ... here.
24265
7c99b50a
RM
24266 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24267
dd924cd7
RM
24268 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24269 shifting LEN more than 31 bits at once.
24270
b3f479a8
LD
242712012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24272
24273 [BZ #14195]
8c4ae0d4
RM
24274 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24275 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24276 * string/test-strncasecmp.c (check1): Renamed to...
24277 (bz12205): ...this.
24278 (bz14195): Add new testcase for two empty input strings and N > 0.
24279 (test_main): Call new testcase, adapt for renamed function.
24280
9c55864e
AJ
242812012-08-15 Andreas Jaeger <aj@suse.de>
24282
24283 [BZ #14090]
24284 * crypt/md5test2.c: New test, based on test supplied by Serge
24285 Belyshev <belyshev@depni.sinp.msu.ru>.
24286 * crypt/Makefile (xtests): Add md5test-giant..
24287 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24288
02dcb6c5
PE
242892012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24290
24291 [BZ #14090]
24292 * crypt/md5.c (md5_process_block): Don't assume the buffer
24293 length is less than 2**32.
24294 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24295 length is less than 2**64.
24296
a3f95dcc
RM
242972012-08-15 Roland McGrath <roland@hack.frob.com>
24298
be75d758
RM
24299 * string/str-two-way.h: Include <sys/param.h>.
24300 (MAX): Macro removed.
24301
7312ca90
RM
24302 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24303 Move #define and #undef of memmove to just before and after
24304 including <string.h>.
24305
9a0a5486
RM
24306 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24307 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24308 and after including <string.h>. Move declarations of
24309 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24310 to before #include "string/memmove.c".
24311
67cc348d
RM
24312 * include/dirent.h: Declare __getdirentries.
24313
a3f95dcc
RM
24314 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24315 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24316
ca98e171
MF
243172012-08-14 Mike Frysinger <vapier@gentoo.org>
24318
24319 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24320 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24321 * sysdeps/i386/configure: Regenerated.
24322 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24323 STABS_CURRENT_FILE, and STABS_FUN.
24324 (END): Remove call to STABS_FUN_END.
24325 (STABS_CURRENT_FILE1): Delete.
24326 (STABS_CURRENT_FILE): Likewise.
24327 (STABS_FUN): Likewise.
24328 (STABS_FUN_END): Likewise.
24329 (STABS_FUN2): Likewise.
24330 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24331 * sysdeps/x86_64/configure: Regenerated.
24332
5908bf46
RM
243332012-08-14 Roland McGrath <roland@hack.frob.com>
24334
24335 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24336 * elf/dl-lookup.c: Likewise.
5908bf46 24337
f2c05b9e
JM
243382012-08-14 Joseph Myers <joseph@codesourcery.com>
24339
24340 * sysdeps/unix/sysv/linux/kernel-features.h
24341 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24342 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24343 unconditionally.
24344 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24345 unconditionally.
24346 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24347 condition on __ASSUME_CLONE_THREAD_FLAGS.
24348
e11f5155
AJ
243492012-08-14 Andreas Jaeger <aj@suse.de>
24350
24351 * sysdeps/i386/fpu/libm-test-ulps: Update.
24352
51a9ba86
MK
243532012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24354
2fdd4f78
AJ
24355 * include/atomic.h (atomic_exchange_and_add): Split into ...
24356 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24357 New atomic macros.
51a9ba86 24358
ba6cba9e
MT
243592012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24360
24361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24362
42443a47
JL
243632012-08-13 Jeff Law <law@redhat.com>
24364
24365 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24366 null byte in the output string.
24367
121dce05
JM
243682012-08-10 Joseph Myers <joseph@codesourcery.com>
24369
24370 * sysdeps/unix/sysv/linux/kernel-features.h
24371 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24372 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24373 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24374 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24375 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24376 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24377 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24378
bf51f568
JL
243792012-08-09 Jeff Law <law@redhat.com>
24380
24381 [BZ #13939]
24382 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24383 When avoid_arena is set, don't retry in the that arena. Pick the
24384 next one, whatever it might be.
24385 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24386 (arena_lock): Pass in new parameter to arena_get2.
24387 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24388 arena_get2.
24389 (__libc_malloc): Unify retrying after main arena failure with
24390 __libc_memalign version.
24391 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24392
f85fa270
L
243932012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24394
24395 [BZ #14166]
24396 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24397 to __redirect_strstr.
24398 (__strstr_sse42): Use typeof __redirect_strstr.
24399 (__strstr_ia32): Likewise.
24400 (__libc_strstr): New prototype.
24401 (strstr): Renamed to ...
24402 (__libc_strstr): This.
24403 (strstr): New strong alias of __libc_strstr.
24404 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24405 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24406 __redirect_time.
24407 Include <time.h>.
24408 (__libc_time): New prototype.
24409 (time_ifunc): Replace time with __libc_time.
24410 (time): New strong alias and hidden definition of __libc_time.
24411 (__GI_time): Remove strong alias.
24412 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24413 Include <stddef.h>.
24414 (memmove): Redefined to __redirect_memmove.
24415 (__memmove_sse2): Use typeof __redirect_memmove.
24416 (__memmove_ssse3): Likewise.
24417 (__memmove_ssse3_back): Likewise.
24418 (__libc_memmove): New prototype.
24419 (memmove): Renamed to ...
24420 (__libc_memmove): This.
24421 (memmove): New strong alias of __libc_memmove.
24422
33b4a91e
MS
244232012-08-08 Mark Salter <msalter@redhat.com>
24424
24425 * elf/elf.h
24426 (R_MN10300_TLS_GD): Define.
24427 (R_MN10300_TLS_LD): Likewise.
24428 (R_MN10300_TLS_LDO): Likewise.
24429 (R_MN10300_TLS_GOTIE): Likewise.
24430 (R_MN10300_TLS_IE): Likewise.
24431 (R_MN10300_TLS_LE): Likewise.
24432 (R_MN10300_TLS_DTPMOD): Likewise.
24433 (R_MN10300_TLS_DTPOFF): Likewise.
24434 (R_MN10300_TLS_TPOFF): Likewise.
24435 (R_MN10300_SYM_DIFF): Likewise.
24436 (R_MN10300_ALIGN): Likewise.
24437 (R_MN10300_NUM): Update.
24438
b36137f1
JM
244392012-08-08 Joseph Myers <joseph@codesourcery.com>
24440
24441 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24442 Remove.
24443
cdd915fd
RM
244442012-08-08 Roland McGrath <roland@hack.frob.com>
24445
a2433aac
RM
24446 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24447
cdd915fd
RM
24448 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24449 sysdeps/unix -> sysdeps/posix move.
24450 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24451
bf9b740a
AM
244522012-08-07 Allan McRae <allan@archlinux.org>
24453
24454 [BZ #14303]
24455 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24456 (SUNOS_CPP): Likewise.
24457 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24458 not found.
24459 (open_input): Call CPP using execvp.
24460
93df14ee
JM
244612012-08-07 Joseph Myers <joseph@codesourcery.com>
24462
24463 * sysdeps/unix/sysv/linux/kernel-features.h
24464 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24465 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24466 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24467 (__ASSUME_WAITID_SYSCALL): Likewise.
24468 * sysdeps/unix/sysv/linux/dl-execstack.c
24469 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24470 code unconditional.
24471 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24472 conditional code.
24473 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24474 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24475 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24476 code.
24477 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24478 unconditional.
24479 [__ASSUME_WAITID_SYSCALL]: Likewise.
24480 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24481
d34689de
RM
244822012-08-07 Roland McGrath <roland@hack.frob.com>
24483
a281decc
RM
24484 * sysdeps/unix/closedir.c: Renamed to ...
24485 * sysdeps/posix/closedir.c: ... here.
24486 * sysdeps/unix/dirfd.c: Renamed to ...
24487 * sysdeps/posix/dirfd.c: ... here.
24488 * sysdeps/unix/dirstream.h: Renamed to ...
24489 * sysdeps/posix/dirstream.h: ... here.
24490 * sysdeps/unix/fdopendir.c: Renamed to ...
24491 * sysdeps/posix/fdopendir.c: ... here.
24492 * sysdeps/unix/opendir.c: Renamed to ...
24493 * sysdeps/posix/opendir.c: ... here.
24494 * sysdeps/unix/readdir.c: Renamed to ...
24495 * sysdeps/posix/readdir.c: ... here.
24496 * sysdeps/unix/readdir_r.c: Renamed to ...
24497 * sysdeps/posix/readdir_r.c: ... here.
24498 * sysdeps/unix/rewinddir.c: Renamed to ...
24499 * sysdeps/posix/rewinddir.c: ... here.
24500 * sysdeps/unix/seekdir.c: Renamed to ...
24501 * sysdeps/posix/seekdir.c: ... here.
24502 * sysdeps/unix/telldir.c: Renamed to ...
24503 * sysdeps/posix/telldir.c: ... here.
24504 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24505 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24506 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24507 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24508
22895b47
RM
24509 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24510 * bits/fcntl.h: ... here.
24511
707a53b6
RM
24512 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24513 not 0.
24514 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24515 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24516 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24517 (struct flock): Move l_start, l_len to the beginning.
24518 Use __pid_t for l_pid.
24519 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24520 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24521 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24522 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24523 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24524 [__USE_LARGEFILE64] (struct flock64): New type.
24525 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24526
f0bd3e25
RM
24527 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24528 * bits/dirent.h: ... here.
24529
d34689de
RM
24530 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24531 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24532
6dad2c06
JM
245332012-08-07 Joseph Myers <joseph@codesourcery.com>
24534
24535 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24536 Change from 2.6.0 to 2.6.16.
24537 * sysdeps/unix/sysv/linux/configure: Regenerated.
24538 * sysdeps/unix/sysv/linux/kernel-features.h
24539 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24540 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24541 version.
24542 (__ASSUME_UTIMES): Likewise.
24543 (__ASSUME_CLONE_STOPPED): Remove.
24544 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24545 architectures, not kernel version.
24546 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24547 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24548 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24549 (__ASSUME_WAITID_SYSCALL): Likewise.
24550 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24551 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24552 * README: State 2.6.16 as minimum Linux kernel version. Do not
24553 refer to older versions.
24554
03af9520
RM
245552012-08-06 Roland McGrath <roland@hack.frob.com>
24556
8e49df1d
RM
24557 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24558 Define alphasort64 as an alias.
24559 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24560 Define versionsort64 as an alias.
24561 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24562 Define scandir64 as an alias.
24563 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24564 Define scandirat64 as an alias.
24565 * dirent/alphasort64.c (alphasort64):
24566 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24567 * dirent/versionsort64.c: Likewise.
24568 * dirent/scandir64.c: Likewise.
24569 * dirent/scandirat64.c: Likewise.
24570 * sysdeps/wordsize-64/alphasort.c: File removed.
24571 * sysdeps/wordsize-64/alphasort64.c: File removed.
24572 * sysdeps/wordsize-64/scandir.c: File removed.
24573 * sysdeps/wordsize-64/scandir64.c: File removed.
24574 * sysdeps/wordsize-64/scandirat.c: File removed.
24575 * sysdeps/wordsize-64/scandirat64.c: File removed.
24576 * sysdeps/wordsize-64/versionsort.c: File removed.
24577 * sysdeps/wordsize-64/versionsort64.c: File removed.
24578 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24579 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24580 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24581 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24582 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24583 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24584 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24585 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24586
24587 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24588 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24589 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24591 [defined __arch64__ || defined __sparcv9]
24592 (__INO_T_MATCHES_INO64_T): New macro.
24593 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24594 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24595 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24596 * sysdeps/unix/sysv/linux/bits/dirent.h
24597 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24598 (_DIRENT_MATCHES_DIRENT64): New macro.
24599
03af9520
RM
24600 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24601 Define lockf64 as an alias.
24602 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24603 Define fseeko64 as an alias.
24604 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24605 Define ftello64 as an alias.
24606 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24607 Define _IO_fgetpos64 and fgetpos64 as aliases.
24608 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24609 Define _IO_fsetpos64 and fsetpos64 as aliases.
24610 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24611 Conditionalize body on this.
24612 * libio/fseeko64.c: Likewise.
24613 * libio/ftello64.c: Likewise.
24614 * libio/iofgetpos64.c: Likewise.
24615 * libio/iofsetpos64.c: Likewise.
24616 * sysdeps/wordsize-64/lockf.c: File removed.
24617 * sysdeps/wordsize-64/lockf64.c: File removed.
24618 * sysdeps/wordsize-64/fseeko.c: File removed.
24619 * sysdeps/wordsize-64/fseeko64.c: File removed.
24620 * sysdeps/wordsize-64/ftello.c: File removed.
24621 * sysdeps/wordsize-64/ftello64.c: File removed.
24622 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24623 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24624 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24625 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24626 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24627 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24628 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24629 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24630 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24631 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24632 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24633 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24634 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24635 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24636
24637 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24638 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24639 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24640 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24641 [defined __arch64__ || defined __sparcv9]
24642 (__OFF_T_MATCHES_OFF64_T): New macro.
24643 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24644 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24645 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24646 (__OFF_T_MATCHES_OFF64_T): New macro.
24647
c5757acd
L
246482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24649
24650 * stdlib/secure-getenv.c (__secure_getenv): Replace
24651 GLIBC_2_16 with GLIBC_2_17.
24652
3a31811e
L
246532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24654
24655 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24656 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24657
faa2bccb
DM
246582012-08-03 David S. Miller <davem@davemloft.net>
24659
24660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24661
85fe1997
JM
246622012-08-03 Joseph Myers <joseph@codesourcery.com>
24663
24664 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24665 Remove.
24666 (__ASSUME_CORRECT_SI_PID): Likewise.
24667 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24668 (__ASSUME_TMPFS_NAME): Likewise.
24669 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24670 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24671 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24672 (HAVE_AUX_SECURE): Make definition unconditional.
24673 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24674 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24675
4f75b7a0
RM
246762012-08-03 Roland McGrath <roland@hack.frob.com>
24677
24678 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24679 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24680 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24681 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24682 __eloop_threshold instead of SYMLOOP_MAX.
24683
24684 * sysdeps/generic/eloop-threshold.h: New file.
24685 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24686 of MAXSYMLINKS.
24687 * elf/chroot_canon.c (chroot_canon): Likewise.
24688
7aab07e4
JM
246892012-08-03 Joseph Myers <joseph@codesourcery.com>
24690
24691 [BZ #13717]
24692 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24693 Change to 2.6.0 everywhere.
24694 * sysdeps/unix/sysv/linux/configure: Regenerated.
24695 * sysdeps/unix/sysv/linux/kernel-features.h
24696 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24697 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24698 kernel versions.
24699 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24700 (__ASSUME_FUTEX_REQUEUE): Remove.
24701 (__ASSUME_STATFS64): Define unconditionally.
24702 (__ASSUME_AT_SECURE): Likewise.
24703 (__ASSUME_CORRECT_SI_PID): Likewise.
24704 (__ASSUME_TGKILL): Define without depending on kernel version for
24705 i386.
24706 (__ASSUME_UTIMES): Likewise.
24707 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24708 kernel version.
24709 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24710 (__ASSUME_TMPFS_NAME): Likewise.
24711 * README: Update reference to Linux kernel versions.
24712
b67e9372
MP
247132012-08-02 Marek Polacek <polacek@redhat.com>
24714
1f529f7d 24715 [BZ# 14150]
b67e9372
MP
24716 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24717 libc_cv_asm_type_prefix with %.
24718 * configure: Regenerated.
d2441631
RM
24719 * include/libc-symbols.h: Remove comment about
24720 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24721 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24722 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24723 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24724 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24725 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24726 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24727 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24728 * elf/tst-unique2mod1.c: Likewise.
24729 * elf/tst-unique1mod2.c: Likewise.
24730 * elf/tst-unique1mod1.c: Likewise.
24731 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24732 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24733 Replace ASM_TYPE_DIRECTIVE with .type.
24734 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24735 * sysdeps/i386/sysdep.h: Likewise.
24736 * sysdeps/x86_64/sysdep.h: Likewise.
24737 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24739 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24740 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24741 * sysdeps/powerpc/powerpc32/sysdep.h:
24742 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24743 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24744 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24745 * sysdeps/i386/fpu/e_powf.S: Likewise.
24746 * sysdeps/i386/fpu/e_expl.S: Likewise.
24747 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24748 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24749 * sysdeps/i386/fpu/e_pow.S: Likewise.
24750 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24751 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24752 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24753 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24754 * sysdeps/i386/fpu/e_log2.S: Likewise.
24755 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24756 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24757 * sysdeps/i386/fpu/e_powl.S: Likewise.
24758 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24759 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24760 * sysdeps/i386/fpu/e_logl.S: Likewise.
24761 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24762 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24763 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24764 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24765 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24766 * sysdeps/i386/fpu/e_log.S: Likewise.
24767 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24768 * sysdeps/i386/fpu/e_logf.S: Likewise.
24769 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24770 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24771 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24772 * sysdeps/i386/fpu/e_log10.S: Likewise.
24773 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24774 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24775 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24776 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24777 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24778 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24779 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24780 * sysdeps/i386/i686/strtok.S: Likewise.
24781 * sysdeps/i386/i386-mcount.S: Likewise.
24782 * sysdeps/i386/strtok.S: Likewise.
24783 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24784 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24785 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24786 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24787 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24788 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24789 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24790 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24791 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24792 * sysdeps/x86_64/_mcount.S: Likewise.
24793 * sysdeps/x86_64/strtok.S: Likewise.
24794 * sysdeps/sh/_mcount.S: Likewise.
24795
2747bf9a
RM
247962012-08-01 Roland McGrath <roland@hack.frob.com>
24797
24798 * libio/iofopen.c: Include <fcntl.h>.
24799 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24800 (_IO_fopen64, fopen64): Define as aliases.
24801 * libio/iofopen64.c: Include <fcntl.h>.
24802 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24803 Conditionalize body on this.
24804 * sysdeps/wordsize-64/iofopen.c: File removed.
24805 * sysdeps/wordsize-64/iofopen64.c: File removed.
24806
3fb791b8
MP
248072012-08-01 Marek Polacek <polacek@redhat.com>
24808
24809 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24810 Use dlfcn directly instead of a variable.
24811 (binfmt-subdir): Do not define.
24812 (dlfcn): Likewise.
24813
a9f1039f
JM
248142012-08-01 Joseph Myers <joseph@codesourcery.com>
24815
23bddc06
JM
24816 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24817 Remove all definitions.
24818 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24819 <kernel-features.h>.
24820 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24821 (miss_F_GETOWN_EX): Remove all definitions.
24822 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24823 macro definition.
24824 [!__ASSUME_FCNTL64]: Remove conditional code.
24825 [__ASSUME_FCNTL64]: Make code unconditional.
24826 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24827 <kernel-features.h>.
24828 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24829 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24830 (lockf64) [__NR_fcntl64]: Make code unconditional.
24831 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24832
a9f1039f
JM
24833 * sysdeps/unix/sysv/linux/kernel-features.h
24834 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24835 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24836 Make code unconditional.
24837 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24838 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24840 [__NR_vfork]: Make code unconditional.
24841 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24842 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24844 [__NR_vfork]: Make code unconditional.
24845 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24846 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24847
09c0ee5f
RM
248482012-08-01 Roland McGrath <roland@hack.frob.com>
24849
48aec5b9
RM
24850 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24851 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24852
cd97c966
RM
24853 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24854 Define mkstemp64 as an alias.
3f55550c
RM
24855 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24856 Define mkstemps64 as an alias.
cd97c966
RM
24857 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24858 Define mkostemp64 as an alias.
b8625cfc
RM
24859 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24860 Define mkostemps64 as an alias.
cd97c966
RM
24861 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24862 Conditionalize body on this.
24863 * misc/mkostemp64.c: Likewise.
b8625cfc 24864 * misc/mkostemps64.c: Likewise.
3f55550c 24865 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24866 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24867 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24868 * sysdeps/wordsize-64/mkostemp.c: File removed.
24869 * sysdeps/wordsize-64/mkstemp.c: File removed.
24870 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24871 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24872 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24873 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24874
09c0ee5f
RM
24875 [BZ #14138]
24876 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24877 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24878 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24879 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24880
24881 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24882 compat_symbol macros from <shlib-compat.h> rather than the underlying
24883 default_symbol_version and symbol_version macros, so that DEFAULT
24884 lines in shlib-versions are respected.
24885 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24886
7e66ee51
FW
248872012-08-01 Florian Weimer <fweimer@redhat.com>
24888
24889 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24890 Declare with warn_unused_result.
24891 (setgid, setregid, setegid, setresgid): Likewise.
24892 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24893 Likewise.
24894 * WUR-REPORT: Remove set*id functions.
24895
d2a54255
PT
248962012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24897
24898 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24899
7ecdb005
RM
249002012-07-31 Roland McGrath <roland@hack.frob.com>
24901
b4180a5e 24902 [BZ #10191]
789bd351
RM
24903 * include/sys/socket.h (__libc_accept, __libc_accept4):
24904 Add attribute_hidden.
24905 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24906
40ce302d
RM
24907 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24908 use of PTR_MANGLE.
24909 * inet/getnetgrent_r.c (setup): Likewise.
24910
7ecdb005
RM
24911 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24912
e2eabb2c
DM
249132012-07-31 David S. Miller <davem@davemloft.net>
24914
24915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24916
d0419dbf
JM
249172012-07-31 Joseph Myers <joseph@codesourcery.com>
24918
24919 [BZ #13629]
24920 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24921 value between 1.0 and 2.0 and smaller part has absolute value less
24922 than 1.0.
24923 * math/s_clog10.c (__clog10): Likewise.
24924 * math/s_clog10f.c (__clog10f): Likewise.
24925 * math/s_clog10l.c (__clog10l): Likewise.
24926 * math/s_clogf.c (__clogf): Likewise.
24927 * math/s_clogl.c (__clogl): Likewise.
24928 * math/libm-test.inc (clog_test): Add more tests.
24929 (clog10_test): Likewise.
24930 * sysdeps/i386/fpu/libm-test-ulps: Update.
24931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24932
2bc13872
FW
249332012-07-31 Florian Weimer <fweimer@redhat.com>
24934
24935 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24936 Exit with zero in case no suitable GID is found, and write a
24937 message to standard error.
24938
bea9b193
RM
249392012-07-30 Roland McGrath <roland@hack.frob.com>
24940
24941 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24942 rather than to 1.
24943 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24944 (MAXPATHLEN): Removed.
24945 (NOGROUP, NODEV): New macros.
24946 (setbit, clrbit, isset, isclr): New macros.
24947 (howmany, roundup, powerof2): New macros.
24948 (DEV_BSIZE): New macro.
24949
24950 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24951 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24952
24953 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24954 definition on [!__NO_LONG_DOUBLE_MATH].
24955
24956 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24957 PTR_MANGLE and PTR_DEMANGLE.
24958
24959 * socket/accept4.c (accept4): Rename to __libc_accept4.
24960 Define accept4 as a weak alias.
24961
24962 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24963 on [_DIRENT_HAVE_D_TYPE].
24964 * io/ftw.c (ftw_dir): Likewise.
24965
24966 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24967
24968 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24969
24970 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24971 Use the BSD numbers rather than the arbitrary ones we had.
24972 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24973 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24974 (SIGXCPU, SIGXFSZ): New macros.
24975 (_NSIG): Now 32.
24976
24977 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24978 initializer on [_LIBC_REENTRANT].
24979
24980 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24981 definitions inside [_POSIX_MAPPED_FILES].
24982
24983 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24984
24985 * dirent/opendir.c: Include <fcntl.h>.
24986
24987 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24988 (__libc_getspecific): Likewise.
24989 (__libc_key_create): Likewise.
24990
24991 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24992 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24993 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24994 (tmpfile64): Define as alias.
24995 * sysdeps/wordsize-64/tmpfile.c: File removed.
24996 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24997 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24998 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24999
25000 * stdio-common/vfscanf.c: Include <stdbool.h>.
25001 * nss/makedb.c: Likewise.
25002 * stdio-common/_i18n_number.h: Likewise.
25003 * argp/argp-help.c: Likewise.
25004 * posix/wordexp.c: Likewise.
25005 * sysdeps/posix/spawni.c: Likewise.
25006 * nss/nss_files/files-initgroups.c: Likewise.
25007 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25008 * nss/nss_files/files-initgroups.c: Likewise.
25009 * nss/nss_db/db-netgrp.c: Likewise.
25010 * nss/nss_db/db-initgroups.c: Likewise.
25011 * io/fchmodat.c: Include <sys/stat.h>.
25012
25013 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25014 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25015
25016 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25017 [HAVE_MMAP].
25018
25019 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25020 Add multiple inclusion protection.
25021
e5abc686
DM
250222012-07-27 David S. Miller <davem@davemloft.net>
25023
25024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25025
815e6fa3
GB
250262012-07-27 Gary Benson <gbenson@redhat.com>
25027
25028 [BZ #14298]
25029 * elf/rtld.c: Include <stap-probe.h>.
25030 (dl_main): Added static probes "init_start" and "init_complete".
25031 * elf/dl-load.c: Include <stap-probe.h>.
25032 (lose): Take new parameter "nsid".
25033 Added static probe "map_failed".
25034 (_dl_map_object_from_fd): Pass namespace id to lose.
25035 Added static probe "map_start".
25036 (open_verify): Pass namespace id to lose.
25037 * elf/dl-open.c: Include <stap-probe.h>.
25038 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25039 and "reloc_complete".
25040 * elf/dl-close.c: Include <stap-probe.h>.
25041 (_dl_close_worker): Added static probes "unmap_start" and
25042 "unmap_complete".
25043 * elf/rtld-debugger-interface.txt: New file documenting the above.
25044
9f98c16c
RM
250452012-07-26 Roland McGrath <roland@hack.frob.com>
25046
25047 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25048 rather than a string variable.
25049 * sunrpc/rpc_main.c (h_output): Likewise.
25050 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25051
f3c22df3
PT
250522012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25053
25054 * inet/check_native.c: New file.
25055
3129cfc6
JM
250562012-07-26 Joseph Myers <joseph@codesourcery.com>
25057
da865e95
JM
25058 [BZ #13629]
25059 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25060 if larger part has absolute value 1.0.
25061 * math/s_clog10.c (__clog10): Likewise.
25062 * math/s_clog10f.c (__clog10f): Likewise.
25063 * math/s_clog10l.c (__clog10l): Likewise.
25064 * math/s_clogf.c (__clogf): Likewise.
25065 * math/s_clogl.c (__clogl): Likewise.
25066 * math/libm-test.inc (clog_test): Add more tests.
25067 (clog10_test): Likewise.
25068 * sysdeps/i386/fpu/libm-test-ulps: Update.
25069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25070
3129cfc6
JM
25071 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25072 (pltexit): Likewise.
25073 (La_regs): Likewise.
25074 (La_retval): Likewise.
25075 (int_retval): Likewise.
25076 Update #error for removed macros to refer only to definitions in
25077 tst-audit.h.
25078 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25079 macro.
25080 (pltexit): Likewise.
25081 (La_regs): Likewise.
25082 (La_retval): Likewise.
25083 (int_retval): Likewise.
25084 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25085 macro.
25086 (pltexit): Likewise.
25087 (La_regs): Likewise.
25088 (La_retval): Likewise.
25089 (int_retval): Likewise.
25090 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25091 macro.
25092 (pltexit): Likewise.
25093 (La_regs): Likewise.
25094 (La_retval): Likewise.
25095 (int_retval): Likewise.
25096 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25097 macro.
25098 (pltexit): Likewise.
25099 (La_regs): Likewise.
25100 (La_retval): Likewise.
25101 (int_retval): Likewise.
25102 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25103 macro.
25104 (pltexit): Likewise.
25105 (La_regs): Likewise.
25106 (La_retval): Likewise.
25107 (int_retval): Likewise.
25108 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25109 macro.
25110 (pltexit): Likewise.
25111 (La_regs): Likewise.
25112 (La_retval): Likewise.
25113 (int_retval): Likewise.
25114 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25115 macro definitions in tst-audit.h.
25116 * sysdeps/i386/tst-audit.h: New file.
25117 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25118 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25119 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25120 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25121 * sysdeps/sh/tst-audit.h: Likewise.
25122 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25123 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25124 * sysdeps/x86_64/tst-audit.h: Likewise.
25125
bfc07087
AJ
251262012-07-26 Andreas Jaeger <aj@suse.de>
25127
b1b2aaf8
AJ
25128 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25129 ptrace.
25130
25131 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25132 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25133 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25134 PTRACE_O_MASK.
25135 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25136 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25137 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25138
bfc07087
AJ
25139 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25140 value.
25141
25142 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25143 _sigsys.
25144 (si_call_addr, si_syscall, si_arch): Define new macro.
25145 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25146 _sigsys.
25147 (si_call_addr, si_syscall, si_arch): Define new marcro.
25148 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25149 _sigsys.
25150 (si_call_addr, si_syscall, si_arch): Define new macro.
25151 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25152 _sigsys.
25153 (si_call_addr, si_syscall, si_arch): Define new macro.
25154
89b4b02f
JM
251552012-07-25 Joseph Myers <joseph@codesourcery.com>
25156
25157 [BZ #13717]
25158 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25159 Change to 2.4.21 where previously 2.4.1.
25160 * sysdeps/unix/sysv/linux/configure: Regenerated.
25161 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25162 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25163 Linux kernel version.
25164 (__ASSUME_STD_AUXV): Remove.
25165 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25166 kernel version.
25167 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25168 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25169 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25170 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25171 (__ASSUME_NETLINK_SUPPORT): Likewise.
25172 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25173 (__no_netlink_support): Remove conditional definition.
25174 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25175 Remove.
25176 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25177 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25178 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25179 (if_nameindex_ioctl): Remove.
25180 (if_nameindex_netlink): Do not handle __no_netlink_support.
25181 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25182 code.
25183 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25184 Remove conditional code.
25185 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25186 code.
25187 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25188 unconditional.
25189 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25190 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25191 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25192 Remove.
25193 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25194 [!__ASSUME_STD_AUXV]: Remove conditional code.
25195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25196 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25197 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25199 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25200 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25201 code.
25202 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25204 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25205 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25206 conditional code.
25207 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25209 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25210 code.
25211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25212 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25213 conditional code.
25214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25215 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25216 code unconditional.
25217 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25218 conditional code.
25219 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25220 unconditional.
25221 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25222 conditional code.
25223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25224 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25225 unconditional.
25226 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25227 conditional code.
25228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25229 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25230 code unconditional.
25231 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25232 conditional code.
25233 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25234 unconditional.
25235 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25236 conditional code.
25237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25238 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25239 code unconditional.
25240 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25241 conditional code.
25242 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25243 unconditional.
25244 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25245 conditional code.
25246
842a39cd
AS
252472012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25248
25249 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25250 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25251 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25252 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25253 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25254 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25255 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25256 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25257 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25258 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25259 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25260 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25261 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25262 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25263 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25264 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25265 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25266 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25267 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25269 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25270 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25271 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25272
84b3fd84
FW
252732012-07-25 Florian Weimer <fweimer@redhat.com>
25274
25275 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25276 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25277 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25278 Introduce __libc_secure_getenv.
0c7936d5
FW
25279 * stdlib/Versions (2.17): Add secure_getenv
25280 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25281 * stdlib/secure-getenv.c: Rename __secure_getenv to
25282 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25283 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25284 * stdlib/tst-secure-getenv.c: New.
25285 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25286 * manual/startup.texi (Environment Access): Document
25287 secure_getenv.
84b3fd84
FW
25288 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25289 __libc_secure_getenv.
25290 * inet/ruserpass.c (ruserpass): Likewise.
25291 * malloc/mtrace.c (mtrace): Likewise.
25292 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25293 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25294 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25295 * sysdeps/posix/tempname.c: Likewise. Evaluate
25296 HAVE_SECURE_GETENV.
25297 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25298 __secure_getenv to __libc_secure_getenv.
84b3fd84 25299 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25301 Likewise.
25302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25303 Likewise.
25304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25311
56e49b71
JM
253122012-07-25 Joseph Myers <joseph@codesourcery.com>
25313
25314 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25315 (struct La_i86_retval): Likewise.
25316 (struct La_x86_64_regs): Likewise.
25317 (struct La_x86_64_retval): Likewise.
25318 (struct La_x32_regs): Likewise.
25319 (struct La_x32_retval): Likewise.
25320 (struct La_ppc32_regs): Likewise.
25321 (struct La_ppc32_retval): Likewise.
25322 (struct La_ppc64_regs): Likewise.
25323 (struct La_ppc64_retval): Likewise.
25324 (struct La_sh_regs): Likewise.
25325 (struct La_sh_retval): Likewise.
25326 (struct La_s390_32_regs): Likewise.
25327 (struct La_s390_32_retval): Likewise.
25328 (struct La_s390_64_regs): Likewise.
25329 (struct La_s390_64_retval): Likewise.
25330 (struct La_sparc32_regs): Likewise.
25331 (struct La_sparc32_retval): Likewise.
25332 (struct La_sparc64_regs): Likewise.
25333 (struct La_sparc64_retval): Likewise.
25334 (struct audit_ifaces): Remove architecture-specific pltenter and
25335 pltexit members.
25336 * sysdeps/i386/ldsodefs.h: New file.
25337 * sysdeps/powerpc/ldsodefs.h: Likewise.
25338 * sysdeps/s390/ldsodefs.h: Likewise.
25339 * sysdeps/sh/ldsodefs.h: Likewise.
25340 * sysdeps/sparc/ldsodefs.h: Likewise.
25341 * sysdeps/x86_64/ldsodefs.h: Likewise.
25342
354691b7
MP
253432012-07-25 Marek Polacek <polacek@redhat.com>
25344
25345 [BZ #6808]
25346 * math/libm-test.inc (yn_test): Add another test.
25347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25348 to ERANGE when the result is +-Inf.
25349 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25350 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25351 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25352 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25353
bf9e2071
JM
253542012-07-24 Joseph Myers <joseph@codesourcery.com>
25355
25356 * conform/data/time.h-data (NULL): Use macro-constant. Require
25357 equal to 0.
25358 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25359 clock_t.
25360 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25361
57633811
TS
253622012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25363
25364 * configure.in <sysdeps resolving>: Correct printing
25365 Implies_before.
25366 * configure: Regenerate.
25367
c23c33b0
TS
253682012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25369
25370 * math/w_ilogb.c: Include <limits.h>.
25371 * math/w_ilogbl.c: Likewise.
25372
b5982523
JM
253732012-07-20 Joseph Myers <joseph@codesourcery.com>
25374
25375 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25376 va_copy. Document allowing for unavailable va_copy only as
25377 pre-C99 compatibility.
25378 * manual/string.texi (Copying and Concatenation): Use va_copy
25379 instead of __va_copy in concat example.
25380
ac4ea442
PT
253812012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25382
25383 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25384 (__sendto): Use create_address_port. Initialize APORT and deallocate
25385 it if not null.
25386
f98eafbd
PT
25387 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25388 with O_NOLINK passed to __file_name_lookup.
25389
898c7aab
PT
25390 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25391 with O_NOLINK passed to __file_name_lookup.
25392
0ced335a
PT
25393 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25394 negative N or less than NGIDS.
25395
b3404dbd
PT
25396 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25397 type to string_t. Set ERANGE as errno and return it if NAME is not big
25398 enough. Use memcpy instead of strncpy.
25399
0f48659e
JM
254002012-07-20 Joseph Myers <joseph@codesourcery.com>
25401
25402 * elf/Makefile (check-data): Remove.
25403 (localplt.data): New vpath directive.
25404 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25405 instead of $(check-data).
25406 * scripts/data/localplt-generic.data: Move to ...
25407 * sysdeps/generic/localplt.data: ... here.
25408 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25409 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25410 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25412 ... here.
25413 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25415 ... here.
25416 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25418 ... here.
25419 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25421 ... here.
25422 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25424 ... here.
25425 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25427 ... here.
25428
d37cbdaa
AZ
254292012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25430
25431 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25432 PPC32 and PPC64 files.
25433 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25434 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25435
46f85fc2
AK
254362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25437
25438 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25439 __makecontext_ret to ...
25440 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25441 ... here and call exit if uc_link is NULL. New file.
25442 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25443 __makecontext_ret.S.
25444 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25445 __makecontext_ret to ...
25446 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25447 ... here and call exit if uc_link is NULL. New file.
25448 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25449 __makecontext_ret.S.
25450
08f43f9b
AK
254512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25452
25453 * elf/elf.h (R_390_IRELATIVE): New definition.
25454 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25455 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25456 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25457 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25458 (elf_machine_lazy_rel): Likewise.
25459 * sysdeps/s390/dl-irel.h: New file.
25460 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25461 * sysdeps/s390/s390-64/memset.S: New asm code.
25462 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25463 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25464 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25465 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25466 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25467 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25468 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25469 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25470 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25471 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25472 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25473 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25474 * sysdeps/s390/s390-32/memset.S: New asm code.
25475 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25476
3b05db33
MP
254772012-07-17 Marek Polacek <polacek@redhat.com>
25478
25479 [BZ #14349]
25480 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25481 * sysdeps/s390/s390-64/configure.in: Likewise.
25482 * sysdeps/sparc/configure.in: Likewise.
25483 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25484 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25485 * sysdeps/i386/configure.in: Likewise.
25486 * sysdeps/x86_64/configure.in: Likewise.
25487 * sysdeps/sh/configure.in: Likewise.
25488 * sysdeps/s390/s390-32/configure: Regenerated.
25489 * sysdeps/s390/s390-64/configure: Likewise.
25490 * sysdeps/x86_64/configure: Likewise.
25491 * sysdeps/sh/configure: Likewise.
25492 * sysdeps/powerpc/powerpc64/configure: Likewise.
25493 * sysdeps/powerpc/powerpc32/configure: Likewise.
25494 * sysdeps/sparc/configure: Likwise.
25495 * sysdeps/i386/configure: Likewise.
25496
a66877c6
MP
25497 * elf/dl-open.c: Comment fixes.
25498
cfc82fd8
JM
254992012-07-17 Joseph Myers <joseph@codesourcery.com>
25500
bd29910a
JM
25501 * Makefile [CXX] (check-data): Remove.
25502 [CXX] (c++-types.data): New vpath directive.
25503 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25504 vpath. Do not allow for C++ type data being missing.
25505 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25506 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25507 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25508 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25509 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25510 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25511 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25513 ... here.
25514 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25516 ... here.
25517 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25519 ... here.
25520 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25522 ... here.
25523 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25525 ... here.
25526 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25528 ... here.
25529 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25531 ... here.
25532 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25534
cfc82fd8
JM
25535 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25536 definitions to architecture-specific files.
25537 (TLS_IE): Likewise.
25538 (TLS_LD): Likewise.
25539 (TLS_GD): Likewise.
25540 * sysdeps/i386/tls-macros.h: New file.
25541 * sysdeps/powerpc/tls-macros.h: Likewise.
25542 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25543 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25544 * sysdeps/sh/tls-macros.h: Likewise.
25545 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25546 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25547 * sysdeps/x86_64/tls-macros.h: Likewise.
25548
f7db3170
TS
255492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25550
07cbfc23
TS
25551 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25552 zero value for regular exit case.
25553
f7db3170
TS
25554 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25555 (__start_context): Preserve zero value for regular exit case.
25556
dc97c227
TS
255572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25558 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25559
25560 * manual/setjmp.texi (setcontext): Clarify normal process
25561 termination when uc_link is the null pointer.
25562 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25563 exit call.
25564
d0cd7d02
AS
255652012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25566
25567 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25568 preprocessor. Test for each exception mask separately.
25569
dd318934
AJ
255702012-07-16 Andreas Jaeger <aj@suse.de>
25571
25572 * po/ru.po: Update from translation team.
25573
8048311a
JM
255742012-07-15 Joseph Myers <joseph@codesourcery.com>
25575
25576 * conform/data/string.h-data (NULL): Use macro-constant. Require
25577 equal to 0.
25578 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25579 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25580 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25581 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25583
b637d46e
AJ
255842012-07-13 Andreas Jaeger <aj@suse.de>
25585
25586 * po/fr.po: Update from translation team.
25587
541428fe
MP
255882012-07-12 Marek Polacek <polacek@redhat.com>
25589
25590 [BZ #14173]
25591 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25592 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25593 loop condition.
25594
ec332e94
JM
255952012-07-12 Joseph Myers <joseph@codesourcery.com>
25596
25597 [BZ #13717]
25598 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25599 Change to 2.4.1 where previously 2.4.0.
25600 * sysdeps/unix/sysv/linux/configure: Regenerated.
25601 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25602 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25603 version.
25604 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25605 (__ASSUME_AT_CLKTCK): Remove.
25606 (__ASSUME_AT_PAGESIZE): Likewise.
25607 (__ASSUME_AT_XID): Likewise.
25608 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25609 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25610 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25611 unconditionally.
25612 (HAVE_AUX_PAGESIZE): Likewise.
25613 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25614 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25615 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25616
7b6e99be
JB
256172012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25618
25619 [BZ #14307]
25620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25621 the temporary buffer used to invoke __gethostbyname2_r,
25622 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25623 host_data / struct gaih_addrtuple.
25624 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25625 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25626 header file nss/nsswitch.h.
25627 * nss/nsswitch.h (global scope): Add definition of implementation
25628 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25629 resolv/nss_dns/dns-host.c).
25630
608404eb
AJ
256312012-07-11 Andreas Jaeger <aj@suse.de>
25632
25633 * po/fr.po: Update from translation team.
25634
71220aca
AJ
25635 * po/sv.po: Update from translation team
25636 * po/fr.po: Another update from translation team.
25637
28cfe843
AZ
256382012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25639
25640 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25641 for subnormals or multiply small sinh result by itself.
25642 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25644
6b90f981
DM
256452012-07-11 David S. Miller <davem@davemloft.net>
25646
25647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25648
c6825772
AS
256492012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25650
25651 [BZ #14347]
25652 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25653 (INTERNAL_MARK): Shift it here.
25654
7b8e0d49
MP
256552012-07-10 Marek Polacek <polacek@redhat.com>
25656
25657 [BZ #14151]
25658 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25659 libc_cv_asm_global_directive with .globl.
25660 * configure: Regenerated.
25661 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25662 with .globl.
25663 * sysdeps/i386/configure: Regenerated.
25664 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25665 with .globl.
25666 * sysdeps/x86_64/configure: Regenerated.
25667 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25668 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25669 * elf/tst-unique2mod2.c: Likewise.
25670 * elf/tst-unique2mod1.c: Likewise.
25671 * elf/tst-unique1mod2.c: Likewise.
25672 * elf/tst-unique1mod1.c: Likewise.
25673 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25674 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25675 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25676 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25677 * sysdeps/mach/sysdep.h: Likewise.
25678 * sysdeps/i386/sysdep.h: Likewise.
25679 * sysdeps/i386/i386-mcount.S: Likewise.
25680 * sysdeps/x86_64/_mcount.S: Likewise.
25681 * sysdeps/x86_64/sysdep.h: Likewise.
25682 * sysdeps/sh/_mcount.S: Likewise.
25683 * sysdeps/sh/sysdep.h: Likewise.
25684 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25685 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25686 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25687 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25688 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25689 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25690 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25691 * locale/localeinfo.h: Likewise.
25692 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25693 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25694
6c55cda3
RM
256952012-07-09 Roland McGrath <roland@hack.frob.com>
25696
25697 [BZ #14336]
25698 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25699 system".
25700 * manual/message.texi (The Uniforum approach): Likewise.
25701 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25702 (glibc iconv Implementation): Likewise.
25703
638a572e
JM
257042012-07-09 Joseph Myers <joseph@codesourcery.com>
25705
25706 [BZ #14337]
25707 * math/s_clog.c (__clog): Avoid scaling a value down where that
25708 could result in underflow.
25709 * math/s_clog10.c (__clog10): Likewise.
25710 * math/s_clog10f.c (__clog10f): Likewise.
25711 * math/s_clog10l.c (__clog10l): Likewise.
25712 * math/s_clogf.c (__clogf): Likewise.
25713 * math/s_clogl.c (__clogl): Likewise.
25714 * math/libm-test.inc (clog_test): Add more tests.
25715 (clog10_test): Likewise.
25716 * sysdeps/i386/fpu/libm-test-ulps: Update.
25717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25718
261f4859
AS
257192012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25720
0abaf3e4
AS
25721 [BZ #14283]
25722 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25723 by 7 not 8 to examine high bit of fractional part.
25724
261f4859
AS
25725 [BZ #14042]
25726 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25727 for call to __mcount_internal.
25728 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25729 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25730 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25731
f17ac40d
JM
257322012-07-06 Joseph Myers <joseph@codesourcery.com>
25733
9ad63c23
JM
25734 [BZ #14154]
25735 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25736 approximation for values within 0x1p-13f of an odd multiple of
25737 pi/4.
25738 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25739 exception. Add more tests.
25740 * sysdeps/i386/fpu/libm-test-ulps: Update.
25741
f17ac40d
JM
25742 [BZ #6778]
25743 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25744 inputs and return -1 for them. Do not check for +Inf in case not
25745 reachable for +Inf.
25746 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25747 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25748 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25749 and return -1 for them. Do not check for +Inf in case not
25750 reachable for +Inf.
25751 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25752 define.
25753 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25754 and return -1 for them. Do not check for +Inf in case not
25755 reachable for +Inf.
25756 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25757 spurious underflow.
25758 * sysdeps/i386/fpu/libm-test-ulps: Update.
25759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25760
fb21f89b
MF
257612012-07-06 Mike Frysinger <vapier@gentoo.org>
25762
25763 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25764
cdfe2c5e
JM
257652012-07-05 Joseph Myers <joseph@codesourcery.com>
25766
25767 [BZ #14157]
25768 [BZ #14331]
25769 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25770 could result in spurious underflow. Scale down values above
25771 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25772 * math/s_csqrtf.c (__csqrtf): Likewise.
25773 * math/s_csqrtl.c (__csqrtl): Likewise.
25774 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25775 spurious underflow.
25776 * sysdeps/i386/fpu/libm-test-ulps: Update.
25777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25778
70d35b67
AS
257792012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25780
704bc459
AS
25781 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25782 xopen-msg.sed.
25783 * catgets/xopen-msg.awk: New file.
25784 * catgets/xopen-msg.sed: Removed.
25785
70d35b67
AS
25786 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25787 po2text.sed.
25788 * intl/po2test.awk: New file.
25789 * intl/po2test.sed: Removed.
25790
ca61cf32
JM
257912012-07-04 Joseph Myers <joseph@codesourcery.com>
25792
25793 [BZ #14328]
25794 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25795 or multiply small sinh result by itself.
25796 * math/s_ctanf.c (__ctanf): Likewise.
25797 * math/s_ctanh.c (__ctanh): Likewise.
25798 * math/s_ctanhf.c (__ctanhf): Likewise.
25799 * math/s_ctanhl.c (__ctanhl): Likewise.
25800 * math/s_ctanl.c (__ctanl): Likewise.
25801 * math/libm-test.inc (ctan_test_tonearest): New function.
25802 (ctan_test_towardzero): Likewise.
25803 (ctan_test_downward): Likewise.
25804 (ctan_test_upward): Likewise.
25805 (ctanh_test_tonearest): Likewise.
25806 (ctanh_test_towardzero): Likewise.
25807 (ctanh_test_downward): Likewise.
25808 (ctanh_test_upward): Likewise.
25809 (main): Call these new functions.
25810 * sysdeps/i386/fpu/libm-test-ulps: Update.
25811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25812
ca48a46a
MF
258132012-07-03 Mike Frysinger <vapier@gentoo.org>
25814
25815 * .gitignore: Delete /ports entry.
25816
9d63d37d
AJ
258172012-07-03 Andreas Jaeger <aj@suse.de>
25818
25819 * po/bg.po: Update from translation team.
25820 * po/cs.po: Likewise.
25821 * po/de.po: Likewise.
25822 * po/hr.po: Likewise.
25823 * po/nl.pl: Likewise.
25824 * po/pl.po: Likewise.
25825 * po/vi.po: Likewise.
25826
370ca3d2
JM
258272012-07-03 Joseph Myers <joseph@codesourcery.com>
25828
95f5a9a8
JM
25829 * Makeconfig [!+link] (+link-before-libc): New variable.
25830 [!+link] (+link-after-libc): Likewise.
25831 [!+link] (+link-tests): Likewise.
25832 [!+link] (+link): Define in terms of $(+link-before-libc) and
25833 $(+link-after-libc).
25834 [!+link-static] (+link-static-before-libc): New variable.
25835 [!+link-static] (+link-static-after-libc): Likewise.
25836 [!+link-static] (+link-static-tests): Likewise.
25837 [!+link-static] (+link-static): Define in terms of
25838 $(+link-static-before-libc) and $(+link-static-after-libc).
25839 [build-shared] (link-libc-before-gnulib): New variable.
25840 [build-shared] (link-libc-tests): Likewise.
25841 [build-shared] (link-libc): Define in terms of
25842 $(link-libc-before-gnulib).
25843 [!build-shared] (link-libc-tests): New variable.
25844 (link-libc-static-tests): New variable.
25845 [!gnulib] (gnulib-arch): New variable.
25846 [!gnulib] (gnulib-tests): Likewise.
25847 [!gnulib] (static-gnulib-arch): Likewise.
25848 [!gnulib] (static-gnulib-tests): Likewise.
25849 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25850 Define with "=" instead of ":=".
25851 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25852 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25853 * Rules (binaries-all-notests): New variable.
25854 (binaries-all-tests): Likewise.
25855 (binaries-static-notests): Likewise.
25856 (binaries-static-tests): Likewise.
25857 (binaries-all): Define using $(binaries-all-notests) and
25858 $(binaries-all-tests).
25859 (binaries-static): Define using $(binaries-static-notests) and
25860 $(binaries-static-tests).
25861 (binaries-shared-tests): New variable.
25862 (binaries-shared-notests): Likewise.
25863 (binaries-shared): Remove variable.
25864 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25865 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25866 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25867 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25868 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25869 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25870 * elf/Makefile (sln-modules): New variable.
25871 (extra-objs): Add $(sln-modules:=.o).
25872 (ldconfig-modules): Add static-stubs.
25873 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25874 * elf/static-stubs.c: New file.
25875
7a845b2c
JM
25876 [BZ #14283]
25877 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25878 by 7 not 8 to examine high bit of fractional part. Use volatile
25879 variables when splitting into final array of floats if
25880 __FLT_EVAL_METHOD__ != 0.
25881 * math/libm-test.inc (cos_test): Add another test.
25882 (sin_test): Likewise.
25883 * sysdeps/i386/fpu/libm-test-ulps: Update.
25884
e2283f38
JM
25885 [BZ #14273]
25886 * math/libm-test.inc (cosh_test): Add more tests.
25887
370ca3d2
JM
25888 * version.h (RELEASE): Set to "development".
25889 (VERSION): Set to "2.16.90".
25890
ee9247c3
CD
258912012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25892
25893 * NEWS: Update copyright. Remove last-updated date.
25894 Mention math library bug fixes and timezone data changes.
25895 * README: Mention GNU/Hurd, x32, and HPPA support status.
25896
4648c381
TS
258972012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25898
25899 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25900
aac78a43
AJ
259012012-06-27 Andreas Jaeger <aj@suse.de>
25902
25903 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25904
ed3dbfad
AJ
259052012-06-25 Andreas Jaeger <aj@suse.de>
25906
25907 * sysdeps/s390/fpu/libm-test-ulps: Update.
25908
4d0ee855
AS
259092012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25910 Thomas Schwinge <thomas@codesourcery.com>
25911
25912 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25913 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25914 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25915 fanotify_mark.
25916
af1bce34
TS
259172012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25918
a9fa33ba
TS
25919 * sysdeps/mach/start.c: Remove file.
25920 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25921 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25922 * sysdeps/sh/init-first.c: Likewise.
25923
58f902b8
TS
25924 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25925 registers for frame unwinding purposes, add CFI directives.
25926 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25927 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25928 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25929 Likewise.
25930
1518f58b
TS
25931 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25932 __fortify_fail returning.
25933 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25934
db9b5059
TS
25935 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25936 sysdeps/sh/____longjmp_chk.S.
25937 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25938 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25939 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25940 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25941
967705fe
TS
25942 * sysdeps/sh/abort-instr.h: New file.
25943 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25944 process in case exit returns.
25945
a9def8c4
TS
25946 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25947 initialize the GOT register before use.
25948
2a649725
TS
25949 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25950 calculation of ARGC > 4.
25951
af1bce34
TS
25952 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25953 meaningful names to some local labels.
25954
d230f50a
KK
259552012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25956 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25957
25958 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25959 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25960 (__arch_compare_and_exchange_val_16_acq): Likewise.
25961 (__arch_compare_and_exchange_val_32_acq): Likewise.
25962 (atomic_exchange_and_add): Fix gUSA sequence.
25963 (atomic_add): Likewise.
25964 (atomic_add_negative): Likewise.
25965 (atomic_add_zero): Likewise.
25966 (atomic_bit_test_set): Likewise.
25967
0479b305
AS
259682012-06-22 Andreas Schwab <schwab@redhat.com>
25969
25970 [BZ #13579]
25971 * include/link.h (struct link_map): Add l_free_initfini.
25972 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25973 l_initfini.
25974 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25975 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25976 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25977 set.
25978
0e3933b9
CD
259792012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25980
25981 * configure.in: Use AC_LANG_SOURCE.
25982 * configure: Regenerate.
25983
4248b1b1
RM
259842012-06-22 Roland McGrath <roland@hack.frob.com>
25985
25986 * configure.in (libc_cv_localstatedir): New substituted variable.
25987 * configure: Regenerated.
25988 * config.make.in (localstatedir): New variable, substituted from
25989 libc_cv_localstatedir.
25990 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25991 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25992 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25993 * sysdeps/gnu/configure: Regenerated.
25994
006dd861
JL
259952012-06-21 Jeff Law <law@redhat.com>
25996
25997 [BZ #14277]
25998 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25999 free. Simplify list management for _LIBC case.
26000
79662d42
JM
260012012-06-21 Joseph Myers <joseph@codesourcery.com>
26002
b7abb4bf
JM
26003 [BZ #14273]
26004 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26005 Clear sign bit of 64-bit integer value before comparing against
26006 overflow value.
26007
79662d42
JM
26008 * sysdeps/mach/configure: Regenerated.
26009
1f150908
L
260102012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26011
26012 [BZ #14278]
26013 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26014
28363bbf
JL
260152012-06-21 Jeff Law <law@redhat.com>
26016
26017 [BZ #13882]
26018 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26019 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26020 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26021 * elf/dl-open.c (dl_open_worker): Likewise.
26022
09615db4
CD
260232012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26024
26025 * scripts/list-sources.sh: Scan PORTS for translations.
26026 * po/libc.pot: Regenerated.
26027
2174c6dd
AJ
260282012-06-21 Andreas Jaeger <aj@suse.de>
26029
26030 [BZ #12194]
26031 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26032 warning.
26033 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26034 * bits/byteswap-16.h (__bswap_16): Likewise.
26035 * bits/byteswap.h (__bswap_constant_16): Likewise.
26036
3ee947b1
L
260372012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26038
26039 [BZ #14117]
a2f34833
L
26040 * sysdeps/i386/fpu_control.h: Removed.
26041 * sysdeps/x86_64/fpu_control.h: Moved to ...
26042 * sysdeps/x86/fpu_control.h: Here.
26043
3ee947b1
L
26044 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26045 (_FPU_SETCW): Likewise.
26046
ed1825f8
L
260472012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26048
25f1282a
L
26049 [BZ #14117]
26050 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26051 * sysdeps/x86/fpu/bits/mathinline.h: This.
26052 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26053
ed1825f8
L
26054 [BZ #14050]
26055 [BZ #14117]
26056 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26057 functions if __x86_64__ is defined.
26058
36d54b74
CLT
260592012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26060
26061 * string/endian.h: Add !__ASSEMBLER__ condition for including
26062 conversion interfaces.
26063
10285c21
JM
260642012-06-15 Joseph Myers <joseph@codesourcery.com>
26065
26066 [BZ #14241]
26067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26068 of ABS(x) in calculating zero to negative powers other than odd
26069 integers.
26070 * math/libm-test.inc (pow_test): Add more tests.
26071
06c5abbd
AJ
260722012-06-15 Andreas Jaeger <aj@suse.de>
26073
26074 * manual/contrib.texi (Contributors): Update entry of Liubov
26075 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26076 Machado Filho.
26077
a3aeac40
CH
260782012-06-15 Cyril Hrubis <metan@ucw.cz>
26079
26080 * string/string.h: Add __wur to GNU version of strerror_r.
26081
49bdf4c1
L
260822012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26083
26084 [BZ #14229]
26085 * string/Makefile (tests): Add tst-strtok_r.
26086 * string/tst-strtok_r.c: New file.
26087 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26088 RAX_LP/RDX_LP on SAVE_PTR.
26089
834f9b8d
RM
260902012-06-14 Roland McGrath <roland@hack.frob.com>
26091
26092 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26093
75fa1921
JM
260942012-06-14 Joseph Myers <joseph@codesourcery.com>
26095
26096 * libm_test.inc (csqrt_test): Allow more spurious underflow
26097 exceptions.
26098 (j0_test): Likewise.
26099 (j1_test): Likewise.
26100 (y0_test): Likewise.
26101 (y1_test): Likewise.
26102
771766df
CD
261032012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26104
26105 * po/Makefile (libc.pot): Use UTF-8 charset.
26106
ceb9e56b
PP
261072012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26108
26109 [BZ #14210]
26110 Suppress sign-conversion warning from FD_SET.
26111 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26112 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26113 not unsigned long int.
26114 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26115
ddb28975
L
261162012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26117
26118 [BZ #14050]
26119 [BZ #14117]
26120 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26121 __extern_always_inline instead of __extern_inline.
26122 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26123 (__signbit): Likewise.
26124 (__signbitl): Support C++ namespace.
26125 (lrintf): New inline function.
26126 (lrint): Likewise.
26127 (llrintf): Likewise.
26128 (llrint): Likewise.
26129 (fmaxf): Likewise.
26130 (fmax): Likewise.
26131 (fminf): Likewise.
26132 (fmin): Likewise.
26133 (rint): Likewise.
26134 (rintf): Likewise.
26135 (ceil): Likewise.
26136 (ceilf): Likewise.
26137 (floor): Likewise.
26138 (floorf): Likewise.
26139 (nearbyint): Likewise.
26140 (nearbyintf): Likewise.
26141
d7b4fb26
TS
261422012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26143
26144 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26145 non-default versions.
26146
eb55f5c2
RM
261472012-06-11 Roland McGrath <roland@hack.frob.com>
26148
26149 [BZ #14218]
26150 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26151
366af02c
TS
261522012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26153
99ff6e5c
TS
26154 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26155 (FE_UPWARD, FE_DOWNWARD): Don't define.
26156 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26157 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26158
366af02c
TS
26159 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26160 reading it.
26161 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26162 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26163
793ea851
KK
261642012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26165
26166 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26167 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26168 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26169 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26170
a728a38f
L
261712012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26172
26173 [BZ #14117]
c08010c7
L
26174 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26175 * sysdeps/i386/fpu/Implies: New file.
26176 * sysdeps/x86_64/fpu/Implies: Likewise.
26177 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26178 * sysdeps/x86/fpu/bits/fenv.h: This.
26179
a728a38f
L
26180 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26181 __SSE_MATH__.
26182
6e230d11
SP
261832012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26184
26185 [BZ #14134]
26186 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26187 character 0xffff that matches the last element of the
26188 conversion table.
26189
1b671feb
AZ
261902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26191
26192 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26193 fmodl commit.
26194
6043738b
AZ
261952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26196
26197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26198 values higher than 25.6283.
26199
34ae0b32
AZ
262002012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26201
26202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26203 subnormal exponent extraction and add some __builtin_expect.
26204 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26205 Fix for subnormal mantissa calculation.
26206
1214ec8f
MF
262072012-06-04 Mike Frysinger <vapier@gentoo.org>
26208
26209 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26210 cpu2 is -1 and errno is not ENOSYS.
26211
f3d1f93c
L
262122012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26213
26214 [BZ #14117]
0e4a3cd7
L
26215 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26216 * sysdeps/x86/bits/string.h: This.
26217 * sysdeps/x86_64/bits/string.h: Removed.
26218
6704c645
L
26219 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26220 if not compiling for x86-64, but compiling for >= i486.
26221
48495318
L
26222 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26223 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26224
14adcbfc
L
26225 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26226 New macro from Linux kernel 3.4.0.
26227 (FP_XSTATE_MAGIC2): Likewise.
26228 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26229 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26230 (struct _fpx_sw_bytes): New struct.
26231 (struct _xsave_hdr): Likewise.
26232 (struct _ymmh_state): Likewise.
26233 (struct _xstate): Likewise.
26234
68e408ab
L
26235 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26236 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26237 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26238 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26239 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26240 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26241
f3d1f93c
L
26242 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26243 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26244 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26245 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26246 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26247 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26248
d9dc34cd
TMQMF
262492012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26250
26251 [BZ #13743]
26252 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26253 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26254 (sysdep_headers): Include sys/platform/ppc.h.
26255 * sysdeps/powerpc/test-gettimebase.c: Test for
26256 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26257 * manual/Makefile (appendices): Include platform.texi.
26258 * manual/contrib.texi (Contributors): Update @node pointers.
26259 * manual/maint.texi (Maintenance): Likewise.
26260 (Platform): New node.
26261 * manual/platform.texi: New file. Document the new features.
26262
4af3879c
SP
262632012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26264 Jakub Jelinek <jakub@redhat.com>
26265
26266 [BZ #14188]
26267 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26268 where __builtin_expect is unavailable.
26269
2fd6ff13
DM
262702012-06-03 David S. Miller <davem@davemloft.net>
26271
26272 * stdlib/longlong.h: Updated from GCC.
26273
173f7220
AS
262742012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26275
26276 [BZ #14042]
26277 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26278 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26279 __mcount_internal.
26280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26281 (GLIBC_2.16): Likewise.
26282
f34a1c6f
L
262832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26284
26285 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26286
88a4576f
JM
262872012-06-01 Joseph Myers <joseph@codesourcery.com>
26288
ea32bcdd
JM
26289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26290 (default-abi): New variable.
26291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26292 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26293 variable.
26294 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26295 Likewise.
26296 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26297 Likewise.
26298 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26299 Likewise.
26300
88a4576f
JM
26301 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26302 definition. Document in comment.
26303
402fe938
DM
263042012-06-01 David S. Miller <davem@davemloft.net>
26305
26306 * stdlib/longlong.h: Updated from GCC.
26307
3553723f
L
263082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26309
26310 [BZ #14117]
3bd872c4
L
26311 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26312 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26313 sys/debugreg.h sys/io.h here.
26314 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26315 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26316 sys/io.h.
26317 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26318 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26319 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26320 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26321 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26322 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26323
3553723f
L
26324 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26325 Define only if __x86_64__ is defined.
26326
4842e4fe
JM
263272012-06-01 Joseph Myers <joseph@codesourcery.com>
26328
c5bfe3d5
JM
26329 [BZ #14048]
26330 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26331 Use int64_t for variable i.
26332 * math/libm-test.inc (fmod_test): Add more tests.
26333
4842e4fe
JM
26334 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26335 z computation is not scheduled after fetestexcept.
26336 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26337 Use math_force_eval instead of asm to ensure calculation scheduled
26338 before exception test.
26339 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26340 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26341
efb73488
AJ
263422012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26343
26344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26345 computation is not scheduled after fetestexcept.
26346
29bcce7c
L
263472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26348
26349 [BZ #14117]
26350 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26351 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26352
73a68f94
AZ
263532012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26354
26355 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26356 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26357
67b6df78
L
263582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26359
edf2933a 26360 [BZ #14117]
ebc64a18
L
26361 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26362 <bits/wordsize.h>.
26363 (__WCHAR_MIN): Support __WORDSIZE == 64.
26364 (__WCHAR_MAX): Likewise.
26365
edf2933a
L
26366 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26367 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26368
57c6cf40
L
26369 [BZ #14183]
26370 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26371 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26372
67b6df78 26373 [BZ #14117]
8eb6281e
L
26374 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26375 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26376
aac639f4
L
26377 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26378 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26379
67b6df78
L
26380 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26381 Defined to 1 if __x86_64__ isn't defined.
26382 (_STAT_VER_LINUX_OLD): New.
26383 (st_atime): Remove duplicate.
26384 (st_mtime): Likewise.
26385 (st_ctime): Likewise.
26386
1c2cfe81
DM
263872012-05-31 David S. Miller <davem@davemloft.net>
26388
26389 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26390 entries.
26391
5be8418c
AS
263922012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26393
e7725326
AS
26394 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26395 gen-libm-test.pl.
26396
5be8418c
AS
26397 [BZ #14132]
26398 * elf/dl-reloc.c: Include <_itoa.h>.
26399 (_dl_reloc_bad_type): Remove use of INTUSE.
26400 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26401 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26402 * stdio-common/psiginfo.c (psiginfo): Likewise.
26403 * stdio-common/psignal.c (psignal): Likewise.
26404 * string/strsignal.c (strsignal): Likewise.
26405 * include/signal.h (_sys_siglist): Declare hidden proto.
26406 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26407 INTVARDEF with libc_hidden_data_def.
26408 * stdio-common/itoa-udigits.c: Likewise.
26409 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26410 (_itoa_lower_digits_internal): Remove declaration.
26411 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26412 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26413 (_sys_sigabbrev_internal): Remove aliases.
26414 (_sys_siglist): Define hidden alias.
26415
507352f1
MT
264162012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26417
26418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26419 bits/sysctl.h.
26420
42bbb1c3
L
264212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26422
26423 [BZ #14117]
6bd784b6
L
26424 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26425 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26426
8bca20f0
L
26427 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26428 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26429 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26430 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26431 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26432 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26433
f9e890a9
L
26434 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26435 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26436 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26437
471101a1
L
26438 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26439 with __addr.
26440 (insw): Likewise.
26441 (insl): Likewise.
26442 (outsb): Likewise.
26443 (outsw): Likewise.
26444 (outsl): Likewise.
26445
6451c862
L
26446 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26447 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26448 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26449
a254b8c9
L
26450 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26451 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26452 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26453 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26454 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26455 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26456
b8dfdd92
L
26457 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26458 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26459
578cd270
L
26460 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26461 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26462
de662f5f
L
26463 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26464 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26465 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26466
25653439
L
26467 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26468 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26469 to ...
26470 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26471
6bad24a0
L
26472 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26473 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26474 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26475
42bbb1c3
L
26476 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26477 for x86-64.
26478 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26479
2d10d547
JM
264802012-05-31 Joseph Myers <joseph@codesourcery.com>
26481
26482 * math/math.h (M_El): Use two more decimal places.
26483 (M_LOG2El): Likewise.
26484 (M_LOG10El): Likewise.
26485 (M_LN2l): Likewise.
26486 (M_LN10l): Likewise.
26487 (M_PIl): Likewise.
26488 (M_PI_2l): Likewise.
26489 (M_PI_4l): Likewise.
26490 (M_1_PIl): Likewise.
26491 (M_2_PIl): Likewise.
26492 (M_2_SQRTPIl): Likewise.
26493 (M_SQRT2l): Likewise.
26494 (M_SQRT1_2l): Likewise.
26495
f230c29b
DM
264962012-05-31 David S. Miller <davem@davemloft.net>
26497
26498 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26499 values between float registers.
26500 * sysdeps/sparc/sparc64/memset.S: Likewise.
26501 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26502
fed806c3
MF
265032012-05-31 Mike Frysinger <vapier@gentoo.org>
26504
26505 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26506 -D_FORTIFY_SOURCE=1.
26507 (CPPFLAGS-tst-longjmp_chk.c): Define.
26508 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26509 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26510 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26511 CFLAGS-tst-wchar-h.c.
26512
30917259
MP
265132012-05-31 Marek Polacek <polacek@redhat.com>
26514
26515 [BZ #14132]
26516 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26517 __endmntent_internal): Remove declaration.
26518 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26519 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26520 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26521
1c58d5dc
DM
265222012-05-30 David S. Miller <davem@davemloft.net>
26523
26524 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26525 (___Q_simulate_exceptions): Use real FP ops rather than writing
26526 into the %fsr.
26527 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26528 Likewise.
26529
7dc00e0d
L
265302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26531
26532 [BZ #14117]
0bd53985
L
26533 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26534 * sysdeps/x86/bits/xtitypes.h: This.
26535
3a257e66
L
26536 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26537 * sysdeps/x86/bits/wordsize.h: This.
26538
62f62904
L
26539 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26540 * sysdeps/x86/bits/huge_vall.h: This.
26541
404fe9d9
L
26542 * sysdeps/i386/bits/select.h: Removed.
26543 * sysdeps/x86_64/bits/select.h: Renamed to ...
26544 * sysdeps/x86/bits/select.h: This.
26545
d48d0446
L
26546 * sysdeps/i386/bits/setjmp.h: Removed.
26547 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26548 * sysdeps/x86/bits/setjmp.h: This.
26549
7dc00e0d
L
26550 * sysdeps/i386/bits/mathdef.h: Removed.
26551 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26552 * sysdeps/x86/bits/mathdef.h: This.
26553
03277f8f
AS
265542012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26555
26556 [BZ #14132]
26557 * include/sys/socket.h (__connect_internal)
26558 (__libc_sa_len_internal): Remove declaration.
26559 (__connect, __libc_sa_len): Declare hidden_proto.
26560 (SA_LEN): Remove use of INTUSE.
26561 * socket/connect.c: Add libc_hidden_def.
26562 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26563 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26564 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26565 alias.
26566 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26567 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26568 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26569 of adding _internal alias.
26570
13764867
L
265712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26572
26573 [BZ #14117]
6bd97696
L
26574 * sysdeps/i386/bits/link.h: Removed.
26575 * sysdeps/i386/bits/linkmap.h: Likewise.
26576 * sysdeps/x86_64/bits/link.h: Renamed to ...
26577 * sysdeps/x86/bits/link.h: This.
26578 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26579 * sysdeps/x86/bits/linkmap.h: This.
26580
f726f0bb
L
26581 * sysdeps/i386/bits/endian.h: Removed.
26582 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26583 * sysdeps/x86/bits/endian.h: This.
26584
13764867
L
26585 * sysdeps/i386/bits/byteswap.h: Removed.
26586 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26587 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26588 * sysdeps/x86/bits/byteswap.h: This.
26589 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26590 * sysdeps/x86/bits/byteswap-16.h: This.
26591 * sysdeps/i386/Implies: Add x86.
26592 * sysdeps/x86_64/Implies: Likewise.
26593
ae251b0b
DM
265942012-05-30 David S. Miller <davem@davemloft.net>
26595
26596 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26597 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26598 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26599 (FP_TRAPPING_EXCEPTIONS): Define.
26600 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26601 (FP_TRAPPING_EXCEPTIONS): Define.
26602 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26603 subnormals only when inexact has been signalled or underflow
26604 exceptions are enabled.
26605 (_FP_PACK_CANONICAL): Likewise.
26606
d5c90867
L
266072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26608
26609 [BZ #14183]
26610 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26611 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26612
63f1549e
RH
266132012-05-30 Richard Henderson <rth@twiddle.net>
26614
8d8f2279
RH
26615 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26616 with #ifndef NOT_IN_libc.
26617
63f1549e
RH
26618 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26619 marked to avoid plt entry.
26620
0ab0291b
L
266212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26622
26623 [BZ #14112]
26624 * Makeconfig (default-abi): New macro.
26625 (abi-includes): Likewise.
26626 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26627 $(abi-$(default-abi)-lib-soname) for soname if defined.
26628 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26629 abi-variants.
26630 * Makefile (installed-stubs): Likewise.
26631 * include/stubs-biarch.h: Removed.
26632 * scripts/lib-names.awk: Only handle one library at a time.
26633 * scripts/soversions.awk: Remove WORDSIZE support.
26634 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26635 entries.
26636 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26637 Removed.
26638 (syscall-list-default-condition): Likewise.
26639 (syscall-list-default-condition): Likewise.
26640 (syscall-list-includes): Likewise.
26641 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26642 syscall-list-* with abi-*. Handle undefined abi-variants.
26643 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26644 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26645 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26646 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26647 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26648 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26649 Removed.
26650 (syscall-list-32-options): Likewise.
26651 (syscall-list-32-condition): Likewise.
26652 (syscall-list-64-options): Likewise.
26653 (syscall-list-64-condition): Likewise.
26654 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26655 macro.
26656 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26657 Renamed to ...
26658 (abi-*): This.
26659 (abi-64-ld-soname): New macro.
26660 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26661 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26662 Renamed to ...
26663 (abi-*): This.
26664 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26665 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26666
4da0431d
JM
266672012-05-30 Joseph Myers <joseph@codesourcery.com>
26668
3a85279c
JM
26669 * sysdeps/unix/sysv/linux/kernel-features.h
26670 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26671 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26672 include <kernel-features.h>.
26673 [!__NR_ftruncate64]: Remove conditional code.
26674 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26675 [__NR_ftruncate64]: Make code unconditional.
26676 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26677 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26678 include <kernel-features.h>.
26679 [!__NR_ftruncate64]: Remove conditional code.
26680 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26681 [__NR_ftruncate64]: Make code unconditional.
26682 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26684 include <kernel-features.h>.
26685 [!__NR_ftruncate64]: Remove conditional code.
26686 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26687 [__NR_ftruncate64]: Make code unconditional.
26688 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26690 include <kernel-features.h>.
26691 [!__NR_ftruncate64]: Remove conditional code.
26692 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26693 [__NR_ftruncate64]: Make code unconditional.
26694 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26695
4da0431d
JM
26696 * configure.in (libc_cv_fpie): Weaken to a compile test using
26697 LIBC_TRY_CC_OPTION.
26698 * configure: Regenerated.
26699
11ef492c
AK
267002012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26701
26702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26706 Refreshed.
26707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26713 Refreshed.
26714
d66ef399
DM
267152012-05-27 David S. Miller <davem@davemloft.net>
26716
26717 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26718 (___Q_zero): New.
26719 (__Q_simulate_exceptions): Return void. Change to simulate
26720 exceptions by writing into the %fsr.
26721 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26722 (__Qp_handle_exceptions): Likewise.
26723 (numbers): Delete.
26724 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26725 __Qp_handle_exceptions.
26726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26727 __Qp_handle_exceptions.
26728 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26729 as unused and give dummy FP_RND_NEAREST initializer.
26730 (FP_INHIBIT_RESULTS): Define.
26731 (___Q_simulate_exceptions): Update declaration.
26732 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26733 formatting.
26734 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26735 as unused and give dummy FP_RND_NEAREST initializer.
26736 (__Qp_handle_exceptions): Update declaration.
26737 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26738 formatting.
26739
04fb54b5
TS
267402012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26741
26742 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26743 the temporary FPU control word.
26744 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26745 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26746 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26747 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26748 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26749 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26750 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26751 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26752 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26753 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26754 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26755
3f99608f
KK
267562012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26757
26758 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26759 fields.
26760
65a4de4e
CLT
267612012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26762
26763 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26764 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26765 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26766 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26767 Likewise.
26768 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26769 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26770 Likewise.
26771
15749d40
UD
267722012-05-27 Ulrich Drepper <drepper@gmail.com>
26773
26774 * po/h.po: Update from translation team.
26775
25dbcb27
AS
267762012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26777
3d3f8e55
AS
26778 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26779
25dbcb27
AS
26780 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26781 handling of denormals.
26782 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26783 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26784 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26785 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26786 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26788 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26789 Likewise.
26790
7ad47a80 267912012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26792
26793 [BZ #14152]
26794 * math/libm-test.inc (fma_test): Don't always expect underflow
26795 exception.
26796
9c6ea9fa
SP
267972012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26798
26799 [BZ #12416]
26800 * elf/tst-execstack.c: Include stackinfo.h.
26801 (do_test): Adjust test case to ensure that pthread_getattr_np
26802 behaviour remains the same after marking stack executable.
26803
a8239222
JM
268042012-05-25 Joseph Myers <joseph@codesourcery.com>
26805
26806 * sysdeps/unix/sysv/linux/kernel-features.h
26807 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26808 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26809 kernel-features.h.
26810 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26811 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26812 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26813 kernel-features.h.
26814 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26815 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26816
918b5606
L
268172012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26818
26819 * configure.in: Define the default includes to being none.
26820 * configure: Regenerated.
26821
3a097cc7
RM
268222012-05-25 Roland McGrath <roland@hack.frob.com>
26823
8422c9a5
RM
26824 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26825 * sysdeps/x86_64/setjmp.S: Likewise.
26826 * sysdeps/i386/bsd-setjmp.S: Likewise.
26827 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26828 * sysdeps/i386/setjmp.S: Likewise.
26829 * sysdeps/i386/__longjmp.S: Likewise.
26830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26831 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26832
3a097cc7
RM
26833 * include/stap-probe.h: New file.
26834 * configure.in: Handle --enable-systemtap.
26835 * configure: Regenerated.
26836 * config.h.in (USE_STAP_PROBE): New #undef.
26837 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26838 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26839 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26840
21708942
JM
268412012-05-25 Joseph Myers <joseph@codesourcery.com>
26842
26843 [BZ #13717]
26844 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26845 to 2.4.0 where earlier.
26846 * sysdeps/unix/sysv/linux/configure: Regenerated.
26847 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26848 <kernel-features.h>.
26849 [__ASSUME_32BITUIDS]: Make code unconditional.
26850 [!__ASSUME_32BITUIDS]: Remove conditional code.
26851 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26852 <kernel-features.h>.
26853 [__ASSUME_32BITUIDS]: Make code unconditional.
26854 [!__ASSUME_32BITUIDS]: Remove conditional code.
26855 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26856 [__ASSUME_32BITUIDS]: Make code unconditional.
26857 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26858 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26859 <kernel-features.h>.
26860 [__ASSUME_32BITUIDS]: Make code unconditional.
26861 [!__ASSUME_32BITUIDS]: Remove conditional code.
26862 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26863 <kernel-features.h>.
26864 [__ASSUME_32BITUIDS]: Make code unconditional.
26865 [!__ASSUME_32BITUIDS]: Remove conditional code.
26866 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26867 <kernel-features.h>.
26868 [__ASSUME_32BITUIDS]: Make code unconditional.
26869 [!__ASSUME_32BITUIDS]: Remove conditional code.
26870 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26871 <kernel-features.h>.
26872 [__ASSUME_32BITUIDS]: Make code unconditional.
26873 [!__ASSUME_32BITUIDS]: Remove conditional code.
26874 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26875 <kernel-features.h>.
26876 [__ASSUME_32BITUIDS]: Make code unconditional.
26877 [!__ASSUME_32BITUIDS]: Remove conditional code.
26878 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26879 <kernel-features.h>.
26880 [__ASSUME_32BITUIDS]: Make code unconditional.
26881 [!__ASSUME_32BITUIDS]: Remove conditional code.
26882 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26883 <kernel-features.h>.
26884 [__ASSUME_32BITUIDS]: Make code unconditional.
26885 [!__ASSUME_32BITUIDS]: Remove conditional code.
26886 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26887 <kernel-features.h>.
26888 [__ASSUME_32BITUIDS]: Make code unconditional.
26889 [!__ASSUME_32BITUIDS]: Remove conditional code.
26890 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26891 <kernel-features.h>.
26892 [__ASSUME_32BITUIDS]: Make code unconditional.
26893 [!__ASSUME_32BITUIDS]: Remove conditional code.
26894 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26895 <kernel-features.h>.
26896 [__ASSUME_32BITUIDS]: Make code unconditional.
26897 [!__ASSUME_32BITUIDS]: Remove conditional code.
26898 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26899 <kernel-features.h>.
26900 [__NR_setresgid] (__setresgid): Do not declare.
26901 [__ASSUME_32BITUIDS]: Make code unconditional.
26902 [!__ASSUME_32BITUIDS]: Remove conditional code.
26903 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26904 <kernel-features.h>.
26905 [__NR_setresuid] (__setresuid): Do not declare.
26906 [__ASSUME_32BITUIDS]: Make code unconditional.
26907 [!__ASSUME_32BITUIDS]: Remove conditional code.
26908 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26909 <kernel-features.h>.
26910 [__ASSUME_32BITUIDS]: Make code unconditional.
26911 [!__ASSUME_32BITUIDS]: Remove conditional code.
26912 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26913 <kernel-features.h>.
26914 [__ASSUME_32BITUIDS]: Make code unconditional.
26915 [!__ASSUME_32BITUIDS]: Remove conditional code.
26916 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26917 <kernel-features.h>.
26918 [__ASSUME_32BITUIDS]: Make code unconditional.
26919 [!__ASSUME_32BITUIDS]: Remove conditional code.
26920 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26921 <kernel-features.h>.
26922 [__ASSUME_32BITUIDS]: Make code unconditional.
26923 [!__ASSUME_32BITUIDS]: Remove conditional code.
26924 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26925 <kernel-features.h>.
26926 [__ASSUME_32BITUIDS]: Make code unconditional.
26927 [!__ASSUME_32BITUIDS]: Remove conditional code.
26928 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26929 <kernel-features.h>.
26930 [__ASSUME_32BITUIDS]: Make code unconditional.
26931 [!__ASSUME_32BITUIDS]: Remove conditional code.
26932 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26933 <kernel-features.h>.
26934 [__ASSUME_32BITUIDS]: Make code unconditional.
26935 [!__ASSUME_32BITUIDS]: Remove conditional code.
26936 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26937 <kernel-features.h>.
26938 [__ASSUME_32BITUIDS]: Make code unconditional.
26939 [!__ASSUME_32BITUIDS]: Remove conditional code.
26940 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26941 <kernel-features.h>.
26942 [__ASSUME_32BITUIDS]: Make code unconditional.
26943 [!__ASSUME_32BITUIDS]: Remove conditional code.
26944 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26945 <kernel-features.h>.
26946 [__ASSUME_32BITUIDS]: Make code unconditional.
26947 [!__ASSUME_32BITUIDS]: Remove conditional code.
26948 * sysdeps/unix/sysv/linux/kernel-features.h
26949 (__ASSUME_SETRESUID_SYSCALL): Remove.
26950 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26951 (__ASSUME_32BITUIDS): Likewise.
26952 (__ASSUME_LDT_WORKS): Likewise.
26953 (__ASSUME_O_DIRECTORY): Likewise.
26954 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26955 architecture but not kernel version.
26956 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26957 (__ASSUME_MMAP2_SYSCALL): Likewise.
26958 (__ASSUME_STAT64_SYSCALL): Likewise.
26959 (__ASSUME_IPC64): Likewise.
26960 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26961 <kernel-features.h>.
26962 [__ASSUME_32BITUIDS]: Make code unconditional.
26963 [!__ASSUME_32BITUIDS]: Remove conditional code.
26964 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26965 <kernel-features.h>.
26966 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26967 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26968 132096]: Remove conditional code.
26969 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26970 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26971 <kernel-features.h>.
26972 [__ASSUME_32BITUIDS]: Make code unconditional.
26973 [!__ASSUME_32BITUIDS]: Remove conditional code.
26974 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26975 <kernel-features.h>.
26976 [__ASSUME_32BITUIDS]: Make code unconditional.
26977 [!__ASSUME_32BITUIDS]: Remove conditional code.
26978 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26979 <kernel-features.h>.
26980 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26981 unconditional.
26982 (__setresgid): Do not declare.
26983 [__ASSUME_32BITUIDS]: Make code unconditional.
26984 [!__ASSUME_32BITUIDS]: Remove conditional code.
26985 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26986 <kernel-features.h>.
26987 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26988 unconditional.
26989 (__setresuid): Do not declare.
26990 [__ASSUME_32BITUIDS]: Make code unconditional.
26991 [!__ASSUME_32BITUIDS]: Remove conditional code.
26992 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26993 <kernel-features.h>.
26994 [__ASSUME_32BITUIDS]: Make code unconditional.
26995 [!__ASSUME_32BITUIDS]: Remove conditional code.
26996 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26997 <kernel-features.h>.
26998 [__ASSUME_32BITUIDS]: Make code unconditional.
26999 [!__ASSUME_32BITUIDS]: Remove conditional code.
27000
a386f1cc
RH
270012012-05-25 Richard Henderson <rth@twiddle.net>
27002
27003 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27004 dl_hwcap to ifunc resolver.
27005 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27006 elf_ifunc_invoke.
27007 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27008 dl_hwcap to ifunc resolver.
27009 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27010
b6550497
JM
270112012-05-24 Joseph Myers <joseph@codesourcery.com>
27012
27013 [BZ #14153]
27014 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27015 for |x| <= 2**-26, not 2**-57.
27016 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27017 exception.
27018
b0bc23a1
JL
270192012-05-24 Jeff Law <law@redhat.com>
27020
27021 * stdio-common/Makefile (tests): Add bug25.
27022 * stdio-common/bug25.c: New test.
27023
347c92e9
L
270242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27025
27026 [BZ #13576]
27027 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27028 multiple of MALLOC_ALIGNMENT in size.
27029 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27030
6bcc8b3f
JM
270312012-05-24 Joseph Myers <joseph@codesourcery.com>
27032
27033 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27034 Require >= 256.
27035 (FILENAME_MAX): Use macro-int-constant.
27036 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27037 (_IOFBF): Use macro-int-constant.
27038 (_IOLBF): Likewise.
27039 (_IONBF): Likewise.
27040 (SEEK_CUR): Likewise.
27041 (SEEK_END): Likewise.
27042 (SEEK_SET): Likewise.
27043 (TMP_MAX): Likewise.
27044 (EOF): Use macro-int-constant. Require < 0.
27045 (NULL): Use macro-constant. Require == 0.
27046 (stdin): Require type to be FILE *.
27047 (stdout): Likewise.
27048 (stderr): Likewise.
27049 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27050 macro-int-constant.
27051 (EXIT_SUCCESS): Likewise.
27052 (NULL): Use macro-constant. Require == 0.
27053 (RAND_MAX): Use macro-int-constant.
27054 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27055 [C99-based standards] (strtof): Require function.
27056 [C99-based standards] (strtold): Likewise.
27057 [C99-based standards] (strtoll): Likewise.
27058 [C99-based standards] (strtoull): Likewise.
27059 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27060 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27061 [ISO || ISO99 || ISO11] (math.h): Likewise.
27062 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27063 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27064 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27065
d18ea0c5
AS
270662012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27067
27068 [BZ #14132]
56d25bb8
AS
27069 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27070 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27071 * intl/dgettext.c (DCGETTEXT): Likewise.
27072 * intl/gettext.c (DCGETTEXT): Likewise.
27073 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27074 * posix/regex_internal.h (gettext): Likewise.
27075 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27076 Remove declaration.
27077 * include/argz.h (__argz_count_internal)
27078 (__argz_stringify_internal): Remove declaration.
27079 (__argz_count, __argz_stringify): Declare hidden proto.
27080 * intl/dcgettext.c: Remove use of INTDEF.
27081 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27082 * string/argz-stringify.c: Likewise.
27083 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27084 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27085 Declare hidden proto.
d18ea0c5
AS
27086 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27087 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27088 Declare hidden proto.
27089 * include/stdio.h (__asprintf_internal): Don't declare.
27090 (__asprintf): Don't define as macro. Declare hidden proto.
27091 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27092 (__fsetlocking): Declare hidden proto.
27093 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27094 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27095 hidden proto.
27096 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27097 (_IO_setlinebuf): Remove use of INTUSE.
27098 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27099 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27100 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27101 Remove declaration.
27102 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27103 (_IO_do_flush): Remove use of INTUSE.
27104 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27105 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27106 (_IO_adjust_column, _IO_least_wmarker)
27107 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27108 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27109 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27110 (_IO_default_doallocate, _IO_wdefault_doallocate)
27111 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27112 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27113 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27114 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27115 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27116 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27117 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27118 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27119 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27120 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27121 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27122 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27123 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27124 proto.
27125 (_IO_flush_all_internal, _IO_adjust_column_internal)
27126 (_IO_default_uflow_internal, _IO_default_finish_internal)
27127 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27128 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27129 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27130 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27131 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27132 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27133 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27134 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27135 (_IO_file_close_internal, _IO_file_close_it_internal)
27136 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27137 (_IO_file_init_internal, _IO_file_attach_internal)
27138 (_IO_file_fopen_internal, _IO_file_read_internal)
27139 (_IO_file_sync_internal, _IO_file_seek_internal)
27140 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27141 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27142 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27143 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27144 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27145 (_IO_list_all_internal, _IO_link_in_internal)
27146 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27147 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27148 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27149 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27150 (_IO_do_write_internal, _IO_padn_internal)
27151 (_IO_getline_info_internal, _IO_getline_internal)
27152 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27153 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27154 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27155 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27156 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27157 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27158 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27159 with libc_hidden_ver, remove use of INTUSE.
27160 * libio/genops.c: Likewise.
27161 * libio/freopen.c: Likewise.
27162 * libio/freopen64.c: Likewise.
27163 * libio/iofclose.c: Likewise.
27164 * libio/iofdopen.c: Likewise.
27165 * libio/iofflush.c: Likewise.
27166 * libio/iofflush_u.c: Likewise.
27167 * libio/iofgets.c: Likewise.
27168 * libio/iofgets_u.c: Likewise.
27169 * libio/iofopen.c: Likewise.
27170 * libio/iofopncook.c: Likewise.
27171 * libio/iofread.c: Likewise.
27172 * libio/iofread_u.c: Likewise.
27173 * libio/ioftell.c: Likewise.
27174 * libio/iofwrite.c: Likewise.
27175 * libio/iogetline.c: Likewise.
27176 * libio/iogets.c: Likewise.
27177 * libio/iogetwline.c: Likewise.
27178 * libio/iopadn.c: Likewise.
27179 * libio/iopopen.c: Likewise.
27180 * libio/ioseekoff.c: Likewise.
27181 * libio/ioseekpos.c: Likewise.
27182 * libio/iosetbuffer.c: Likewise.
27183 * libio/iosetvbuf.c: Likewise.
27184 * libio/ioungetc.c: Likewise.
27185 * libio/ioungetwc.c: Likewise.
27186 * libio/iovdprintf.c: Likewise.
27187 * libio/iovsprintf.c: Likewise.
27188 * libio/iovsscanf.c: Likewise.
27189 * libio/memstream.c: Likewise.
27190 * libio/obprintf.c: Likewise.
27191 * libio/oldfileops.c: Likewise.
27192 * libio/oldiofclose.c: Likewise.
27193 * libio/oldiofdopen.c: Likewise.
27194 * libio/oldiofopen.c: Likewise.
27195 * libio/oldiopopen.c: Likewise.
27196 * libio/oldstdfiles.c: Likewise.
27197 * libio/putc.c: Likewise.
27198 * libio/setbuf.c: Likewise.
27199 * libio/setlinebuf.c: Likewise.
27200 * libio/stdfiles.c: Likewise.
27201 * libio/strops.c: Likewise.
27202 * libio/vasprintf.c: Likewise.
27203 * libio/vscanf.c: Likewise.
27204 * libio/vsnprintf.c: Likewise.
27205 * libio/vswprintf.c: Likewise.
27206 * libio/wfiledoalloc.c: Likewise.
27207 * libio/wfileops.c: Likewise.
27208 * libio/wgenops.c: Likewise.
27209 * libio/wmemstream.c: Likewise.
27210 * libio/wstrops.c: Likewise.
27211 * libio/__fpurge.c: Likewise.
27212 * libio/__fsetlocking.c: Likewise.
27213 * assert/assert.c: Likewise.
27214 * debug/fgets_chk.c: Likewise.
27215 * debug/fgets_u_chk.c: Likewise.
27216 * debug/fread_chk.c: Likewise.
27217 * debug/fread_u_chk.c: Likewise.
27218 * debug/gets_chk.c: Likewise.
27219 * debug/obprintf_chk.c: Likewise.
27220 * debug/vasprintf_chk.c: Likewise.
27221 * debug/vdprintf_chk.c: Likewise.
27222 * debug/vsnprintf_chk.c: Likewise.
27223 * debug/vsprintf_chk.c: Likewise.
27224 * malloc/mtrace.c: Likewise.
27225 * misc/error.c: Likewise.
27226 * misc/syslog.c: Likewise.
27227 * stdio-common/asprintf.c: Likewise.
27228 * stdio-common/fxprintf.c: Likewise.
27229 * stdio-common/getw.c: Likewise.
27230 * stdio-common/isoc99_fscanf.c: Likewise.
27231 * stdio-common/isoc99_scanf.c: Likewise.
27232 * stdio-common/isoc99_vfscanf.c: Likewise.
27233 * stdio-common/isoc99_vscanf.c: Likewise.
27234 * stdio-common/isoc99_vsscanf.c: Likewise.
27235 * stdio-common/printf-prs.c: Likewise.
27236 * stdio-common/printf_fp.c: Likewise.
27237 * stdio-common/printf_fphex.c: Likewise.
27238 * stdio-common/printf_size.c: Likewise.
27239 * stdio-common/putw.c: Likewise.
27240 * stdio-common/scanf.c: Likewise.
27241 * stdio-common/sprintf.c: Likewise.
27242 * stdio-common/tmpfile.c: Likewise.
27243 * stdio-common/vfprintf.c: Likewise.
27244 * stdio-common/vfscanf.c: Likewise.
27245 * stdlib/strfmon_l.c: Likewise.
27246 * sunrpc/openchild.c: Likewise.
27247 * sunrpc/xdr_stdio.c: Likewise.
27248 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27249 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27250
d6c33fda
RM
272512012-05-24 Roland McGrath <roland@hack.frob.com>
27252
c1487492
RM
27253 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27254
27255 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27256 in the third column, to generate for the shared library an IFUNC
27257 that uses _dl_vdso_vsym.
27258 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27259 * Makeconfig (object-suffixes-noshared): New variable.
27260
27261 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27262 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27263 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27264 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27265
d6c33fda
RM
27266 [BZ #14132]
27267 * include/sys/time.h (__gettimeofday): Remove macro.
27268 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27269 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27270 Remove INTDEF.
27271 (__gettimeofday): Add libc_hidden_def.
27272 (gettimeofday): Add libc_hidden_weak.
27273 * sysdeps/mach/gettimeofday.c: Likewise.
27274 * sysdeps/posix/gettimeofday.c: Likewise.
27275 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27276 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27277 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27278 (__gettimeofday_internal): Remove strong_alias.
27279 (__gettimeofday): Add libc_hidden_def.
27280 (gettimeofday): Add libc_hidden_weak.
27281 * sysdeps/unix/syscalls.list (gettimeofday):
27282 Remove __gettimeofday_internal alias.
27283
b5a2bbe6
L
272842012-05-24 Daniel Jacobowitz <drow@false.org>
27285 H.J. Lu <hongjiu.lu@intel.com>
27286
27287 [BZ #12495]
27288 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27289 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27290 (largebin_index_32_big): New.
27291 (largebin_index): Use it for 16-byte alignment.
27292 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27293 correction with front_misalign.
27294
cfba4fda
L
272952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27296
7f907421
L
27297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27299 Likewise.
27300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27301 Likewise.
27302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27303 Likewise.
27304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27305 Likewise.
27306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27307 Likewise.
27308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27309 Likewise.
27310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27311 Likewise.
27312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27313 Likewise.
27314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27315 Likewise.
27316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27317 Likewise.
27318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27319 Likewise.
27320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27321 Likewise.
27322
cfba4fda
L
27323 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27324 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27325
80bad0cc
JM
273262012-05-24 Joseph Myers <joseph@codesourcery.com>
27327
7a25eb06
JM
27328 [BZ #10846]
27329 [BZ #14036]
27330 * math/libm-test.inc (exp_test): Add test from bug 14036.
27331 (pow_test): Add test from bug 10846.
27332
795405f9
JM
27333 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27334 and other flags.
27335 (special_function): Do not include flags in test name.
27336 (parse_args): Likewise.
27337 * sysdeps/i386/fpu/libm-test-ulps: Update.
27338 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27339 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27340 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27342
80bad0cc
JM
27343 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27344 exceptions.
27345 * math/libm-test.inc ("Philosophy"): Update comment about
27346 exception testing.
27347 (UNDERFLOW_EXCEPTION): New macro.
27348 (UNDERFLOW_EXCEPTION_OK): Likewise.
27349 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27350 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27351 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27352 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27353 (INVALID_EXCEPTION_OK): Update value.
27354 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27355 (OVERFLOW_EXCEPTION_OK): Likewise.
27356 (IGNORE_ZERO_INF_SIGN): Likewise.
27357 (test_exceptions): Handle underflow exceptions.
27358 (acos_test): Update for underflow exception expectations.
27359 (cexp_test): Likewise.
27360 (clog_test): Likewise.
27361 (clog10_test): Likewise.
27362 (csqrt_test): Likewise.
27363 (ctan_test): Likewise.
27364 (ctanh_test): Likewise.
27365 (exp_test): Likewise.
27366 (exp10_test): Likewise.
27367 (exp2_test): Likewise.
27368 (expm1_test): Likewise.
27369 (fma_test): Likewise.
27370 (j0_test): Likewise.
27371 (jn_test): Likewise.
27372 (nexttoward_test): Likewise.
27373 (pow_test): Likewise.
27374 (scalbn_test): Likewise.
27375 (scalbln_test): Likewise.
27376 (tan_test): Likewise.
27377 (y1_test): Likewise.
27378 * sysdeps/i386/fpu/libm-test-ulps: Update.
27379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27380
9e0e3d0b
DM
273812012-05-23 David S. Miller <davem@davemloft.net>
27382
27383 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27384 (__libc_sigaction): Remove unused local variables.
27385
ccd0a08f
L
273862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27387
27388 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27389
62bdf9a6
PE
273902012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27391
f8591f80
PE
27392 mktime: avoid signed integer overflow
27393 * time/mktime.c (__mktime_internal): Do not mishandle the case
27394 where diff == INT_MIN.
27395
94c7d826
PE
27396 mktime: simplify computation of average
27397 * time/mktime.c (ranged_convert): Use new time_t_avg function
27398 instead of rolling our own (probably-slower) code.
27399
ce73d683
PE
27400 mktime: do not assume signed right shift propagates sign bit
27401 * time/mktime.c (isdst_differ): New static function.
27402 (__mktime_internal): No need to normalize tm_isdst now.
27403 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27404 tm_isdst values.
27405
72a22e59
PE
27406 mktime: merge another wrapv change from gnulib
27407 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27408 from some compilers.
27409
68605433
PE
27410 mktime: remove incorrect attempt at unusual arithmetics
27411 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27412 The code didn't really work on such machines anyway.
27413 (TYPE_MINIMUM): Assume two's complement.
27414 (twos_complement_arithmetic): Verify that long_int and time_t
27415 are two's complement (or unsigned, in the latter case).
27416
03cf7fe3
PE
27417 mktime: check signed shifts on long_int and time_t, too
27418 * time/mktime.c (SHR): Check that shifts work as desired
27419 on the types long_int and time_t too, as SHR is used on
27420 such types.
27421
f04dfbc2
PE
27422 mktime: do not assume 'long' is wide enough
27423 * time/mktime.c (verify): Move decl up.
27424 (long_int): New type.
27425 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27426 to remove assumption in the code that 'long' is wide enough to
27427 store year values. This assumption is not true on x32 and on
27428 some non-glibc platforms.
27429
62bdf9a6
PE
27430 mktime: merge wrapv change from gnulib
27431 * time/mktime.c (WRAPV): New macro.
27432 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27433 (guess_time_tm, __mktime_internal): Do not assume that signed
27434 integer overflow wraps around; modern compilers generate code
27435 where this assumption is no longer valid.
27436
5e292e4f
L
274372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27438
27439 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27440 Replace "jmp L(pseudo_end)" with "ret".
27441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27442 Likewise.
27443
8caf8c87
AJ
274442012-05-23 Andreas Jaeger <aj@suse.de>
27445
27446 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27447 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27448
1a09dc56
AJ
274492012-05-23 Andreas Jaeger <aj@suse.de>
27450 Maximilian Attems <max@stro.at>
27451
27452 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27453 New macros.
27454
1c87aba0
L
274552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27456
27457 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27458 code so that pseudo_end is just ret and the stack pointer is
27459 correct also for static library in error case.
27460
40e45bd5
JM
274612012-05-23 Joseph Myers <joseph@codesourcery.com>
27462
c2670533
JM
27463 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27464 move to syscalls.list.
27465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27469
40e45bd5
JM
27470 * manual/install.texi (Running make install): Do not mention Linux
27471 kernel version for which pt_chown is not needed.
27472 (Linux): Do not mention problems with nscd with 2.0 kernels.
27473 * INSTALL: Regenerated.
27474
be08eda5
AJ
274752012-05-23 Andreas Jaeger <aj@suse.de>
27476
27477 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27478 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27479 macro.
27480 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27481 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27482 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27483 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27484 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27485 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27486 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27487 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27488 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27489 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27490 * sysdeps/unix/sysv/linux/bits/in.h
27491 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27492
a6a056bb
RM
274932012-05-22 Roland McGrath <roland@hack.frob.com>
27494
27495 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27496 (PREPARE_VERSION): Just use assert instead, it will be elided
27497 under [NDEBUG] anyway.
27498
c9009328
L
274992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27500
27501 * sysdeps/unix/sysv/linux/Makefile: Include
27502 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27503 (sysdep_routines): Remove sysctl.
c9009328
L
27504 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27505 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27506 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27507 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27508 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27509
73338355
AJ
275102012-05-22 Andreas Jaeger <aj@suse.de>
27511
27512 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27513 that pseudo_end is just ret and the stack pointer is correct also
27514 for static library in error case.
27515
d44638b0
PP
275162012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27517
27518 [BZ #14122]
27519 * nss/nsswitch.c (defconfig_entries): New variable.
27520 (__nss_database_lookup): Don't leak defconfig entries.
27521 (nss_parse_service_list): Don't leak on error paths.
27522 (free_database_entries): New function.
27523 (free_defconfig): New function.
27524 (free_mem): Move common code to free_database_entries.
27525
31a39bd8
L
275262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27527
da0331a8
L
27528 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27529 Add arch_prctl.
27530 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27531
31a39bd8
L
27532 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27533 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27535 New macro.
27536 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27537 (INTERNAL_SYSCALL_TYPES): Likewise.
27538 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27539 (LOAD_REGS_TYPES_[1-6]): Likewise.
27540 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27541 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27542
45470df3
AZ
275432012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27544
27545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27546 copysignl for GLIBC_2_0.
27547 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27548 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27549 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27550 logbl for GLIBC_2_0.
27551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27552 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27553
98a61bcb
L
275542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27555
a4f6e481
L
27556 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27557 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27558
f63d5db6
L
27559 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27560 Use "neg %eax".
27561
98a61bcb
L
27562 * time/mktime.c: Update copyright years.
27563
95770f14
PE
275642012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27565
6226efbd
PE
27566 mktime: merge comment-quoting-style change from gnulib
27567 * time/mktime.c: Quote 'like this' in comments.
27568 The GNU coding standards suggest that we no longer quote `like this',
27569 as "`" and "'" are typically rendered asymmetrically nowadays.
27570 The typical gnulib style is to quote 'like this' when quoting
27571 code, and "like this" when quoting English.
27572
b99e4f78
PE
27573 * time/mktime.c (compile-command): Add "-I.".
27574
643e01e6
PE
27575 mktime: merge mktime-internal.h change from gnulib
27576 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27577
2554247d
PE
27578 mktime: merge time_r change from gnulib
27579 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27580
826dd0ab
PE
27581 mktime: merge DEBUG change from gnulib
27582 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27583 case system <time.h> has a #define.
27584
bd83aabe
PE
27585 mktime: merge <sys/types.h> change from gnulib
27586 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27587 since <time.t> is now guaranteed to define time_t.
27588
95770f14
PE
27589 mktime: merge HAVE_CONFIG_H change from gnulib
27590 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27591
5e1a27a9
L
275922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27593
0e44a77e
L
27594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27595 Use "neg %eax".
27596
5e1a27a9
L
27597 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27598 __rlim_t cast.
27599 (struct rusage): Use anonymous union to pad each field to
27600 __syscall_slong_t.
27601
46259bec
DM
276022012-05-21 David S. Miller <davem@davemloft.net>
27603
27604 * Makefules (o-iterator): Remove .s cases.
27605 (compile-command.s): Delete.
27606 (COMPILE.s): Delete.
27607 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27608
59f0c22e
JM
276092012-05-21 Joseph Myers <joseph@codesourcery.com>
27610
27611 * configure.in (libc_cv_predef_stack_protector): Only consider
27612 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27613 * configure: Regenerated.
27614
20c07380
L
276152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27616
bbb3154b
L
27617 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27618 New macro. Use R*LP on int and pointer.
27619 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27620 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27621 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27622 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27623
20c07380
L
27624 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27625 [__WORDSIZE_TIME64_COMPAT32] instead of
27626 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27627 (struct utmp): Likewise.
27628 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27629 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27630 Renamed to ...
27631 (__WORDSIZE_TIME64_COMPAT32): This.
27632 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27633 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27634 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27635 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27636 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27637 (__WORDSIZE_TIME64_COMPAT32): New macro.
27638
d8d1017e
AJ
276392012-05-21 Andreas Jaeger <aj@suse.de>
27640
27641 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27642 only if [SHARED]. Add prototype for __wcschr_ia32.
27643
6c7fb145
RM
276442012-05-21 Roland McGrath <roland@hack.frob.com>
27645
27646 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27647 of %rbp unmolested in the jmp_buf while mangling the low bits.
27648 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27649 unmolested high bits of %rbp while demangling the low bits.
27650 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27651
66274218
AJ
276522012-05-21 Andreas Jaeger <aj@suse.de>
27653
07c58f8f
AJ
27654 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27655 * sunrpc/svc_simple.c: Use it for registerrpc.
27656 * sunrpc/xcrypt.c: Use it for passwd2des.
27657
66274218
AJ
27658 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27659
61f65140
L
276602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27661
27662 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27663 Don't define if [__SYSCALL_WORDSIZE != 32].
27664 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27665 New macro.
27666
5fefb436
AJ
276672012-05-21 Bruno Haible <bruno@clisp.org>
27668 Andreas Jaeger <aj@suse.de>
27669
27670 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27671 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27672 inptr and inend for must_buffer_ch.
27673 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27674 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27675 * stdio-common/Makefile (tests): Remove bug15.
27676 (bug15-ENV): Remove macro.
27677 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27678 anymore.
27679
d8e272ab
AJ
276802012-05-19 Andreas Jaeger <aj@suse.de>
27681 Roland McGrath <roland@hack.frob.com>
27682
27683 * manual/contrib.texi: Completely rewritten. It contains now an
27684 alphabetical list of contributors and their contributions.
27685
4a56a162
RH
276862012-05-21 Richard Henderson <rth@twiddle.net>
27687
27688 * misc/getauxval.c (__getauxval): Use unsigned long int.
27689 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27690 (getauxval): Use unsigned long int.
27691
d024d23c
L
276922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27693
27694 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27695
cbc00a03
RM
276962012-05-21 Roland McGrath <roland@hack.frob.com>
27697
27698 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27699 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27700 __alignof__ (long double).
27701
478143fa
AZ
277022012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27703
27704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27705
c7683a6d
RH
277062012-05-20 Richard Henderson <rth@twiddle.net>
27707
27708 * misc/getauxval.c: New file.
27709 * misc/sys/auxv.h: New file.
27710 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27711 (routines): Add getauxval.
27712 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27713 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27714 * elf/dl-sysdep.c (_dl_auxv): Remove.
27715 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27716 * elf/dl-support.c (_dl_auxv): New variable.
27717 (_dl_aux_init): Initialize it.
27718 * manual/startup.texi (Auxiliary Vector): New node.
27719 * sysdeps/generic/bits/hwcap.h: New file.
27720 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27721 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27722 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27723 * sysdeps/sparc/sysdep.h: ... here. Include it.
27724 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27725 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27727 Update.
c7683a6d
RH
27728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27731 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27736
a6f1845d
AZ
277372012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27738
27739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27740
cbcbe830
DM
277412012-05-19 David S. Miller <davem@davemloft.net>
27742
27743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27744
e0b16cc2
JM
277452012-05-19 Joseph Myers <joseph@codesourcery.com>
27746
27747 [BZ #14123]
27748 * math/s_ccosh.c: Include <float.h>
27749 (__ccosh): Avoid internal overflow calculating sinh and cosh
27750 values before multiplying by sin and cos values.
27751 * math/s_ccoshf.c: Likewise.
27752 * math/s_ccoshl.c: Likewise.
27753 * math/s_csin.c: Likewise.
27754 * math/s_csinf.c: Likewise.
27755 * math/s_csinl.c: Likewise.
27756 * math/s_csinh.c: Likewise.
27757 * math/s_csinhf.c: Likewise.
27758 * math/s_csinhl.c: Likewise.
27759 * math/libm-test.inc (ccos_test): Add more tests.
27760 (ccosh_test): Likewise.
27761 (csin_test): Likewise.
27762 (csinh_test): Likewise.
27763 * sysdeps/i386/fpu/libm-test-ulps: Update.
27764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27765
6ad13e08
L
277662012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27767
f66f0ce8
L
27768 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27769 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27770
6ad13e08
L
27771 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27772
b1d072a7
JM
277732012-05-19 Joseph Myers <joseph@codesourcery.com>
27774
27775 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27776 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27777 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27778 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27779 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27780 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27781 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27782 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27783 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27784 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27785 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27786 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27787 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27788 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27789 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27790 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27791 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27792 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27793 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27794 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27795 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27796 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27797 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27798 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27799 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27800 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27801 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27802 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27803 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27804 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27805 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27806
9eae47cb
AJ
278072012-05-18 Andreas Jaeger <aj@suse.de>
27808
27809 * csu/.gitignore: Delete.
27810
bb07f69f
L
278112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27812
27813 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27814 (timex): Use __syscall_slong_t.
27815
e6bdb741
AJ
278162012-05-18 Andreas Jaeger <aj@suse.de>
27817 Carlos O'Donell <carlos_odonell@mentor.com>
27818
27819 * manual/install.texi (Configuring and compiling): Update
27820 description about files modified in the source directory.
d6c33fda 27821 * INSTALL: Regenerated.
e6bdb741 27822
1b74487e
L
278232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27824
27825 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27826 value. Use "or" to set return value to -1.
27827 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27828 negate return value.
27829
a88b64b9
TMQMF
278302012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27831
27832 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27833 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27834 failure if the compiler has Graphite support disabled.
27835 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27836 Likewise.
27837 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27838 CFLAGS-memmove.c): Likewise.
27839 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27840 Likewise.
27841
3707636e
L
278422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27843
610b8622
L
27844 * sysdeps/x86_64/x32/_itoa.h: New file.
27845
7cd195df
L
27846 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27847 getdents system call only if kernel and user dirents have the
27848 same d_ino and d_off.
27849
94b07d20
L
27850 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27851 LLONG_MAX != LONG_MAX.
27852 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27853 (_fitoa_word): Likewise.
27854
18298070
L
27855 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27856 years.
27857 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27858 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27859 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27860
553c7ea4
L
27861 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27862 include <bits/wordsize.h>. Check __x86_64__ instead of
27863 __WORDSIZE.
27864 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27865 if __x86_64__ is defined. Use anonymous union on fpstate.
27866
3707636e
L
27867 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27868 anonymous union.
27869
b53ef01a
AS
278702012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27871
37fb1dc0
AS
27872 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27873 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27874 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27875 Refer to _rtld_local_ro instead of _rtld_global_ro.
27876 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27877 Likewise.
27878 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27879 Likewise.
27880 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27881 Likewise.
27882 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27883 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27884 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27885
b53ef01a
AS
27886 * sysdeps/powerpc/powerpc32/dl-machine.c
27887 (__elf_machine_runtime_setup) [PROF]: Don't reference
27888 _dl_prof_resolve.
27889
7a185db2
AJ
278902012-05-18 Andreas Jaeger <aj@suse.de>
27891
27892 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27893 function only available for GCCs before 3.4 since GCC 3.4
27894 introduced a builtin.
27895 (lrint): Likewise.
27896 (llrintf): Likewise.
27897 (llrint): Likewise.
27898 (fmaxf): Likewise.
27899 (fmax): Likewise.
27900 (fminf): Likewise.
27901 (fmin): Likewise.
27902 (rint): Likewise.
27903 (rintf): Likewise.
27904 (nearbyint): Likewise.
27905 (nearbyintf): Likewise.
27906 (ceil): Likewise.
27907 (ceilf): Likewise.
27908 (floor): Likewise.
27909 (floorf): Likewise.
27910
3e5aef87
L
279112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27912
428bd707
L
27913 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27914 on both fields and cast pointer to __syscall_ulong_t.
27915
3e5aef87
L
27916 * bits/types.h (__fsword_t): New type.
27917 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27918 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27920 (__FSWORD_T_TYPE): Likewise.
27921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27922 (__FSWORD_T_TYPE): Likewise.
27923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27924 (__FSWORD_T_TYPE): Likewise.
27925 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27926 (__FSWORD_T_TYPE): Likewise.
27927 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27928 __SWORD_TYPE with __fsword_t.
27929 (statfs64): Likewise.
27930
1ba7c3dc
DM
279312012-05-17 David S. Miller <davem@davemloft.net>
27932
27933 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27934
59910343
AJ
279352012-05-17 Andreas Jaeger <aj@suse.de>
27936
27937 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27938 warning.
27939
2e4c1e9e
L
279402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27941
27942 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27943
de7f5ce7
AJ
279442012-05-17 Andreas Jaeger <aj@suse.de>
27945
27946 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27947 when it is used.
27948
286abc3d
CM
279492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27950
27951 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27952
477cc68e
L
279532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27954
27955 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27956 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27957
1a0994f5
CD
279582012-05-17 Andreas Jaeger <aj@suse.de>
27959 Carlos O'Donell <carlos_odonell@mentor.com>
27960
27961 [BZ #14059]
27962 * sysdeps/x86_64/multiarch/init-arch.h
27963 (bit_YMM_Usable): Rename to...
27964 (bit_AVX_Usable): ... this.
27965 (bit_FMA4_Usable): New macro.
27966 (bit_XMM_state): New macro.
27967 (bit_YMM_state): New macro.
27968 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27969 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27970 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27971 (CPUID_OSXSAVE): New macro.
27972 (CPUID_AVX): New macro.
27973 (CPUID_FMA4): New macro.
27974 (index_YMM_Usable): Rename to...
27975 (index_AVX_Usable): ... this.
27976 (HAS_AVX): Use HAS_ARCH_FEATURE.
27977 (HAS_FMA4): Likewise.
27978 (HAS_YMM_USABLE): Remove.
27979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27980 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27981 are present.
27982 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27983 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27984 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27985 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27986 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27987
0af797de
CM
279882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27989
27990 * math/libm-test.c: Support platforms without multiple rounding modes.
27991 * math/bug-nextafter.c: Support platforms without FP exceptions.
27992 * math/bug-nexttoward.c: Likewise.
27993 * math/test-fenv.c: Likewise.
27994 * math/test-misc.c: Likewise.
27995 * stdlib/bug-getcontext.c: Likewise.
27996
e39745ff
AJ
279972012-05-17 Andreas Jaeger <aj@suse.de>
27998
27999 * manual/examples/search.c (critter_cmp): Change signature to
28000 avoid warnings.
28001 * manual/string.texi (Collation Functions): Likewise.
28002
48970aba
L
280032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28004
28005 * bits/types.h: Fold copyright years.
28006 * bits/typesizes.h: Likewise.
28007 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28008 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28009 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28010 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28011 * time/time.h: Likewise.
28012
bedee953
PP
280132012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28014
28015 [BZ #208]
28016 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28017 in instead of returning them. Return void.
28018 (__libc_mallinfo): Accumulate over all arenas.
28019 (__malloc_stats): Adjust for change in int_mallinfo interface.
28020
61653dfb
RM
280212012-05-16 Roland McGrath <roland@hack.frob.com>
28022
30b99d79
RM
28023 [BZ #10375]
28024 * configure.in (NM): Add AC_CHECK_TOOL for it.
28025 (libc_extra_cflags): New substituted variable.
28026 Check for -fstack-protector being used implicitly.
28027 * configure: Regenerated.
28028 * config.make.in (config-extra-cflags): New variable,
28029 gets @libc_extra_cflags@.
28030 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28031
61653dfb
RM
28032 [BZ #10375]
28033 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28034 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28035 * configure: Regenerated.
28036 * config.make.in (CPPUNDEFS): New substituted variable.
28037 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28038 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28039 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28040
661768bb
L
280412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28042
28043 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28044 (mq_attr): Use __syscall_slong_t.
28045
d4261567
L
280462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28047
28048 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28049 Check __x86_64__ instead of __WORDSIZE.
28050 (_STAT_VER_LINUX): Likewise.
28051 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28052 __syscall_ulong_t and __syscall_slong_t.
28053 (stat64): Likewise.
28054
cf3ff365
L
280552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28056
28057 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28058
76cf3e4d
L
280592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28060
28061 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28062
a637753a
L
280632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28064
28065 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28066 __syscall_ulong_t.
28067
d5e05119
L
28068 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28069 include <bits/wordsize.h>. Check __x86_64__ instead of
28070 __WORDSIZE.
28071 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28072 defined.
28073 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28074
f62ee380
L
28075 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28076 include <bits/wordsize.h>. Check __x86_64__ instead of
28077 __WORDSIZE.
28078 (user_regs_struct): Use "__extension__ unsigned long long"
28079 instead of "unsigned long" if __x86_64__ is defined.
28080 (user): Likewise. Pad after pointer field if __ILP32__ is
28081 defined.
28082
4e124ced
JM
280832012-05-16 Joseph Myers <joseph@codesourcery.com>
28084
6a3951a0
JM
28085 * configure.in (makeinfo): Require version 4.5 or later. Allow
28086 versions 5 to 9.
28087 * configure: Regenerated.
28088 * manual/install.texi (texinfo): Increase version requirement to
28089 4.5 or later.
28090 * INSTALL: Regenerated.
28091
4e124ced
JM
28092 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28093
953ca31a
L
280942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28095
28096 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28097
617aca05
L
28098 * sysdeps/x86_64/x32/ffs.c: New file.
28099
5762f7ae
L
28100 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28101 __syscall_ulong_t.
28102 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28103 defined. Use __syscall_ulong_t.
28104 (shminfo): Use __syscall_ulong_t.
28105 (shm_info): Likewise.
28106
a26b6856
L
28107 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28108 __syscall_ulong_t.
28109
cb2b9ef7
L
28110 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28111 <bits/wordsize.h>.
28112 (msgqnum_t): Use __syscall_ulong_t.
28113 (msglen_t): Likewise.
28114 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28115 __syscall_ulong_t.
28116
34683bb0
L
28117 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28118 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28119
84a68786
L
28120 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28121
48baa5f1
L
28122 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28123 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28124
180be88b
L
28125 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28126 __syscall_slong_t.
28127
5e90c8ad
L
28128 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28129 include <bits/wordsize.h>. Check __x86_64__ instead of
28130 __WORDSIZE.
28131
23dfb58b
L
28132 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28133 "unsigned long long int" if __x86_64__ is defined.
28134 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28135
ce5d54b0
L
28136 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28137 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28138 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28139
13dc9eac
L
28140 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28141 <stdint.h>.
28142 (GET_PC): Cast to uintptr_t first.
28143 (GET_FRAME): Likewise.
28144 (GET_STACK): Likewise.
28145
a7895d15
L
28146 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28147 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28148 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28149 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28150 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28151 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28152 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28153 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28154 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28155 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28156 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28157 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28158 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28159 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28160 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28162 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28163 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28164 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28165 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28166 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28167 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28168 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28169 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28170 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28171 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28172 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28173 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28174 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28175
656416c9
AS
281762012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28177
5bd66283
AS
28178 * Makerules (+depfiles): Also collect depfiles from .oS in
28179 $(extra-objs).
28180 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28181 .oS, $(libnldbl-routines)).
28182
656416c9
AS
28183 * Makerules (native-compile-mkdep-flags): Define.
28184 * sunrpc/Makefile (extra-objs): Add $(addprefix
28185 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28186 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28187 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28188 calling $(make-target-directory).
28189
a46f2169
L
281902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28191
28192 * bits/types.h (__snseconds_t): Removed.
28193 * time/time.h (struct timespec): Replace __snseconds_t with
28194 __syscall_slong_t.
28195 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28196 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28197 Likewise.
28198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28199 (__SNSECONDS_T_TYPE): Likewise.
28200 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28201 (__SNSECONDS_T_TYPE): Likewise.
28202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28203 (__SNSECONDS_T_TYPE): Likewise.
28204
6af6528b
L
282052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28206
28207 * sysdeps/mach/hurd/bits/typesizes.h
28208 (__SYSCALL_SLONG_TYPE): New macro.
28209 (__SYSCALL_ULONG_TYPE): Likewise.
28210
de986b56
L
282112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28212
28213 * bits/types.h (__syscall_slong_t): New type.
28214 (__syscall_ulong_t): Likewise.
28215
28216 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28217 (__SYSCALL_ULONG_TYPE): Likewise.
28218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28219 (__SYSCALL_SLONG_TYPE): Likewise.
28220 (__SYSCALL_ULONG_TYPE): Likewise.
28221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28222 (__SYSCALL_SLONG_TYPE): Likewise.
28223 (__SYSCALL_ULONG_TYPE): Likewise.
28224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28225 (__SYSCALL_SLONG_TYPE): Likewise.
28226 (__SYSCALL_ULONG_TYPE): Likewise.
28227
85736dc7
L
282282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28229
28230 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28231 Add sigaltstack-offsets.sym.
28232 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28233 <sigaltstack-offsets.h>.
28234 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28235 longjmp_msg pointer.
28236 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28237 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28238 signal stack.
28239 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28240
cc03b296
JM
282412012-05-15 Joseph Myers <joseph@codesourcery.com>
28242
a9538892
JM
28243 * elf/stackguard-macros.h: Remove file.
28244 * sysdeps/generic/stackguard-macros.h: New file.
28245 * sysdeps/i386/stackguard-macros.h: Likewise.
28246 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28247 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28248 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28249 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28250 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28251 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28252 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28253 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28254 <elf/stackguard-macros.h>.
28255
cc03b296
JM
28256 [BZ #14109]
28257 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28258 __aligned__ in attribute.
28259 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28260 (gregset_t): Likewise.
28261
93171016
L
282622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28263
28264 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28265 * sysdeps/x86_64/64/Implies-after: Here. New file.
28266 * sysdeps/x86_64/x32/Implies-after: New file.
28267
d86813a0
L
282682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28269
28270 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28271 and access return value for _dl_profile_fixup. Use R10_LP to
28272 load frame size.
28273
2953ec75
L
282742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28275
28276 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28277
3b550e9e
L
282782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28279
28280 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28281 * sysdeps/x86_64/x32/sysdep.h: New file.
28282
eda41706
L
282832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28284
28285 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28286 * sysdeps/x86_64/setjmp.S: Likewise.
28287
9ea01d93
AZ
282882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28289
28290 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28291 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28292 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28293 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28294 remove unused global constant.
28295
02a91938
CM
282962012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28297
28298 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28299 include of <not-cancel.h>.
28300
6540185f
RM
283012012-05-15 Roland McGrath <roland@hack.frob.com>
28302
28303 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28304
509072a0
AJ
283052012-05-15 Jeff Law <law@redhat.com>
28306 Andreas Jaeger <aj@suse.de>
28307
28308 [BZ #13594]
28309 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28310 out from...
28311 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28312 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28313 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28314 code changing __hst_map_handle.map.
28315
ba75122d
RM
283162012-05-15 Roland McGrath <roland@hack.frob.com>
28317
28318 * configure.in (sysnames): Look for Implies-before and Implies-after
28319 files.
28320 * configure: Regenerated.
28321
890d8bd8
L
283222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28323
28324 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28325 8-byte data alignment with LP_SIZE alignment.
28326
f6ee6623
L
283272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28328
28329 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28330 into R10_LP.
28331
ea2626f6
L
283322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28333
28334 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28335
085f715e
L
283362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28337
28338 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28339 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28340 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28341 Likewise.
28342 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28343
be8498fc
L
283442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28345
28346 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28347 (stackinfo_sub_sp): Likewise.
28348
70bc83b9
L
283492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28350
28351 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28352 RAX_LP.
28353
9bc0b730
L
283542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28355
28356 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28357 into R*_LP.
28358
6d2850e7
L
283592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28360
28361 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28362 sizes into R*_LP.
28363
3cb84561
L
283642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28365
28366 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28367
54e2ed81
L
283682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28369
28370 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28371 into R11_LP and load __x86_64_shared_cache_size_half into
28372 R8_LP.
28373
8a17f349
L
283742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28375
28376 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28377 R8_LP.
28378
777b1eea
AZ
283792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28380
28381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28382 logb for POWER7.
28383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28384 logbf for POWER7.
28385 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28386 logbl for POWER7.
28387 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28388 powerpc32/power7/fpu/s_logb.c via #include.
28389 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28390 powerpc32/power7/fpu/s_logbf.c via #include.
28391 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28392 powerpc32/power7/fpu/s_logbl.c via #include.
28393
d20d4ac2
JM
283942012-05-15 Joseph Myers <joseph@codesourcery.com>
28395
28396 * README.libm: Remove file.
28397
6cdef1ab
L
283982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28399
28400 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28401 count for x32. Use R*_LP and omit operand-size suffix.
28402
0b254d8f
L
284032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28404
28405 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28406 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28407 * sysdeps/x86_64/x32/shlib-versions: New file.
28408
ceb809dc
RM
284092012-05-14 Roland McGrath <roland@hack.frob.com>
28410
28411 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28412 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28413 Use _dl_fatal_printf instead.
28414
37f1abd4
JM
284152012-05-14 Joseph Myers <joseph@codesourcery.com>
28416
28417 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28418 set if not set by the user. Do not allow for being unset.
28419 * sysdeps/unix/sysv/linux/configure: Regenerated.
28420
11de3a33
L
284212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28422
28423 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28424 the `q' suffix from lea and replace .quad with ASM_ADDR.
28425
e02f153a
L
284262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28427
28428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28429 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28430 instead of $17.
28431 (PTR_DEMANGLE): Likewise.
28432
520ae0fd
L
284332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28434
28435 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28436 (LP_OP): Likewise.
28437 (ASM_ADDR): Likewise.
28438 (RAX_LP): Likewise.
28439 (RBP_LP): Likewise.
28440 (RBX_LP): Likewise.
28441 (RCX_LP): Likewise.
28442 (RDI_LP): Likewise.
28443 (RSI_LP): Likewise.
28444 (RSP_LP): Likewise.
28445 (R8_LP): Likewise.
28446 (R9_LP): Likewise.
28447 (R10_LP): Likewise.
28448 (R10_LP): Likewise.
28449 (R11_LP): Likewise.
28450 (R12_LP): Likewise.
28451 (R13_LP): Likewise.
28452 (R14_LP): Likewise.
28453 (R15_LP): Likewise.
28454
b985be81
L
284552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28456
28457 * sysdeps/x86_64/x32/dl-machine.h: New file.
28458
6a4888ff
AJ
284592012-05-14 Andreas Jaeger <aj@suse.de>
28460
28461 * manual/Makefile (subdir): Remove export of subdir.
28462 (all): Remove target.
28463 (.PHONY): Remove all from list.
28464 (mkinstalldirs): Remove.
28465 (.PHONY): Remove installdirs from list.
28466 ($(inst_infodir)/libc.info): Use make-target-directory.
28467 (installdirs): Remove.
28468 (subdir_%): Remove.
28469 (glibc-targets): Remove.
28470 (lib): Remove.
28471 (stubs): Remove.
28472 ($(objpfx)stubs ../po/manual.pot): Remove.
28473 ($(objpfx)stamp%): Remove.
28474 (make-target-directory): Remove.
28475 (subdir_install): Remove.
28476 (routines): Remove.
28477 (aux): Remove.
28478 (sources): Remove.
28479 (objects): Remove.
28480 (headers): Remove.
28481
28482 [BZ #13750]
28483 * manual/.gitignore: Remove, it's not needed anymore.
28484 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28485 all files in it.
28486 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28487 directory.
28488 (texis): Renamed to $(objpfx)texis.
28489 (texis-path): New, contains path to generated files.
28490 (chapters.%): Use texis-path for complete path, add extra argument
28491 libc-texinfo.sh.
28492 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28493 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28494 (summary,texi, stamp-summary): Use complete path of
28495 files. Generate files in build dir.
28496 (dir-add.texi): Build in build dir.
28497 (libm-err.texi,stamp-libm-err): Likewise.
28498 (version.texi, stamp-version): Likewise.
28499 (.%c.texi): Likewise.
28500 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28501 (mostlyclean): Remove target.
28502 (realclean): Remove target.
28503 (generated): Add new variable with contents from mostlyclean and
28504 realclean, remove entries duplicated in common-mostlyclean, add
28505 stamp-libm-err and stamp-version.
28506 (generated-dirs): Add libc directory.
28507 ($(inst_infodir)/libc.info): Install files from build dir.
28508
28509 * manual/install.texi (Configuring and compiling): Adjust since
28510 the info files are not part of the tar ball anymore.
28511
7ac77294
AJ
285122012-05-14 Andreas Jaeger <aj@suse.de>
28513
28514 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28515 variable.
28516
ffb7875d
JM
285172012-05-14 Joseph Myers <joseph@codesourcery.com>
28518
28519 [BZ #13717]
28520 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28521 to 2.2.0 where earlier.
28522 * sysdeps/unix/sysv/linux/configure: Regenerated.
28523 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28524 Remove conditional code.
28525 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28526 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28527 Remove conditional code.
28528 [!__NR_lchown]: Likewise.
28529 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28530 [__NR_lchown]: Likewise.
28531 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28532 comment referencing __ASSUME_LCHOWN_SYSCALL.
28533 * sysdeps/unix/sysv/linux/i386/sigaction.c
28534 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28535 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28536 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28537 Remove conditional code.
28538 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28539 (__protocol_available): Remove #if 0 code.
28540 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28541 conditional code.
28542 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28543 * sysdeps/unix/sysv/linux/kernel-features.h
28544 (__ASSUME_GETCWD_SYSCALL): Don't define.
28545 (__ASSUME_REALTIME_SIGNALS): Likewise.
28546 (__ASSUME_PREAD_SYSCALL): Likewise.
28547 (__ASSUME_PWRITE_SYSCALL): Likewise.
28548 (__ASSUME_POLL_SYSCALL): Likewise.
28549 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28550 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28551 non-SPARC.
28552 (__ASSUME_SIOCGIFNAME): Don't define.
28553 (__ASSUME_MSG_NOSIGNAL): Likewise.
28554 (__ASSUME_SENDFILE): Define unconditionally.
28555 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28556 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28557 conditional code.
28558 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28559 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28560 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28561 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28562 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28563 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28564 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28566 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28567 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28569 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28572 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28573 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28575 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28576 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28578 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28581 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28582 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28584 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28585 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28587 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28588 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28589 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28590 Remove conditional code.
28591 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28592 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28593 Remove conditional code.
28594 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28595 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28596 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28597 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28598 Remove conditional code.
28599 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28600 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28601 Remove conditional code.
28602 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28603 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28604 Remove conditional code.
28605 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28606 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28607 Remove conditional code.
28608 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28609 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28610 Remove conditional code.
28611 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28612 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28613 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28614 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28615 * sysdeps/unix/sysv/linux/sigaction.c
28616 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28617 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28618 * sysdeps/unix/sysv/linux/sigpending.c
28619 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28620 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28621 * sysdeps/unix/sysv/linux/sigprocmask.c
28622 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28623 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28624 * sysdeps/unix/sysv/linux/sigsuspend.c
28625 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28626 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28627 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28628 (__libc_missing_rt_sigs): Remove.
28629 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28630 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28631 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28632 Remove conditional code.
28633 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28634 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28635 return 1.
28636 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28637 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28638 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28639 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28640
1bfb7291
AJ
286412012-05-14 Andreas Jaeger <aj@suse.de>
28642
caae5a81
AJ
28643 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28644 it's not used in glibc.
28645 (__coshm1): Likewise.
28646 (__acosh1p): Likewise.
28647 (__sgn): Likewise.
28648
1bfb7291
AJ
28649 * manual/string.texi (Copying and Concatenation): Add missing
28650 variable in concat example.
28651 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28652
c044d724
L
286532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28654
144c5467 28655 [BZ #14103]
c044d724
L
28656 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28657 __builtin_clzl with __builtin_clzll.
28658
2523c62b
L
286592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28660
28661 [BZ #14104]
28662 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28663 libc_freeres_ptr.
28664
d7bb4c42
LD
286652012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28666
28667 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28668 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28669 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28670 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28671
9dc4e1fb
MF
286722012-05-14 Mike Frysinger <vapier@gentoo.org>
28673
28674 * NEWS: Update ia64 info.
28675
c7df0112
AS
286762012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28677
28678 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28679 used as bcopy.
28680
dc70356c
TS
286812012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28682
28683 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28684 * sysdeps/unix/syscalls.list (dup3): Likewise.
28685 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28686 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28687
9fb1a21f
L
286882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28689
28690 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28691 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28692
4822a2a5
L
286932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28694
28695 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28696 thread pointer.
28697 (TLS_IE): Use mov/add instead of movq/addq to load thread
28698 pointer.
28699 (TLS_GD_PREFIX): New.
28700 (TLS_GD): Use it.
28701
842b81d6
DM
287022012-05-11 David S. Miller <davem@davemloft.net>
28703
28704 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28705 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28706 (_FPU_SETCW): Likewise.
28707
1cf463cd
L
287082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28709
28710 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28711 is 32-byte aligned.
28712
60cc4a18
AS
287132012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28714
28715 [BZ #11837]
28716 * iconvdata/gb18030.c: Update tables.
28717 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28718 characters specially.
28719 (BODY for TO_LOOP): Add encoding of missing ranges.
28720
febb44a4
TS
287212012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28722
28723 [BZ #13673]
28724 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28725 * sysdeps/mach/hurd/dup3.c: Likewise.
28726 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28727 * sysdeps/powerpc/memmove.c:: Likewise.
28728
0a10fb9e
L
287292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28730
28731 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28732 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28733
df8a552f
L
287342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28735
28736 * elf/elf.h (R_X86_64_RELATIVE64): New.
28737 (R_X86_64_NUM): Updated.
28738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28739 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28740 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28741 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28742 tst-quad1pie tst-quad2pie
28743 (modules-names): Add tst-quadmod1 tst-quadmod2.
28744 ($(objpfx)tst-quad1): New dependency.
28745 ($(objpfx)tst-quad2): Likewise.
28746 ($(objpfx)tst-quad1pie): Likewise.
28747 ($(objpfx)tst-quad2pie): Likewise.
28748 * sysdeps/x86_64/tst-quad1.c: New file.
28749 * sysdeps/x86_64/tst-quad1pie.c: New file.
28750 * sysdeps/x86_64/tst-quad2.c: Likewise.
28751 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28752 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28753 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28754 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28755 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28756
f34d6f84
ST
287572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28758
f42d41d1
ST
28759 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28760 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28761 * streams/stropts.h (t_scalar_t): Define type.
28762
3c3571fc
ST
28763 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28764 (_PATH_PRESERVE): Set to "/var/lib".
28765 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28766
61f06bd3
ST
28767 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28768 instead of int.
28769
918d4d71
ST
28770 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28771 if __dir_mkfile succeeded.
28772
f34d6f84
ST
28773 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28774 checking for _hurd_dtablesize. Unlock it right after having
28775 finished _hurd_dtable allocation.
28776
10589b4a
TS
287772012-05-10 Thomas Schwinge <thomas@schwinge.name>
28778
674cdbc7
TS
28779 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28780 * sysdeps/mach/hurd/configure: Regenerated.
28781 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28782 special-casing to...
28783 * sysdeps/gnu/configure.in: ... this new file.
28784 * sysdeps/unix/sysv/linux/configure: Regenerated.
28785 * sysdeps/gnu/configure: New generated file.
28786
8e41b99f
TS
28787 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28788 for Linux: use nsec instead of usec, as well as:
28789 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28790 members of type struct timespec.
28791 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28792 New macros.
28793 (struct stat64): Likewise.
28794 (_STATBUF_ST_NSEC): New macro.
28795 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28796
10589b4a
TS
28797 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28798 __strtoul_internal rather than strtoul.
28799
63643c85
PT
288002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28801
28802 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28803 and reject them.
28804
3faebe6a
ST
288052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28806
28807 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28808 which preserves existing values.
28809 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28810
c6474b07
PT
288112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28812
28813 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28814 TIMEOUT values. Return EINVAL for NFDS values either negative or
28815 greater than FD_SETSIZE.
28816
1043890b
ST
288172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28818
28819 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28820 allocated, call __vm_protect to finish enabling the existing space, and
28821 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28822 allocate the remainder.
28823
37ed8b9b
PT
288242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28825
28826 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28827 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28828
db653660
ST
288292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28830
37ed8b9b
PT
28831 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28832 sysdeps/mach/hurd/readlink.c.
b29d4053 28833
db653660
ST
28834 * posix/tst-sysconf.c (posix_options): Only use
28835 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28836 _POSIX_SYNCHRONIZED_IO when they are defined
28837 * sysdeps/mach/hurd/bits/posix_opt.h:
28838 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28839 (_XOPEN_REALTIME): Undefine macro.
28840 (_XOPEN_REALTIME_THREADS): Undefine macro.
28841 (_XOPEN_SHM): Undefine macro.
28842 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28843 macro to -1.
28844 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28845 macro to -1.
28846 (_POSIX_ASYNC_IO): Undefine macro.
28847 (_POSIX_PRIORITIZED_IO): Undefine macro.
28848 (_POSIX_SPIN_LOCKS): Define macro to -1.
28849
ee16e894
ST
28850 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28851 SA_NODEFER, SA_RESETHAND.
28852 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28853 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28854 F_DUPFD_CLOEXEC.
28855
6103ae3b
TS
288562012-05-10 Thomas Schwinge <thomas@schwinge.name>
28857
28858 * elf/Makefile (pldd-modules): Define unconditionally.
28859
80b4e5f3
TS
288602012-05-10 Thomas Schwinge <thomas@schwinge.name>
28861
28862 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28863
edadcbd6
ST
288642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28865
28866 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28867 Return ENOENT when name is empty.
28868 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28869
80694780
TS
288702012-05-10 Thomas Schwinge <thomas@schwinge.name>
28871
1792c087
TS
28872 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28873
80694780
TS
28874 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28875
6b645f0d
ST
288762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28877
80694780
TS
28878 Fix mlock in all cases except non-readable pages.
28879 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28880 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28881
6b645f0d
ST
28882 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28883 (__mkdir): When path is `/', just fail with EEXIST.
28884 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28885
e468f8a3
TS
288862012-05-10 Thomas Schwinge <thomas@schwinge.name>
28887
28888 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28889 <sys/uio.h> (for writev).
28890 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28891 and <sys/param.h> (for MIN).
28892
a4186cff
PT
288932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28894
28895 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28896 REQUESTED_TIME. Properly set the remaining time and return EINTR
28897 if interrupted.
28898
510bbf14
TS
288992012-05-10 Thomas Schwinge <thomas@schwinge.name>
28900
28901 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28902 Depend on against $(link-rpcuserlibs).
28903
5d5722e8
ST
289042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28905
a4186cff
PT
28906 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28907 (__libc_stack_end): Do not use attribute_relro.
28908 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28909 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28910 to libthread-provided value.
a4186cff
PT
28911 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28912 attribute_relro.
5d5722e8 28913
37233df9
TS
289142012-05-10 Thomas Schwinge <thomas@schwinge.name>
28915
be971a2b
TS
28916 [BZ #3748]
28917 * bits/libc-lock.h (__libc_once_get): New macro.
28918 * sysdeps/mach/bits/libc-lock.h: Likewise.
28919 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28920 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28921 instead of using implementation details.
28922
37233df9
TS
28923 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28924 * libio/freopen.c: Likewise.
28925 * libio/freopen64.c: Likewise.
28926 * misc/syslog.c: Likewise.
28927 * nscd/connections.c: Likewise.
28928 * nscd/netgroupcache.c: Likewise.
28929 * sysdeps/posix/getcwd.c: Likewise.
28930
38de94a5
RM
289312012-05-10 Roland McGrath <roland@hack.frob.com>
28932
28933 * math/w_ilogbf.c: Add #include <limits.h>.
28934
67530489
ST
289352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28936
a4186cff 28937 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
28938 path instead of returning without unlocking.
28939
67530489
ST
28940 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28941 immediate-write ioctls.
28942 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28943
5aa3a74a
TS
289442012-05-10 Thomas Schwinge <thomas@schwinge.name>
28945
18bad2ae
TS
28946 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28947 __builtin_frame_address instead of making assumptions about the
28948 location of the return address relative to DATA. Force early load of
28949 the return address.
28950 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28951 __builtin_frame_address.
28952
5aa3a74a
TS
28953 dup3 for GNU Hurd.
28954 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28955 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28956 implement dup3 and do some further code clean-ups.
28957 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28958 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28959
ecd0de9a
ST
289602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28961
cd9fa985
ST
28962 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28963
a4186cff
PT
28964 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28965 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28966 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28967 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28968 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28969 d->port.lock.
802ca5a5 28970
a4186cff
PT
28971 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28972 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28973 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 28974
bcf55240
TS
289752012-05-10 Thomas Schwinge <thomas@schwinge.name>
28976
6960eb42
TS
28977 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28978 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28979 definitions.
28980
eb43375f
TS
28981 accept4 for GNU Hurd.
28982 * include/sys/socket.h (__libc_accept4): New prototype.
28983 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28984 to implement __libc_accept4.
28985 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28986 __libc_accept4.
28987 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28988
bcf55240
TS
28989 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28990 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28991 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28992 signal-defines.sym.
28993
6178c55b
ST
289942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28995
a4186cff 28996 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 28997
6f080c2f
TS
289982012-05-10 Thomas Schwinge <thomas@schwinge.name>
28999
29000 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29001 assertion on O_CLOEXEC flag.
29002 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29003 * hurd/intern-fd.c: Likewise.
29004 * hurd/port2fd.c: Likewise.
29005
bcfe3a54
ST
290062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29007
29008 [BZ #3906]
29009 * bits/in.h (IPV6_PKTINFO): Define new macro.
29010 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29011
89c9aa49
AZ
290122012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29013
29014 [BZ #13954]
29015 [BZ #13955]
29016 [BZ #13956]
29017 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29019 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29020 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29021 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29022 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29023 * math/libm-test.inc (logb_test) : Additional logb tests.
29024
021db4be
AJ
290252012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29026 Andreas Jaeger <aj@suse.de>
29027
29028 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29029 * configure: Regenerated.
29030 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29031 * config.make.in (link-obsolete-rpc): New substituted variable.
29032 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29033 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29034 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29035 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29036 so that libc.a contains the symbols.
29037 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29038 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29039 * sunrpc/auth_none.c: Likewise.
29040 * sunrpc/auth_unix.c: Likewise.
29041 * sunrpc/authdes_prot.c: Likewise.
29042 * sunrpc/authuxprot.c: Likewise.
29043 * sunrpc/clnt_gen.c: Likewise.
29044 * sunrpc/clnt_perr.c: Likewise.
29045 * sunrpc/clnt_raw.c: Likewise.
29046 * sunrpc/clnt_simp.c: Likewise.
29047 * sunrpc/clnt_tcp.c: Likewise.
29048 * sunrpc/clnt_udp.c: Likewise.
29049 * sunrpc/clnt_unix.c: Likewise.
29050 * sunrpc/des_crypt.c: Likewise.
29051 * sunrpc/des_soft.c: Likewise.
29052 * sunrpc/get_myaddr.c: Likewise.
29053 * sunrpc/key_call.c: Likewise.
29054 * sunrpc/key_prot.c: Likewise.
29055 * sunrpc/netname.c: Likewise.
29056 * sunrpc/pm_getmaps.c: Likewise.
29057 * sunrpc/pm_getport.c: Likewise.
29058 * sunrpc/pmap_clnt.c: Likewise.
29059 * sunrpc/pmap_prot.c: Likewise.
29060 * sunrpc/pmap_prot2.c: Likewise.
29061 * sunrpc/pmap_rmt.c: Likewise.
29062 * sunrpc/publickey.c: Likewise.
29063 * sunrpc/rpc_cmsg.c: Likewise.
29064 * sunrpc/rpc_common.c: Likewise.
29065 * sunrpc/rpc_dtable.c: Likewise.
29066 * sunrpc/rpc_prot.c: Likewise.
29067 * sunrpc/rpc_thread.c: Likewise.
29068 * sunrpc/rtime.c: Likewise.
29069 * sunrpc/svc.c: Likewise.
29070 * sunrpc/svc_auth.c: Likewise.
29071 * sunrpc/svc_raw.c: Likewise.
29072 * sunrpc/svc_run.c: Likewise.
29073 * sunrpc/svc_tcp.c: Likewise.
29074 * sunrpc/svc_udp.c: Likewise.
29075 * sunrpc/svc_unix.c: Likewise.
29076 * sunrpc/svcauth_des.c: Likewise.
29077 * sunrpc/xcrypt.c: Likewise.
29078 * sunrpc/xdr.c: Likewise.
29079 * sunrpc/xdr_array.c: Likewise.
29080 * sunrpc/xdr_float.c: Likewise.
29081 * sunrpc/xdr_intXX_t.c: Likewise.
29082 * sunrpc/xdr_mem.c: Likewise.
29083 * sunrpc/xdr_rec.c: Likewise.
29084 * sunrpc/xdr_ref.c: Likewise.
29085 * sunrpc/xdr_sizeof.c: Likewise.
29086 * sunrpc/xdr_stdio.c: Likewise.
29087
b5c086a2
RM
290882012-05-10 Roland McGrath <roland@hack.frob.com>
29089
29090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29091 change. Update copyright years.
29092
6d74dd09
JM
290932012-05-10 Joseph Myers <joseph@codesourcery.com>
29094
29095 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29096
28e72501
MK
290972012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29098 Joseph Myers <joseph@codesourcery.com>
29099 Paul Pluzhnikov <ppluzhnikov@google.com>
29100
29101 [BZ #14012]
29102 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29103 requiring rpcgen.
29104 [cross-compiling] (extra-libs): Likewise.
29105 [cross-compiling] (extra-libs-others): Likewise.
29106 [cross-compiling] (librpcsvc-routines): Likewise.
29107 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29108 [cross-compiling] (omit-deps): Likewise.
29109 (sunrpc-CPPFLAGS): New variable.
29110 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29111 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29112 (cross-rpcgen-objs): New variable.
29113 (extra-objs): Append $(cross-rpcgen-objs).
29114 ($(cross-rpcgen-objs)): New rule.
29115 ($(objpfx)cross-rpcgen): Likewise.
29116 (rpcgen-cmd): Define to use $(built-program-file). Expand
29117 comment.
29118 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29119 ($(objpfx)x%.stmp): Likewise.
29120 * sunrpc/proto.h [IS_IN_build] (_): Define.
29121 [IS_IN_build] (_libc_intl_domainname): Likewise.
29122
c8c59454
L
291232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29124
29125 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29126 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29127 and R_X86_64_TPOFF64.
29128
6f27cd16
JM
291292012-05-10 Joseph Myers <joseph@codesourcery.com>
29130
29131 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29132 sysdeps/unix/sysv/syscalls.list.
29133 (stime): Likewise.
29134 (utime): Likewise.
29135 * sysdeps/unix/sysv/syscalls.list: Remove file.
29136
02467e1c
PE
291372012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29138
29139 [BZ #3440]
29140 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29141 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29142 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29143 (__LC_IDENTIFICATION): Make these macros useful in #if
29144 expressions, as required by C99.
29145
da392631
AS
291462012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29147
29148 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29149 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29150 after this.
29151
8115f29b
L
291522012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29153
29154 * stdlib/longlong.h: Updated from GCC.
29155
bdd74070
AJ
291562012-05-09 Andreas Jaeger <aj@suse.de>
29157
edfe0dbe
AJ
29158 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29159 default is first entry.
29160 (run_mode): Set type.
29161 (main): Remove informal message about syslog.
29162 (options): Fix typo.
29163
bcfe3a54
ST
29164 [BZ #14053]
29165 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29166 to asm.
bcfe3a54
ST
29167 (lrint): Likewise.
29168 (llrintf): Likewise.
29169 (llrint): Likewise.
29170 (rint): Likewise.
29171 (rintf): Likewise.
29172 (nearbyint): Likewise.
29173 (nearbyintf): Likewise.
bdd74070 29174
91d8d69e
AJ
291752012-05-09 Andreas Jaeger <aj@suse.de>
29176 Pedro Alves <palves@redhat.com>
29177
29178 * nscd/nscd.c (run_mode): Use enum.
29179 (main): Cleanup coding style issue.
29180
bb90b80b
AJ
291812012-05-09 Alexandre Oliva <aoliva@redhat.com>
29182 Andreas Jaeger <aj@suse.de>
29183
bcfe3a54
ST
29184 * nscd/nscd.c (go_background): Replaced with...
29185 (run_mode): ... this.
bb90b80b 29186 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29187 (options): Add -F --foreground.
29188 (main): Implement it.
29189 (parse_opt): Parse it.
bb90b80b 29190
1a4b75a1
AJ
291912012-05-09 Andreas Jaeger <aj@suse.de>
29192
29193 [BZ #14083]
29194 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29195 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29196 -Wconversion warning.
29197 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29198 Likewise.
29199
b1cc2472
JM
292002012-05-09 Joseph Myers <joseph@codesourcery.com>
29201
29202 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29203 == 0.
29204 (LC_ALL): Use macro-int-constant.
29205 (LC_COLLATE): Likewise.
29206 (LC_CTYPE): Likewise.
29207 (LC_MESSAGES): Likewise.
29208 (LC_MONETARY): Likewise.
29209 (LC_NUMERIC): Likewise.
29210 (LC_TIME): Likewise.
29211 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29212 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29214 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29215 Specify type.
29216 [C99-based standards] (float_t): Expect type.
29217 [C99-based standards] (double_t): Expect type.
29218 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29219 type.
29220 [C99-based standards] (HUGE_VALL): Likewise.
29221 [C99-based standards] (INFINITY): Likewise.
29222 [C99-based standards] (NAN): Likewise.
29223 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29224 [C99-based standards] (FP_NAN): Likewise.
29225 [C99-based standards] (FP_NORMAL): Likewise.
29226 [C99-based standards] (FP_SUBNORMAL): Likewise.
29227 [C99-based standards] (FP_ZERO): Likewise.
29228 [C99-based standards] (FP_FAST_FMA): Use
29229 optional-macro-int-constant. Specify type. Require == 1.
29230 [C99-based standards] (FP_FAST_FMAF): Likewise.
29231 [C99-based standards] (FP_FAST_FMAL): Likewise.
29232 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29233 [C99-based standards] (FP_ILOGBNAN): Likewise.
29234 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29235 Specify type.
29236 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29237 [C99-based standards] (math_errhandling): Specify type.
29238 [ISO99 || ISO11] (signgam): Do not allow.
29239 [non-C99-based standards] (copysignf): Do not allow.
29240 [non-C99-based standards] (exp2f): Likewise.
29241 [non-C99-based standards] (log2f): Likewise.
29242 [non-C99-based standards] (modff): Allow.
29243 [non-C99-based standards] (erff): Do not allow.
29244 [non-C99-based standards] (erfcf): Likewise.
29245 [non-C99-based standards] (gammaf): Likewise.
29246 [non-C99-based standards] (hypotf): Likewise.
29247 [non-C99-based standards] (j0f): Likewise.
29248 [non-C99-based standards] (j1f): Likewise.
29249 [non-C99-based standards] (jnf): Likewise.
29250 [non-C99-based standards] (lgammaf): Likewise.
29251 [non-C99-based standards] (tgammaf): Likewise.
29252 [non-C99-based standards] (y0f): Likewise.
29253 [non-C99-based standards] (y1f): Likewise.
29254 [non-C99-based standards] (ynf): Likewise.
29255 [non-C99-based standards] (isnanf): Likewise.
29256 [non-C99-based standards] (acoshf): Likewise.
29257 [non-C99-based standards] (asinhf): Likewise.
29258 [non-C99-based standards] (atanhf): Likewise.
29259 [non-C99-based standards] (cbrtf): Likewise.
29260 [non-C99-based standards] (expm1f): Likewise.
29261 [non-C99-based standards] (ilogbf): Likewise.
29262 [non-C99-based standards] (log1pf): Likewise.
29263 [non-C99-based standards] (logbf): Likewise.
29264 [non-C99-based standards] (nextafterf): Likewise.
29265 [non-C99-based standards] (remainderf): Likewise.
29266 [non-C99-based standards] (rintf): Likewise.
29267 [non-C99-based standards] (scalbf): Likewise.
29268 [non-C99-based standards] (copysignl): Likewise.
29269 [non-C99-based standards] (exp2l): Likewise.
29270 [non-C99-based standards] (log2l): Likewise.
29271 [non-C99-based standards] (modfl): Allow.
29272 [non-C99-based standards] (erfl): Do not allow.
29273 [non-C99-based standards] (erfcl): Likewise.
29274 [non-C99-based standards] (gammal): Likewise.
29275 [non-C99-based standards] (hypotl): Likewise.
29276 [non-C99-based standards] (j0l): Likewise.
29277 [non-C99-based standards] (j1l): Likewise.
29278 [non-C99-based standards] (jnl): Likewise.
29279 [non-C99-based standards] (lgammal): Likewise.
29280 [non-C99-based standards] (tgammal): Likewise.
29281 [non-C99-based standards] (y0l): Likewise.
29282 [non-C99-based standards] (y1l): Likewise.
29283 [non-C99-based standards] (ynl): Likewise.
29284 [non-C99-based standards] (isnanl): Likewise.
29285 [non-C99-based standards] (acoshl): Likewise.
29286 [non-C99-based standards] (asinhl): Likewise.
29287 [non-C99-based standards] (atanhl): Likewise.
29288 [non-C99-based standards] (cbrtl): Likewise.
29289 [non-C99-based standards] (expm1l): Likewise.
29290 [non-C99-based standards] (ilogbl): Likewise.
29291 [non-C99-based standards] (log1pl): Likewise.
29292 [non-C99-based standards] (logbl): Likewise.
29293 [non-C99-based standards] (nextafterl): Likewise.
29294 [non-C99-based standards] (remainderl): Likewise.
29295 [non-C99-based standards] (rintl): Likewise.
29296 [non-C99-based standards] (scalbl): Likewise.
29297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29298 [non-C99-based standards] (FP_*): Do not allow.
29299 [C99-based standards] (FP_*): Change to
29300 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29301 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29302 allow.
29303 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29304 (SIG_ERR): Likewise.
29305 [X/Open-based standards] (SIG_HOLD): Likewise.
29306 (SIG_IGN): Likewise.
29307 (SIGABRT): Use macro-int-constant. Specify type. Require
29308 positive value.
29309 (SIGFPE): Likewise.
29310 (SIGILL): Likewise.
29311 (SIGINT): Likewise.
29312 (SIGSEGV): Likewise.
29313 (SIGTER): Likewise.
29314 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29315 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29316 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29317 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29318 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29319 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29320 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29321 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29322 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29323 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29324 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29325 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29326 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29327 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29328 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29329 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29330 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29331 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29332 [X/Open-based standards] (SIGTRAP): Likewise.
29333 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29334 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29335 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29336 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29337 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29338 allow.
29339
b9f1922d
IW
293402012-05-08 Ian Wienand <ianw@vmware.com>
29341
29342 [BZ #14080]
29343 * time/tzset.c (__tzset_parse_tz): Update default rules for
29344 daylight time changes in the Energy Policy Act of 2005.
29345
1db86e88
AJ
293462012-05-09 Andreas Jaeger <aj@suse.de>
29347
29348 [BZ #13983]
29349 * elf/ldconfig.c (parse_conf): Change string to make clear that
29350 ldconfig only issued a warning if ld.so.conf does not exist.
29351
dee4a4e3
DM
293522012-05-08 David S. Miller <davem@davemloft.net>
29353
ee0db190
DM
29354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29355 movxtod instead of popping the value on the stack.
29356
dee4a4e3
DM
29357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29358
6a43ec98
CD
293592012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29360
29361 * config.h.in: Add HAVE_ARM_PCS_VFP.
29362
05c2c961
RMG
293632012-05-08 Roland Mc Grath <roland@hack.frob.com>
29364
bcfe3a54
ST
29365 [BZ #13979]
29366 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29367 checking but the checks are disabled for any reason.
05c2c961 29368
4b30f61a
L
293692012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29370
29371 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29372 and ELF64_R_TYPE with ELFW(R_TYPE).
29373
eee2bc67
JM
293742012-05-08 Joseph Myers <joseph@codesourcery.com>
29375
7ea5391a
JM
29376 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29377 (ulimit): Likewise.
29378
eee2bc67
JM
29379 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29380 (settimeofday): Likewise.
29381
abb66a67
MF
293822012-05-08 Mike Frysinger <vapier@gentoo.org>
29383
29384 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29385 a struct th_u2 inside the union, and move tu_block/tu_code into
29386 a new th_u3 union of tu_block/tu_code inside of that. Move
29387 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29388 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29389 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29390 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29391 (th_stuff): Change to th_u1.tu_stuff.
29392 (th_data): Define.
29393 (th_msg): Change to th_u1.th_u2.tu_data.
29394
7f18b530
DM
293952012-05-07 David S. Miller <davem@davemloft.net>
29396
05760585
DM
29397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29398
7f18b530
DM
29399 [BZ #14074]
29400 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29401 (SETUP_PIC_REG): Use it.
29402 (SETUP_PIC_REG_LEAF): Use it.
29403
495fd99f
JM
294042012-05-07 Joseph Myers <joseph@codesourcery.com>
29405
29406 [BZ #13885]
29407 [BZ #13923]
29408 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29409 USE_AS_EXPM1L.
29410 (EXPL_FINITE): Likewise.
29411 (FLDLOG): Likewise.
29412 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29413 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29414 e_expl.S.
29415 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29416 USE_AS_EXPM1L.
29417 (EXPL_FINITE): Likewise.
29418 (FLDLOG): Likewise.
29419 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29420 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29421 e_expl.S.
29422 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29423 test of -max_value argument for long double.
29424 * sysdeps/i386/fpu/libm-test-ulps: Update.
29425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29426
6693d694
DM
294272012-05-06 David S. Miller <davem@davemloft.net>
29428
29429 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29430 quad soft-float symbols whose references which are compiler
29431 generated.
29432 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29433
6c23e11c
JM
294342012-05-06 Joseph Myers <joseph@codesourcery.com>
29435
d8b82cad
JM
29436 [BZ #13884]
29437 [BZ #13914]
29438 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29439 USE_AS_EXP10L.
29440 (EXPL_FINITE): Likewise.
29441 (FLDLOG): Likewise.
29442 (c0): Likewise.
29443 (c1): Likewise.
29444 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29445 Adjust comments for base varying.
29446 (__expl_finite): Change alias to EXPL_FINITE.
29447 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29448 e_expl.S.
29449 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29450 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29451 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29452 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29453 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29454 USE_AS_EXP10L.
29455 (EXPL_FINITE): Likewise.
29456 (FLDLOG): Likewise.
29457 (c0): Likewise.
29458 (c1): Likewise.
29459 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29460 Adjust comments for base varying.
29461 (__expl_finite): Change alias to EXPL_FINITE.
29462 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29463 tests for bugs.
29464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29465
6c23e11c
JM
29466 [BZ #14064]
29467 * math/libm-test.inc (check_float_internal): Correct ulp
29468 calculation for subnormal expected results.
29469
29ba805c
AJ
294702012-05-06 Andreas Jaeger <aj@suse.de>
29471
29472 * Makeconfig (+math-flags): New, set to -frounding-math.
29473 (+cflags): Add +math-flags so that all of glibc gets compiled with
29474 it.
29475
29476 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29477
7b17aeda
JM
294782012-05-05 Joseph Myers <joseph@codesourcery.com>
29479
5779f134
JM
29480 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29481 Disable one test.
29482
41498f4d
JM
29483 [BZ #13787]
29484 [BZ #13922]
29485 [BZ #14036]
29486 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29487 (__ieee754_expl): Allow for and saturate large arguments.
29488 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29489 (u_threshold): Likewise.
29490 (__exp): Call __ieee754_exp before checking for overflow and
29491 underflow.
29492 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29493 (u_threshold): Likewise.
29494 (__expf): Call __ieee754_expf before checking for overflow and
29495 underflow.
29496 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29497 (u_threshold): Likewise.
29498 (__expl): Call __ieee754_expl before checking for overflow and
29499 underflow.
29500 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29501 (__ieee754_expl): Allow for and saturate large arguments.
29502 * math/libm-test.inc (exp_test): Add another test. Do not allow
29503 missing overflow exception on overflow.
29504 (expm1_test): Do not allow missing overflow exception on overflow.
29505
6698b8bf
JM
29506 * sysdeps/i386/fpu/e_expl.c: Move to ...
29507 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29508 rather than using inline asm.
29509 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29510 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29511 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29512
7b17aeda
JM
29513 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29514 (nice): Likewise.
29515 (poll): Likewise.
29516 (signal): Likewise.
29517 (time): Likewise.
29518 (times): Likewise.
29519
f7c85819
JM
295202012-05-04 Joseph Myers <joseph@codesourcery.com>
29521
29522 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29523 sysdeps/unix/common/syscalls.list.
29524 (fchmod): Likewise.
29525 (fchown): Likewise.
29526 (ftruncate): Likewise.
29527 (getrusage): Likewise.
29528 (gettimeofday): Likewise.
29529 (setpgid): Likewise.
29530 (setregid): Likewise.
29531 (setreuid): Likewise.
29532 (sigaction): Likewise.
29533 (truncate): Likewise.
29534 (vhangup): Likewise.
29535 * sysdeps/unix/common/syscalls.list: Remove file.
29536 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29537 * sysdeps/unix/sysv/linux/Implies: Likewise.
29538
336270d0
L
295392012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29540
29541 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29543 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29544 Moved to ...
29545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29546 Here.
29547 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29548 to ...
29549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29550 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29551 to ...
29552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29553 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29554 to ...
29555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29556 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29557 to ...
29558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29559 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29560 to ...
29561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29562 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29563 to ...
29564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29565 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29566 to ...
29567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29568 Here.
29569 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29570 to ...
29571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29572 Here.
29573 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29574 to ...
29575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29576 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29577 Moved to ...
29578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29579 Here.
29580 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29581 to ...
29582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29583
d128e450
JM
295842012-05-04 Joseph Myers <joseph@codesourcery.com>
29585
fa8ee516
JM
29586 * sysdeps/unix/common/bits/dirent.h: Remove file.
29587 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29588
d128e450
JM
29589 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29590 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29591 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29592 * sysdeps/unix/bsd/isatty.c: Likewise.
29593 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29594 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29595 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29596
ff8faaf0 295972012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29598
62881be4 29599 [BZ #13563]
31dc8730
AZ
29600 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29601 long double comparison inaccuracies.
29602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29604
6fef930c
AS
296052012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29606
29607 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29608 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29609
8f203e6c
JM
296102012-05-04 Joseph Myers <joseph@codesourcery.com>
29611
29612 [BZ #14049]
29613 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29614 nonzero digits before rounding a hex value.
29615 * stdlib/tst-strtod.c (tests): Add another test.
29616
5197d9c2
AK
296172012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29618
29619 * sysdeps/s390/fpu/libm-test-ulps: Update.
29620
f0c1dedf
AJ
296212012-05-03 Andreas Jaeger <aj@suse.de>
29622
29623 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29624 does not get optimized out.
29625 (malloc_opt_barrier): New.
29626
a65ef2ae 296272012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29628 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29629
2b942cb7 29630 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29631 intermediate file deletion.
2b942cb7 29632 (generated): Add .symlist files.
a65ef2ae 29633
54b71e02
JM
296342012-05-03 Joseph Myers <joseph@codesourcery.com>
29635
29636 [BZ #13775]
29637 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29638 Redirect under this condition.
29639 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29640 [__USE_GNU] (__dprintf_chk): Not under this condition.
29641 [__USE_GNU] (__vdprintf_chk): Likewise.
29642 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29643 under this condition.
29644 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29645 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29646 [__USE_XOPEN2K8] (vdprintf): Likewise.
29647 [__USE_GNU] (__dprintf_chk): Not under this condition.
29648 [__USE_GNU] (__vdprintf_chk): Likewise.
29649 [__USE_GNU] (dprintf): Likewise.
29650 [__USE_GNU] (vdprintf): Likewise.
29651
d3dfcc41
RM
296522012-05-03 Roland McGrath <roland@hack.frob.com>
29653
29654 * elf/Makefile (common-generated): Set this instead of generated for
29655 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29656 $(all-built-dso)-derived lists.
29657
7ac30cc5
AJ
296582012-05-03 Andreas Jaeger <aj@suse.de>
29659
0c51e550
AJ
29660 * sysdeps/i386/fpu/libm-test-ulps: Update.
29661
7ac30cc5
AJ
29662 * FAQ: Removed.
29663 * FAQ.in: Likewise.
29664 * scripts/gen-FAQ.pl: Likewise.
29665 * manual/install.texi (Installation): Point to online location of
29666 FAQ.
29667 * Makefile (files-for-dist): Remove FAQ.
29668 (FAQ): Remove.
29669
d4c2917f
AM
296702012-05-02 Allan McRae <allan@archlinux.org>
29671
29672 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29673 (LDFLAGS-reldepmod5.so): Likewise.
29674 (LDFLAGS-reldep6mod1.so): Likewise.
29675 (LDFLAGS-reldep6mod4.so): Likewise.
29676 (LDFLAGS-reldep8mod3.so): Likewise.
29677 (LDFLAGS-unload4mod1.so): Likewise.
29678 (LDFLAGS-unload4mod2.so): Likewise.
29679 (LDFLAGS-tst-initorder): Likewise.
29680 (LDFLAGS-tst-initordera2.so): Likewise.
29681 (LDFLAGS-tst-initordera3.so): Likewise.
29682 (LDFLAGS-tst-initordera4.so): Likewise.
29683 (LDFLAGS-tst-initorderb2.so): Likewise.
29684 (LDFLAGS-noload): Likewise.
29685 (LDFLAGS-next): Likewise.
29686 (LDFLAGS-order2mod1.so): Likewise.
29687 (LDFLAGS-order2mod2.so): Likewise.
29688 (LDFLAGS-tst-initorder2): Likewise.
29689 (LDFLAGS-tst-initorder2a.so): Likewise.
29690 (LDFLAGS-tst-initorder2b.so): Likewise.
29691 (LDFLAGS-tst-initorder2c.so): Likewise.
29692 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29693
d77f993f
DM
296942012-05-02 David S. Miller <davem@davemloft.net>
29695
29696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29697
171a70b4
PP
296982012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29699
29700 [BZ #14055]
29701 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29702
0be196ad
AJ
297032012-05-02 Andreas Jaeger <aj@suse.de>
29704
29705 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29706 since we manipulate rounding mode.
29707 (CPPFLAGS-test-idouble.c): Likewise.
29708 (CPPFLAGS-test-ifloat.c): Likewise.
29709 (CFLAGS-test-ldouble.c): Likewise.
29710 (CFLAGS-test-double.c): Likewise.
29711 (CFLAGS-test-float.c): Likewise.
29712 (CFLAGS-test-misc.c): Likewise.
29713 (CFLAGS-test-test-fenv.c): Likewise.
29714
4f9d04aa
AZ
297152012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29716
2b942cb7
RM
29717 [BZ #2550]
29718 [BZ #2570]
29719 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29720 comparisons to determine direction to adjust input.
4f9d04aa 29721
82a79e7d
RM
297222012-05-01 Roland McGrath <roland@hack.frob.com>
29723
f5a01ca9
RM
29724 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29725 output to the target.
29726
90fe4186
RM
29727 * scripts/localplt.awk: New file.
29728 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29729 (check-localplt-CFLAGS): Variable removed.
29730 ($(all-built-dso:=.jmprel)): New static pattern rule.
29731 (generated): Add those targets.
29732 (localplt-built-dso): New variable.
29733 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29734
29735 * elf/check-localplt.c: File removed.
29736
82397ed6
RM
29737 * scripts/check-execstack.awk: New file.
29738 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29739 (check-execstack-CFLAGS): Variable removed.
29740 ($(objpfx)check-execstack.h): Target removed.
29741 ($(objpfx)execstack-default): New target.
29742 (generated): Add that instead of check-execstack.h.
29743 ($(all-built-dso:=.phdr)): New static pattern rule.
29744 (generated): Add those targets.
29745 * elf/check-execstack.c: File removed.
29746
82a79e7d
RM
29747 * scripts/check-textrel.awk: New file.
29748 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29749 (check-textrel-CFLAGS): Variable removed.
29750 (all-built-dso): Use := to define.o
29751 ($(all-built-dso:=.dyn)): New static pattern rule.
29752 (generated): Add those targets.
29753 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29754 * config.make.in (READELF): New substituted variable.
29755 * elf/check-textrel.c: File removed.
29756
62fde54f 297572012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29758
615605c9
JM
29759 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29760 allow.
29761 * conform/data/ctype.h-data [C99-based standards] (isblank):
29762 Expect function.
29763 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29764 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29765 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29766 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29767 Specify type. Require positive value.
29768 (EILSEQ): Likewise.
29769 (ERANGE): Likewise.
29770 [ISO || POSIX] (EILSEQ): Do not expect.
29771 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29772 Specify type. Require positive value.
29773 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29774 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29775 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29776 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29777 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29778 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29779 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29780 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29781 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29782 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29783 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29784 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29785 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29786 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29787 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29788 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29789 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29790 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29791 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29792 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29793 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29794 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29795 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29796 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29797 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29798 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29799 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29800 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29801 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29802 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29803 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29804 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29805 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29806 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29807 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29808 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29809 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29810 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29811 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29812 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29813 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29814 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29815 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29816 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29817 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29818 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29819 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29820 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29821 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29822 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29823 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29824 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29825 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29826 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29827 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29828 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29829 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29830 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29831 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29832 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29833 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29834 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29835 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29836 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29837 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29838 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29839 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29840 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29841 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29842 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29843 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29844 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29845 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29846 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29847 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29848 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29849 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29850 Require >= 2.
29851 (FLT_ROUNDS): Expect as macro, not constant.
29852 (FLT_MANT_DIG): Use macro-int-constant.
29853 (DBL_MANT_DIG): Likewise.
29854 (LDBL_MANT_DIG): Likewise.
29855 (FLT_DIG): Likewise.
29856 (DBL_DIG): Likewise.
29857 (LDBL_DIG): Likewise.
29858 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29859 (DBL_MIN_EXP): Likewise.
29860 (LDBL_MIN_EXP): Likewise.
29861 (FLT_MAX_EXP): Use macro-int-constant.
29862 (DBL_MAX_EXP): Likewise.
29863 (LDBL_MAX_EXP): Likewise.
29864 (FLT_MAX_10_EXP): Likewise.
29865 (DBL_MAX_10_EXP): Likewise.
29866 (LDBL_MAX_10_EXP): Likewise.
29867 (FLT_MAX): Use macro-constant.
29868 (DBL_MAX): Likewise.
29869 (LDBL_MAX): Likewise.
29870 (FLT_EPSILON): Use macro-constant. Give upper bound.
29871 (DBL_EPSILON): Likewise.
29872 (LDBL_EPSILON): Likewise.
29873 (FLT_MIN): Likewise.
29874 (DBL_MIN): Likewise.
29875 (LDBL_MIN): Likewise.
29876 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29877 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29878 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29879 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29880 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29881 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29882 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29883 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29884 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29885 [ISO11] (FLT_TRUE_MIN): Likewise.
29886 [ISO11] (LDBL_TRUE_MIN): Likewise.
29887 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29888 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29889 (SCHAR_MIN): Use macro-int-constant. Specify type.
29890 (SCHAR_MAX): Likewise.
29891 (UCHAR_MAX): Likewise.
29892 (CHAR_MIN): Likewise.
29893 (CHAR_MAX): Likewise.
29894 (MB_LEN_MAX): Use macro-int-constant.
29895 (SHRT_MIN): Use macro-int-constant. Specify type.
29896 (SHRT_MAX): Likewise.
29897 (USHRT_MAX): Likewise.
29898 (INT_MAX): Likewise.
29899 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29900 bound negative.
29901 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29902 bound with "U".
29903 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29904 bound with "L".
29905 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29906 bound negative. Suffix upper bound with "L".
29907 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29908 bound with "UL".
29909 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29910 Specify type.
29911 [C99-based standards] (LLONG_MAX): Likewise.
29912 [C99-based standards] (ULLONG_MAX): Likewise.
29913 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29914 == 0.
29915 [ISO11] (max_align_t): Require type.
29916 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29917
c9140a62
JM
29918 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29919 from $CFLAGS, without defining away __attribute__ calls.
29920 (checknamespace): Use $CFLAGS_namespace.
29921
9af0bf29
JM
29922 * conform/conformtest.pl (@keywords): Only include C99 keywords
29923 for standards based on C99 or C11.
29924
343222a2
JM
29925 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29926 Disable tests.
29927 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29928 UNIX98]: Likewise.
29929
661f8cf0
JM
29930 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29931 usability of symbols in #if.
29932
ee74b9cb
JM
29933 * conform/conformtest.pl: If macro or constant types start
29934 "promoted:", expect the symbol to be of the following type
29935 promoted by the integer promotions.
62fde54f 29936
aafc49b3
JM
29937 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29938 in one place. Also handle "macro-constant".
29939
fefdf574
JM
29940 * conform/conformtest.pl: Only accept expected macro values with
29941 "==". Parse all "macro" lines in one place.
29942 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29943
f2d922fe
JM
29944 * conform/conformtest.pl: Handle braced types on "constant" lines
29945 instead of handling "typed-constant".
29946 * conform/data/signal.h-data: Use "constant" instead of
29947 "typed-constant".
29948
d22956c9
JM
29949 * conform/conformtest.pl: Handle "optional-" at start of lines in
29950 one place rather than duplicating several cases. Handle each
29951 format of "macro" line with initial "optional-".
29952
028e2e38
JM
29953 * conform/conformtest.pl: Only accept expected constant or
29954 optional-constant values with "==". Parse all "constant" lines in
29955 one place. Parse all "optional-constant" lines in one place.
29956 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29957 * conform/data/fmtmsg.h-data: Likewise.
29958 * conform/data/netinet/in.h-data: Likewise.
29959 * conform/data/tar.h-data: Likewise.
29960 * conform/data/limits.h-data: Use "==" form on "constant" and
29961 "optional-constant" lines.
29962
1b8f2850
JM
29963 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29964 Use -std=c99 for XOPEN2K.
29965 (@knownproblems): Remove.
29966 (newtoken): Don't check %isknown.
29967
a05a144b
JM
29968 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29969 Do not expect macro.
29970 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29971 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29972 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29973 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29974 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29975 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29976 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29977 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29978 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29979 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29980 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29981 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29982 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29983 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29984 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29985 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29986 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29987 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29988 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29989 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29990 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29991 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29992 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29993 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29994 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29995 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29996 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29997 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29998 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29999 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30000 [XPG3] (acosh): Likewise.
30001 [XPG3] (asinh): Likewise.
30002 [XPG3] (atanh): Likewise.
30003 [XPG3] (cbrt): Likewise.
30004 [XPG3] (expm1): Likewise.
30005 [XPG3] (ilogb): Likewise.
30006 [XPG3] (log1p): Likewise.
30007 [XPG3] (logb): Likewise.
30008 [XPG3] (nextafter): Likewise.
30009 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30010 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30011 [XPG3] (remainder): Likewise.
30012 [XPG3] (rint): Likewise.
30013 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30014 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30015 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30016 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30017 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30018 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30019 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30020 [UNIX98 || XOPEN2K] (scalb): Expect.
30021 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30022 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30023 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30024 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30025 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30026 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30027 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30028 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30029 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30030 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30031 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30032 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30033 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30034 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30035 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30036 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30037 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30038 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30039 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30040 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30041 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30042 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30043 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30044 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30045 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30046 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30047 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30048 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30049 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30050 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30051 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30052 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30053 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30054 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30055 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30056 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30057 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30058 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30059 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30060 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30061 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30062 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30063 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30064 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30065 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30066 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30067 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30068 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30069 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30070 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30071 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30072 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30073 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30074 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30075 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30076 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30077 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30078 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30079 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30080 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30081 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30082 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30083 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30084 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30085 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30086 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30087 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30088 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30089 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30090 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30091 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30092 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30093 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30094 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30095 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30096 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30097 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30098 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30099 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30100 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30101 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30102 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30103 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30104 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30105 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30106 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30107 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30108 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30109 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30110 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30111 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30112 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30113 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30114 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30115 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30116 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30117 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30118 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30119 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30120 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30121 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30123 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30124 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30128 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30129 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30130 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30131 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30132 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30133 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30134 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30135 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30136 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30137 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30138 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30139 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30140 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30153 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30154 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30158
73c5ebe3
JM
30159 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30160 _XOPEN_SOURCE_EXTENDED for XPG4.
30161
39c33b6c
JM
30162 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30163
62fde54f
JM
30164 * Makeconfig (localtime): Remove variable.
30165 (inst_localtime-file): Likewise.
30166
0741d64c
AS
301672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30168
30169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30170 Update.
30171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30172 Update.
30173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30174 Update.
30175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30176 Update.
30177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30178 Update.
30179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30180 Update.
30181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30182 Update.
30183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30184 Update.
30185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30186 Update.
30187
7cb029ee
JM
301882012-05-01 Joseph Myers <joseph@codesourcery.com>
30189
30190 [BZ #2550]
30191 [BZ #2570]
30192 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30193 comparisons to determine direction to adjust input.
30194 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30195 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30196 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30197 Likewise.
30198 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30199 Likewise.
30200 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30201 Likewise.
30202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30204 Likewise.
30205 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30206 Likewise.
30207 * math/libm-test.inc (nexttoward_test): Add more tests.
30208
412bd966
AS
302092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30210
30211 [BZ #14040]
30212 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30213 in version GLIBC_2.1, not GLIBC_2.0.
30214 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30215 Likewise.
30216
9568c0c2
JM
302172012-04-30 Joseph Myers <joseph@codesourcery.com>
30218
adfbc8ac
JM
30219 [BZ #13942]
30220 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30221 (1 - x) * (1 + x).
30222 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30223 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30224 * math/libm-test.inc (acos_test): Add more tests.
30225 (asin_test): Likewise.
30226 * sysdeps/i386/fpu/libm-test-ulps: Update.
30227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30228
5ba3cc69
JM
30229 [BZ #14034]
30230 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30231 of square root.
30232 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30233 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30234 * math/libm-test.inc (acos_test_tonearest): New function.
30235 (acos_test_towardzero): Likewise.
30236 (acos_test_downward): Likewise.
30237 (acos_test_upward): Likewise.
30238 (asin_test_tonearest): Likewise.
30239 (asin_test_towardzero): Likewise.
30240 (asin_test_downward): Likewise.
30241 (asin_test_upward): Likewise.
30242 (main): Call the new functions.
30243 * sysdeps/i386/fpu/libm-test-ulps: Update.
30244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30245
9568c0c2
JM
30246 [BZ #13884]
30247 [BZ #13924]
30248 * math/e_exp10.c: Include <float.h>.
30249 (__ieee754_exp10): Handle underflow here rather than multiplying
30250 large negative argument by M_LN10.
30251 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30252 of __ieee754_expf.
30253 * math/e_exp10l.c: Include <float.h>.
30254 (__ieee754_exp10l): Handle underflow here rather than multiplying
30255 large negative argument by M_LN10l.
30256 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30257 spurious overflow exception on underflow.
30258
5ac3ea17
MP
302592012-04-29 Marek Polacek <polacek@redhat.com>
30260
30261 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30262 (__fortify_function): New macro.
30263 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30264 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30265 __extern_always_inline.
30266 * libio/bits/stdio2.h: Likewise.
30267 * libio/bits/stdio.h: Likewise.
30268 * string/string.h: Likewise.
30269 * string/bits/string3.h: Likewise.
30270 * include/stdio.h: Likewise.
30271 * stdlib/bits/stdlib.h: Likewise.
30272 * stdlib/stdlib.h: Likewise.
30273 * rt/bits/mqueue2.h: Likewise.
30274 * rt/mqueue.h: Likewise.
30275 * posix/bits/unistd.h: Likewise.
30276 * posix/unistd.h: Likewise.
30277 * io/bits/poll2.h: Likewise.
30278 * io/bits/fcntl2.h: Likewise.
30279 * io/fcntl.h: Likewise.
30280 * io/sys/poll.h: Likewise.
30281 * misc/bits/syslog.h: Likewise.
30282 * misc/bits/syslog-ldbl.h: Likewise.
30283 * misc/sys/syslog.h: Likewise.
30284 * socket/bits/socket2.h: Likewise.
30285 * socket/sys/socket.h: Likewise.
30286 * debug/tst-chk1.c: Likewise.
30287 * wcsmbs/bits/wchar2.h: Likewise.
30288 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30289 * wcsmbs/wchar.h: Likewise.
30290
ecf0ebfb
AJ
302912012-04-29 Andreas Jaeger <aj@suse.de>
30292
30293 * Makerules (tests): Remove enable-check-abi protection.
30294 (check-abi-warn): Remove.
30295 (check-abi-%): Remove check-abi-warn usage.
30296
30297 * configure.in: Remove check-abi configure option.
30298 * configure: Regenerated.
30299 * config.make.in (enable-check-abi): Remove.
30300
6d5c57fa
AS
303012012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30302
24c5d07e 30303 [BZ #14033]
ded5180a
AS
30304 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30305 double functions to double *_finite functions.
30306
7e0d315d
AS
30307 [BZ #13941]
30308 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30309 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30310 LDBL_MIN_EXP.
30311 * stdio-common/Makefile (tests): Add tst-sprintf3.
30312 * stdio-common/tst-sprintf3.c: New file.
30313
6d5c57fa
AS
30314 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30315 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30316
0749ff8b
JM
303172012-04-28 Joseph Myers <joseph@codesourcery.com>
30318
30319 * conform/conformtest.pl: Remove duplicate typed-constant
30320 handling.
30321
8dbd5d7b
DM
303222012-04-28 David S. Miller <davem@davemloft.net>
30323
30324 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30325 (check-abi-%): Remove AWK script prerequisite and explicit
30326 abilist directory.
30327 (check-abi): Rewrite to just diff the symlist with the abilist.
30328 (config-tls, config-abi-config): Delete, no longer used.
30329 (update-abi-%): Remove AWK script and explicit abilist directory.
30330 (update-abi): Rewrite to simply compare and conditionally copy the
30331 symlist and the sysdep abilist file. Remove update-abi-config
30332 checks.
30333 * abilist/ld.abilist: Remove.
30334 * abilist/libBrokenLocale.abilist: Remove.
30335 * abilist/libanl.abilist: Remove.
30336 * abilist/libcrypt.abilist: Remove.
30337 * abilist/libdl.abilist: Remove.
30338 * abilist/librt.abilist: Remove.
30339 * abilist/libthread_db.abilist: Remove.
30340 * abilist/libutil.abilist: Remove.
30341 * scripts/extract-abilist.awk: Remove.
30342 * scripts/merge-abilist.awk: Remove.
30343 * sysdeps/generic/libcidn.abilist: New file.
30344 * sysdeps/generic/libnss_compat.abilist: New file.
30345 * sysdeps/generic/libnss_db.abilist: New file.
30346 * sysdeps/generic/libnss_dns.abilist: New file.
30347 * sysdeps/generic/libnss_files.abilist: New file.
30348 * sysdeps/generic/libnss_hesiod.abilist: New file.
30349 * sysdeps/generic/libnss_nis.abilist: New file.
30350 * sysdeps/generic/libnss_nisplus.abilist: New file.
30351 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30352 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30353 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30354 file.
30355 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30356 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30357 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30358 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30359 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30360 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30361 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30362 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30363 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30364 file.
30365 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30366 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30367 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30368 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30369 file.
30370 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30371 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30372 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30373 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30374 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30375 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30376 file.
30377 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30378 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30379 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30380 file.
30381 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30383 New file.
30384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30385 New file.
30386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30387 New file.
30388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30389 New file.
30390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30391 New file.
30392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30393 New file.
30394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30395 New file.
30396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30397 New file.
30398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30399 New file.
30400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30401 New file.
30402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30403 New file.
30404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30405 New file.
30406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30407 New file.
30408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30409 file.
30410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30411 New file.
30412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30413 New file.
30414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30415 file.
30416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30417 New file.
30418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30419 New file.
30420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30421 file.
30422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30423 New file.
30424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30425 New file.
30426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30427 New file.
30428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30429 New file.
30430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30431 New file.
30432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30433 New file.
30434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30436 file.
30437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30438 New file.
30439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30440 file.
30441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30442 file.
30443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30444 file.
30445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30446 file.
30447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30448 file.
30449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30450 New file.
30451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30452 file.
30453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30454 file.
30455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30456 New file.
30457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30458 file.
30459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30461 file.
30462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30463 New file.
30464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30465 file.
30466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30467 file.
30468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30469 file.
30470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30471 file.
30472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30473 file.
30474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30475 New file.
30476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30477 file.
30478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30479 file.
30480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30481 New file.
30482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30483 file.
30484 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30485 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30486 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30487 file.
30488 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30489 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30490 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30491 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30492 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30493 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30494 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30495 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30496 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30497 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30500 file.
30501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30502 New file.
30503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30504 file.
30505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30506 file.
30507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30508 file.
30509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30510 file.
30511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30512 file.
30513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30514 New file.
30515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30516 New file.
30517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30518 file.
30519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30520 New file.
30521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30522 file.
30523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30525 file.
30526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30527 New file.
30528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30529 file.
30530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30531 file.
30532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30533 file.
30534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30535 file.
30536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30537 file.
30538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30539 New file.
30540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30541 New file.
30542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30543 file.
30544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30545 New file.
30546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30547 file.
30548
41d73a1b
JM
305492012-04-28 Joseph Myers <joseph@codesourcery.com>
30550
30551 * conform/conformtest.pl: Fix typo in handling typed-constant from
30552 allow-header.
30553
28aeeda4
JM
305542012-04-27 Joseph Myers <joseph@codesourcery.com>
30555
adae8f5e
JM
30556 * README: Cut down references to pre-2.6 Linux kernels and
30557 Linuxthreads. Update lists of configurations in libc and ports
30558 and sort alphabetically. Say "or newer" with Linux kernel version
30559 requirements.
30560
28aeeda4
JM
30561 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30562
a462cb63
RA
305632012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30564
30565 [BZ #887]
30566 * math/libm-test.inc (logb_test_downward): New test to expose
30567 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30568 rounding mode.
30569
6ad3493e
JM
305702012-04-27 Joseph Myers <joseph@codesourcery.com>
30571
30572 [BZ #14027]
30573 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30574 to be done.
30575 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30576 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30577
2ce4f015
JM
305782012-04-26 Joseph Myers <joseph@codesourcery.com>
30579
5aeb141a
JM
30580 * sysdeps/unix/i386/brk.S: Remove file.
30581 * sysdeps/unix/i386/dl-brk.S: Likewise.
30582 * sysdeps/unix/i386/pipe.S: Likewise.
30583 * sysdeps/unix/i386/sigreturn.S: Likewise.
30584 * sysdeps/unix/i386/syscall.S: Likewise.
30585 * sysdeps/unix/i386/vfork.S: Likewise.
30586 * sysdeps/unix/i386/wait.S: Likewise.
30587
7143acae
JM
30588 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30589 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30590
2ce4f015
JM
30591 * configure.in (arm*-none*): Do not allow without
30592 --enable-hacker-mode.
30593 (netbsd*): Remove case setting base_os.
30594 (386bsd*): Likewise.
30595 (freebsd*): Likewise.
30596 (bsdi*): Likewise.
30597 (osf*): Likewise.
30598 (sunos*): Likewise.
30599 (ultrix*): Likewise.
30600 (newsos*): Likewise.
30601 (dynix*): Likewise.
30602 (*bsd*): Likewise.
30603 (sysv*): Likewise.
30604 (isc*): Likewise.
30605 (esix*): Likewise.
30606 (sco*): Likewise.
30607 (minix*): Likewise.
30608 (irix4*): Likewise.
30609 (irix6*): Likewise.
30610 (solaris[2-9]*): Likewise.
30611 (none): Likewise.
30612 * configure: Regenerated.
30613
0ac229c8
AZ
306142012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30615
30616 [BZ #11521]
30617 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30618 overflow or cancellation in calculating denominator.
30619 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30620 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30621 down expression to avoid unexpected rounding in newer GCCs.
30622 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30623
33f244f4
DM
306242012-04-26 David S. Miller <davem@davemloft.net>
30625
30626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30627 long-double compat symbols.
30628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30641
cfa1f3e8
DM
306422012-04-25 David S. Miller <davem@davemloft.net>
30643
30644 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30645 HWCAP_* values only after the memory barriers have been defined.
30646 (atomic_full_barrier): Define.
30647 (atomic_read_barrier): Define.
30648 (atomic_write_barrier): Define.
30649
6e236b92
SP
306502012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30651
30652 * shlib-versions: Add libgcc_s version information.
30653 * sysdeps/generic/libgcc_s.h: Remove.
30654 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30655 libgcc_s.h.
30656 * sysdeps/gnu/unwind-resume.c: Likewise.
30657 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30658
aab39a09
DM
306592012-04-25 David S. Miller <davem@davemloft.net>
30660
30661 * sysdeps/unix/sparc/brk.S: Delete.
30662 * sysdeps/unix/sparc/dl-brk.S: Delete.
30663 * sysdeps/unix/sparc/pipe.S: Delete.
30664 * sysdeps/unix/sparc/sysdep.S: Delete.
30665 * sysdeps/unix/sparc/sysdep.h: Delete.
30666 * sysdeps/unix/sparc/vfork.S: Delete.
30667 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30668 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30669 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30670 ret_ERRVAL, r0, r1, MOVE): Define.
30671 (JUMPTARGET): Remove.
30672 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30673 sysdeps/unix/sparc/sysdep.h
30674 (ENTRY, END): Remove.
30675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30676
a3cc4f48
JM
306772012-04-25 Joseph Myers <joseph@codesourcery.com>
30678
2ed8cda2
JM
30679 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30680 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30681 -DIS_IN_build.
30682
35d76d59
JM
30683 * timezone/README: Update upstream location and email address for
30684 tzcode and tzdata.
30685 * timezone/zdump.c: Update from tzcode 2012b.
30686 * timezone/zic.c: Likewise.
30687
a3cc4f48
JM
30688 * configure.in (libc_cv_as_needed): Remove test.
30689 * configure: Regenerated.
30690 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30691 conditional definition.
30692 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30693 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30694 * config.make.in (have-as-needed): Remove variable.
30695
ceab42c3
SP
306962012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30697 Paul Pluzhnikov <ppluzhnikov@google.com>
30698
30699 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30700 strings correctly.
30701
3ce2865f
CLT
307022012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30703
30704 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30705 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30706 * sysdeps/sh/strlen.S: Likewise.
30707
f37e0d68
JM
307082012-04-24 Joseph Myers <joseph@codesourcery.com>
30709
ae186e9a
JM
30710 * sysdeps/unix/fork.S: Remove file.
30711 * sysdeps/unix/i386/fork.S: Likewise.
30712 * sysdeps/unix/sparc/fork.S: Likewise.
30713
b96914af
JM
30714 * sysdeps/unix/system.c: Remove file.
30715 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30716
f37e0d68
JM
30717 * sysdeps/unix/getegid.S: Remove file.
30718 * sysdeps/unix/geteuid.S: Likewise.
30719
87ef29ca
RM
307202012-04-24 Roland McGrath <roland@hack.frob.com>
30721
83bcd236
RM
30722 * scripts/check-localplt.awk: New file.
30723 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30724 of diff.
30725 * scripts/data/localplt-generic.data: Add a comment.
30726
87ef29ca
RM
30727 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30728 NODE when __dir_mkfile failed.
30729 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30730 Reported by Ludovic Courtès <ludo@gnu.org>.
30731
e5a6e567
AJ
307322012-04-24 Andreas Jaeger <aj@suse.de>
30733
30734 * Makerules (common-clean): Also remove gen-as-const-headers
30735 files.
30736
c1820385
JM
307372012-04-24 Joseph Myers <joseph@codesourcery.com>
30738
30739 * Makerules (native-compile): Do not change working directory for
30740 build. Use $(OUTPUT_OPTION) in command.
30741 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30742
94e02fc4
AZ
307432012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30744
30745 [BZ #13886]
30746 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30747 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30748 * math/libm-test.inc (floor_test): Add more tests.
30749 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30750
3a533ca3
JM
307512012-04-24 Joseph Myers <joseph@codesourcery.com>
30752
940ab4b3
JM
30753 * sysdeps/unix/getdents.c: Remove file.
30754 * sysdeps/unix/sysv/getdents.c: Likewise.
30755 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30756
90e037bd
JM
30757 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30758 sysdeps/unix/mman/syscalls.list.
30759 (mmap): Likewise.
30760 (mprotect): Likewise.
30761 (msync): Likewise.
30762 (munmap): Likewise.
30763 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30764 * sysdeps/unix/mman/syscalls.list: Remove.
30765 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30766
3a533ca3
JM
30767 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30768 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30769 * configure: Regenerated.
30770 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30771 $(libgcc_s_suffix).
30772 * config.make.in (libgcc_s_suffix): Remove variable.
30773
1ad743de
JM
307742012-04-23 Joseph Myers <joseph@codesourcery.com>
30775
4ad451e2
JM
30776 * sysdeps/unix/sysv/gethostname.c: Move to ...
30777 * sysdeps/posix/gethostname.c: ... here.
30778
5e37ce39
JM
30779 * sysdeps/unix/execve.S: Remove file.
30780
1ad743de
JM
30781 * sysdeps/unix/_exit.S: Remove file.
30782
4e681b5b
AJ
307832012-04-23 Andreas Jaeger <aj@suse.de>
30784
30785 [BZ #13739]
30786 * manual/Makefile: Remove make dist support, there's no
30787 need for a stand-alone documentation tar ball.
30788 (TEXI2DVI): Define always, it's not in Makeconfig.
30789 (dist): Removed.
30790 (tar-it): Removed.
30791 (edition): Removed.
30792 (glibc-doc-$(edition).tar): Removed
30793 (%.Z): Removed.
30794 (%.gz): Removed.
30795 (%.uu): Removed.
30796 (ETAGS): Remove, it's in Makeconfig.
30797 (move-if-change): Remove, it's in Makeconfig.
30798
38686a03 307992012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30800
30801 [BZ #13970]
30802 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30803 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30804 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30805 (strtod_l, strtof_l, strtold_l): Remove __wur.
30806 It is not necessarily an error to ignore strtol's return value.
30807 One can reliably look at the stored endptr to decide whether
30808 the number had valid syntax.
30809
7c0616fa
AJ
308102012-04-21 Andreas Jaeger <aj@suse.de>
30811
803cb6b7 30812 [BZ #13739]
7c0616fa
AJ
30813 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30814
b0fe253f
JM
308152012-04-21 Joseph Myers <joseph@codesourcery.com>
30816
30817 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30818 * sysdeps/unix/sysv/Versions: Remove file.
30819
8280f22d
MT
308202012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30821
30822 [BZ #13927]
30823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30824
75ce411f 308252012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30826
30827 [BZ #7064]
30828 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30829 version from __vm86.
30830
097d59fa
JM
308312012-04-20 Joseph Myers <joseph@codesourcery.com>
30832
a90f3bcb
JM
30833 * sysdeps/unix/common/lxstat.c: Remove file.
30834 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30835
edc7ea78
JM
30836 * sysdeps/unix/sysv/Makefile: Remove file.
30837
cb78c221
JM
30838 * sysdeps/unix/sysv/direct.h: Remove file.
30839
efa6a45f
JM
30840 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30841 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30842 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30843 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30844 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30845 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30846 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30847
9c9f2d0c
JM
30848 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30849
4541c83b
JM
30850 * sysdeps/unix/xmknod.c: Remove file.
30851 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30852
f5d153a0
JM
30853 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30854
aa746595
JM
30855 * sysdeps/unix/sysv/i386/time.S: Remove file.
30856
cce5905e
JM
30857 * sysdeps/unix/fxstat.c: Remove file.
30858 * sysdeps/unix/xstat.c: Likewise.
30859 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30860
37fa3841
JM
30861 * sysdeps/unix/sysv/sigaction.c: Remove file.
30862
ff1962a3
JM
30863 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30864 (sysdep_headers): Remove variable.
30865 [termio.h not in sysdep_headers] (generated): Likewise.
30866 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30867 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30868 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30869 * sysdeps/unix/sysv/tcflow.c: Likewise.
30870 * sysdeps/unix/sysv/tcflush.c: Likewise.
30871 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30872 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30873 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30874 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30875 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30876
e7740d31
JM
30877 * sysdeps/unix/siglist.c: Remove file.
30878
ee06f18b
JM
30879 * sysdeps/unix/getppid.S: Remove file.
30880
097d59fa
JM
30881 * sysdeps/unix/mkdir.c: Remove file.
30882 * sysdeps/unix/rmdir.c: Likewise.
30883
ff3d51ec
AS
308842012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30885
30886 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30887 ERR_MAX value.
30888 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30889 errlist-compat value.
30890
50f81fd7
DM
308912012-04-18 David S. Miller <davem@davemloft.net>
30892
30893 * sysdeps/generic/memcopy.h (reg_char): Delete.
30894 * debug/strcat_chk.c: Use char, not reg_char.
30895 * debug/strcpy_chk.c: Likewise.
30896 * debug/strncat_chk.c: Likewise.
30897 * debug/strncpy_chk.c: Likewise.
30898 * string/memchr.c: Likewise.
30899 * string/memrchr.c: Likewise.
30900 * string/rawmemchr.c: Likewise.
30901 * string/strcat.c: Likewise.
30902 * string/strchr.c: Likewise.
30903 * string/strchrnul.c: Likewise.
30904 * string/strcmp.c: Likewise.
30905 * string/strcpy.c: Likewise.
30906 * string/strncat.c: Likewise.
30907 * string/strncmp.c: Likewise.
30908 * string/strncpy.c: Likewise.
30909
8ff41c46
WS
309102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30911
30912 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30913 __builtin_memcopy is called when src and dest ranges are known to not
30914 overlap.
30915
6b652f46
WS
309162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30917
30918 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30919 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30920 fwd_align_merge macro call.
30921 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30922 bwd_align_merge macro call.
30923 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30924
b282631e
WS
309252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30926
30927 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30928 bwd_align_merge macros.
30929 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30930 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30931 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30932
95aa737c
DM
309332012-04-18 David S. Miller <davem@davemloft.net>
30934
30935 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30936
7a99a614
AJ
309372012-04-18 Andreas Jaeger <aj@suse.de>
30938
30939 [BZ# 6794]
30940 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30941 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30942 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30943
30944 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30945 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30946 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30947
30948 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30949 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30950 Adjust for changed ldbl-128 files.
30951
30952 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30953 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30954 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30955
e5270c23
DM
309562012-04-17 David S. Miller <davem@davemloft.net>
30957
30958 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30959
fb5e92c9
AS
309602012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30961
30962 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30963 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30964 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30965 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30966 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30967 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30968
76da7265
AZ
309692012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30970
30971 [BZ #6794]
30972 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30973 * math/libm-test.inc: Add ilogb errno and exception tests.
30974 * math/w_ilogb.c: New file: ilogb wrapper.
30975 * math/w_ilogbf.c: New file: ilogbf wrapper.
30976 * math/w_ilogbl.c: New file: ilogbl wrapper.
30977 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30978 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30979 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30980 exception being thrown with 0.0 as argument.
30981 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30982 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30983 exception being thrown with 0.0 as argument.
30984 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30985 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30986 exception being thrown with 0.0 as argument.
30987 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30988 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30989 exception being thrown with 0.0 as argument.
30990 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30991 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 30992 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
30993 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30994 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30995 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30996 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30997 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30998 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30999
0396e69d
PB
310002012-04-17 Petr Baudis <pasky@ucw.cz>
31001
31002 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31003 with altivec.
31004
750b5926
MP
310052012-04-16 Marek Polacek <polacek@redhat.com>
31006
31007 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31008
751728a1
MP
310092012-04-16 Marek Polacek <polacek@redhat.com>
31010
31011 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31012 operands of fdivp instruction.
31013
34a27407
L
310142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31015
31016 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31017 * elf/tst-auditmod3b.c: Likewise.
31018 * elf/tst-auditmod4b.c: Likewise.
31019 * elf/tst-auditmod5b.c: Likewise.
31020 * elf/tst-auditmod6b.c: Likewise.
31021 * elf/tst-auditmod6c.c: Likewise.
31022 * elf/tst-auditmod7b.c: Likewise.
31023 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31024 * sysdeps/x86_64/preconfigure.in: Likewise.
31025 * sysdeps/x86_64/preconfigure: Regenerated.
31026
7e73e17d
L
310272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31028
31029 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31030 __ILP32__.
31031
c7a6ab72
AB
310322012-04-13 Antoine Balestrat <merkil33@gmail.com>
31033
31034 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31035 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31036
a9e8e0e0
CL
310372012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31038
31039 [BZ #13973]
31040 * locale/iso-639.def: Fix gl language name. Spotted by
31041 Yaron Shahrabani.
31042
ec98af7d
RM
310432012-04-12 Roland McGrath <roland@hack.frob.com>
31044
31045 [BZ #2074]
31046 * libio/libio.h (__io_write_fn): Update comment.
31047
247c3ede
PB
310482012-04-12 Petr Baudis <pasky@ucw.cz>
31049
31050 [BZ #2074]
31051 * stdio.texi (Hook Functions): The user provided writer function
31052 is not allowed to return -1.
31053
55939d6d
DM
310542012-04-11 David S. Miller <davem@davemloft.net>
31055
31056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31057
90020f5a
MF
310582012-04-11 Mike Frysinger <vapier@gentoo.org>
31059
31060 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31061 Add a leading slash to rtkaio.
31062
288f9098
JM
310632012-04-11 Jim Meyering <meyering@redhat.com>
31064
90020f5a
MF
31065 [BZ #11959]
31066 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31067 It is not necessarily an error to ignore fwrite's return
31068 value. One can reliably use ferror to test for errors after
31069 the fact.
288f9098 31070
4be2b570
L
310712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31072
31073 * bits/types.h (__snseconds_t): New type.
31074 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31075
31076 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31077 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31078 (__SNSECONDS_T_TYPE): Likewise.
31079 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31080 (__SNSECONDS_T_TYPE): Likewise.
31081 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31082 (__SNSECONDS_T_TYPE): Likewise.
31083
288f9098 310842012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31085
31086 [BZ #2636]
31087 * manual/time.texi (Processor Time): Return type of times is
31088 elapsed real time since an arbitrary point in the past.
31089 (CPU Time): Move CLK_TCK from here...
31090 (Processor Time): ...to here. Correct description.
31091 * manual/conf.texi (Constants for Sysconf): Correct description of
31092 _SC_CLK_TCK.
31093
d7dd4413
DM
310942012-04-10 David S. Miller <davem@davemloft.net>
31095
31096 [BZ #13967]
31097 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31098 where the is a gap between DT_REL(A) and DT_JMPREL.
31099
b46068fc
L
311002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31101
31102 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31103 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31104 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31105
73d65cc3
SP
311062012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31107
31108 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31109 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31110 (dl_main): Handle --inhibit-cache.
31111 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31112 _dl_inhibit_cache.
31113 * elf/dl-load.c (_dl_map_object): Use it.
31114 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31115
bcc8d661
JM
311162012-04-09 Joseph Myers <joseph@codesourcery.com>
31117
8f9a2fae
JM
31118 [BZ #13872]
31119 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31120 (__ieee754_powl): Saturate large exponents rather than testing for
31121 overflow of y*log2(x).
31122 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31123 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31124 exceptions.
31125
bcc8d661
JM
31126 [BZ #11521]
31127 * math/s_ctan.c: Include <float.h>.
31128 (__ctan): Avoid internal overflow or cancellation in calculating
31129 denominator.
31130 * math/s_ctanf.c: Likewise.
31131 * math/s_ctanl.c: Likewise.
31132 * math/s_ctanh.c: Likewise.
31133 * math/s_ctanhf.c: Likewise.
31134 * math/s_ctanhl.c: Likewise.
31135 * math/libm-test.inc (ctan_test): Add more tests.
31136 (ctanh_test): Likewise.
31137 * sysdeps/i386/fpu/libm-test-ulps: Update.
31138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31139
823fbbb4
AJ
311402012-04-09 Andreas Jaeger <aj@suse.de>
31141
03879793
AJ
31142 [BZ #6894]
31143 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31144 is an optional BSD extension.
31145
823fbbb4
AJ
31146 [BZ #10254]
31147 * manual/stdio.texi (Opening Streams): Document additional fopen
31148 parameters.
31149
8de131cb
RM
311502012-04-09 Roland McGrath <roland@hack.frob.com>
31151
31152 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31153 %eax without telling the compiler.
31154
c0ed9d7d
CD
311552012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31156
31157 [BZ # 13963]
31158 * manual/install.texi: Use sourceware.org.
31159
c483f6b4
JM
311602012-04-09 Joseph Myers <joseph@codesourcery.com>
31161
d7dd9453
JM
31162 [BZ #13873]
31163 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31164 (__ieee754_pow): Generate overflow and underflow using huge*huge
31165 and tiny*tiny rather than just returning constant infinity or zero
31166 for large exponents.
31167 * math/libm-test.inc (pow_test): Require overflow exceptions for
31168 applicable cases of large exponents.
31169
c483f6b4
JM
31170 [BZ #706]
31171 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31172 (__ieee754_pow): Use iterative multiplication algorithm only for
31173 integer exponents with absolute value below 1024. Check for odd
31174 integer exponents when using algorithm for real exponents.
31175 * math/libm-test.inc (pow_test): Add more tests.
31176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31177
d2de7579
JM
311782012-04-08 Joseph Myers <joseph@codesourcery.com>
31179
31180 [BZ #13705]
31181 * math/libm-test.inc (exp_test): Do not allow overflow exception
31182 on underflow test.
31183
f77f1232
AJ
311842012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31185
31186 [BZ #13705]
31187 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31188 instead of __kernel_standard_f.
31189
3884932b
MF
311902012-04-08 Mike Frysinger <vapier@gentoo.org>
31191
31192 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31193 * sysdeps/x86_64/memset_chk.S: Likewise.
31194
54472e9c
AJ
311952012-04-08 Andreas Jaeger <aj@suse.de>
31196
6ab0fbfc
AJ
31197 [BZ #10153]
31198 * manual/startup.texi (Environment Access): Describe return value
31199 for putenv and setenv.
31200
61efba8c
AJ
31201 [BZ #6895]
31202 * manual/filesys.texi (Directory Entries): Add description for
31203 DT_LNK.
31204
95c3f29a
AJ
31205 [BZ #6890]
31206 * manual/filesys.texi (Directory Entries): Clarify that it's file
31207 system not operating system in the description of DT_UNKNOWN.
31208
54472e9c
AJ
31209 [BZ #6578]
31210 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31211
624254b1
SC
312122012-04-08 Stephen Compall <s11@member.fsf.org>
31213
31214 [BZ #6649]
31215 * manual/llio.texi (Opening and Closing Files): Add cross
31216 reference to explain mode argument.
31217
1e4920e0
MF
312182012-04-07 Mike Frysinger <vapier@gentoo.org>
31219
31220 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31221 * sysdeps/x86_64/memset_chk.S: Likewise.
31222
5ed848f3
DM
312232012-04-07 David S. Miller <davem@davemloft.net>
31224
31225 * elf/elf.h (R_SPARC_WDISP10): Define.
31226 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31227 R_SPARC_SIZE32.
31228 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31229 R_SPARC_SIZE64 and R_SPARC_H34.
31230
96154cd8
CD
312312012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31232
31233 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31234 conditions and remove no longer applicable assertion.
31235
9904dc47
L
312362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31237
31238 * bits/byteswap.h: Include <features.h>.
31239 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31240 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31241
f8887d0a
L
312422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31243
31244 * bits/byteswap.h (__bswap_16): Removed.
31245 Include <bits/byteswap-16.h> to get __bswap_16.
31246 * sysdeps/i386/bits/byteswap.h: Likewise.
31247 * sysdeps/s390/bits/byteswap.h: Likewise.
31248 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31249 * bits/byteswap-16.h: New file.
31250 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31251 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31252 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31253 * string/Makefile (headers): Add bits/byteswap-16.h.
31254
62470f60
PP
312552012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31256
31257 [BZ #13895]
31258 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31259 extra indirection.
31260 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31261 * nss/tst-nss-static.c: New.
31262
4dad7bab
RM
312632012-04-06 Robert Millan <rmh@gnu.org>
31264
31265 [BZ #6486]
31266 * manual/llio.texi (File Position Primitive): lseek
31267 refers to WHENCE when it really means OFFSET.
31268
e9142a17
AJ
312692012-04-06 Andreas Jaeger <aj@suse.de>
31270
2c040eff
AJ
31271 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31272 strncmp declarations.
31273
e9142a17
AJ
31274 * abilist/libc.abilist: Add __poll and __ppoll.
31275
ff9f1c5f
DM
312762012-04-05 David S. Miller <davem@davemloft.net>
31277
dcd2ae90
DM
31278 * scripts/check-local-headers.sh: Accept a host triplet in the
31279 path matched by the exclude regexp.
31280
993eb054
DM
31281 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31282 definition.
31283 * sysdeps/powerpc/powerpc32/dl-machine.h
31284 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31285 * sysdeps/s390/s390-32/dl-machine.h
31286 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31287 * sysdeps/sparc/sparc32/dl-machine.h
31288 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31289 * sysdeps/sparc/sparc64/dl-machine.h
31290 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31291
ff9f1c5f
DM
31292 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31293 lazy binding.
48e2e132 31294 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31295 undefined symbol errors.
31296
48e2e132 31297 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31298 DT_NEEDED entries.
31299
e80d6f94
MM
313002012-04-05 Michael Matz <matz@suse.de>
31301
31302 [BZ #13592]
31303 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31304
349fa79f
AJ
313052012-04-05 Andreas Jaeger <aj@suse.de>
31306
31307 [BZ #13908]
31308 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31309 comment.
31310
f402708f
KK
313112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31312
31313 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31314 which ROUND is no valid rounding mode.
31315
2ecccfc9
KK
313162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31317
31318 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31319 read again.
31320 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31321
8a53f50f
KK
313222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31323
31324 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31325 an exception using FPU order intentionally.
31326
313272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31328
31329 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31330 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31331 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31332 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31333
d653abb7
SJ
313342012-04-05 Simon Josefsson <simon@josefsson.org>
31335
31336 [BZ #12340]
31337 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31338 EINVAL when BUFLEN is too smal.
31339
c3b1bf7d
TS
313402012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31341
31342 [BZ #13553]
31343 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31344 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31345
b1aa60f3
AJ
313462012-04-03 Andreas Jaeger <aj@suse.de>
31347
c3b1bf7d 31348 [BZ #13938]
67f60a26
AJ
31349 * manual/setjmp.texi (System V contexts): Fix sentence.
31350
b1aa60f3
AJ
31351 [BZ #13926]
31352 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31353 New macro for this case.
31354 [!__GNUC__] (__bswap_64): New inline function for this case.
31355 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31356 * bits/byteswap.h: Likewise.
31357 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31358 ull, guard with __GLIBC_HAVE_LONG_LONG.
31359
31360 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31361 __GLIBC_HAVE_LONG_LONG.
31362
31363 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31364 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31365
39c59c35
TMQMF
313662012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31367
31368 [BZ #13691]
31369 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31370 inptr and inend, rather than using last_ch.
31371
135ffda8
DM
313722012-04-02 David S. Miller <davem@davemloft.net>
31373
31374 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31375 * stdio-common/printf-parse.h (read_int): Change return type to
31376 'int', return -1 on INT_MAX overflow.
31377 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31378 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31379 overflows INT_MAX. Check for overflow of in-format-string precision
31380 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31381 SIZE_MAX not INT_MAX for integer overflow test.
31382 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31383 skip the construct in the format string but do not record anything.
31384 * stdio-common/bug22.c: Adjust to test both width/prevision
31385 INT_MAX overflow as well as total length INT_MAX overflow. Check
31386 explicitly for proper errno values.
31387
228c019e
TS
313882012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31389
302cadd3
TS
31390 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31391 CHAR_MAX.
31392 * string/test-strcmp.c [! WIDE]: Likewise.
31393 * time/tst-mktime2.c: Likewise for INT_MAX.
31394 * string/test-string.h: #include <sys/param.h> for MIN.
31395
228c019e
TS
31396 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31397 * sysdeps/i386/init-first.c (init): Likewise.
31398 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31399 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31400 * sysdeps/sh/init-first.c (init): Likewise.
31401
cfa633f5
UD
314022012-04-01 Ulrich Drepper <drepper@gmail.com>
31403
31404 * po/ru.po: Update from translation team.
d1635ef8 31405 * po/vi.po: Likewise.
cfa633f5 31406
6cd0a5ea
SP
314072012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31408
31409 * resolv/nss_dns/dns-host.c: Merge copyright years.
31410
4b43400f
LD
314112012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31412
31413 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31414 Optimize memcpy with prefetch if
31415 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31416 src, dst pointers have unequal 16 byte alignments.
31417
48c41d04
SP
314182012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31419
31420 [BZ #13928]
31421 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31422 from a CNAME entry and return the minimum ttl for the query.
31423 (gaih_getanswer_slice): Likewise.
31424
b8dc394d
JL
314252012-03-30 Jeff Law <law@redhat.com>
31426
31427 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31428 due to long keys.
31429 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31430 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31431
2f5a5ed0
JL
31432 * resolv/nss_dns/dns-host.c: Update copyright year.
31433
1d39e359
UD
314342012-03-30 Ulrich Drepper <drepper@gmail.com>
31435
c030f70c 31436 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31437 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31438
1d39e359
UD
31439 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31440 comments for sendmmsg.
31441
314422012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31443
31444 [BZ #13691]
31445 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31446 with only 1 character between 0x0041 and 0x01b0.
31447 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31448 * wcsmbs/tst-mbsnrtowcs.c: New file.
31449
20fde227
DM
314502012-03-29 David S. Miller <davem@davemloft.net>
31451
31452 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31453 small copies by hand.
31454
984a4237
JL
314552012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31456
31457 [BZ #13761]
31458 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31459 _nss_compat_initgroups_dyn): Fall back to malloc/free
31460 for large group memberships.
31461
18c9d62b
DM
314622012-03-28 David S. Miller <davem@davemloft.net>
31463
88d85d4f
DM
31464 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31465 that branches into memcpy.
31466 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31467 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31468 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31469 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31471 bits.
31472 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31473 implementation too.
31474 * sysdeps/sparc/mempcpy.S: New file.
31475
e5aa83e1
DM
31476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31477 the IFUNC routine in the libc case.
31478 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31479
88570753
DM
31480 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31481 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31482 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31483 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31484 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31485 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31486 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31487 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31488
249d7567
DM
31489 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31490 loop to 256 bytes instead of 64 bytes and fix test signedness.
31491
18c9d62b
DM
31492 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31493 * sysdeps/sparc/sparc32/Makefile: rather than here...
31494 * sysdeps/sparc/sparc64/Makefile: and here.
31495
05f3d1f6
UD
314962012-03-28 Ulrich Drepper <drepper@gmail.com>
31497
31498 * malloc/mallocbug.c: Avoid warnings about unused variables.
31499
86ae07a8
JL
315002012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31501
31502 [BZ #13760]
31503 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31504 in the right place. Discard and retry query if response is
31505 larger than input buffer size.
31506
41bf21a1
JM
315072012-03-28 Joseph Myers <joseph@codesourcery.com>
31508
d6270972
JM
31509 [BZ #369]
31510 [BZ #2678]
31511 [BZ #3866]
31512 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31513 x for large integer exponent.
31514 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31515 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31516 sign of result as needed afterwards.
31517 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31518 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31519 result for underflowing pow the same as for overflow.
31520 (__kernel_standard_l): Handle powl overflow and underflow here
31521 rather than calling __kernel_standard.
31522 * math/libm-test.inc (pow_test): Add more tests.
31523
414fca03 31524 [BZ #3868]
41bf21a1
JM
31525 [BZ #13879]
31526 [BZ #13910]
31527 [BZ #13911]
31528 [BZ #13912]
31529 [BZ #13913]
31530 [BZ #13915]
31531 [BZ #13916]
31532 [BZ #13917]
31533 [BZ #13918]
31534 [BZ #13919]
31535 [BZ #13920]
31536 [BZ #13921]
31537 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31538 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31539 (__kernel_standard_l): New function.
31540 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31541 __kernel_standard.
31542 * math/w_acosl.c (__acosl): Likewise.
31543 * math/w_asinl.c (__asinl): Likewise.
31544 * math/w_atan2l.c (__atan2l): Likewise.
31545 * math/w_atanhl.c (__atanhl): Likewise.
31546 * math/w_coshl.c (__coshl): Likewise.
31547 * math/w_exp10l.c (__exp10l): Likewise.
31548 * math/w_exp2l.c (__exp2l): Likewise.
31549 * math/w_fmodl.c (__fmodl): Likewise.
31550 * math/w_hypotl.c (__hypotl): Likewise.
31551 * math/w_j0l.c (__j0l, __y0l): Likewise.
31552 * math/w_j1l.c (__j1l, __y1l): Likewise.
31553 * math/w_jnl.c (__jnl, __ynl): Likewise.
31554 * math/w_lgammal.c (__lgammal): Likewise.
31555 * math/w_log10l.c (__log10l): Likewise.
31556 * math/w_log2l.c (__log2l): Likewise.
31557 * math/w_logl.c (__logl): Likewise.
31558 * math/w_powl.c (__powl): Likewise.
31559 * math/w_remainderl.c (__remainderl): Likewise.
31560 * math/w_scalbl.c (sysv_scalbl): Likewise.
31561 * math/w_sinhl.c (__sinhl): Likewise.
31562 * math/w_sqrtl.c (__sqrtl): Likewise.
31563 * math/w_tgammal.c (__tgammal): Likewise.
31564 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31565 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31566 * math/libm-test.inc (acos_test): Add more tests.
31567 (acosh_test): Likewise.
31568 (asin_test): Likewise.
31569 (atanh_test): Likewise.
31570 (exp_test): Likewise.
31571 (exp10_test): Likewise.
31572 (exp2_test): Likewise.
31573 (expm1_test): Likewise.
31574 (lgamma_test): Likewise.
31575 (log_test): Likewise.
31576 (log10_test): Likewise.
31577 (log1p_test): Likewise.
31578 (log2_test): Likewise.
31579 (pow_test): Do not allow some spurious overflow exceptions.
31580 (sqrt_test): Add more tests.
31581 (tgamma_test): Likewise.
31582 (y0_test): Likewise.
31583 (y1_test): Likewise.
31584 (yn_test): Likewise.
31585
dd62fda6
AB
315862012-03-27 Anton Blanchard <anton@samba.org>
31587
31588 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31589 MAP_HUGETLB.
31590 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31591 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31592 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31593
1e3cdfda
AJ
315942012-03-27 David S. Miller <davem@davemloft.net>
31595
b855ab85
DM
31596 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31597
1e3cdfda
AJ
31598 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31599 have-as-vis3 check.
31600
316012012-03-27 Andreas Jaeger <aj@suse.de>
31602
31603 * sysdeps/x86_64/elf/configure.in: Moved to ...
31604 * sysdeps/x86_64/configure.in: ... here.
31605 * sysdeps/x86_64/elf/start.S: Moved to ...
31606 * sysdeps/x86_64/start.S: ... here.
31607 * sysdeps/x86_64/elf/configure: Delete.
31608
31609 * sysdeps/x86_64/configure.in: Merge contents from
31610 sysdeps/i386/configure.in (without i686 check).
31611
31612 * sysdeps/i386/elf/Versions: Merge into ...
31613 * sysdeps/i386/Versions: ... this.
31614 * sysdeps/i386/elf/Versions: Delete file.
31615 * sysdeps/i386/elf/start.S: Moved to ...
31616 * sysdeps/i386/start.S: ...here.
31617 * sysdeps/i386/elf/configure.in: Merge into...
31618 * sysdeps/i386/configure.in: ...here.
31619 * sysdeps/i386/elf/configure.in: Delete file.
31620 * sysdeps/i386/elf/configure: Delete file.
31621
31622 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31623 * debug/backtracesyms.c: ... here.
31624 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31625 * debug/backtracesymsfd.c: ... here.
31626 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31627 * sysdeps/generic/ifunc-sel.h: ... here.
31628
31629 * sysdeps/unix/i386/start.c: Delete file.
31630 * sysdeps/unix/sparc/start.c: Delete file.
31631 * sysdeps/unix/start.c: Delete file.
31632
31633 * sysdeps/sh/elf/configure.in: Moved to ...
31634 * sysdeps/sh/configure.in: ... here.
31635 * sysdeps/sh/elf/start.S: Moved to ...
31636 * sysdeps/sh/start.S: ... here.
31637 * sysdeps/sh/elf/configure: Delete file.
31638
31639 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31640 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31641 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31642 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31643 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31644 * sysdeps/powerpc/powerpc64/start.S: here.
31645 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31646 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31647 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31648 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31649 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31650
31651 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31652 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31653 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31654 * sysdeps/powerpc/powerpc32/start.S: ... here.
31655 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31656 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31657 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31658
31659 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31660 * sysdeps/powerpc/ifunc-sel.h: ... here.
31661 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31662 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31663
31664 * sysdeps/sparc/elf/configure.in: Moved to ...
31665 * sysdeps/sparc/configure.in: ... here.
31666 * sysdeps/sparc/elf/configure: Delete file.
31667 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31668 * sysdeps/sparc/sparc32/start.S: ... here.
31669 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31670 * sysdeps/sparc/sparc64/start.S: ... here.
31671 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31672 * sysdeps/sparc/sparc32/Makefile: ... this.
31673 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31674 * sysdeps/sparc/sparc64/Makefile: ... this.
31675
31676 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31677 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31678 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31679 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31680 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31681 * sysdeps/s390/s390-32/setjmp.S: ... here.
31682 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31683 * sysdeps/s390/s390-32/configure.in: ... here.
31684 * sysdeps/s390/s390-32/elf/configure: Delete file.
31685 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31686 * sysdeps/s390/s390-32/start.S: ... here.
31687
31688 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31689 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31690 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31691 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31692 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31693 * sysdeps/s390/s390-64/setjmp.S: ... here.
31694 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31695 * sysdeps/s390/s390-64/configure.in: ... here
31696 * sysdeps/s390/s390-64/elf/configure: Delete file.
31697 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31698 * sysdeps/s390/s390-64/start.S: ... here.
31699 * sysdeps/s390/s390-64/elf/configure: Delete.
31700
31701 * configure.in: Remove support for elf directories in sysdeps.
31702
31703 * configure: Regenerated.
31704 * sysdeps/i386/configure: Regenerated.
31705 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31706 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31707 * sysdeps/s390/s390-32/configure: Regenerated.
31708 * sysdeps/s390/s390-64/configure: Regenerated.
31709 * sysdeps/sh/configure: Regenerated.
31710 * sysdeps/sparc/configure: Regenerated.
31711 * sysdeps/x86_64/configure: Regenerated.
31712
a3f61311
AS
317132012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31714
c876e002
AS
31715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31716
a3f61311
AS
31717 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31718 denormal result into account.
31719
ac4c54f0
RM
317202012-03-25 Roland McGrath <roland@hack.frob.com>
31721
31722 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31723 Reported by Allan McRae <allan@archlinux.org>.
31724
6a9b9c02
JL
317252012-03-23 Jeff Law <law@redhat.com>
31726
31727 * nss/getnssent.c (__nss_getent): Fix typo.
31728
4c42a0c1
DM
317292012-03-23 David S. Miller <davem@davemloft.net>
31730
31731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31732
1532c7ac
L
317332012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31734
31735 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31736 to pad to uint64_t for each field.
31737 (dl_tls_index): Replace unsigned long with uint64_t.
31738
3ff42526
PP
317392012-03-23 Daniel Jacobowitz <dmj@google.com>
31740 Paul Pluzhnikov <ppluzhnikov@google.com>
31741
31742 [BZ #6528]
31743 * grp/Makefile (otherlibs): Don't set it.
31744 * inet/Makefile (otherlibs): Likewise.
31745 * login/Makefile (otherlibs): Likewise.
31746 * nscd/Makefile (otherlibs): Likewise.
31747 * posix/Makefile (otherlibs): Likewise.
31748 * pwd/Makefile (otherlibs): Likewise.
31749 * rt/Makefile (otherlibs): Likewise.
31750 * sunrpc/Makefile (otherlibs): Likewise.
31751 * nss/Makefile (otherlibs): Likewise.
31752 Add libnss_files to routines and static-only-routines.
31753 ($(objpfx)getent): Remove rule.
31754 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31755 static-only-routines.
31756
7c69cd14
JM
317572012-03-22 Joseph Myers <joseph@codesourcery.com>
31758
31759 [BZ #13892]
31760 * math/s_cexp.c: Include <float.h>.
31761 (__cexp): Handle exp result overflowing not necessarily
31762 overflowing both real and imaginary parts of result.
31763 * math/s_cexpf.c: Likewise.
31764 * math/s_cexpl.c: Likewise.
31765 * math/libm-test.inc (cexp_test): Add more tests.
31766 * sysdeps/i386/fpu/libm-test-ulps: Update.
31767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31768
81b035fe
L
317692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31770
31771 * include/link.h (ELFW): New macro.
31772 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31773 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31774
1da7940c
L
317752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31776
31777 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31778 with uint64_t.
31779
b749dbb9
L
317802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31781
31782 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31783 declaration.
31784 (struct La_x32_retval): Likewise.
31785
2ff87f3f
L
317862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31787
31788 * sysdeps/x86_64/preconfigure.in: New file.
31789 * sysdeps/x86_64/preconfigure: New generated file.
31790
c0df8e69
JM
317912012-03-22 Joseph Myers <joseph@codesourcery.com>
31792
48e44791
JM
31793 [BZ #13824]
31794 * math/e_exp2l.c: Include <float.h>.
31795 (__ieee754_exp2l): Handle overflow and underflow cases
31796 separately. Only pass fractional part of argument to
31797 __ieee754_expl.
31798 * math/libm-test.inc (exp2_test): Add more tests.
31799
c0df8e69
JM
31800 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31801 negating x to take absolute value.
31802 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31803 Likewise.
31804 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31805 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31806 Likewise.
31807 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31808 computing low part if x was negated.
31809 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31810
c8e43ba7
L
318112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31812
31813 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31814 la_x32_gnu_pltexit.
31815 (pltexit): Cast int_retval to ptrdiff_t.
31816 * elf/tst-auditmod3b.c: Likewise.
31817 * elf/tst-auditmod4b.c: Likewise.
31818 * elf/tst-auditmod5b.c: Likewise.
31819 * elf/tst-auditmod6b.c: Likewise.
31820 * elf/tst-auditmod6c.c: Likewise.
31821 * elf/tst-auditmod7b.c: Likewise.
31822
31823 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31824 and x32_gnu_pltexit.
31825
31826 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31827 __ELF_NATIVE_CLASS.
31828 (La_x32_regs): New macro.
31829 (La_x32_retval): Likewise.
31830 (la_x32_gnu_pltenter): New function prototype.
31831 (la_x32_gnu_pltexit): Likewise.
31832
7998fa78
AS
318332012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31834
dcb33988
AS
31835 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31836 exponent.
31837
233fc563
AS
31838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31839
7998fa78
AS
31840 * configure.in (libc_cv_cc_nofma): Check for option to disable
31841 generation of FMA instructions.
31842 * configure: Regenerate.
31843 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31844 * sysdeps/ieee754/dbl-64/Makefile: New file.
31845 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31846 Remove brandred-fma4.
31847 (CFLAGS-brandred-fma4.c): Remove.
31848 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31849 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31850 define.
31851 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31852 define.
31853
8e95c99a
L
318542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31855
31856 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31857 LLONG_MAX != LONG_MAX.
31858 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31859 (_fitoa_word): Likewise.
31860 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31861 LLONG_MAX != LONG_MAX.
31862 * stdio-common/_itowa.h: Include <_itoa.h>.
31863 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31864 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31865 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31866 only if not defined.
31867 (_ITOA_WORD_TYPE): Likewise.
31868 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31869 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31870
6f4db457
DM
318712012-03-21 David S. Miller <davem@davemloft.net>
31872
31873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31874
7785fe5a
L
318752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31876
31877 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31878 of x86_64 when setting libc_cv_slibdir, libdir and
31879 libc_cv_localedir.
31880 * sysdeps/unix/sysv/linux/configure: Regenerated.
31881
4535cd55
JM
318822012-03-21 Joseph Myers <joseph@codesourcery.com>
31883
31884 * manual/lang.texi (Old Varargs): Remove section.
31885 (How Variadic): Update menu.
31886 (va_start): Do not mention varargs.h.
31887
17228132
TS
318882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31889 Joseph Myers <joseph@codesourcery.com>
31890
31891 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31892 link test.
31893 * configure: Regenerated.
31894
8149f976
TS
318952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31896
05f3d1f6
UD
31897 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31898 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31899 conformtest.pl
8149f976 31900
1a4ac776
JM
319012012-03-21 Joseph Myers <joseph@codesourcery.com>
31902
be22ce65
JM
31903 * NOTES: Remove.
31904 * Makefile (files-for-dist): Remove NOTES.
31905 (NOTES): Remove rule.
31906 * README: Don't refer to NOTES.
31907 * manual/creature.texi: Don't include macros.texi.
31908 * manual/intro.texi (creature.texi): Remove comment referring to
31909 NOTES.
31910
40b601fb
JM
31911 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31912 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31913 * configure: Regenerated.
31914 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31915 LIBC_TRY_CC_OPTION.
31916 (libc_cv_as_i686): Likewise.
31917 (libc_cv_cc_avx): Likewise.
31918 (libc_cv_cc_sse2avx): Likewise.
31919 (libc_cv_cc_fma4): Likewise.
31920 (libc_cv_cc_novzeroupper): Likewise.
31921 * sysdeps/i386/configure: Regenerated.
31922
1a4ac776
JM
31923 [BZ #13883]
31924 * sysdeps/i386/fpu/s_cexp.S: Remove.
31925 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31926 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31927 * math/libm-test.inc (cexp_test): Add more tests.
31928 * sysdeps/i386/fpu/libm-test-ulps: Update.
31929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31930
a458e7fe
AM
319312012-03-21 Allan McRae <allan@archlinux.org>
31932
31933 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31934
0cb7efc5
JM
319352012-03-21 Joseph Myers <joseph@codesourcery.com>
31936
31937 [BZ #13871]
31938 * math/w_exp2.c: Do not include <float.h>.
31939 (o_threshold, u_threshold): Remove.
31940 (__exp2): Calculate result before checking finiteness and calling
31941 __kernel_standard.
31942 * math/w_exp2f.c: Likewise.
31943 * math/w_exp2l.c: Likewise.
31944 * math/libm-test.inc (exp2_test): Require overflow exception for
31945 1e6 input.
2460d3aa
JM
31946
31947 [BZ #3866]
31948 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31949 range of signed 64-bit integers before using fistpll. Remove
31950 checks for whether integers fit in mantissa bits.
31951 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31952 the range of signed 32-bit integers before using fistpl. Remove
31953 checks for whether integers fit in mantissa bits.
31954 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31955 (__ieee754_powl): Test for y outside the range of signed 64-bit
31956 integers before using fistpll. Reduce 64-bit values to 63-bit
31957 ones as needed.
31958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31959 divide-by-zero is raised for zero to large negative powers.
31960 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31961 (__ieee754_powl): Test for y outside the range of signed 64-bit
31962 integers before using fistpll. Reduce 64-bit values to 63-bit
31963 ones as needed.
31964 * math/libm-test.inc (pow_test): Add more tests.
31965
eb96ffb0
L
319662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31967
31968 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31969 <stdio-common/_itoa.h>.
31970 * debug/segfault.c: Likewise.
31971 * elf/dl-cache.c: Likewise.
31972 * elf/dl-minimal.c: Likewise.
31973 * elf/dl-misc.c: Likewise.
31974 * elf/dl-sysdep.c: Likewise.
31975 * elf/dl-version.c: Likewise.
31976 * elf/rtld.c: Likewise.
31977 * hurd/hurdsock.c: Likewise.
31978 * hurd/lookup-retry.c: Likewise.
31979 * malloc/malloc.c: Likewise.
31980 * malloc/mtrace.c: Likewise.
31981 * nscd/nscd_getgr_r.c: Likewise.
31982 * nscd/nscd_getpw_r.c: Likewise.
31983 * nscd/nscd_getserv_r.c: Likewise.
31984 * posix/getopt_init.c: Likewise.
31985 * posix/wordexp.c: Likewise.
31986 * stdio-common/_itoa.c: Likewise.
31987 * stdio-common/printf_fphex.c: Likewise.
31988 * stdio-common/vfprintf.c: Likewise.
31989 * string/_strerror.c: Likewise.
31990 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31991 * sysdeps/i386/i686/hp-timing.h: Likewise.
31992 * sysdeps/mach/_strerror.c: Likewise.
31993 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31994 * sysdeps/mach/hurd/sethostid.c: Likewise.
31995 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31996 * sysdeps/mach/xpg-strerror.c: Likewise.
31997 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31998 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31999 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32000 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32001 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32002 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32003 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32004 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32005 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32006 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32007 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32008 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32009 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32010 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32011 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32012 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32013 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32014 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32015 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32016 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32017 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32018
32019 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32020
32021 * stdio-common/_itoa.h: Moved to ...
32022 * sysdeps/generic/_itoa.h: Here.
32023
32024 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32025
32026 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32027 instead of "_itoa.h" and "_itowa.h".
32028 * stdio-common/vfprintf.: Likewise.
32029
d1af992d
L
320302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32031
32032 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32033 <bits/wordsize.h>.
32034 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32035 (__signbit): Likwise.
32036 (llrintf): Likwise.
32037 (llrint): Likwise.
32038
114883e0
L
320392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32040
32041 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32042 __WORDSIZE != 64.
32043
c135cc1b
JM
320442012-03-20 Joseph Myers <joseph@codesourcery.com>
32045
32046 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32047 OVERFLOW_EXCEPTION_OK.
32048 * math/libm-test.inc ("Philosophy"): Update comment about
32049 exception testing.
32050 (OVERFLOW_EXCEPTION): Define.
32051 (OVERFLOW_EXCEPTION_OK): Likewise.
32052 (INVALID_EXCEPTION_OK): Renumber.
32053 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32054 (IGNORE_ZERO_INF_SIGN): Likewise.
32055 (test_exceptions): Handle FE_OVERFLOW.
32056 (exp10_test): Expect overflow exceptions.
32057 (exp2_test): Likewise.
32058 (expm1_test): Likewise.
32059 (nextafter_test): Likewise.
32060 (pow_test): Likewise.
32061 (scalbn_test): Likewise.
32062 (scalbln_test): Likewise.
32063
95443d88
L
320642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32065
32066 * sysdeps/x86_64/bits/atomic.h
32067 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32068 64bit integer.
32069 (atomic_exchange_acq): Likewise.
32070 (__arch_exchange_and_add_body): Likewise.
32071 (__arch_add_body): Likewise.
32072 (atomic_add_negative): Likewise.
32073 (atomic_add_zero): Likewise.
32074
490df6c4
L
320752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32076
c2722551 32077 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32078 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32079
5e52b189
L
320802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32081
32082 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32083 Check __x86_64__ instead of __WORDSIZE.
32084
a9879d4c
L
320852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32086
32087 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32088
5df98260
DM
320892012-03-19 David S. Miller <davem@davemloft.net>
32090
e1497744
DM
32091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32092
5df98260
DM
32093 * sysdeps/sparc/fpu/fenv_private.h: New file.
32094 * sysdeps/sparc/fpu/math_private.h: Use it.
32095 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32096 Remove.
32097 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32098 (libc_feholdexcept_setroundl): Remove.
32099 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32100 Remove.
32101 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32102 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32103
b4c35121
L
321042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32105
32106 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32107 int64_t instead of long int.
32108 (INSERT_WORDS64): Likwise.
32109
56965fd7
L
321102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32111
32112 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32113 _Unwind_GetCFA return to _Unwind_Ptr first.
32114
83d1aec8
JM
321152012-03-19 Joseph Myers <joseph@codesourcery.com>
32116
1897ad44
JM
32117 [BZ #13629]
32118 * math/s_clog.c: Include <float.h>.
32119 (__clog): Scale large or subnormal inputs.
32120 * math/s_clogf.c: Likewise.
32121 * math/s_clogl.c: Likewise.
32122 * math/s_clog10.c: Include <float.h>.
32123 (M_LOG10_2): Define.
32124 (__clog10): Scale large or subnormal inputs.
32125 * math/s_clog10f.c: Likewise.
32126 * math/s_clog10l.c: Likewise.
32127 * math/libm-test.inc (clog_test): Add more tests.
32128 (clog10_test): Likewise.
32129 * sysdeps/i386/fpu/libm-test-ulps: Update.
32130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32131
7726d6a9
JM
32132 [BZ #11451]
32133 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32134 x and y.
32135 * math/libm-test.inc (atan2_test): Add another test.
32136
83d1aec8
JM
32137 * Makerules (common-objdir-compile): Remove.
32138 * sysdeps/unix/Makefile (config-generated): Do not add
32139 $(unix-generated) to variable.
32140 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32141 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32142 Remove rule.
32143 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32144 Likewise.
32145 [generic bits/local_lim.h] (before-compile): Do not append to
32146 variable.
32147 [generic bits/local_lim.h] (common-generated): Likewise.
32148 [generic sys/param.h] (before-compile): Do not append to variable.
32149 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32150 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32151 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32152 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32153 include.
32154 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32155 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32156 [generic sys/param.h] ($(addprefix
32157 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32158 [generic sys/param.h] (common-generated): Do not append to
32159 variable.
32160 [generic sys/param.h] (sysdep_headers): Likewise.
32161 [generic bits/errno.h] (before-compile): Do not append to
32162 variable.
32163 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32164 rule.
32165 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32166 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32167 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32168 [generic bits/errno.h] (common-generated): Do not append to
32169 variable.
32170 [generic bits/ioctls.h] (before-compile): Do not append to
32171 variable.
32172 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32173 rule.
32174 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32175 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32176 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32177 rule.
32178 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32179 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32180 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32181 [generic bits/ioctls.h] (common-generated): Do not append to
32182 variable.
32183 [generic sys/syscall.h] (syscall.h): Remove variable.
32184 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32185 rule.
32186 [generic sys/syscall.h] (before-compile): Do not append to
32187 variable.
32188 [generic sys/syscall.h] (common-generated): Likewise.
32189 * sysdeps/unix/errnos-tmpl.c: Remove file.
32190 * sysdeps/unix/errnos.awk: Likewise.
32191 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32192 * sysdeps/unix/ioctls.awk: Likewise.
32193 * sysdeps/unix/mk-local_lim.c: Likewise.
32194 * sysdeps/unix/snarf-ioctls: Likewise.
32195
4851a949
RH
321962012-03-19 Richard Henderson <rth@twiddle.net>
32197
bd37f2ee
RH
32198 * sysdeps/i386/fpu/fenv_private.h: New file.
32199 * sysdeps/i386/fpu/math_private.h: Use it.
32200 (math_opt_barrier, math_force_eval): Remove.
32201 (libc_feholdexcept_setround_53bit): Remove.
32202 (libc_feupdateenv_53bit): Remove.
32203 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32204 (math_opt_barrier, math_force_eval): Remove.
32205 (libc_feholdexcept): Remove.
32206 (libc_feholdexcept_setround): Remove.
32207 (libc_fetestexcept, libc_fesetenv): Remove.
32208 (libc_feupdateenv_test): Remove.
32209 (libc_feupdateenv, libc_feholdsetround): Remove.
32210 (libc_feresetround): Remove.
32211
d0adc922
RH
32212 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32213 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32214
0fe0f1f8
RH
32215 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32216 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32217 (libc_feupdateenv_testl): New.
32218 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32219 (libc_feupdateenv_testf): New.
32220 (libc_feupdateenv): Use libc_feupdateenv_test.
32221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32222 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32223
eb92c487
RH
32224 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32225 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32226 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32227 (libc_feresetround_noex): New.
32228 (libc_feresetround_noexf): New.
32229 (libc_feresetround_noexl): New.
32230 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32231 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32232 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32233 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32234 SET_RESTORE_ROUND.
32235 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32236 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32237 (__cos): Likewise.
32238 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32239 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32240 SET_RESTORE_ROUND_NOEX.
32241 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32242 SET_RESTORE_ROUND_NOEXF.
32243 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32244 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32245 (libc_feholdsetroundf): New.
32246 (libc_feresetround, libc_feresetroundf): New.
32247
7d2e8012
RH
32248 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32249 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32250 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32251
b4dabbb4
RH
32252 * sysdeps/generic/math_private.h: Include <fenv.h>.
32253 (default_libc_feholdexcept): New.
32254 (default_libc_feholdexcept_setround): New.
32255 (default_libc_fesetenv, default_libc_feupdateenv): New.
32256 (libc_feholdexcept): Only define if undefined.
32257 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32258 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32259 (libc_feholdexcept_setroundl): Likewise.
32260 (libc_feholdexcept_setround_53bit): Likewise.
32261 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32262 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32263 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32264 (libc_feupdateenv_53bit): Likewise.
32265 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32266 (libc_feholdexcept): Convert from macro to inline function.
32267 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32268 (libc_fesetenv, libc_feupdateenv): Likewise.
32269
4851a949
RH
32270 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32271 not previously defined.
32272 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32273 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32274 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32275 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32276 * sysdeps/ieee754/flt-32/math_private.h: New file.
32277 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32278 math_private.h below SET_FLOAT_WORD.
32279 (__isnan, __isinf_ns, __finite): Remove.
32280 (__isnanf, __isinf_nsf, __finitef): Remove.
32281
e79d442e
AS
322822012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32283
32284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32285
90b80344
DM
322862012-03-17 David S. Miller <davem@davemloft.net>
32287
32288 [BZ #6471]
32289 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32290 for 2.16.
32291
edc21804
DM
322922012-03-16 David S. Miller <davem@davemloft.net>
32293
77e927af
DM
32294 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32295 warnings.
32296
374976dd
DM
32297 [BZ #6471]
32298 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32299 properly.
32300 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32301 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32302 sysdep_routines when subdir is sysvipc.
32303 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32304 __getshmlba helper.
32305
edc21804
DM
32306 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32307
473c3ef3
L
323082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32309
32310 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32311 [__LP64__].
32312
eb0f39b6
L
323132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32314
32315 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32316 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32317 (__lround): Renamed to ...
32318 (__llround): This. Replace long int with long long int.
32319 Define lround functions as aliases of llround functions.
32320 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32321
6b6cd74b
L
323222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32323
32324 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32325 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32326 adresses to uintptr_t. Replace "long int" and "unsigned long
32327 int" with "greg_t" on va_arg.
32328
f1a77b01
L
323292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32330
32331 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32332 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32333
32334 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32335 Move e_machine check before EI_CLASS check. Handle x32
32336 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32337 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32338 SKIP_EM_IA_64 and include
32339 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32340
32341 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32342 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32343 (add_system_dir): New macro.
32344
32345 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32346 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32347
11b90b9f
JM
323482012-03-16 Joseph Myers <joseph@codesourcery.com>
32349
c36e1d23
JM
32350 [BZ #2551]
32351 [BZ #2552]
32352 [BZ #2553]
32353 [BZ #2554]
32354 [BZ #2562]
32355 [BZ #2563]
32356 [BZ #2565]
32357 [BZ #2566]
32358 [BZ #2576]
32359 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32360 (y0): Likewise.
32361 * math/w_j0f.c (j0f): Likewise.
32362 (y0f): Likewise.
32363 * math/w_j0l.c (__j0l): Likewise.
32364 (__y0l): Likewise.
32365 * math/w_j1.c (j1): Likewise.
32366 (y1): Likewise.
32367 * math/w_j1f.c (j1f): Likewise.
32368 (y1f): Likewise.
32369 * math/w_j1l.c (__j1l): Likewise.
32370 (__y1l): Likewise.
32371 * math/w_jn.c (jn): Likewise.
32372 (yn): Likewise.
32373 * math/w_jnf.c (jnf): Likewise.
32374 (ynf): Likewise.
32375 * math/w_jnl.c (__jnl): Likewise.
32376 (__ynl): Likewise.
32377 * math/libm-test.inc (j0_test): Add more tests.
32378 (j1_test): Likewise.
32379 (jn_test): Likewise. Add trailing semicolon to existing test.
32380 (y0_test): Likewise.
32381 (y1_test): Likewise.
32382 * sysdeps/i386/fpu/libm-test-ulps: Update.
32383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32384
11b90b9f
JM
32385 [BZ #13851]
32386 [BZ #13854]
32387 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32388 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32389 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32390 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32391 (__tanl): Set errno for infinite argument.
32392 * sysdeps/i386/fpu/mptan.c: Remove.
32393 * sysdeps/i386/fpu/s_tan.S: Likewise.
32394 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32395 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32396 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32397 * math/libm-test.inc (tan_test): Add more tests and enable more
32398 tests for double and long double.
32399 * sysdeps/i386/fpu/libm-test-ulps: Update.
32400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32401
6a1bd2a1
JK
324022012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32403
32404 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32405 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32406
10a803e0
RM
324072012-03-16 Roland McGrath <roland@hack.frob.com>
32408
32409 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32410 * configure.in: Use it for both main tree and add-ons.
32411 * configure: Regenerated.
32412
f196c7f7
L
324132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32414
32415 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32416
8848d99d
JM
324172012-03-16 Joseph Myers <joseph@codesourcery.com>
32418
96cbe7f4
JM
32419 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32420 in comment.
32421
8848d99d
JM
32422 [BZ #13851]
32423 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32424 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32425 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32426 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32427 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32428 infinite argument.
32429 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32430 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32431 != 0 for prec == 2.
32432 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32433 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32434 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32435 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32436 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32437 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32438 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32439 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32440 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32441 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32442 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32443 * math/libm-test.inc (cos_test): Add more tests and enable more
32444 tests for long double.
32445 (sin_test): Likewise.
32446 (sincos_test): Likewise.
32447 * sysdeps/i386/fpu/libm-test-ulps: Update.
32448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32449
dd7f4703
DM
324502012-03-16 David S. Miller <davem@davemloft.net>
32451
32452 * sysdeps/sparc/fpu/math_private.h: New file.
32453
006f1daa
DM
324542012-03-15 David S. Miller <davem@davemloft.net>
32455
c0c83bc8
DM
32456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32457 file.
e6a62e18 32458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32460 file.
e6a62e18
DM
32461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32466 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32467 sysdep routines.
32468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32469
88cb87d9
DM
32470 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32471 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32472
006f1daa 32473 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32475 sparc-ifunc.h
006f1daa 32476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32478 Likewise.
32479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32480 Likewise.
006f1daa
DM
32481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32485 Likewise.
006f1daa
DM
32486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32491 Likewise.
32492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32493 Likewise.
006f1daa
DM
32494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32512 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32513 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32514 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32515 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32517 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32518
11e0098e
AS
325192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32520
32521 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32522 scaling.
32523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32524
e85b09d0
AJ
325252012-03-15 Andreas Jaeger <aj@suse.de>
32526
32527 [BZ #13852]
32528 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32529 ieee754/flt-32 implementation for sin, cos and sincos.
32530 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32531 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32532 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32533 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32534 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32535 ieee754/flt-32 implementation for tan.
32536
32537 * math/libm-test.inc (cos_test): Enable some large input tests for
32538 float as well
32539 (sin_test): Likewise.
32540 (sincos_test): Likewise.
32541 (tan_test): Add tests for large input.
32542
32543 * sysdeps/i386/fpu/libm-test-ulps: Update.
32544
81c64153
AJ
325452012-03-15 Andreas Jaeger <aj@suse.de>
32546
32547 [BZ #13658]
32548 * math/libm-test.inc (cos_test): Add more test cases.
32549 (sin_test): Likewise.
32550 (sincos_test): Likewise.
32551
7bbfa5c6
AJ
325522012-03-15 Andreas Jaeger <aj@suse.de>
32553
32554 [BZ #13837]
32555 * math/libm-test.inc (cos_test): Add a test case for large input
32556 value.
32557 (sin_test): Likewise.
32558 (sincos_test): Likewise.
32559
325602012-03-15 Andreas Jaeger <aj@suse.de>,
32561 Joseph Myers <joseph@codesourcery.com>
32562
32563 [BZ #13658]
0671f479 32564 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32565 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32566 * sysdeps/i386/fpu/branred.c: Likewise.
32567 * sysdeps/i386/fpu/dosincos.c: Likewise.
32568 * sysdeps/i386/fpu/mpa.c: Likewise.
32569 * sysdeps/i386/fpu/s_cos.S: Likewise.
32570 * sysdeps/i386/fpu/s_sin.S: Likewise.
32571 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32572 * sysdeps/i386/fpu/sincos32.c: Likewise.
32573
32574 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32575 Define.
32576 (libc_feupdateenv_53bit): Define.
32577 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32578 Define.
32579 (libc_feupdateenv_53bit): Define.
32580
32581 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32582 53 bit (without extend i386 double precision).
32583
32584 * math/libm-test.inc (sincos_test): Add tests for large input.
32585 (sin): Likewise.
32586 (cos): Likewise.
32587
32588 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32589
9cad04ea
AS
325902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32591
32592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32593
f7062b9a
DM
325942012-03-15 David S. Miller <davem@davemloft.net>
32595
32596 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32597 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32598 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32599 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32612 file.
f7062b9a 32613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32615 file.
f7062b9a 32616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32618 file.
f7062b9a 32619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32621 file.
f7062b9a
DM
32622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32624 fmin/fmax sysdep routines.
32625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32626
7bd951ff
DM
326272012-03-14 David S. Miller <davem@davemloft.net>
32628
559398ab
DM
32629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32631 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32633 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32634 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32635 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32636 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32647 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32649 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32650 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32651 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32652 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32653 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32654 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32658 routines.
32659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32660 file.
559398ab 32661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32663 file.
559398ab 32664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32666 file.
559398ab 32667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32669 file.
559398ab 32670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32672 file.
559398ab 32673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32675 file.
32676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32677 file.
32678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32679 file.
32680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32681 file.
32682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32683 New file.
32684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32685 file.
32686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32687 file.
559398ab 32688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32690 file.
559398ab 32691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32693 file.
559398ab 32694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32696 file.
559398ab 32697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32699 VIS3 routines.
559398ab
DM
32700
32701 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32702 New file.
32703
5a1c1e32
DM
32704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32705
eae47a36
DM
32706 * sysdeps/sparc/configure.in: New file.
32707 * sysdeps/sparc/configure: Generate.
32708 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32709 * configure: Regenerate.
32710 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32711 * config.make.in (have-as-vis3): New.
32712 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32713 available use -Av9d instead of -Av9a.
32714 * sysdeps/sparc/sparc64/Makefile: Likewise.
32715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32717 New file.
32718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32719 file.
32720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32721 New file.
32722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32723 file.
eae47a36
DM
32724 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32728 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32729
c0c83bc8
DM
32730 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32731 fzeros/fnegs to load 0x80000000 into a float register instead of
32732 using the stack.
7bd951ff
DM
32733 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32734
bd951ccb
JM
327352012-03-14 Joseph Myers <joseph@codesourcery.com>
32736
32737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32738 bits/syscall.h.
32739 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32740 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32741 ($(inst_includedir)/bits/syscall.h): Remove rule.
32742 ($(objpfx)bits/syscall.d): Include instead of
32743 $(objpfx)syscall-list.d.
32744 (generated): Change syscall-list.h and syscall-list.d to
32745 bits/syscall.h and bits/syscall.d.
32746
bb4e6db2
RM
327472012-03-14 Roland McGrath <roland@hack.frob.com>
32748
32749 [BZ #13846]
32750 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32751
aa4a2ae1
JM
327522012-03-14 Joseph Myers <joseph@codesourcery.com>
32753
e456826d
JM
32754 [BZ #13841]
32755 * math/s_csqrt.c: Include <float.h>.
32756 (__csqrt): Scale large or subnormal inputs.
32757 * math/s_csqrtf.c: Likewise.
32758 * math/s_csqrtl.c: Likewise.
32759 * math/libm-test.inc (csqrt_test): Add more tests.
32760 * sysdeps/i386/fpu/libm-test-ulps: Update.
32761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32762
aa4a2ae1
JM
32763 [BZ #13840]
32764 * math/libm-test.inc (hypot_test): Add more tests.
32765
7c10fd35
DM
327662012-03-13 David S. Miller <davem@davemloft.net>
32767
32768 [BZ #13840]
32769 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32770 double-precision for the calculation instead of scaling.
32771
f453b98b
JM
327722012-03-13 Joseph Myers <joseph@codesourcery.com>
32773
32774 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32775 manipulate bits before adding and subtracting TWO52[sx].
32776 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32777 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32778 Likewise.
32779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32780
09a3453f
DM
327812012-03-13 David S. Miller <davem@davemloft.net>
32782
8e59da90
DM
32783 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32784 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32786 rtld-global-offsets.h
32787 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32788
2a8ab7f2
DM
32789 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32790 large parameters.
32791
10f62770
DM
32792 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32793
5f0bdb18
DM
32794 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32795 'err' in the ifdef scope in which it is actually used.
32796
09a3453f
DM
32797 * nss/nss_db/db-init.c: Include string.h
32798
b4b2eb5e
DM
327992012-03-12 David S. Miller <davem@davemloft.net>
32800
98bb2f1c
DM
32801 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32802 masking out of the most significant byte of random value used.
32803 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32804 Fix coding style in previous change.
32805
b4b2eb5e
DM
32806 * sysdeps/unix/sysv/linux/kernel-features.h
32807 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32808 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32809 expression.
32810 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32811 later.
32812
6e226b09
DM
328132012-03-11 David S. Miller <davem@davemloft.net>
32814
a1bcbd40
DM
32815 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32816 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32817 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32818 for 'resultvar' otherwise things get truncated on 64-bit.
32819
cb9d6174
DM
32820 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32821 Fix masking out of the most significant byte of random value used.
32822
6e226b09
DM
32823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32824
058c132d
AS
328252012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32826
32827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32828
2d2cd515
DM
328292012-03-09 David S. Miller <davem@davemloft.net>
32830
32831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32832 variables with appropriate CPP guards.
32833 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32834 frame pointer, not the stack pointer. Correct layout comments. Fix test
32835 on resulting framesize and the management of the outregs buffer for pltexit.
32836 Preserve floating point return values across _dl_call_pltexit call.
32837 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32838 framesize and the management of the outregs buffer for pltexit.
32839 Preserve floating point return values across _dl_call_pltexit
32840 call.
32841 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32842 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32843 (print_exit): Fix format string for return register value.
32844
9a07f9d0
JM
328452012-03-10 Joseph Myers <joseph@codesourcery.com>
32846
32847 * sunrpc/Makefile (others): Add rpcgen.
32848 ($(objpfx)rpcgen): Remove special build rule and dependency on
32849 libc.
32850 * sunrpc/rpcgen.c: New file.
32851
547b5e30
PE
328522012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32853
c524201a
PE
32854 [BZ #13673]
32855 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32856 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32857 * sysdeps/i386/crti.S: Likewise.
32858 * sysdeps/i386/crtn.S: Likewise.
32859 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32860 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32861 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32862 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32863 * sysdeps/sh/crti.S: Likewise.
32864 * sysdeps/sh/crtn.S: Likewise.
32865 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32866
7b6235f2
PE
32867 [BZ #13673]
32868 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32869 with URL.
32870 * locale/programs/locfile-kw.gperf: Likewise.
32871 * locale/programs/charmap-kw.h: Regenerated.
32872 * locale/programs/locfile-kw.h: Likewise.
32873
547b5e30
PE
32874 [BZ #13673]
32875 * intl/plural.y: Replace FSF snail mail address with URL.
32876 * intl/plural.c: Regenerated.
32877
5f0a5dae
RH
328782012-03-09 Richard Henderson <rth@twiddle.net>
32879
32880 * include/math_private.h: Remove file.
32881 * math/math_private.h: Move file ...
32882 * sysdeps/generic/math_private.h: ... here.
32883
b8c03620
RH
32884 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32885 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32886 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32887
4e234f5d 32888 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32889 and <math_private.h>.
32890 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32891 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32892 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32893 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32894 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32895 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32896 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32897 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32898 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32899 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32901 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32902 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32903 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32904 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32905 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32906 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32907 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32908 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32909 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32911 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32912 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32914 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32915 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32916 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32917 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32919 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32920 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32922 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32923 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32924 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32925 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32926 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32927 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32928 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32929 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32930 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32931 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32932 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32933 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32934 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32935 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32936 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32937 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32938 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32939 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32940 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32941 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32942 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32943 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32944 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32945 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32946 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32947 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32948 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32949 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32950 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32951 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32953 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32954 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32955 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32956 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32958 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32959 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32960 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32961 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32963 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32964 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32965 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32966 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32969 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32970 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32971 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32972 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32973 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32974 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32977 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32978 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32979 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32980 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32981 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32982 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32983 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32984 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32985 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32986 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32987 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32988 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32989 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32990 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32991 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32992 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32993 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32994 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32995 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32996 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32997 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32998 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32999 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33000 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33001 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33002 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33003 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33004 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33005 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33006 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33007 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33008 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33009 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33010 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33011 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33012 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33013 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33014 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33015 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33016 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33017 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33018 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33019 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33020 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33021 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33022 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33023 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33024 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33025 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33026 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33027 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33028 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33029 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33030 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33031 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33032 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33033 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33034 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33035 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33036 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33037 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33038 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33039 * sysdeps/ieee754/k_standard.c: Likewise.
33040 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33041 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33042 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33043 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33044 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33045 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33046 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33047 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33048 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33049 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33050 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33051 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33052 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33053 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33054 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33055 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33056 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33057 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33058 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33059 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33062 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33063 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33064 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33065 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33066 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33067 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33068 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33069 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33070 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33071 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33072 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33073 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33074 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33075 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33076 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33077 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33078 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33079 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33080 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33081 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33082 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33083 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33084 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33085 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33087 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33088 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33089 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33090 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33091 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33092 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33093 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33094 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33095 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33096 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33097 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33098 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33099 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33100 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33101 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33102 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33103 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33106 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33107 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33108 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33109 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33110 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33115 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33123 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33124 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33130 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33132 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33133 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33134 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33135 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33138 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33139 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33141 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33142 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33143 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33144 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33152 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33153 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33154 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33155 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33157 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33158 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33159 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33160 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33161 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33162 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33165 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33166 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33167 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33172 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33173 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33176 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33183 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33188 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33189 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33190 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33193 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33200 * sysdeps/ieee754/s_lib_version.c: Likewise.
33201 * sysdeps/ieee754/s_matherr.c: Likewise.
33202 * sysdeps/ieee754/s_signgam.c: Likewise.
33203 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33204 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33205 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33206 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33207 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33208 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33209 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33210 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33211 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33212 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33213 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33214 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33215 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33216 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33217 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33218 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33219 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33220 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33221 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33222 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33223 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33224
1991fa03
JM
332252012-03-09 Joseph Myers <joseph@codesourcery.com>
33226
33227 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33228 * sunrpc/rpc_main.c: Likewise.
33229 * sunrpc/rpc_svcout.c: Likewise.
33230
60d6f5a6
DM
332312012-03-09 David S. Miller <davem@davemloft.net>
33232
33233 * include/math_private.h: New file.
33234
4962050e
JM
332352012-03-09 Joseph Myers <joseph@codesourcery.com>
33236
02a6f887
JM
33237 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33238 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33239 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33240 from <bits/socket_type.h>.
33241 (enum __socket_type): Don't define here.
33242 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33244 bits/socket_type.h.
33245
c6e013c1
JM
33246 [BZ #13566]
33247 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33248 checking __USE_GNU.
33249
4962050e
JM
33250 * Makerules ($(inst_includedir)/%.h): New rule.
33251 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33252 (install-others): Remove variable setting.
33253 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33254
38842f45
RH
332552012-03-08 Richard Henderson <rth@twiddle.net>
33256
67bb6da6
RH
33257 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33258 from macro to inline function; merge with the
33259 !__LIBC_INTERNAL_MATH_INLINES version.
33260 (__ieee754_sqrtf): Likewise.
33261
15194b4b
RH
33262 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33263 to inline function.
33264 (__rintf, __floor, __floorf): Likewise.
33265
64e21ede
RH
33266 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33267 macro to inline function.
33268 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33269
38842f45
RH
33270 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33271 not <math/math_private.h>.
33272
c64bf5fe
DM
332732012-03-08 David S. Miller <davem@davemloft.net>
33274
33275 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33276 copyright year.
33277 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33278
82d86f28
TS
332792012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33280
33281 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33282 normalization.
33283 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33284 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33285
aea5d727
UD
332862012-03-08 Ulrich Drepper <drepper@gmail.com>
33287
33288 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33289 be defined individually, they must be defined as a block. Define
33290 S for printing a string instead of hidint the different by using a
33291 macro for adding the 'l'.
33292 * stdio-common/tst-fphex-wide.c: Adjust.
33293
70bca0a3
MP
332942012-03-07 Marek Polacek <polacek@redhat.com>
33295
33296 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33297
65b81130
MP
332982012-03-08 Marek Polacek <polacek@redhat.com>
33299
33300 [BZ #13806]
33301 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33302 * stdio-common/tst-fphex.c: Define a few macros to make the
33303 test reusable. Use them.
33304 * stdio-common/tst-fphex-wide.c: New file.
33305
07037eeb
JM
333062012-03-08 Joseph Myers <joseph@codesourcery.com>
33307
a7a93d50
JM
33308 [BZ #6911]
33309 * manual/macros.texi (gnusystems): New macro.
33310 (nongnusystems): Likewise.
33311 (gnulinuxhurdsystems): Likewise.
33312 (gnuhurdsystems): Likewise..
33313 (gnulinuxsystems): Likewise.
33314 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33315 variants of the GNU system, not "GNU system".
33316 * manual/conf.texi: Likewise.
33317 * manual/errno.texi: Likewise. Update example of errno macro
33318 expansion.
33319 * manual/filesys.texi: Likewise.
33320 (getumask): Document as specific to GNU/Hurd.
33321 * manual/install.texi: Likewise. Reword some references to
33322 GNU/Linux.
33323 * manual/intro.texi: Likewise.
33324 * manual/io.texi: Likewise.
33325 (File Name Portability): Detail which constraints are inapplicable
33326 to all GNU systems and which are only inapplicable to GNU/Hurd.
33327 * manual/job.texi: Likewise.
33328 * manual/llio.texi: Likewise.
33329 (O_NOCTTY): Document as present on GNU/Linux.
33330 * manual/maint.texi: Likewise.
33331 * manual/memory.texi: Likewise.
33332 * manual/pattern.texi: Likewise.
33333 * manual/pipe.texi: Likewise.
33334 * manual/process.texi: Likewise.
33335 * manual/resource.texi: Likewise.
33336 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33337 child on GNU/Hurd.
33338 * manual/setjmp.texi: Likewise.
33339 * manual/signal.texi: Likewise.
33340 * manual/startup.texi: Likewise.
33341 * manual/stdio.texi: Likewise.
33342 * manual/terminal.texi: Likewise.
33343 (ONLCR): Document as POSIX.
33344 (OXTABS): Document availability on GNU/Linux as XTABS.
33345 (ONOEOT): Document availability separately from other bits.
33346 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33347 * manual/time.texi: Likewise.
33348 * manual/users.texi: Likewise.
33349 * INSTALL: Regenerated.
33350 * sysdeps/gnu/errlist.c: Regenerated.
33351
07037eeb
JM
33352 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33353 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33354 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33355 puts.
33356 * configure: Regenerated.
33357
d1d3431a
JM
333582012-03-07 Joseph Myers <joseph@codesourcery.com>
33359
af6a1e37
JM
33360 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33361 default includes instead of AC_HEADER_CHECK.
33362 * sysdeps/i386/configure: Regenerated.
33363
d1d3431a
JM
33364 [BZ #10716]
33365 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33366 * math/s_cacoshf.c (__cacoshf): Likewise.
33367 * math/s_cacoshl.c (__cacoshl): Likewise.
33368 * math/s_casinh.c (__casinh): Set signs of result from argument.
33369 * math/s_casinhf.c (__casinhf): Likewise.
33370 * math/s_casinhl.c (__casinhl): Likewise.
33371 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33372 (casinh_test): Add more tests.
33373 * sysdeps/i386/fpu/libm-test-ulps: Update.
33374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33375
482ff4da
UD
333762012-03-07 Ulrich Drepper <drepper@gmail.com>
33377
872fda05
UD
33378 * po/zh_TW.po: Update from translation team.
33379
a4300c7a
UD
33380 * login/Makefile (distribute): Remove variable.
33381 * catgets/Makefile: Likewise.
33382 * mach/Makefile: Likewise.
33383 * malloc/Makefile: Likewise.
33384 * misc/Makefile: Likewise.
33385 * iconv/Makefile: Likewise.
33386 * nscd/Makefile: Likewise.
33387 * hurd/Makefile: Likewise.
33388 * manual/Makefile: Likewise.
33389 * locale/Makefile: Likewise.
33390 * intl/Makefile: Likewise.
33391 * conform/Makefile: Likewise.
33392 * nss/Makefile: Likewise.
33393 * time/Makefile: Likewise.
33394 * soft-fp/Makefile: Likewise.
33395 * dirent/Makefile: Likewise.
33396 * gmon/Makefile: Likewise.
33397 * po/Makefile: Likewise.
33398 * rt/Makefile: Likewise.
33399 * socket/Makefile: Likewise.
33400 * math/Makefile: Likewise.
33401 * signal/Makefile: Likewise.
33402 * debug/Makefile: Likewise.
33403 * elf/Makefile: Likewise.
33404 * timezone/Makefile: Likewise.
33405 * stdlib/Makefile: Likewise.
33406 * iconvdata/Makefile: Likewise.
33407 * sunrpc/Makefile: Likewise.
33408 * io/Makefile: Likewise.
33409 * argp/Makefile: Likewise.
33410 * inet/Makefile: Likewise.
33411 * hesiod/Makefile: Likewise.
33412 * grp/Makefile: Likewise.
33413 * csu/Makefile: Likewise.
33414 * wctype/Makefile: Likewise.
33415 * crypt/Makefile: Likewise.
33416 * libio/Makefile: Likewise.
33417 * string/Makefile: Likewise.
33418 * nis/Makefile: Likewise.
33419 * resolv/Makefile: Likewise.
33420 * stdio-common/Makefile: Likewise.
33421 * wcsmbs/Makefile: Likewise.
33422 * dlfcn/Makefile: Likewise.
33423 * posix/Makefile: Likewise.
33424
3b7c4e74 33425 [BZ #6959]
482ff4da
UD
33426 * timezone/Makefile: Don't install timezone files, just the programs
33427 and scripts.
33428
f72ed77d
UD
334292012-03-06 Ulrich Drepper <drepper@gmail.com>
33430
a000466f
UD
33431 * nss/databases.def: Add missing gshadow entry.
33432
f72ed77d
UD
33433 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33434
a53b7a4e
MP
334352012-03-06 Marek Polacek <polacek@redhat.com>
33436
33437 [BZ #13726]
33438 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33439 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33440 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33441 * stdio-common/tst-long-dbl-fphex.c: New file.
33442
e9258400
DM
334432012-03-06 David S. Miller <davem@davemloft.net>
33444
33445 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33446 (set_obp_int): New function.
33447 (get_obp_int): New function.
33448 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33449 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33450 Avoid unused variable warnings on 'val' and use builtin_expect.
33451 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33452 __builtin_expect.
e9258400
DM
33453 (INLINE_CLONE_SYSCALL): Likewise.
33454
3bd2c723
DM
334552012-03-05 David S. Miller <davem@davemloft.net>
33456
33457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33458
bbb78d03
AS
334592012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33460
884c5db4
AS
33461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33462
bbb78d03
AS
33463 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33464 only for |x| >= 40.
33465 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33466
1c9f702a 334672012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33468
33469 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33470 Replace gettimeofday with __vdso_gettimeofday.
33471
7be16f82
RM
33472 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33473 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33474 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33475
33476 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33477 time with __vdso_time.
33478
ed58a00f
JM
334792012-03-05 Joseph Myers <joseph@codesourcery.com>
33480
33481 * manual/lang.texi (size_t): Note types to which size_t may be
33482 equivalent with the GNU C Library, but do not describe when
33483 differences between them are significant.
33484
30ee4ced
AJ
334852012-03-05 Andreas Jaeger <aj@suse.de>
33486
33487 * sysdeps/i386/fpu/libm-test-ulps: Update.
33488
b7cd39e8
JM
334892012-03-05 Joseph Myers <joseph@codesourcery.com>
33490
33491 [BZ #3976]
33492 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33493 (__ieee754_pow): Save and restore rounding mode and use
33494 round-to-nearest for main computations.
33495 * math/libm-test.inc (pow_test_tonearest): New function.
33496 (pow_test_towardzero): Likewise.
33497 (pow_test_downward): Likewise.
33498 (pow_test_upward): Likewise.
33499 (main): Call the new functions.
33500 * sysdeps/i386/fpu/libm-test-ulps: Update.
33501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33502
33503 [BZ #3976]
33504 * math/libm-test.inc (cosh_test_tonearest): New function.
33505 (cosh_test_towardzero): Likewise.
33506 (cosh_test_downward): Likewise.
33507 (cosh_test_upward): Likewise.
33508 (sinh_test_tonearest): Likewise.
33509 (sinh_test_towardzero): Likewise.
33510 (sinh_test_downward): Likewise.
33511 (sinh_test_upward): Likewise.
33512 (main): Call the new functions.
33513 * sysdeps/i386/fpu/libm-test-ulps: Update.
33514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33515
6c6a98c9
TV
335162012-03-05 Tom de Vries <tom@codesourcery.com>
33517
33518 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33519 default stack guard is set in last bytes.
33520 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33521
21bb2d2e 335222012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33523
21bb2d2e 33524 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33525
21bb2d2e
AJ
33526 [BZ #13656]
33527 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33528 possibly allocate from heap instead of stack.
33529 * stdio-common/bug-vfprintf-nargs.c: New file.
33530 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33531
c6922934
AS
335322012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33533
33534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33535
bc957d53
MP
335362012-03-03 Marek Polacek <polacek@redhat.com>
33537
33538 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33539 * math/math_private.h: Likewise.
33540 * stdlib/tst-strtod.c: Likewise.
33541 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33542 * sysdeps/x86_64/bits/atomic.h: Likewise.
33543
6358490d
DM
335442012-03-02 David S. Miller <davem@davemloft.net>
33545
33546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33550 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33551 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33552 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33553 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33554
01ae168d
RM
335552012-03-02 Roland McGrath <roland@hack.frob.com>
33556
d9a17c07
RM
33557 [BZ #13792]
33558 * manual/examples/README: New file, says the example source files
33559 can be used under GPL>=2.
33560 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33561 line containing just "*/".
33562 * manual/examples/add.c: Add copyright header (GPL>=2).
33563 * manual/examples/argp-ex1.c: Likewise.
33564 * manual/examples/argp-ex2.c: Likewise.
33565 * manual/examples/argp-ex3.c: Likewise.
33566 * manual/examples/argp-ex4.c: Likewise.
33567 * manual/examples/atexit.c: Likewise.
33568 * manual/examples/db.c: Likewise.
33569 * manual/examples/dir.c: Likewise.
33570 * manual/examples/dir2.c: Likewise.
33571 * manual/examples/execinfo.c: Likewise.
33572 * manual/examples/filecli.c: Likewise.
33573 * manual/examples/filesrv.c: Likewise.
33574 * manual/examples/fmtmsgexpl.c: Likewise.
33575 * manual/examples/genpass.c: Likewise.
33576 * manual/examples/inetcli.c: Likewise.
33577 * manual/examples/inetsrv.c: Likewise.
33578 * manual/examples/isockad.c: Likewise.
33579 * manual/examples/longopt.c: Likewise.
33580 * manual/examples/memopen.c: Likewise.
33581 * manual/examples/memstrm.c: Likewise.
33582 * manual/examples/mkfsock.c: Likewise.
33583 * manual/examples/mkisock.c: Likewise.
33584 * manual/examples/mygetpass.c: Likewise.
33585 * manual/examples/pipe.c: Likewise.
33586 * manual/examples/popen.c: Likewise.
33587 * manual/examples/rprintf.c: Likewise.
33588 * manual/examples/search.c: Likewise.
33589 * manual/examples/select.c: Likewise.
33590 * manual/examples/setjmp.c: Likewise.
33591 * manual/examples/sigh1.c: Likewise.
33592 * manual/examples/sigusr.c: Likewise.
33593 * manual/examples/stpcpy.c: Likewise.
33594 * manual/examples/strdupa.c: Likewise.
33595 * manual/examples/strftim.c: Likewise.
33596 * manual/examples/strncat.c: Likewise.
33597 * manual/examples/subopt.c: Likewise.
33598 * manual/examples/swapcontext.c: Likewise.
33599 * manual/examples/termios.c: Likewise.
33600 * manual/examples/testopt.c: Likewise.
33601 * manual/examples/testpass.c: Likewise.
33602 * manual/examples/timeval_subtract.c: Likewise.
33603
01ae168d
RM
33604 [BZ #13792]
33605 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33606 function to ...
33607 * manual/timeval_subtract.c.texi: ... here, new file.
33608
49efa33d
DM
336092012-03-02 David S. Miller <davem@davemloft.net>
33610
33611 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33612
28afd92d
JM
336132012-03-02 Joseph Myers <joseph@codesourcery.com>
33614
804360ed
JM
33615 [BZ #3976]
33616 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33617 (__sin): Save and restore rounding mode and use round-to-nearest
33618 for all computations.
33619 (__cos): Save and restore rounding mode and use round-to-nearest
33620 for all computations.
33621 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33622 <fenv.h>.
33623 (tan): Save and restore rounding mode and use round-to-nearest for
33624 all computations.
33625 * math/libm-test.inc (cos_test_tonearest): New function.
33626 (cos_test_towardzero): Likewise.
33627 (cos_test_downward): Likewise.
33628 (cos_test_upward): Likewise.
33629 (sin_test_tonearest): Likewise.
33630 (sin_test_towardzero): Likewise.
33631 (sin_test_downward): Likewise.
33632 (sin_test_upward): Likewise.
33633 (tan_test_tonearest): Likewise.
33634 (tan_test_towardzero): Likewise.
33635 (tan_test_downward): Likewise.
33636 (tan_test_upward): Likewise.
33637 (main): Call the new functions.
33638 * sysdeps/i386/fpu/libm-test-ulps: Update.
33639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33640
a6d06d7b
JM
33641 [BZ #10135]
33642 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33643 small n, then large n, before computing and testing k+n.
33644 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33645 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33646 Likewise.
33647 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33648 Likewise.
33649 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33650 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33651 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33652 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33653 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33654 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33655 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33656 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33657 * math/libm-test.inc (scalbn_test): Add more tests.
33658 (scalbln_test): Likewise.
33659
07e12bb3
JM
33660 * manual/filesys.texi (mode_t): Describe constraints on size and
33661 signedness, not exact equivalence to a particular type.
33662 (ino_t): Likewise.
33663 (ino64_t): Likewise.
33664 (dev_t): Likewise.
33665 (nlink_t): Likewise.
33666 (blkcnt_t): Likewise.
33667 (blkcnt64_t): Likewise.
33668 * manual/llio.texi (off_t): Likewise.
33669
28afd92d
JM
33670 [BZ #3976]
33671 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33672 (__ieee754_exp): Save and restore rounding mode and use
33673 round-to-nearest for all computations.
33674 * math/libm-test.inc (exp_test_tonearest): New function.
33675 (exp_test_towardzero): Likewise.
33676 (exp_test_downward): Likewise.
33677 (exp_test_upward): Likewise.
33678 (main): Call the new functions.
33679 * sysdeps/i386/fpu/libm-test-ulps: Update.
33680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33681
b1eeb65d
CD
336822012-03-01 Chris Demetriou <cgd@google.com>
33683
33684 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33685 have predictable order.
33686
53362a4b
DM
336872012-03-01 David S. Miller <davem@davemloft.net>
33688
3c969083
DM
33689 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33690
759707de
DM
33691 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33692 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33693 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33694 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33695
dfdb8ff2
DM
33696 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33697 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33698 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33700 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33701 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33702 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33703 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33704 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33705
ead89f96
DM
33706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33707
7f66bd07
DM
33708 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33709 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33710 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33711
53362a4b
DM
33712 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33713 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33714 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33715 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33716 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33717 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33718 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33719 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33720 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33721 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33722 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33723 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33725 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33726 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33727 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33728 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33729 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33730 * sysdeps/sparc/elf/configure: Regenerated.
33731
7b1902cb
JM
337322012-03-01 Joseph Myers <joseph@codesourcery.com>
33733
bec039bc
JM
33734 * configure.in (AS, LD): Require binutils 2.20 or later.
33735 * configure: Regenerated.
33736 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33737 as required minimum version.
33738 * INSTALL: Regenerated.
33739
7b1902cb
JM
33740 [BZ #2541]
33741 [BZ #4108]
33742 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33743 before squaring exponent.
33744 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33745 bottom long double and 27 bits of top long double before squaring
33746 exponent.
33747 * math/libm-test.inc (erfc_test): Add more tests.
33748 * sysdeps/i386/fpu/libm-test-ulps: Update.
33749 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33751
f775c276
KT
337522012-03-01 Kai Tietz <ktietz@redhat.com>
33753
33754 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33755 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33756 containing bit-fields.
33757 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33758 * soft-fp/single.h (_FP_UNION_S): Likewise.
33759 * soft-fp/double.h (_FP_UNION_D): Likewise.
33760
5b8a4d4a
JM
337612012-02-29 Joseph Myers <joseph@codesourcery.com>
33762
0bab47b6
JM
33763 [BZ #13786]
33764 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33765 not include ../strcmp.S.
33766 [USE_AS_STRNCASECMP_L]: Likewise.
33767 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33768 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33769 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33770 (__strncasecmp_l_ia32): Define as alias to
33771 __strncasecmp_l_nonascii.
33772
0fcad3e2
JM
33773 [BZ #5794]
33774 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33775 * sysdeps/i386/fpu/libm-test-ulps: Update.
33776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33777
5b8a4d4a
JM
33778 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33780
8fdceb2e
JL
337812012-02-29 Jeff Law <law@redhat.com>
33782
33783 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33784 out of bounds read.
33785
1f393a11
MP
337862012-02-29 Marek Polacek <polacek@redhat.com>
33787
33788 [BZ #13706]
33789 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33790 * elf/Makefile: Add rules to run tst-unused-dep.out.
33791
8847f037
DM
337922012-02-28 David S. Miller <davem@davemloft.net>
33793
33794 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33795 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33796 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33797 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33798 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33799 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33800
169d7f11
JM
338012012-02-29 Joseph Myers <joseph@codesourcery.com>
33802
33803 * math/libm-test.inc (llround_test): Move one test from
33804 lround_test. Use TEST_f_L in moved test.
33805 (lround_test): Move misplaced test to llround_test. Add testcase
33806 from bug 2561.
33807
39adf059
UD
338082012-02-28 Ulrich Drepper <drepper@gmail.com>
33809
33810 * sysdeps/x86_64/fpu/e_expf.S: New file.
33811 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33812
71b5d1c5
SB
338132012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33814
33815 [BZ #13637]
33816 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33817 of remain_len that may cause incomplete multi-byte character and
33818 false match.
33819 * posix/bug-regex33.c: New file.
33820 * posix/Makefile (tests): Add bug-regex33.
33821
1f77f049
JM
338222012-02-28 Joseph Myers <joseph@codesourcery.com>
33823
33824 * manual/macros.texi: New file.
33825 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33826 * manual/libc.texinfo: Include macros.texi.
33827 * manual/creatute.texi: Likewise.
33828 * manual/install.texi: Likewise.
33829 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33830 @glibcadj{} in references to the GNU C Library.
33831 * manual/charset.texi: Likewise.
33832 * manual/conf.texi: Likewise.
33833 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33834 when not using those macros.
33835 * manual/creature.texi: Likewise.
33836 * manual/crypt.texi: Likewise.
33837 * manual/errno.texi: Likewise.
33838 * manual/filesys.texi: Likewise.
33839 * manual/header.texi: Likewise.
33840 * manual/install.texi: Likewise.
33841 * manual/intro.texi: Likewise.
33842 * manual/io.texi: Likewise.
33843 * manual/job.texi: Likewise.
33844 * manual/lang.texi: Likewise.
33845 * manual/libc.texiinfo: Likewise.
33846 * manual/llio.texi: Likewise.
33847 * manual/locale.texi: Likewise.
33848 * manual/maint.texi: Likewise.
33849 * manual/math.texi: Likewise.
33850 * manual/memory.texi: Likewise.
33851 * manual/message.texi: Likewise.
33852 * manual/nss.texi: Likewise.
33853 * manual/pattern.texi: Likewise.
33854 * manual/process.texi: Likewise.
33855 * manual/resource.texi: Likewise.
33856 * manual/search.texi: Likewise.
33857 * manual/setjmp.texi: Likewise.
33858 * manual/signal.texi: Likewise.
33859 * manual/socket.texi: Likewise.
33860 * manual/startup.texi: Likewise.
33861 * manual/stdio.texi: Likewise.
33862 * manual/string.texi: Likewise.
33863 * manual/sysinfo.texi: Likewise.
33864 * manual/syslog.texi: Likewise.
33865 * manual/terminal.texi: Likewise.
33866 * manual/time.texi: Likewise.
33867 * manual/users.texi: Likewise.
33868 * INSTALL: Regenerated.
33869 * NOTES: Regenerated.
d40c5d54 33870 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33871
450bf206
AS
338722012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33873
33874 * include/dirent.h: Include <dirstream.h> before
33875 <dirent/dirent.h>.
33876
741a235b
DM
338772012-02-28 David S. Miller <davem@davemloft.net>
33878
33879 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33880 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33881 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33882 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33883
d6b5aa58
DM
338842012-02-27 David S. Miller <davem@davemloft.net>
33885
1aff59a3
DM
33886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33888 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33889 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33890
d6b5aa58
DM
33891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33892 frame pointer instead of stack pointer relative arg slot.
33893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33894 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33895 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33896
433f48bf
CD
338972012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33898
33899 [BZ #3992]
33900 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33901
d674b76d
DM
339022012-02-27 David S. Miller <davem@davemloft.net>
33903
33904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33908 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33909 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33910 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33911 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33912
0e7727f7
JM
339132012-02-27 Joseph Myers <joseph@codesourcery.com>
33914
33915 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33916 later. Allow versions 5-9.
43be4ca2 33917 * configure: Regenerated.
0e7727f7
JM
33918 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33919 required minimum version and 4.6 as recommended version. Do not
33920 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33921 * INSTALL: Regenerated.
0e7727f7 33922
a78bc654
DM
339232012-02-27 David S. Miller <davem@davemloft.net>
33924
428d5830
DM
33925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33929 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33930 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33931 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33932 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33933
a78bc654
DM
33934 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33935 manipulate bits before adding and subtracting TWO112[sx].
33936 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33937
4579f81c
RM
339382012-02-27 Roland McGrath <roland@hack.frob.com>
33939
36c8acb4
RM
33940 [BZ #13775]
33941 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33942 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33943 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33944 being in POSIX, because they are in 1003.1-2008.
33945
84ad622b
RM
33946 * rt/tst-aio.c: Include <fcntl.h>.
33947 * rt/tst-aio7.c: Likewise.
33948 * rt/tst-aio64.c: Likewise.
33949
4579f81c
RM
33950 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33951
abd923db
JM
339522012-02-27 Joseph Myers <joseph@codesourcery.com>
33953
33954 * manual/install.texi (--with-headers): Describe headers as
33955 interface headers, not private headers.
33956 (Specific advice for GNU/Linux systems): Describe use of headers
33957 from "make headers_install", not private headers from older
33958 kernels.
43be4ca2 33959 * INSTALL: Regenerated.
abd923db
JM
33960 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33961 Change to 2.6.19.
33962 * sysdeps/unix/sysv/linux/configure: Regenerated.
33963
6664049b
JM
33964 * manual/llio.texi (fclean): Remove documentation.
33965
bb8b6697
JM
33966 * manual/Makefile (libc-texi-generated): New variable. Include
33967 version.texi.
33968 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33969 $(libc-texi-generated), not duplicated list of files.
33970 (version.texi, stamp-version): New rules.
33971 (realclean): Remove $(libc-texi-generated), not individual files
33972 from that list. Do not remove dir-add.texinfo.
33973 * manual/libc.texinfo: Comment out uses of edition numbers and
33974 references to printed manual. Remove last-updated dates.
33975 (EDITION): Comment out.
33976 (ISBN): Likewise.
33977 (VERSION, UPDATED): Remove.
33978 (version.texi): Include.
33979
12e5c3b9
AS
339802012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33981
33982 * sysdeps/posix/spawni.c: Include <signal.h>.
33983 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33984 * sysdeps/pthread/aio_fsync.c: Likewise.
33985
4efeffc1 339862012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 33987
ba63ba08
UD
33988 * conform/Makefile (tests): Run only when not cross-compiling and
33989 when fast-check is not defined.
33990
d94a4670
UD
33991 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33992 * conform/data/limits.h-data: Fixes for POSIX2008.
33993 * conform/run-conformtest.sh: Run all tests.
33994 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33995 headers.
33996 * include/bits/dlfcn.h: Likewise.
33997 * include/langinfo.h: Likewise.
33998 * include/monetary.h: Likewise.
33999 * include/sys/poll.h: Likewise.
34000
34001 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34002 for __USE_GNU.
34003 * posix/spawn.h: Define __need_sigset_t.
34004 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34005 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34006 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34007 to get sigevent_t only.
34008 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34009 only for __USE_GNU.
34010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34011 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34012 process_vm_writev only for __USE_GNU.
34013 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34014
34015 * conform/Makefile: For now ignore errors from run-conformtest.
34016 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34017 POSIX to avoid namespace pollution. Don't prepend headers.
34018 * conform/data/aio.h-data: Fixes for POSIX testing.
34019 * conform/data/fcntl.h-data: Likewise.
34020 * conform/data/glob.h-data: Likewise.
34021 * conform/data/grp.h-data: Likewise.
34022 * conform/data/pthread.h-data: Likewise.
34023 * conform/data/pwd.h-data: Likewise.
34024 * conform/data/signal.h-data: Likewise.
34025 * conform/data/spawn.h-data: Likewise.
34026 * conform/data/stdio.h-data: Likewise.
34027 * conform/data/stdlib.h-data: Likewise.
34028 * conform/data/stropts.h-data: Likewise.
34029 * conform/data/sys/mman.h-data: Likewise.
34030 * conform/data/sys/stat.h-data: Likewise.
34031 * conform/data/sys/types.h-data: Likewise.
34032 * conform/data/sys/wait.h-data: Likewise.
34033 * conform/data/time.h-data: Likewise.
34034 * conform/data/unistd.h-data: Likewise.
34035 * conform/data/utime.h-data: Likewise.
34036
34037 * io/sys/stat.h: fchmod was always in POSIX.
34038 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34039 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34040 * rt/aio.h: Define __need_timespec before including <time.h>.
34041 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34042 struct. Add forward declaration of pthread_attr_t and use it in
34043 sigevent.
34044 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34045 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34046 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34047 always remove CLK_TCK definition.
34048
c20105c3
AS
340492012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34050
34051 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34052
7a270350
UD
340532012-02-25 Ulrich Drepper <drepper@gmail.com>
34054
31341567
UD
34055 * conform/run-conformtest.sh: New file.
34056 * conform/Makefile: Run run-conformtest for tests.
34057 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34058 support.
34059
34060 * conform/data/uchar.h-data: New file.
34061 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34062 * conform/data/arpa/inet.h-data: Likewise.
34063 * conform/data/assert.h-data: Likewise.
34064 * conform/data/complex.h-data: Likewise.
34065 * conform/data/cpio.h-data: Likewise.
34066 * conform/data/ctype.h-data: Likewise.
34067 * conform/data/dirent.h-data: Likewise.
34068 * conform/data/dlfcn.h-data: Likewise.
34069 * conform/data/errno.h-data: Likewise.
34070 * conform/data/fcntl.h-data: Likewise.
34071 * conform/data/float.h-data: Likewise.
34072 * conform/data/fmtmsg.h-data: Likewise.
34073 * conform/data/fnmatch.h-data: Likewise.
34074 * conform/data/ftw.h-data: Likewise.
34075 * conform/data/glob.h-data: Likewise.
34076 * conform/data/grp.h-data: Likewise.
34077 * conform/data/iconv.h-data: Likewise.
34078 * conform/data/inttypes.h-data: Likewise.
34079 * conform/data/langinfo.h-data: Likewise.
34080 * conform/data/libgen.h-data: Likewise.
34081 * conform/data/limits.h-data: Likewise.
34082 * conform/data/locale.h-data: Likewise.
34083 * conform/data/math.h-data: Likewise.
34084 * conform/data/monetary.h-data: Likewise.
34085 * conform/data/mqueue.h-data: Likewise.
34086 * conform/data/ndbm.h-data: Likewise.
34087 * conform/data/net/if.h-data: Likewise.
34088 * conform/data/netdb.h-data: Likewise.
34089 * conform/data/netinet/in.h-data: Likewise.
34090 * conform/data/nl_types.h-data: Likewise.
34091 * conform/data/poll.h-data: Likewise.
34092 * conform/data/pthread.h-data: Likewise.
34093 * conform/data/pwd.h-data: Likewise.
34094 * conform/data/regex.h-data: Likewise.
34095 * conform/data/sched.h-data: Likewise.
34096 * conform/data/search.h-data: Likewise.
34097 * conform/data/semaphore.h-data: Likewise.
34098 * conform/data/setjmp.h-data: Likewise.
34099 * conform/data/signal.h-data: Likewise.
34100 * conform/data/spawn.h-data: Likewise.
34101 * conform/data/stdarg.h-data: Likewise.
34102 * conform/data/stdio.h-data: Likewise.
34103 * conform/data/stdlib.h-data: Likewise.
34104 * conform/data/string.h-data: Likewise.
34105 * conform/data/strings.h-data: Likewise.
34106 * conform/data/stropts.h-data: Likewise.
34107 * conform/data/sys/ipc.h-data: Likewise.
34108 * conform/data/sys/mman.h-data: Likewise.
34109 * conform/data/sys/msg.h-data: Likewise.
34110 * conform/data/sys/resource.h-data: Likewise.
34111 * conform/data/sys/select.h-data: Likewise.
34112 * conform/data/sys/sem.h-data: Likewise.
34113 * conform/data/sys/shm.h-data: Likewise.
34114 * conform/data/sys/socket.h-data: Likewise.
34115 * conform/data/sys/stat.h-data: Likewise.
34116 * conform/data/sys/statvfs.h-data: Likewise.
34117 * conform/data/sys/time.h-data: Likewise.
34118 * conform/data/sys/timeb.h-data: Likewise.
34119 * conform/data/sys/times.h-data: Likewise.
34120 * conform/data/sys/types.h-data: Likewise.
34121 * conform/data/sys/uio.h-data: Likewise.
34122 * conform/data/sys/un.h-data: Likewise.
34123 * conform/data/sys/utsname.h-data: Likewise.
34124 * conform/data/sys/wait.h-data: Likewise.
34125 * conform/data/syslog.h-data: Likewise.
34126 * conform/data/tar.h-data: Likewise.
34127 * conform/data/termios.h-data: Likewise.
34128 * conform/data/utime.h-data: Likewise.
34129 * conform/data/utmpx.h-data: Likewise.
34130 * conform/data/varargs.h-data: Likewise.
34131 * conform/data/wchar.h-data: Likewise.
34132 * conform/data/wctype.h-data: Likewise.
34133 * conform/data/wordexp.h-data: Likewise.
34134
34135 * include/stropts.h: New file.
34136 * include/uchar.h: New file.
34137 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34138 * include/assert.h: Likewise.
34139 * include/ctype.h: Likewise.
34140 * include/dirent.h: Likewise.
34141 * include/dlfcn.h: Likewise.
34142 * include/fcntl.h: Likewise.
34143 * include/fnmatch.h: Likewise.
34144 * include/glob.h: Likewise.
34145 * include/grp.h: Likewise.
34146 * include/libio.h: Likewise.
34147 * include/locale.h: Likewise.
34148 * include/math.h: Likewise.
34149 * include/net/if.h: Likewise.
34150 * include/netdb.h: Likewise.
34151 * include/netinet/in.h: Likewise.
34152 * include/pthread.h: Likewise.
34153 * include/pwd.h: Likewise.
34154 * include/regex.h: Likewise.
34155 * include/sched.h: Likewise.
34156 * include/search.h: Likewise.
34157 * include/setjmp.h: Likewise.
34158 * include/signal.h: Likewise.
34159 * include/stdio.h: Likewise.
34160 * include/stdlib.h: Likewise.
34161 * include/string.h: Likewise.
34162 * include/sys/cdefs.h: Likewise.
34163 * include/sys/mman.h: Likewise.
34164 * include/sys/msg.h: Likewise.
34165 * include/sys/resource.h: Likewise.
34166 * include/sys/select.h: Likewise.
34167 * include/sys/socket.h: Likewise.
34168 * include/sys/stat.h: Likewise.
34169 * include/sys/statvfs.h: Likewise.
34170 * include/sys/time.h: Likewise.
34171 * include/sys/times.h: Likewise.
34172 * include/sys/uio.h: Likewise.
34173 * include/sys/utsname.h: Likewise.
34174 * include/sys/wait.h: Likewise.
34175 * include/termios.h: Likewise.
34176 * include/time.h: Likewise.
34177 * include/ulimit.h: Likewise.
34178 * include/unistd.h: Likewise.
34179 * include/utime.h: Likewise.
34180 * include/wchar.h: Likewise.
34181 * include/wctype.h: Likewise.
34182 * include/wordexp.h: Likewise.
34183
34184 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34185
7a270350
UD
34186 * time/time.h: TIME_UTC must be a macro.
34187 Make timespec_get available for ISO C11 only as well.
34188
7724defc
UD
341892012-02-24 Ulrich Drepper <drepper@gmail.com>
34190
34191 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34192 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34193
6b1d1d46
JM
341942012-02-24 Joseph Myers <joseph@codesourcery.com>
34195
34196 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34197
0f8bbd69
JM
341982012-02-24 Joseph Myers <joseph@codesourcery.com>
34199
34200 * manual/texinfo.tex: Update to version 2012-01-19.16.
34201
66ab80bc
JM
342022012-02-24 Joseph Myers <joseph@codesourcery.com>
34203
34204 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34205
74981cc5
RM
342062012-02-24 Roland McGrath <roland@hack.frob.com>
34207
ee968201
RM
34208 [BZ #13738]
34209 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34210 * manual/fdl-1.3.texi: New file.
34211 * manual/fdl-1.1.texi: File removed.
34212
74981cc5
RM
34213 [BZ #13738]
34214 * manual/libc.texinfo (FDL_VERSION): New @set.
34215 Use it for mention of FDL in cover text.
34216 (Documentation License): Use it in @include file name.
34217
7bb764bc
JM
342182012-02-22 Joseph Myers <joseph@codesourcery.com>
34219 Roland McGrath <roland@hack.frob.com>
34220
34221 [BZ #5461]
34222 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34223 not LONG_LONG_MAX and LONG_LONG_MIN.
34224 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34225 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34226 name.
34227 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34228
6cbeae47
JM
342292012-02-22 Joseph Myers <joseph@codesourcery.com>
34230
34231 [BZ #2547]
34232 [BZ #11365]
34233 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34234 manipulate bits before adding and subtracting TWO23[sx].
34235 * math/libm-test.inc (nearbyint_test): Add more tests.
34236
fe45ce09
JM
342372012-02-22 Joseph Myers <joseph@codesourcery.com>
34238
34239 [BZ #2548]
34240 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34241 bits before adding and subtracting TWO23[sx].
34242 * math/libm-test.inc (rint_test): Add more tests.
34243 (rint_test_tonearest): Likewise.
34244 (rint_test_towardzero): Likewise.
34245 (rint_test_downward): Likewise.
34246 (rint_test_upward: Likewise.
34247
ff3b3d82
JM
342482012-02-22 Joseph Myers <joseph@codesourcery.com>
34249
34250 [BZ #10110]
34251 * include/stdc-predef.h: New file. Extracted from features.h.
34252 * include/features.h: Include stdc-predef.h.
34253 * Makefile (headers): Add stdc-predef.h.
34254 * CONFORMANCE (Compiler limitations): Update.
34255
ef0aab35
JM
342562012-02-22 Joseph Myers <joseph@codesourcery.com>
34257
34258 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34259
58639409
DM
342602012-02-21 David S. Miller <davem@davemloft.net>
34261
34262 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34263 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34264
c0e70b25
DM
342652012-02-20 David S. Miller <davem@davemloft.net>
34266
34267 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34268 using a normal save/restore sequence, rather than allocating a
34269 dummy stack frame just to store a frame pointer and restore.
34270 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34271
fb06851d
JM
342722012-02-21 Joseph Myers <joseph@codesourcery.com>
34273
34274 * manual/install.texi: Fix stray word in line-wrapped comment.
34275
7a8b71c3
DM
342762012-02-20 David S. Miller <davem@davemloft.net>
34277
d510c123
DM
34278 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34279 both binutils and gcc support GOTDATA.
34280
0722d7c2
DM
34281 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34282 "rd %pc" in the PIC register setup sequences.
34283
3d2b3019
DM
34284 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34285 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34286 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34287 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34288 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34290 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34291 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34293 (SYSCALL_ERROR_HANDLER): Likewise.
34294 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34295 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34297 (SYSCALL_ERROR_HANDLER): Likewise.
34298
c80098a9
DM
34299 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34300 (HAVE_GCC_GOTDATA): New.
34301 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34302 relocation support in both binutils and gcc.
34303 * sysdeps/sparc/elf/configure: Regenerate.
34304
3a2545a0
DM
34305 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34306 * sysdeps/sparc/sparc32/elf/configure: Delete.
34307 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34308 * sysdeps/sparc/sparc64/elf/configure: Delete.
34309 * sysdeps/sparc/elf/configure.in: New file.
34310 * sysdeps/sparc/elf/configure: Generate.
34311
7a8b71c3
DM
34312 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34313 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34314 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34315 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34316 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34317
f1e86fca
JM
343182012-02-21 Joseph Myers <joseph@codesourcery.com>
34319
34320 * manual/install.texi: Do not mention specific glibc version
34321 numbers.
34322 * manual/libc.texinfo (VERSION, UPDATED): Update.
34323 (@copying): Use @copyright{} and range of years.
34324
0e7dfaef
JM
343252012-02-21 Joseph Myers <joseph@codesourcery.com>
34326
34327 [BZ #13695]
34328 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34329 [crti.S not in sysdirs] (generated): Do not append.
34330 [crti.S not in sysdirs] (omit-deps): Likewise.
34331 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34332 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34333 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34334 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34335 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34336 Likewise.
34337 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34338 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34339 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34340 * csu/defs.awk: Remove file.
34341 * sysdeps/generic/initfini.c: Likewise.
34342 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34343 variable.
34344 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34345 Likewise.
34346
599af3ca
JM
343472012-02-20 Joseph Myers <joseph@codesourcery.com>
34348
34349 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34350 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34351 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34352 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34353 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34354 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34355 <bits/epoll.h>.
34356 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34357 (__EPOLL_PACKED): Define to empty if not defined by
34358 <bits/epoll.h>.
34359 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34361 bits/epoll.h.
34362
0e499750
JM
343632012-02-20 Joseph Myers <joseph@codesourcery.com>
34364
34365 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34366 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34367 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34368 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34369 <bits/timerfd.h>.
34370 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34372 bits/timerfd.h.
34373
5ad91f6e
JM
343742012-02-20 Joseph Myers <joseph@codesourcery.com>
34375
34376 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34377 in C locale.
34378 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34379 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34382
06b99b02
AJ
343832012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34384
34385 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34386 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34387
7638c0fd
AS
343882012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34389
34390 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34391 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34392 defined.
34393 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34394 Likewise.
34395 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34396 entry for 2.16.
34397
92221550
AJ
343982012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34399
34400 * math/w_acos.c: Use non-signaling floating-point comparisons.
34401 * math/w_acosf.c: Likewise.
34402 * math/w_acosh.c: Likewise.
34403 * math/w_acoshf.c: Likewise.
34404 * math/w_acoshl.c: Likewise.
34405 * math/w_acosl.c: Likewise.
34406 * math/w_asin.c: Likewise.
34407 * math/w_asinf.c: Likewise.
34408 * math/w_asinl.c: Likewise.
34409 * math/w_atanh.c: Likewise.
34410 * math/w_atanhf.c: Likewise.
34411 * math/w_atanhl.c: Likewise.
34412 * math/w_exp2.c: Likewise.
34413 * math/w_exp2f.c: Likewise.
34414 * math/w_exp2l.c: Likewise.
34415 * math/w_j0.c: Likewise.
34416 * math/w_j0f.c: Likewise.
34417 * math/w_j0l.c: Likewise.
34418 * math/w_j1.c: Likewise.
34419 * math/w_j1f.c: Likewise.
34420 * math/w_j1l.c: Likewise.
34421 * math/w_jn.c: Likewise.
34422 * math/w_jnf.c: Likewise.
34423 * math/w_log.c: Likewise.
34424 * math/w_log10.c: Likewise.
34425 * math/w_log10f.c: Likewise.
34426 * math/w_log10l.c: Likewise.
34427 * math/w_log2.c: Likewise.
34428 * math/w_log2f.c: Likewise.
34429 * math/w_log2l.c: Likewise.
34430 * math/w_logf.c: Likewise.
34431 * math/w_logl.c: Likewise.
34432 * math/w_sqrt.c: Likewise.
34433 * math/w_sqrtf.c: Likewise.
34434 * math/w_sqrtl.c: Likewise.
34435 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34436 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34437 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34438 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34439 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34440
ebaf36eb
JM
344412012-02-19 Joseph Myers <joseph@codesourcery.com>
34442
34443 [BZ #9739]
34444 * manual/string.texi (strnlen): Use correct parameter name in
34445 equivalent expression.
34446
71c254a6
JM
344472012-02-19 Joseph Myers <joseph@codesourcery.com>
34448
34449 [BZ #11174]
34450 * manual/users.texi (seteuid): Consistently use neweuid for
34451 argument name.
34452
16d2c631
JM
344532012-02-19 Joseph Myers <joseph@codesourcery.com>
34454
34455 [BZ #13704]
34456 * manual/nss.texi (Services in the NSS configuration): Correct
34457 list of services in example configuration file.
34458
cd837b09
NB
344592012-02-19 Nick Bowler <nbowler@draconx.ca>
34460
34461 [BZ #11322]
34462 * manual/arith.texi: Remove statements about negative zero
34463 behaving identically to zero.
34464
02c4bbad
JM
344652012-02-18 Joseph Myers <joseph@codesourcery.com>
34466
34467 [BZ #5993]
34468 * manual/install.texi: Do not document upgrading from libc5.
34469
366842e7
JM
344702012-02-18 Joseph Myers <joseph@codesourcery.com>
34471
34472 [BZ #4596]
34473 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34474
dd54084d
DM
344752012-02-18 David S. Miller <davem@davemloft.net>
34476
34477 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34478 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34479 %o7 across the call.
34480 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34481 instead.
34482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34483 SETUP_PIC_REG_LEAF.
34484 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34485 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34486 * sysdeps/sparc/crtn.S: Likewise.
34487
2bcc53a3
UD
344882012-02-17 Ulrich Drepper <drepper@gmail.com>
34489
34490 * aout/Makefile: Remove.
34491
09c093b5
RK
344922012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34493
34494 [BZ #13058]
34495 * manual/examples/argp-ex1.c (main): Format definition in GNU
34496 style.
34497 * manual/examples/argp-ex2.c (main): Likewise.
34498 * manual/examples/argp-ex3.c (main): Likewise.
34499 * manual/examples/argp-ex4.c (main): Likewise.
34500 * manual/examples/longopt.c (main): Use new-style prototype
34501 definition.
34502 * manual/examples/strncat.c (main): Specify return type and use
34503 (void) for arguments.
34504 * manual/examples/subopt.c (main): Use char **argv argument.
34505
2ee633a2
JM
345062012-02-17 Joseph Myers <joseph@codesourcery.com>
34507
34508 [BZ #5077]
34509 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34510 rounding modes.
34511
0520adde
FB
345122012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34513
34514 [BZ #6907]
34515 * manual/string.texi (strchr): Change when strchrnul is
34516 recommended.
34517
3f4081cd
DGM
345182012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34519
34520 [BZ #174]
34521 * manual/locale.texi (setlocale): Document LOCPATH.
34522
d1b10e78
JM
345232012-02-17 Joseph Myers <joseph@codesourcery.com>
34524
34525 [BZ #10210]
34526 * manual/process.texi (execle): Move @dots{} before last argument.
34527
79c6869c
PB
345282012-02-17 Paul Bolle <pebolle@tiscali.nl>
34529
34530 [BZ #12047]
34531 * manual/charset.texi (Generic Charset Conversion): Fix typo
34532 (LC_TYPE -> LC_CTYPE).
34533
cc6e48bc
NB
345342012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34535
34536 [BZ #5805]
34537 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34538 (scalbnf): Likewise.
34539 (scalbnl): Likewise.
34540 (scalbln): Likewise.
34541 (scalblnf): Likewise.
34542 (scalblnl): Likewise.
34543 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34544 (vwarnx): Likewise.
34545 (verr): Likewise.
34546 (verrx): Likewise.
34547 * manual/filesys.texi (telldir): Use braces around return type.
34548 * manual/llio.texi (mmap): Add space after comma.
34549 (mmap64): Likewise.
34550 * manual/math.texi (jn): Use @var{} on parameter names.
34551 (jnf): Likewise.
34552 (jnl): Likewise.
34553 (yn): Likewise.
34554 (ynf): Likewise.
34555 (ynl): Likewise.
34556 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34557 line.
34558 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34559 "...".
34560 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34561 (sched_get_priority_max): Likewise.
34562 * manual/signal.texi (sigvec): Add space after comma.
34563 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34564 names.
34565 (if_indextoname): Likewise.
34566 (if_freenameindex): Likewise.
34567 (sendto): Use ',' instead of '.' in prototype.
34568 * manual/startup.texi (syscall): Use @dots{} instead of literal
34569 "...".
34570 * manual/stdio.texi (__fpending): Separate initial words of
34571 paragraph from @deftypefun line.
34572 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34573 "...".
34574 (vsyslog): Use @var{} on parameter names.
34575 * manual/terminal.texi (stty): Use @var{} on parameter names.
34576 * manual/users.texi (getutmp): Use @var{} on parameter names.
34577 (getutmpx): Likewise.
34578
5b23062f
JM
345792012-02-17 Joseph Myers <joseph@codesourcery.com>
34580
34581 [BZ #6884]
34582 * manual/stdio.texi (fopen): Fix typos in description of
34583 ",ccs=STRING".
34584
8dee4833
AJ
345852012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34586
34587 [BZ #4026]
34588 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34589 get clock_id definition.
34590
9078ce93
TS
345912012-02-17 Thomas Schwinge <thomas@schwinge.name>
34592
34593 [BZ #4822]
34594 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34595 (madvise): Cast every argument to void on its own.
34596
3835c55f
JM
345972012-02-17 Joseph Myers <joseph@codesourcery.com>
34598
34599 [BZ #9902]
34600 * manual/startup.texi (Exit Status): Fix typo.
34601
35c47e37
JM
346022012-02-17 Joseph Myers <joseph@codesourcery.com>
34603
34604 [BZ #10140]
34605 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34606 * manual/examples/argp-ex2.c: Likewise.
34607 * manual/examples/argp-ex3.c: Likewise.
34608
e3b69ca7
RH
346092012-02-16 Richard Henderson <rth@redhat.com>
34610
34611 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34612 * sysdeps/s390/s390-32/initfini.c: Remove.
34613 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34614 * sysdeps/s390/s390-64/initfini.c: Remove.
34615
df83af67
KK
346162012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34617
34618 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34619 compiler output for sysdeps/generic/initfini.c.
34620 * sysdeps/sh/elf/initfini.c: Remove file.
34621
f63f3380
DM
346222012-02-16 David S. Miller <davem@davemloft.net>
34623
fb59b3a4
DM
34624 [BZ #11494]
34625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34626
f63f3380
DM
34627 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34628 * sysdeps/sparc/crti.S: New file.
34629 * sysdeps/sparc/crtn.S: New file.
34630 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34631 * sysdeps/sparc/sparc64/Makefile: Likewise.
34632
df6a4a4a
MF
346332012-02-15 Mike Frysinger <vapier@gentoo.org>
34634
6dd8f3dc 34635 [BZ #3335]
df6a4a4a
MF
34636 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34637
1cac7236
RM
346382012-02-15 Roland McGrath <roland@hack.frob.com>
34639
d2c736f8
RM
34640 [BZ #4822]
34641 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34642
1cac7236
RM
34643 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34644 (write, read, close): Likewise.
34645 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34646
8e475601
JM
346472012-02-15 Joseph Myers <joseph@codesourcery.com>
34648
34649 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34650 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34651 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34652 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34653 <bits/signalfd.h>.
34654 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34656 bits/signalfd.h.
34657
ed656b40
MP
346582012-02-14 Marek Polacek <polacek@redhat.com>
34659
34660 * sysdeps/x86_64/crti.S: New file.
34661 * sysdeps/x86_64/crtn.S: New file.
34662 * sysdeps/x86_64/elf/initfini.c: Remove file.
34663
2a979d3a
JM
346642012-02-13 Joseph Myers <joseph@codesourcery.com>
34665
34666 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34667 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34668 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34669 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34670 <bits/inotify.h>.
34671 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34673 bits/inotify.h.
34674
2a418ac3
JM
346752012-02-13 Joseph Myers <joseph@codesourcery.com>
34676
34677 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34678 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34679 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34680 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34681 <bits/eventfd.h>.
34682 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34684 bits/eventfd.h.
34685
fb779be7
TS
346862012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34687
e19e83c5
RM
34688 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34689 __feraiseexcept instead of feraiseexcept.
7c35ffed 34690
fb779be7
TS
34691 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34692 nanosleep invocations.
34693 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34694 strings, and add error checking for a nanosleep invocations.
34695
59ba27a6
PE
346962012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34697
34698 Replace FSF snail mail address with URLs, as per GNU coding standards.
34699 Most of the snail mail addresses were wrong anyway, and omitting
34700 them makes the source code easier to maintain. Almost all of the
34701 changes are to license notices and to locale LC_IDENTIFICATION
34702 addresses, except for this one:
34703 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34704 not its snail mail address.
34705
57b957eb
RH
347062012-02-09 Richard Henderson <rth@twiddle.net>
34707
af850b1c
RH
34708 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34709 of kernel-features.h.
34710
57b957eb
RH
34711 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34712
6b73181a
MP
347132012-02-08 Marek Polacek <polacek@redhat.com>
34714
34715 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34716 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34717 * sysdeps/gnu/_G_config.h: Likewise.
34718 * sysdeps/generic/_G_config.h: Likewise.
34719
26ecc33a
AS
347202012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34721
6c6dbc63
AS
34722 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34723 tests.
34724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34725
e216c012
AS
34726 * sysdeps/powerpc/powerpc32/crti.S: New file.
34727 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34728 * sysdeps/powerpc/powerpc64/crti.S: New file.
34729 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34730
26ecc33a
AS
34731 * Makeconfig (have-initfini): Don't set.
34732 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34733 * configure.in (nopic_initfini): Don't substitute.
34734 * config.h.in (HAVE_INITFINI): Don't #undef.
34735 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34736 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34737
3add8e13
JM
347382012-02-08 Joseph Myers <joseph@codesourcery.com>
34739
34740 Support crti.S and crtn.S provided directly by architectures.
34741 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34742 [crti.S in sysdirs] (omit-deps): Likewise.
34743 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34744 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34745 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34746 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34747 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34748 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34749 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34750 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34751 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34752 compiler output for sysdeps/generic/initfini.c.
34753 * sysdeps/i386/elf/Makefile: Remove file.
34754 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34755
a22f12b4
MP
347562012-02-07 Marek Polacek <polacek@redhat.com>
34757
34758 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34759 * sysdeps/gnu/_G_config.h: Likewise.
34760 * sysdeps/mach/hurd/_G_config.h: Likewise.
34761
148cf100
MP
347622012-02-07 Marek Polacek <polacek@redhat.com>
34763
34764 * math/Makefile (tests): Add tst-CMPLX2.
34765 * math/tst-CMPLX2.c: New file.
34766
cfdc0dd7
AS
347672012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34768
84ba42c4
AS
34769 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34770
cfdc0dd7
AS
34771 * math/libm-test.inc (jn_test): Add missing L suffix.
34772
622c86f4
MP
347732012-02-06 Marek Polacek <polacek@redhat.com>
34774
34775 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34776 * sysdeps/i386/fpu/e_powf.S: Likewise.
34777 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34778 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34779 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34780 * sysdeps/i386/fpu/e_pow.S: Likewise.
34781 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34782 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34783 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34784 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34785 * sysdeps/i386/fpu/e_log2.S: Likewise.
34786 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34787 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34788 * sysdeps/i386/fpu/e_powl.S: Likewise.
34789 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34790 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34791 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34792 * sysdeps/i386/fpu/e_logl.S: Likewise.
34793 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34794 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34795 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34796 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34797 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34798 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34799 * sysdeps/i386/fpu/e_log.S: Likewise.
34800 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34801 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34802 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34803 * sysdeps/i386/fpu/e_logf.S: Likewise.
34804 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34805 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34806 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34807 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34808 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34809 * sysdeps/i386/fpu/e_log10.S: Likewise.
34810 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34811 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34812 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34813 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34814 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34815 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34816 * sysdeps/i386/asm-syntax.h: Likewise.
34817 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34818 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34819 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34820 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34821 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34822 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34823 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34824 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34825 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34826 * sysdeps/powerpc/sysdep.h: Likewise.
34827 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34828 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34829
d4a54ac6
JM
348302012-02-06 Joseph Myers <joseph@codesourcery.com>
34831
34832 [BZ #411]
34833 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34834
314054ea
JM
348352012-02-06 Joseph Myers <joseph@codesourcery.com>
34836
34837 * sysdeps/i386/sysdep.h: Include <features.h>.
34838 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34839 version.
34840
d8e0ca50
JM
348412012-02-05 Joseph Myers <joseph@codesourcery.com>
34842
34843 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34844 Define.
34845 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34846 LOAD_PIC_REG_STR.
34847
b1da7dd9
JM
348482012-02-03 Joseph Myers <joseph@codesourcery.com>
34849
34850 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34851 (SETUP_PIC_REG): Use GET_PC_THUNK.
34852 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34853 macro.
34854
9a1d9254
JM
348552012-02-03 Joseph Myers <joseph@codesourcery.com>
34856
34857 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34858 for non-PIC compilation.
34859 (SETUP_PIC_REG): Add .p2align directive.
34860 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34861 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34862 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34863 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34864 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34865 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34866 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34867 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34868 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34869 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34870 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34871 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34872 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34873 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34874 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34875 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34876 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34877 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34878 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34879 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34880 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34881 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34882 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34883 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34884 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34885 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34886 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34887 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34888 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34889 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34890 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34891 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34892 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34893 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34894 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34895 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34896 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34897 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34898 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34899 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34900 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34901
65dc3b75
JM
349022012-02-03 Joseph Myers <joseph@codesourcery.com>
34903
34904 * math/tst-CMPLX.c: Include <stdio.h>.
34905
d55bf177
JM
349062012-01-31 Joseph Myers <joseph@codesourcery.com>
34907
34908 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34909 float.
34910 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34911 * sysdeps/sparc/bits/mathdef.h: Likewise.
34912
69db4f8f
MP
349132012-01-31 Marek Polacek <polacek@redhat.com>
34914
34915 * libio/libio.h: Don't define _PARAMS.
34916 * locale/programs/config.h: Don't define PARAMS.
34917 * stdlib/strtol_l.c: Likewise.
34918 (__strtol_l): Remove PARAMS from the prototype.
34919
41b81892
UD
349202012-01-31 Ulrich Drepper <drepper@gmail.com>
34921
3b49edc0
UD
34922 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34923 names. Just use the correct names. Remove unnecessary wrapper
34924 functions.
34925 * malloc/arena.c: Likewise.
34926 * malloc/hooks.c: Likewise.
34927
41b81892
UD
34928 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34929 ARENA_TEST says not to. Simplify test for creation of a new arena.
34930 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34931
27a25b6e
UD
349322012-01-30 Ulrich Drepper <drepper@gmail.com>
34933
34934 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34935 into tail calls.
34936 (update_get_addr): New function.
34937 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34938 GET_ADDR_MODULE parameter.
34939
c8a89e7d
JM
349402012-01-30 Joseph Myers <joseph@codesourcery.com>
34941
34942 * crypt/cert.c: Remove __STDC__ conditionals.
34943 * crypt/crypt-entry.c: Likewise.
34944 * crypt/crypt_util.c: Likewise.
34945 * libio/filedoalloc.c: Likewise.
34946 * libio/fileops.c: Likewise.
34947 * libio/genops.c: Likewise.
34948 * libio/iofclose.c: Likewise.
34949 * libio/iofdopen.c: Likewise.
34950 * libio/iofopen.c: Likewise.
34951 * libio/iofopen64.c: Likewise.
34952 * libio/iogetdelim.c: Likewise.
34953 * libio/iopopen.c: Likewise.
34954 * libio/obprintf.c: Likewise.
34955 * libio/oldfileops.c: Likewise.
34956 * libio/oldiofclose.c: Likewise.
34957 * libio/oldiofdopen.c: Likewise.
34958 * libio/oldiofopen.c: Likewise.
34959 * libio/oldiopopen.c: Likewise.
34960 * libio/wfiledoalloc.c: Likewise.
34961 * libio/wgenops.c: Likewise.
34962 * locale/programs/xmalloc.c: Likewise.
34963 * misc/syslog.c: Likewise.
34964 * stdio-common/xbug.c: Likewise.
34965 * string/memchr.c: Likewise.
34966 * string/memcmp.c: Likewise.
34967 * string/memrchr.c: Likewise.
34968 * string/rawmemchr.c: Likewise.
34969 * sysdeps/posix/getcwd.c: Likewise.
34970 * time/strftime_l.c: Likewise.
34971
3b100462
JM
349722012-01-30 Joseph Myers <joseph@codesourcery.com>
34973
34974 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
34975 * config.make.in (config-cflags-sse2avx): Define.
34976 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34977 Fix typo.
34978
607998af
CM
349792012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34980
34981 * scripts/config.guess: Update from upstream config git repository.
34982 * scripts/config.sub: Likewise.
34983
3601428f
CM
349842012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34985
3ac8b282
CM
34986 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34987 (EM_NUM): Update.
34988 (R_TILEPRO_*, R_TILEGX_*): New macros.
34989
e034841e
CM
34990 * scripts/firstversions.awk: Fix bug in version range handling.
34991
540d7568
CM
34992 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34993
3601428f
CM
34994 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34995
463de862
CM
34996 * include/sys/epoll.h: New file.
34997 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34998 libc_hidden_def.
34999
73139a76
UD
350002012-01-28 Ulrich Drepper <drepper@gmail.com>
35001
96bc5b45
UD
35002 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35003 Avoid unnecessary __WORDSIZE == 64 test.
35004 (fmaxf): Use VEX format if possible.
35005 (fmax): Likewise.
35006 (fminf): Likewise.
35007 (fmin): Likewise.
35008
56f6f6a2
UD
35009 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35010 * math/math_private.h: Remove libc_fegetround* and
35011 libc_fesetround*.
35012 * sysdeps/i386/configure.in: Check for -msse2avx.
35013 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35014 also if SSE2AVX is defined.
35015 Remove libc_fegetround* and libc_fesetround*.
35016 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35017 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35018 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35019 of HAS_YMM_USABLE.
35020 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35021 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35022 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35023 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35024 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35025
73139a76
UD
35026 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35027
d73f93a4
AZ
350282012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35029
35030 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35031 size is not set.
35032 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35033
6ee65ed6
UD
350342012-01-27 Ulrich Drepper <drepper@gmail.com>
35035
35036 [BZ #13618]
35037 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35038 relocation.
35039 * Makeconfig (libm): Define.
35040 * elf/Makefile: Add rules to build and run tst-relsort1.
35041 * elf/tst-relsort1.c: New file.
35042 * elf/tst-relsort1mod1.c: New file.
35043 * elf/tst-relsort1mod2.c: New file.
35044
8db21882
JM
350452012-01-27 Joseph Myers <joseph@codesourcery.com>
35046
35047 * math/s_ldexp.c: Remove __STDC__ conditionals.
35048 * math/s_ldexpf.c: Likewise.
35049 * math/s_ldexpl.c: Likewise.
35050 * math/s_nextafter.c: Likewise.
35051 * math/s_nexttowardf.c: Likewise.
35052 * math/s_significand.c: Likewise.
35053 * math/s_significandf.c: Likewise.
35054 * math/s_significandl.c: Likewise.
35055 * math/w_jnl.c: Likewise.
35056 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35057 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35058 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35059 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35060 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35061 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35062 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35063 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35064 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35065 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35066 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35067 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35068 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35069 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35070 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35071 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35072 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35073 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35075 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35076 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35077 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35078 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35080 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35081 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35082 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35083 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35084 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35085 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35086 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35087 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35088 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35089 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35090 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35091 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35092 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35093 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35094 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35095 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35096 * sysdeps/ieee754/k_standard.c: Likewise.
35097 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35098 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35099 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35100 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35101 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35102 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35104 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35106 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35114 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35115 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35118 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35124 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35125 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35126 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35127 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35128 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35129 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35133 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35134 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35137 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35140 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35141 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35153 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35154 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35156 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35158 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35159 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35163 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35168 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35171 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35172 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35173 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35176 * sysdeps/ieee754/s_matherr.c: Likewise.
35177 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35178 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35179 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35181
965a54a4
JM
351822012-01-26 Joseph Myers <joseph@codesourcery.com>
35183
35184 * crypt/md5.h: Remove __STDC__ conditionals.
35185 * libio/libioP.h: Likewise.
35186 * locale/programs/config.h: Likewise.
35187 * sysdeps/generic/sysdep.h: Likewise.
35188 * sysdeps/i386/asm-syntax.h: Likewise.
35189 * sysdeps/s390/asm-syntax.h: Likewise.
35190 * sysdeps/unix/sysdep.h: Likewise.
35191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35193
7071ad79
JM
351942012-01-26 Joseph Myers <joseph@codesourcery.com>
35195
35196 * libio/libio.h: Remove __STDC__ conditionals.
35197 * malloc/obstack.h: Likewise.
35198 * math/complex.h: Likewise.
35199 * math/math.h: Likewise.
35200 * sysdeps/generic/_G_config.h: Likewise.
35201 * sysdeps/gnu/_G_config.h: Likewise.
35202 * sysdeps/mach/hurd/_G_config.h: Likewise.
35203 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35204 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35205 * sysdeps/sparc/bits/mathdef.h: Likewise.
35206
afc5ed09
UD
352072012-01-26 Ulrich Drepper <drepper@gmail.com>
35208
35209 [BZ #13583]
35210 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35211 Clean up HAS_* macros.
afc5ed09 35212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35213 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35214 possible.
35215 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35216 HAS_AVX.
35217 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35218 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35219 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35220 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35221 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35222
bdb6de1d
JM
352232012-01-25 Joseph Myers <joseph@codesourcery.com>
35224
35225 * elf/tst-unique3.cc (gets): Remove declaration.
35226 * elf/tst-unique3lib.cc (gets): Likewise.
35227 * elf/tst-unique3lib2.cc (gets): Likewise.
35228 * elf/tst-unique4.cc (gets): Likewise.
35229
b15549e6
UD
352302012-01-24 Ulrich Drepper <drepper@gmail.com>
35231
35232 * include/stdio.h: Add C++ protection. Add gets declarations and
35233 definitions.
35234 * debug/tst-chk1.c: Don't declare gets here.
35235 * stdio-common/tst-gets.c: Likewise.
35236
a037381f
JM
352372012-01-24 Joseph Myers <joseph@codesourcery.com>
35238
35239 * posix/glob: Remove directory.
35240
f1d4aa75
JM
352412012-01-24 Joseph Myers <joseph@codesourcery.com>
35242
35243 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35244
81c0c964
PT
352452012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35246
35247 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35248 of the non-standard EPFNOSUPPORT.
35249
0ea698ae
ST
352502011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35251
35252 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35253 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35254 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35255
d220b117
UD
352562012-01-21 Ulrich Drepper <drepper@gmail.com>
35257
35258 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35259
3e1aa84e
UD
352602012-01-20 Ulrich Drepper <drepper@gmail.com>
35261
35262 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35263 transient errors.
35264 * nscd/grpcache.c (cache_addgr): Likewise.
35265 * nscd/hstcache.c (cache_addhst): Likewise.
35266 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35267 * nscd/pwdcache.c (cache_addpw): Likewise.
35268 * nscd/servicescache.c (cache_addserv): Likewise.
35269
400aa020
UD
352702012-01-16 Ulrich Drepper <drepper@gmail.com>
35271
d77e7869
UD
35272 * malloc/malloc.c: Various cleanups.
35273 * malloc/hooks.c: Likewise.
35274
400aa020
UD
35275 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35276 * stdlib/bug-fmtmsg1.c: New file.
35277
35278 * stdlib/fmtmsg.c (init): Add missing unlock.
35279 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35280
e0a309cf
MP
352812012-01-12 Marek Polacek <polacek@redhat.com>
35282
35283 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35284 and _GNU_SOURCE.
35285
929d11c7
WS
352862012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35287
35288 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35289 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35290 macro to ensure uniqueness of label name.
35291 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35292 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35293
41d0e869
UD
352942012-01-11 Ulrich Drepper <drepper@gmail.com>
35295
0cc5ed3b
UD
35296 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35297
41d0e869
UD
35298 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35299 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35300 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35302
a47a831a
UD
353032012-01-10 Ulrich Drepper <drepper@gmail.com>
35304
daa891c0
UD
35305 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35306
35307 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35308 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35309 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35310
e58ef0f2
UD
35311 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35312
a47a831a 35313 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35314 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35315 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35317
35318 * math/bits/math-finite.h: Add ldexp support.
35319
a0bfc9c7
MP
353202012-01-10 Marek Polacek <polacek@redhat.com>
35321
35322 * locale/programs/localedef.h (show_archive_content): Add noreturn
35323 attribute.
35324
d6e97a1d
UD
353252012-01-09 Ulrich Drepper <drepper@gmail.com>
35326
35327 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35328
d5835c26
UD
353292012-01-08 Ulrich Drepper <drepper@gmail.com>
35330
e5f484c6
UD
35331 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35332
d5835c26
UD
35333 * io/Makefile (headers): Add bits/poll2.h.
35334
d1f741e9
WS
353352011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35336
35337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35338 typo #include statement.
35339
ec09c1c4
UD
353402012-01-08 Ulrich Drepper <drepper@gmail.com>
35341
35342 * include/sys/cdefs.h: Define __attribute_alloc_size.
35343 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35344 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35345 * elf/pldd.c: Likewise.
35346 * iconv/iconv_charmap.c: Likewise.
35347 * iconv/iconvconfig.c: Likewise.
35348 * iconv/strtab.c: Likewise.
35349 * locale/programs/locale.c: Likewise.
35350 * locale/programs/localedef.h: Likewise.
35351 * locale/programs/simple-hash.c: Likewise.
35352 * nscd/nscd.h: Likewise.
35353 * nss/makedb.c: Likewise.
35354 * sysdeps/generic/ldconfig.h: Likewise.
35355 * locale/programs/localedef.c: Remove xmalloc prototype.
35356 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35357
20b38e03
PP
353582012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35359
35360 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35361 appropriate.
35362
a0da5fe1
UD
353632012-01-08 Ulrich Drepper <drepper@gmail.com>
35364
1d5a644a 35365 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35366 * math/tst-CMPLX.c: New file.
1d5a644a 35367
8784a6db
UD
35368 * math/complex.h (CMPLXL): Fix typo.
35369
d9a216c0
UD
35370 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35371 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35372 GLIBC_2.16.
35373 * debug/tst-chk1.c: Add poll and ppoll tests.
35374 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35375 * include/sys/poll.h: Add hidden proto for ppoll.
35376 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35377 * sysdeps/mach/hurd/ppoll.c: Likewise.
35378 * io/ppoll.c: Likewise.
35379 * debug/poll_chk.c: New file.
35380 * debug/ppoll_chk.c: New file.
35381 * include/bits/poll2.h: New file.
35382 * io/bits/poll2.h: New file.
35383
ac097f5c
UD
35384 [BZ #1350]
35385 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35386
2119dcfa
UD
35387 * configure.in: static is always set to yes. Remove.
35388 * config.make.in: Don't set build-static.
35389 * Makeconfig: Remove use of build-static.
35390 * dlfcn/Makefile: Likewise.
35391 * elf/Makefile: Likewise.
35392 * math/Makefile: Likewise.
35393 * misc/Makefile: Likewise.
35394 * nptl/Makefile: Likewise.
35395 * sysdeps/mach/hurd/Makefile: Likewise.
35396
121766a9
UD
35397 * configure.in: PWD_P is not used anymore.
35398 * config.make.in: Remove PWD_P entry.
35399
51a1d39c 35400 * configure.in: Remove last remnants of RANLIB.
8720d066 35401 No need to check for signed size_t anymore.
215f4bdc
UD
35402 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35403 and IA-64.
3857022a 35404 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35405 * aclocal.m4: Likewise.
35406
d3ed7225
UD
35407 * wcsmbs/mbrtoc16.c: Implement using towc function.
35408 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35409 * wcsmbs/wcsmbsload.c: Likewise.
35410 * iconv/gconv_simple.c: Likewise.
35411 * iconv/gconv_int.h: Likewise.
35412 * iconv/gconv_builtin.h: Likewise.
35413 * iconv/iconv_prog.c: Remove CHAR16 handling.
35414
35415 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35416
35417 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35418
a0da5fe1
UD
35419 * configure.in: Remove --with-elf and --enable-bounded options.
35420 Dont set base_machine for ia64. More non-ELF conditions removed.
35421 Remove testing and setting of leading underscore information.
35422 * config.make.in (build-bounded): Set to no.
35423 * config.h.in: Remove NO_UNDERSCORES entry.
35424 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35425 them.
35426 * csu/start.c: Remove !NO_UNDERSCORE code.
35427 * locale/localeinfo.h: Likewise.
35428 * sysdeps/generic/machine-gmon.h: Likewise.
35429 * sysdeps/generic/sysdep.h: Likewise.
35430 * sysdeps/i386/sysdep.h: Likewise.
35431 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35432 * sysdeps/mach/sysdep.h: Likewise.
35433 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35434 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35435 * sysdeps/sh/sysdep.h: Likewise.
35436 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35437 * sysdeps/unix/i386/sysdep.S: Likewise.
35438 * sysdeps/unix/sparc/start.c: Likewise.
35439 * sysdeps/unix/sparc/sysdep.S: Likewise.
35440 * sysdeps/unix/sparc/sysdep.h: Likewise.
35441 * sysdeps/unix/start.c: Likewise.
35442 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35443 * sysdeps/x86_64/sysdep.h: Likewise.
35444
df78418a
UD
354452012-01-07 Ulrich Drepper <drepper@gmail.com>
35446
a784e502
UD
35447 [BZ #13553]
35448 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35449 for non-gcc.
35450 * argp/argp-fmtstream.h: Use const instead __const.
35451 * argp/argp.h: Likewise.
35452 * assert/assert.h: Likewise.
35453 * bits/fenv.h: Likewise.
35454 * bits/sched.h: Likewise.
35455 * bits/sigset.h: Likewise.
35456 * bits/sigthread.h: Likewise.
35457 * catgets/nl_types.h: Likewise.
35458 * conform/data/pthread.h-data: Likewise.
35459 * crypt/crypt-private.h: Likewise.
35460 * crypt/crypt.h: Likewise.
35461 * crypt/crypt_util.c: Likewise.
35462 * ctype/ctype.h: Likewise.
35463 * debug/execinfo.h: Likewise.
35464 * debug/mbsnrtowcs_chk.c: Likewise.
35465 * debug/mbsrtowcs_chk.c: Likewise.
35466 * debug/wcsnrtombs_chk.c: Likewise.
35467 * debug/wcsrtombs_chk.c: Likewise.
35468 * debug/wcstombs_chk.c: Likewise.
35469 * dirent/dirent.h: Likewise.
35470 * dlfcn/dlfcn.h: Likewise.
35471 * elf/neededtest4.c: Likewise.
35472 * grp/grp.h: Likewise.
35473 * gshadow/gshadow.h: Likewise.
35474 * iconv/gconv.h: Likewise.
35475 * iconv/gconv_int.h: Likewise.
35476 * iconv/gconv_simple.c: Likewise.
35477 * iconv/iconv.h: Likewise.
35478 * iconv/loop.c: Likewise.
35479 * iconv/skeleton.c: Likewise.
35480 * include/aio.h: Likewise.
35481 * include/aliases.h: Likewise.
35482 * include/argz.h: Likewise.
35483 * include/arpa/inet.h: Likewise.
35484 * include/assert.h: Likewise.
35485 * include/dirent.h: Likewise.
35486 * include/dlfcn.h: Likewise.
35487 * include/execinfo.h: Likewise.
35488 * include/fcntl.h: Likewise.
35489 * include/fenv.h: Likewise.
35490 * include/glob.h: Likewise.
35491 * include/grp.h: Likewise.
35492 * include/libintl.h: Likewise.
35493 * include/mntent.h: Likewise.
35494 * include/netdb.h: Likewise.
35495 * include/pwd.h: Likewise.
35496 * include/rpc/netdb.h: Likewise.
35497 * include/sched.h: Likewise.
35498 * include/search.h: Likewise.
35499 * include/shadow.h: Likewise.
35500 * include/signal.h: Likewise.
35501 * include/stdio.h: Likewise.
35502 * include/stdlib.h: Likewise.
35503 * include/string.h: Likewise.
35504 * include/sys/socket.h: Likewise.
35505 * include/sys/stat.h: Likewise.
35506 * include/sys/statfs.h: Likewise.
35507 * include/sys/statvfs.h: Likewise.
35508 * include/sys/syslog.h: Likewise.
35509 * include/sys/time.h: Likewise.
35510 * include/sys/uio.h: Likewise.
35511 * include/time.h: Likewise.
35512 * include/unistd.h: Likewise.
35513 * include/utmp.h: Likewise.
35514 * include/wchar.h: Likewise.
35515 * include/wctype.h: Likewise.
35516 * inet/aliases.h: Likewise.
35517 * inet/arpa/inet.h: Likewise.
35518 * inet/netinet/ether.h: Likewise.
35519 * inet/netinet/in.h: Likewise.
35520 * intl/libintl.h: Likewise.
35521 * io/bits/fcntl2.h: Likewise.
35522 * io/fcntl.h: Likewise.
35523 * io/ftw.h: Likewise.
35524 * io/sys/poll.h: Likewise.
35525 * io/sys/stat.h: Likewise.
35526 * io/sys/statfs.h: Likewise.
35527 * io/sys/statvfs.h: Likewise.
35528 * io/utime.h: Likewise.
35529 * libio/bits/stdio.h: Likewise.
35530 * libio/bits/stdio2.h: Likewise.
35531 * libio/libio.h: Likewise.
35532 * libio/libioP.h: Likewise.
35533 * libio/stdio.h: Likewise.
35534 * locale/lc-ctype.c: Likewise.
35535 * locale/locale.h: Likewise.
35536 * login/utmp.h: Likewise.
35537 * malloc/arena.c: Likewise.
35538 * malloc/malloc.c: Likewise.
35539 * malloc/malloc.h: Likewise.
35540 * malloc/mcheck.c: Likewise.
35541 * malloc/mtrace.c: Likewise.
35542 * math/bits/mathcalls.h: Likewise.
35543 * math/fenv.h: Likewise.
35544 * math/math_private.h: Likewise.
35545 * misc/bits/error.h: Likewise.
35546 * misc/bits/syslog.h: Likewise.
35547 * misc/err.h: Likewise.
35548 * misc/error.h: Likewise.
35549 * misc/fstab.h: Likewise.
35550 * misc/mntent.h: Likewise.
35551 * misc/regexp.h: Likewise.
35552 * misc/search.h: Likewise.
35553 * misc/sgtty.h: Likewise.
35554 * misc/sys/mman.h: Likewise.
35555 * misc/sys/syslog.h: Likewise.
35556 * misc/sys/uio.h: Likewise.
35557 * misc/sys/xattr.h: Likewise.
35558 * misc/ttyent.h: Likewise.
35559 * nis/rpcsvc/ypclnt.h: Likewise.
35560 * nss/nss.h: Likewise.
35561 * posix/bits/unistd.h: Likewise.
35562 * posix/fnmatch.h: Likewise.
35563 * posix/glob.h: Likewise.
35564 * posix/sched.h: Likewise.
35565 * posix/spawn.h: Likewise.
35566 * posix/sys/wait.h: Likewise.
35567 * posix/unistd.h: Likewise.
35568 * posix/wordexp.h: Likewise.
35569 * pwd/pwd.h: Likewise.
35570 * resolv/netdb.h: Likewise.
35571 * resource/sys/resource.h: Likewise.
35572 * rt/aio.h: Likewise.
35573 * rt/bits/mqueue2.h: Likewise.
35574 * rt/mqueue.h: Likewise.
35575 * shadow/shadow.h: Likewise.
35576 * signal/signal.h: Likewise.
35577 * socket/send.c: Likewise.
35578 * socket/sendto.c: Likewise.
35579 * socket/sys/socket.h: Likewise.
35580 * stdio-common/printf.h: Likewise.
35581 * stdlib/bits/stdlib.h: Likewise.
35582 * stdlib/fmtmsg.h: Likewise.
35583 * stdlib/monetary.h: Likewise.
35584 * stdlib/stdlib.h: Likewise.
35585 * stdlib/ucontext.h: Likewise.
35586 * streams/stropts.h: Likewise.
35587 * string/argz.h: Likewise.
35588 * string/bits/string2.h: Likewise.
35589 * string/string.h: Likewise.
35590 * string/strings.h: Likewise.
35591 * sunrpc/rpc/auth.h: Likewise.
35592 * sunrpc/rpc/auth_des.h: Likewise.
35593 * sunrpc/rpc/clnt.h: Likewise.
35594 * sunrpc/rpc/netdb.h: Likewise.
35595 * sunrpc/rpc/pmap_clnt.h: Likewise.
35596 * sunrpc/rpc/xdr.h: Likewise.
35597 * sysdeps/generic/inttypes.h: Likewise.
35598 * sysdeps/generic/net/if.h: Likewise.
35599 * sysdeps/generic/sys/swap.h: Likewise.
35600 * sysdeps/gnu/net/if.h: Likewise.
35601 * sysdeps/gnu/utmpx.h: Likewise.
35602 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35603 * sysdeps/i386/i486/bits/string.h: Likewise.
35604 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35605 * sysdeps/s390/bits/string.h: Likewise.
35606 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35607 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35608 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35609 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35610 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35611 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35612 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35613 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35614 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35615 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35616 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35617 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35618 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35619 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35620 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35621 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35622 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35624 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35625 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35626 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35627 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35628 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35629 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35630 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35631 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35632 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35633 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35634 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35635 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35636 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35637 * sysvipc/sys/ipc.h: Likewise.
35638 * sysvipc/sys/msg.h: Likewise.
35639 * sysvipc/sys/sem.h: Likewise.
35640 * sysvipc/sys/shm.h: Likewise.
35641 * termios/termios.h: Likewise.
35642 * time/sys/time.h: Likewise.
35643 * time/time.h: Likewise.
35644 * wcsmbs/bits/wchar2.h: Likewise.
35645 * wcsmbs/uchar.h: Likewise.
35646 * wcsmbs/wchar.h: Likewise.
35647 * wctype/wctype.h: Likewise.
35648
0269750c
UD
35649 [BZ #13551]
35650 * Makeconfig: Remove all but ELF support including AIX support.
35651 * Makerules: Likewise.
35652 * config.h.in: Likewise.
35653 * config.make.in: Likewise.
35654 * configure: Likewise.
35655 * configure.in: Likewise.
35656 * csu/Makefile: Likewise.
35657 * csu/version.c: Likewise.
35658 * debug/Makefile: Likewise.
35659 * dlfcn/Makefile: Likewise.
35660 * elf/Makefile: Likewise.
35661 * extra-lib.mk: Likewise.
35662 * iconv/Makefile: Likewise.
35663 * include/libc-symbols.h: Likewise.
35664 * include/shlib-compat.h: Likewise.
35665 * resolv/Makefile: Likewise.
35666 * resolv/res_libc.c: Likewise.
35667 * rt/Makefile: Likewise.
35668 * sysdeps/i386/asm-syntax.h: Likewise.
35669 * sysdeps/i386/sysdep.h: Likewise.
35670 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35671 * sysdeps/mach/sysdep.h: Likewise.
35672 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35673 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35674 * sysdeps/s390/asm-syntax.h: Likewise.
35675 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35676 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35677 * sysdeps/sh/sysdep.h: Likewise.
35678 * sysdeps/unix/sparc/sysdep.h: Likewise.
35679 * sysdeps/wordsize-32/divdi3.c: Likewise.
35680 * sysdeps/x86_64/sysdep.h: Likewise.
35681
00bbd29b
UD
35682 * argp/Versions: Remove _argp_unlock_xxx.
35683
35684 [BZ #13559]
35685 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35686 * abilist/libBrokenLocale.abilist: Likewise.
35687 * abilist/libanl.abilist: Likewise.
35688 * abilist/libc.abilist: Likewise.
35689 * abilist/libcrypt.abilist: Likewise.
35690 * abilist/libdl.abilist: Likewise.
35691 * abilist/libm.abilist: Likewise.
35692 * abilist/libnsl.abilist: Likewise.
35693 * abilist/libpthread.abilist: Likewise.
35694 * abilist/libresolv.abilist: Likewise.
35695 * abilist/librt.abilist: Likewise.
35696 * abilist/libthread_db.abilist: Likewise.
35697 * abilist/libutil.abilist: Likewise.
35698 * abilist/libnss_db.abilist: New file.
35699
35700 * scripts/abilist.awk: Add support for indirect functions.
35701
a2693a0e
UD
35702 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35703
3f05895f
UD
35704 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35705
ecb6fb48
UD
35706 * shlib-versions: Remove entries for ports architectures.
35707
664f8cb9
UD
35708 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35709 files in ports.
35710 * elf/stackguard-macros.h: Remove support for IA-64.
35711 * elf/tst-auditmod1.c: Likewise.
35712 * sysdeps/generic/ldsodefs.h: Likewise.
35713
7ae81d88
UD
35714 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35715 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35716 configure files.
35717
bdeba135
UD
35718 [BZ #13552]
35719 * configure.in: Remove --enable-omitfp support.
35720 * FAQ.in: Adjust.
35721 * config.make.in: Likewise.
35722 * Makeconfig: Likewise.
35723 * manual/install.texi: Likewise.
35724
d75a0a62
UD
35725 In case anyone cares, the IA-64 architecture could move to ports.
35726 * sysdeps/ia64/*: Removed.
35727 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35728 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35729
dcc9756b
UD
35730 [BZ #13555]
35731 * configure.in: Remove entries for unsupported architectures.
35732
d3761ebc 35733 [BZ #13533]
9954432e
UD
35734 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35735 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35736 routines.
35737 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35738 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35739 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35740 fall back to using wcrtomb.
35741 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35742 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35743 renaming.
35744 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35745 * wcsmbs/tst-c16c32-1.c: New file.
35746
35747 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35748 local variable.
35749
c3a87236
UD
35750 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35751
28926a1b
UD
35752 * elf/tst-unique3.cc: Add explicit declaration of gets.
35753 * elf/tst-unique3lib.cc: Likewise.
35754 * elf/tst-unique3lib2.cc: Likewise.
35755 * elf/tst-unique4.cc: Likewise.
35756
df78418a
UD
35757 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35758
8ecd6b2a
JM
357592012-01-06 Joseph Myers <joseph@codesourcery.com>
35760
35761 [BZ #13566]
35762 * assert/assert.h (static_assert): Don't define for C++.
35763 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35764 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35765
9f115170
UD
357662012-01-03 Ulrich Drepper <drepper@gmail.com>
35767
5e0d0300
UD
35768 * iconv/loop.c (single loop): Fix assertion in storing of
35769 remaining bytes.
35770
9f115170
UD
35771 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35772
81fb02b0
UD
357732012-01-01 Ulrich Drepper <drepper@gmail.com>
35774
35775 * posix/getconf.c: Update copyright year.
35776 * nss/getent.c: Likewise.
a316c1f6 35777 * nss/makedb.c: Likewise.
81fb02b0
UD
35778 * iconv/iconvconfig.c: Likewise.
35779 * iconv/iconv_prog.c: Likewise.
35780 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35781 * elf/pldd.c: Likewise.
35782 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35783 * catgets/gencat.c: Likewise.
35784 * csu/version.c: Likewise.
35785 * elf/ldd.bash.in: Likewise.
35786 * elf/sprof.c (print_version): Likewise.
35787 * locale/programs/locale.c: Likewise.
35788 * locale/programs/localedef.c: Likewise.
a316c1f6 35789 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35790 * nscd/nscd.c (print_version): Likewise.
35791 * debug/xtrace.sh: Likewise.
35792 * malloc/memusage.sh: Likewise.
35793 * malloc/mtrace.pl: Likewise.
35794 * debug/catchsegv.sh: Likewise.
35795
2ba92745
JJ
357962011-12-30 Jakub Jelinek <jakub@redhat.com>
35797
35798 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35799 pure attribute.
35800
dadebdae
UD
358012011-12-24 Ulrich Drepper <drepper@gmail.com>
35802
d3761ebc 35803 [BZ #13533]
db6af3eb
UD
35804 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35805 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35806 transformations.
35807 * iconv/gconv_int.h: Likewise.
35808 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35809 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35810 from libc for GLIBC_2.16.
35811 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35812 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35813 * wcsmbs/uchar.h: Really define mbstate_t.
35814 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35815 * wcsmbs/c16rtomb.c: New file.
35816 * wcsmbs/mbrtoc16.c: New file.
35817 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35818 for C/POSIX locale.
35819 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35820 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35821
dadebdae
UD
35822 * wcsmbs/wchar.h: Add missing __restrict.
35823
67371b56
UD
358242011-12-23 Ulrich Drepper <drepper@gmail.com>
35825
74033a25
UD
35826 [BZ #13532]
35827 * time/Makefile (routines): Add timespec_get.
35828 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35829 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35830 timespec for ISO C11.
35831 * time/timespec_get.c: New file.
35832 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35833 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35834
380d7e87
UD
35835 [BZ #13531]
35836 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35837 * stdlib/stdlib.h: Declare aligned_alloc.
35838 * Versions.def: Add GLIBC_2.16 for libc.
35839 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35840
4e9e7a35
UD
35841 [BZ 13527]
35842 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35843 ISO C11.
35844
380d7e87 35845 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35846 code.
35847
03a71829
UD
35848 [BZ #13528]
35849 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35850
839e283e
UD
35851 [BZ #13529]
35852 * assert/assert.h (static_assert): Define.
35853
ce5294e2 35854 * version.h: Update for 2.16 development version.
90fa7312 35855
8d44e150 35856 [BZ #13526]
d7809905
UD
35857 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35858 _ISOC11_SOURCE.
35859
c0da14cd
UD
35860 * version.h (RELEASE): Bump for 2.15 release.
35861 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35862
530a3249
MP
35863 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35864 Patch by Marek Polacek <mpolacek@redhat.com>.
35865
67371b56
UD
35866 * bits/byteswap.h: Protect long long constants with __extension__.
35867 * sysdeps/i386/bits/byteswap.h: Likewise.
35868 * sysdeps/ia64/bits/byteswap.h: Likewise.
35869 * sysdeps/s390/bits/byteswap.h: Likewise.
35870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35871
15db4de1
LD
358722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35873
35874 [BZ #13540]
bbe315ea
LD
35875 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35876 destination buffer.
15db4de1
LD
35877 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35878
2b2596b1
MP
358792011-12-23 Marek Polacek <polacek@redhat.com>
35880
35881 * elf/dl-addr.c (determine_info): Add inline keyword.
35882 * elf/tst-auditmod4b.c (check_avx): Likewise.
35883 * elf/tst-auditmod6b.c (check_avx): Likewise.
35884 * elf/tst-auditmod6c.c (check_avx): Likewise.
35885 * elf/tst-auditmod7b.c (check_avx): Likewise.
35886
70c6c246
UD
358872011-12-23 Ulrich Drepper <drepper@gmail.com>
35888
35889 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35890 !__SSE_MATH__.
35891
c044cf14
LD
358922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35893
15db4de1 35894 [BZ #13540]
c044cf14
LD
35895 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35896 processing for last bytes.
35897
6b13d9d9
BH
358982011-08-06 Bruno Haible <bruno@clisp.org>
35899
d455f537
BH
35900 [BZ #13061]
35901 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35902 U+0385, not to U+1FEE.
35903
6b13d9d9
BH
35904 [BZ #13062]
35905 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35906 entry for U+00A5 U+0301.
35907
db910efd
UD
359082011-12-22 Ulrich Drepper <drepper@gmail.com>
35909
27deeafc
UD
35910 [BZ #13166]
35911 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35912 buffer for the output is too small.
35913
aed9d171
UD
35914 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35915 optimization.
35916
db910efd
UD
35917 [BZ #13185]
35918 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35919 SSE flags if possible.
35920
2bd779ae
LD
359212011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35922
e7f9dac3 35923 [BZ #13540]
2bd779ae
LD
35924 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35925 processing for last bytes.
35926
154bfc16
JM
359272011-12-22 Joseph Myers <joseph@codesourcery.com>
35928
35929 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35930 (syscall-list-default-options, syscall-list-default-condition)
35931 (syscall-list-includes): Define.
35932 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35933 list of ABIs and options and #if conditions for each ABI. Do not
35934 handle common syscalls between ABIs specially.
35935 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35936 Remove.
35937 (syscall-list-variants, syscall-list-32bit-options)
35938 (syscall-list-32bit-condition, syscall-list-64bit-options)
35939 (syscall-list-64bit-condition): Define.
35940 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35941 (syscall-list-variants, syscall-list-32bit-options)
35942 (syscall-list-32bit-condition, syscall-list-64bit-options)
35943 (syscall-list-64bit-condition): Define.
35944 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35945 Remove.
35946 (syscall-list-variants, syscall-list-32bit-options)
35947 (syscall-list-32bit-condition, syscall-list-64bit-options)
35948 (syscall-list-64bit-condition): Define.
35949 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35950 Remove.
35951 (syscall-list-variants, syscall-list-32bit-options)
35952 (syscall-list-32bit-condition, syscall-list-64bit-options)
35953 (syscall-list-64bit-condition): Define.
35954
21eaf3a5
UD
359552011-12-22 Ulrich Drepper <drepper@gmail.com>
35956
16c6f992
UD
35957 * locale/iso-639.def: Add brx entry.
35958
41043168
UD
35959 [BZ #13328]
35960 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35961 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35962
21eaf3a5
UD
35963 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35964 __feraiseexcept_renamed.
35965
e3a851a2
UD
359662011-12-21 Ulrich Drepper <drepper@gmail.com>
35967
4920765e
UD
35968 [BZ #13538]
35969 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35970 EPOLLET with unsigned values.
35971 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35972 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35973
e3a851a2
UD
35974 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35975 to large cancellation.
35976 * math/s_cacoshf.c: Likewise.
35977 * math/s_cacoshl.c: Likewise.
35978
b27e24b8
RK
359792011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35980
35981 [BZ #13305]
aebefeee 35982 [BZ #12786]
b27e24b8
RK
35983 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35984 * math/s_cacoshf.c: Likewise.
35985 * math/s_cacoshl.c: Likewise.
35986
ee190f67
UD
359872011-12-21 Ulrich Drepper <drepper@gmail.com>
35988
35989 [BZ #13439]
35990 * iconv/gconv.h: Define __GCONV_SWAP.
35991 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35992 * iconvdata/utf-16.c: Likewise.
35993 * iconvdata/utf-32.c: Likewise.
35994
707f25df
AS
359952011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35996
35997 [BZ #13524]
35998 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35999 numerator after shifting it by one limb.
36000
d2daaa1e
RÁE
360012011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36002
36003 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36004 under [__USE_EXTERN_INLINES].
36005
a4647e72
UD
360062011-12-17 Ulrich Drepper <drepper@gmail.com>
36007
36008 [BZ #13446]
36009 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36010
f0b264f1
AZ
360112011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36012
36013 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36014 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36015 optimized code.
36016 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36017 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36018 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36019 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36020 for strncasecmp/strncasecmp_l compilation.
36021 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36022 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36023
8ef4f244
MP
360242011-12-08 Marek Polacek <mpolacek@redhat.com>
36025
36026 [BZ #13484]
36027 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36028 of __asm__.
36029
97ac2654
UD
360302011-12-17 Ulrich Drepper <drepper@gmail.com>
36031
36032 [BZ #13506]
36033 * time/tzfile.c (__tzfile_read): Check values from file header.
36034
91d2a845
WS
360352011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36036
36037 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36038 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36039 * powerpc/powerpc32/dl-start.S: Likewise.
36040 * powerpc/powerpc32/elf/start.S: Likewise.
36041 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36042 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36043 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36044 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36045 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36046 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36047 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36048 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36049 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36050 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36051 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36052 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36053 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36054 * powerpc/powerpc32/memset.S: Likewise.
36055 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36056 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36057 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36058 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36059 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36060 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36061 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36062 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36063 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36064 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36065 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36066 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36067 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36068
a1267ba1
AZ
360692011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36070
36071 * math/libm-test.inc: Added more nearbyint tests.
36072 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36073 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36074 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36075 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36076
ad8ac1bd
RL
360772011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36078
36079 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36080 FD_CLOEXEC.
36081
1d3e4b61
UD
360822011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36083
36084 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36085 Add wcscpy-ssse3 wcscpy-c.
36086 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36087 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36088 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36089 * sysdeps/x86_64/wcschr.S: New file.
36090 * sysdeps/x86_64/wcsrchr.S: New file.
36091 * string/test-strcmp.c: Remove checking of wcscmp function for
36092 wrong alignments.
36093 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36094 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36095 wcsrchr-sse2 wcsrchr-c.
36096 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36097 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36098 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36099 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36100 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36101 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36102 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36103 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36104 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36105 * wcsmbc/wcschr.c (WCSCHR): New macro.
36106
5b330a2d
UD
361072011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36108
36109 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36110 * wcsmbs/test-wcsrchr.c: New file.
36111 * string/test-strrchr.c: Add wcsrchr support.
36112 (WIDE): New macro.
36113 * wcsmbs/test-wcscpy.c: New file.
36114 * string/test-strcpy.c: Add wcscpy support.
36115 (WIDE): New macro.
26428b7c 36116
f039c043
UD
361172011-12-10 Ulrich Drepper <drepper@gmail.com>
36118
36119 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36120 the inner loop.
36121
850fb039
AS
361222011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36123
36124 [BZ #13472]
36125 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36126
4efbd5cb
UD
361272011-12-04 Ulrich Drepper <drepper@gmail.com>
36128
52ff5dd0 36129 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36130 Minor optimizations.
52ff5dd0 36131
4efbd5cb
UD
36132 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36133 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36134 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36135
8a426e12
UD
361362011-12-03 Ulrich Drepper <drepper@gmail.com>
36137
aff2453d
UD
36138 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36139 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36140 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36141 for gcc to avoid warnings.
36142 * inet/Makefile (tests): Add tst-checks.
36143 * inet/tst-checks.c: New file.
36144
36145 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36146 warning.
36147
36148 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36149 __wmemcmp_sse2.
36150
36151 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36152 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36153
8a426e12
UD
36154 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36155
9bea3473
UD
361562011-12-02 Ulrich Drepper <drepper@gmail.com>
36157
3a965496
UD
36158 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36159 problem.
36160
9bea3473
UD
36161 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36162
f101631b
UD
361632011-11-29 Joseph Myers <joseph@codesourcery.com>
36164
36165 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36166 conditional on GCC version.
36167 (__arch_compare_and_exchange_val_8_acq)
36168 (__arch_compare_and_exchange_val_16_acq)
36169 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36170 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36171 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36172
a98275aa
UD
361732011-12-02 Joseph Myers <joseph@codesourcery.com>
36174
36175 * sysdeps/sh/backtrace.c: New file.
36176
d4cc29a2
AS
361772011-12-02 Andreas Schwab <schwab@redhat.com>
36178
36179 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36180 parenthesis.
36181
6257af2d
AS
361822011-12-01 Andreas Schwab <schwab@redhat.com>
36183
36184 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36185 falling back to utime.
36186
b5f44c1a
AS
361872011-11-30 Andreas Schwab <schwab@redhat.com>
36188
36189 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36190 expectations for float.
36191
f3a6cc0a
AS
361922011-11-29 Andreas Schwab <schwab@redhat.com>
36193
36194 * locale/weight.h (findidx): Add parameter len.
36195 * locale/weightwc.h (findidx): Likewise.
36196 * posix/fnmatch_loop.c (FCT): Adjust caller.
36197 * posix/regcomp.c (build_equiv_class): Likewise.
36198 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36199 * posix/regexec.c (check_node_accept_bytes): Likewise.
36200 * string/strcoll_l.c (STRCOLL): Likewise.
36201 * string/strxfrm_l.c (STRXFRM): Likewise.
36202
9d65ea3a
UD
362032011-11-17 Ulrich Drepper <drepper@gmail.com>
36204
36205 * Makefile.in: Remove CVSOPT handling.
36206 * configure.in: Remove use of AC_REVISION.
36207 * iconvdata/Makefile (distribute): No need to filter out CVS.
36208 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36209 handling.
36210
5583a086
AS
362112011-11-16 Andreas Schwab <schwab@redhat.com>
36212
36213 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36214 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36215 [USE_AS_STRNCASECMP_L]: Likewise.
36216 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36217 NO_TLS_DIRECT_SEG_REFS.
36218 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36219 Fix argument offsets for non-PIC.
36220 [USE_AS_STRNCASECMP_L]: Likewise.
36221 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36222 NO_TLS_DIRECT_SEG_REFS.
36223
d62a8200
UD
362242011-11-15 Ulrich Drepper <drepper@gmail.com>
36225
9d65ea3a 36226 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36227 O_CLOEXEC.
36228 * locale/loadlocale.c (_nl_load_locale): Likewise.
36229
09f93bd3
AS
362302011-11-15 Andreas Schwab <schwab@redhat.com>
36231
446514f9
AS
36232 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36233 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36234 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36235 (SYSCALL_GETTIME): Set errno on error.
36236
09f93bd3
AS
36237 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36238 count references to noai6ai_cached.
36239
312be3f9
UD
362402011-11-15 Ulrich Drepper <drepper@gmail.com>
36241
36242 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36243
36244 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36245 FD_CLOEXEC for /proc/self/maps.
36246
36247 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36248 FD_CLOEXEC for /proc/meminfo.
36249
36250 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36251 gai.conf.
36252
36253 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36254 FD_CLOEXEC for given file.
36255
36256 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36257
36258 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36259 FD_CLOEXEC for /etc/hosts.
36260 (_gethtent): Likewise.
36261
36262 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36263
36264 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36265 cancellation and set FD_CLOEXEC for /etc/netgroup.
36266
36267 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36268 reading /etc/publickey.
36269
36270 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36271 allow cancellation when reading /etc/group.
36272
36273 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36274 cancellation.
36275 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36276
36277 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36278 when using data file.
36279
36280 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36281
36282 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36283 (write_nis_obj): Use "c" and "e" in fopen.
36284
36285 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36286
36287 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36288
36289 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36290
36291 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36292
36293 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36294 locale.alias.
36295
36296 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36297
36298 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36299
36300 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36301
36302 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36303 file parsing and set FD_CLOEXEC.
36304
82af0fa8
UD
363052011-11-14 Ulrich Drepper <drepper@gmail.com>
36306
36307 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36308
a5fb313c
AS
363092011-11-14 Andreas Schwab <schwab@redhat.com>
36310
36311 * malloc/arena.c (arena_get2): Don't call reused_arena when
36312 _int_new_arena failed.
36313
6abf3465
UD
363142011-11-14 Ulrich Drepper <drepper@gmail.com>
36315
36316 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36317 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36318 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36319 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36320 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36321 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36322 to compile strcasecmp and strncasecmp.
36323 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36324 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36325
36326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36327
76e3966e
UD
363282011-11-13 Ulrich Drepper <drepper@gmail.com>
36329
36330 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36331 locale-defines.sym to gen-as-const-headers.
36332 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36333 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36334 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36335 to compile strcasecmp and strncasecmp.
36336 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36337 strcasecmp_l and strncasecmp_l.
36338 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36339 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36340 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36341 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36342 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36343 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36344 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36345 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36346 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36347 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36348 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36349
ab26144e
UD
363502011-11-12 Ulrich Drepper <drepper@gmail.com>
36351
7edb22ef
UD
36352 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36353 result of SYSDEP_GETTIME_CPU to retval.
36354 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36355 parameter list to macro. Remove trailing semicolon. Adjust users.
36356
9694fc44
UD
36357 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36358 variable.
36359
8ad89ef8
UD
36360 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36361 mantissa words.
36362 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36363
0c822ef9
UD
36364 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36365 from unused variable.
36366
874e0564
UD
36367 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36368 DWARF definitions.
36369 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36370 for assembling.
36371
3a2edc79
UD
36372 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36373 over namespaces.
36374
f3c2577f
UD
36375 * sunrpc/rpc_prot.c (rejected): Fix case value.
36376
294ce126
UD
36377 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36378 unsigned long long int to avoid warnings in shift.
36379
5e2b63c6
UD
36380 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36381 of use of trans.
36382 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36383 variable tmp.
36384
e7f4b08e
UD
36385 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36386 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36387 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36388
ab26144e
UD
36389 * nis/nis_table.c (nis_list): Use variable of correct type for
36390 result of __follow_path call.
36391
8a6d5255
AZ
363922011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36393
36394 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36395 of math functions ceil, trunc, floor, round, and sqrt, when
36396 avaliable on the platform.
36397 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36398 name clash.
36399 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36400 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36401 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36402
aaddc98c
MP
364032011-10-30 Marek Polacek <mpolacek@redhat.com>
36404
36405 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36406 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36407
95b7042b
RM
364082011-11-11 Roland McGrath <roland@hack.frob.com>
36409
36410 * include/unistd.h: Fix __readlink return type.
36411 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36412
57769839
UD
364132011-11-11 Ulrich Drepper <drepper@gmail.com>
36414
36415 * stdlib/ucontext.h: Undo last change for makecontext.
36416
edc5984d
AS
364172011-11-11 Andreas Schwab <schwab@redhat.com>
36418
98591e58
AS
36419 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36420
edc5984d
AS
36421 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36422 * setjmp/setjmp.h: Mark functions as non-leaf.
36423 * setjmp/bits/setjmp2.h: Likewise.
36424 * stdlib/ucontext.h: Likewise.
36425
77cdc054
AS
364262011-11-10 Andreas Schwab <schwab@redhat.com>
36427
36428 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36429 (reused_arena): Don't check arena limit.
36430 (arena_get2): Atomically check arena limit.
36431
fe72eebd
UD
364322011-11-08 Ulrich Drepper <drepper@gmail.com>
36433
5f078c32
UD
36434 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36435 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36436
fe72eebd
UD
36437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36438 instructions.
36439
ae1bc2fa
AS
364402011-11-07 Andreas Schwab <schwab@redhat.com>
36441
7583a88d
AS
36442 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36443 handler when locking.
36444
ae1bc2fa
AS
36445 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36446 Fix size of allocated buffer.
36447
10fb0bfa
AS
364482011-11-04 Andreas Schwab <schwab@redhat.com>
36449
998832a4
AS
36450 [BZ #10103]
36451 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36452 declarations for long double functions.
36453 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36454
10fb0bfa
AS
36455 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36456
3d7ba52b
AS
364572011-11-03 Andreas Schwab <schwab@redhat.com>
36458
a9ae54a1
AS
36459 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36460 installed.
36461
3d7ba52b
AS
36462 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36463 is disabled.
36464
bc8db248
ST
364652011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36466
36467 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36468
45b96dd6
AS
364692011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36470
647776f6
AS
36471 * include/alloca.h (stackinfo_alloca_round): Define.
36472 (extend_alloca): Use it.
36473 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36474 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36475 here.
36476
d91a8b93
AS
36477 * scripts/check-local-headers.sh: Ignore libaudit.h.
36478
45b96dd6
AS
36479 * nscd/Makefile (extra-objs): Make recursively expanded.
36480
432d41ce
UD
364812011-11-01 Ulrich Drepper <drepper@gmail.com>
36482
34372fc6
UD
36483 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36484 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36485
fadb59f8
UD
36486 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36487 * posix/tst-rfc3484-2.c: Likewise.
36488 * posix/tst-rfc3484-3.c: Likewise.
36489
78239589
UD
36490 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36491 process_vm_writev.
36492 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36493 process_vm_writev.
36494 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36495 process_vm_writev from libc using GLIBC_2.15 version.
36496
432d41ce
UD
36497 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36498
02f9c6cf
PP
364992011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36500
36501 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36502 stack usage.
36503
3a2c0242
UD
365042011-10-31 Ulrich Drepper <drepper@gmail.com>
36505
f4ec4833
UD
36506 [BZ #13367]
36507 * nss/getent.c (initgroups_keys): Show error message in case no group
36508 names are given.
36509
3a2c0242
UD
36510 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36511 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36512 __bump_nl_timestamp.
36513 * nscd/connections (nscd_init): When host database is served open
36514 netlink socket and request notification about configuration changes.
36515 (main_loop_poll): Track netlink file descriptor and bump timestamp
36516 in case data becomes available.
36517 (main_loop_epoll): Likewise.
36518 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36519 (database_pers_head): Add extra_data fileds.
36520 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36521 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36522 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36523 Adjust caller.
36524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36525 in6ai data, call __free_in6ai.
36526 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36527 Add -DHAVE_NETLINK.
36528 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36529 interface information. Reuse previous data if netlink timestamp
36530 is not changed.
36531 (__bump_nl_timestamp): New function.
36532 (__free_in6ai): New function.
36533
636064eb
UD
365342011-10-30 Ulrich Drepper <drepper@gmail.com>
36535
36536 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36537 close_not_cancel_no_status here.
36538 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36539
9beb2334
UD
365402011-10-29 Ulrich Drepper <drepper@gmail.com>
36541
6ef76f3b
UD
36542 [BZ #13276]
36543 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36544 return value.
36545
0ffc4f3e 36546 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36547 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36548 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36549
cb95113e
UD
365502011-07-03 Andreas Jaeger <aj@suse.de>
36551
36552 [BZ #10709]
36553 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36554 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36555 * math/libm-test.inc (sin_test): Add test case.
36556
a1b560ff
UD
365572011-10-29 Ulrich Drepper <drepper@gmail.com>
36558
c9aaface
UD
36559 [BZ #13337]
36560 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36561 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36562
d272e7f1
UD
36563 * elf/chroot_canon.c (chroot_canon): Cleanups.
36564
1bc33071
UD
36565 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36566
1760874d
TJ
36567 [BZ #13335]
36568 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36569 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36570
51d91b18
UD
36571 * string/test-strchr.c: Make usable for strchrnul testing.
36572 * string/test-strchrnul.c: New file.
36573 * string/Makefile (strop-tests): Add strchrnul.
36574
a1b560ff 36575 * po/it.po: Update from translation team.
b611fb81 36576 * po/es.po: Likewise.
a1b560ff 36577
a5b81e1f
UD
365782011-10-28 Ulrich Drepper <drepper@gmail.com>
36579
fd52bc6d
UD
36580 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36581 the three constants needed as parameters. Drop the others.
36582 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36583 __m128i_strloadu_tolower.
52e4b9eb
UD
36584 Create and initialize variable zero and use it in all the places
36585 where _mm_setzero_si128 was used.
fd52bc6d 36586
a5b81e1f
UD
36587 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36588 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36589 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36590 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36591 anymore.
36592 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36593 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36594 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36595 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36596 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36597 __mpranred, __mptan.
36598 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36599 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36600 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36601 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36602 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36603 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36605 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36606 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36607
b4343346
AS
366082011-10-28 Andreas Schwab <schwab@redhat.com>
36609
0c92d8a8
AS
36610 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36611 redefine if SHARED.
36612 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36613
b4343346
AS
36614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36615 wide char related routines to wcsmbs subdir.
36616
3871f58f
AS
366172011-10-27 Andreas Schwab <schwab@redhat.com>
36618
36619 [BZ #13344]
36620 * misc/sys/cdefs.h (__THROWNL): Define.
36621 * posix/unistd.h: Use __THREADNL instead of __THREAD
36622 for memory synchronization functions.
36623
94d44d9f
RM
366242011-10-26 Roland McGrath <roland@hack.frob.com>
36625
21b64b15 36626 [BZ #13349]
94d44d9f
RM
36627 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36628 doesn't exist.
36629 * manual/stdio.texi (Obstack Streams): Node removed.
36630
f6ce9294
AS
366312011-10-26 Andreas Schwab <schwab@redhat.com>
36632
80479147
AS
36633 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36635 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36636
f6ce9294
AS
36637 * math/math_private.h (math_force_eval): Allow non-addressable
36638 arguments.
36639 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36640
618280a1
UD
366412011-10-25 Ulrich Drepper <drepper@gmail.com>
36642
e0016b11
UD
36643 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36644 file is not needed.
36645
36646 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36647 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36648 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36649 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36650 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36651 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36652 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36653 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36654 Add AVX variants.
36655 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36656 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36657 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36658 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36659 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36660 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36661 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36662 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36663 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36664 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36665 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36666 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36667 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36668 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36669 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36670 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36671 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36672 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36673 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36674
36675 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36676 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36677
618280a1
UD
36678 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36679 place. Use VEX encoding when compiling for AVX.
36680
37822576
AS
366812011-10-25 Andreas Schwab <schwab@redhat.com>
36682
1f1e1947
AS
36683 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36684 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36685
37822576
AS
36686 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36687
31ea014d
UD
366882011-10-25 Ulrich Drepper <drepper@gmail.com>
36689
d7826aa1 36690 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36691 useless if() expression.
d7826aa1
UD
36692 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36693 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36694 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36695 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36696 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36697 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36698 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36699 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36700 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36701 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36702 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36703 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36704 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36705 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36706 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36707 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36708 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36709 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36710 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36711
31ea014d
UD
36712 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36713
16437fec
AS
367142011-10-25 Andreas Schwab <schwab@redhat.com>
36715
36716 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36717 condition.
36718 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36719
31d3cc00
UD
367202011-10-25 Ulrich Drepper <drepper@gmail.com>
36721
36722 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36723 .text section. Avoid duplicate constants.
36724 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36725 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36726 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36727 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36728 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36732 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36733 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36734 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36735 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36736 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36737 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36738 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36739 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36740 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36741 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36742 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36744 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36745 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36746 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36747 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36748 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36749 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36750 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36751 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36752 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36753 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36754 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36755 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36756 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36757 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36758 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36759 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36760 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36761 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36762 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36763 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36764 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36766 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36767 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36768 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36769
58985aa9
UD
367702011-10-24 Ulrich Drepper <drepper@gmail.com>
36771
202c9deb
UD
36772 * sysdeps/x86_64/dla.h: Move to ...
36773 * sysdeps/x86_64/fpu/dla.h: ...here.
36774 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36775 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36776
af968f62
UD
36777 * config.make.in: Add have-mfma4 entry.
36778 * configure.in: Substitute libc_cv_cc_fma4.
36779 * math/Makefile (dbl-only-routines): Add sincostab.
36780 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36781 Use __sincostab not sincos.
36782 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36783 name is a macro.
36784 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36785 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36786 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36788 using __copysign.
36789 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36790 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36791 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36792 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36793 and __inv.
36794 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36795 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36796 __copysign.
36797 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36798 define aliases when function name is a macro.
36799 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36800 sysdeps/ieee754/dbl-64/sincos.tbl.
36801 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36802 fma4-enabled routines.
36803 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36804 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36805 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36806 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36807 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36808 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36809 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36810 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36811 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36812 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36813 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36814 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36815 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36816 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36817 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36818 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36819 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36820 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36821 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36822 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36823 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36824 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36825 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36826 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36828 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36829 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36830 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36831 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36832 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36833
58985aa9
UD
36834 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36835 rename.
36836 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36837 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36841 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36842 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36843 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36844
a201fbcf
AS
368452011-10-24 Andreas Schwab <schwab@redhat.com>
36846
36847 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36848
fc2ee42a
LD
368492011-10-23 Ulrich Drepper <drepper@gmail.com>
36850
bb3129bd
UD
36851 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36852
0275fff8
UD
36853 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36854 prediction.
36855 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36856
2fa2ae85
UD
36857 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36858 Remove unused variable magic_bits.
36859 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36860
fc2ee42a
LD
36861 * string/strnlen.c: Define and use STRNLEN macro.
36862 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36863 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36864 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36865 * wcsmbs/wcslen.c: Define and use WCSLEN.
36866 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36867 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36868 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36869 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36870 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36871 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36872 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36873
ce7dd29f
LD
368742011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36875
36876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36877 strnlen-sse2-no-bsf.
36878 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36879 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36880 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36881 Add strnlen support.
36882 (USE_AS_STRNLEN): New macro.
36883 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36884 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36885 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36886 * sysdeps/x86_64/wcslen.S: New file.
36887
979c70a3
MZ
368882011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36889
36890 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36891 XMM-moves are used for copying on small sizes.
36892
2d09f82f
LD
368932011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36894
36895 * wcsmbs/Makefile (strop-tests): Add wcschr.
36896 * wcsmbs/test-wcschr.c: New file.
36897 * string/test-strchr.c: Update.
36898 Add wcschr support.
36899 (WIDE): New macro.
36900
619fccca
LD
369012011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36902
2d09f82f 36903 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36904 * wcsmbs/test-wcslen.c: New file.
36905 * string/test-strlen.c: Update.
36906 Add wcslen support.
36907 (WIDE): New macro.
36908
09f699ea
UD
369092011-10-23 Ulrich Drepper <drepper@gmail.com>
36910
36911 * po/it.po: Update from translation team.
36912
95584d3b
LD
369132011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36914
36915 * sysdeps/x86_64/wcscmp.S: Update.
36916 Fix wrong comparison semantics.
36917 wcscmp shall use signed comparison not unsigned.
36918 Don't use substraction to avoid overflow bug.
36919 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36920 * wcsmbc/wcscmp.c: Likewise.
36921 * string/test-strcmp.c: Likewise.
36922 Add new tests to check cases with negative values.
36923
c8b3296b
UD
369242011-10-23 Ulrich Drepper <drepper@gmail.com>
36925
36926 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36927 * sysdeps/x86_64/dla.h: ...here. New file.
36928 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36933 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36935 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36937
246ad57a
AS
369382011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36939
36940 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36941 __ynl_finite aliases.
36942
a1a87169
UD
369432011-10-22 Ulrich Drepper <drepper@gmail.com>
36944
0d355eb7
UD
36945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36946
a1a87169
UD
36947 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36948 define DLA_FMA.
36949 [DLA_FMA] (EMULV): Use DLA_FMA.
36950 [DLA_FMA] (MUL12): Use EMULV.
36951 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36952 that are not needed.
36953 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36957 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36958 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36959 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36960
ee2aafe0
AS
369612011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36962
36963 * math/s_nan.c: Undef __nan.
36964 * math/s_nanf.c: Undef __nanf.
36965 * math/s_nanl.c: Undef __nanl.
36966 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36967 "math_private.h".
36968
bc62c2fb
UD
369692011-10-22 Ulrich Drepper <drepper@gmail.com>
36970
77425c63
UD
36971 * math/s_catan.c: Add branch predictions.
36972 * math/s_catanf.c: Likewise.
36973 * math/s_catanh.c: Likewise.
36974 * math/s_catanhf.c: Likewise.
36975 * math/s_catanhl.c: Likewise.
36976 * math/s_catanl.c: Likewise.
36977 * math/s_cexp.c: Likewise.
36978 * math/s_cexpf.c: Likewise.
36979 * math/s_cexpl.c: Likewise.
36980 * math/s_clog.c: Likewise.
36981 * math/s_clog10.c: Likewise.
36982 * math/s_clog10f.c: Likewise.
36983 * math/s_clog10l.c: Likewise.
36984 * math/s_clogf.c: Likewise.
36985 * math/s_clogl.c: Likewise.
36986 * math/s_csqrt.c: Likewise.
36987 * math/s_csqrtf.c: Likewise.
36988 * math/s_csqrtl.c: Likewise.
36989 * math/s_ctanf.c: Likewise.
36990 * math/s_ctanh.c: Likewise.
36991 * math/s_ctanhf.c: Likewise.
36992 * math/s_ctanhl.c: Likewise.
36993 * math/s_ctanl.c: Likewise.
36994
bc62c2fb
UD
36995 * math/math_private.h: Define __nan, __nanf, __nanl.
36996 * math/s_cacosh.c: Include <math_private.h>.
36997 * math/s_cacoshl.c: Likewise.
36998 * math/s_casinh.c: Likewise.
36999 * math/s_casinhf.c: Likewise.
37000 * math/s_casinhl.c: Likewise.
37001 * math/s_ccos.c: Rely entire on ccosh.
37002 * math/s_ccosf.c: Rely entire on ccoshf.
37003 * math/s_ccosl.c: Rely entirely on ccoshl.
37004 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37005 Remove tests for FE_INVALID.
37006 * math/s_ccoshf.c: Likewise.
37007 * math/s_ccoshl.c: Likewise.
37008 * math/s_csin.c: Likewise.
37009 * math/s_csinf.c: Likewise.
37010 * math/s_csinh.c Likewise.
37011 * math/s_csinhf.c: Likewise.
37012 * math/s_csinhl.c: Likewise.
37013 * math/s_csinl.c: Likewise.
37014 * math/s_ctan.c: Likewise.
37015 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37016 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37017 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37018
8ec250a4
UD
370192011-10-21 Ulrich Drepper <drepper@gmail.com>
37020
c196fed8
UD
37021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37022 compilation problems.
37023
8ec250a4
UD
37024 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37025 __builtin_expect.
37026
8d4f46c6
UD
370272011-10-20 Ulrich Drepper <drepper@gmail.com>
37028
ed72b654
UD
37029 * sysdeps/i386/configure.in: Test for -mfma4 option.
37030 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37031 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37032 COMMON_CPUID_INDEX_80000001.
37033 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37034 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37035 use it if FMA3 is not supported.
37036 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37037
8d4f46c6
UD
37038 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37039 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37040
d45c60c2
AS
370412011-10-20 Andreas Schwab <schwab@redhat.com>
37042
37043 [BZ #12892]
37044 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37045 it would create a cycle with a link time dependency.
37046
d9a4d2ab
UD
370472011-10-19 Ulrich Drepper <drepper@gmail.com>
37048
855d1560
UD
37049 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37050 instruction.
37051 * string/Makefile (strop-tests): Add rawmemchr.
37052 * string/test-rawmemchr.c: New file.
37053
d9a4d2ab
UD
37054 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37055 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37056 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37057 when compiling str{,n}casecmp and when AVX is available. Hook up
37058 new optimized code in initializers.
37059
8f3b1ffe
AS
370602011-10-19 Andreas Schwab <schwab@redhat.com>
37061
37062 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37063 __feraiseexcept instead of feraiseexcept.
37064
d38f1dba
UD
370652011-10-18 Ulrich Drepper <drepper@gmail.com>
37066
d9a8d0ab
UD
37067 * math/math_private.h: Define defaults for libc_fetestexcept and
37068 libc_feupdateenv.
37069 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37070 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37071 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37072 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37073 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37074 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37075 libc_fetestexcept and libc_feupdateenv.
37076
4855e3dd
UD
37077 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37078 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37079 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37080 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37081 libc_feholdexcept_setround.
37082
581d30e3
UD
37083 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37084 Add s_nearbyint-c and s_nearbyintf-c.
37085 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37086 nearbyintf inlines.
37087 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37088 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37089 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37090 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37091
d38f1dba
UD
37092 * math/math_private.h: Define defaults for libc_fegetround,
37093 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37094 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37095 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37096 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37097 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37098 standard functions.
37099 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37100 Remove comments and hacks for old compiler versions.
37101 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37102 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37103 libc_feholdexceptl.
37104
caa6c9d8
AS
371052011-10-18 Andreas Schwab <schwab@redhat.com>
37106
37107 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37108 (__feraiseexcept_renamed): Add __NTH.
37109 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37110 namespace violations.
37111
97c066e6
UD
371122011-10-17 Ulrich Drepper <drepper@gmail.com>
37113
99ce7b04
UD
37114 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37115
1004d182
UD
37116 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37117
228a984d
UD
37118 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37119 recently added interfaces.
37120 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37121
c8553a6a
UD
37122 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37123 about macro parameter expansion.
37124
ed22dcf6
UD
37125 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37126 __NO_MATH_INLINES is defined. Cleanups.
37127
37128 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37129 and __floorf is target has SSE4.1.
37130 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37131 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37132 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37133 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37134
b171c137
UD
37135 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37136 name.
37137 (floorf): Likewise.
37138
97c066e6
UD
37139 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37140
629f62ef
AS
371412011-10-17 Andreas Schwab <schwab@redhat.com>
37142
49a43d80
AS
37143 * misc/sys/cdefs.h: Fix last change.
37144
629f62ef
AS
37145 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37146 database lookup.
37147
e453f6cd
UD
371482011-10-16 Ulrich Drepper <drepper@gmail.com>
37149
aa78043a
UD
37150 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37151
ad0f5cad
UD
37152 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37153 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37154 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37155 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37156 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37157 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37158 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37159 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37160 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37161 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37162 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37163 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37164 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37165 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37166 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37167 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37168 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37169 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37170 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37171 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37172 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37173 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37174
37175 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37176 ceil, ceilf, floor, floorf.
37177
37178 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37179 Perform IRELATIVE relocations last.
37180
e453f6cd
UD
37181 * elf/do-rel.h: Add another parameter nrelative, replacing the
37182 local variable with the same name. Change name of the function
37183 to end in Rel or Rela (uppercase).
37184 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37185 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37186 elf_dynamic_do_##reloc function.
37187
fd5bdc09
UD
371882011-10-15 Ulrich Drepper <drepper@gmail.com>
37189
79b195b5
UD
37190 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37191 is sufficient, at least on modern CPUs.
37192
d4a28569
UD
37193 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37194
b61099b5
UD
37195 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37196 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37197
bcf01e6d
UD
37198 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37199 __expl_finite.
37200 * math/bits/math-finite.h: Add entries for exp.
37201 * math/e_expl.c: Add __*_finite alias.
37202 * sysdeps/i386/fpu/e_exp.S: Likewise.
37203 * sysdeps/i386/fpu/e_expf.S: Likewise.
37204 * sysdeps/i386/fpu/e_expl.c: Likewise.
37205 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37206 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37207 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37208 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37209 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37210 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37211 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37212
ba1a0d59
UD
37213 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37214 is sufficient, at least on modern CPUs.
37215
fd5bdc09
UD
37216 * ctype/ctype-info.c (__ctype_init): Define.
37217 * include/ctype.h (__ctype_init): Declare.
37218 (__ctype_b_loc): The variable is always initialized.
37219 (__ctype_toupper_loc): Likewise.
37220 (__ctype_tolower_loc): Likewise.
37221 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37222 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37223
7872cfb0
AS
372242011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37225
b468825a
AS
37226 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37227
7872cfb0
AS
37228 * configure.in: Also look in $cxxmachine/include for C++ system
37229 headers.
37230
be13f7bf
LD
372312011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37232
37233 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37234 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37235 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37236 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37237 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37238 (USE_AS_WMEMCMP): New macro.
37239 Fixing indents.
37240 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37241 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37242 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37243 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37245 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37246 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37247 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37248 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37249 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37250 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37251 (USE_AS_WMEMCMP): New macro.
37252 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37253 * sysdeps/string/test-memcmp.c: Update.
37254 Fix simple_wmemcmp.
37255 Add new tests.
37256 * wcsmbs/wmemcmp.c: Update.
37257 (WMEMCMP): New macro.
37258 Fix overflow bug.
37259
556a2007
AJ
372602011-10-12 Andreas Jaeger <aj@suse.de>
37261
37262 [BZ #13268]
37263 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37264
538faaa7
UD
372652011-10-15 Ulrich Drepper <drepper@gmail.com>
37266
ab6737ff
UD
37267 * libio/iofwide.c (do_length): Avoid warning.
37268
538faaa7
UD
37269 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37270
396a21b1
UD
372712011-10-14 Ulrich Drepper <drepper@gmail.com>
37272
cdf2901f
UD
37273 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37274
38ad40ce
UD
37275 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37276 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37277 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37278 * sysdeps/i386/i686/fpu/e_log.S: New file.
37279 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37280 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37281
396a21b1
UD
37282 * ctype/ctype.h: Add support for inlined isXXX functions when
37283 compiling C++ code.
37284
6b1f68c9
AS
372852011-10-14 Andreas Schwab <schwab@redhat.com>
37286
349290c0
AS
37287 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37288
6b1f68c9
AS
37289 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37290
f2282d42
RM
372912011-10-13 Roland McGrath <roland@hack.frob.com>
37292
37293 [BZ #13291]
37294 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37295
5298ffa8
AS
372962011-10-13 Andreas Schwab <schwab@redhat.com>
37297
714fad23
AS
37298 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37299 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37300 feraiseexcept.
37301
81dcc7fb
AS
37302 * sysdeps/x86_64/memrchr.S: Check for zero size.
37303
5298ffa8
AS
37304 * string/stratcliff.c: Add memrchr tests.
37305
951fbcec
LD
373062011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37307
37308 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37309 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37310 rawmemchr-sse2 rawmemchr-sse2-bsf.
37311 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37312 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37313 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37314 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37315 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37316 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37317 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37318 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37319 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37320 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37321 * string/memrchr.c (MEMRCHR): New macro.
37322
0ac5ae23
UD
373232011-10-12 Ulrich Drepper <drepper@gmail.com>
37324
37325 Add integration with gcc's -ffinite-math-only and optimize wrapper
37326 functions in libm.
37327 * Versions.def: Define GLIBC_2.15 version for libm.
37328 * math/Makefile (headers): Add bits/math-finite.h.
37329 * math/bits/math-finite.h: New file.
37330 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37331 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37332 * math/e_acoshl.c: Add __*_finite alias.
37333 * math/e_acosl.c: Likewise.
37334 * math/e_asinl.c: Likewise.
37335 * math/e_atan2l.c: Likewise.
37336 * math/e_atanhl.c: Likewise.
37337 * math/e_coshl.c: Likewise.
37338 * math/e_exp10.c: Likewise.
37339 * math/e_exp10f.c: Likewise.
37340 * math/e_exp10l.c: Likewise.
37341 * math/e_exp2l.c: Likewise.
37342 * math/e_fmodl.c: Likewise.
37343 * math/e_gammal_r.c: Likewise.
37344 * math/e_hypotl.c: Likewise.
37345 * math/e_j0l.c: Likewise.
37346 * math/e_j1l.c: Likewise.
37347 * math/e_jnl.c: Likewise.
37348 * math/e_lgammal_r.c: Likewise.
37349 * math/e_log10l.c: Likewise.
37350 * math/e_log2l.c: Likewise.
37351 * math/e_logl.c: Likewise.
37352 * math/e_powl.c: Likewise.
37353 * math/e_sinhl.c: Likewise.
37354 * math/e_sqrtl.c: Likewise.
37355 * math/e_scalb.c: Completely rewritten and optimized.
37356 * math/e_scalbf.c: Likewise.
37357 * math/e_scalbl.c: Likewise.
37358 * math/w_acos.c: Likewise.
37359 * math/w_acosf.c: Likewise.
37360 * math/w_acosl.c: Likewise.
37361 * math/w_acosh.c: Likewise.
37362 * math/w_acoshf.c: Likewise.
37363 * math/w_acoshl.c: Likewise.
37364 * math/w_asin.c: Likewise.
37365 * math/w_asinf.c: Likewise.
37366 * math/w_asinl.c: Likewise.
37367 * math/w_atan2.c: Likewise.
37368 * math/w_atan2f.c: Likewise.
37369 * math/w_atan2l.c: Likewise.
37370 * math/w_atanh.c: Likewise.
37371 * math/w_atanhf.c: Likewise.
37372 * math/w_atanhl.c: Likewise.
37373 * math/w_exp10.c: Likewise.
37374 * math/w_exp10f.c: Likewise.
37375 * math/w_exp10l.c: Likewise.
37376 * math/w_fmod.c: Likewise.
37377 * math/w_fmodf.c: Likewise.
37378 * math/w_fmodl.c: Likewise.
37379 * math/w_j0.c: Likewise.
37380 * math/w_j0f.c: Likewise.
37381 * math/w_j0l.c: Likewise.
37382 * math/w_j1.c: Likewise.
37383 * math/w_j1f.c: Likewise.
37384 * math/w_j1l.c: Likewise.
37385 * math/w_jn.c: Likewise.
37386 * math/w_jnf.c: Likewise.
37387 * math/w_log.c: Likewise.
37388 * math/w_logf.c: Likewise.
37389 * math/w_logl.c: Likewise.
37390 * math/w_log10.c: Likewise.
37391 * math/w_log10f.c: Likewise.
37392 * math/w_log10l.c: Likewise.
37393 * math/w_log2.c: Likewise.
37394 * math/w_log2f.c: Likewise.
37395 * math/w_log2l.c: Likewise.
37396 * math/w_pow.c: Likewise.
37397 * math/w_powf.c: Likewise.
37398 * math/w_powl.c: Likewise.
37399 * math/w_remainder.c: Likewise.
37400 * math/w_remainderf.c: Likewise.
37401 * math/w_remainderl.c: Likewise.
37402 * math/w_scalb.c: Likewise.
37403 * math/w_scalbf.c: Likewise.
37404 * math/w_scalbl.c: Likewise.
37405 * math/w_sqrt.c: Likewise.
37406 * math/w_sqrtf.c: Likewise.
37407 * math/w_sqrtl.c: Likewise.
37408 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37409 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37410 used.
37411 * math/math_private.h: Declare __kernel_standard_f.
37412 * math/w_cosh.c: Remove cruft and optimize a bit.
37413 * math/w_coshf.c: Likewise.
37414 * math/w_coshl.c: Likewise.
37415 * math/w_exp2.c: Likewise.
37416 * math/w_exp2f.c: Likewise.
37417 * math/w_exp2l.c: Likewise.
37418 * math/w_hypot.c: Likewise.
37419 * math/w_hypotf.c: Likewise.
37420 * math/w_hypotl.c: Likewise.
37421 * math/w_lgamma.c: Likewise.
37422 * math/w_lgamma_r.c: Likewise.
37423 * math/w_lgammaf.c: Likewise.
37424 * math/w_lgammaf_r.c: Likewise.
37425 * math/w_lgammal.c: Likewise.
37426 * math/w_lgammal_r.c: Likewise.
37427 * math/w_sinh.c: Likewise.
37428 * math/w_sinhf.c: Likewise.
37429 * math/w_sinhl.c: Likewise.
37430 * math/w_tgamma.c: Likewise.
37431 * math/w_tgammaf.c: Likewise.
37432 * math/w_tgammal.c: Likewise.
37433 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37434 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37435 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37436 Minor optimizations. Pretty printing. Remove cruft.
37437 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37438 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37439 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37440 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37441 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37442 * sysdeps/i386/fpu/e_asin.S: Likewise.
37443 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37444 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37445 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37446 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37447 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37448 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37449 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37450 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37451 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37452 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37453 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37454 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37455 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37456 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37457 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37458 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37459 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37460 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37461 * sysdeps/i386/fpu/e_log.S: Likewise.
37462 * sysdeps/i386/fpu/e_log10.S: Likewise.
37463 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37464 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37465 * sysdeps/i386/fpu/e_log2.S: Likewise.
37466 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37467 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37468 * sysdeps/i386/fpu/e_logf.S: Likewise.
37469 * sysdeps/i386/fpu/e_logl.S: Likewise.
37470 * sysdeps/i386/fpu/e_pow.S: Likewise.
37471 * sysdeps/i386/fpu/e_powf.S: Likewise.
37472 * sysdeps/i386/fpu/e_powl.S: Likewise.
37473 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37474 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37475 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37476 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37477 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37478 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37479 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37480 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37481 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37482 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37483 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37485 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37486 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37487 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37488 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37489 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37490 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37491 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37492 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37493 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37494 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37495 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37496 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37498 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37499 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37500 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37501 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37502 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37503 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37504 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37505 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37506 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37507 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37508 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37509 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37510 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37511 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37512 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37513 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37514 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37515 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37516 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37517 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37518 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37519 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37520 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37521 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37522 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37523 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37524 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37525 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37526 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37527 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37528 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37529 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37530 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37531 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37532 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37533 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37534 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37535 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37536 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37537 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37538 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37539 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37540 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37541 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37542 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37543 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37544 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37545 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37546 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37547 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37549 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37550 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37551 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37552 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37553 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37554 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37555 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37556 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37557 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37558 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37559 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37560 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37561 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37562 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37563 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37564 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37565 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37566 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37567 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37568 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37569 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37570 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37571 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37572 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37573 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37574 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37575 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37576 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37577 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37578 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37579 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37580 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37581 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37582 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37583 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37584 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37585 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37586 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37587 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37588 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37589 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37590 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37591 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37592 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37593 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37594 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37595 (__isnanf): Likewise.
37596 (__isinf_ns): Likewise.
37597 (__isinf_nsf): Likewise.
37598 (__finite): Likewise.
37599 (__finitef): Likewise.
37600 (__ieee754_sqrt): Define as macro.
37601 (__ieee754_sqrtf): Define as macro.
37602 (__ieee754_sqrtl): Define as macro.
37603 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37604 inlined copy.
37605 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37606 __FINITE_MATH_ONLY__ consistent.
37607 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37608
12cc2fcd
AS
376092011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37610
a843a204
AS
37611 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37612 of rawmemchr.
37613
12cc2fcd
AS
37614 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37615
c853acd5
UD
376162011-10-09 Ulrich Drepper <drepper@gmail.com>
37617
37618 * po/ja.po: Update from translation team.
37619
c658d255
RM
376202011-10-08 Roland McGrath <roland@hack.frob.com>
37621
110946e4
RM
37622 * locale/programs/locarchive.c (prepare_address_space): New function.
37623 (create_archive, enlarge_archive, open_archive): Use it.
37624
50604220
RM
37625 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37626 inside [SHARED], where it is used.
37627
c658d255
RM
37628 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37629
37630 * nss/getent.c (netgroup_keys): Remove unused variable.
37631 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37632
6a621eb7
UD
376332011-10-08 Ulrich Drepper <drepper@gmail.com>
37634
7edb55ce
UD
37635 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37636 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37639 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37640 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37641 * math/Makefile (libm-calls): Add s_isinf_ns.
37642 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37643 * math/multc3.c: Likewise.
37644 * math/s_casin.c: Likewise.
37645 * math/s_casinf.c: Likewise.
37646 * math/s_casinl.c: Likewise.
37647 * math/s_ccos.c: Likewise.
37648 * math/s_ccosf.c: Likewise.
37649 * math/s_ccosl.c: Likewise.
37650 * math/s_ctan.c: Likewise.
37651 * math/s_ctanf.c: Likewise.
37652 * math/s_ctanh.c: Likewise.
37653 * math/s_ctanhf.c: Likewise.
37654 * math/s_ctanhl.c: Likewise.
37655 * math/s_ctanl.c: Likewise.
37656 * math/w_fmod.c: Likewise.
37657 * math/w_fmodf.c: Likewise.
37658 * math/w_fmodl.c: Likewise.
37659 * math/w_remainder.c: Likewise.
37660 * math/w_remainderf.c: Likewise.
37661 * math/w_remainderl.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37663 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37664 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37665 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37666 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37667 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37668 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37669 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37670
187da0ae
UD
37671 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37672 of the number.
37673 * stdio-common/printf_fphex.c: Likewise.
37674 * stdio-common/printf_size.c: Likewise.
37675
9277c064
UD
37676 * math/e_exp10.c: Include math_private.h using <...> not "...".
37677 * math/e_exp10f.c: Likewise.
37678 * math/e_exp10l.c: Likewise.
37679 * math/e_exp2l.c: Likewise.
37680 * math/e_j0l.c: Likewise.
37681 * math/e_j1l.c: Likewise.
37682 * math/e_jnl.c: Likewise.
37683 * math/e_lgammal_r.c: Likewise.
37684 * math/e_rem_pio2l.c: Likewise.
37685 * math/e_scalb.c: Likewise.
37686 * math/e_scalbf.c: Likewise.
37687 * math/e_scalbl.c: Likewise.
37688 * math/k_cosl.c: Likewise.
37689 * math/k_sinl.c: Likewise.
37690 * math/k_tanl.c: Likewise.
37691 * math/s_cacoshf.c: Likewise.
37692 * math/s_catan.c: Likewise.
37693 * math/s_catanf.c: Likewise.
37694 * math/s_catanh.c: Likewise.
37695 * math/s_catanhf.c: Likewise.
37696 * math/s_catanhl.c: Likewise.
37697 * math/s_catanl.c: Likewise.
37698 * math/s_ccosh.c: Likewise.
37699 * math/s_ccoshf.c: Likewise.
37700 * math/s_ccoshl.c: Likewise.
37701 * math/s_cexp.c: Likewise.
37702 * math/s_cexpf.c: Likewise.
37703 * math/s_cexpl.c: Likewise.
37704 * math/s_clog.c: Likewise.
37705 * math/s_clog10.c: Likewise.
37706 * math/s_clog10f.c: Likewise.
37707 * math/s_clog10l.c: Likewise.
37708 * math/s_clogf.c: Likewise.
37709 * math/s_clogl.c: Likewise.
37710 * math/s_csin.c: Likewise.
37711 * math/s_csinf.c: Likewise.
37712 * math/s_csinh.c: Likewise.
37713 * math/s_csinhf.c: Likewise.
37714 * math/s_csinhl.c: Likewise.
37715 * math/s_csinl.c: Likewise.
37716 * math/s_csqrt.c: Likewise.
37717 * math/s_csqrtf.c: Likewise.
37718 * math/s_csqrtl.c: Likewise.
37719 * math/s_ctan.c: Likewise.
37720 * math/s_ctanf.c: Likewise.
37721 * math/s_ctanh.c: Likewise.
37722 * math/s_ctanhf.c: Likewise.
37723 * math/s_ctanhl.c: Likewise.
37724 * math/s_ctanl.c: Likewise.
37725 * math/s_ldexp.c: Likewise.
37726 * math/s_ldexpf.c: Likewise.
37727 * math/s_ldexpl.c: Likewise.
37728 * math/s_significand.c: Likewise.
37729 * math/s_significandf.c: Likewise.
37730 * math/s_significandl.c: Likewise.
37731 * math/w_acos.c: Likewise.
37732 * math/w_acosf.c: Likewise.
37733 * math/w_acosh.c: Likewise.
37734 * math/w_acoshf.c: Likewise.
37735 * math/w_acoshl.c: Likewise.
37736 * math/w_acosl.c: Likewise.
37737 * math/w_asin.c: Likewise.
37738 * math/w_asinf.c: Likewise.
37739 * math/w_asinl.c: Likewise.
37740 * math/w_atan2.c: Likewise.
37741 * math/w_atan2f.c: Likewise.
37742 * math/w_atan2l.c: Likewise.
37743 * math/w_atanh.c: Likewise.
37744 * math/w_atanhf.c: Likewise.
37745 * math/w_atanhl.c: Likewise.
37746 * math/w_cosh.c: Likewise.
37747 * math/w_coshf.c: Likewise.
37748 * math/w_coshl.c: Likewise.
37749 * math/w_dremf.c: Likewise.
37750 * math/w_exp10.c: Likewise.
37751 * math/w_exp10f.c: Likewise.
37752 * math/w_exp10l.c: Likewise.
37753 * math/w_exp2.c: Likewise.
37754 * math/w_exp2f.c: Likewise.
37755 * math/w_fmod.c: Likewise.
37756 * math/w_fmodf.c: Likewise.
37757 * math/w_fmodl.c: Likewise.
37758 * math/w_hypot.c: Likewise.
37759 * math/w_hypotf.c: Likewise.
37760 * math/w_hypotl.c: Likewise.
37761 * math/w_j0.c: Likewise.
37762 * math/w_j0f.c: Likewise.
37763 * math/w_j0l.c: Likewise.
37764 * math/w_j1.c: Likewise.
37765 * math/w_j1f.c: Likewise.
37766 * math/w_j1l.c: Likewise.
37767 * math/w_jn.c: Likewise.
37768 * math/w_jnf.c: Likewise.
37769 * math/w_jnl.c: Likewise.
37770 * math/w_lgamma.c: Likewise.
37771 * math/w_lgamma_r.c: Likewise.
37772 * math/w_lgammaf.c: Likewise.
37773 * math/w_lgammaf_r.c: Likewise.
37774 * math/w_lgammal.c: Likewise.
37775 * math/w_lgammal_r.c: Likewise.
37776 * math/w_log.c: Likewise.
37777 * math/w_log10.c: Likewise.
37778 * math/w_log10f.c: Likewise.
37779 * math/w_log10l.c: Likewise.
37780 * math/w_log2.c: Likewise.
37781 * math/w_log2f.c: Likewise.
37782 * math/w_log2l.c: Likewise.
37783 * math/w_logf.c: Likewise.
37784 * math/w_logl.c: Likewise.
37785 * math/w_pow.c: Likewise.
37786 * math/w_powf.c: Likewise.
37787 * math/w_powl.c: Likewise.
37788 * math/w_remainder.c: Likewise.
37789 * math/w_remainderf.c: Likewise.
37790 * math/w_remainderl.c: Likewise.
37791 * math/w_scalb.c: Likewise.
37792 * math/w_scalbf.c: Likewise.
37793 * math/w_scalbl.c: Likewise.
37794 * math/w_sinh.c: Likewise.
37795 * math/w_sinhf.c: Likewise.
37796 * math/w_sinhl.c: Likewise.
37797 * math/w_sqrt.c: Likewise.
37798 * math/w_sqrtf.c: Likewise.
37799 * math/w_sqrtl.c: Likewise.
37800 * math/w_tgamma.c: Likewise.
37801 * math/w_tgammaf.c: Likewise.
37802 * math/w_tgammal.c: Likewise.
37803
6a621eb7
UD
37804 * po/ja.po: Update from translation team.
37805
bf582445
AJ
378062011-09-29 Andreas Jaeger <aj@suse.de>
37807
f9efbf3a
AJ
37808 [BZ #13179]
37809 * sunrpc/netname.c (netname2host): Fix logic.
37810
bf582445
AJ
37811 [BZ #6779]
37812 [BZ #6783]
37813 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37814 correctly.
37815 * math/w_remainder.c (__remainder): Likewise.
37816 * math/w_remainderf.c (__remainderf): Likewise.
37817 * math/libm-test.inc (remainder_test): Add test cases.
37818
48693bea
AK
378192011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37820
37821 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37822 sdiv_qrnnd.
37823
42622229
LD
378242011-10-07 Ulrich Drepper <drepper@gmail.com>
37825
37826 * string/test-memcmp.c: Avoid unncessary #defines.
37827 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37828
093ecf92
LD
378292011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37830
37831 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37832 Use new sse2 version for core i3 - i7 as it's faster
37833 than sse42 version.
37834 (bit_Prefer_PMINUB_for_stringop): New.
37835 * sysdeps/x86_64/rawmemchr.S: Update.
37836 Replace with faster SSE2 version.
37837 * sysdeps/x86_64/memrchr.S: New file.
37838 * sysdeps/x86_64/memchr.S: Update.
37839 Replace with faster SSE2 version.
37840
fde56e5c
MP
378412011-09-12 Marek Polacek <mpolacek@redhat.com>
37842
37843 * elf/dl-load.c (lose): Add cast to avoid warning.
37844
21fd49a9
UD
378452011-10-07 Ulrich Drepper <drepper@gmail.com>
37846
5a06e643
UD
37847 * po/ca.po: Update from translation team.
37848
684ae515
UD
37849 * inet/getnetgrent_r.c: Hook up nscd.
37850 * nscd/Makefile (routines): Add nscd_netgroup.
37851 (nscd-modules): Add netgroupcache.
37852 (CFLAGS-netgroupcache.c): Define.
37853 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37854 (cache_search): Add const to second parameter.
37855 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37856 INNETGR.
37857 (dbs): Add netgrdb entry.
37858 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37859 (verify_persistent_db): Handle netgrdb.
37860 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37861 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37862 GETFDNETGR.
37863 (netgroup_response_header): Define.
37864 (innetgroup_response_header): Define.
37865 (datahead): Add netgroup_response_header and innetgroup_response_header
37866 elements.
37867 * nscd/nscd.conf: Add entries for netgroup cache.
37868 * nscd/nscd.h (dbtype): Add netgrdb.
37869 (_PATH_NSCD_NETGROUP_DB): Define.
37870 (netgroup_iov_disabled): Declare.
37871 (xmalloc, xcalloc, xrealloc): Move declarations here.
37872 (cache_search): Adjust prototype.
37873 Add netgroup-related prototypes.
37874 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37875 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37876 (__nscd_innetgr): Declare.
37877 * nscd/selinux.c (perms): Use access_vector_t as element type and
37878 add netgroup-related initializers.
37879 * nscd/netgroupcache.c: New file.
37880 * nscd/nscd_netgroup.c: New file.
37881 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37882 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37883 For four parameters use innetgr.
37884 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37885 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37886 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37887 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37888
21fd49a9
UD
37889 * nscd/connections.c (register_traced_file): Don't register file
37890 for disabled databases.
37891
054c0457
UD
378922011-10-06 Ulrich Drepper <drepper@gmail.com>
37893
32b63198
UD
37894 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37895
054c0457
UD
37896 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37897 from tree and freeing node.
37898
64031225
JO
378992011-09-25 Jiri Olsa <jolsa@redhat.com>
37900
37901 * nss/nsswitch.c (__nss_database_lookup): Handle
37902 nss_parse_service_list out of memory case.
37903
0490345c
JO
379042011-09-15 Jiri Olsa <jolsa@redhat.com>
37905
37906 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37907 out of memory case.
37908
3a62d00d
AS
379092011-10-04 Andreas Schwab <schwab@redhat.com>
37910
37911 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37912 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37913 pass it down.
37914 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37915 elf_machine_rela, elf_machine_lazy_rel.
37916 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37917 (ELF_DYNAMIC_DO_REL): Likewise.
37918 (ELF_DYNAMIC_DO_RELA): Likewise.
37919 (ELF_DYNAMIC_RELOCATE): Likewise.
37920 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37921 to ELF_DYNAMIC_DO_REL.
37922 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37923 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37924 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37925 elf_machine_rela.
37926 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37927 skip_ifunc, don't call ifunc function if non-zero.
37928 (elf_machine_rela): Likewise.
37929 (elf_machine_lazy_rel): Likewise.
37930 (elf_machine_lazy_rela): Likewise.
37931 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37932 (elf_machine_lazy_rel): Likewise.
37933 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37934 Likewise.
37935 (elf_machine_lazy_rel): Likewise.
37936 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37937 Likewise.
37938 (elf_machine_lazy_rel): Likewise.
37939 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37940 (elf_machine_lazy_rel): Likewise.
37941 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37942 (elf_machine_lazy_rel): Likewise.
37943 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37944 (elf_machine_lazy_rel): Likewise.
37945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37946 (elf_machine_lazy_rel): Likewise.
37947 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37948 (elf_machine_lazy_rel): Likewise.
37949 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37950 (elf_machine_lazy_rel): Likewise.
37951
68577918
UD
379522011-09-28 Ulrich Drepper <drepper@gmail.com>
37953
37954 * nss/nss_files/files-init.c (_nss_files_init): Use static
37955 initialization for all the *_traced_file variables.
37956
68822d74
AS
379572011-09-28 Andreas Schwab <schwab@redhat.com>
37958
37959 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37960
2056100b
RM
379612011-09-27 Roland McGrath <roland@hack.frob.com>
37962
37963 [BZ #13226]
37964 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37965
32c76b63
AS
379662011-09-27 Andreas Schwab <schwab@redhat.com>
37967
37968 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37969 Reread the line before reparsing it.
37970
bf972c9d
AS
379712011-09-26 Andreas Schwab <schwab@redhat.com>
37972
37973 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37974
e057a1b5
JM
379752011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37976 Maxim Kuvyrkov <maxim@codesourcery.com>
37977 Joseph Myers <joseph@codesourcery.com>
37978
37979 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37980 if needed for __stack_chk_guard.
37981
bc7e1c36
RM
379822011-09-19 Roland McGrath <roland@hack.frob.com>
37983
ecb1482f
RM
37984 * sysdeps/posix/spawni.c (script_execute): Always define it.
37985 It will be optimized away if unused.
37986 (maybe_script_execute): New function.
37987 (__spawni): Call it.
37988
bc7e1c36
RM
37989 * Makerules: Don't include tls.make.
37990 (config-tls): Always set to thread.
37991 * tls.make.c: File removed.
37992
1c3b002b
MF
379932011-09-19 Mike Frysinger <vapier@gentoo.org>
37994
37995 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37996 * config.make.in (CPPFLAGS-config): New substituted variable.
37997
2840865d
UD
379982011-09-15 Ulrich Drepper <drepper@gmail.com>
37999
88738eb6
UD
38000 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38001
cbf645a6 38002 [BZ #13192]
2840865d
UD
38003 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38004 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38005
b402e91a
RM
380062011-09-15 Roland McGrath <roland@hack.frob.com>
38007
38008 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38009 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38010 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38011 (CALL_FAIL): Likewise.
38012 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38013 (CALL_FAIL): Macro removed.
38014 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38015
4c1a1f71
UD
380162011-09-15 Ulrich Drepper <drepper@gmail.com>
38017
38018 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38019 for __FINITE_MATH_ONLY__ == 1.
38020
edc121be
AS
380212011-09-15 Andreas Schwab <schwab@redhat.com>
38022
38023 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38024 __ieee754_sqrt instead of sqrt.
38025 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38026 __ieee754_sqrtf instead of sqrtf.
38027 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38028 __floorf instead of floorf.
38029 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38030 __floorf, __truncf instead of floorf, truncf.
38031
cd205654
UD
380322011-09-14 Ulrich Drepper <drepper@gmail.com>
38033
ee4d0315
UD
38034 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38035
cd205654
UD
38036 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38037 __extern_always_inline.
38038 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38039 32-bit.
38040
48b67d71
AS
380412011-09-14 Andreas Schwab <schwab@redhat.com>
38042
38043 * elf/rtld.c (dl_main): Also relocate in dependency order when
38044 doing symbol dependency testing.
38045
1ae12c75
AS
380462011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38047
38048 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38049 Always define `refsym'.
38050
995a80df
AS
380512011-09-13 Andreas Schwab <schwab@redhat.com>
38052
e529793b
AS
38053 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38054 (__FD_ELT): Renamed from __FDELT.
38055 * misc/bits/select2.h (__FD_ELT): Likewise.
38056 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38057 __FD_MASK instead of __FDELT, __FDMASK.
38058 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38059 Likewise.
38060 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38061 Likewise.
38062
52d4fef8
AS
38063 * elf/Makefile (gen-ldd): Fix pattern.
38064
995a80df
AS
38065 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38066 (init_tls): Likewise.
38067
8682f8b0
UD
380682011-09-12 Ulrich Drepper <drepper@gmail.com>
38069
38070 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38071
de82006d
AS
380722011-09-12 Andreas Schwab <schwab@redhat.com>
38073
a7c8e6a1
AS
38074 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38075 `struct cmsghdr *' instead of `void *'.
38076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38077 Likewise.
38078
0f31fe77
AS
380792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38080
38081 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38082 if non-absolute.
38083 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38084 ldd_rewrite_script.
0f31fe77 38085
32b4c839
UD
380862011-09-11 Ulrich Drepper <drepper@gmail.com>
38087
83cd1420
UD
38088 * configure.in: Remove --with-tls option.
38089 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38090 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38091 out in case it is missing.
38092 * sysdeps/ia64/elf/configure.in: Likewise.
38093 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38094 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38095 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38096 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38097 * sysdeps/sh/elf/configure.in: Likewise.
38098 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38099 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38100 * sysdeps/x86_64/elf/configure.in: Likewise.
38101 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38102 * sysdeps/mach/hurd/tls.h: Likewise.
38103
633f745d
UD
38104 [BZ #13067]
38105 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38106
f318beb8
UD
38107 [BZ #13090]
38108 * configure.in: Fix use of AC_INIT.
38109
32b4c839
UD
38110 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38111
3ce1f295
UD
381122011-09-10 Ulrich Drepper <drepper@gmail.com>
38113
bb016596
UD
38114 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38115 __set_errno.
8e58439c
UD
38116 * malloc/hooks.c: Likewise.
38117
aebae053 38118 [BZ #11929]
02d46fc4
UD
38119 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38120 variables statically.
38121 (narenas): Initialize.
38122 (list_lock): Initialize.
bb016596
UD
38123 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38124 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38125 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38126 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38127 Add initializers to main_arena and mp_.
38128 (malloc_state): Remove pagesize member. Change all users to use
38129 GLRO(dl_pagesize).
38130
38131 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38132 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38133 is always initialized.
38134
22a89187
UD
38135 * malloc/malloc.c: Removed unused configurations and dead code.
38136 * malloc/arena.c: Likewise.
38137 * malloc/hooks.c: Likewise.
02d46fc4 38138 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38139
d063d164
UD
38140 * include/tls.h: Removed. USE___THREAD must always be defined.
38141 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38142 * elf/dl-libc.c: Likewise.
38143 * elf/dl-tsd.c: Likewise.
38144 * include/errno.h: Likewise.
38145 * include/netdb.h: Likewise.
38146 * include/resolv.h: Likewise.
38147 * inet/herrno-loc.c: Likewise.
38148 * inet/herrno.c: Likewise.
38149 * malloc/arena.c: Likewise.
38150 * malloc/hooks.c: Likewise.
38151 * malloc/malloc.c: Likewise.
38152 * resolv/res-state.c: Likewise.
38153 * resolv/res_libc.c: Likewise.
38154 * sysdeps/i386/dl-machine.h: Likewise.
38155 * sysdeps/ia64/dl-machine.h: Likewise.
38156 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38157 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38158 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38159 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38160 * sysdeps/sh/dl-machine.h: Likewise.
38161 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38162 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38163 * sysdeps/unix/i386/sysdep.S: Likewise.
38164 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38165 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38166 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38167 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38168 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38169 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38170 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38172 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38174 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38175 * sysdeps/x86_64/dl-machine.h: Likewise.
38176 * tls.make.c: Likewise.
38177
3ce1f295
UD
38178 * configure.in: Remove --with-__thread option. Make tests for
38179 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38180 tls_model attribute fail if no support is available. Remove
38181 USE_IN_LIBIO.
38182 * Makeconfig: Adjust for dropped configure option. All features are
38183 now mandatory.
38184 * Makerules: Likewise.
38185 * Versions.def: Likewise.
38186 * argp/argp-fmtstream.c: Likewise.
38187 * argp/argp-fmtstream.h: Likewise.
38188 * argp/argp-help.c: Likewise.
38189 * assert/assert.c: Likewise.
38190 * config.h.in: Likewise.
38191 * config.make.in: Likewise.
38192 * configure: Likewise.
38193 * configure.in: Likewise.
38194 * csu/Versions: Likewise.
38195 * csu/init.c: Likewise.
38196 * elf/tst-audit2.c: Likewise.
38197 * elf/tst-tls10.c: Likewise.
38198 * elf/tst-tls10.h: Likewise.
38199 * elf/tst-tls11.c: Likewise.
38200 * elf/tst-tls12.c: Likewise.
38201 * elf/tst-tls14.c: Likewise.
38202 * elf/tst-tlsmod11.c: Likewise.
38203 * elf/tst-tlsmod12.c: Likewise.
38204 * elf/tst-tlsmod13.c: Likewise.
38205 * elf/tst-tlsmod13a.c: Likewise.
38206 * elf/tst-tlsmod14a.c: Likewise.
38207 * elf/tst-tlsmod15b.c: Likewise.
38208 * elf/tst-tlsmod16a.c: Likewise.
38209 * elf/tst-tlsmod16b.c: Likewise.
38210 * elf/tst-tlsmod7.c: Likewise.
38211 * elf/tst-tlsmod8.c: Likewise.
38212 * elf/tst-tlsmod9.c: Likewise.
38213 * gmon/gmon.c: Likewise.
38214 * grp/fgetgrent_r.c: Likewise.
38215 * grp/putgrent.c: Likewise.
38216 * hurd/fopenport.c: Likewise.
38217 * include/libc-symbols.h: Likewise.
38218 * include/tls.h: Likewise.
38219 * intl/gettextP.h: Likewise.
38220 * intl/loadinfo.h: Likewise.
38221 * locale/global-locale.c: Likewise.
38222 * locale/localeinfo.h: Likewise.
38223 * mach/devstream.c: Likewise.
38224 * malloc/arena.c: Likewise.
38225 * malloc/set-freeres.c: Likewise.
38226 * misc/err.c: Likewise.
38227 * misc/getttyent.c: Likewise.
38228 * misc/mntent_r.c: Likewise.
38229 * posix/getopt.c: Likewise.
38230 * posix/wordexp.c: Likewise.
38231 * pwd/fgetpwent_r.c: Likewise.
38232 * resolv/Versions: Likewise.
38233 * resolv/res_hconf.c: Likewise.
38234 * shadow/fgetspent_r.c: Likewise.
38235 * shadow/putspent.c: Likewise.
38236 * stdio-common/printf_fphex.c: Likewise.
38237 * stdio-common/tmpfile.c: Likewise.
38238 * stdlib/abort.c: Likewise.
38239 * stdlib/fmtmsg.c: Likewise.
38240 * sunrpc/auth_unix.c: Likewise.
38241 * sunrpc/clnt_perr.c: Likewise.
38242 * sunrpc/clnt_tcp.c: Likewise.
38243 * sunrpc/clnt_udp.c: Likewise.
38244 * sunrpc/clnt_unix.c: Likewise.
38245 * sunrpc/openchild.c: Likewise.
38246 * sunrpc/svc_simple.c: Likewise.
38247 * sunrpc/svc_tcp.c: Likewise.
38248 * sunrpc/svc_udp.c: Likewise.
38249 * sunrpc/svc_unix.c: Likewise.
38250 * sunrpc/xdr.c: Likewise.
38251 * sunrpc/xdr_array.c: Likewise.
38252 * sunrpc/xdr_rec.c: Likewise.
38253 * sunrpc/xdr_ref.c: Likewise.
38254 * sunrpc/xdr_stdio.c: Likewise.
38255
1248c1c4
PB
382562011-09-09 Ulrich Drepper <drepper@gmail.com>
38257
38258 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38259
382602011-07-03 Andreas Jaeger <aj@suse.de>
38261
38262 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38263 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38264 regenerate with gen-libm-tests.pl.
38265
382662010-05-12 Petr Baudis <pasky@suse.cz>
38267
38268 [BZ #11589]
38269 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38270 around j0() zero points by switching to j1().
38271 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38272 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38274 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38275
f22e1074
UD
382762011-09-09 Ulrich Drepper <drepper@gmail.com>
38277
f19009c1
UD
38278 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38279 instead of 0.
38280 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38281 instead of 0.
f19009c1
UD
38282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38283 Patch in part by Pavel Roskin <proski@gnu.org>.
38284
3f8cc204
UD
38285 [BZ #13138]
38286 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38287 realloc.
38288 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38289 Free memory block if necessary.
38290
f22e1074
UD
38291 [BZ #12847]
38292 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38293 be NULL. Don't lock in this case.
38294
0a2349f9
RM
382952011-09-09 Roland McGrath <roland@hack.frob.com>
38296
38297 * elf/elf.h (ELFOSABI_GNU): New macro.
38298 (ELFOSABI_LINUX): Define to that.
38299
f3cdd467
DZ
383002011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38301
38302 * string/strncat.c (strncat): Undef the symbol in case it has been
38303 defined in bits/string.h.
38304
74718d13
UD
383052011-09-09 Ulrich Drepper <drepper@gmail.com>
38306
633e9e0f
UD
38307 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38308
0a2349f9 38309 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38310 link map.
38311
f9924780
AJ
383122011-08-17 Andreas Jaeger <aj@suse.de>
38313
38314 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38315
7f5517aa
PP
383162011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38317 Ian Lance Taylor <iant@google.com>
38318
38319 * math/libm-test.inc (lround_test): New testcase.
38320 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38321
762011fe
UD
383222011-09-08 Ulrich Drepper <drepper@gmail.com>
38323
92963737
UD
38324 * Makefile: Remove support for automatic cvs check-ins.
38325 * Makerules: Likewise.
38326 * config.make.in: Likewise.
38327 * configure.in: Likewise.
38328 * intl/Makefile: Likewise.
38329 * locale/Makefile: Likewise.
38330 * po/Makefile: Likewise.
38331 * posix/Makefile: Likewise.
38332 * sysdeps/gnu/Makefile: Likewise.
38333 * sysdeps/mach/hurd/Makefile: Likewise.
38334 * sysdeps/sparc/sparc32/Makefile: Likewise.
38335
b0727fd8
JS
38336 [BZ #13118]
38337 * posix/Makefile (bug-regex32-ENV): Define.
38338 Patch by John Stanley <jpsinthemix@verizon.net>.
38339
a0f33f99
UD
38340 * misc/Makefile (headers): Add bits/select2.h.
38341 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38342 * misc/bits/select2.h: New file.
38343 * include/bits/select2.h: New file.
38344 * debug/Makefile (routines): Add fdelt_chk.
38345 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38346 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38347 FD_ISSET.
38348 * debug/fdelt_chk.c: New file.
38349
762011fe
UD
38350 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38351 * wcsmbs/test-wmemcmp.c: Likewise.
38352 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38353 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38354
383552011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38356
38357 * string/Makefile (strop-tests): Add memcmp.
38358 * string/test-wmemcmp.c: New file.
38359 * string/test-memcmp.c: Add wmemcmp support.
38360
7f513ec8
RM
383612011-09-08 Roland McGrath <roland@hack.frob.com>
38362
0442afb4
RM
38363 [BZ #13153]
38364 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38365 2011-07-19 change.
38366
7f513ec8
RM
38367 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38368 garbage value in a __mach_port_mod_refs call in the cases of the
38369 task-self and thread-self ports.
38370
a12b2239
ST
383712011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38372
38373 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38374
610f9ab4
AS
383752011-09-08 Andreas Schwab <schwab@redhat.com>
38376
7f513ec8 38377 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38378
48882a1a
LD
383792011-09-07 Ulrich Drepper <drepper@gmail.com>
38380
b49865be
UD
38381 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38382
fdc86bc9
UD
38383 * elf/dl-libc.c (dlerror_run): Pass back error code from
38384 dl_catch_error.
38385
c966526a
UD
38386 [BZ #13123]
38387 * elf/dl-load.c (lose): Free l_origin if it is valid.
38388
48882a1a
LD
38389 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38390 names.
38391 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38392 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38393 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38394 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38395 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38396 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38397
77a2a8b4
AZ
383982011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38399
38400 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38401 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38402 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38403 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38404 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38405 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38406 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38407 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38408 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38409 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38410
24f579d8
AM
384112011-08-15 Alan Modra <amodra@gmail.com>
38412
38413 [BZ #13092]
38414 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38415 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38416 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38417 ppc_mcount to static-only-routines.
38418 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38419 __mcount_internal.
38420 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38421 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38422
3d4837df
UD
384232011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38424
38425 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38426 for finite and infinity parameters.
38427
22700377
WS
384282011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38429
38430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38431 and add nop instructions for throughput optimization.
38432 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38433
5025581e
WS
384342011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38435
38436 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38437 aligned copy for power7 with vector-scalar instructions.
38438 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38439
08a300c9
L
384402011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38441
38442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38443 AVX check.
38444
59178ef9
AS
384452011-09-07 Andreas Schwab <schwab@redhat.com>
38446
38447 [BZ #13144]
38448 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38449 last change.
38450
e38ba7ab
UD
384512011-09-07 Ulrich Drepper <drepper@gmail.com>
38452
38453 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38454 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38455 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38456 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38457 clock_gettime.
38458
d53a73ac
UD
384592011-09-06 Ulrich Drepper <drepper@gmail.com>
38460
fc8bffcc
UD
38461 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38462 Forgot to demangle the pointer.
38463
ceaa0c5d
UD
38464 * sysdeps/i386/sysdep.h: Define atom_text_section.
38465 * sysdeps/x86_64/sysdep.h: Likewise.
38466 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38467 section with atom_text_section.
38468 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38469 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38470 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38471 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38472 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38473
a77d3c17
UD
38474 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38475 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38476 already be defined. Change to take two parameters and don't assign
38477 result to variable. Adjust all users.
38478 Define INTERNAL_GETTIME if not already defined.
38479 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38480 call.
38481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38482 HAVE_CLOCK_GETTIME_VSYSCALL.
38483 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38484
d53a73ac
UD
38485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38486 gettimeofday vsyscall, just use time.
38487
a8f84144
AS
384882011-09-06 Andreas Schwab <schwab@redhat.com>
38489
38490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38491 <errno.h>.
38492
ef606249
UD
384932011-09-06 Ulrich Drepper <drepper@gmail.com>
38494
38495 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38496 syscall on x86-64.
38497 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38498 syscall.
38499 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38500 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38501 syscall if possible.
38502
6585cb60
UD
385032011-09-05 Ulrich Drepper <drepper@gmail.com>
38504
38505 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38506 e_ident. Don't pass to find_mapsXX.
38507 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38508
a5f524e4
LD
385092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38510
38511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38512 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38513 * sysdeps/x86_64/multiarch/strchr.S: Update.
38514 Check bit_slow_BSF bit.
38515 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38516 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38517 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38518
554881ef
UD
385192011-09-05 Ulrich Drepper <drepper@gmail.com>
38520
d96de963
UD
38521 [BZ #13134]
38522 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38523 before glibc 2.15.
38524 (tryshell): Define.
38525 (__spawni): Change last parameter to be flag. Test
38526 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38527 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38528 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38529 * posix/spawni.c: Likewise.
38530 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38531 * posix/spawnp.c: Likewise. Change normal version to use
38532 SPAWN_XFLAGS_USE_PATH.
38533 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38534 SPAWN_XFLAGS_TRY_SHELL.
38535
d48e5868
UD
38536 [BZ #13150]
38537 * posix/glob.h: Remove gcc 1.x support.
38538
554881ef
UD
38539 [BZ #13068]
38540 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38541
693fb948
LD
385422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38543
38544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38545 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38546 strrchr-sse2-bsf
38547 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38548 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38549 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38550 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38551 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38552 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38553
1b48c537
UD
385542011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38555
49d42c37
UD
38556 * sysdeps/x86_64/wcscmp.S: New file.
38557
1b48c537
UD
38558 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38559 wcscmp-c wcscmp-sse2
38560 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38561 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38562 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38563 * wcsmbs/wcscmp.c: Allow renaming.
38564
15c95c5d
DM
385652011-09-05 David S. Miller <davem@davemloft.net>
38566
38567 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38568 stack slot, rather than the struct return pointer slot.
38569 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38570 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38572 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38573
2f0ad8f3
UD
385742011-09-05 Ulrich Drepper <drepper@gmail.com>
38575
d88ae418
UD
38576 * po/ja.po: Update from translation team.
38577
2f0ad8f3
UD
38578 [BZ #13144]
38579 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38580 kernel in 64-bit binaries.
38581
5f4318d1
DM
385822011-09-01 David S. Miller <davem@davemloft.net>
38583
38584 * elf/elf.h (HWCAP_SPARC_*): Move to..
38585 * sysdeps/sparc/sysdep.h: this new file and add new values.
38586 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38587 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38588 _DL_HWCAP_COUNT to 24.
38589 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38590 entries.
38591 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38592 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38593 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38595 instead of magic constants.
38596 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38597
3ba57516
DM
385982011-08-31 David S. Miller <davem@davemloft.net>
38599
38600 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38602 Reimplement to do errno handling inline.
38603 (SYSCALL_ERROR_HANDLER): New macro.
38604 (__SYSCALL_STRING): Do not do errno handling in asm.
38605 (__CLONE_SYSCALL_STRING): Delete.
38606 (__INTERNAL_SYSCALL_STRING): Delete.
38607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38608 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38609 (PSEUDO): Reimplement to do errno handling inline.
38610 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38611 (SYSCALL_ERROR_HANDLER): New macro.
38612 (__SYSCALL_STRING): Do not do errno handling in asm.
38613 (__CLONE_SYSCALL_STRING): Delete.
38614 (__INTERNAL_SYSCALL_STRING): Delete.
38615 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38616 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38617 i386.
38618 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38619 (inline_syscall*): Add 'err' argument.
38620 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38621 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38622 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38623 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38624
38625 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38626 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38627
2bc17433
AS
386282011-08-30 Andreas Schwab <schwab@redhat.com>
38629
38630 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38631
fbeb5f4d
JO
386322011-08-29 Jiri Olsa <jolsa@redhat.com>
38633
38634 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38635 directive.
38636
ad69cc26
DM
386372011-08-24 David S. Miller <davem@davemloft.net>
38638
38639 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38640
39dd69df
AS
386412011-08-24 Andreas Schwab <schwab@redhat.com>
38642
38643 * elf/Makefile: Add rules to build and run unload8 test.
38644 * elf/unload8.c: New file.
38645 * elf/unload8mod1.c: New file.
38646 * elf/unload8mod1x.c: New file.
38647 * elf/unload8mod2.c: New file.
38648 * elf/unload8mod3.c: New file.
38649
38650 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38651 it wasn't used.
38652
2c0b250a
DM
386532011-08-23 David S. Miller <davem@davemloft.net>
38654
38655 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38656 subtract stack bias.
38657 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38658 %sp not %fp in calculations.
38659 (_JMPBUF_UNWINDS_ADJ): Likewise.
38660
22044b48
DM
38661 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38662 (aio_suspend): Call it to force an exception region around the
38663 AIO_MISC_WAIT() invocation.
38664
2cae4995
AS
386652011-08-23 Andreas Schwab <schwab@redhat.com>
38666
38667 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38668 backslash.
38669
873a772e
AJ
386702011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38671
38672 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38673 protection macro.
38674 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38675 and <dl-machine.h>.
38676 (Elf64_FuncDesc): Remove.
38677
25ad0df1
DM
386782011-08-22 David S. Miller <davem@davemloft.net>
38679
38680 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38681 sigaltstack check, add missing cfi directives.
38682 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38683 missing cfi directives, and sigaltstack handling.
38684
e888bcbe
AS
386852011-08-16 Andreas Schwab <schwab@redhat.com>
38686
38687 [BZ #11724]
38688 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38689 object is seen twice.
38690 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38691
38692 * elf/Makefile (distribute): Add tst-initorder2.c.
38693 (tests): Add tst-initorder2.
38694 (modules-names): Add tst-initorder2a tst-initorder2b
38695 tst-initorder2c tst-initorder2d. Add rules to build them.
38696 ($(objpfx)tst-initorder2.out): New rule.
38697 * elf/tst-initorder2.c: New file.
38698 * elf/tst-initorder2.exp: New file.
38699
87162f46
AS
387002011-08-22 Andreas Schwab <schwab@redhat.com>
38701
70538b7f
AS
38702 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38703
f55ffe58
AS
38704 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38705 dependencies back to end of function.
38706
87162f46
AS
38707 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38708 $(elfobjdir)/ld.so.
38709
91b392a4
UD
387102011-08-21 Ulrich Drepper <drepper@gmail.com>
38711
38712 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38713 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38714 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38715 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38716 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38717 of __vdso_gettimeofday.
38718 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38719 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38720 attribute_hidden.
38721 (_libc_vdso_platform_setup): Remove initialization of
38722 __vdso_gettimeofday and __vdso_time.
38723
5c43483f
UD
387242011-08-20 Ulrich Drepper <drepper@gmail.com>
38725
775a77e7
UD
38726 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38727 and fgetc_unlocked.
38728 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38729 getc_unlocked.
89f447ed 38730
49c74ba9
UD
38731 * elf/dl-open.c (add_to_global): Report additions to the global scope
38732 for LD_DEBUG=scopes.
38733 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38734 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38735
5c43483f
UD
38736 [BZ #13114]
38737 * stdio-common/Makefile (tests): Add bug24.
38738 * stdio-common/bug24.c: New file.
38739
a101b025
AJ
387402011-08-19 Andreas Jaeger <aj@suse.de>
38741
38742 [BZ #13114]
38743 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38744 non-existant file when using close-on-exec mode.
38745
c88f1766
UD
387462011-08-20 Ulrich Drepper <drepper@gmail.com>
38747
0276a718
UD
38748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38749 the very first instruction.
38750
c88f1766
UD
38751 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38752 the CFI state in the end.
38753 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38754 inclusion of dl-trampoline.h.
38755 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38756
51ccffa0
AS
387572011-08-19 Andreas Schwab <schwab@redhat.com>
38758
94d7165f
AS
38759 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38760 expectations for long double.
38761
51ccffa0
AS
38762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38763 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38764
fd708658 387652011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38766
38767 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38768 artificual limit depends upon the system page size.
38769
44f0a71e
UD
387702011-08-17 Ulrich Drepper <drepper@gmail.com>
38771
38772 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38773 * resolv/Makefile: Define CFLAGS-libresolv.
38774
8de79a24
AS
387752011-08-17 Andreas Schwab <schwab@redhat.com>
38776
38777 * nss/makedb.c (compute_tables): Make variables used in nested
38778 function static.
38779
27724598
UD
387802011-08-17 Ulrich Drepper <drepper@gmail.com>
38781
c5305d88
UD
38782 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38783 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38784 if buffer was too small.
38785
27724598
UD
38786 * elf/pldd.c (main): Attach to all threads in the process.
38787 Rewrite /proc handling to use *at functions.
38788
076fe015
UD
387892011-08-16 Ulrich Drepper <drepper@gmail.com>
38790
174baab3
UD
38791 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38792 specifies first scope to show.
38793 (dl_open_worker): Update callers. Move printing scope of new
38794 object to before the relocation.
44f0a71e 38795 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38796 * sysdeps/generic/ldsodefs.h: Update declaration.
38797
076fe015
UD
38798 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38799 string for the scope number.
38800
a60df2c3
UD
388012011-08-14 Ulrich Drepper <drepper@gmail.com>
38802
38803 * nscd/servicescache.c (cache_addserv): Make sure written is always
38804 initialized.
38805
5e4287d1
RM
388062011-08-14 Roland McGrath <roland@hack.frob.com>
38807
85ae0589
RM
38808 * sysdeps/i386/i486/bits/atomic.h
38809 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38810 statement expression, so as to suppress "set but not used" warning.
38811 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38812
69f63097
RM
38813 * string/strncat.c (STRNCAT): Use prototype definition.
38814
675456ef
RM
38815 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38816 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38817 -Iprograms here.
38818 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38819 (localedef-modules): Add localedef.
38820 (locale-modules): Add locale.
38821
5e4287d1
RM
38822 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38823 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38824 to avoid a warning.
38825
9c96ff23
DM
388262011-08-14 David S. Miller <davem@davemloft.net>
38827
38828 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38829 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38830
f9ddf089
UD
388312011-08-13 Ulrich Drepper <drepper@gmail.com>
38832
44f0a71e 38833 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38834 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38835 * elf/rtld.c (dl_main): Set l_name of vDSO.
38836 Call _dl_show_scope when DL_DEBUG_SCOPES.
38837 (process_dl_debug): Recognize scopes flag and also set it for all.
38838 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38839 Declare _dl_show_scope.
38840
1dc27704
UD
38841 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38842 (do_dlopen): Pass caller_dlopen to dl_open.
38843 (__libc_dlopen_mode): Initialize caller_dlopen.
38844
f9ddf089
UD
38845 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38846 of libc. Make tolower call locale-independent. Optimize a bit by
38847 using isdigit instead of isalnum.
38848 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38849
9ac533d3
UD
388502011-08-12 Ulrich Drepper <drepper@gmail.com>
38851
38852 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38853 was a dependency or dynamically loaded.
38854
89edf2e9
UD
388552011-08-11 Ulrich Drepper <drepper@gmail.com>
38856
8e999d29
UD
38857 * intl/l10nflist.c: Allow architecture-specific pop function.
38858 * sysdeps/x86_64/l10nflist.c: New file.
38859
89edf2e9
UD
38860 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38861 classification.
38862
14d96785
AS
388632011-08-10 Andreas Schwab <schwab@redhat.com>
38864
38865 * include/dirent.h: Add libc_hidden_proto for scandirat and
38866 scandirat64. Don't declare __scandirat64.
38867 * dirent/scandirat.c: Add libc_hidden_def.
38868 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38869 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38870
6761ac04
DM
388712011-08-10 David S. Miller <davem@davemloft.net>
38872
38873 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38874 enum.
38875 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38876 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38877 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38878
c55fbd1e
UD
388792011-08-09 Ulrich Drepper <drepper@gmail.com>
38880
38881 * Versions.def [libc]: Add GLIBC_2.15.
38882 * dirent/Makefile (routines): Add scandirat and scandirat64.
38883 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38884 GLIBC_2.15.
38885 * dirent/dirent.h: Declare scandirat and scandirat64.
38886 * dirent/scandirat.c: New file.
38887 * dirent/scandirat64.c: New file.
38888 * sysdeps/wordsize-64/scandirat.c: New file.
38889 * sysdeps/wordsize-64/scandirat64.c: New file.
38890 * dirent/opendir.c: Define opendirat.
38891 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38892 using scandirat.
38893 * dirent/scandir64.c: Adjust for scandir.c change.
38894 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38895 __scandirat64, and __scandir_cancel_handler.
38896 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38897 additional parameter and use openat instead of open (outside of ld.so).
38898 Add new __opendir as wrapper around __opendirat.
38899 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38900 here without requiring old scandirat implementation.
38901
879165f2
UD
389022011-08-08 Ulrich Drepper <drepper@gmail.com>
38903
38904 * dirent/scandir.c (cancel_handler): Renamed to
38905 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38906 defined. Adjust users.
38907 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38908 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38909
cb7e923b
UD
389102011-08-04 Ulrich Drepper <drepper@gmail.com>
38911
16292edd
UD
38912 * string/test-string.h (IMPL): Use __STRING to expand name and then
38913 stringify it.
38914
cb7e923b
UD
38915 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38916 of cleanups.
38917
cff82933
LD
389182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38919
38920 * string/Makefile: Update.
38921 (strop-tests): Append strncat.
38922 * string/test-wcscmp.c: New file.
38923 New comprehensive test for wcscmp.
38924 * string/test-strcmp.c: Update.
38925 (WIDE): New define.
38926
9be9bfcc
AS
389272011-07-22 Andreas Schwab <schwab@redhat.com>
38928
38929 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38930 line.
38931
2e96f1c7
AS
389322011-07-26 Andreas Schwab <schwab@redhat.com>
38933
38934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38935 encoding to ACE if AI_IDN.
38936
85188888
JJ
389372011-08-01 Jakub Jelinek <jakub@redhat.com>
38938
38939 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38940 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38941
5fa16e9b
LD
389422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38943
38944 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38945 Fix overflow bug in strncat.
38946 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38947
38948 * string/test-strncat.c: Update.
38949 Add new tests for checking overflow bugs.
38950
389512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38952
38953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38954 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38955 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38956 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38958 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38959 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38960 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38961 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38962
38963 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38964 (USE_AS_STRCAT): Define.
38965 Add strcat and strncat support.
38966 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38967
8c1a459f
AS
389682011-07-25 Andreas Schwab <schwab@redhat.com>
38969
38970 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38971 __n bigger than INT_MAX+1.
38972 (__strncmp_g): Likewise.
38973
bba33c28
UD
389742011-07-23 Ulrich Drepper <drepper@gmail.com>
38975
798be72d
UD
38976 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38977 * libio/stido.h: Likewise.
38978
8accd4dc
UD
38979 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38980 (AF_NFC): Define.
38981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38982 (AF_NFC): Define.
38983
cbff0d96
UD
38984 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38985 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38986 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38987 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38989
9191c04a
UD
38990 [BZ #13021]
38991 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38992 installed.
38993
bba33c28
UD
38994 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38995 typo.
38996 (_dl_x86_64_save_sse): Likewise.
38997
90f139dd
UD
389982011-07-22 Ulrich Drepper <drepper@gmail.com>
38999
1aae088a
UD
39000 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39001 OSXSAVE.
39002 (_dl_x86_64_save_sse): Likewise.
39003
8e2045f5
UD
39004 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39005
90f139dd
UD
39006 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39007
1d002f25
AS
390082011-07-21 Andreas Schwab <schwab@redhat.com>
39009
39010 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39011 change.
39012 (_dl_x86_64_save_sse): Use correct AVX check.
39013
21137f89
UD
390142011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39015
39016 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39017 bug in strncpy/strncat.
39018 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39019
a65c0b7a
UD
390202011-07-21 Ulrich Drepper <drepper@gmail.com>
39021
39022 * string/tester.c (test_strcat): Add tests for different alignments
39023 of source and destination.
39024 (test_strncat): Likewise.
39025
6986b98a
UD
390262011-07-20 Ulrich Drepper <drepper@gmail.com>
39027
90bb2039
UD
39028 [BZ #12852]
39029 * posix/glob.c (glob): Check passed in values before using them in
39030 expressions to avoid some overflows.
39031 (glob_in_dir): Likewise.
39032
5644ef54
UD
39033 [BZ #13007]
39034 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39035 check for AVX enablement so that we don't crash with old kernels and
39036 new hardware.
39037 * elf/tst-audit4.c: Add same checks here.
39038 * elf/tst-audit6.c: Likewise.
39039
39040 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39041
bfc9dc9b
AS
390422011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39043
39044 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39045
702e64bb
UD
390462011-07-20 Ulrich Drepper <drepper@gmail.com>
39047
39048 * po/cs.po: Update from translation team.
39049 * po/bg.po: Likewise.
39050
295e904f
MP
390512011-07-12 Marek Polacek <mpolacek@redhat.com>
39052
39053 * misc/sys/cdefs.h: Add support for const attribute.
39054 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39055 to gnu_dev_{major,minor,makedev} functions.
39056
3ff94596
MP
390572011-07-20 Marek Polacek <mpolacek@redhat.com>
39058
39059 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39060
28b59fca
AS
390612011-07-20 Andreas Schwab <schwab@redhat.com>
39062
39063 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39064 strlen results.
39065
19df733e
AK
390662011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39067
39068 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39069 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39070 register in order to avoid conflicts with the soft frame pointer
39071 being held in r11 when necessary.
39072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39073 (INTERNAL_VSYSCALL_NCS): Likewise.
39074
c8835729
MP
390752011-07-14 Marek Polacek <mpolacek@redhat.com>
39076
39077 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39078 * elf/dl-fini.c (_dl_fini): Adjust caller.
39079 * elf/dl-close.c (_dl_close_worker): Likewise.
39080 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39081
b902330c
MP
390822011-07-15 Marek Polacek <mpolacek@redhat.com>
39083
8991e135
MP
39084 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39085 "aux_cache->nlibs < 0".
39086
b902330c
MP
39087 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39088 in the reload-count case.
39089
99710781
LD
390902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39091
39092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39093 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39094 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39095 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39096 * sysdeps/x86_64/multiarch/strcat.S: New file.
39097 * sysdeps/x86_64/multiarch/strncat.S: New file.
39098 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39099 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39100 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39101 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39102 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39103 (USE_AS_STRCAT): Define.
39104 Add strcat and strncat support.
39105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39106 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39107 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39108 * string/strncat.c: Update.
39109 (USE_AS_STRNCAT): Define.
39110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39111 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39112 and i7.
39113 * sysdeps/x86_64/multiarch/init-arch.h
39114 (bit_Prefer_PMINUB_for_stringop): New.
39115 (index_Prefer_PMINUB_for_stringop): Likewise.
39116 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39117 bit_Prefer_PMINUB_for_stringop.
39118
7dc6bd90
UD
391192011-07-19 Ulrich Drepper <drepper@gmail.com>
39120
39121 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39122 buffer64.
39123 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39124 of casting of buffer.
39125 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39126 buffer32 and buffer64.
39127 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39128 writes instead of casting of buffer.
39129 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39130 buffer32.
39131 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39132 casting of buffer.
39133
e0e72284
AS
391342011-07-19 Andreas Schwab <schwab@redhat.com>
39135
39136 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39137
feb1eb0b
UD
391382011-07-19 Ulrich Drepper <drepper@gmail.com>
39139
39140 * nscd/nscd.c (termination_handler): Don't do anything for a database
39141 if it has not yet been initialized.
39142
298711ff
UD
391432011-07-18 Ulrich Drepper <drepper@gmail.com>
39144
39145 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39146
391472011-07-15 Marek Polacek <mpolacek@redhat.com>
39148
39149 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39150
f9d68389
UD
391512011-07-18 Ulrich Drepper <drepper@gmail.com>
39152
39153 * po/nl.po: Update from translation team.
39154 * po/sv.po: Likewise.
39155
db290cf5
RM
391562011-07-16 Roland McGrath <roland@hack.frob.com>
39157
39158 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39159 now disallowed by GCC.
5c550700 39160
fd5e21c7
RM
39161 * configure.in (use-default-link): Default to yes if a test -shared
39162 link meets our qualifications.
39163 * configure: Regenerated.
39164
5c550700
RM
39165 * config.make.in (output-format): New variable.
39166 * configure.in: Check for ld --print-output-format support.
39167 * configure: Regenerated.
39168 * Makerules ($(common-objpfx)format.lds)
39169 [$(output-format) != unknown]: Just use $(output-format),
39170 instead of the linker-script munging.
39171
9fa2c032
RM
391722011-07-14 Roland McGrath <roland@hack.frob.com>
39173
a6928d51
RM
39174 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39175 of $(common-objpfx)shlib.lds.
39176 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39177
661607b3
RM
39178 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39179 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39180
9fa2c032
RM
39181 * configure.in (-z relro check): Adjust test code to add a large
39182 writable data section after it.
39183 * configure: Regenerated.
39184
defe9061
RM
391852011-07-11 Roland McGrath <roland@hack.frob.com>
39186
39187 * configure.in (-z relro check): Fix test code to make the variable
39188 truly const.
39189 * configure: Regenerated.
39190
319b9ad4
UD
391912011-07-11 Ulrich Drepper <drepper@gmail.com>
39192
39193 * nscd/nscd.h (struct traced_file): Define.
39194 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39195 elements. Add traced_files.
39196 (inotify_fd): Declare.
39197 (register_traced_file): Declare.
39198 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39199 (inotify_fd): Export.
39200 (resolv_conf_descr): Remove.
39201 (nscd_init): Move inotify descriptor creation to main.
39202 Don't register files for notification here.
39203 (register_traced_file): New function.
39204 (invalidate_cache): Don't use reset_res to determine whether to call
39205 res_init, go through the list of registered files.
39206 (main_loop_poll): The inotify descriptors are now stored in the
39207 structures for the traced files.
39208 (main_loop_epoll): Likewise
39209 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39210 to __nss_disable_nscd.
39211 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39212 for a database anymore. Check the records for all the registered
39213 files instead.
39214 * nss/Makefile (libnss_files-routines): Add files-init.
39215 (libnss_db-routines): Add db-init.
39216 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39217 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39218 * nss/nss_db/db-init.c: New file.
39219 * nss/nss_files/files-init.c: New file.
39220 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39221 __nss_lookup_function.
39222 (__nss_lookup_function): Call nss_load_library.
39223 (nss_load_all_libraries): New function.
39224 (__nss_disable_nscd): Take parameter with callback function for files
39225 to register. Set is_nscd. Load all the DSOs for the NSS modules
39226 used for the cached services.
39227 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39228 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39229 options for features to all the files in nscd.
39230
39231 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39232
23bee3e8
RM
392332011-07-10 Roland McGrath <roland@hack.frob.com>
39234
39235 * csu/elf-init.c (__libc_csu_init): Comment typo.
39236
46a5b7f0
UD
392372011-07-09 Ulrich Drepper <drepper@gmail.com>
39238
39239 * po/pl.po: Update from translation team.
39240 * po/ja.po: Likewise.
39241 * po/ru.po: Likewise.
39242 * po/ko.po: Likewise.
39243 * po/fr.po: Likewise.
39244
d30cf5bb
RM
392452011-07-09 Roland McGrath <roland@hack.frob.com>
39246
113ddea4
RM
39247 * configure.in (.ctors/.dtors header and trailer check):
39248 Use an empirical test on a built program.
39249 * configure: Regenerated.
39250
574920b4
RM
39251 * configure.in (-z relro check): Use an empirical test on a built DSO.
39252 Detect, but do not require, on ia64.
39253 * configure: Regenerated.
39254
d30cf5bb
RM
39255 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39256 Update tests that use readelf to use $READELF instead.
39257 * configure: Regenerated.
39258
8538fdb3
UD
392592011-07-08 Ulrich Drepper <drepper@gmail.com>
39260
39261 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39262 if the result is not used.
39263
04d08991
AJ
392642011-07-05 Andreas Jaeger <aj@suse.de>
39265
39266 [BZ#9696]
39267 * stdlib/tst-strtod.c: Add testcase.
39268
de283087
AD
392692011-07-07 Ulrich Drepper <drepper@gmail.com>
39270
4e5f31c8 39271 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39272 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39273 The latter has a higher limit. Take additional parameter to pass to
39274 the new function.
39275 (__pathconf): Pass file to __statfs_link_max.
39276 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39277 __statfs_link_max.
39278 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39279 __statfs_link_max.
39280
de283087
AD
39281 [BZ #12868]
39282 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39283 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39284 Handle Lustre.
39285 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39286 (__statfs_filesize_max): Likewise.
39287 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39288
c75fa153
AJ
392892011-07-05 Andreas Jaeger <aj@suse.de>
39290
39291 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39292
1a544854
UD
392932011-07-06 Marek Polacek <mpolacek@redhat.com>
39294
39295 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39296 `status' variable.
39297 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39298 Likewise.
39299
6f0eec67
UD
393002011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39301
39302 * Makefile (strop-tests): Add strncat.
39303 * string/test-strncat.c: New file.
39304
aae30307
UD
393052011-06-30 Marek Polacek <mpolacek@redhat.com>
39306
39307 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39308
c0cfb5eb
UD
393092011-06-21 Andreas Jaeger <aj@suse.de>
39310
39311 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39312 Copy rule from iconvdata/Makefile.
39313
01636b21
UD
393142011-07-06 Ulrich Drepper <drepper@gmail.com>
39315
39316 [BZ #12922]
39317 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39318 but no long options are defined, just return 'W'.
39319
9895c8bc
UD
393202011-06-22 Marek Polacek <mpolacek@redhat.com>
39321
39322 [BZ #9696]
39323 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39324
5d4cf042
UD
393252011-07-06 Ulrich Drepper <drepper@gmail.com>
39326
39327 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39328 netgroups to read.
960e5535 39329 (innetgr): Likewise.
5d4cf042 39330
751eb97e
RM
393312011-07-05 Roland McGrath <roland@hack.frob.com>
39332
39333 * config.make.in (install_root): Default to $(DESTDIR).
39334
f15f1e45
UD
393352011-07-05 Ulrich Drepper <drepper@gmail.com>
39336
39337 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39338
4e34ac6a
RM
393392011-07-02 Roland McGrath <roland@hack.frob.com>
39340
5e9b6af4
RM
39341 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39342
84f9ea0f
RM
39343 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39344 containing directory rather than embedding absolute directory names.
39345
ea5ee9f7
RM
39346 * scripts/check-local-headers.sh: Rewritten using awk.
39347 Match by word, not by line. Print error messages for matches.
39348 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39349
1b74661a
RM
39350 * Makerules [shlib-lds-flags empty]:
39351 ($(common-objpfx)libc_pic.opts): New target.
39352 ($(common-objpfx)libc_pic.os.clean): New target.
39353 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39354
39355 * config.make.in (OBJCOPY): New variable.
39356 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39357 * configure: Regenerated.
39358
f781ef40
RM
39359 * config.make.in (use-default-link): New variable.
39360 * configure.in (use_default_link): Grok --with-default-link to set it.
39361 * configure: Regenerated.
39362 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39363 (shlib-lds, shlib-lds-flags): Define to empty.
39364
2d4fa81e
RM
39365 * Makerules (shlib-lds): New variable.
39366 (shlib-lds-flags): New variable.
39367 (build-shlib, build-moduile, build-module-asneeded): Use it.
39368 ($(common-objpfx)libc.so): Use $(shlib-lds).
39369 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39370 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39371
31fffa6b
RM
39372 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39373 DT_FLAGS/DT_FLAGS_1 with zero flags.
39374
4e34ac6a
RM
39375 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39376 linker script munging.
39377
fcfc776b
UD
393782011-07-02 Ulrich Drepper <drepper@gmail.com>
39379
39380 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39381 as 128-bit value.
39382 * crypt/sha512.c (sha512_process_block): Perform total addition using
39383 128-bit if possible.
39384 (__sha512_finish_ctx): Likewise.
39385 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39386 as 64-bit value.
39387 * crypt/sha256.c (SWAP64): Define.
39388 (sha256_process_block): Perform total addition using 64-bit if
39389 possible.
39390 (__sha256_finish_ctx): Likewise.
39391
99231d9a
UD
393922011-07-01 Ulrich Drepper <drepper@gmail.com>
39393
39394 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39395 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39396 * nscd/hstcache.c (cache_addhst): Likewise.
39397 * nscd/grpcache.c (cache_addgr): Likewise.
39398 * nscd/aicache.c (addhstaiX): Likewise
39399 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39400
445b4a53
TK
394012011-07-01 Thorsten Kukuk <kukuk@suse.de>
39402
39403 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39404 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39405 * nscd/hstcache.c (cache_addhst): Likewise.
39406 * nscd/grpcache.c (cache_addgr): Likewise.
39407 * nscd/aicache.c (addhstaiX): Likewise
39408
6d4d8e8e
AS
394092011-07-01 Andreas Schwab <schwab@redhat.com>
39410
39411 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39412 domain only when needed.
39413
89f654c5
AS
394142011-06-30 Andreas Schwab <schwab@redhat.com>
39415
39416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39417 is always restored.
39418
cf3b23ff
UD
394192011-06-29 Ulrich Drepper <drepper@gmail.com>
39420
39421 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39422 are re-adding the entry.
39423 * nscd/servicescache.c (cache_addserv): Likewise.
39424
751626f9
AJ
394252011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39426
39427 * sysdeps/generic/dl-irel.h: fix protection against multiple
39428 inclusions.
39429 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39430
9113ea1f
UD
394312011-06-28 Ulrich Drepper <drepper@gmail.com>
39432
5c0b8d90
UD
39433 [BZ #12935]
39434 * malloc/memusage.sh: Fix quoting in message.
39435 * debug/xtrace.sh: Likewise.
39436
9113ea1f
UD
39437 * configure.in: Remove support for --experimental-malloc option, make
39438 it the default.
39439 * config.make.in: Likewise.
39440 * malloc/Makefile: Likewise.
39441
a4172181
AS
394422011-06-27 Andreas Schwab <schwab@redhat.com>
39443
39444 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39445 two-byte characters.
39446
78a7eee7
RM
394472011-06-27 Roland McGrath <roland@hack.frob.com>
39448
62bede13
RM
39449 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39450 AC_CACHE_CHECK invocation.
39451 * configure: Regenerated.
39452
78a7eee7
RM
39453 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39454
5ce33a62
UD
394552011-06-27 Ulrich Drepper <drepper@gmail.com>
39456
034807a9
UD
39457 [BZ #12350]
39458 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39459 bit from old_res_options.
39460
4902da17
UD
39461 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39462
5ce33a62
UD
39463 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39464 value type for setfct.
39465
c2344f56
L
394662011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39467
39468 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39469 __gettimeofday instead of gettimeofday.
39470
68468076
UD
394712011-06-26 Ulrich Drepper <drepper@gmail.com>
39472
39473 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39474
acb0d739
L
394752011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39476
39477 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39478
39479 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39480 info.
39481
8912479f
L
394822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39483
39484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39485 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39486 strcpy-sse2-unaligned strncpy-sse2-unaligned
39487 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39488 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39489 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39490 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39491 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39492 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39493 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39494 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39495 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39496 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39497 (STRCPY): Support SSE2 and SSSE3 versions.
39498
d5495a11
UD
394992011-06-24 Ulrich Drepper <drepper@gmail.com>
39500
39501 [BZ #12874]
39502 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39503 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39504 kernels which artificially limit size of requests.
39505
0b1cbaae
L
395062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39507
39508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39509 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39510 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39511 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39512 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39513 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39514 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39515 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39516 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39517 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39518 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39519 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39520 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39521 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39522 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39524 Enable unaligned load optimization for Intel Core i3, i5 and i7
39525 processors.
39526 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39527 Define.
39528 (index_Fast_Unaligned_Load): Define.
39529 (HAS_FAST_UNALIGNED_LOAD): Define.
39530
07f494a0
MP
395312011-06-23 Marek Polacek <mpolacek@redhat.com>
39532
39533 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39534
fa3fc0fe
UD
395352011-06-22 Ulrich Drepper <drepper@gmail.com>
39536
39537 [BZ #12907]
39538 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39539 until it is clear that the information is realy needed.
39540 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39541
e12df166
AS
395422011-06-22 Andreas Schwab <schwab@redhat.com>
39543
39544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39545
852eb34d
UD
395462011-06-22 Ulrich Drepper <drepper@gmail.com>
39547
84e2a551
UD
39548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39549 /sys/devices/system/cpu/online if it is usable.
39550
852eb34d
UD
39551 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39552 reading the information from the /proc filesystem to once a second.
39553
6e502e19
UD
395542011-06-21 Andreas Jaeger <aj@suse.de>
39555
39556 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39557 NULL after inclusion of kernel headers.
39558
75d39ff2
UD
395592011-06-21 Ulrich Drepper <drepper@gmail.com>
39560
51f9aa6a
UD
39561 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39562 calls to internal_setent.
39563
c0244a9d
UD
39564 [BZ #12885]
39565 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39566 addresses using gethostbyname4_r ignore IPv4 addresses.
39567
c5e3c2ae
UD
39568 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39569 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39570
75d39ff2
UD
39571 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39572
42675c6f
DM
395732011-06-20 David S. Miller <davem@davemloft.net>
39574
39575 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39576 inclusions.
39577 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39578
39579 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39580 (elf_irel): Use it.
39581 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39582 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39583 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39584 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39585 * sysdeps/x86_64/dl-irel.h: Likewise.
39586
39587 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39588 * elf/dl-sym.c: Likewise.
39589
57912a71
UD
395902011-06-15 Ulrich Drepper <drepper@gmail.com>
39591
39592 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39593 need to dereference resplen2.
39594
ee22793d
AS
395952011-06-14 Andreas Schwab <schwab@redhat.com>
39596
39597 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39598
a9e836b0
UD
395992011-06-15 Ulrich Drepper <drepper@gmail.com>
39600
77fb9117
UD
39601 * Makeconfig: Define vardbdir and inst_vardbdir.
39602 * nss/Makefile: Add rules to install db-Makefile.
39603
40c1b22c
UD
39604 * nss/nss_db/db-XXX.c: Cleanup.
39605
9f2da732
UD
39606 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39607 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39608 GLIBC_PRIVATE.
39609 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39610 * nss/makedb.c: Implement -g option to specify that value strings
39611 are generated and should not be added to table iterated over for
39612 get*ent calls.
39613 * nss/nss_db/db-initgroups.c: New file.
39614
82e9a1f7
UD
39615 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39616 interface.
39617
c41af17e
UD
39618 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39619 (internal_getgrouplist): Adjust to name change.
39620 Update use_initgroups_entry if this is not the first call.
39621 * nss/databases.def: Add initgroups entry.
39622
a9e836b0
UD
39623 * nss/makedb.c (compute_tables): Check result of multiple hash table
39624 sizes to minimize maximum chain length.
39625
2666d441
UD
396262011-06-14 Ulrich Drepper <drepper@gmail.com>
39627
39628 * Versions.def: Add entry for libnss_db.
39629 * shlib-versions: Likewise.
39630 * nss/Makefile: Add rules to build libnss_db.
39631 * nss/Versions: Add libnss_db information. Organize libnss_files
39632 entries better.
39633 * nss/db-Makefile: Add gshadow support. Change rules for the new
39634 makedb progra. Some minor improvements to generate smaller files.
39635 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39636 here from...
39637 * nss/makedb.c: ...here.
39638 Improve database format to be smaller and require less memory at
39639 runtime.
39640 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39641 db anymore.
39642 * nss/nss_db/db-netgrp.c: Likewise.
39643 * nss/nss_db/db-open.c: Likewise.
39644 * nss/nss_files/flies-XXX.x: Adjust comments.
39645 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39646 * nss/nss_files/files-grp.c: Likewise.
39647 * nss/nss_files/files-hosts.c: Likewise.
39648 * nss/nss_files/files-network.c: Likewise.
39649 * nss/nss_files/files-proto.c: Likewise.
39650 * nss/nss_files/files-pwd.c: Likewise.
39651 * nss/nss_files/files-rpc.c: Likewise.
39652 * nss/nss_files/files-service.c: Likewise.
39653 * nss/nss_files/files-sgrp.c: Likewise.
39654 * nss/nss_files/files-spwd.c: Likewise.
39655 * nss/nss_db/db-alias.c: Removed.
39656 * nss/nss_db/dummy-db.h: Removed.
39657
9ee76b5a
UD
396582011-06-02 Ulrich Drepper <drepper@gmail.com>
39659
39660 * nss/makedb.c: Rewritten to not use database library.
39661 * nss/Makefile: Update to build new makedb program.
39662
c71ca1f8
AJ
396632011-06-14 Andreas Jaeger <aj@suse.de>
39664
39665 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39666 memset declaration.
39667
3154bfb8
UD
396682011-06-10 Andreas Schwab <schwab@redhat.com>
39669
39670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39671 tmpbuf.
39672
b350afab
RM
396732011-06-10 Roland McGrath <roland@hack.frob.com>
39674
decd4e50
RM
39675 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39676 * elf/Makefile ($(objpfx)ld.so): Likewise.
39677
5615eaf2
RM
39678 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39679 Don't list ld.so twice in dependencies.
39680
39681 * posix/bug-regex31.c: Include <stdlib.h>.
39682
39683 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39684
39685 * nis/nss_compat/compat-spwd.c
39686 (getspent_next_nss_netgr): Remove unused variable.
39687 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39688
39689 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39690 nonmembers" output to use the right array.
39691
39692 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39693
39694 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39695
39696 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39697 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39698 * catgets/gencat.c (read_input_file): Likewise.
39699 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39700
39701 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39702 variable definition inside #if's controlling its use.
39703
39704 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39705
39706 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39707
39708 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39709
39710 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39711 unreachable code.
39712
39713 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39714
b68e08db
RM
39715 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39716 * configure: Regenerated.
39717
b350afab
RM
39718 * Makerules: Revert last change.
39719 * elf/Makefile: Likewise.
39720
28368601
RM
397212011-06-09 Roland McGrath <roland@hack.frob.com>
39722
39723 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39724 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39725 (reloc-link): Likewise.
39726
11988f8f
UD
397272011-06-09 Ulrich Drepper <drepper@gmail.com>
39728
39729 * elf/Makefile: Add rules to build pldd.
39730 * elf/pldd.c: New file.
39731 * elf/pldd-xx.c: New file.
39732
e80fab37
UD
397332011-06-07 Ulrich Drepper <drepper@gmail.com>
39734
39735 * version.h: Update for 2.15 development version.
39736
9b849836
DM
397372011-06-07 David S. Miller <davem@davemloft.net>
39738
39739 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39740 ifuncs.
39741 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39742 elf_machine_lazy_rel): Likewise.
39743 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39744 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39745 elf_machine_lazy_rel): Likewise.
39746 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39747 dl_hwcap via passed in argument.
39748 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39749 Likewise.
39750
5a31b283
AK
397512011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39752
39753 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39754
069e52f8
RM
397552011-06-06 Roland McGrath <roland@hack.frob.com>
39756
39757 [BZ #12849]
39758 * manual/fdl-1.1.texi: New file, verbatim from:
39759 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39760 * manual/lgpl-2.1.texi: New file, verbatim from:
39761 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39762 * manual/Makefile (licenses): New variable, list those new file names.
39763 (texis): Use it.
39764 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39765
39766 * manual/fdl.texi: File removed.
39767 * manual/lesser.texi: File removed.
39768 * manual/libc.texinfo (Copying, Documentation License):
39769 Use new @include file names, put @appendix directive before @include.
39770
f16846a5
JJ
397712011-06-04 Jakub Jelinek <jakub@redhat.com>
39772
39773 [BZ #12841]
39774 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39775 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39776 (mq_open): Add __NTH.
39777
3d29045b
L
397782011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39779
39780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39781 Assume Intel Core i3/i5/i7 processor if AVX is available.
39782
8c297311
UD
397832011-05-31 Ulrich Drepper <drepper@gmail.com>
39784
39785 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39786 typo.
39787
c8fc0c91
UD
397882011-05-31 Andreas Schwab <schwab@redhat.com>
39789
39790 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39791 memory. Use alloca_account. Fix memory leak when retrying.
39792
5b27a807
UD
397932011-05-31 Ulrich Drepper <drepper@gmail.com>
39794
356f8bc6
UD
39795 * version.h (RELEASE): Bump for 2.14 release.
39796 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39797
5b27a807
UD
39798 * config.make.in (RANLIB): Remove entry.
39799
01f16ab0
UD
398002011-05-30 Ulrich Drepper <drepper@gmail.com>
39801
41fce8bd
UD
39802 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39803 (libc.pot): Work around missing support for .ksh extension in xgettext.
39804
4769ae77
UD
39805 [BZ #12684]
39806 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39807 if both request failed.
39808 (send_dg): In case of server errors clear resplen or *resplen2.
39809
6b1e7d19
UD
39810 [BZ #12454]
39811 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39812 when there are multiple maps.
39813 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39814 (_dl_fini): Remove test here.
39815
01f16ab0
UD
39816 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39817
b1ebd700
UD
398182011-05-29 Ulrich Drepper <drepper@gmail.com>
39819
7ae22829
UD
39820 [BZ #12350]
39821 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39822 bit from old_res_options.
39823 (gaih_inet): Likewise.
39824
553149f6 39825 [BZ #11099]
18a84741 39826 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39827 as signed.
39828
652ffab1
UD
39829 * resolv/res_init.c (res_setoptions): Make the code more compact.
39830
16985fd0
UD
39831 [BZ #11558]
39832 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39833 set RES_USEVC.
39834
0464f746
UD
39835 [BZ #11634]
39836 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39837
7d17596c
UD
39838 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39839
cf6bbbd7
UD
39840 [BZ #11781]
39841 * malloc/malloc.h: Declare malloc hook variables as volatile.
39842
13f1ab36
UD
39843 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39844 in last patch.
39845
b1ebd700
UD
39846 [BZ #11799]
39847 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39848 raise in the comment.
80e2212d
UD
39849 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39850 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39851 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39852
ce67228d
UD
398532011-05-28 Ulrich Drepper <drepper@gmail.com>
39854
8887a920
UD
39855 [BZ #12811]
39856 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39857 grow the buffers more if it already has to be sufficient.
39858 (build_wcs_upper_buffer): Likewise.
39859 * posix/regexec.c (check_matching): Likewise.
39860 (clean_state_log_if_needed): Likewise.
39861 (extend_buffers): Don't enlarge buffers beyond size of the input
39862 buffer.
39863 Patches mostly by Emil Wojak <emil@wojak.eu>.
39864 * posix/bug-regex32.c: New file.
39865 * posix/Makefile (tests): Add bug-regex32.
39866
4f031072
UD
39867 * locale/findlocale.c (_nl_find_locale): Return right away if
39868 _nl_explode_name failed.
39869 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39870
d0478f0c
UD
39871 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39872
de81b246
UD
39873 * debug/xtrace.sh: Unify messages.
39874 * malloc/memusage.sh: Likewise.
39875
c738465a
UD
39876 [BZ #12813]
39877 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39878 time symbol from vDSO. Substitute with vsyscall if not available.
39879 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39880 __vdso_time.
39881
f1f929d7
UD
39882 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39883 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39884 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39885 Add sendmmsg and internal_sendmmsg.
39886 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39887 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39888 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39889
ce67228d
UD
39890 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39891 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39892 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39893
e57420c6
UD
398942011-05-27 Ulrich Drepper <drepper@gmail.com>
39895
a8509ca5
UD
39896 [BZ #12813]
39897 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39898 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39899 available.
39900 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39901 __vdso_getcpu.
39902
e57420c6
UD
39903 [BZ #12814]
39904 * iconvdata/Makefile (tests): Add bug-iconv9.
39905 * iconvdata/bug-iconv9.c: New file.
39906
4d07db15
AS
399072011-05-27 Andreas Schwab <schwab@redhat.com>
39908
39909 [BZ #12814]
39910 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39911
ea486f69
JJ
399122011-05-25 Jakub Jelinek <jakub@redhat.com>
39913
39914 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39915 (struct user_regs_struct): Change intcs field back to cs.
39916
6f038433
UD
399172011-05-25 Ulrich Drepper <drepper@gmail.com>
39918
39919 * po/ja.po: Update from translation team.
39920
67f86a25
UD
399212011-05-23 Ulrich Drepper <drepper@gmail.com>
39922
39923 [BZ #12795]
39924 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39925 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39926
def7fbd6
AS
399272011-05-20 Andreas Schwab <schwab@redhat.com>
39928
39929 * stdlib/longlong.h: Update from GCC.
39930
f50ef8f1
AS
399312011-05-23 Andreas Schwab <schwab@redhat.com>
39932
39933 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39934 parameter name.
39935 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39936 Add parameter name.
39937 (__sysconf): Pass it down.
39938
de7ce8f1
UD
399392011-05-22 Ulrich Drepper <drepper@gmail.com>
39940
f2962a71
UD
39941 [BZ #12671]
39942 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39943 some situations.
39944 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39945 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39946 add in in __libc_use_alloca calls. Adjust callers.
39947 (glob): Use malloc in some situations.
39948
de7ce8f1
UD
39949 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39950 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39951 pltexit.
39952
aec84f53
UD
399532011-05-21 Ulrich Drepper <drepper@gmail.com>
39954
05bb4a68
UD
39955 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39956 and CLOCK_BOOTTIME_ALARM.
39957
7ea72f99
UD
39958 [BZ #12782]
39959 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39960 is returned.
39961
7e4afad5
UD
39962 * string/_strerror.c (__strerror_r): Print negative errors as signed
39963 numbers.
39964
8e211fec
UD
39965 [BZ #12777]
39966 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39967 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39968 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39969
f7d82dc9
UD
39970 * configure.in: Fix typo in redirection and correct removal of test
39971 files in two cases.
39972
cc9e536d
UD
39973 [BZ #12788]
39974 * locale/setlocale.c (new_composite_name): Fix test to check for
39975 identical name of all categories.
39976
aec84f53
UD
39977 [BZ #12792]
39978 * libio/filedoalloc.c (local_isatty): New function.
39979 (_IO_file_doallocate): Use local_isatty.
39980 * stdio-common/perror.c (perror): In case a new stream is used
39981 forward the stream error.
39982 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39983 error flag.
39984
78e64fdc
RT
399852011-05-20 Ulrich Drepper <drepper@gmail.com>
39986
34a9094f
UD
39987 [BZ #11869]
39988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39989 alloca.
39990 * include/alloca.h (extend_alloca_account): Define.
39991
78e64fdc
RT
39992 [BZ #11857]
39993 * posix/regex.h: Fix comments with documentation of user-accessible
39994 fields after compilation and describe correct free'ing of pattern
39995 after re_compile_pattern.
39996 Patch by Reuben Thomas <rrt@sc3d.org>.
39997
457bddfc
RA
399982011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39999
40000 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40001 and -mno-altivec to prevent the compiler from using Altivec and/or
40002 VSX instructions when the corresponding registers are not available.
40003
a4527b51
AS
400042011-05-19 Andreas Schwab <schwab@redhat.com>
40005
40006 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40007
ed690b2f
UD
400082011-05-19 Ulrich Drepper <drepper@gmail.com>
40009
40010 * libio/freopen.c (freopen): Use __dup2, not dup2.
40011 * libio/freopen64.c (freopen64): Likewise.
40012
8db73634
L
400132011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40014
40015 [BZ #12775]
40016 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40017 * math/Makefile (tests): Add test-powl.
40018 (CFLAGS-test-powl.c): Define.
40019 * math/test-powl.c: New file.
40020
0a197a9d
L
400212011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40022
40023 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40024
ee30c380
UD
400252011-05-17 Ulrich Drepper <drepper@gmail.com>
40026
40027 [BZ #11837]
40028 * iconvdata/gb18030.c: Update to GB18020-2005.
40029
6ce75379
UD
400302011-05-16 Ulrich Drepper <drepper@gmail.com>
40031
a4b89fd8
AR
40032 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40033 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40034 Patch by Aharon Robbins <arnold@skeeve.com>.
40035
ea389b12
UD
40036 [BZ #11892]
40037 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40038 on the stack.
40039
68a3f91f
UD
40040 [BZ #11895]
40041 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40042 through underflows.
40043
15cc7dd1
UD
40044 [BZ #12766]
40045 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40046 point to strings before performing equality test for error_one_per_line
40047 mode.
40048
f3799213
UD
40049 [BZ #11697]
40050 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40051
d79a9c94
UD
40052 [BZ #11820]
40053 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40054 (struct user_fpregs_struct): Avoid __uint*_t types.
40055
56e5eb46
UD
40056 [BZ #6420]
40057 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40058 symbol info. Use it instead of calling _dl_addr locally.
40059 (lock_and_info): New function.
40060 (tr_freehook): Call lock_and_info and pass symbol info as additional
40061 parameter to tr_where.
40062 (tr_mallochook): Likewise.
40063 (tr_reallochook): Likewise.
40064 (tr_memalignhook): Likewise.
40065
6ce75379
UD
40066 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40067 used and couldn't be at all thread-safe.
40068
f8a3b5bf
UD
400692011-05-15 Ulrich Drepper <drepper@gmail.com>
40070
94b7cc37
UD
40071 * libio/freopen.c (freopen): Don't close old file descriptor
40072 before the new one is opened. Instead dup the new file descriptor
40073 to the old one after the new stream is created.
40074 * libio/freopen64.c (freopen64): Likewise.
40075 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40076 * libio/fileops.c (_IO_new_file_close_it): Handle new
40077 _IO_FLAGS2_NOCLOSE flag.
40078 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40079 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40080 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40081 _IO_FLAGS2_NOCLOSE flag.
40082 * include/unistd.h: Add hidden_proto for dup3.
40083 Define __have_dup3.
40084 * io/dup3.c: Define hidden symbol.
40085 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40086
bd25564e
UD
40087 [BZ #7101]
40088 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40089 when an incomplete long option is used.
40090 * posix/tst-getopt_long1.c: New file.
40091 * posix/Makefile (tests): Add tst-getopt_long1.
40092
c84cfef4
UD
40093 [BZ #10138]
40094 * scripts/config.guess: Update from autoconf-2.68.
40095 * scripts/config.sub: Likewise.
40096
3b85df27
UD
40097 [BZ #10157]
40098 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40099 tests into ...
40100 (has_cpuclock): ...this. New function.
40101 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40102 macro here based on has_cpuclock code.
40103
15a856b1
UD
40104 [BZ #10149]
40105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40106 First byte (not low byte) is now always NUL.
40107 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40108
05f399e6
UD
40109 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40110 Use non-cancelable interfaces.
40111
10a52685 40112 [BZ #9809]
94ecc67d
UD
40113 * locale/iso-639.def: Add entry for Sorani.
40114
f8a3b5bf
UD
40115 [BZ #11901]
40116 * include/stdlib.h: Move include protection to the right place.
40117 Define abort_msg_s. Declare __abort_msg with it.
40118 * stdlib/abort.c (__abort_msg): Adjust type.
40119 * assert/assert.c (__assert_fail_base): New function. Majority
40120 of code from __assert_fail. Allocate memory for __abort_msg with
40121 mmap.
40122 (__assert_fail): Now call __assert_fail_base.
40123 * assert/assert-perr.c: Remove bulk of implementation. Use
40124 __assert_fail_base.
40125 * include/assert.hL Declare __assert_fail_base.
40126 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40127 mmap.
40128 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40129
1af4e298
UD
401302011-05-14 Ulrich Drepper <drepper@gmail.com>
40131
f8a3b5bf 40132 [BZ #11952]
d26dfc60
MG
40133 [BZ #12453]
40134 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40135 until all modules are registered in the DTV.
40136 * elf/Makefile: Add rules to build and run tst-tls19.
40137 * elf/tst-tls19.c: New file.
40138 * elf/tst-tls19mod1.c: New file.
40139 * elf/tst-tls19mod2.c: New file.
40140 * elf/tst-tls19mod3.c: New file.
40141 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40142
2fc54d6f
UD
40143 [BZ #12083]
40144 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40145 correctly.
40146
98d76b46
UD
40147 [BZ #12601]
40148 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40149 two-byte sequence errors.
40150 * iconvdata/Makefile (tests): Add bug-iconv8.
40151 * iconvdata/bug-iconv8.c: New file.
40152
da3c19ef
UD
40153 [BZ #12626]
40154 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40155 buf2 definition.
40156
ca408c15
UD
40157 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40158
d6f67f7d
UD
40159 [BZ #12432]
40160 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40161 (dummy_getcfa): New function.
40162 (init): Get _Unwind_GetCFA address, use dummy if not found.
40163 (backtrace_helper): In recursion check, also check whether CFA changes.
40164 (__backtrace): Completely initialize arg.
40165
1af4e298 40166 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40167 storing incomplete byte sequence in state object. Avoid testing for
40168 guaranteed too small input if we know there is enough data available.
1af4e298 40169
da62f81b
AS
401702011-05-11 Andreas Schwab <schwab@redhat.com>
40171
40172 * Makeconfig (+link-pie): Indent.
40173 * Rules (binaries-pie): Define if $(have-fpie) and
40174 $(build-shared).
40175 (binaries-shared): Also filter out $(binaries-pie).
40176 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40177 * nscd/Makefile (others-pie): Add nscd.
40178 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40179 ($(objpfx)nscd): Remove command override.
40180 * login/Makefile (others-pie): Add pt_chown.
40181 ($(objpfx)pt_chown): Remove command override.
40182 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40183 remove command overrides.
40184
fcabc0f8
UD
401852011-05-13 Ulrich Drepper <drepper@gmail.com>
40186
20030ae6
UD
40187 * libio/tst_putwc.c: Fix error messages.
40188
fcabc0f8
UD
40189 [BZ #12724]
40190 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40191 currently writing and seek to current position when not.
40192 * libio/Makefile (tests): Add bug-fclose1.
40193 * libio/bug-fclose1.c: New file.
40194
320a5dc0
PB
401952011-05-12 Ulrich Drepper <drepper@gmail.com>
40196
40197 [BZ #12511]
40198 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40199 don't set DF_1_NODELETE here.
40200 (do_lookup_x): When entering new entry test for copy relocation
40201 and if necessary set DF_1_NODELETE flag.
40202 * elf/tst-unique4.cc: New file.
40203 * elf/tst-unique4.h: New file.
40204 * elf/tst-unique4lib.cc: New file.
40205 * elf/Makefile: Add rules to build and run tst-unique4.
40206 Patch by Piotr Bury <pbury@goahead.com>.
40207
22836f52
UD
402082011-05-11 Ulrich Drepper <drepper@gmail.com>
40209
f574184a
UD
40210 [BZ #12052]
40211 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40212
e1fb097f
UD
40213 [BZ #12625]
40214 * misc/mntent_r.c (addmntent): Flush the stream after the output
40215
22836f52
UD
40216 [BZ #12393]
40217 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40218 (is_trusted_path_normalize): Skip initial colon. Append slash
40219 to empty buffer. Duplicate is_trusted_path code but allow
40220 constructed patch to be prefix.
40221 (is_dst): Allow $ORIGIN followed by /.
40222 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40223 Correct testing of result of is_trusted_path_normalize
40224 (decompose_rpath): Fix warning.
40225
7b3b0b2a
UD
402262011-05-10 Ulrich Drepper <drepper@gmail.com>
40227
40228 [BZ #11257]
40229 * grp/initgroups.c (internal_getgrouplist): When we found the service
40230 list through the initgroups entry in nsswitch.conf do not always
40231 continue on a successful lookup. Don't always use the
eac80ce2 40232 __nss_group_database value if it is set.
7b3b0b2a
UD
40233 * nss/nsswitch.conf (initgroups): Change action for successful db
40234 lookup to continue for compatibility.
40235
2a81eaa5
UD
402362011-05-09 Ulrich Drepper <drepper@gmail.com>
40237
be97a69e
UD
40238 [BZ #11532]
40239 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40240 and CP774 modules.
40241 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40242 and CP774 modules.
40243 * iconvdata/tst-tables.sh: Likewise.
40244 * iconvdata/cp770.c: New file.
40245 * iconvdata/cp771.c: New file.
40246 * iconvdata/cp772.c: New file.
40247 * iconvdata/cp773.c: New file.
40248 * iconvdata/cp774.c: New file.
40249 * iconvdata/testdata/CP770: New file.
40250 * iconvdata/testdata/CP770..UTF8: New file.
40251 * iconvdata/testdata/CP771: New file.
40252 * iconvdata/testdata/CP771..UTF8: New file.
40253 * iconvdata/testdata/CP772: New file.
40254 * iconvdata/testdata/CP772..UTF8: New file.
40255 * iconvdata/testdata/CP773: New file.
40256 * iconvdata/testdata/CP773..UTF8: New file.
40257 * iconvdata/testdata/CP774: New file.
40258 * iconvdata/testdata/CP774..UTF8: New file.
40259
40260 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40261 END CHARMAP line.
40262 * iconvdata/gen-8bit-gap.sh: Likewise.
40263 * iconvdata/gen-8bit.sh: Likewise.
40264
c1e9e399
UD
40265 * locale/iso-639.def: Add ary entry.
40266
24c55fb3 40267 [BZ #11258]
96b4b1b0
UD
40268 * locale/C-translit.h.in: Add U20A1 transliteration.
40269
bdc2f971
KB
40270 [BZ #12178]
40271 * locale/iso-639.def: Add wae entry.
40272 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40273
2952b117
UD
40274 [BZ #12545]
40275 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40276 for n.
40277
2a81eaa5
UD
40278 [BZ #12711]
40279 * locale/C-translit.h.in: Add entry for U20B9.
40280 Patch by pravin.d.s@gmail.com.
40281
28377d1b
UD
402822011-05-08 Ulrich Drepper <drepper@gmail.com>
40283
7fb90fb8
UD
40284 [BZ #12713]
40285 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40286 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40287 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40288 in rtld. Use *stat64.
7fb90fb8 40289 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40290 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40291 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40292 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40293 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40294 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40295 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40296 __fstatat64 macros.
7fb90fb8
UD
40297 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40298 * dirent/rewinddir.c: Add libc_hidden_def.
40299 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40300 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40301
28377d1b
UD
40302 * include/dirent.h (__alloc_dir): Add flags parameter.
40303 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40304 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40305 __alloc_dir.
40306 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40307 from fdopendir if O_CLOEXEC is already set.
40308
66bdbaa4
AM
403092011-03-15 Alan Modra <amodra@gmail.com>
40310
40311 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40312 l_tls_firstbyte_offset non-zero. Save padding offset in
40313 l_tls_firstbyte_offset for later use.
40314 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40315 freeing static tls block.
40316
95721191
JN
403172011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40318
40319 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40320 where #ifdef was intended. The intent is to prevent ARG_MAX from
40321 being defined by the kernel headers.
40322
f87dfb1f
UD
403232011-05-07 Ulrich Drepper <drepper@gmail.com>
40324
40325 [BZ #12734]
40326 * resolv/resolv.h: Define RES_NOTLDQUERY.
40327 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40328 no-tld-query and set RES_NOTLDQUERY.
40329 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40330 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40331 modern BIND to search name as TLD unless forbidden.
40332
47c3cd7a
UD
403332011-05-07 Petr Baudis <pasky@suse.cz>
40334 Ulrich Drepper <drepper@gmail.com>
40335
40336 [BZ #12393]
40337 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40338 (is_trusted_path): ...to here.
c1e9ea35 40339 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40340 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40341 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40342
8a35c912
PP
403432011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40344
40345 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40346 __BEGIN/__END_DECLS.
40347
acd41f47
UD
403482011-05-06 Ulrich Drepper <drepper@gmail.com>
40349
40350 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40351 NSS_STATUS_NOTFOUND if no record was found.
40352
597df647
AS
403532011-05-05 Andreas Schwab <schwab@redhat.com>
40354
40355 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40356 (headers-not-in-tirpc): Remove rpc/netdb.h
40357 * resolv/netdb.h: Revert last change.
40358
b9af1301
PP
403592011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40360
40361 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40362 circular dependency between libgcc.a and libc.a.
40363
4e34d5f5
AS
403642011-05-05 Andreas Schwab <schwab@redhat.com>
40365
40366 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40367 * nis/Makefile: Don't install rpcsvc/*.
40368 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40369 instead of <rpc/types.h>.
40370 (MAXHOSTNAMELEN): Define.
40371
00ee369c
AS
403722011-05-03 Andreas Schwab <schwab@redhat.com>
40373
40374 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40375
0b592a30
MB
403762011-04-28 Maciej Babinski <mbabinski@google.com>
40377
40378 [BZ #12714]
40379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40380 gethostbyname4_r when IPv6 results are possible.
40381
6e04cbbe
UD
403822011-05-02 Ulrich Drepper <drepper@gmail.com>
40383
40384 [BZ #12723]
40385 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40386 _PC_PIPE_BUF handling.
40387
e4ecafe0
BH
403882011-04-30 Bruno Haible <bruno@clisp.org>
40389
40390 [BZ #12717]
40391 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40392 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40393 to 'int'.
40394 * inet/getnameinfo.c (getnameinfo): Likewise.
40395
125ee683
UD
403962011-04-29 Ulrich Drepper <drepper@gmail.com>
40397
40398 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40399 to groups setting in database lookup.
40400 * nss/nsswitch.conf: Add initgroups entry.
40401
b722481a
EB
404022011-04-22 Ulrich Drepper <drepper@gmail.com>
40403
40404 [BZ #12685]
40405 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40406 mode string.
40407 Patch by Eric Blake <eblake@redhat.com>.
40408
4df46dbd
L
404092011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40410
40411 * sunrpc/Makefile (need-export-routines): Add svc_run.
40412 (routines): Remove svc_run.
40413 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40414 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40415 * sunrpc/svc_run.c (svc_run): Likewise.
40416 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40417
e84142d2
UD
404182011-04-21 Ulrich Drepper <drepper@gmail.com>
40419
40420 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40421 problem in reallocation in last patch.
40422
877175d8
UD
404232011-04-20 Ulrich Drepper <drepper@gmail.com>
40424
40425 * sunrpc/Makefile: Move inclusion of Rules.
40426
ab8eed78
UD
404272011-04-19 Ulrich Drepper <drepper@gmail.com>
40428
40429 * nss/nss_files/files-initgroups.c: New file.
40430 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40431 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40432 _nss_files_initgroups_dyn.
40433
e3d8f584
RS
404342011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40435
40436 * elf/elf.h (R_ARM_IRELATIVE): Define.
40437
af190f45
UD
404382011-04-19 Ulrich Drepper <drepper@gmail.com>
40439
40440 * po/ru.po: Update from translation team.
40441
53cf59ef
UD
404422011-04-17 Ulrich Drepper <drepper@gmail.com>
40443
40444 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40445 dependencies.
40446
4c559bcd
MF
404472011-02-06 Mike Frysinger <vapier@gentoo.org>
40448
40449 [BZ #12653]
40450 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40451 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40453 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40454 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40455
4420675c
AS
404562011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40457
40458 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40459 differing bytes.
40460 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40462 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40463
75ea32ab
UD
404642011-04-17 Ulrich Drepper <drepper@gmail.com>
40465
40466 [BZ #12420]
40467 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40468 storing it.
40469 * stdlib/bug-getcontext.c: New file.
40470 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40471
27390476
AK
404722011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40473
40474 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40475 instructions into .machine "z9-109".
40476 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40477 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40478
10442705
AK
404792011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40480
40481 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40482 between environment variables and auxiliary vector.
40483
7b57bfe5
UD
404842011-04-16 Ulrich Drepper <drepper@gmail.com>
40485
40486 * Makefile: Add rules to build linkobj/libc.so.
40487 * include/libc-symbols.h: Define libc_hidden_nolink.
40488 * include/rpc/auth.h: Mark functions which are to be hidden.
40489 * include/rpc/auth_des.h: Likewise.
40490 * include/rpc/auth_unix.h: Likewise.
40491 * include/rpc/clnt.h: Likewise.
40492 * include/rpc/des_crypt.h: Likewise.
40493 * include/rpc/key_prot.h: Likewise.
40494 * include/rpc/pmap_clnt.h: Likewise.
40495 * include/rpc/pmap_prot.h: Likewise.
40496 * include/rpc/pmap_rmt.h: Likewise.
40497 * include/rpc/rpc_msg.h: Likewise.
40498 * include/rpc/svc.h: Likewise.
40499 * include/rpc/svc_auth.h: Likewise.
40500 * include/rpc/xdr.h: Likewise.
40501 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40502 * nss/Makefile: Likewise.
40503 * sunrpc/Makefile: Don't install headers. Build library with normal
40504 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40505 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40506 for the compat linking library. Remove use of INTDEF/INTUSE.
40507 * sunrpc/auth_none.c: Likewise.
40508 * sunrpc/auth_unix.c: Likewise.
40509 * sunrpc/authdes_prot.c: Likewise.
40510 * sunrpc/authuxprot.c: Likewise.
40511 * sunrpc/clnt_gen.c: Likewise.
40512 * sunrpc/clnt_perr.c: Likewise.
40513 * sunrpc/clnt_raw.c: Likewise.
40514 * sunrpc/clnt_simp.c: Likewise.
40515 * sunrpc/clnt_tcp.c: Likewise.
40516 * sunrpc/clnt_udp.c: Likewise.
40517 * sunrpc/clnt_unix.c: Likewise.
40518 * sunrpc/des_crypt.c: Likewise.
40519 * sunrpc/des_soft.c: Likewise.
40520 * sunrpc/get_myaddr.c: Likewise.
40521 * sunrpc/key_call.c: Likewise.
40522 * sunrpc/key_prot.c: Likewise.
40523 * sunrpc/netname.c: Likewise.
40524 * sunrpc/pm_getmaps.c: Likewise.
40525 * sunrpc/pm_getport.c: Likewise.
40526 * sunrpc/pmap_clnt.c: Likewise.
40527 * sunrpc/pmap_prot.c: Likewise.
40528 * sunrpc/pmap_prot2.c: Likewise.
40529 * sunrpc/pmap_rmt.c: Likewise.
40530 * sunrpc/publickey.c: Likewise.
40531 * sunrpc/rpc_cmsg.c: Likewise.
40532 * sunrpc/rpc_common.c: Likewise.
40533 * sunrpc/rpc_dtable.c: Likewise.
40534 * sunrpc/rpc_prot.c: Likewise.
40535 * sunrpc/rpc_thread.c: Likewise.
40536 * sunrpc/rtime.c: Likewise.
40537 * sunrpc/svc.c: Likewise.
40538 * sunrpc/svc_auth.c: Likewise.
40539 * sunrpc/svc_authux.c: Likewise.
40540 * sunrpc/svc_raw.c: Likewise.
40541 * sunrpc/svc_run.c: Likewise.
40542 * sunrpc/svc_simple.c: Likewise.
40543 * sunrpc/svc_tcp.c: Likewise.
40544 * sunrpc/svc_udp.c: Likewise.
40545 * sunrpc/svc_unix.c: Likewise.
40546 * sunrpc/svcauth_des.c: Likewise.
40547 * sunrpc/xcrypt.c: Likewise.
40548 * sunrpc/xdr.c: Likewise.
40549 * sunrpc/xdr_array.c: Likewise.
40550 * sunrpc/xdr_float.c: Likewise.
40551 * sunrpc/xdr_intXX_t.c: Likewise.
40552 * sunrpc/xdr_mem.c: Likewise.
40553 * sunrpc/xdr_rec.c: Likewise.
40554 * sunrpc/xdr_ref.c: Likewise.
40555 * sunrpc/xdr_sizeof.c: Likewise.
40556 * sunrpc/xdr_stdio.c: Likewise.
40557
e6c61494
UD
405582011-04-10 Ulrich Drepper <drepper@gmail.com>
40559
40560 [BZ #12650]
40561 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40562 * sysdeps/ia64/dl-tls.h: Likewise.
40563 * sysdeps/powerpc/dl-tls.h: Likewise.
40564 * sysdeps/s390/dl-tls.h: Likewise.
40565 * sysdeps/sh/dl-tls.h: Likewise.
40566 * sysdeps/sparc/dl-tls.h: Likewise.
40567 * sysdeps/x86_64/dl-tls.h: Likewise.
40568 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40569
34fe483e
AS
405702011-03-14 Andreas Schwab <schwab@redhat.com>
40571
40572 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40573 rpath element also skip the following colon.
40574 (expand_dynamic_string_token): Add is_path parameter and pass
40575 down to DL_DST_REQUIRED and _dl_dst_substitute.
40576 (decompose_rpath): Call expand_dynamic_string_token with
40577 non-zero is_path. Ignore empty rpaths.
40578 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40579 with zero is_path.
40580
f12a32e6
AS
405812011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40582
40583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40584 Make cancelable.
40585
38a7d692
UD
405862011-04-09 Ulrich Drepper <drepper@gmail.com>
40587
40588 [BZ #12655]
40589 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40590 Patch by Filipe David Manana <fdmanana@apache.org>.
40591
e451d22b
AS
405922011-04-07 Andreas Schwab <schwab@redhat.com>
40593
40594 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40595 Maintain aligned stack.
40596 (CHECK_RSP): Remove unused macro.
40597
dedc7c7b
UD
405982011-04-03 Ulrich Drepper <drepper@gmail.com>
40599
40600 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40601 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40602
94521213
UD
406032011-04-02 Ulrich Drepper <drepper@gmail.com>
40604
40605 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40606
8cb700c0 40607 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40608
0354e355
L
406092011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40610
40611 [BZ #12518]
40612 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40613 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40614 * sysdeps/x86_64/memmove.c: New file.
40615 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40616 (memcpy): Renamed to ...
40617 (__new_memcpy): This.
40618 (memcpy): Provide GLIBC_2_14 memcpy.
40619 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40620 (memcpy): Provide GLIBC_2_2_5 memcpy.
40621
8593482f
UD
406222011-04-01 Ulrich Drepper <drepper@gmail.com>
40623
40624 [BZ #12631]
40625 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40626
81a5726b
AS
406272011-03-30 Andreas Schwab <schwab@redhat.com>
40628
40629 * misc/syncfs.c: New file.
40630 * misc/Makefile (routines): Add syncfs.
40631 * posix/unistd.h: Declare syncfs.
40632 * sysdeps/unix/syscalls.list: Add syncfs.
40633
00e5419f
AS
406342011-04-01 Andreas Schwab <schwab@redhat.com>
40635
40636 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40637 open_by_handle_at.
40638 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40639 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40640 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40641 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40643 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40644 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40645
748876bf
UD
406462011-04-01 Ulrich Drepper <drepper@gmail.com>
40647
658e451d
UD
40648 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40649 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40650 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40651 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40652 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40653 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40654 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40655
748876bf
UD
40656 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40657 sync_file_range.c with -fexceptions.
40658 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40659 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40660 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40661 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40662 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40663 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40665 sync_file_range as cancellation point
40666 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40667 now a wrapper around __call_sync_file_range with cancellation handling.
40668 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40669 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40670 function name to __call_sync_file_range.
40671 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40672 Add call_sync_file_range.
748876bf 40673
6e63d5e1
AS
406742011-04-01 Andreas Schwab <schwab@redhat.com>
40675
40676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40677 bits/timex.h.
6e63d5e1 40678
46998f74
UD
406792011-04-01 Ulrich Drepper <drepper@gmail.com>
40680
4c1423ed
UD
40681 * iconv/iconv.h: Fix typo in comment.
40682 * io/fcntl.h: Likewise.
40683 * libio/stdio.h: Likewise.
40684 * posix/spawn.h: Likewise.
40685 * posix/unistd.h: Likewise.
40686 * stdlib/stdlib.h: Likewise.
40687 * time/time.h: Likewise.
40688 * wcsmbs/wchar.h: Likewise.
40689
158648c0
UD
40690 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40691 open_by_handle): Add.
40692 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40693 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40694 Augment a few comments.
40695 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40696 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40697 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40699 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40700 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40701 open_by_handle.
40702
46998f74
UD
40703 * io/fcntl.h (AT_EMPTY_PATH): Define.
40704
83fe108b
UD
407052011-03-30 Ulrich Drepper <drepper@gmail.com>
40706
40707 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40708 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40709 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40710 to...
40711 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40712 * Versions.def: Add GLIBC_2.14.
40713 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40714 Export.
83fe108b 40715
bb242059
UD
407162011-03-22 Ulrich Drepper <drepper@gmail.com>
40717
40718 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40719 round counter.
40720 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40721
c97a1282
L
407222011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40723
40724 [BZ #12597]
40725 * string/test-strncmp.c (do_page_test): New function.
40726 (check2): Likewise.
40727 (test_main): Call check2.
40728 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40729
2a115601
UD
407302011-03-20 Ulrich Drepper <drepper@gmail.com>
40731
40732 [BZ #12587]
40733 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40734 Handle cache information in CPU leaf 4.
40735 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40736
8126d904
UD
407372011-03-18 Ulrich Drepper <drepper@gmail.com>
40738
042c49c6 40739 [BZ #12583]
8126d904
UD
40740 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40741 character representation.
40742 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40743
ccfe366e
RA
407442011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40745
40746 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40747 END(__isnan) to END(__isnanf) to match function entry point/label
40748 EALIGN(__isnanf,...).
40749
c6e13027
JJ
407502011-03-10 Jakub Jelinek <jakub@redhat.com>
40751
40752 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40753
33f85a3f
UD
407542011-03-10 Ulrich Drepper <drepper@gmail.com>
40755
028478fa
UD
40756 [BZ #12510]
40757 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40758 copy from the symbol referenced in the relocation to initialize the
40759 used variable.
40760 Patch by Piotr Bury <pbury@goahead.com>.
40761 * elf/Makefile: Add rules to build and tst-unique3.
40762 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40763 * elf/tst-unique3.cc: New file.
40764 * elf/tst-unique3.h: New file.
40765 * elf/tst-unique3lib.cc: New file.
40766 * elf/tst-unique3lib2.cc: New file.
40767
33f85a3f
UD
40768 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40769
03592fc7
MF
407702011-03-10 Mike Frysinger <vapier@gentoo.org>
40771
40772 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40773 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40774 to _start.
03592fc7 40775
6a5ee102
UD
407762011-03-06 Ulrich Drepper <drepper@gmail.com>
40777
40778 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40779 to-be-loaded object along a path to loader is ld.so.
40780
7e4ba49c
HJ
407812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40782 Ulrich Drepper <drepper@gmail.com>
40783
40784 * sysdeps/x86_64/memset.S: After aligning destination, code
40785 branches to different locations depending on the value of
40786 misalignment, when multiarch is enabled. Fix this.
40787
407882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40789
40790 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40791 Set _x86_64_preferred_memory_instruction for AMD processsors.
40792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40793 Set bit_Prefer_SSE_for_memop for AMD processors.
40794
13a804de
UD
407952011-03-04 Ulrich Drepper <drepper@gmail.com>
40796
40797 * libio/fmemopen.c (fmemopen): Optimize a bit.
40798
9d25c392
AS
407992011-03-03 Andreas Schwab <schwab@redhat.com>
40800
40801 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40802
a5543c6a
RM
408032011-03-03 Roland McGrath <roland@redhat.com>
40804
40805 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40806
012d35f7
DM
408072011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40808
7e4ba49c 40809 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40810 __bzero_ultra1 instead of __memset_ultra1.
40811
4bff6e01
AS
408122011-02-23 Andreas Schwab <schwab@redhat.com>
40813 Ulrich Drepper <drepper@gmail.com>
40814
40815 [BZ #12509]
40816 * include/link.h (struct link_map): Add l_orig_initfini.
40817 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40818 returning unsuccessfully.
40819 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40820 close of a file loaded at startup, restore the original l_initfini
40821 list.
40822 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40823 list, store the pointer.
40824 * elf/Makefile ($(objpfx)noload-mem): New rule.
40825 (noload-ENV): Define.
40826 (tests): Add $(objpfx)noload-mem.
40827 * elf/noload.c: Include <memcheck.h>.
40828 (main): Call mtrace. Close all opened handles.
40829
f2092faf
AS
408302011-02-17 Andreas Schwab <schwab@redhat.com>
40831
40832 [BZ #12454]
40833 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40834 dependencies are missing.
40835
6c8a2e88
ST
408362011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40837
f2092faf 40838 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40839 Hurd needs munmap.
40840 * sysdeps/mach/hurd/ifreq.h: New file.
40841
84a42118
PB
408422011-01-27 Petr Baudis <pasky@suse.cz>
40843 Ulrich Drepper <drepper@gmail.com>
40844
071f805e 40845 [BZ 12445]#
84a42118
PB
40846 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40847 to extend_alloca().
40848 * stdio-common/bug23.c: New file.
40849 * stdio-common/Makefile (tests): Add bug23.
40850
e23fe25b
AS
408512010-09-28 Andreas Schwab <schwab@redhat.com>
40852 Ulrich Drepper <drepper@gmail.com>
40853
40854 [BZ #12489]
40855 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40856 before performing relro protection. At old place add assertion
40857 to make sure nothing changed.
40858
d3f02e10
NS
408592011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40860 Glauber de Oliveira Costa <glommer@gmail.com>
40861
40862 * elf/elf.h: Add new ARM TLS relocs.
40863
d55fd7a5
RA
408642011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40865
40866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40867 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40868 cast from r3.
40869 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40870 'tests' variable.
40871 * sysdeps/wordsize-64/tst-writev.c: New file.
40872
2206397e
RA
408732011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40874
40875 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40876 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40877 insns in _dl_start to prevent a TOC reference before relocs are
40878 resolved.
40879
e9433893
UD
408802011-02-15 Ulrich Drepper <drepper@gmail.com>
40881
40882 [BZ #12469]
40883 * Makeconfig: Remove RANLIB definition.
40884 * Makerules: Don't use RANLIB.
40885 * aclocal.m4: Remove ranlib test.
40886 * configure.in: No need to check for ranlib.
40887 * elf/rtld-Rules: Don't use RANLIB.
40888
f75286c6
ST
408892011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40890
8e31c82d
ST
40891 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40892 protection macro.
40893 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40894 inclusion protection macro.
40895
f75286c6
ST
40896 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40897 SIGRTMIN and SIGRTMAX and print information in that case only when
40898 SIGRTMIN is defined.
40899
c1d0e639
JJ
409002011-02-11 Jakub Jelinek <jakub@redhat.com>
40901
40902 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40903 arginfo fn returning -1.
40904
40905 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40906 and thousands string is zero terminated.
40907
edf9294e
AS
409082011-02-03 Andreas Schwab <schwab@redhat.com>
40909
40910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40911 sysdeps/unix/sysv/linux/bits/socket.h.
40912
2b7e92df
ST
409132011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40914
edf9294e
AS
40915 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40916 (__CPU_COUNT): Remove old macros.
40917 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40918 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40919 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40920 (__sched_cpualloc, __sched_cpufree): Add declarations.
40921
a4c7ea7b
UD
409222011-02-05 Ulrich Drepper <drepper@gmail.com>
40923
40924 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40925 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40926 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40927 (readdhstai): Return value of addhstaiX call.
40928 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40929 (addgrbyX): Return value returned by cache_addgr.
40930 (readdgrbyname): Return value returned by addgrbyX.
40931 (readdgrbygid): Likewise.
40932 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40933 (addpwbyX): Return value returned by cache_addpw.
40934 (readdpwbyname): Return value returned by addhstbyX.
40935 (readdpwbyuid): Likewise.
40936 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40937 (addservbyX): Return value returned by cache_addserv.
40938 (readdservbyname): Return value returned by addservbyX:
40939 (readdservbyport): Likewise.
40940 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40941 (addhstbyX): Return value returned by cache_addhst.
40942 (readdhstbyname): Return value returned by addhstbyX.
40943 (readdhstbyaddr): Likewise.
40944 (readdhstbynamev6): Likewise.
40945 (readdhstbyaddrv6): Likewise.
40946 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40947 (readdinitgroups): Return value returned by addinitgroupsX.
40948 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40949 (prune_cache): Keep track of timeout value of re-added entries.
40950 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40951 * nscd/nscd.h: Adjust prototypes of readd* functions.
40952
a0bf67cc
RM
409532011-02-04 Roland McGrath <roland@redhat.com>
40954
40955 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40956 (nis_stats): Likewise.
40957 * nis/nis_modify.c (nis_modify): Likewise.
40958 * nis/nis_remove.c (nis_remove): Likewise.
40959 * nis/nis_add.c (nis_add): Likewise.
40960
40961 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40962
40963 * posix/fnmatch_loop.c: Add some consts.
40964
40965 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40966
435b95eb
L
409672011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40968
40969 [BZ #12460]
40970 * config.make.in (config-cflags-novzeroupper): Define.
40971 * configure.in: Substitute libc_cv_cc_novzeroupper.
40972 * elf/Makefile (AVX-CFLAGS): Define.
40973 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40974 (CFLAGS-tst-auditmod4a.c): Likewise.
40975 (CFLAGS-tst-auditmod4b.c): Likewise.
40976 (CFLAGS-tst-auditmod6b.c): Likewise.
40977 (CFLAGS-tst-auditmod6c.c): Likewise.
40978 (CFLAGS-tst-auditmod7b.c): Likewise.
40979 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40980
8517b15e
UD
409812011-02-02 Ulrich Drepper <drepper@gmail.com>
40982
40983 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40984 function to the callback.
40985 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40986
10a656fe
AS
409872011-02-02 Andreas Schwab <schwab@redhat.com>
40988
40989 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40990 of errno.
40991
968dad0a
UD
409922011-01-19 Ulrich Drepper <drepper@gmail.com>
40993
9f94d2ea 40994 [BZ #11724]
968dad0a
UD
40995 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40996 of constructors.
40997 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40998 of destructors.
40999 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41000
41001 [BZ #11724]
41002 * elf/Makefile: Add rules to build and run new test.
41003 * elf/tst-initorder.c: New file.
41004 * elf/tst-initorder.exp: New file.
41005 * elf/tst-initordera1.c: New file.
41006 * elf/tst-initordera2.c: New file.
41007 * elf/tst-initordera3.c: New file.
41008 * elf/tst-initordera4.c: New file.
41009 * elf/tst-initorderb1.c: New file.
41010 * elf/tst-initorderb2.c: New file.
41011 * elf/tst-order-a1.c: New file.
41012 * elf/tst-order-a2.c: New file.
41013 * elf/tst-order-a3.c: New file.
41014 * elf/tst-order-a4.c: New file.
41015 * elf/tst-order-b1.c: New file.
41016 * elf/tst-order-b2.c: New file.
41017 * elf/tst-order-main.c: New file.
41018 New test case by George Gensure <werkt0@gmail.com>.
41019
86e92359
UD
410202010-10-01 Andreas Schwab <schwab@redhat.com>
41021
41022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41023 decoding ACE if AI_CANONIDN.
41024
5d5732b0
UD
410252011-01-18 Ulrich Drepper <drepper@gmail.com>
41026
41027 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41028
a77e8cbc
UD
410292011-01-17 Ulrich Drepper <drepper@gmail.com>
41030
6392473f
UD
41031 * version.h (RELEASE): Bump for 2.13 release.
41032 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41033
620a0529
UD
41034 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41035
18ba70a5
UD
41036 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41037 MADV_NOHUGEPAGE.
32465c3e
UD
41038 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41039 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41040 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41041 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41042 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41043 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41044
c0dafcf1
UD
41045 * posix/getconf.c: Update copyright year.
41046 * catgets/gencat.c: Likewise.
41047 * csu/version.c: Likewise.
41048 * debug/catchsegv.sh: Likewise.
41049 * debug/xtrace.sh: Likewise.
41050 * elf/ldconfig.c: Likewise.
41051 * elf/ldd.bash.in: Likewise.
41052 * elf/sprof.c (print_version): Likewise.
41053 * iconv/iconv_prog.c: Likewise.
41054 * iconv/iconvconfig.c: Likewise.
41055 * locale/programs/locale.c: Likewise.
41056 * locale/programs/localedef.c: Likewise.
41057 * malloc/memusage.sh: Likewise.
41058 * malloc/mtrace.pl: Likewise.
41059 * nscd/nscd.c (print_version): Likewise.
41060 * nss/getent.c: Likewise.
41061
a77e8cbc
UD
41062 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41063 PF_CAIF, and PF_ALG.
41064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41065
77e8bddf
AS
410662011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41067
1f20b93a
AS
41068 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41069 (modules-names): Use them.
41070 (ifunc-test-modules, ifunc-pie-tests): Define.
41071 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41072 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41073 (test-extras): Likewise.
41074 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41075 $(compile-command.c).
41076 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41077 (all-built-dso): Define.
41078 (check-textrel.out, check-execstack.out): Depend on it.
41079
77e8bddf
AS
41080 * configure.in: Don't override --enable-multi-arch.
41081
bc425b33
UD
410822011-01-15 Ulrich Drepper <drepper@gmail.com>
41083
41084 [BZ #6812]
41085 * nscd/hstcache.c (tryagain): Define.
41086 (cache_addhst): Return tryagain not notfound for temporary errors.
41087 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41088 failed.
41089
794c3ad3
UD
410902011-01-14 Ulrich Drepper <drepper@gmail.com>
41091
70181fdd
UD
41092 [BZ #10563]
41093 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41094 to make the syscall.
41095 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41096
794c3ad3
UD
41097 [BZ #12378]
41098 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41099 and fall back to matching as normal character if the string ends before
41100 the matching ']' is found. This is what POSIX requires.
41101 * posix/testfnm.c: Adjust test result.
41102 * posix/globtest.sh: Adjust test result. Add new test.
41103 * posix/tst-fnmatch.input: Likewise.
41104 * posix/tst-fnmatch2.c: Add new test.
41105
68dc9497
AS
411062010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41107
41108 * elf/Makefile (check-execstack): Revert last change. Depend on
41109 check-execstack.h.
41110 (check-execstack.h): New target.
41111 (generated): Add check-execstack.h.
41112 * elf/check-execstack.c: Include "check-execstack.h".
41113 (main): Revert last change.
41114 (handle_file): Return zero if GNU_STACK is absent and
41115 DEFAULT_STACK_PERMS doesn't include PF_X.
41116
451f001b
UD
411172011-01-13 Ulrich Drepper <drepper@gmail.com>
41118
cfa28e56
UD
41119 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41120 in child fails because the descriptor is already closed.
8cf8ce17
UD
41121 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41122 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41123 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41124
1086d70d
UD
41125 [BZ #12397]
41126 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41127 syscall.
41128
451f001b
UD
41129 [BZ #10484]
41130 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41131 temporary buffer used to handle multi lookups locally.
a85b5cb4 41132 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41133
08769175
UD
411342011-01-12 Ulrich Drepper <drepper@gmail.com>
41135
41136 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41137 loader is ld.so.
41138
5e49c52e
UD
411392011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41140
41141 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41142 alignment for SSE2.
41143
60522a5f
UD
411442011-01-12 Ulrich Drepper <drepper@gmail.com>
41145
41146 [BZ #12394]
41147 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41148 characters. When rounding increased number of integer digits recompute
41149 number of groups.
41150 * stdio-common/tst-grouping.c: New file.
41151 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41152
f257bbd7
UD
411532011-01-09 Ulrich Drepper <drepper@gmail.com>
41154
41155 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41156 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41157
41158 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41159 void.
41160 * bits/select.h: Likewise.
41161
fa9c15cb
UD
411622011-01-08 Ulrich Drepper <drepper@gmail.com>
41163
41164 * po/ja.po: Update from translation team.
41165
16c2895f
DM
411662011-01-04 David S. Miller <davem@sunset.davemloft.net>
41167
41168 [BZ #11155]
41169 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41170 implementation just like for lxstat, fxstatat, et al.
41171
2543fef2
JM
411722010-12-27 Jim Meyering <meyering@redhat.com>
41173
41174 [BZ #12348]
41175 * posix/regexec.c (build_trtable): Return failure indication upon
41176 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41177
98727dbe
UD
411782010-12-25 Ulrich Drepper <drepper@gmail.com>
41179
5bd6dc5c
UD
41180 [BZ #12201]
41181 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41182 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41183 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41184 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41185
97983464
UD
41186 [BZ #12207]
41187 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41188
98727dbe
UD
41189 [BZ #12204]
41190 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41191 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41192
4a531bb0
L
411932010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41194
41195 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41196 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41197 script has SORT_BY_INIT_PRIORITY.
41198 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41199 NO_CTORS_DTORS_SECTIONS is defined.
41200 * elf/soinit.c: Likewise.
41201 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41202 NO_CTORS_DTORS_SECTIONS is defined.
41203 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41204 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41205 * sysdeps/sh/init-first.c: Likewise.
41206 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41207
07eb4b71
UD
412082010-12-24 Ulrich Drepper <drepper@gmail.com>
41209
41210 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41211 always use the slow path.
41212
30950a5f
RA
412132010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41214
41215 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41216 similar rule which adds the sysdep directories to the header search in
41217 order to pick up the correct platform stackinfo.h.
41218 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41219 perform test if it is, otherwise return successfully without testing.
41220 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41221 DEFAULT_STACK_PERMS define in stackinfo.h.
41222 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41223 defined in stackinfo.h.
41224 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41225 DEFAULT_STACK_PERMS defined in stackinfo.h.
41226 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41227 * sysdeps/ia64/stackinfo.h: Likewise.
41228 * sysdeps/s390/stackinfo.h: Likewise.
41229 * sysdeps/sh/stackinfo.h: Likewise.
41230 * sysdeps/sparc/stackinfo.h: Likewise.
41231 * sysdeps/x86_64/stackinfo.h: Likewise.
41232 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41233 PF_X for powerpc64. Retain PF_X for powerpc32.
41234
db753e2c
UD
412352010-12-19 Ulrich Drepper <drepper@gmail.com>
41236
14b697f7
UD
41237 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41238 accurately.
db753e2c
UD
41239 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41240 GETDENTS_64BIT_ALIGNED.
41241
28300719
UD
412422010-12-14 Ulrich Drepper <dreper@gmail.com>
41243
14b697f7 41244 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41245
4f197237
AS
412462010-12-10 Andreas Schwab <schwab@redhat.com>
41247
dbb0472f
AS
41248 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41249 _GNU_SOURCE.
41250
4f197237
AS
41251 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41252 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41253 Remove __restrict.
41254 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41255 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41256
fb88ac72
UD
412572010-12-09 Ulrich Drepper <drepper@gmail.com>
41258
41259 [BZ #11655]
41260 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41261 are initialized.
41262
42acbb92
JJ
412632010-12-09 Jakub Jelinek <jakub@redhat.com>
41264
41265 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41266
c038d98d
UD
412672010-12-03 Ulrich Drepper <drepper@gmail.com>
41268
41269 * po/it.po: Update from translation team.
41270
3a4a2499
L
412712010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41272
41273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41274 unused codes.
41275
1e24cf6e
UD
412762010-11-30 Ulrich Drepper <drepper@gmail.com>
41277
41278 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41279
a7690819
AS
412802010-11-24 Andreas Schwab <schwab@redhat.com>
41281
41282 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41283 specially.
41284 (gaih_getanswer_slice): Likewise.
41285
3bf8d1b1
JJ
412862010-10-20 Jakub Jelinek <jakub@redhat.com>
41287
41288 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41289
6db52fbb
PB
412902010-05-31 Petr Baudis <pasky@suse.cz>
41291
41292 [BZ #11149]
41293 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41294 silently even in the chroot mode.
41295
eaca7569
UD
412962010-11-22 Ulrich Drepper <drepper@gmail.com>
41297
41298 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41299 last patch a bit. Pretty printing
41300
3056dcdb
UD
413012010-05-31 Petr Baudis <pasky@suse.cz>
41302
41303 [BZ #10085]
41304 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41305 initialization of skip_initgroups_dyn.
41306
cf7c9078
UD
413072010-11-19 Ulrich Drepper <drepper@gmail.com>
41308
41309 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41310 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41311
a1fb5e3e
UD
413122010-11-16 Ulrich Drepper <drepper@gmail.com>
41313
41314 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41315
3540d66b
AS
413162010-11-11 Andreas Schwab <schwab@redhat.com>
41317
41318 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41319 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41320 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41321 ($(objpfx)tst-fnmatch-mem): New rule.
41322 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41323 * posix/tst-fnmatch.c (main): Call mtrace.
41324
13b69574
L
413252010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41326
41327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41328 Support Intel processor model 6 and model 0x2c.
41329
da93d214
LM
413302010-11-10 Luis Machado <luisgpm@br.ibm.com>
41331
41332 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41333 signed comparison.
41334
8ca52c6e
L
413352010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41336
41337 [BZ #12205]
41338 * string/test-strncasecmp.c (check_result): New function.
41339 (do_one_test): Use it.
41340 (check1): New function.
41341 (test_main): Use it.
41342 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41343 Support strcasecmp and strncasecmp.
41344
69da074d
UD
413452010-11-08 Ulrich Drepper <drepper@gmail.com>
41346
41347 [BZ #12194]
41348 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41349 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41350
ff02d528
L
413512010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41352
41353 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41354 IFUNC support.
41355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41356 memset-x86-64.
41357 * sysdeps/x86_64/multiarch/bzero.S: New file.
41358 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41359 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41360 * sysdeps/x86_64/multiarch/memset.S: New file.
41361 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41363 Set bit_Prefer_SSE_for_memop for Intel processors.
41364 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41365 Define.
41366 (index_Prefer_SSE_for_memop): Define.
41367 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41368
344d0b54
LM
413692010-11-04 Luis Machado <luisgpm@br.ibm.com>
41370
41371 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41372 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41373
c0dde15b
UD
413742010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41375
41376 [BZ #12191]
41377 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41378 (__x86_64_raw_data_cache_size_half): Likewise.
41379 (__x86_64_raw_shared_cache_size): Likewise.
41380 (__x86_64_raw_shared_cache_size_half): Likewise.
41381
41382 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41383 (__x86_64_raw_data_cache_size_half): Likewise.
41384 (__x86_64_raw_shared_cache_size): Likewise.
41385 (__x86_64_raw_shared_cache_size_half): Likewise.
41386 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41387 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41388 and __x86_64_raw_shared_cache_size_half. Round
41389 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41390 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41391 to multiple of 256 bytes.
41392
0e516e0e
MS
413932010-11-03 Ulrich Drepper <drepper@gmail.com>
41394
41395 [BZ #12167]
41396 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41397 of inacessible symlinks. Verify result of symlink before returning it.
41398 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41399 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41400
0e012e87
ER
414012010-10-28 Erich Ritz <erichritz@gmail.com>
41402
41403 * math/math.h (isinf): Fix typo in comment.
41404
de0ff7bc
UD
414052010-11-01 Ulrich Drepper <drepper@gmail.com>
41406
41407 * po/da.po: Update from translation team.
41408
fa41c84d
UD
414092010-10-26 Ulrich Drepper <drepper@gmail.com>
41410
41411 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41412 is added to the list.
41413
f0967738
AK
414142010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41415 Ulrich Drepper <drepper@gmail.com>
41416
41417 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41418 the global list here. Move code to...
41419 (_dl_add_to_namespace_list): ...here. New function.
41420 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41421 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41422 * elf/dl-load.c (lose): Don't remove the element from the list.
41423 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41424 (_dl_map_object): Likewise.
41425
414262010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41427
41428 [BZ #12159]
41429 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41430 into all bytes of SSE register.
41431 Patch by Richard Li <richardpku@gmail.com>.
41432
f0967738 414332010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41434
41435 [BZ #12140]
41436 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41437 perturbing.
41438
d0b9e94f
MB
414392010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41440
41441 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41442 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41443 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41444 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41446 submachine.
41447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41448
8e9f92e9
AS
414492010-10-22 Andreas Schwab <schwab@redhat.com>
41450
41451 * include/dlfcn.h (__RTLD_SECURE): Define.
41452 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41453 mode & __RTLD_SECURE instead.
41454 (open_path): Rename preloaded parameter to secure.
41455 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41456 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41457 * elf/dl-deps.c (openaux): Likewise.
41458 * elf/rtld.c (struct map_args): Remove is_preloaded.
41459 (map_doit): Don't use it.
41460 (dl_main): Likewise.
41461 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41462 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41463
bc96fbda
AS
414642010-09-09 Andreas Schwab <schwab@redhat.com>
41465
41466 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41467 (sysd-rules-targets): Remove duplicates.
41468 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41469 rtld-%.$o dependency.
41470
22cd1c9b
AS
414712010-10-18 Andreas Schwab <schwab@redhat.com>
41472
41473 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41474 _dl_map_object do it.
41475
18edac48
UD
414762010-10-19 Ulrich Drepper <drepper@gmail.com>
41477
41478 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41479 fast fma builtins, define the macros in the C99 standard.
41480 (FP_FAST_FMAF): Likewise.
41481 (FP_FAST_FMAL): Likewise.
41482 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41483
41484 * bits/mathdef.h: Update copyright year.
41485 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41486
d2050124
MM
414872010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41488
41489 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41490 builtins, define the macros in the C99 standard.
41491 (FP_FAST_FMAF): Likewise.
41492 (FP_FAST_FMAL): Likewise.
41493 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41494 multiply/add.
41495 (FP_FAST_FMAF): Likewise.
41496
475facd1
JJ
414972010-10-15 Jakub Jelinek <jakub@redhat.com>
41498
41499 [BZ #3268]
41500 * math/libm-test.inc (fma_test): Some new testcases.
41501 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41502 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41503 y and infinite z. Do multiplication by C already in long double.
41504 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41506 y and infinite z. Do bitwise or of inexact bit into u.d.
41507 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41508 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41509 * sysdeps/i386/fpu/s_fma.S: Removed.
41510 * sysdeps/i386/fpu/s_fmal.S: Removed.
41511
7c08a05c
JJ
415122010-10-16 Jakub Jelinek <jakub@redhat.com>
41513
41514 [BZ #3268]
41515 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41517 computation is not scheduled after fetestexcept. Fix value
41518 of minimum denormal long double.
41519
f3f7372d
JJ
415202010-10-14 Jakub Jelinek <jakub@redhat.com>
41521
41522 [BZ #3268]
41523 * math/libm-test.inc (fma_test): Add some more tests.
41524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41525 correctly.
41526
14d43591
AS
415272010-10-15 Andreas Schwab <schwab@redhat.com>
41528
41529 * scripts/data/localplt-s390-linux-gnu.data: New file.
41530 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41531
5e908464
JJ
415322010-10-13 Jakub Jelinek <jakub@redhat.com>
41533
41534 [BZ #3268]
41535 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41536 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41537 instead of dbl-64.
41538 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41539 inlines.
41540 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41542 if one of x and y is very large and the other is subnormal.
41543 * sysdeps/s390/fpu/s_fmaf.c: New file.
41544 * sysdeps/s390/fpu/s_fma.c: New file.
41545 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41546 * sysdeps/powerpc/fpu/s_fma.S: New file.
41547 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41548 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41549 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41550
415512010-10-12 Jakub Jelinek <jakub@redhat.com>
41552
41553 [BZ #3268]
41554 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41555 fma tests.
41556 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41557 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41558 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41559 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41560 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41561 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41562 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41563
b833d51f
UD
415642010-10-12 Ulrich Drepper <drepper@redhat.com>
41565
41566 [BZ #12078]
41567 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41568 * posix/bug-regex31.input: Add test case.
41569
1751705d
UD
415702010-10-11 Ulrich Drepper <drepper@gmail.com>
41571
e9b9cbf5
UD
41572 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41573 * posix/bug-regex31.input: New file.
41574
41575 [BZ #12078]
41576 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41577 (parse_sub_exp): Fix last change, use postorder.
41578
ef06edbe
UD
41579 * posix/bug-regex31.c: New file.
41580 * posix/Makefile: Add rules to build and run bug-regex31.
41581
a129c80d
UD
41582 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41583
41584 [BZ #12078]
41585 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41586
b76b818e
UD
41587 [BZ #12108]
41588 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41589 to have entries in sys_siglist.
41590
1751705d
UD
41591 [BZ #12093]
41592 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41593 be NULL.
41594
9ff8d36f
JJ
415952010-10-07 Jakub Jelinek <jakub@redhat.com>
41596
41597 [BZ #3268]
41598 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41599 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41600 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41601 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41602 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41603 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41604 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41605 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41606 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41607 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41608 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41609 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41610 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41611 * math/ftestexcept.c (fetestexcept): Likewise.
41612 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41613 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41614 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41615 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41616 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41617 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41618 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41619
af325969
UD
416202010-10-11 Ulrich Drepper <drepper@gmail.com>
41621
c579b202 41622 [BZ #12107]
af325969
UD
41623 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41624 newline.
41625
67a67b95
UD
416262010-10-06 Ulrich Drepper <drepper@gmail.com>
41627
41628 * string/bug-strstr1.c: New file.
41629 * string/Makefile: Add rules to build and run bug-strstr1.
41630
5fb308bc
EB
416312010-10-05 Eric Blake <eblake@redhat.com>
41632
41633 [BZ #12092]
41634 * string/str-two-way.h (two_way_long_needle): Always clear memory
41635 when skipping input due to the shift table.
41636
45db99c7
UD
416372010-10-03 Ulrich Drepper <drepper@gmail.com>
41638
3b111893
UD
41639 [BZ #12005]
41640 * malloc/mcheck.c: Handle large requests.
41641
45db99c7
UD
41642 [BZ #12077]
41643 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41644 for strncmp and strncasecmp.
41645 * string/stratcliff.c: Add tests for strcmp and strncmp.
41646 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41647
cf7a1eb8
NI
416482010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41649
41650 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41651 __set_fpscr.
41652
6484ba5e
AJ
416532010-09-30 Andreas Jaeger <aj@suse.de>
41654
41655 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41656 (CGROUP_SUPER_MAGIC): Define.
41657 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41658 Handle btrfs and cgroup file systems.
41659 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41660 Likewise.
41661
91c42559
LM
416622010-09-27 Luis Machado <luisgpm@br.ibm.com>
41663
41664 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41665 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41666
87a97932
AK
416672010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41668
41669 [BZ #12067]
41670 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41671 trying to locate the ELF header.
41672
c21cc9bc
AS
416732010-09-27 Andreas Schwab <schwab@redhat.com>
41674
41675 [BZ #11611]
41676 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41677 Mask out sign-bit copies when constructing f_fsid.
41678
315970f6
PB
416792010-09-24 Petr Baudis <pasky@suse.cz>
41680
41681 * debug/stack_chk_fail_local.c: Add missing licence exception.
41682 * debug/warning-nop.c: Likewise.
41683
1ac7a2c7
JM
416842010-09-15 Joseph Myers <joseph@codesourcery.com>
41685
41686 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41687 implementing getdents64 using getdents syscall, set d_type if
41688 __ASSUME_GETDENTS32_D_TYPE.
41689
56801c50
AS
416902010-09-16 Andreas Schwab <schwab@redhat.com>
41691
41692 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41693 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41694
dda51327
UD
416952010-09-21 Ulrich Drepper <drepper@redhat.com>
41696
41697 [BZ #12037]
41698 * posix/unistd.h: Undo change of feature selection for ftruncate from
41699 2010-01-11.
41700
8ffcee4a
UD
417012010-09-20 Ulrich Drepper <drepper@redhat.com>
41702
a545ecd9 41703 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41704 detection.
41705
e24f0a8b
AS
417062010-09-20 Andreas Schwab <schwab@redhat.com>
41707
41708 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41709 fanotify_mark.
41710 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41711
7291c56f
AS
417122010-09-14 Andreas Schwab <schwab@redhat.com>
41713
41714 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41715 variables after CHECK_SP call.
41716 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41717
bc5fb037
AS
417182010-09-13 Andreas Schwab <schwab@redhat.com>
41719 Ulrich Drepper <drepper@redhat.com>
41720
41721 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41722 re-relocationg ld.so.
41723 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41724 _dl_init_paths call.
41725 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41726 here anymore.
41727
e66e7419
UD
417282010-09-14 Ulrich Drepper <drepper@redhat.com>
41729
41730 * resolv/res_init.c (__res_vinit): Count the default server we added.
41731
c044aa75
CLT
417322010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41733 Ulrich Drepper <drepper@redhat.com>
41734
41735 [BZ #11968]
41736 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41737 (____longjmp_chk): Use %ebx for saving value across system call.
41738 Add unwind info.
41739
32cf4069
AS
417402010-09-06 Andreas Schwab <schwab@redhat.com>
41741
41742 * manual/Makefile: Don't mix pattern rules with normal rules.
41743
817328ee
AS
417442010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41745
41746 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41747 operation.
41748 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41749 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41750 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41751 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41753 Likewise.
41754
29fddf61
UD
417552010-09-04 Ulrich Drepper <drepper@redhat.com>
41756
41757 [BZ #11979]
41758 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41759 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41760
0959ffc9
UD
417612010-09-02 Ulrich Drepper <drepper@redhat.com>
41762
41763 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41764 * sysdeps/x86_64/addmul_1.S: Likewise.
41765 * sysdeps/x86_64/lshift.S: Likewise.
41766 * sysdeps/x86_64/mul_1.S: Likewise.
41767 * sysdeps/x86_64/rshift.S: Likewise.
41768 * sysdeps/x86_64/sub_n.S: Likewise.
41769 * sysdeps/x86_64/submul_1.S: Likewise.
41770
ece29840
ST
417712010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41772
0959ffc9
UD
41773 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41774 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41775 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41776 * bits/sched.h [__need_schedparam]
ece29840 41777 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41778 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41779 (__defined_schedparam): Define to 1.
ece29840
ST
41780 (__sched_param): New structure, identical to sched_param.
41781 (__need_schedparam): Undefine.
41782
e53a31fe
MF
417832010-08-31 Mike Frysinger <vapier@gentoo.org>
41784
fdc0c10d
MF
41785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41786 (epoll_create1): Declare.
41787
e53a31fe
MF
41788 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41789
a726d796
AS
417902010-08-31 Andreas Schwab <schwab@redhat.com>
41791
41792 [BZ #7066]
41793 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41794 shifting retval into place.
41795
2f3e3dc7
UD
417962010-09-01 Ulrich Drepper <drepper@redhat.com>
41797
f2933da9
UD
41798 * nis/rpcsvc/nis.h: Update copyright notice.
41799 * nis/rpcsvc/nis.x: Likewise.
41800 * nis/rpcsvc/nis_callback.h: Likewise.
41801 * nis/rpcsvc/nis_callback.x: Likewise.
41802 * nis/rpcsvc/nis_object.x: Likewise.
41803 * nis/rpcsvc/nis_tags.h: Likewise.
41804 * nis/rpcsvc/yp.h: Likewise.
41805 * nis/rpcsvc/yp.x: Likewise.
41806 * nis/rpcsvc/ypupd.h: Likewise.
41807 * nis/yp_xdr.c: Likewise.
41808 * nis/ypupdate_xdr.c: Likewise.
41809
2f3e3dc7
UD
41810 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41811 mainly the body of pmap_getport. Add parameters to specify timeouts.
41812 (pmap_getport): Use __libc_rpc_getport.
41813 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41814 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41815 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41816
f3dcc2f9
AS
418172010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41818
41819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41820 fanotify_mark.
41821
6d34eb5b
RM
418222010-08-27 Roland McGrath <roland@redhat.com>
41823
41824 * sysdeps/i386/i686/multiarch/Makefile
41825 (CFLAGS-varshift.c): New variable.
41826
9ea3de11
UD
418272010-08-27 Ulrich Drepper <drepper@redhat.com>
41828
c96d23fc
UD
41829 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41830 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41831
9ea3de11
UD
41832 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41833
41834 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41835
623aac7f
L
418362010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41837
41838 * sysdeps/x86_64/strlen.S: Unroll the loop.
41839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41840 strlen-sse2 strlen-sse2-bsf.
41841 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41842 __strlen_no_bsf if bit_Slow_BSF is set.
41843 (__strlen_sse42): Removed.
41844 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41845 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41846
8b2b7715
RM
418472010-08-25 Roland McGrath <roland@redhat.com>
41848
41849 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41850 * sysdeps/x86_64/multiarch/varshift.c: New file.
41851 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41852 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41853 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41854 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41855
e73015f2
L
418562010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41857
41858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41859 strlen-sse2 strlen-sse2-bsf.
41860 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41861 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41862 (__strlen_sse2): Removed.
41863 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41864 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41866 bit_Slow_BSF for Atom.
41867 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41868 (index_Slow_BSF): Define.
41869 (HAS_SLOW_BSF): Define.
41870
df24a73e
UD
418712010-08-25 Ulrich Drepper <drepper@redhat.com>
41872
41873 [BZ #10851]
41874 * resolv/res_init.c (__res_vinit): When no server address at all
41875 is given default to loopback.
41876
f2ac4868
RM
418772010-08-24 Roland McGrath <roland@redhat.com>
41878
09055553
RM
41879 * configure.in: Remove config-name.h generation.
41880 * configure: Regenerated.
41881 * config-name.in: File removed.
41882 * scripts/config-uname.sh: New file.
41883 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41884 ($(objdir)config-name.h): New target.
41885
f2ac4868
RM
41886 * sunrpc/rpc_parse.h: Avoid nested comment.
41887
73f27d5e
RH
418882010-08-24 Richard Henderson <rth@redhat.com>
41889 Ulrich Drepper <drepper@redhat.com>
41890 H.J. Lu <hongjiu.lu@intel.com>
41891
41892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41894 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41895 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41896 _mm_alignr_epi8 with _mm_loadu_si128.
41897 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41898 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41899 (__m128i_shift_right): Removed.
41900 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41901 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41902 * sysdeps/x86_64/multiarch/varshift.h: New file.
41903 * sysdeps/x86_64/multiarch/varshift.S: New file.
41904
84b9230c
MF
419052010-08-21 Mike Frysinger <vapier@gentoo.org>
41906
41907 * configure.in: Move assembler checks to before sysdep dir checking.
41908
9bbd0ddc
PB
419092010-08-20 Petr Baudis <pasky@suse.cz>
41910
41911 * LICENSES: Sync the sunrpc license.
41912
9da4bb31
UD
419132010-08-19 Ulrich Drepper <drepper@redhat.com>
41914
a7ab6ec8
UD
41915 * sunrpc/auth_des.c: Update copyright notice once again.
41916 * sunrpc/auth_none.c: Likewise.
41917 * sunrpc/auth_unix.c: Likewise.
41918 * sunrpc/authdes_prot.c: Likewise.
41919 * sunrpc/authuxprot.c: Likewise.
41920 * sunrpc/bindrsvprt.c: Likewise.
41921 * sunrpc/clnt_gen.c: Likewise.
41922 * sunrpc/clnt_perr.c: Likewise.
41923 * sunrpc/clnt_raw.c: Likewise.
41924 * sunrpc/clnt_simp.c: Likewise.
41925 * sunrpc/clnt_tcp.c: Likewise.
41926 * sunrpc/clnt_udp.c: Likewise.
41927 * sunrpc/clnt_unix.c: Likewise.
41928 * sunrpc/des_crypt.c: Likewise.
41929 * sunrpc/des_soft.c: Likewise.
41930 * sunrpc/get_myaddr.c: Likewise.
41931 * sunrpc/getrpcport.c: Likewise.
41932 * sunrpc/key_call.c: Likewise.
41933 * sunrpc/key_prot.c: Likewise.
41934 * sunrpc/openchild.c: Likewise.
41935 * sunrpc/pm_getmaps.c: Likewise.
41936 * sunrpc/pm_getport.c: Likewise.
41937 * sunrpc/pmap_clnt.c: Likewise.
41938 * sunrpc/pmap_prot.c: Likewise.
41939 * sunrpc/pmap_prot2.c: Likewise.
41940 * sunrpc/pmap_rmt.c: Likewise.
41941 * sunrpc/rpc/auth.h: Likewise.
41942 * sunrpc/rpc/auth_unix.h: Likewise.
41943 * sunrpc/rpc/clnt.h: Likewise.
41944 * sunrpc/rpc/des_crypt.h: Likewise.
41945 * sunrpc/rpc/key_prot.h: Likewise.
41946 * sunrpc/rpc/netdb.h: Likewise.
41947 * sunrpc/rpc/pmap_clnt.h: Likewise.
41948 * sunrpc/rpc/pmap_prot.h: Likewise.
41949 * sunrpc/rpc/pmap_rmt.h: Likewise.
41950 * sunrpc/rpc/rpc.h: Likewise.
41951 * sunrpc/rpc/rpc_des.h: Likewise.
41952 * sunrpc/rpc/rpc_msg.h: Likewise.
41953 * sunrpc/rpc/svc.h: Likewise.
41954 * sunrpc/rpc/svc_auth.h: Likewise.
41955 * sunrpc/rpc/types.h: Likewise.
41956 * sunrpc/rpc/xdr.h: Likewise.
41957 * sunrpc/rpc_clntout.c: Likewise.
41958 * sunrpc/rpc_cmsg.c: Likewise.
41959 * sunrpc/rpc_common.c: Likewise.
41960 * sunrpc/rpc_cout.c: Likewise.
41961 * sunrpc/rpc_dtable.c: Likewise.
41962 * sunrpc/rpc_hout.c: Likewise.
41963 * sunrpc/rpc_main.c: Likewise.
41964 * sunrpc/rpc_parse.c: Likewise.
41965 * sunrpc/rpc_parse.h: Likewise.
41966 * sunrpc/rpc_prot.c: Likewise.
41967 * sunrpc/rpc_sample.c: Likewise.
41968 * sunrpc/rpc_scan.c: Likewise.
41969 * sunrpc/rpc_scan.h: Likewise.
41970 * sunrpc/rpc_svcout.c: Likewise.
41971 * sunrpc/rpc_tblout.c: Likewise.
41972 * sunrpc/rpc_util.c: Likewise.
41973 * sunrpc/rpc_util.h: Likewise.
41974 * sunrpc/rpcinfo.c: Likewise.
41975 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41976 * sunrpc/rpcsvc/key_prot.x: Likewise.
41977 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41978 * sunrpc/rpcsvc/mount.x: Likewise.
41979 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41980 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41981 * sunrpc/rpcsvc/rex.x: Likewise.
41982 * sunrpc/rpcsvc/rstat.x: Likewise.
41983 * sunrpc/rpcsvc/rusers.x: Likewise.
41984 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41985 * sunrpc/rpcsvc/spray.x: Likewise.
41986 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41987 * sunrpc/rtime.c: Likewise.
41988 * sunrpc/svc.c: Likewise.
41989 * sunrpc/svc_auth.c: Likewise.
41990 * sunrpc/svc_authux.c: Likewise.
41991 * sunrpc/svc_raw.c: Likewise.
41992 * sunrpc/svc_run.c: Likewise.
41993 * sunrpc/svc_simple.c: Likewise.
41994 * sunrpc/svc_tcp.c: Likewise.
41995 * sunrpc/svc_udp.c: Likewise.
41996 * sunrpc/svc_unix.c: Likewise.
41997 * sunrpc/svcauth_des.c: Likewise.
41998 * sunrpc/xcrypt.c: Likewise.
41999 * sunrpc/xdr.c: Likewise.
42000 * sunrpc/xdr_array.c: Likewise.
42001 * sunrpc/xdr_float.c: Likewise.
42002 * sunrpc/xdr_mem.c: Likewise.
42003 * sunrpc/xdr_rec.c: Likewise.
42004 * sunrpc/xdr_ref.c: Likewise.
42005 * sunrpc/xdr_sizeof.c: Likewise.
42006 * sunrpc/xdr_stdio.c: Likewise.
42007
9da4bb31
UD
42008 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42009 handling.
42010
bdaa77bc
AS
420112010-08-19 Andreas Schwab <schwab@redhat.com>
42012
42013 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42014
fe2f79db
LM
420152010-08-19 Luis Machado <luisgpm@br.ibm.com>
42016
42017 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42018 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42019 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42020 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42021 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42022 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42023 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42024 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42025 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42026 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42027 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42028 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42029 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42030 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42031
b9b42ee0
AB
420322010-07-26 Anton Blanchard <anton@samba.org>
42033
42034 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42035 * malloc/arena.c (heap_trim): Likewise.
42036
1c06ba31
UD
420372010-08-16 Ulrich Drepper <drepper@redhat.com>
42038
42039 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42040 here. Not...
42041 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42042 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42043
f8392f40
L
420442010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42045
42046 * sysdeps/i386/elf/Makefile: New file.
42047
3162f12e
AS
420482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42049
42050 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42051 from fanotify_init.
42052 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42053 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42054
28c90b2c
UD
420552010-08-15 Ulrich Drepper <drepper@redhat.com>
42056
42057 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42058 of strncasecmp_l.
1feccb6c 42059 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42060
ca6bb004
UD
420612010-08-14 Ulrich Drepper <drepper@redhat.com>
42062
e9f82e0d
UD
42063 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42064 strncase_l-nonascii.
42065 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42066 Add strncase_l-ssse3.
42067 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42068 * sysdeps/x86_64/strcmp.S: Likewise.
42069 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42070 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42071 * sysdeps/x86_64/strncase.S: New file.
42072 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42073 * sysdeps/x86_64/strncase_l.S: New file.
42074 * string/Makefile (strop-tests): Add strncasecmp.
42075 * string/test-strncasecmp.c: New file.
42076
42077 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42078 warning.
42079
ca6bb004
UD
42080 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42081 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42082
052fa7b3
AS
420832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42084
42085 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42086
962dba78
UD
420872010-08-12 Ulrich Drepper <drepper@redhat.com>
42088
42089 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42090 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42091 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42092
bebff237
AM
420932010-05-01 Alan Modra <amodra@gmail.com>
42094
42095 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42096 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42097 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42098 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42099 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42100 tidying. Don't tail-call __sigjmp_save for static lib.
42101 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42102 save location.
42103 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42104 (CALL_MCOUNT): Add eh info, and nop after bl.
42105 (TAIL_CALL_SYSCALL_ERROR): New macro.
42106 (PSEUDO_RET): Use it.
42107 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42108 Correct save location of integer regs and cr.
42109 (_dl_profile_resolve): Correct cr save location. Delete nops
42110 after bl when SHARED. Reduce cfi size a little by better
42111 placement of cfi directives.
42112 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42113 make a stack frame. Instead use parm save area as a temp.
42114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42115 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42117 Don't make a stack frame for parent, use parm save area.
42118 Increase child stack frame to 112 bytes. Don't save unused reg,
42119 and adjust reg usage. Set up cfi on error recovery and
42120 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42122 (__makecontext): Add dummy nop after jump to exit.
42123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42124 Use correct parm save area and cr save, reduce stack frame.
42125 Correct cfi for possible PSEUDO_RET frame setup.
42126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42127 Branch to local label emitted by PSEUDO_RET rather than
42128 __syscall_error.
42129
02637374
AS
421302010-08-12 Andreas Schwab <schwab@redhat.com>
42131
42132 [BZ #11904]
42133 * locale/programs/locale.c (print_assignment): New function.
42134 (show_locale_vars): Use it.
42135
c3e2f19b
UD
421362010-08-11 Ulrich Drepper <drepper@redhat.com>
42137
3cdaa6ad
UD
42138 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42139 field.
42140 (struct statfs64): Likewise.
42141 (_STATFS_F_FLAGS): Define.
42142 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42143 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42144 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42145 (ST_VALID): Define locally.
42146 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42147 __statvfs_getflags, use the provided value.
42148 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42149 __ASSUME_STATFS_F_FLAGS.
42150
754f7da3
UD
42151 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42152
10b3bedc
UD
42153 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42154 Add sys/fanotify.h.
42155 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42156 fanotify_mask for GLIBC_2.13.
42157 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42158 fanotify_init and fanotify_mark.
42159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42160 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42161
c08fb0d7
UD
42162 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42163 Add prlimit.
42164 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42165 prlimit64 for GLIBC_2.13.
42166 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42167 prlimit64.
42168 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42169 syscall.
42170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42171 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42172 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42173 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42175 add prlimit alias.
42176 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42177
15bac72b
UD
42178 [BZ #11903]
42179 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42180 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42181
c3e2f19b
UD
42182 * nss/Makefile: Add rules to build and run tst-nss-test1.
42183 * shlib-versions: Add entry for libnss_test1.
42184 * nss/nss_test1.c: New file.
42185 * nss/tst-nss-test1.c: New file.
42186
42187 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42188 (__nss_configure_lookup): Set appropriate entry in
42189 __nss_configure_lookup to true.
42190 * nss/nsswitch.h: Define enum with indeces of databases in
42191 databases and __nss_database_custom arrays. Declare
42192 __nss_database_custom.
42193 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42194 to avoid using nscd when custom rules are installed.
42195 * nss/getXXbyYY_r.c: Likewise.
42196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42197
42198 * nss/nss_files/files-parse.c: Whitespace fixes.
42199
f15ce4d8
UD
422002010-08-09 Ulrich Drepper <drepper@redhat.com>
42201
42202 [BZ #11883]
42203 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42204 * posix/fnmatch_loop.c: Likewise.
42205
d22e4cc9
AK
422062010-07-17 Andi Kleen <ak@linux.intel.com>
42207
42208 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42209 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42210 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42211 * Versions.def [GLIBC_2.13]: Add.
42212
805bc17d
UD
422132010-08-06 Ulrich Drepper <drepper@redhat.com>
42214
42215 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42216 Also fail if tpwd after pwuid call is NULL.
42217
5a42321d
ST
422182010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42219
42220 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42221 when converting to ms.
42222
fd3ebeda
ST
422232010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42224
42225 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42226 EOPNOTSUPP errors with ENOTTY.
42227 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42228 EOPNOTSUPP errors with ENOTTY.
42229
73507d3a
UD
422302010-07-31 Ulrich Drepper <drepper@redhat.com>
42231
42232 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42233 Add strcasecmp_l-ssse3.
42234 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42235 strcasecmp.
42236 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42237 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42238 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42239
fe36dd02
UD
422402010-07-30 Ulrich Drepper <drepper@redhat.com>
42241
66f6765a
UD
42242 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42243
42e08a54
UD
42244 * string/Makefile (strop-tests): Add strcasecmp.
42245 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42246 strcasecmp_l-nonascii.
42247 (gen-as-const-headers): Add locale-defines.sym.
42248 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42249 * sysdeps/x86_64/strcasecmp.S: New file.
42250 * sysdeps/x86_64/strcasecmp_l.S: New file.
42251 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42252 * sysdeps/x86_64/locale-defines.sym: New file.
42253 * string/test-strcasecmp.c: New file.
42254
fe36dd02
UD
42255 * string/test-strcasestr.c: Test both ends of the range of characters.
42256 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42257
48cbc0d6
RM
422582010-07-29 Roland McGrath <roland@redhat.com>
42259
76e6d6bc 42260 [BZ #11856]
48cbc0d6
RM
42261 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42262
880113d9
UD
422632010-07-27 Ulrich Drepper <drepper@redhat.com>
42264
42265 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42266 for ld.so.
42267
deb9cabb
AS
422682010-07-27 Andreas Schwab <schwab@redhat.com>
42269
42270 * manual/memory.texi (Malloc Tunable Parameters): Document
42271 M_PERTURB.
42272
1c7570ff
RM
422732010-07-26 Roland McGrath <roland@redhat.com>
42274
42275 [BZ #11840]
42276 * configure.in (-fgnu89-inline check): Set and substitute
42277 gnu89_inline, not libc_cv_gnu89_inline.
42278 * configure: Regenerated.
42279 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42280
24fb0f88
UD
422812010-07-26 Ulrich Drepper <drepper@redhat.com>
42282
42283 * string/test-strnlen.c: New file.
42284 * string/Makefile (strop-tests): Add strnlen.
42285 * string/tester.c (test_strnlen): Add a few more test cases.
42286 * string/tst-strlen.c: Better error reporting.
42287
42288 * sysdeps/x86_64/strnlen.S: New file.
42289
8e96b93a
UD
422902010-07-24 Ulrich Drepper <drepper@redhat.com>
42291
42292 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42293 lower-latency instructions.
42294
dbc676d4
UD
422952010-07-23 Ulrich Drepper <drepper@redhat.com>
42296
42297 * string/test-strcasestr.c: New file.
42298 * string/test-strstr.c: New file.
42299 * string/Makefile (strop-tests): Add strstr and strcasestr.
42300 * string/str-two-way.h: Don't undefine MAX.
42301 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42302
f6a31e0e
AS
423032010-07-21 Andreas Schwab <schwab@redhat.com>
42304
42305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42306 strcasestr-nonascii.
42307 (CFLAGS-strcasestr-nonascii.c): Define.
42308 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42309 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42310 Remove unused attribute.
42311
5dbc3b6c
RM
423122010-07-20 Roland McGrath <roland@redhat.com>
42313
42314 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42315 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42316 ld.so.cache was broken. With it, there is no way to disable dsocaps
42317 like LD_HWCAP_MASK can disable hwcaps.
42318
23d101d8
EPM
423192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42320
42321 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42322
cc9f2e47
UD
423232010-07-16 Ulrich Drepper <drepper@redhat.com>
42324
42325 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42326 call in strcasestr.
42327 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42328 __strcasestr_sse42_nonascii.
42329 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42330 strcasestr-nonascii.c.
42331 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42332
77c1b069
LM
423332010-06-15 Luis Machado <luisgpm@br.ibm.com>
42334
42335 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42336 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42337 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42338 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42339
440566c3
UD
423402010-07-09 Ulrich Drepper <drepper@redhat.com>
42341
42342 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42343 fcntl.
42344
5be9d05d
AS
423452010-07-06 Andreas Schwab <schwab@redhat.com>
42346
c30b7ee2 42347 [BZ #11577]
5be9d05d
AS
42348 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42349 dl_signal_cerror.
42350
8a492a67
UD
423512010-07-06 Ulrich Drepper <drepper@redhat.com>
42352
42353 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42354 _PC_PIPE_BUF using F_GETPIPE_SZ.
42355
713df3d5
RM
423562010-07-05 Roland McGrath <roland@redhat.com>
42357
42358 * manual/arith.texi (Rounding Functions): Fix rint description
42359 implicit in round description.
42360
702e8f14
UD
423612010-07-02 Ulrich Drepper <drepper@redhat.com>
42362
42363 * elf/Makefile: Fix linking for a few tests to make recent linker
42364 happy.
42365
52ed8be9
AS
423662010-06-30 Andreas Schwab <schwab@redhat.com>
42367
42368 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42369 $(common-objpfx)libc_nonshared.a.
42370
f47c9a11
LM
423712010-06-21 Luis Machado <luisgpm@br.ibm.com>
42372
42373 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42374 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42375 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42376 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42377 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42378 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42379 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42380 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42395 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42396 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42397 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42398 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42399 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42400 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42401 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42402 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42403 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42404 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42405 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42406 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42421
6fb8cbcb
L
424222010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42423
42424 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42425 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42426 * string/memmove.c (memmove): Renamed to ...
42427 (MEMMOVE): ...this. Default to memmove.
42428 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42429 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42430 (END_CHK): Define.
42431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42432 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42433 mempcpy-ssse3-back memmove-ssse3-back.
42434 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42435 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42436 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42437 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42438 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42439 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42440 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42441 * sysdeps/x86_64/multiarch/memmove.c: New file.
42442 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42443 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42444 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42445 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42446 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42447 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42448 Define.
42449 (index_Fast_Copy_Backward): Define.
42450 (HAS_ARCH_FEATURE): Define.
42451 (HAS_FAST_REP_STRING): Define.
42452 (HAS_FAST_COPY_BACKWARD): Define.
42453
4e733bac 424542010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42455
42456 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42457 Restore proper fallback handling.
42458
63c4ed22
UD
424592010-06-19 Ulrich Drepper <drepper@redhat.com>
42460
ac2b484c
UD
42461 [BZ #11701]
42462 * posix/group_member.c (__group_member): Correct checking loop.
42463
63c4ed22
UD
42464 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42465 OOM in getpwuid_r correctly. Return error number when the caller
42466 should return, otherwise -1.
42467 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42468 call returning > 0 value.
42469 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42470
765ade4b
AS
424712010-06-07 Andreas Schwab <schwab@redhat.com>
42472
42473 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42474 libc_nonshared.a from targets in modules-names.
42475
80da2e09
KS
424762010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42477
42478 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42479 requires it.
42480
158db122
LM
424812010-06-10 Luis Machado <luisgpm@br.ibm.com>
42482
42483 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42484 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42485 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42486 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42487
caa78cf8
AS
424882010-06-02 Andreas Schwab <schwab@redhat.com>
42489
42490 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42491
b2ef2c01
UD
424922010-06-14 Ulrich Drepper <drepper@redhat.com>
42493
42494 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42495 and F_GETPIPE_SZ.
42496 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42498 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42500 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42501 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42502
fbd643b6
RM
425032010-06-14 Roland McGrath <roland@redhat.com>
42504
42505 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42506
f32f2869
JJ
425072010-06-07 Jakub Jelinek <jakub@redhat.com>
42508
42509 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42510 __REDIRECT followed by __THROW.
42511 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42512 * posix/getopt.h (getopt): Likewise.
42513
2a50c078
EPM
425142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42515
42516 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42517 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42518 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42519 in AT_FLAGS.
42520 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42521 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42522
eb5ad2eb
LM
425232010-05-28 Luis Machado <luisgpm@br.ibm.com>
42524
42525 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42526
3c88fe1e
L
425272010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42528
42529 [BZ #11640]
42530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42531 Properly check family and model.
42532
d2f73151
TY
425332010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42534
42535 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42536
ebd2e13d
LM
425372010-05-24 Luis Machado <luisgpm@br.ibm.com>
42538
42539 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42540
b32b8b45
UD
425412010-05-21 Ulrich Drepper <drepper@redhat.com>
42542
42543 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42544 symbol reference.
42545
9acbe24d
AS
425462010-05-19 Andreas Schwab <schwab@redhat.com>
42547
42548 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42549 symbol reference.
42550
f0ccf6ea
AS
425512010-05-21 Andreas Schwab <schwab@redhat.com>
42552
3d04ff3a
AS
42553 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42554 and internal_recvmmsg.
42555 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42556 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42557 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42558 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42559
f0ccf6ea
AS
42560 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42561 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42562 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42563
5b08ac57
AS
425642010-05-20 Andreas Schwab <schwab@redhat.com>
42565
42566 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42567
4828935d
LM
425682010-05-17 Luis Machado <luisgpm@br.ibm.com>
42569
42570 POWER7 optimizations.
42571 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42572 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42573
373d545e
UD
425742010-05-19 Ulrich Drepper <drepper@redhat.com>
42575
42576 * version.h: Update for 2.13 development version.
42577
21a2b1ae
AS
425782010-05-12 Andrew Stubbs <ams@codesourcery.com>
42579
42580 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42581 exceptions. Return 0.
42582
3f7dcb2b
RM
425832010-05-07 Roland McGrath <roland@redhat.com>
42584
42585 * elf/ldconfig.c (main): Add a const.
42586
5f24d53a 425872010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42588
a160f8d8
UD
42589 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42590 (args_options): Add no-idn option.
42591 (ahosts_keys_int): Add idn_flags to ai_flags.
42592 (parse_option): Handle 'i' option to clear idn_flags.
42593
5f24d53a
UD
42594 * malloc/malloc.c (_int_free): Possible race in the most recently
42595 added check. Only act on the data if no current modification
42596 happened.
265bb1ce
UD
42597
42598See ChangeLog.17 for earlier changes.