]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1b26b855
PP
12014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2
3 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4
9be36fb8
JM
52014-03-26 Joseph Myers <joseph@codesourcery.com>
6
7 [BZ #16198]
8 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9 fnstenv.
10 * math/test-fenv-preserve.c: New file.
11 * math/Makefile (tests): Add test-fenv-preserve.
12
60a2f3c1
WN
132014-03-26 Will Newton <will.newton@linaro.org>
14
15 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16
a5e5f1e2
RM
172014-03-25 Roland McGrath <roland@hack.frob.com>
18
19 * scripts/versionlist.awk: Partition the version sets and emit all
20 GLIBC_* (sorted) before all others (sorted).
21
00f4012a
JM
222014-03-25 Joseph Myers <joseph@codesourcery.com>
23
24 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
25 GLIBC_2.2.5 version.
26
7bc5a741
AZ
272014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28
29 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30 calls.
31
7578473b
AZ
322014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33
34 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35 previous change.
36
f3f1dab3
AZ
372014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38
39 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40
6da36183
AS
412014-03-25 Andreas Schwab <schwab@suse.de>
42
43 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
44 label to be used after in6ailist is initialized.
45
f3f1dab3 462014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 47
7578473b 48 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
49 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50
046651c1
JM
512014-03-25 Joseph Myers <joseph@codesourcery.com>
52
53 [BZ #16357]
54 [BZ #16599]
55 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
56 min_plus_half.
57 (fp_formats): Update initializers.
58 (init_fp_formats): Initialize new field.
59 (output_for_one_input_case): Allow underflow for results up to
60 min_plus_half.
61 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
62 * math/auto-libm-test-in: Don't mark some underflows from asin and
63 atanh as spurious.
64 * math/auto-libm-test-out: Regenerated.
65 * sysdeps/i386/fpu/libm-test-ulps: Update.
66 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67
003e49ed
AS
682014-03-25 Andreas Schwab <schwab@suse.de>
69
70 * libio/Makefile (tst-ftell-partial-wide-ENV)
71 (tst-ftell-active-handler-ENV): Define.
72
de031874
SL
732014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
74
75 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
76
55a81e3b
PP
772014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
78
79 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
80
f3426898
JM
812014-03-24 Joseph Myers <joseph@codesourcery.com>
82
83 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
84 * sysdeps/x86_64/fpu/multiarch/e_exp.c
85 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
86
a42faf59
PP
872014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
88
89 [BZ #16634]
a42faf59
PP
90 * elf/dl-load.c (open_verify): Add mode parameter.
91 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
92 (open_path): Change from boolean 'secure' to complete flag 'mode'
93 (_dl_map_object): Adjust.
94 * elf/Makefile (tests): Add tst-dlopen-aout.
95 * elf/tst-dlopen-aout.c: New test.
96
50936127
SL
972014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
98
99 [BZ #16714]
100 * sysdeps/unix/sysv/linux/s390/bits/stat.h
101 (struct stat): Rename member pad0 to __glibc_reserved0.
102
26011b5c
SL
1032014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
104
105 [BZ #16712]
106 * sysdeps/s390/s390-32/bits/wordsize.h
107 (__WORDSIZE32_SIZE_ULONG): New define.
108 * sysdeps/s390/s390-64/bits/wordsize.h
109 (__WORDSIZE32_SIZE_ULONG): Likewise.
110 * sysdeps/generic/stdint.h (SIZE_MAX):
111 Define as UL if __WORDSIZE32_SIZE_ULONG.
112
a2d86bf1
SL
1132014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
114
115 [BZ #16713]
116 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
117 (__glibc_reserved0): New variable.
118 (sa_flags): Change type to int.
119
78b6eebc
SL
1202014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
121
122 * posix/Makefile (before-compile): Use += before-compile instead
123 of a :=.
124
f1399b5a
SL
1252014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
126
127 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
128 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
129
a071766e
AS
1302014-03-20 Andreas Schwab <schwab@suse.de>
131
132 [BZ #16743]
133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
134 non-matching result from nscd.
135
27c673b8
SP
1362014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
137
138 * scripts/bench.py: Moved to ...
139 * benchtests/scripts/bench.py: ... here.
140 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
141
44152e4b
AS
1422014-03-24 Andreas Schwab <schwab@suse.de>
143
144 [BZ #16002]
145 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
146 alloca_account and account alloca use for struct in6ailist.
147
b376a11a
JM
1482014-03-24 Joseph Myers <joseph@codesourcery.com>
149
150 [BZ #16284]
151 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
152 rounding mode to recompute results that overflow to infinity or
153 underflow to zero.
154 * math/auto-libm-test-in: Don't mark tests as expected to fail for
155 bug 16284.
156 * math/auto-libm-test-out: Regenerated.
157 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
158 (ccosh_test): Likewise.
159 (csin_test_data): Use plus_oflow.
160 (csin_test): Use ALL_RM_TEST.
161 (csinh_test_data): Use plus_oflow.
162 (csinh_test): Use ALL_RM_TEST.
163 * sysdeps/i386/fpu/libm-test-ulps: Update.
164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
165
f7be7376
JM
1662014-03-21 Joseph Myers <joseph@codesourcery.com>
167
1ca2d03e
JM
168 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
169 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
170 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
171
f7be7376
JM
172 [BZ #16731]
173 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
174 when x - 1 is zero.
175 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
176 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
177 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
178 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
179 argument is 1.
180 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
181 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
182 zero.
183 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
184 * sysdeps/i386/fpu/libm-test-ulps: Update.
185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
186
fdf4534d
SP
1872014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
188
df26ea53
SP
189 * scripts/bench.pl: Remove file.
190 * scripts/bench.py: New benchmark script.
191 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
192 * benchtests/README: Mention python dependency.
193 * scripts/pylintrc: New file.
194 * scripts/pylint: New file.
195
fdf4534d
SP
196 * bits/mathdef.h: Use #ifdef instead of #if.
197 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
198 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
199 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
200 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
201 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
202 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
203
6f23d093
AZ
2042014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
205 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
206
207 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
209 and strpbrk-ppc64 objects.
210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
211 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
212 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
213 multiarch strpbrk for POWER7.
214 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
215 multiarch strpbrk for PPC64.
216 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
217 ifunc selector.
218 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
219 strpbrk for POWER7.
220
8c92dfff
JM
2212014-03-20 Joseph Myers <joseph@codesourcery.com>
222
223 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
224 (atan_test): Likewise.
225 (atanh_test_data): Use NO_TEST_INLINE for two tests.
226 (atanh_test): Use ALL_RM_TEST.
227 (atan2_test_data): Likewise.
228 (cabs_test): Likewise.
229 (cacosh_test): Likewise.
230 (carg_test): Likewise.
231 (casin_test): Likewise.
232 (casinh_test): Likewise.
233 (cbrt_test): Likewise.
234 (csqrt_test): Likewise.
235 (erf_test): Likewise.
236 (erfc_test): Likewise.
237 (pow10_test): Likewise.
238 (exp2_test): Likewise.
239 (hypot_test): Likewise.
240 (j0_test): Likewise.
241 (j1_test): Likewise.
242 (lgamma_test): Likewise.
243 (gamma_test): Likewise.
244 (sincos_test): Likewise.
245 (tanh_test): Likewise.
246 (y0_test): Likewise.
247 (y1_test): Likewise.
248 * sysdeps/i386/fpu/libm-test-ulps: Update.
249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
250
6eaf95cb
AZ
2512014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
252
a387428c
SP
253 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
255 and strcspn-ppc64 objects.
256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
257 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
258 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
259 multiarch strcspn for POWER7.
260 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
261 multiarch strcspn for PPC64.
262 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
263 ifunc selector.
264 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
265 strcspn for POWER7.
266
ae3a5dff
JM
2672014-03-20 Joseph Myers <joseph@codesourcery.com>
268
269 * math/gen-libm-test.pl (generate_testfile): Expect only function
270 name as argument to AUTO_TESTS_* and pass results for all rounding
271 modes to parse_args.
272 (parse_auto_input): Separate inputs of automatic tests from
273 outputs before storing in %auto_tests.
274 * math/libm-test.inc (acos_test_data): Update call to
275 AUTO_TESTS_f_f.
276 (acos_test): Use ALL_RM_TEST.
277 (acos_tonearest_test_data): Remove.
278 (acos_test_tonearest): Likewise.
279 (acos_towardzero_test_data): Likewise.
280 (acos_test_towardzero): Likewise.
281 (acos_downward_test_data): Likewise.
282 (acos_test_downward): Likewise.
283 (acos_upward_test_data): Likewise.
284 (acos_test_upward): Likewise.
285 (acosh_test_data): Update call to AUTO_TESTS_f_f.
286 (asin_test_data): Likewise.
287 (asin_test): Use ALL_RM_TEST.
288 (asin_tonearest_test_data): Remove.
289 (asin_test_tonearest): Likewise.
290 (asin_towardzero_test_data): Likewise.
291 (asin_test_towardzero): Likewise.
292 (asin_downward_test_data): Likewise.
293 (asin_test_downward): Likewise.
294 (asin_upward_test_data): Likewise.
295 (asin_test_upward): Likewise.
296 (asinh_test_data): Update call to AUTO_TESTS_f_f.
297 (atan_test_data): Likewise.
298 (atanh_test_data): Likewise.
299 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
300 (cabs_test_data): Update call to AUTO_TESTS_c_f.
301 (carg_test_data): Likewise.
302 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
303 (ccos_test_data): Update call to AUTO_TESTS_c_c.
304 (ccosh_test_data): Likewise.
305 (cexp_test_data): Likewise.
306 (clog_test_data): Likewise.
307 (clog10_test_data): Likewise.
308 (cos_test_data): Update call to AUTO_TESTS_f_f.
309 (cos_test): Use ALL_RM_TEST.
310 (cos_tonearest_test_data): Remove.
311 (cos_test_tonearest): Likewise.
312 (cos_towardzero_test_data): Likewise.
313 (cos_test_towardzero): Likewise.
314 (cos_downward_test_data): Likewise.
315 (cos_test_downward): Likewise.
316 (cos_upward_test_data): Likewise.
317 (cos_test_upward): Likewise.
318 (cosh_test_data): Update call to AUTO_TESTS_f_f.
319 (cosh_test): Use ALL_RM_TEST.
320 (cosh_tonearest_test_data): Remove.
321 (cosh_test_tonearest): Likewise.
322 (cosh_towardzero_test_data): Likewise.
323 (cosh_test_towardzero): Likewise.
324 (cosh_downward_test_data): Likewise.
325 (cosh_test_downward): Likewise.
326 (cosh_upward_test_data): Likewise.
327 (cosh_test_upward): Likewise.
328 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
329 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
330 (ctan_test_data): Likewise.
331 (ctan_test): Use ALL_RM_TEST.
332 (ctan_tonearest_test_data): Remove.
333 (ctan_test_tonearest): Likewise.
334 (ctan_towardzero_test_data): Likewise.
335 (ctan_test_towardzero): Likewise.
336 (ctan_downward_test_data): Likewise.
337 (ctan_test_downward): Likewise.
338 (ctan_upward_test_data): Likewise.
339 (ctan_test_upward): Likewise.
340 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
341 (ctanh_test): Use ALL_RM_TEST.
342 (ctanh_tonearest_test_data): Remove.
343 (ctanh_test_tonearest): Likewise.
344 (ctanh_towardzero_test_data): Likewise.
345 (ctanh_test_towardzero): Likewise.
346 (ctanh_downward_test_data): Likewise.
347 (ctanh_test_downward): Likewise.
348 (ctanh_upward_test_data): Likewise.
349 (ctanh_test_upward): Likewise.
350 (erf_test_data): Update call to AUTO_TESTS_f_f.
351 (erfc_test_data): Likewise.
352 (exp_test_data): Likewise.
353 (exp_test): Use ALL_RM_TEST.
354 (exp_tonearest_test_data): Remove.
355 (exp_test_tonearest): Likewise.
356 (exp_towardzero_test_data): Likewise.
357 (exp_test_towardzero): Likewise.
358 (exp_downward_test_data): Likewise.
359 (exp_test_downward): Likewise.
360 (exp_upward_test_data): Likewise.
361 (exp_test_upward): Likewise.
362 (exp10_test_data): Update call to AUTO_TESTS_f_f.
363 (exp10_test): Use ALL_RM_TEST.
364 (exp10_tonearest_test_data): Remove.
365 (exp10_test_tonearest): Likewise.
366 (exp10_towardzero_test_data): Likewise.
367 (exp10_test_towardzero): Likewise.
368 (exp10_downward_test_data): Likewise.
369 (exp10_test_downward): Likewise.
370 (exp10_upward_test_data): Likewise.
371 (exp10_test_upward): Likewise.
372 (exp2_test_data): Update call to AUTO_TESTS_f_f.
373 (expm1_test_data): Likewise.
374 (expm1_test): Use ALL_RM_TEST.
375 (expm1_tonearest_test_data): Remove.
376 (expm1_test_tonearest): Likewise.
377 (expm1_towardzero_test_data): Likewise.
378 (expm1_test_towardzero): Likewise.
379 (expm1_downward_test_data): Likewise.
380 (expm1_test_downward): Likewise.
381 (expm1_upward_test_data): Likewise.
382 (expm1_test_upward): Likewise.
383 (fma_test_data): Update call to AUTO_TESTS_fff_f.
384 (fma_test): Use ALL_RM_TEST.
385 (fma_towardzero_test_data): Remove.
386 (fma_test_towardzero): Likewise.
387 (fma_downward_test_data): Likewise.
388 (fma_test_downward): Likewise.
389 (fma_upward_test_data): Likewise.
390 (fma_test_upward): Likewise.
391 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
392 (j0_test_data): Update call to AUTO_TESTS_f_f.
393 (j1_test_data): Likewise.
394 (jn_test_data): Update call to AUTO_TESTS_if_f.
395 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
396 (log_test_data): Update call to AUTO_TESTS_f_f.
397 (log10_test_data): Likewise.
398 (log1p_test_data): Likewise.
399 (log2_test_data): Likewise.
400 (pow_test_data): Update call to AUTO_TESTS_ff_f.
401 (pow_tonearest_test_data): Likewise.
402 (sin_test_data): Update call to AUTO_TESTS_f_f.
403 (sin_test): Use ALL_RM_TEST.
404 (sin_tonearest_test_data): Remove.
405 (sin_test_tonearest): Likewise.
406 (sin_towardzero_test_data): Likewise.
407 (sin_test_towardzero): Likewise.
408 (sin_downward_test_data): Likewise.
409 (sin_test_downward): Likewise.
410 (sin_upward_test_data): Likewise.
411 (sin_test_upward): Likewise.
412 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
413 (sinh_test_data): Update call to AUTO_TESTS_f_f.
414 (sinh_test): Use ALL_RM_TEST.
415 (sinh_tonearest_test_data): Remove.
416 (sinh_test_tonearest): Likewise.
417 (sinh_towardzero_test_data): Likewise.
418 (sinh_test_towardzero): Likewise.
419 (sinh_downward_test_data): Likewise.
420 (sinh_test_downward): Likewise.
421 (sinh_upward_test_data): Likewise.
422 (sinh_test_upward): Likewise.
423 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
424 (sqrt_test): Use ALL_RM_TEST.
425 (sqrt_tonearest_test_data): Remove.
426 (sqrt_test_tonearest): Likewise.
427 (sqrt_towardzero_test_data): Likewise.
428 (sqrt_test_towardzero): Likewise.
429 (sqrt_downward_test_data): Likewise.
430 (sqrt_test_downward): Likewise.
431 (sqrt_upward_test_data): Likewise.
432 (sqrt_test_upward): Likewise.
433 (tan_test_data): Update call to AUTO_TESTS_f_f.
434 (tan_test): Use ALL_RM_TEST.
435 (tan_tonearest_test_data): Remove.
436 (tan_test_tonearest): Likewise.
437 (tan_towardzero_test_data): Likewise.
438 (tan_test_towardzero): Likewise.
439 (tan_downward_test_data): Likewise.
440 (tan_test_downward): Likewise.
441 (tan_upward_test_data): Likewise.
442 (tan_test_upward): Likewise.
443 (tanh_test_data): Update call to AUTO_TESTS_f_f.
444 (tgamma_test_data): Likewise.
445 (y0_test_data): Likewise.
446 (y1_test_data): Likewise.
447 (yn_test_data): Update call to AUTO_TESTS_if_f.
448 (main): Do not call removed functions.
449
d71aeee8
JM
4502014-03-19 Joseph Myers <joseph@codesourcery.com>
451
452 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
453 (ldexp_test_data): Remove.
454 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
455 scalbn_test_data.
456 (scalb_test): Use ALL_RM_TEST.
457
baaf1ded
AS
4582014-03-19 Andreas Schwab <schwab@suse.de>
459
460 * nscd/nscd.service: Also invalidate netgroup cache on reload.
461
b1115e91
JM
4622014-03-19 Joseph Myers <joseph@codesourcery.com>
463
464 [BZ #16649]
465 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
466 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
467 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
468 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
469 (__ASSUME_PREADV): Undefine.
470 (__ASSUME_PWRITEV): Likewise.
471
0283ecca
RM
4722014-03-18 Roland McGrath <roland@hack.frob.com>
473
7d375303
RM
474 * bits/mman-linux.h: Add comment about non-Linux use.
475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
476 bits/mman-linux.h resting place.
477
0283ecca
RM
478 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
479 * bits/mman-linux.h: ... here.
480
aebe1003
AZ
4812014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
482
483 * conform/conformtest.pl: Add standard definition when calling C
484 preprocessor on data files.
485 (checknamespace): Remove unused variable.
486
b29b6bb8
JM
4872014-03-18 Joseph Myers <joseph@codesourcery.com>
488
489 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
490 minus_oflow, plus_uflow and minus_uflow in expected results.
491 * math/libm-test.inc (scalbn_test_data): Add more tests of
492 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
493 minus_uflow.
494 (scalbn_test): Use ALL_RM_TEST.
495 (scalbln_test_data): Add more tests of negative arguments. Use
496 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
497 (scalbln_test): Use ALL_RM_TEST.
498
c8f8fa15
RM
4992014-03-18 Roland McGrath <roland@hack.frob.com>
500
501 * scripts/abilist.awk: Ignore symbols marked with .hidden.
502
fede7a5f
WN
5032014-03-18 Will Newton <will.newton@linaro.org>
504
505 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
506 inaccurate comment.
507
80cf0a58
JM
5082014-03-18 Joseph Myers <joseph@codesourcery.com>
509
510 * Makerules [!subdir] (check-abi): Exit with error status if a
511 test failed.
512
b3620862
JM
5132014-03-17 Joseph Myers <joseph@codesourcery.com>
514
515 * math/libm-test.inc (nearbyint_test_data): Include all tests used
516 for rint. Include results for all rounding modes.
517 (nearbyint_test): Use ALL_RM_TEST.
518 (rint_test_data): Include all tests used for nearbyint.
519
788bba36
WN
5202014-03-17 Will Newton <will.newton@linaro.org>
521
04ec140a
WN
522 * nptl/sysdeps/pthread/pthread.h: Revert previous
523 change.
524
7579d8d5
WN
525 * sysdeps/generic/ldsodefs.h: Revert previous
526 change.
527
c15cf13a
WN
528 * libio/genops.c: Revert previous change.
529 * libio/libioP.h: Likewise.
530 * stdio-common/vfprintf.c: Likewise.
531
d0ac1324
WN
532 * sysdeps/generic/math_private.h: Revert previous
533 change.
534
9290130a
WN
535 * sysdeps/generic/math_private.h: Check whether
536 HAVE_RM_CTX is defined with #ifdef rather
537 than #if.
538
afb466fc
WN
539 * argp/argp-fmtstream.h: Check whether
540 __STRICT_ANSI__ is defined with #ifdef rather
541 than #if.
542 * argp/argp.h: Likewise.
543
f7efd7c3
WN
544 * libio/genops.c: Check whether
545 _IO_JUMPS_OFFSET is defined with #ifdef rather
546 than #if.
547 * libio/libioP.h: Likewise.
548 * stdio-common/vfprintf.c: Likewise.
549
53f1bed3
WN
550 * sysdeps/generic/ldsodefs.h: Check whether
551 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
552 than #if.
553
788bba36
WN
554 * nptl/sysdeps/pthread/pthread.h: Check
555 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
556 its value.
557
fcd89ebe
SP
5582014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
559
ae42bbc5
SP
560 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
561 setting O_APPEND.
562 * libio/tst-ftell-active-handler.c (do_append_test): Add a
563 test case.
564
ea33158c
SP
565 [BZ #16680]
566 * libio/fileops.c (_IO_file_open): Seek to end of file but
567 don't cache the offset.
568 (get_file_offset): Remove function.
569 (do_ftell): Use cached offset when available.
570 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
571 don't cache the offset.
572 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
573 case.
574 (do_one_test): Call it.
575 (do_ftell_test): Fix up expected old offset for a+ mode.
576 * libio/wfileops.c (do_ftell_wide): Used cached offset when
577 available.
578
b1dbb426
SP
579 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
580 up test status with function return status.
581 (do_write_test): Likewise.
582 (do_append_test): Likewise.
583
fcd89ebe
SP
584 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
585 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
586 Remove.
587
9962a2d3
JM
5882014-03-17 Joseph Myers <joseph@codesourcery.com>
589
590 * math/gen-libm-test.pl (parse_args): Handle results specified for
591 each rounding mode separately.
592 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
593 tests and results from lrint_tonearest_test_data,
594 lrint_towardzero_test_data, lrint_downward_test_data and
595 lrint_upward_test_data.
596 (lrint_test): Use ALL_RM_TEST.
597 (lrint_tonearest_test_data): Remove.
598 (lrint_test_tonearest): Likewise.
599 (lrint_towardzero_test_data): Likewise.
600 (lrint_test_towardzero): Likewise.
601 (lrint_downward_test_data): Likewise.
602 (lrint_test_downward): Likewise.
603 (lrint_upward_test_data): Likewise.
604 (lrint_test_upward): Likewise.
605 (llrint_test_data): Merge in per-rounding-mode tests and results
606 from llrint_tonearest_test_data, llrint_towardzero_test_data,
607 llrint_downward_test_data and llrint_upward_test_data.
608 (llrint_test): Use ALL_RM_TEST.
609 (llrint_tonearest_test_data): Remove.
610 (llrint_test_tonearest): Likewise.
611 (llrint_towardzero_test_data): Likewise.
612 (llrint_test_towardzero): Likewise.
613 (llrint_downward_test_data): Likewise.
614 (llrint_test_downward): Likewise.
615 (llrint_upward_test_data): Likewise.
616 (llrint_test_upward): Likewise.
617 (rint_test_data): Merge in per-rounding-mode tests and results
618 from rint_tonearest_test_data, rint_towardzero_test_data,
619 rint_downward_test_data and rint_upward_test_data. Add
620 per-rounding-mode results for tests not in those arrays.
621 (rint_test): Use ALL_RM_TEST.
622 (rint_tonearest_test_data): Remove.
623 (rint_test_tonearest): Likewise.
624 (rint_towardzero_test_data): Likewise.
625 (rint_test_towardzero): Likewise.
626 (rint_downward_test_data): Likewise.
627 (rint_test_downward): Likewise.
628 (rint_upward_test_data): Likewise.
629 (rint_test_upward): Likewise.
630 (main): Don't call removed functions.
631
5006148e
RM
6322014-03-14 Roland McGrath <roland@hack.frob.com>
633
634 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
635 "Compiled on ..." crapola. It is anti-useful.
636
d6fe5e58
JM
6372014-03-14 Joseph Myers <joseph@codesourcery.com>
638
639 * scripts/evaluate-test.sh: Handle fourth argument to determine
640 whether test run should stop on failure.
641 * Makeconfig (stop-on-test-failure): New variable.
642 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
643 $(stop-on-test-failure).
644 * Makefile (tests): Give a summary of results from testing and
645 exit with failure status if they include an ERROR or FAIL.
646 (xtests): Likewise.
647 * manual/install.texi (Configuring and compiling): Mention
648 stop-on-test-failure=y.
649 * INSTALL: Regenerated.
650
498a2233
RM
6512014-03-14 Roland McGrath <roland@hack.frob.com>
652
22dbc19d
RM
653 * scripts/versionlist.awk: New file.
654 * Makerules [$(build-shared) = yes]
655 (postclean-generated): Add Versions.def, not Versions.def.v and
656 Versions.def.v.i.
657 ($(common-objpfx)Versions.def.v.i): Target removed.
658 ($(common-objpfx)Versions.def): New target.
659 ($(common-objpfx)Versions.all): Depend on that rather that
660 $(common-objpfx)Versions.def.v.
661 * Versions.def: File removed.
662
498a2233
RM
663 * Makeconfig (+gccwarn): Add -Wundef.
664 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
665 a dl-sysdep.h breaking its contract.
666 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
667 * include/stackinfo.h: New file.
668 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
669 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
670 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
671 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
672 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
673 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
674 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
675 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
676 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
677 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
678 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
679 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
680 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
681 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
682 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
683
c7de5025
AZ
6842014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
685
686 [BZ #16707]
687 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
688 implementation.
689 * math/libm-test.inc (round_test_data): Add more tests.
690
98fb27a3
AZ
6912014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692
693 [BZ #16706]
694 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
695 implementation.
696 * math/libm-test.inc (nearbyint_test_data): Add more tests.
697
374f7f61
AZ
6982014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
699
700 [BZ #16701]
701 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
702 implementation.
703 * math/libm-test.inc (ceil_test_data): Add more tests.
704
4655c291
AZ
7052014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
706
707 * math/libm-test.inc (trunc_test_data): Add more tests related to
708 BZ#16414.
709
d7329d4b
RM
7102014-03-14 Roland McGrath <roland@hack.frob.com>
711
712 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
713 with #if rather than #ifdef.
714 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
715
aa4de9ce
L
7162014-03-14 H.J. Lu <hongjiu.lu@intel.com>
717
718 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
719 first. Disable AVX-512 GCC support if assembler doesn't support
720 it.
721 * sysdeps/x86_64/configure: Regenerated.
722
2e03fae7
CD
7232014-03-13 Carlos O'Donell <carlos@redhat.com>
724
725 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
726 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
727 (__old_pthread_attr_setstack): Likewise.
728 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
729 [!_STACK_GROWS_DOWN]: Likewise.
730
43ca83ec
MF
7312014-03-13 Mike Frysinger <vapier@gentoo.org>
732
733 * config.make.in (have-bash2): Delete.
734 * configure.ac (libc_cv_have_bash2): Delete.
735 * configure: Regenerate.
736 * elf/Makefile (common-ldd-rewrite): Rename to ...
737 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
738 (sh-ldd-rewrite): Delete.
739 (bash-ldd-rewrite): Delete.
740 (have-bash2): Delete checks.
741 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
742
c66e48b4
MF
7432014-03-13 Mike Frysinger <vapier@gentoo.org>
744
745 * config.make.in (have-ksh): Delete.
746 (KSH): Delete.
747 * configure.ac (libc_cv_have_ksh): Delete.
748 * configure: Regenerate.
749
b93834ef
MF
7502014-03-13 Mike Frysinger <vapier@gentoo.org>
751
752 * elf/Makefile: Delete $(have-ksh) check.
753 ($(objpfx)sotruss): Change KSH to BASH.
754 * elf/sotruss.ksh: Rename to ...
755 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
756 function style to match POSIX. Drop ksh vim mode setting.
757
f3a4632a
MF
7582014-03-13 Mike Frysinger <vapier@gentoo.org>
759
760 * manual/time.texi (Specifying the Time Zone with TZ): Change
761 Tuesday to Thursday.
762
5896c8bd
MF
7632014-03-13 Mike Frysinger <vapier@gentoo.org>
764
765 * debug/tst-longjmp_chk2.c: Update header comment.
766 (stackoverflow_handler): Add comment. Call assert on pass value.
767
2d63a517
IZ
7682014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
769
770 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
771 (HAVE_AVX512_ASM_SUPPORT): Likewise.
772 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
773 (La_x86_64_vector): Add zmm.
774 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
775 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
776 ($(objpfx)tst-audit10): New target.
777 ($(objpfx)tst-audit10.out): Likewise.
778 (tst-audit10-ENV): New.
779 (AVX512-CFLAGS): Likewise.
780 (CFLAGS-tst-audit10.c): Likewise.
781 (CFLAGS-tst-auditmod10a.c): Likewise.
782 (CFLAGS-tst-auditmod10b.c): Likewise.
783 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
784 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
785 * sysdeps/x86_64/configure: Regenerated.
786 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
787 AVX-512 zmm register support.
788 (_dl_x86_64_save_sse): Likewise.
789 (_dl_x86_64_restore_sse): Likewise.
790 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
791 size vector registers.
792 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
793 (ZMM_SIZE): Likewise.
794 * sysdeps/x86_64/tst-audit10.c: New file.
795 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
796 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
797
44c4e5d5
RM
7982014-03-13 Roland McGrath <roland@hack.frob.com>
799
800 * configure.ac (HAVE_EHDR_START): New check.
801 * configure: Regenerated.
802 * config.h.in (HAVE_EHDR_START): New #undef.
803 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
804 assuming the lowest-addressed segment maps the start of the file.
805
acd6e389
JM
8062014-03-13 Joseph Myers <joseph@codesourcery.com>
807
808 * INSTALL: Regenerated.
809
6f918f36
WN
8102014-03-13 Will Newton <will.newton@linaro.org>
811
812 * manual/setjmp.texi (System V contexts): Improve
813 clarity and grammar of documentation.
814
798212a0
PP
8152014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
816
817 [BZ #16381]
798212a0 818 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 819 (tests-pie): Add tst-pie2.
798212a0
PP
820 * elf/tst-pie2.c: New file.
821 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
822 for ET_EXEC.
823 * elf/rtld.c (map_doit): Load executable as lt_executable.
824 (dl_main): Likewise.
825
abe6d90c
JM
8262014-03-12 Joseph Myers <joseph@codesourcery.com>
827
828 [BZ #16642]
829 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
830 (__ASSUME_PSELECT): Undefine.
831
dd3946c6
AZ
8322014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
833
834 [BZ #16689]
835 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
836 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
837 static build.
838 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
839 selector for static builds.
840
c44496df
SP
8412014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
842
843 [BZ #16695]
844 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
845 key in the buffer.
846
27c7220a
AZ
8472014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
848
849 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
850 selector for static builds.
851
600fa361
JM
8522014-03-11 Joseph Myers <joseph@codesourcery.com>
853
76c96cf7
JM
854 * sysdeps/mips/math_private.h [__mips_hard_float]
855 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
856 libc_feresetround_mips_ctx.
857 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
858 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
859 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
860
600fa361
JM
861 [BZ #16677]
862 * math/s_nextafter.c (__nextafter): Do not return value from
863 overflowing computation.
864 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
865 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
866 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
867 Likewise.
868 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
869 Likewise.
870 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
871 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
872
d7706c32
RM
8732014-03-11 Roland McGrath <roland@hack.frob.com>
874
875 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
876 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
877 Move sfi_sp use from the load-multiple (that no longer sets sp) to
878 the new mov targetting sp.
879
4facea47
AZ
8802014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
881
882 [BZ #16683]
883 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
884 Define it for static builds as well.
885 (NO_BZERO_IMPL): Likewise.
886
e65caf1f
VR
8872014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
888
889 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
890 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
891 multiarch strspn for PPC64.
892 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
893 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
895 (__libc_ifunc_impl_list): Likewise.
896 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
897 multiarch optimizations
898 * string/strspn.c (strspn): Using macro to redefine symbol name.
899
ba9cc071
AZ
9002014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
901 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
902
903 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
904 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
905 multiarch strncat for PPC64.
906 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
907 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
909 (__libc_ifunc_impl_list): Likewise.
910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
911 multiarch optimizations
912
8b4ff974
SP
9132014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
914
915 [BZ #16639]
916 * nscd/nscd.service: Make service type forking.
917
54b46a4b
AZ
9182014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
919
920 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
921 sign in non default rounding modes.
922 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
923
e9996ef7
JM
9242014-03-08 Joseph Myers <joseph@codesourcery.com>
925
926 * math/libm-test.inc (ALL_RM_TEST): New macro.
927 (ceil_test): Use ALL_RM_TEST.
928 (cimag_test): Likewise.
929 (conj_test): Likewise.
930 (copysign_test): Likewise.
931 (cproj_test): Likewise.
932 (creal_test): Likewise.
933 (fabs_test): Likewise.
934 (floor_test): Likewise.
935 (fmax_test): Likewise.
936 (fmin_test): Likewise.
937 (fmod_test): Likewise.
938 (fpclassify_test): Likewise.
939 (frexp_test): Likewise.
940 (ilogb_test): Likewise.
941 (isfinite_test): Likewise.
942 (finite_test): Likewise.
943 (isgreater_test): Likewise.
944 (isgreaterequal_test): Likewise.
945 (isinf_test): Likewise.
946 (isless_test): Likewise.
947 (islessequal_test): Likewise.
948 (islessgreater_test): Likewise.
949 (isnan_test): Likewise.
950 (isnormal_test): Likewise.
951 (issignaling_test): Likewise.
952 (isunordered_test): Likewise.
953 (logb_test): Likewise.
954 (logb_downward_test_data): Remove.
955 (logb_test_downward): Likewise.
956 (lround_test): Use ALL_RM_TEST.
957 (llround_test): Likewise.
958 (modf_test): Likewise.
959 (nexttoward_test): Likewise.
960 (remainder_test): Likewise.
961 (drem_test): Likewise.
962 (remainder_tonearest_test_data): Likewise.
963 (remainder_test_tonearest): Likewise.
964 (drem_test_tonearest): Likewise.
965 (remainder_towardzero_test_data): Likewise.
966 (remainder_test_towardzero): Likewise.
967 (drem_test_towardzero): Likewise.
968 (remainder_downward_test_data): Likewise.
969 (remainder_test_downward): Likewise.
970 (drem_test_downward): Likewise.
971 (remainder_upward_test_data): Likewise.
972 (remainder_test_upward): Likewise.
973 (drem_test_upward): Likewise.
974 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
975 (round_test): Use ALL_RM_TEST.
976 (signbit_test): Likewise.
977 (trunc_test): Likewise.
978 (significand_test): Likewise.
979 (main): Don't call removed functions.
980
bc61d27c
JM
9812014-03-07 Joseph Myers <joseph@codesourcery.com>
982
5c780849
JM
983 [BZ #16674]
984 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
985 || __USE_XOPEN2K8].
986 (ILL_ILLOPN): Likewise.
987 (ILL_ILLADR): Likewise.
988 (ILL_ILLTRP): Likewise.
989 (ILL_PRVOPC): Likewise.
990 (ILL_PRVREG): Likewise.
991 (ILL_COPROC): Likewise.
992 (ILL_BADSTK): Likewise.
993 (FPE_INTDIV): Likewise.
994 (FPE_INTOVF): Likewise.
995 (FPE_FLTDIV): Likewise.
996 (FPE_FLTOVF): Likewise.
997 (FPE_FLTUND): Likewise.
998 (FPE_FLTRES): Likewise.
999 (FPE_FLTINV): Likewise.
1000 (FPE_FLTSUB): Likewise.
1001 (SEGV_MAPERR): Likewise.
1002 (SEGV_ACCERR): Likewise.
1003 (BUS_ADRALN): Likewise.
1004 (BUS_ADRERR): Likewise.
1005 (BUS_OBJERR): Likewise.
1006 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1007 (TRAP_TRACE): Likewise.
1008 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1009 __USE_XOPEN2K8].
1010 (CLD_KILLED): Likewise.
1011 (CLD_DUMPED): Likewise.
1012 (CLD_TRAPPED): Likewise.
1013 (CLD_STOPPED): Likewise.
1014 (CLD_CONTINUED): Likewise.
1015 (POLL_IN): Likewise.
1016 (POLL_OUT): Likewise.
1017 (POLL_MSG): Likewise.
1018 (POLL_ERR): Likewise.
1019 (POLL_PRI): Likewise.
1020 (POLL_HUP): Likewise.
1021 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1022 Likewise.
1023 (ILL_ILLOPN): Likewise.
1024 (ILL_ILLADR): Likewise.
1025 (ILL_ILLTRP): Likewise.
1026 (ILL_PRVOPC): Likewise.
1027 (ILL_PRVREG): Likewise.
1028 (ILL_COPROC): Likewise.
1029 (ILL_BADSTK): Likewise.
1030 (FPE_INTDIV): Likewise.
1031 (FPE_INTOVF): Likewise.
1032 (FPE_FLTDIV): Likewise.
1033 (FPE_FLTOVF): Likewise.
1034 (FPE_FLTUND): Likewise.
1035 (FPE_FLTRES): Likewise.
1036 (FPE_FLTINV): Likewise.
1037 (FPE_FLTSUB): Likewise.
1038 (SEGV_MAPERR): Likewise.
1039 (SEGV_ACCERR): Likewise.
1040 (BUS_ADRALN): Likewise.
1041 (BUS_ADRERR): Likewise.
1042 (BUS_OBJERR): Likewise.
1043 (BUS_MCEERR_AR): Likewise.
1044 (BUS_MCEERR_AO): Likewise.
1045 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1046 (TRAP_TRACE): Likewise.
1047 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1048 __USE_XOPEN2K8].
1049 (CLD_KILLED): Likewise.
1050 (CLD_DUMPED): Likewise.
1051 (CLD_TRAPPED): Likewise.
1052 (CLD_STOPPED): Likewise.
1053 (CLD_CONTINUED): Likewise.
1054 (POLL_IN): Likewise.
1055 (POLL_OUT): Likewise.
1056 (POLL_MSG): Likewise.
1057 (POLL_ERR): Likewise.
1058 (POLL_PRI): Likewise.
1059 (POLL_HUP): Likewise.
1060 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1061 (ILL_ILLOPN): Likewise.
1062 (ILL_ILLADR): Likewise.
1063 (ILL_ILLTRP): Likewise.
1064 (ILL_PRVOPC): Likewise.
1065 (ILL_PRVREG): Likewise.
1066 (ILL_COPROC): Likewise.
1067 (ILL_BADSTK): Likewise.
1068 (FPE_INTDIV): Likewise.
1069 (FPE_INTOVF): Likewise.
1070 (FPE_FLTDIV): Likewise.
1071 (FPE_FLTOVF): Likewise.
1072 (FPE_FLTUND): Likewise.
1073 (FPE_FLTRES): Likewise.
1074 (FPE_FLTINV): Likewise.
1075 (FPE_FLTSUB): Likewise.
1076 (SEGV_MAPERR): Likewise.
1077 (SEGV_ACCERR): Likewise.
1078 (BUS_ADRALN): Likewise.
1079 (BUS_ADRERR): Likewise.
1080 (BUS_OBJERR): Likewise.
1081 (BUS_MCEERR_AR): Likewise.
1082 (BUS_MCEERR_AO): Likewise.
1083 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1084 (TRAP_TRACE): Likewise.
1085 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1086 __USE_XOPEN2K8].
1087 (CLD_KILLED): Likewise.
1088 (CLD_DUMPED): Likewise.
1089 (CLD_TRAPPED): Likewise.
1090 (CLD_STOPPED): Likewise.
1091 (CLD_CONTINUED): Likewise.
1092 (POLL_IN): Likewise.
1093 (POLL_OUT): Likewise.
1094 (POLL_MSG): Likewise.
1095 (POLL_ERR): Likewise.
1096 (POLL_PRI): Likewise.
1097 (POLL_HUP): Likewise.
1098 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1099 Likewise.
1100 (ILL_ILLOPN): Likewise.
1101 (ILL_ILLADR): Likewise.
1102 (ILL_ILLTRP): Likewise.
1103 (ILL_PRVOPC): Likewise.
1104 (ILL_PRVREG): Likewise.
1105 (ILL_COPROC): Likewise.
1106 (ILL_BADSTK): Likewise.
1107 (ILL_BADIADDR): Likewise.
1108 (ILL_BREAK): Likewise.
1109 (FPE_INTDIV): Likewise.
1110 (FPE_INTOVF): Likewise.
1111 (FPE_FLTDIV): Likewise.
1112 (FPE_FLTOVF): Likewise.
1113 (FPE_FLTUND): Likewise.
1114 (FPE_FLTRES): Likewise.
1115 (FPE_FLTINV): Likewise.
1116 (FPE_FLTSUB): Likewise.
1117 (FPE_DECOVF): Likewise.
1118 (FPE_DECDIV): Likewise.
1119 (FPE_DECERR): Likewise.
1120 (FPE_INVASC): Likewise.
1121 (FPE_INVDEC): Likewise.
1122 (SEGV_MAPERR): Likewise.
1123 (SEGV_ACCERR): Likewise.
1124 (SEGV_PSTKOVF): Likewise.
1125 (BUS_ADRALN): Likewise.
1126 (BUS_ADRERR): Likewise.
1127 (BUS_OBJERR): Likewise.
1128 (BUS_MCEERR_AR): Likewise.
1129 (BUS_MCEERR_AO): Likewise.
1130 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1131 (TRAP_TRACE): Likewise.
1132 (TRAP_BRANCH): Likewise.
1133 (TRAP_HWBKPT): Likewise.
1134 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1135 __USE_XOPEN2K8].
1136 (CLD_KILLED): Likewise.
1137 (CLD_DUMPED): Likewise.
1138 (CLD_TRAPPED): Likewise.
1139 (CLD_STOPPED): Likewise.
1140 (CLD_CONTINUED): Likewise.
1141 (POLL_IN): Likewise.
1142 (POLL_OUT): Likewise.
1143 (POLL_MSG): Likewise.
1144 (POLL_ERR): Likewise.
1145 (POLL_PRI): Likewise.
1146 (POLL_HUP): Likewise.
1147 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1148 (ILL_ILLOPN): Likewise.
1149 (ILL_ILLADR): Likewise.
1150 (ILL_ILLTRP): Likewise.
1151 (ILL_PRVOPC): Likewise.
1152 (ILL_PRVREG): Likewise.
1153 (ILL_COPROC): Likewise.
1154 (ILL_BADSTK): Likewise.
1155 (FPE_INTDIV): Likewise.
1156 (FPE_INTOVF): Likewise.
1157 (FPE_FLTDIV): Likewise.
1158 (FPE_FLTOVF): Likewise.
1159 (FPE_FLTUND): Likewise.
1160 (FPE_FLTRES): Likewise.
1161 (FPE_FLTINV): Likewise.
1162 (FPE_FLTSUB): Likewise.
1163 (SEGV_MAPERR): Likewise.
1164 (SEGV_ACCERR): Likewise.
1165 (BUS_ADRALN): Likewise.
1166 (BUS_ADRERR): Likewise.
1167 (BUS_OBJERR): Likewise.
1168 (BUS_MCEERR_AR): Likewise.
1169 (BUS_MCEERR_AO): Likewise.
1170 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1171 (TRAP_TRACE): Likewise.
1172 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1173 __USE_XOPEN2K8].
1174 (CLD_KILLED): Likewise.
1175 (CLD_DUMPED): Likewise.
1176 (CLD_TRAPPED): Likewise.
1177 (CLD_STOPPED): Likewise.
1178 (CLD_CONTINUED): Likewise.
1179 (POLL_IN): Likewise.
1180 (POLL_OUT): Likewise.
1181 (POLL_MSG): Likewise.
1182 (POLL_ERR): Likewise.
1183 (POLL_PRI): Likewise.
1184 (POLL_HUP): Likewise.
1185 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1186 (ILL_ILLOPN): Likewise.
1187 (ILL_ILLADR): Likewise.
1188 (ILL_ILLTRP): Likewise.
1189 (ILL_PRVOPC): Likewise.
1190 (ILL_PRVREG): Likewise.
1191 (ILL_COPROC): Likewise.
1192 (ILL_BADSTK): Likewise.
1193 (FPE_INTDIV): Likewise.
1194 (FPE_INTOVF): Likewise.
1195 (FPE_FLTDIV): Likewise.
1196 (FPE_FLTOVF): Likewise.
1197 (FPE_FLTUND): Likewise.
1198 (FPE_FLTRES): Likewise.
1199 (FPE_FLTINV): Likewise.
1200 (FPE_FLTSUB): Likewise.
1201 (SEGV_MAPERR): Likewise.
1202 (SEGV_ACCERR): Likewise.
1203 (BUS_ADRALN): Likewise.
1204 (BUS_ADRERR): Likewise.
1205 (BUS_OBJERR): Likewise.
1206 (BUS_MCEERR_AR): Likewise.
1207 (BUS_MCEERR_AO): Likewise.
1208 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1209 (TRAP_TRACE): Likewise.
1210 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1211 __USE_XOPEN2K8].
1212 (CLD_KILLED): Likewise.
1213 (CLD_DUMPED): Likewise.
1214 (CLD_TRAPPED): Likewise.
1215 (CLD_STOPPED): Likewise.
1216 (CLD_CONTINUED): Likewise.
1217 (POLL_IN): Likewise.
1218 (POLL_OUT): Likewise.
1219 (POLL_MSG): Likewise.
1220 (POLL_ERR): Likewise.
1221 (POLL_PRI): Likewise.
1222 (POLL_HUP): Likewise.
1223 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1224 (ILL_ILLOPN): Likewise.
1225 (ILL_ILLADR): Likewise.
1226 (ILL_ILLTRP): Likewise.
1227 (ILL_PRVOPC): Likewise.
1228 (ILL_PRVREG): Likewise.
1229 (ILL_COPROC): Likewise.
1230 (ILL_BADSTK): Likewise.
1231 (FPE_INTDIV): Likewise.
1232 (FPE_INTOVF): Likewise.
1233 (FPE_FLTDIV): Likewise.
1234 (FPE_FLTOVF): Likewise.
1235 (FPE_FLTUND): Likewise.
1236 (FPE_FLTRES): Likewise.
1237 (FPE_FLTINV): Likewise.
1238 (FPE_FLTSUB): Likewise.
1239 (SEGV_MAPERR): Likewise.
1240 (SEGV_ACCERR): Likewise.
1241 (BUS_ADRALN): Likewise.
1242 (BUS_ADRERR): Likewise.
1243 (BUS_OBJERR): Likewise.
1244 (BUS_MCEERR_AR): Likewise.
1245 (BUS_MCEERR_AO): Likewise.
1246 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1247 (TRAP_TRACE): Likewise.
1248 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1249 __USE_XOPEN2K8].
1250 (CLD_KILLED): Likewise.
1251 (CLD_DUMPED): Likewise.
1252 (CLD_TRAPPED): Likewise.
1253 (CLD_STOPPED): Likewise.
1254 (CLD_CONTINUED): Likewise.
1255 (POLL_IN): Likewise.
1256 (POLL_OUT): Likewise.
1257 (POLL_MSG): Likewise.
1258 (POLL_ERR): Likewise.
1259 (POLL_PRI): Likewise.
1260 (POLL_HUP): Likewise.
1261 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1262 (ILL_ILLOPN): Likewise.
1263 (ILL_ILLADR): Likewise.
1264 (ILL_ILLTRP): Likewise.
1265 (ILL_PRVOPC): Likewise.
1266 (ILL_PRVREG): Likewise.
1267 (ILL_COPROC): Likewise.
1268 (ILL_BADSTK): Likewise.
1269 (ILL_DBLFLT): Likewise.
1270 (ILL_HARDWALL): Likewise.
1271 (FPE_INTDIV): Likewise.
1272 (FPE_INTOVF): Likewise.
1273 (FPE_FLTDIV): Likewise.
1274 (FPE_FLTOVF): Likewise.
1275 (FPE_FLTUND): Likewise.
1276 (FPE_FLTRES): Likewise.
1277 (FPE_FLTINV): Likewise.
1278 (FPE_FLTSUB): Likewise.
1279 (SEGV_MAPERR): Likewise.
1280 (SEGV_ACCERR): Likewise.
1281 (BUS_ADRALN): Likewise.
1282 (BUS_ADRERR): Likewise.
1283 (BUS_OBJERR): Likewise.
1284 (BUS_MCEERR_AR): Likewise.
1285 (BUS_MCEERR_AO): Likewise.
1286 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1287 (TRAP_TRACE): Likewise.
1288 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1289 __USE_XOPEN2K8].
1290 (CLD_KILLED): Likewise.
1291 (CLD_DUMPED): Likewise.
1292 (CLD_TRAPPED): Likewise.
1293 (CLD_STOPPED): Likewise.
1294 (CLD_CONTINUED): Likewise.
1295 (POLL_IN): Likewise.
1296 (POLL_OUT): Likewise.
1297 (POLL_MSG): Likewise.
1298 (POLL_ERR): Likewise.
1299 (POLL_PRI): Likewise.
1300 (POLL_HUP): Likewise.
1301 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1302 (ILL_ILLOPN): Likewise.
1303 (ILL_ILLADR): Likewise.
1304 (ILL_ILLTRP): Likewise.
1305 (ILL_PRVOPC): Likewise.
1306 (ILL_PRVREG): Likewise.
1307 (ILL_COPROC): Likewise.
1308 (ILL_BADSTK): Likewise.
1309 (FPE_INTDIV): Likewise.
1310 (FPE_INTOVF): Likewise.
1311 (FPE_FLTDIV): Likewise.
1312 (FPE_FLTOVF): Likewise.
1313 (FPE_FLTUND): Likewise.
1314 (FPE_FLTRES): Likewise.
1315 (FPE_FLTINV): Likewise.
1316 (FPE_FLTSUB): Likewise.
1317 (SEGV_MAPERR): Likewise.
1318 (SEGV_ACCERR): Likewise.
1319 (BUS_ADRALN): Likewise.
1320 (BUS_ADRERR): Likewise.
1321 (BUS_OBJERR): Likewise.
1322 (BUS_MCEERR_AR): Likewise.
1323 (BUS_MCEERR_AO): Likewise.
1324 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1325 (TRAP_TRACE): Likewise.
1326 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1327 __USE_XOPEN2K8].
1328 (CLD_KILLED): Likewise.
1329 (CLD_DUMPED): Likewise.
1330 (CLD_TRAPPED): Likewise.
1331 (CLD_STOPPED): Likewise.
1332 (CLD_CONTINUED): Likewise.
1333 (POLL_IN): Likewise.
1334 (POLL_OUT): Likewise.
1335 (POLL_MSG): Likewise.
1336 (POLL_ERR): Likewise.
1337 (POLL_PRI): Likewise.
1338 (POLL_HUP): Likewise.
1339 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1340 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1341
bc61d27c
JM
1342 [BZ #16670]
1343 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1344 before #include of <time.h>.
1345 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1346 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1347 (test-xfail-UNIX98/sched.h/conform): Likewise.
1348
302949e2
MS
13492014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1350
1351 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1352 error absence of trapping exception support.
1353 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1354
a00f522a
JM
13552014-03-07 Joseph Myers <joseph@codesourcery.com>
1356
6f99f280
JM
1357 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1358 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1359 * timezone/Makefile (testdata): Move definition above include of
1360 Rules.
1361 (test-zones): New variable.
1362 (tests-special): Add zone files.
1363 (build-testdata): Use $(evaluate-test).
1364
0b20a9e8
JM
1365 * elf/Makefile (tests-special): Rename tests to end with .out.
1366 ($(objpfx)noload-mem): Likewise.
1367 ($(objpfx)tst-leaks1-mem): Likewise.
1368 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1369 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1370 $(objpfx)test-iconvconfig.out.
1371 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1372 set -e inside subshell and redirect output to file.
1373 * iconvdata/Makefile (generated): Rename tests to end with .out.
1374 Correct type.
1375 (tests-special): Rename tests to end with .out.
1376 ($(objpfx)mtrace-tst-loading): Likewise.
1377 * intl/Makefile (generated): Likewise.
1378 (tests-special): Likewise.
1379 ($(objpfx)mtrace-tst-gettext): Likewise.
1380 * misc/Makefile (generated): Likewise.
1381 (tests-special): Likewise.
1382 ($(objpfx)tst-error1-mem): Likewise.
1383 * nptl/Makefile (tests-special): Likewise.
1384 ($(objpfx)tst-stack3-mem): Likewise.
1385 (generated): Likewise.
1386 * posix/Makefile (generated): Likewise.
1387 (tests-special): Likewise.
1388 (xtests-special): Likewise.
1389 ($(objpfx)tst-fnmatch-mem): Likewise.
1390 ($(objpfx)bug-regex2-mem): Likewise.
1391 ($(objpfx)bug-regex14-mem): Likewise.
1392 ($(objpfx)bug-regex21-mem): Likewise.
1393 ($(objpfx)bug-regex31-mem): Likewise.
1394 ($(objpfx)tst-vfork3-mem): Likewise.
1395 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1396 ($(objpfx)tst-pcre-mem): Likewise.
1397 ($(objpfx)tst-boost-mem): Likewise.
1398 ($(objpfx)bug-ga2-mem): Likewise.
1399 ($(objpfx)bug-glob2-mem): Likewise.
1400 * resolv/Makefile (generate): Likewise.
1401 (tests-special): Likewise.
1402 (xtests-special): Likewise.
1403 (generated): Likewise.
1404 ($(objpfx)mtrace-tst-leaks): Likewise.
1405 ($(objpfx)mtrace-tst-leaks2): Likewise.
1406
265d52ab
JM
1407 * scripts/merge-test-results.sh: New file.
1408 * Makefile (tests-special-notdir): New variable.
1409 (tests): Run merge-test-results.sh.
1410 (xtests): Likewise.
1411 * Rules (tests-special-notdir): New variable.
1412 (xtests-special-notdir): Likewise.
1413 (tests): Run merge-test-results.sh
1414 (xtests): Likewise.
1415
54ee292d
JM
1416 * Makeconfig (test-xfail-name): New variable.
1417 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1418 compute variable name for expected failures.
1419 * conform/Makefile (conformtest-headers-data): New variable.
1420 (conformtest-standards): Likewise.
1421 (conformtest-headers-ISO): Likewise.
1422 (conformtest-headers-ISO99): Likewise.
1423 (conformtest-headers-ISO11): Likewise.
1424 (conformtest-headers-POSIX): Likewise.
1425 (conformtest-headers-XPG3): Likewise.
1426 (conformtest-headers-XPG4): Likewise.
1427 (conformtest-headers-UNIX98): Likewise.
1428 (conformtest-headers-XOPEN2K): Likewise.
1429 (conformtest-headers-POSIX2008): Likewise.
1430 (conformtest-headers-XOPEN2K8): Likewise.
1431 (conformtest-header-list-base): Likewise.
1432 (conformtest-header-list-tests): Likewise.
1433 (conformtest-header-base): Likewise.
1434 (conformtest-header-tests): Likewise.
1435 (tests-special): Add $(conformtest-header-list-tests). If
1436 [$(fast-check) && !$(cross-compiling)], add
1437 $(conformtest-header-tests) instead of
1438 $(objpfx)run-conformtest.out.
1439 (generated): Add $(conformtest-header-list-base). If
1440 [$(fast-check) && !$(cross-compiling)], add
1441 $(conformtest-header-base). Remove previous setting.
1442 ($(conformtest-header-list-tests)): New target.
1443 (test-xfail-run-conformtest): Remove variable.
1444 ($(objpfx)run-conformtest.out): Remove target.
1445 (test-xfail-ISO11/complex.h/conform): New variable.
1446 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1447 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1448 (test-xfail-XPG3/varargs.h/conform): Likewise.
1449 (test-xfail-XPG4/varargs.h/conform): Likewise.
1450 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1451 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1452 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1453 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1454 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1455 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1456 (test-xfail-XPG3/ftw.h/conform): Likewise.
1457 (test-xfail-XPG3/grp.h/conform): Likewise.
1458 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1459 (test-xfail-XPG3/limits.h/conform): Likewise.
1460 (test-xfail-XPG3/pwd.h/conform): Likewise.
1461 (test-xfail-XPG3/search.h/conform): Likewise.
1462 (test-xfail-XPG3/signal.h/conform): Likewise.
1463 (test-xfail-XPG3/stdio.h/conform): Likewise.
1464 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1465 (test-xfail-XPG3/string.h/conform): Likewise.
1466 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1467 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1468 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1469 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1470 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1471 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1472 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1473 (test-xfail-XPG3/termios.h/conform): Likewise.
1474 (test-xfail-XPG3/time.h/conform): Likewise.
1475 (test-xfail-XPG3/unistd.h/conform): Likewise.
1476 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1477 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1478 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1479 (test-xfail-XPG4/netdb.h/conform): Likewise.
1480 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1481 (test-xfail-XPG4/signal.h/conform): Likewise.
1482 (test-xfail-XPG4/stdio.h/conform): Likewise.
1483 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1484 (test-xfail-XPG4/stropts.h/conform): Likewise.
1485 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1486 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1487 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1488 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1489 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1490 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1491 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1492 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1493 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1494 (test-xfail-XPG4/termios.h/conform): Likewise.
1495 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1496 (test-xfail-XPG4/unistd.h/conform): Likewise.
1497 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1498 (test-xfail-POSIX/sched.h/conform): Likewise.
1499 (test-xfail-POSIX/signal.h/conform): Likewise.
1500 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1501 (test-xfail-POSIX/tar.h/conform): Likewise.
1502 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1503 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1504 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1505 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1506 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1507 (test-xfail-UNIX98/sched.h/conform): Likewise.
1508 (test-xfail-UNIX98/signal.h/conform): Likewise.
1509 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1510 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1511 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1512 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1513 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1514 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1515 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1516 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1517 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1518 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1519 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1520 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1521 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1522 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1523 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1524 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1525 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1526 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1527 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1528 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1529 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1530 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1531 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1532 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1533 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1534 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1535 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1536 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1537 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1538 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1539 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1540 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1541 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1542 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1543 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1544 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1545 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1546 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1547 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1548 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1549 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1550 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1551 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1552 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1553 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1554 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1555 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1556 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1557 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1558 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1559 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1560 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1561 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1562 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1563 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1564 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1565 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1566 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1567 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1568 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1569 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1570 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1571 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1572 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1573 (conformtest-cc-flags): Likewise.
1574 ($(conformtest-header-tests): New target.
1575 * conform/check-header-lists.sh: New file.
1576 * conform/run-conformtest.sh: Remove.
1577
a00f522a
JM
1578 * conform/conformtest.pl: Allow ' and \ in values given for
1579 constants.
1580 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1581 inclusion.
1582 [POSIX] (sys/types.h): Likewise.
1583 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1584 inclusion.
1585 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1586 inclusion.
1587 * conform/data/signal.h-data (SIGIO): Remove expectation.
1588 [XPG3] (SIGBUS): Do not expect.
1589 [POSIX || XPG3] (SIGPOLL): Likewise.
1590 [POSIX || XPG3] (SIGPROF): Likewise.
1591 [POSIX || XPG3] (SIGSYS): Likewise.
1592 [XPG3] (SIGTRAP): Likewise.
1593 [POSIX || XPG3] (SIGURG): Likewise.
1594 [POSIX || XPG3] (SIGVTALRM): Likewise.
1595 [POSIX || XPG3] (SIGXCPU): Likewise.
1596 [POSIX || XPG3] (SIGXFSZ): Likewise.
1597 [POSIX] (SA_SIGINFO): Expect.
1598 [XPG3] (siginfo_t): Do not expect type or contents.
1599 [POSIX] (si_pid): Do not expect element.
1600 [POSIX] (si_uid): Likewise.
1601 [POSIX] (si_addr): Likewise.
1602 [POSIX] (si_status): Likewise.
1603 [POSIX] (si_band): Likewise.
1604 [XPG4] (si_value): Likewise.
1605 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1606 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1607 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1608 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1609 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1610 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1611 [POSIX || XPG3] (ILL_COPROC): Likewise.
1612 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1613 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1614 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1615 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1616 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1617 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1618 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1619 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1620 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1621 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1622 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1623 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1624 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1625 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1626 [POSIX || XPG3] (CLD_EXITED): Likewise.
1627 [POSIX || XPG3] (CLD_KILLED): Likewise.
1628 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1629 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1630 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1631 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1632 [POSIX || XPG3] (POLL_IN): Likewise.
1633 [POSIX || XPG3] (POLL_OUT): Likewise.
1634 [POSIX || XPG3] (POLL_MSG): Likewise.
1635 [POSIX || XPG3] (POLL_ERR): Likewise.
1636 [POSIX || XPG3] (POLL_PRI): Likewise.
1637 [POSIX || XPG3] (POLL_HUP): Likewise.
1638 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1639 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1640 (SIG*): Do not allow.
1641 [XPG3] (si_*): Likewise.
1642 [XPG3] (SI_*): Likewise.
1643 [XPG3 || XPG4] (sigev_*): Likewise.
1644 [XPG3 || XPG4] (SIGEV_*): Likewise.
1645 [XPG3 || XPG4] (sival_*): Likewise.
1646 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1647 [POSIX || XPG3] (BUS_*): Likewise.
1648 [POSIX || XPG3] (CLD_*): Likewise.
1649 [POSIX || XPG3] (FPE_*): Likewise.
1650 [POSIX || XPG3] (ILL_*): Likewise.
1651 [POSIX || XPG3] (POLL_*): Likewise.
1652 [POSIX || XPG3] (SEGV_*): Likewise.
1653 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1654 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1655 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1656 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1657 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1658 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1659 Specify type and value.
1660 (TVERSLEN): Likewise.
1661 (REGTYPE): Likewise.
1662 (AREGTYPE): Likewise.
1663 (LNKTYPE): Likewise.
1664 (SYMTYPE): Likewise.
1665 (CHRTYPE): Likewise.
1666 (BLKTYPE): Likewise.
1667 (DIRTYPE): Likewise.
1668 (FIFOTYPE): Likewise.
1669 (CONTTYPE): Likewise.
1670 (TSUID): Likewise.
1671 (TSGID): Likewise.
1672 (TSVTX): Likewise.
1673 (TUREAD): Likewise.
1674 (TUWRITE): Likewise.
1675 (TUEXEC): Likewise.
1676 (TGREAD): Likewise.
1677 (TGWRITE): Likewise.
1678 (TGEXEC): Likewise.
1679 (TOREAD): Likewise.
1680 (TOWRITE): Likewise.
1681 (TOEXEC): Likewise.
1682 [POSIX] (TSVTX): Expect constant.
1683
aa97dee1
JM
16842014-03-06 Joseph Myers <joseph@codesourcery.com>
1685
f214606a
JM
1686 * Makefile (tests): Change dependencies to ....
1687 (tests-special): ... additions to this variable.
1688 (tests): Depend on $(tests-special).
1689 * Makerules (check-abi-list): New variable.
1690 (check-abi): Depend on $(check-abi-list).
1691 [$(subdir) = elf] (tests-special): Add
1692 $(objpfx)check-abi-libc.out.
1693 [$(build-shared) = yes && subdir] (tests-special): Add
1694 $(check-abi-list).
1695 [$(build-shared) = yes && subdir] (tests): Do not depend on
1696 check-abi.
1697 * Rules (tests): Depend on $(tests-special).
1698 (xtests): Depend on $(xtests-special).
1699 * catgets/Makefile (tests): Change dependencies to ....
1700 (tests-special): ... additions to this variable.
1701 * conform/Makefile (tests): Change dependencies to ....
1702 (tests-special): ... additions to this variable.
1703 * elf/Makefile (tests): Change dependencies to ....
1704 (tests-special): ... additions to this variable.
1705 * grp/Makefile (tests): Change dependencies to ....
1706 (tests-special): ... additions to this variable.
1707 * iconv/Makefile (xtests): Change dependencies to ....
1708 (xtests-special): ... additions to this variable.
1709 * iconvdata/Makefile (tests): Change dependencies to ....
1710 (tests-special): ... additions to this variable.
1711 * intl/Makefile (tests): Change dependencies to ....
1712 (tests-special): ... additions to this variable. Also add
1713 $(objpfx)tst-gettext.out.
1714 * io/Makefile (tests): Change dependencies to ....
1715 (tests-special): ... additions to this variable.
1716 * libio/Makefile (tests): Change dependencies to ....
1717 (tests-special): ... additions to this variable.
1718 * malloc/Makefile (tests): Change dependencies to ....
1719 (tests-special): ... additions to this variable.
1720 * misc/Makefile (tests): Change dependencies to ....
1721 (tests-special): ... additions to this variable.
1722 * nptl/Makefile (tests): Change dependencies to ....
1723 (tests-special): ... additions to this variable.
1724 * nptl_db/Makefile (tests): Change dependencies to ....
1725 (tests-special): ... additions to this variable.
1726 * posix/Makefile (tests): Change dependencies to ....
1727 (tests-special): ... additions to this variable.
1728 (xtests): Change dependencies to ....
1729 (xtests-special): ... additions to this variable.
1730 * resolv/Makefile (tests): Change dependencies to ....
1731 (tests-special): ... additions to this variable.
1732 (xtests): Change dependencies to ....
1733 (xtests-special): ... additions to this variable.
1734 * stdio-common/Makefile (tests): Change dependencies to ....
1735 (tests-special): ... additions to this variable.
1736 (do-tst-unbputc): Remove target.
1737 (do-tst-printf): Likewise.
1738 * stdlib/Makefile (tests): Change dependencies to ....
1739 (tests-special): ... additions to this variable.
1740 * string/Makefile (tests): Change dependencies to ....
1741 (tests-special): ... additions to this variable.
1742 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1743 (tests-special): ... additions to this variable.
1744
81700b53
JM
1745 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1746 whole file.
1747 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1748 whole file.
1749 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1750 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1751
2ea18461
JM
1752 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1753 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1754 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1755 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1756 * conform/data/libgen.h-data [XPG3]: Likewise.
1757 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1758 * conform/data/ndbm.h-data [XPG3]: Likewise.
1759 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1760 * conform/data/netdb.h-data [XPG3]: Likewise.
1761 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1762 * conform/data/poll.h-data [XPG3]: Likewise.
1763 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1764 * conform/data/strings.h-data [XPG3]: Likewise.
1765 * conform/data/stropts.h-data [XPG3]: Likewise.
1766 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1767 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1768 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1769 Likewise.
1770 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1771 * conform/data/sys/time.h-data [XPG3]: Likewise.
1772 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1773 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1774 * conform/data/sys/un.h-data [XPG3]: Likewise.
1775 * conform/data/syslog.h-data [XPG3]: Likewise.
1776 * conform/data/ucontext.h-data [XPG3]: Likewise.
1777 * conform/data/utmpx.h-data [XPG3]: Likewise.
1778 * conform/data/varargs.h-data [UNIX98]: Enable file.
1779
355bc986
JM
1780 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1781
215db402
JM
1782 * math/libm-test.inc (struct test_f_f_data): Move expected results
1783 into structure for each rounding mode.
1784 (struct test_ff_f_data): Likewise.
1785 (struct test_ff_f_data_nexttoward): Likewise.
1786 (struct test_fi_f_data): Likewise.
1787 (struct test_fl_f_data): Likewise.
1788 (struct test_if_f_data): Likewise.
1789 (struct test_fff_f_data): Likewise.
1790 (struct test_c_f_data): Likewise.
1791 (struct test_f_f1_data): Likewise.
1792 (struct test_fF_f1_data): Likewise.
1793 (struct test_ffI_f1_data): Likewise.
1794 (struct test_c_c_data): Likewise.
1795 (struct test_cc_c_data): Likewise.
1796 (struct test_f_i_data): Likewise.
1797 (struct test_ff_i_data): Likewise.
1798 (struct test_f_l_data): Likewise.
1799 (struct test_f_L_data): Likewise.
1800 (struct test_fFF_11_data): Likewise.
1801 (RM_): New macro.
1802 (RM_FE_DOWNWARD): Likewise.
1803 (RM_FE_TONEAREST): Likewise.
1804 (RM_FE_TOWARDZERO): Likewise.
1805 (RM_FE_UPWARD): Likewise.
1806 (RUN_TEST_LOOP_f_f): Update references to expected results.
1807 (RUN_TEST_LOOP_2_f): Likewise.
1808 (RUN_TEST_LOOP_fff_f): Likewise.
1809 (RUN_TEST_LOOP_c_f): Likewise.
1810 (RUN_TEST_LOOP_f_f1): Likewise.
1811 (RUN_TEST_LOOP_fF_f1): Likewise.
1812 (RUN_TEST_LOOP_fI_f1): Likewise.
1813 (RUN_TEST_LOOP_ffI_f1): Likewise.
1814 (RUN_TEST_LOOP_c_c): Likewise.
1815 (RUN_TEST_LOOP_cc_c): Likewise.
1816 (RUN_TEST_LOOP_f_i): Likewise.
1817 (RUN_TEST_LOOP_f_i_tg): Likewise.
1818 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1819 (RUN_TEST_LOOP_f_b): Likewise.
1820 (RUN_TEST_LOOP_f_b_tg): Likewise.
1821 (RUN_TEST_LOOP_f_l): Likewise.
1822 (RUN_TEST_LOOP_f_L): Likewise.
1823 (RUN_TEST_LOOP_fFF_11): Likewise.
1824 * math/gen-libm-test.pl (parse_args): Output four copies of
1825 expected results for each test.
1826
67737b8f
JM
1827 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1828 (__ASSUME_UTIMES): Remove.
1829 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1830 (__ASSUME_UTIMES): Likewise.
1831
aa97dee1
JM
1832 * math/gen-auto-libm-tests.c: Update comment on output format.
1833 (output_for_one_input_case): Generate before-rounding and
1834 after-rounding information as conditions on output flags not
1835 floating-point format.
1836 * math/auto-libm-test-out: Regenerated.
1837 * math/gen-libm-test.pl (cond_value): New function.
1838 (or_cond_value): Use cond_value.
1839 (generate_testfile): Handle conditional exceptions.
1840
e6b6a857
JM
18412014-03-05 Joseph Myers <joseph@codesourcery.com>
1842
2f0a0f44
JM
1843 * math/libm-test.inc (max_valid_error): New variable.
1844 (init_max_error): Take new argument specifying whether function
1845 results are exactly determined. Set max_valid_error and bound
1846 other variables for errors based on this argument.
1847 (set_max_error): Do not record results above max_valid_error.
1848 (check_float_internal): Only accept errors of up to 0.5ulps if
1849 also at most max_valid_error.
1850 (START): Take new argument EXACT and pass it to init_max_error.
1851 (acos_test): Update call to START.
1852 (acos_test_tonearest): Likewise.
1853 (acos_test_towardzero): Likewise.
1854 (acos_test_downward): Likewise.
1855 (acos_test_upward): Likewise.
1856 (acosh_test): Likewise.
1857 (asin_test): Likewise.
1858 (asin_test_tonearest): Likewise.
1859 (asin_test_towardzero): Likewise.
1860 (asin_test_downward): Likewise.
1861 (asin_test_upward): Likewise.
1862 (asinh_test): Likewise.
1863 (atan_test): Likewise.
1864 (atanh_test): Likewise.
1865 (atan2_test): Likewise.
1866 (cabs_test): Likewise.
1867 (cacos_test): Likewise.
1868 (cacosh_test): Likewise.
1869 (carg_test): Likewise.
1870 (casin_test): Likewise.
1871 (casinh_test): Likewise.
1872 (catan_test): Likewise.
1873 (catanh_test): Likewise.
1874 (cbrt_test): Likewise.
1875 (ccos_test): Likewise.
1876 (ccosh_test): Likewise.
1877 (ceil_test): Likewise.
1878 (cexp_test): Likewise.
1879 (cimag_test): Likewise.
1880 (clog_test): Likewise.
1881 (clog10_test): Likewise.
1882 (conj_test): Likewise.
1883 (copysign_test): Likewise.
1884 (cos_test): Likewise.
1885 (cos_test_tonearest): Likewise.
1886 (cos_test_towardzero): Likewise.
1887 (cos_test_downward): Likewise.
1888 (cos_test_upward): Likewise.
1889 (cosh_test): Likewise.
1890 (cosh_test_tonearest): Likewise.
1891 (cosh_test_towardzero): Likewise.
1892 (cosh_test_downward): Likewise.
1893 (cosh_test_upward): Likewise.
1894 (cpow_test): Likewise.
1895 (cproj_test): Likewise.
1896 (creal_test): Likewise.
1897 (csin_test): Likewise.
1898 (csinh_test): Likewise.
1899 (csqrt_test): Likewise.
1900 (ctan_test): Likewise.
1901 (ctan_test_tonearest): Likewise.
1902 (ctan_test_towardzero): Likewise.
1903 (ctan_test_downward): Likewise.
1904 (ctan_test_upward): Likewise.
1905 (ctanh_test): Likewise.
1906 (ctanh_test_tonearest): Likewise.
1907 (ctanh_test_towardzero): Likewise.
1908 (ctanh_test_downward): Likewise.
1909 (ctanh_test_upward): Likewise.
1910 (erf_test): Likewise.
1911 (erfc_test): Likewise.
1912 (exp_test): Likewise.
1913 (exp_test_tonearest): Likewise.
1914 (exp_test_towardzero): Likewise.
1915 (exp_test_downward): Likewise.
1916 (exp_test_upward): Likewise.
1917 (exp10_test): Likewise.
1918 (exp10_test_tonearest): Likewise.
1919 (exp10_test_towardzero): Likewise.
1920 (exp10_test_downward): Likewise.
1921 (exp10_test_upward): Likewise.
1922 (pow10_test): Likewise.
1923 (exp2_test): Likewise.
1924 (expm1_test): Likewise.
1925 (expm1_test_tonearest): Likewise.
1926 (expm1_test_towardzero): Likewise.
1927 (expm1_test_downward): Likewise.
1928 (expm1_test_upward): Likewise.
1929 (fabs_test): Likewise.
1930 (fdim_test): Likewise.
1931 (floor_test): Likewise.
1932 (fma_test): Likewise.
1933 (fma_test_towardzero): Likewise.
1934 (fma_test_downward): Likewise.
1935 (fma_test_upward): Likewise.
1936 (fmax_test): Likewise.
1937 (fmin_test): Likewise.
1938 (fmod_test): Likewise.
1939 (fpclassify_test): Likewise.
1940 (frexp_test): Likewise.
1941 (hypot_test): Likewise.
1942 (ilogb_test): Likewise.
1943 (isfinite_test): Likewise.
1944 (finite_test): Likewise.
1945 (isgreater_test): Likewise.
1946 (isgreaterequal_test): Likewise.
1947 (isinf_test): Likewise.
1948 (isless_test): Likewise.
1949 (islessequal_test): Likewise.
1950 (islessgreater_test): Likewise.
1951 (isnan_test): Likewise.
1952 (isnormal_test): Likewise.
1953 (issignaling_test): Likewise.
1954 (isunordered_test): Likewise.
1955 (j0_test): Likewise.
1956 (j1_test): Likewise.
1957 (jn_test): Likewise.
1958 (ldexp_test): Likewise.
1959 (lgamma_test): Likewise.
1960 (gamma_test): Likewise.
1961 (lrint_test): Likewise.
1962 (lrint_test_tonearest): Likewise.
1963 (lrint_test_towardzero): Likewise.
1964 (lrint_test_downward): Likewise.
1965 (lrint_test_upward): Likewise.
1966 (llrint_test): Likewise.
1967 (llrint_test_tonearest): Likewise.
1968 (llrint_test_towardzero): Likewise.
1969 (llrint_test_downward): Likewise.
1970 (llrint_test_upward): Likewise.
1971 (log_test): Likewise.
1972 (log10_test): Likewise.
1973 (log1p_test): Likewise.
1974 (log2_test): Likewise.
1975 (logb_test): Likewise.
1976 (logb_test_downward): Likewise.
1977 (lround_test): Likewise.
1978 (llround_test): Likewise.
1979 (modf_test): Likewise.
1980 (nearbyint_test): Likewise.
1981 (nextafter_test): Likewise.
1982 (nexttoward_test): Likewise.
1983 (pow_test): Likewise.
1984 (pow_test_tonearest): Likewise.
1985 (pow_test_towardzero): Likewise.
1986 (pow_test_downward): Likewise.
1987 (pow_test_upward): Likewise.
1988 (remainder_test): Likewise.
1989 (drem_test): Likewise.
1990 (remainder_test_tonearest): Likewise.
1991 (drem_test_tonearest): Likewise.
1992 (remainder_test_towardzero): Likewise.
1993 (drem_test_towardzero): Likewise.
1994 (remainder_test_downward): Likewise.
1995 (drem_test_downward): Likewise.
1996 (remainder_test_upward): Likewise.
1997 (drem_test_upward): Likewise.
1998 (remquo_test): Likewise.
1999 (rint_test): Likewise.
2000 (rint_test_tonearest): Likewise.
2001 (rint_test_towardzero): Likewise.
2002 (rint_test_downward): Likewise.
2003 (rint_test_upward): Likewise.
2004 (round_test): Likewise.
2005 (scalb_test): Likewise.
2006 (scalbn_test): Likewise.
2007 (scalbln_test): Likewise.
2008 (signbit_test): Likewise.
2009 (sin_test): Likewise.
2010 (sin_test_tonearest): Likewise.
2011 (sin_test_towardzero): Likewise.
2012 (sin_test_downward): Likewise.
2013 (sin_test_upward): Likewise.
2014 (sincos_test): Likewise.
2015 (sinh_test): Likewise.
2016 (sinh_test_tonearest): Likewise.
2017 (sinh_test_towardzero): Likewise.
2018 (sinh_test_downward): Likewise.
2019 (sinh_test_upward): Likewise.
2020 (sqrt_test): Likewise.
2021 (sqrt_test_tonearest): Likewise.
2022 (sqrt_test_towardzero): Likewise.
2023 (sqrt_test_downward): Likewise.
2024 (sqrt_test_upward): Likewise.
2025 (tan_test): Likewise.
2026 (tan_test_tonearest): Likewise.
2027 (tan_test_towardzero): Likewise.
2028 (tan_test_downward): Likewise.
2029 (tan_test_upward): Likewise.
2030 (tanh_test): Likewise.
2031 (tgamma_test): Likewise.
2032 (trunc_test): Likewise.
2033 (y0_test): Likewise.
2034 (y1_test): Likewise.
2035 (yn_test): Likewise.
2036 (significand_test): Likewise.
2037
e6b6a857
JM
2038 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2039 individual tests in comment.
2040 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2041 (prev_max_error): New variable.
2042 (prev_real_max_error): Likewise.
2043 (prev_imag_max_error): Likewise.
2044 (compare_ulp_data): Don't refer to test names in comment.
2045 (find_test_ulps): Remove function.
2046 (find_function_ulps): Likewise.
2047 (find_complex_function_ulps): Likewise.
2048 (init_max_error): Take function name as argument. Look up ulps
2049 for that function.
2050 (print_ulps): Remove function.
2051 (print_max_error): Use prev_max_error instead of calling
2052 find_function_ulps.
2053 (print_complex_max_error): Use prev_real_max_error and
2054 prev_imag_max_error instead of calling find_complex_function_ulps.
2055 (check_float_internal): Take max_ulp parameter instead of calling
2056 find_test_ulps. Don't call print_ulps.
2057 (check_float): Update call to check_float_internal.
2058 (check_complex): Update calls to check_float_internal.
2059 (START): Pass argument to init_max_error.
2060 * math/gen-libm-test.pl (%results): Don't include "kind"
2061 information.
2062 (parse_ulps): Don't handle ulps of individual tests.
2063 (print_ulps_file): Likewise.
2064 (output_ulps): Likewise.
2065 * math/README.libm-test: Update.
2066 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2067 individual tests.
2068 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2069 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2070 * sysdeps/arm/libm-test-ulps: Likewise.
2071 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2072 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2073 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2074 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2075 * sysdeps/microblaze/libm-test-ulps: Likewise.
2076 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2077 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2078 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2079 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2080 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2081 * sysdeps/sh/libm-test-ulps: Likewise.
2082 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2083 * sysdeps/tile/libm-test-ulps: Likewise.
2084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2085
45adef3c
JM
20862014-03-04 Joseph Myers <joseph@codesourcery.com>
2087
2088 * math/libm-test.inc (print_complex_max_error): Check separately
2089 whether real and imaginary errors are within allowed range and
2090 pass 0 to print_complex_function_ulps instead of value within
2091 allowed range.
2092
000232b9
SP
20932014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2094
d4b17258
SP
2095 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2096 formatting.
2097 (get_handles_fopen): Likewise.
2098 (do_write_test): Likewise.
2099
091eff71
SP
2100 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2101
fa3cd248
SP
2102 * libio/fileops.c (do_ftell): Use cached offset when
2103 available.
2104 * libio/iofwide.c (do_ftell_wide): Likewise.
2105 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2106 _IO_file_attach.
2107 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2108
000232b9
SP
2109 [BZ #16532]
2110 * libio/libioP.h (get_file_offset): New function.
2111 * libio/fileops.c (get_file_offset): Likewise.
2112 (do_ftell): Likewise.
2113 (_IO_new_file_seekoff): Split out ftell logic.
2114 * libio/wfileops.c (do_ftell_wide): Likewise.
2115 (_IO_wfile_seekoff): Split out ftell logic.
2116 * libio/tst-ftell-active-handler.c: New test case.
2117 * libio/Makefile (tests): Add it.
2118
116f4d1a
RM
21192014-03-03 Roland McGrath <roland@hack.frob.com>
2120
2121 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2122 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2123
532a6035
SP
21242014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2125
2126 [BZ #16639]
2127 * nscd/connections.c (nscd_init): Call do_exit.
2128 (start_threads): Call do_exit and notify_parent.
2129 (begin_drop_privileges): Call do_exit.
2130 (finish_drop_privileges): Likewise.
2131 * nscd/selinux.c (preserve_capabilities): Likewise.
2132 (install_real_capabilities): Likewise.
2133 (nscd_selinux_enabled): Likewise.
2134 (avc_create_thread): Likewise.
2135 (avc_alloc_lock): Likewise.
2136 (nscd_avc_init): Likewise.
2137 * nscd/nscd.c (parent_fd): New static variable.
2138 (main): Create a pipe between parent and child processes.
2139 Skip closing parent_fd.
2140 (monitor_child): New function.
2141 (do_exit): Likewise.
2142 (notify_parent): Likewise.
2143 * nscd/nscd.h (notify_parent): Likewise.
2144 (do_exit): Likewise.
2145
d6285c9f
CD
21462014-03-03 Carlos O'Donell <carlos@redhat.com>
2147
2148 * malloc/malloc.c (__libc_calloc): Revert last change.
2149
2b85d2a0
AZ
21502014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2151
2152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2153
c7debbdf
RS
21542014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2155
2156 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2158 implementation.
2159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2160 (__libc_ifunc_impl_list): Likewise.
2161 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2162 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2163 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2164 * string/strrchr.c: Define STRRCHR.
2165
235eed86
OB
21662014-02-28 Ondřej Bílka <neleai@seznam.cz>
2167
2168 * benchtest/bench-strtok.c (simple_strtok): Delete.
2169 (strtok_string): Use as benchmark.
2170 * string/strtok (STRTOK): New macro.
2171
8e25d1e7
CD
21722014-02-28 Carlos O'Donell <carlos@redhat.com>
2173
ef563f92
CD
2174 * manual/threads.texi: Add header and standard comments to all
2175 functions.
2176
8e25d1e7
CD
2177 * elf/dl-lookup.c (check_match): New function.
2178 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2179 (do_lookup_x): Remove nested function check_match. Use non-nested
2180 function check_match.
2181
ff71cc37
RM
21822014-02-28 Roland McGrath <roland@hack.frob.com>
2183
f08e9a26
RM
2184 * csu/Makefile (generated, before-compile): Use += rather than =.
2185 * catgets/Makefile (generated, generated-dirs): Likewise.
2186 * debug/Makefile (generated): Likewise.
2187 * dlfcn/Makefile (generated): Likewise.
2188 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2189 * iconvdata/Makefile (before-compile, generated): Likewise.
2190 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2191 * libio/Makefile (generated): Likewise.
2192 * malloc/Makefile (generated): Likewise.
2193 * manual/Makefile (generated, generated-dirs): Likewise.
2194 * misc/Makefile (generated): Likewise.
2195 * posix/Makefile (generated): Likewise.
2196 * resolv/Makefile (generated): Likewise.
2197 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2198 * timezone/Makefile (generated, generated-dirs): Likewise.
2199
ff71cc37
RM
2200 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2201
fe13a20c
AZ
22022014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2203
2204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2205 implementation.
2206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2207 POWER8 llround ifunc implementation.
2208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2209 POWER8 implementation.
2210 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2211 POWER8 llround implementation.
2212
1ad8950a
AZ
22132014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2214
2215 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2216 implementation.
2217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2218 POWER8 llrint ifunc implementation.
2219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2220 POWER8 implementation.
2221 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2222 POWER8 llrint implementation.
2223
cac626d6
AZ
22242014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2225
2226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2227 implementation.
2228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2229 POWER8 finite ifunc implementation.
2230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2231 POWER8 implementation.
2232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2233 Likewise.
2234 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2235 POWER8 finite implementation.
2236 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2237
4393fc11
AZ
22382014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239
2240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2241 implementation.
2242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2243 POWER8 isinf ifunc implementation.
2244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2245 POWER8 implementation.
2246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2247 Likewise.
2248 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2249 POWER8 isinf implementation.
2250 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2251
487972ae
AZ
22522014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2253
2254 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2255 Add hwcap2 initialization.
2256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2257 implementation.
2258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2259 POWER8 isnan ifunc implementation.
2260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2261 POWER8 implementation.
2262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2263 Likewise.
2264 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2265 POWER8 isnan implementation.
2266 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2267
7d92b787
JY
22682014-02-27 Joey Ye <joey.ye@arm.com>
2269
2270 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2271 (_FP_NANFRAC_Q): Set to zero.
2272
1cadc858
SP
22732014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2274
2275 [BZ #16623]
2276 * math/auto-libm-test-in: New test inputs.
2277 * math/auto-libm-test-out: Regenerate.
2278 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2279 and DA.
2280 (__cos): Likewise.
2281 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2282
f8c17e79
JM
22832014-02-27 Joseph Myers <joseph@codesourcery.com>
2284
2285 * scripts/evaluate-test.sh: Take new argument indicating whether
2286 failure is expected.
2287 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2288 indicating whether failure is expected.
2289 * conform/Makefile (test-xfail-run-conformtest): New variable.
2290 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2291 level.
2292 * posix/Makefile (test-xfail-annexc): New variable.
2293 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2294
a5f891ac
JM
22952014-02-26 Joseph Myers <joseph@codesourcery.com>
2296
2297 * argp/Makefile: Include Makeconfig immediately after defining
2298 subdir.
2299 * assert/Makefile: Likewise.
2300 * benchtests/Makefile: Likewise.
2301 * catgets/Makefile: Likewise.
2302 * conform/Makefile: Likewise.
2303 * crypt/Makefile: Likewise.
2304 * csu/Makefile: Likewise.
2305 (all): Remove target.
2306 * ctype/Makefile: Include Makeconfig immediately after defining
2307 subdir.
2308 * debug/Makefile: Likewise.
2309 * dirent/Makefile: Likewise.
2310 * dlfcn/Makefile: Likewise.
2311 * gmon/Makefile: Likewise.
2312 * gnulib/Makefile: Likewise.
2313 * grp/Makefile: Likewise.
2314 * gshadow/Makefile: Likewise.
2315 * hesiod/Makefile: Likewise.
2316 * hurd/Makefile: Likewise.
2317 (all): Remove target.
2318 * iconvdata/Makefile: Include Makeconfig immediately after
2319 defining subdir.
2320 * inet/Makefile: Likewise.
2321 * intl/Makefile: Likewise.
2322 * io/Makefile: Likewise.
2323 * libio/Makefile: Likewise.
2324 (all): Remove target.
2325 * locale/Makefile: Include Makeconfig immediately after defining
2326 subdir.
2327 * login/Makefile: Likewise.
2328 * mach/Makefile: Likewise.
2329 (all): Remove target.
2330 * malloc/Makefile: Include Makeconfig immediately after defining
2331 subdir.
2332 (all): Remove target.
2333 * manual/Makefile: Include Makeconfig immediately after defining
2334 subdir.
2335 * math/Makefile: Likewise.
2336 * misc/Makefile: Likewise.
2337 * nis/Makefile: Likewise.
2338 * nss/Makefile: Likewise.
2339 * po/Makefile: Likewise.
2340 (all): Remove target.
2341 * posix/Makefile: Include Makeconfig immediately after defining
2342 subdir.
2343 * pwd/Makefile: Likewise.
2344 * resolv/Makefile: Likewise.
2345 * resource/Makefile: Likewise.
2346 * rt/Makefile: Likewise.
2347 * setjmp/Makefile: Likewise.
2348 * shadow/Makefile: Likewise.
2349 * signal/Makefile: Likewise.
2350 * socket/Makefile: Likewise.
2351 * soft-fp/Makefile: Likewise.
2352 * stdio-common/Makefile: Likewise.
2353 * stdlib/Makefile: Likewise.
2354 * streams/Makefile: Likewise.
2355 * string/Makefile: Likewise.
2356 * sunrpc/Makefile: Likewise.
2357 (all): Remove target.
2358 * sysvipc/Makefile: Include Makeconfig immediately after defining
2359 subdir.
2360 * termios/Makefile: Likewise.
2361 * time/Makefile: Likewise.
2362 * timezone/Makefile: Likewise.
2363 (all): Remove target.
2364 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2365 subdir.
2366 * wctype/Makefile: Likewise.
2367
5b456e9d
SE
23682014-02-26 Steve Ellcey <sellcey@mips.com>
2369
2370 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2371 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2372 (libc_feholdexcept_setround_mips): Ditto.
2373 (libc_feholdsetround): New.
2374 (libc_feholdsetroundf): New.
2375 (libc_feholdsetroundl): New.
2376 (libc_feupdateenv_test_mips): New.
2377 (libc_feupdateenv_test): New.
2378 (libc_feupdateenv_testf): New.
2379 (libc_feupdateenv_testl): New.
2380 (libc_feresetround): New.
2381 (libc_feresetroundf): New.
2382 (libc_feresetroundl): New.
2383 (libc_fetestexcept_mips): New.
2384 (libc_fetestexcept): New.
2385 (libc_fetestexceptf): New.
2386 (libc_fetestexceptl): New.
2387 (HAVE_RM_CTX): New.
2388 (libc_feholdexcept_setround_mips_ctx): New.
2389 (libc_feholdexcept_setround_ctx): New.
2390 (libc_feholdexcept_setroundf_ctx): New.
2391 (libc_feholdexcept_setroundl_ctx): New.
2392 (libc_fesetenv_mips_ctx): New.
2393 (libc_fesetenv_ctx): New.
2394 (libc_fesetenv_ctxf): New.
2395 (libc_fesetenv_ctxl): New.
2396 (libc_feupdateenv_mips_ctx): New.
2397 (libc_feupdateenv_ctx): New.
2398 (libc_feupdateenvf_ctx): New.
2399 (libc_feupdateenvl_ctx): New.
2400 (libc_feholdsetround_mips_ctx): New.
2401 (libc_feholdsetround_ctx): New.
2402 (libc_feholdsetroundf_ctx): New.
2403 (libc_feholdsetroundl_ctx): New.
2404 (libc_feresetround_mips_ctx): New.
2405 (libc_feresetround_ctx): New.
2406 (libc_feresetroundf_ctx): New.
2407 (libc_feresetroundl_ctx): New.
2408
085d0e35
CD
24092014-02-26 Carlos O'Donell <carlos@redhat.com>
2410
f067bf1f
CD
2411 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2412
085d0e35
CD
2413 * manual/ipc.texi: New file.
2414 * manual/Makefile (chapters): Add ipc.
2415 * manual/job.texi: Add "Inter-Process Communication" to next.
2416 * manual/process.texi: Add "Inter-Process Communication" to prev.
2417
86e58c08
AZ
24182014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2419
2420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2421
4248f0da
OB
24222014-02-26 Ondřej Bílka <neleai@seznam.cz>
2423
2424 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2425
cf822e3c
OB
2426 * manual/arith.texi: Fix spaces after sentences.
2427 * manual/charset.texi: Likewise.
2428 * manual/errno.texi: Likewise.
2429 * manual/install.texi: Likewise.
2430 * manual/llio.texi: Likewise.
2431 * manual/locale.texi: Likewise.
2432 * manual/maint.texi: Likewise.
2433 * manual/math.texi: Likewise.
2434 * manual/memory.texi: Likewise.
2435 * manual/message.texi: Likewise.
2436 * manual/probes.texi: Likewise.
2437 * manual/resource.texi: Likewise.
2438 * manual/signal.texi: Likewise.
2439 * manual/socket.texi: Likewise.
2440 * manual/stdio.texi: Likewise.
2441 * manual/string.texi: Likewise.
2442 * manual/time.texi: Likewise.
2443 * manual/users.texi: Likewise.
2444
ade40b10
CD
24452014-02-25 Carlos O'Donell <carlos@redhat.com>
2446
2447 [BZ #16632]
2448 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2449 _DEFAULT_SOURCE is defined.
2450
d0503676
CD
24512014-02-25 Ulrich Drepper <drepper@gmail.com>
2452 Carlos O'Donell <carlos@redhat.com>
2453
2454 [BZ #16613]
2455 * elf/dl-tls.c (_dl_count_modids): New function.
2456 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2457 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2458 audit library and increment generation counter.
2459 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2460 * elf/tst-audit9.c: New file.
2461 * elf/tst-auditmod9a.c: New file.
2462 * elf/tst-auditmod9b.c: New file.
2463 * elf/Makefile: Add rules to build and run tst-audit9.
2464
4cbf380c
FW
24652014-02-25 Florian Weimer <fweimer@redhat.com>
2466
2467 [BZ #15347]
2468 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2469
80a56cc3
WN
24702014-02-25 Will Newton <will.newton@linaro.org>
2471
2472 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2473 (__longjmp): Restore sp and lr before restoring callee
2474 saved registers. Add longjmp and longjmp_target
2475 SystemTap probe point.
2476 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2477 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2478 Define to zero to match jmpbuf layout.
2479 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2480 (__sigsetjmp): Save sp and lr before saving callee
2481 saved registers. Add setjmp SystemTap probe point.
2482
3ea0f74e
SL
24832014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2484
2485 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2486
b04acb26
AS
24872014-02-24 Andreas Schwab <schwab@suse.de>
2488
2489 [BZ #15804]
2490 * elf/pldd.c (wait_for_ptrace_stop): New function.
2491 (main): Call it after attaching.
2492
098ad55c
RM
24932014-02-22 Roland McGrath <roland@hack.frob.com>
2494
d4ec6ae1
RM
2495 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2496 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2497 Versions files is now verboten.
2498 * hurd/Versions (libc: GLIBC_2.0):
2499 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2500 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2501 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2502 * mach/Versions: Likewise.
2503
098ad55c
RM
2504 * csu/Versions: Remove unused %include.
2505 * resolv/Versions: Likewise.
2506
acd7f096
JM
25072014-02-21 Joseph Myers <joseph@codesourcery.com>
2508
f0881698
JM
2509 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2510 ($(objpfx)check-local-headers.out): Likewise.
2511 ($(objpfx)begin-end-check.out): Likewise.
2512 * Makerules (check-abi-%.out): Likewise.
2513 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2514 ($(objpfx)test2.cat): Likewise.
2515 ($(objpfx)de/libc.cat): Likewise.
2516 ($(objpfx)test-gencat.out): Likewise.
2517 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2518 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2519 ($(objpfx)noload-mem): Likewise.
2520 ($(objpfx)tst-pathopt.out): Likewise.
2521 ($(objpfx)tst-rtld-load-self.out): Likewise.
2522 ($(objpfx)tst-array1-cmp.out): Likewise.
2523 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2524 ($(objpfx)tst-array2-cmp.out): Likewise.
2525 ($(objpfx)tst-array3-cmp.out): Likewise.
2526 ($(objpfx)tst-array4-cmp.out): Likewise.
2527 ($(objpfx)tst-array5-cmp.out): Likewise.
2528 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2529 ($(objpfx)check-textrel.out): Likewise.
2530 ($(objpfx)check-execstack.out): Likewise.
2531 ($(objpfx)check-localplt.out): Likewise.
2532 ($(objpfx)order2-cmp.out): Likewise.
2533 ($(objpfx)tst-leaks1-mem): Likewise.
2534 ($(objpfx)tst-leaks1-static-mem): Likewise.
2535 ($(objpfx)tst-initorder-cmp.out): Likewise.
2536 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2537 ($(objpfx)tst-unused-dep.out): Likewise.
2538 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2539 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2540 * iconv/Makefile (test-iconvconfig): Likewise.
2541 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2542 ($(objpfx)iconv-test.out): Likewise.
2543 ($(objpfx)tst-tables.out): Likewise.
2544 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2545 ($(objpfx)tst-gettext.out): Likewise.
2546 ($(objpfx)tst-translit.out): Likewise.
2547 ($(objpfx)tst-gettext2.out): Likewise.
2548 ($(objpfx)tst-gettext4.out): Likewise.
2549 ($(objpfx)tst-gettext6.out): Likewise.
2550 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2551 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2552 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2553 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2554 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2555 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2556 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2557 ($(objpfx)wordexp-tst.out): Likewise.
2558 ($(objpfx)annexc.out): Likewise.
2559 ($(objpfx)tst-fnmatch-mem): Likewise.
2560 ($(objpfx)bug-regex2-mem): Likewise.
2561 ($(objpfx)bug-regex14-mem): Likewise.
2562 ($(objpfx)bug-regex21-mem): Likewise.
2563 ($(objpfx)bug-regex31-mem): Likewise.
2564 ($(objpfx)tst-vfork3-mem): Likewise.
2565 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2566 ($(objpfx)tst-pcre-mem): Likewise.
2567 ($(objpfx)tst-boost-mem): Likewise.
2568 ($(objpfx)tst-getconf.out): Likewise.
2569 ($(objpfx)bug-ga2-mem): Likewise.
2570 ($(objpfx)bug-glob2-mem): Likewise.
2571 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2572 ($(objpfx)mtrace-tst-leaks2): Likewise.
2573 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2574 ($(objpfx)tst-printf.out): Likewise.
2575 ($(objpfx)tst-setvbuf1.out): Likewise.
2576 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2577 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2578 ($(objpfx)tst-fmtmsg.out): Likewise.
2579 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2580 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2581
acd7f096
JM
2582 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2583 * bits/sigaction.h [__USE_MISC]: Likewise.
2584 * bits/waitstatus.h: Update #endif comments.
2585 * ctype/ctype.h: Likewise.
2586 * dirent/dirent.h: Likewise.
2587 [__USE_MISC]: Remove redundant conditionals.
2588 * grp/grp.h: Update #endif comments.
2589 [__USE_GNU]: Remove redundant conditionals.
2590 [__USE_MISC]: Likewise.
2591 * inet/netinet/in.h [__USE_GNU]: Likewise.
2592 * io/sys/stat.h [__USE_MISC]: Likewise.
2593 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2594 * libio/bits/stdio.h: Update #endif comments.
2595 [__USE_MISC]: Remove redundant conditionals.
2596 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2597 * libio/stdio.h: Update #endif comments.
2598 [__USE_MISC]: Remove redundant conditionals.
2599 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2600 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2601 * math/math.h: Update #else and #endif comments.
2602 [__USE_MISC]: Remove redundant conditionals.
2603 * misc/sys/uio.h: Update #endif comments.
2604 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2605 * posix/glob.h [__USE_MISC]: Likewise.
2606 * posix/sys/types.h: Update #endif comments.
2607 [__USE_MISC]: Remove redundant conditionals.
2608 * posix/sys/wait.h: Update #endif comments.
2609 [__USE_MISC]: Remove redundant conditionals.
2610 * posix/unistd.h: Update #endif comments.
2611 [__USE_MISC]: Remove redundant conditionals.
2612 * pwd/pwd.h [__USE_GNU]: Likewise.
2613 [__USE_MISC]: Likewise.
2614 * resolv/netdb.h [__USE_GNU]: Likewise.
2615 * signal/signal.h: Update #endif comments.
2616 [__USE_MISC]: Remove redundant conditionals.
2617 * stdlib/stdlib.h: Update #else and #endif comments.
2618 [__USE_MISC]: Remove redundant conditionals.
2619 [__USE_GNU]: Likewise.
2620 * string/bits/string2.h [__USE_MISC]: Likewise.
2621 * string/string.h: Update #endif comments.
2622 [__USE_MISC]: Remove redundant conditionals.
2623 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2624 Likewise.
2625 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2626 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2627 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2628 Likewise.
2629 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2630 Likewise.
2631 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2632 comments.
2633 [__USE_MISC]: Remove redundant conditionals.
2634 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2635 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2636 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2637 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2638 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2639 Likewise.
2640 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2641 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2642 Likewise.
2643 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2644 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2645 Likewise.
2646 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2647 Likewise.
2648 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2649 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2650 Likewise.
2651 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2652 Likewise.
2653 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2654 * sysdeps/x86/bits/string.h: Update #endif comments.
2655 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2656 conditionals.
2657 * time/sys/time.h: Update #endif comments.
2658 * time/time.h: Likewise.
2659 [__USE_MISC]: Remove redundant conditionals.
2660
a5d82e4e
YG
26612014-02-21 Yury Gribov <y.gribov@samsung.com>
2662
2663 [BZ #16600]
2664 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2665
9a80491d
AS
26662014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2667
2668 * Versions.def (librt): Add GLIBC_2.17.
2669
105fa381
AC
26702014-02-21 Adam Conrad <adconrad@0c3.net>
2671
2672 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2673 synonym for _SYS_AUXV_H to allow direct inclusion.
2674 * sysdeps/sparc/bits/hwcap.h: Likewise.
2675 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2676 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2677 * sysdeps/sparc/sysdep.h: Likewise.
2678
b8cd1c4e
SP
26792014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2680
2681 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2682
bd939d23
RS
26832014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2684
2685 * benchtests/bench-strrchr.c: Print length instead of position.
2686
5d7b57ca
JM
26872014-02-20 Joseph Myers <joseph@codesourcery.com>
2688
bc688c10
JM
2689 [BZ #16611]
2690 * sysdeps/unix/sysv/linux/kernel-features.h
2691 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2692 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2693 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2694 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2695 Likewise.
2696 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2697 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2698 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2699 (__ASSUME_SENDMMSG): Define instead of using previous
2700 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2701 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2702 (__ASSUME_SENDMMSG_SYSCALL): Define.
2703 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2704 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2705 Likewise.
2706 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2707 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2708 Likewise.
2709 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2710 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2711 Likewise.
2712 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2713 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2714 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2715 [__ASSUME_SENDMMSG]: Change conditionals to
2716 [__ASSUME_SENDMMSG_SOCKETCALL].
2717 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2718 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2719 Define.
2720 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2721 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2722 Likewise.
2723 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2724 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2725 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2726 [!__ASSUME_SENDMMSG]: Change conditional to
2727 [!__ASSUME_SENDMMSG_SOCKETCALL].
2728 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2729 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2730 Define.
2731
0e31b18c
JM
2732 [BZ #16610]
2733 * sysdeps/unix/sysv/linux/kernel-features.h
2734 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2735 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2736 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2737 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2738 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2739 [__i386__ || __sparc__]
2740 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2741 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2742 (__ASSUME_RECVMMSG): Define instead of using previous
2743 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2744 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2745 (__ASSUME_RECVMMSG_SYSCALL): Define.
2746 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2747 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2748 Likewise.
2749 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2750 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2751 Likewise.
2752 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2753 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2754 Likewise.
2755 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2756 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2757 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2758 [__ASSUME_RECVMMSG]: Change condition to
2759 [__ASSUME_RECVMMSG_SOCKETCALL].
2760 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2761 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2762 Define.
2763 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2764 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2765 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2766 Likewise.
2767 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2768 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2769 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2770 [!__ASSUME_RECVMMSG]: Change condition to
2771 [!__ASSUME_RECVMMSG_SOCKETCALL].
2772 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2773 (__ASSUME_RECVMMSG_SYSCALL): Define.
2774
dd481ccf
JM
2775 [BZ #16609]
2776 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2777 __powerpc__ || __s390__ || __sh__ || __sparc__]
2778 (__ASSUME_SOCKETCALL): Define.
2779 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2780 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2781 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2782 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2783 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2784 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2785 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2786 (__ASSUME_ACCEPT4): Define instead of using previous
2787 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2788 __powerpc__ || __sparc__ || __s390__)] condition.
2789 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2790 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2791 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2792 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2793 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2794 [!__ASSUME_ACCEPT4]: Change condition to
2795 [!__ASSUME_ACCEPT4_SOCKETCALL].
2796 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2797 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2798 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2799 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2800 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2801 __ASSUME_ACCEPT4_SYSCALL.
2802 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2803 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2804 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2805 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2806 __ASSUME_ACCEPT4_SYSCALL.
2807 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2808 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2809 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2810 [__ASSUME_ACCEPT4]: Change condition to
2811 [__ASSUME_ACCEPT4_SOCKETCALL].
2812 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2813 (__ASSUME_SOCKETCALL): Define.
2814 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2815 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2816 (__ASSUME_SOCKETCALL): Define.
2817 (__ASSUME_ACCEPT4): Remove.
2818 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2819 Define.
2820 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2821 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2822 Likewise.
2823 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2824 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2825
5d7b57ca
JM
2826 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2827 macro.
2828 (HWCAP_ARM_LPAE): Likewise.
2829 (HWCAP_ARM_EVTSTRM): Likewise.
2830 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2831 Add vpfd32, lpae and evtstrm.
2832 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2833 Increase to 22.
2834
63689d61
JM
28352014-02-19 Joseph Myers <joseph@codesourcery.com>
2836
2837 * math/auto-libm-test-in: Add tests of clog10.
2838 * math/auto-libm-test-out: Regenerated.
2839 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2840 * sysdeps/i386/fpu/libm-test-ulps: Update.
2841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2842
ab09bf61
AS
28432014-02-18 Andreas Schwab <schwab@suse.de>
2844
2845 [BZ #16574]
2846 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2847 Store non-zero if the second buffer was newly allocated.
2848 (send_dg): Likewise.
2849 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2850 to send_vc and send_dg.
2851 (res_nsend): Pass NULL for ansp2_malloced.
2852 * resolv/res_query.c (__libc_res_nquery): Add parameter
2853 answerp2_malloced and pass it down to __libc_res_nsend.
2854 (res_nquery): Pass additional NULL to __libc_res_nquery.
2855 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2856 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2857 second answer buffer if answerp2_malloced was set.
2858 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2859 (__libc_res_nquerydomain): Add parameter
2860 answerp2_malloced and pass it down to __libc_res_nquery.
2861 (res_nquerydomain): Pass additional NULL to
2862 __libc_res_nquerydomain.
2863 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2864 additional NULL to __libc_res_nsend and __libc_res_nquery.
2865 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2866 additional NULL to __libc_res_nsearch.
2867 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2868 parameter of __libc_res_nsearch to check for separately allocated
2869 second buffer.
2870 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2871 __libc_res_nquery.
2872 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2873 additional NULL to __libc_res_nquery.
2874 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2875 __libc_res_nsearch.
2876 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2877 * include/resolv.h: Update prototypes of __libc_res_nquery,
2878 __libc_res_nsearch, __libc_res_nsend.
2879
a4fb7861
JM
28802014-02-18 Joseph Myers <joseph@codesourcery.com>
2881
c6af2d89
JM
2882 * math/auto-libm-test-in: Add tests of fma.
2883 * math/auto-libm-test-out: Regenerated.
2884 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2885 (fma_towardzero_test_data): Likewise.
2886 (fma_downward_test_data): Likewise.
2887 (fma_upward_test_data): Likewise.
2888 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2889 mpc_mode.
2890 (rounding_modes): Add values for new field.
2891 (func_calc_method): Add value mpfr_fff_f.
2892 (func_calc_desc): Add mpfr_fff_f union field.
2893 (test_function): Add field exact_args.
2894 (FUNC): Add macro argument EXACT_ARGS.
2895 (FUNC_mpfr_f_f): Update call to FUNC.
2896 (FUNC_mpfr_f_f): Likewise.
2897 (FUNC_mpfr_ff_f): Likewise.
2898 (FUNC_mpfr_if_f): Likewise.
2899 (FUNC_mpc_c_f): Likewise.
2900 (FUNC_mpc_c_c): Likewise.
2901 (test_functions): Add fma. Update calls to FUNC.
2902 (handle_input_arg): Add argument exact_args.
2903 (add_test): Update call to handle_input_arg.
2904 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2905 (output_for_one_input_case): Update call to calc_generic_results.
2906 Recalculate exact zero results in each rounding mode.
2907
a4fb7861
JM
2908 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2909 non-negative before setting low bit.
2910 * math/auto-libm-test-in: Mark one asin test possibly having
2911 spurious underflow.
2912 * math/auto-libm-test-out: Regenerated.
2913 * sysdeps/i386/fpu/libm-test-ulps: Update.
2914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2915
ef114eaf
DH
29162014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2917
2b7f4f2c
SP
2918 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2919 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2920 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2921 * README: Add missing listing for microblaze*-*-linux-gnu.
2922
c70a4b1d
MF
29232014-02-16 Mike Frysinger <vapier@gentoo.org>
2924
2925 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2926 * sysdeps/unix/sysv/linux/ia64: Move directory from
2927 ports/sysdeps/unix/sysv/linux/ia64.
2928 * README: Update listing for ia64-*-linux-gnu.
2929
591aeaf7
TD
29302014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2931 Joseph Myers <joseph@codesourcery.com>
2932
2933 * Makeconfig (test-name): New variable.
2934 (evaluate-test): Likewise.
2935 * Makerules (do-test-clean): Remove .test-result files.
2936 (common-mostlyclean): Likewise.
2937 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2938 * scripts/evaluate-test.sh: New file.
2939
6e89caf1
JM
29402014-02-14 Joseph Myers <joseph@codesourcery.com>
2941
7f98f180
JM
2942 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2943 separate $(objpfx)tst-fopenloc-cmp.out and
2944 $(objpfx)tst-fopenloc-mem.out targets.
2945 (tests): Update dependencies.
2946 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2947 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2948 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2949 (tst-rxspencer-no-utf8-ARGS): New variable.
2950 (tst-rxspencer-no-utf8-ENV): Likewise.
2951 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2952 instead of $(objpfx)tst-rxspencer-mem.
2953 ($(objpfx)tst-rxspencer-mem): Change target to
2954 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2955 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2956 * posix/tst-rxspencer-no-utf8.c: New file.
2957
6e89caf1
JM
2958 * elf/Makefile ($(objpfx)order.out): Remove rule.
2959 [$(run-built-tests) = yes] (tests): Depend on
2960 $(objpfx)order-cmp.out.
2961 ($(objpfx)order-cmp.out): New rule.
2962 [$(run-built-tests) = yes] (tests): Depend on
2963 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2964 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2965 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2966 $(objpfx)tst-array5-static-cmp.out.
2967 ($(objpfx)tst-array1.out): Remove rule.
2968 ($(objpfx)tst-array1-cmp.out): New rule.
2969 ($(objpfx)tst-array1-static.out): Remove rule.
2970 ($(objpfx)tst-array1-static-cmp.out): New rule.
2971 ($(objpfx)tst-array2.out): Remove rule.
2972 ($(objpfx)tst-array2-cmp.out): New rule.
2973 ($(objpfx)tst-array3.out): Remove rule.
2974 ($(objpfx)tst-array3-cmp.out): New rule.
2975 ($(objpfx)tst-array4.out): Remove rule.
2976 ($(objpfx)tst-array4-cmp.out): New rule.
2977 ($(objpfx)tst-array5.out): Remove rule.
2978 ($(objpfx)tst-array5-cmp.out): New rule.
2979 ($(objpfx)tst-array5-static.out): Remove rule.
2980 ($(objpfx)tst-array5-static-cmp.out): New rule.
2981 [$(run-built-tests) = yes] (tests): Depend on
2982 $(objpfx)order2-cmp.out.
2983 ($(objpfx)order2.out): Remove rule.
2984 ($(objpfx)order2-cmp.out): New rule.
2985 ($(objpfx)tst-initorder.out): Remove rule.
2986 [$(run-built-tests) = yes] (tests): Depend on
2987 $(objpfx)tst-initorder-cmp.out.
2988 ($(objpfx)tst-initorder-cmp.out): New rule.
2989 ($(objpfx)tst-initorder2.out): Remove rule.
2990 [$(run-built-tests) = yes] (tests): Depend on
2991 $(objpfx)tst-initorder2-cmp.out.
2992 ($(objpfx)tst-initorder2-cmp.out): New rule.
2993 [$(run-built-tests) = yes] (tests): Depend on
2994 $(objpfx)tst-unused-dep-cmp.out.
2995 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2996 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2997 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2998 on $(objpfx)tst-setvbuf1-cmp.out.
2999 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3000 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3001 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3002 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3003 ($(objpfx)tst-svc.out): Remove rule.
3004 ($(objpfx)tst-svc-cmp.out): New rule.
3005
ed9a38e2
JM
30062014-02-13 Joseph Myers <joseph@codesourcery.com>
3007
3008 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3009 * ctype/ctype.h [__USE_MISC]: Likewise.
3010 * dirent/dirent.h [__USE_MISC]: Likewise.
3011 * grp/grp.h [__USE_MISC]: Likewise.
3012 * io/fcntl.h [__USE_MISC]: Likewise.
3013 * io/sys/stat.h [__USE_MISC]: Likewise.
3014 * libio/stdio.h [__USE_MISC]: Likewise.
3015 * posix/unistd.h [__USE_MISC]: Likewise.
3016 * pwd/pwd.h [__USE_MISC]: Likewise.
3017 * stdlib.h [__USE_MISC]: Likewise.
3018 * string/bits/string2.h [__USE_MISC]: Likewise.
3019 * string/string.h [__USE_MISC]: Likewise.
3020 * time/time.h [__USE_MISC]: Likewise.
3021
d6680619
AS
30222014-02-13 Andreas Schwab <schwab@suse.de>
3023
3024 [BZ #16574]
3025 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3026 second answer buffer if it was separately allocated.
3027
ace614b8
JM
30282014-02-12 Joseph Myers <joseph@codesourcery.com>
3029
743151ae
JM
3030 * sysdeps/mips/math-tests.h: Include <features.h>.
3031 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3032 (ROUNDING_TESTS_long_double): Do not define.
3033 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3034 (EXCEPTION_TESTS_long_double): Likewise.
3035 * sysdeps/mips/mips64/libm-test-ulps: Update.
3036
498afc54
JM
3037 * include/features.h (__USE_BSD): Remove macro definitions.
3038 (__USE_SVID): Likewise.
3039 (_BSD_SOURCE): Likewise.
3040 (_SVID_SOURCE): Likewise.
3041 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3042 from definition of _DEFAULT_SOURCE.
3043 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3044 [_DEFAULT_SOURCE].
3045 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3046 * bits/mman.h [__USE_BSD]: Likewise.
3047 * bits/termios.h [__USE_BSD]: Likewise.
3048 * bits/waitstatus.h [__USE_BSD]: Likewise.
3049 * ctype/ctype.h [__USE_SVID]: Likewise.
3050 * dirent/dirent.h [__USE_BSD]: Likewise.
3051 * grp/grp.h [__USE_SVID]: Likewise.
3052 [__USE_BSD]: Likewise.
3053 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3054 * io/fcntl.h [__USE_BSD]: Likewise.
3055 * io/ftw.h [__USE_BSD]: Likewise.
3056 * io/sys/stat.h [__USE_BSD]: Likewise.
3057 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3058 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3059 * libio/stdio.h [__USE_SVID]: Likewise.
3060 [__USE_BSD]: Likewise.
3061 * math/math.h [__USE_SVID]: Likewise.
3062 [__USE_BSD]: Likewise.
3063 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3064 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3065 * misc/search.h [__USE_SVID]: Likewise.
3066 * misc/sys/mman.h [__USE_BSD]: Likewise.
3067 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3068 * misc/sys/uio.h [__USE_BSD]: Likewise.
3069 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3070 * posix/glob.h [__USE_BSD]: Likewise.
3071 * posix/regex.h [__USE_BSD]: Likewise.
3072 * posix/sys/types.h [__USE_BSD]: Likewise.
3073 [__USE_SVID]: Likewise.
3074 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3075 * posix/sys/wait.h [__USE_BSD]: Likewise.
3076 [__USE_SVID]: Likewise.
3077 * posix/unistd.h [__USE_BSD]: Likewise.
3078 [__USE_SVID]: Likewise.
3079 * pwd/pwd.h [__USE_SVID]: Likewise.
3080 * resolv/netdb.h [__USE_BSD]: Likewise.
3081 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3082 * signal/signal.h [__USE_BSD]: Likewise.
3083 [__USE_SVID]: Likewise.
3084 * socket/sys/socket.h [__USE_BSD]: Likewise.
3085 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3086 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3087 [__USE_SVID]: Likewise.
3088 * string/bits/string2.h [__USE_BSD]: Likewise.
3089 [__USE_SVID]: Likewise.
3090 * string/bits/string3.h [__USE_BSD]: Likewise.
3091 * string/endian.h [__USE_BSD]: Likewise.
3092 * string/string.h [__USE_SVID]: Likewise.
3093 [__USE_BSD]: Likewise.
3094 * string/strings.h [__USE_BSD]: Likewise.
3095 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3096 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3097 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3098 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3099 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3100 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3101 Likewise.
3102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3103 Likewise.
3104 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3105 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3106 Likewise.
3107 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3108 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3109 Likewise.
3110 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3111 Likewise.
3112 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3113 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3114 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3115 Likewise.
3116 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3117 Likewise.
3118 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3119 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3120 * termios/termios.h [__USE_BSD]: Likewise.
3121 * time/sys/time.h [__USE_BSD]: Likewise.
3122 * time/time.h [__USE_BSD]: Likewise.
3123 [__USE_SVID]: Likewise.
3124
dd7b064c
JM
3125 * Makefile (subdir_targets): Remove subdir_lint.out.
3126
a2c4c199
JM
3127 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3128 (do-tst-printf): Likewise.
3129 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3130 $(objpfx)tst-printf.out.
3131
8756f740
JM
3132 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3133
1b6dd3f1
JM
3134 * Makerules (check-abi-%): Change target to
3135 $(objpfx)check-abi-%.out.
3136 (check-abi target): Update dependencies.
3137 (check-abi-pattern variable): Redirect output of diff to $@.
3138 (check-abi variable): Likewise.
3139 * elf/Makefile (check-abi): Update dependencies.
3140
ace614b8
JM
3141 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3142 unused.
3143 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3144 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3145 subnormal range.
3146 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3147 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3148 value has largest subnormal exponent.
3149 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3150 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3151 * sysdeps/aarch64/soft-fp/sfp-machine.h
3152 (_FP_TININESS_AFTER_ROUNDING): New macro.
3153 * sysdeps/alpha/soft-fp/sfp-machine.h
3154 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3155 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3156 Likewise.
3157 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3158 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3159 * sysdeps/mips/soft-fp/sfp-machine.h
3160 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3161 * sysdeps/powerpc/soft-fp/sfp-machine.h
3162 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3163 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3164 Likewise.
3165 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3166 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3167 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3168 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3169 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3170 Likewise.
3171
fbfdf9cb
DAS
31722014-02-12 Dylan Alex Simon <dylan@dylex.net>
3173
3174 [BZ #16545]
3175 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3176 model 1.
3177
68b7efaa
RH
31782014-02-12 Richard Henderson <rth@redhat.com>
3179
c70a4b1d 3180 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3181 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3182 * sysdeps/unix/sysv/linux/alpha: Move directory from
3183 ports/sysdeps/unix/sysv/linux/alpha.
3184 * README: Update listing for alpha-*-linux-gnu.
3185
cb4a2928
JM
31862014-02-11 Joseph Myers <joseph@codesourcery.com>
3187
c941736c
JM
3188 * include/features.h: Update comment documenting feature test
3189 macros.
3190 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3191 _DEFAULT_SOURCE.
3192 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3193 (_SVID_SOURCE): Likewise.
3194 (_DEFAULT_SOURCE): Update description of default features.
3195 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3196 with _GNU_SOURCE.
3197 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3198 (S_ISVTX): Likewise.
3199 * manual/math.texi (Mathematical Constants): Likewise.
3200 * manual/signal.texi (Interrupted Primitives): Likewise.
3201 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3202 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3203 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3204 Don't refer to _SVID_SOURCE in warning text.
3205
e8d8d7ec
JM
3206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3207
cb4a2928
JM
3208 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3209 already defined.
3210 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3211 * sysdeps/mips/dl-lookup.c: Remove.
3212 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3213
7e6424e3
AK
32142014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3215
3216 [BZ #16447]
3217 * math/auto-libm-test-in: Add testcase for expl.
3218 * math/auto-libm-test-out: Regenerate.
3219 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3220 calculation of unsafe.
3221 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3222
75eff3fe
MS
32232014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3224
3225 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3226 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3227 ports/sysdeps/unix/sysv/linux/aarch64.
3228 * README: Update listing for aarch64*-*-linux-gnu.
3229
d35f1e80
WN
32302014-02-11 Will Newton <will.newton@linaro.org>
3231
3232 * manual/probes.texi (Mathematical Function Probes): Use
3233 "triggered" instead of "hit".
3234
7b3436d4
WN
32352014-02-11 Will Newton <will.newton@linaro.org>
3236
3237 * manual/probes.texi (Internal Probes): Add documentation
3238 of setjmp, longjmp and longjmp_target probes.
3239
b4f12ca3
WN
32402014-02-11 Will Newton <will.newton@linaro.org>
3241
3242 * include/stap-probe.h: Add comment about probe argument
3243 format.
3244
c13a72b7
WN
32452014-02-11 Will Newton <will.newton@linaro.org>
3246
3247 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3248 definition. (tr_where, tr_freehook, tr_mallochook,
3249 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3250
195b8165
DM
32512014-02-11 David S. Miller <davem@davemloft.net>
3252
3253 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3254 processing int_tests.
3255
2ad7600b
JM
32562014-02-10 Joseph Myers <joseph@codesourcery.com>
3257
3258 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3259 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3260 * sysdeps/unix/sysv/linux/mips: Move directory from
3261 ports/sysdeps/unix/sysv/linux/mips.
3262 * README: Update listing for mips-*-linux-gnu and
3263 mips64-*-linux-gnu.
3264
73588a72
AS
32652014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3266
3267 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3268 * sysdeps/unix/sysv/linux/m68k: Move directory from
3269 ports/sysdeps/unix/sysv/linux/m68k.
3270 * README: Update listing for m68k-*-linux-gnu.
3271
4372980f
CM
32722014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3273
3274 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3275 * sysdeps/unix/sysv/linux/generic: Move directory from
3276 ports/sysdeps/unix/sysv/linux/generic.
3277 * sysdeps/unix/sysv/linux/tile: Move directory from
3278 ports/sysdeps/unix/sysv/linux/tile.
3279 * README: Update listing for tile*-*-linux-gnu.
3280
a1ffb40e
OB
32812014-02-10 Ondřej Bílka <neleai@seznam.cz>
3282
3283 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3284 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3285 * catgets/open_catalog.c (__open_catalog): Likewise.
3286 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3287 * debug/confstr_chk.c: Likewise.
3288 * debug/fread_chk.c (__fread_chk): Likewise.
3289 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3290 * debug/getgroups_chk.c: Likewise.
3291 * debug/mbsnrtowcs_chk.c: Likewise.
3292 * debug/mbsrtowcs_chk.c: Likewise.
3293 * debug/mbstowcs_chk.c: Likewise.
3294 * debug/memcpy_chk.c: Likewise.
3295 * debug/memmove_chk.c: Likewise.
3296 * debug/mempcpy_chk.c: Likewise.
3297 * debug/memset_chk.c: Likewise.
3298 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3299 * debug/strcat_chk.c (__strcat_chk): Likewise.
3300 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3301 * debug/strncat_chk.c (__strncat_chk): Likewise.
3302 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3303 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3304 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3305 * debug/wcpncpy_chk.c: Likewise.
3306 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3307 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3308 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3309 * debug/wcsncpy_chk.c: Likewise.
3310 * debug/wcsnrtombs_chk.c: Likewise.
3311 * debug/wcsrtombs_chk.c: Likewise.
3312 * debug/wcstombs_chk.c: Likewise.
3313 * debug/wmemcpy_chk.c: Likewise.
3314 * debug/wmemmove_chk.c: Likewise.
3315 * debug/wmempcpy_chk.c: Likewise.
3316 * debug/wmemset_chk.c: Likewise.
3317 * dirent/scandirat.c (SCANDIRAT): Likewise.
3318 * dlfcn/dladdr1.c (dladdr1): Likewise.
3319 * dlfcn/dladdr.c (dladdr): Likewise.
3320 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3321 * dlfcn/dlerror.c (__dlerror): Likewise.
3322 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3323 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3324 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3325 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3326 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3327 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3328 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3329 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3330 Likewise.
3331 * elf/dl-conflict.c: Likewise.
3332 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3333 * elf/dl-dst.h: Likewise.
3334 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3335 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3336 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3337 * elf/dl-init.c (call_init, _dl_init): Likewise.
3338 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3339 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3340 _dl_map_object_from_fd, open_verify, open_path,
3341 _dl_map_object): Likewise.
3342 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3343 Likewise.
3344 * elf/dl-minimal.c (__libc_memalign): Likewise.
3345 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3346 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3347 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3348 * elf/dl-sym.c (do_sym): Likewise.
3349 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3350 _dl_tls_get_addr_soft): Likewise.
3351 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3352 * elf/dl-writev.h (_dl_writev): Likewise.
3353 * elf/ldconfig.c (search_dir): Likewise.
3354 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3355 dl_main): Likewise.
3356 * elf/setup-vdso.h (setup_vdso): Likewise.
3357 * grp/compat-initgroups.c (compat_call): Likewise.
3358 * grp/fgetgrent.c (fgetgrent): Likewise.
3359 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3360 * grp/putgrent.c (putgrent): Likewise.
3361 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3362 Likewise.
3363 * hurd/hurdinit.c: Likewise.
3364 * iconvdata/8bit-gap.c (struct): Likewise.
3365 * iconvdata/ansi_x3.110.c : Likewise.
3366 * iconvdata/big5.c : Likewise.
3367 * iconvdata/big5hkscs.c : Likewise.
3368 * iconvdata/cp1255.c: Likewise.
3369 * iconvdata/cp1258.c : Likewise.
3370 * iconvdata/cp932.c : Likewise.
3371 * iconvdata/euc-cn.c: Likewise.
3372 * iconvdata/euc-jisx0213.c : Likewise.
3373 * iconvdata/euc-jp.c: Likewise.
3374 * iconvdata/euc-jp-ms.c : Likewise.
3375 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3376 * iconvdata/gb18030.c : Likewise.
3377 * iconvdata/gbbig5.c (const): Likewise.
3378 * iconvdata/gbgbk.c: Likewise.
3379 * iconvdata/gbk.c : Likewise.
3380 * iconvdata/ibm1364.c : Likewise.
3381 * iconvdata/ibm930.c : Likewise.
3382 * iconvdata/ibm932.c: Likewise.
3383 * iconvdata/ibm933.c : Likewise.
3384 * iconvdata/ibm935.c : Likewise.
3385 * iconvdata/ibm937.c : Likewise.
3386 * iconvdata/ibm939.c : Likewise.
3387 * iconvdata/ibm943.c: Likewise.
3388 * iconvdata/iso_11548-1.c: Likewise.
3389 * iconvdata/iso-2022-cn.c : Likewise.
3390 * iconvdata/iso-2022-cn-ext.c : Likewise.
3391 * iconvdata/iso-2022-jp-3.c: Likewise.
3392 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3393 * iconvdata/iso-2022-kr.c : Likewise.
3394 * iconvdata/iso646.c (gconv_end): Likewise.
3395 * iconvdata/iso_6937-2.c : Likewise.
3396 * iconvdata/iso_6937.c : Likewise.
3397 * iconvdata/iso8859-1.c: Likewise.
3398 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3399 * iconvdata/shift_jisx0213.c : Likewise.
3400 * iconvdata/sjis.c : Likewise.
3401 * iconvdata/t.61.c : Likewise.
3402 * iconvdata/tcvn5712-1.c : Likewise.
3403 * iconvdata/tscii.c: Likewise.
3404 * iconvdata/uhc.c : Likewise.
3405 * iconvdata/unicode.c (gconv_end): Likewise.
3406 * iconvdata/utf-16.c (gconv_end): Likewise.
3407 * iconvdata/utf-32.c (gconv_end): Likewise.
3408 * iconvdata/utf-7.c (base64): Likewise.
3409 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3410 * iconv/gconv_close.c (__gconv_close): Likewise.
3411 * iconv/gconv_open.c (__gconv_open): Likewise.
3412 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3413 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3414 internal_ucs4le_loop_single, ucs4le_internal_loop,
3415 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3416 * iconv/iconv.c (iconv): Likewise.
3417 * iconv/iconv_close.c: Likewise.
3418 * iconv/loop.c (SINGLE): Likewise.
3419 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3420 * include/atomic.h: Likewise.
3421 * inet/inet6_option.c (option_alloc): Likewise.
3422 * intl/bindtextdom.c (set_binding_values): Likewise.
3423 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3424 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3425 * intl/localealias.c (read_alias_file): Likewise.
3426 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3427 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3428 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3429 * libio/fmemopen.c (fmemopen): Likewise.
3430 * libio/iofgets.c (_IO_fgets): Likewise.
3431 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3432 * libio/iofgetws.c (fgetws): Likewise.
3433 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3434 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3435 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3436 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3437 * locale/findlocale.c (_nl_find_locale): Likewise.
3438 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3439 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3440 Likewise.
3441 * locale/setlocale.c (setlocale): Likewise.
3442 * login/programs/pt_chown.c (main): Likewise.
3443 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3444 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3445 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3446 mmap, mmap64, mremap, munmap): Likewise.
3447 * math/e_exp2l.c: Likewise.
3448 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3449 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3450 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3451 * math/s_catan.c (__catan): Likewise.
3452 * math/s_catanf.c (__catanf): Likewise.
3453 * math/s_catanh.c (__catanh): Likewise.
3454 * math/s_catanhf.c (__catanhf): Likewise.
3455 * math/s_catanhl.c (__catanhl): Likewise.
3456 * math/s_catanl.c (__catanl): Likewise.
3457 * math/s_ccosh.c (__ccosh): Likewise.
3458 * math/s_ccoshf.c (__ccoshf): Likewise.
3459 * math/s_ccoshl.c (__ccoshl): Likewise.
3460 * math/s_cexp.c (__cexp): Likewise.
3461 * math/s_cexpf.c (__cexpf): Likewise.
3462 * math/s_cexpl.c (__cexpl): Likewise.
3463 * math/s_clog10.c (__clog10): Likewise.
3464 * math/s_clog10f.c (__clog10f): Likewise.
3465 * math/s_clog10l.c (__clog10l): Likewise.
3466 * math/s_clog.c (__clog): Likewise.
3467 * math/s_clogf.c (__clogf): Likewise.
3468 * math/s_clogl.c (__clogl): Likewise.
3469 * math/s_csin.c (__csin): Likewise.
3470 * math/s_csinf.c (__csinf): Likewise.
3471 * math/s_csinh.c (__csinh): Likewise.
3472 * math/s_csinhf.c (__csinhf): Likewise.
3473 * math/s_csinhl.c (__csinhl): Likewise.
3474 * math/s_csinl.c (__csinl): Likewise.
3475 * math/s_csqrt.c (__csqrt): Likewise.
3476 * math/s_csqrtf.c (__csqrtf): Likewise.
3477 * math/s_csqrtl.c (__csqrtl): Likewise.
3478 * math/s_ctan.c (__ctan): Likewise.
3479 * math/s_ctanf.c (__ctanf): Likewise.
3480 * math/s_ctanh.c (__ctanh): Likewise.
3481 * math/s_ctanhf.c (__ctanhf): Likewise.
3482 * math/s_ctanhl.c (__ctanhl): Likewise.
3483 * math/s_ctanl.c (__ctanl): Likewise.
3484 * math/w_pow.c: Likewise.
3485 * math/w_powf.c: Likewise.
3486 * math/w_powl.c: Likewise.
3487 * math/w_scalb.c (sysv_scalb): Likewise.
3488 * math/w_scalbf.c (sysv_scalbf): Likewise.
3489 * math/w_scalbl.c (sysv_scalbl): Likewise.
3490 * misc/error.c (error_tail): Likewise.
3491 * misc/pselect.c (__pselect): Likewise.
3492 * nis/nis_callback.c (__nis_create_callback): Likewise.
3493 * nis/nis_call.c (__nisfind_server): Likewise.
3494 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3495 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3496 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3497 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3498 * nis/nis_lookup.c (nis_lookup): Likewise.
3499 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3500 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3501 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3502 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3503 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3504 internal_getgrgid_r): Likewise.
3505 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3506 Likewise.
3507 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3508 internal_getpwuid_r): Likewise.
3509 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3510 internal_getspnam_r): Likewise.
3511 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3512 _nss_nis_getaliasbyname_r): Likewise.
3513 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3514 _nss_nis_getntohost_r): Likewise.
3515 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3516 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3517 Likewise.
3518 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3519 internal_nis_gethostent_r, internal_gethostbyname2_r,
3520 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3521 _nss_nis_gethostbyname4_r): Likewise.
3522 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3523 initgroups_netid): Likewise.
3524 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3525 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3526 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3527 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3528 _nss_nis_getprotobynumber_r): Likewise.
3529 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3530 _nss_nis_getsecretkey): Likewise.
3531 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3532 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3533 Likewise.
3534 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3535 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3536 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3537 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3538 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3539 _nss_nis_getspnam_r): Likewise.
3540 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3541 Likewise.
3542 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3543 _nss_nisplus_getntohost_r): Likewise.
3544 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3545 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3546 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3547 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3548 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3549 Likewise.
3550 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3551 _nss_nisplus_getnetbyaddr_r): Likewise.
3552 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3553 _nss_nisplus_getprotobynumber_r): Likewise.
3554 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3555 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3556 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3557 Likewise.
3558 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3559 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3560 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3561 _nss_nisplus_getspnam_r): Likewise.
3562 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3563 * nscd/aicache.c (addhstaiX): Likewise.
3564 * nscd/cache.c (cache_search, prune_cache): Likewise.
3565 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3566 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3567 * nscd/grpcache.c (addgrbyX): Likewise.
3568 * nscd/hstcache.c (addhstbyX): Likewise.
3569 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3570 * nscd/mem.c (gc, mempool_alloc): Likewise.
3571 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3572 Likewise.
3573 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3574 Likewise.
3575 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3576 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3577 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3578 Likewise.
3579 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3580 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3581 * nscd/nscd_helper.c (__readvall, open_socket,
3582 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3583 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3584 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3585 * nscd/pwdcache.c (addpwbyX): Likewise.
3586 * nscd/selinux.c (preserve_capabilities): Likewise.
3587 * nscd/servicescache.c (addservbyX): Likewise.
3588 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3589 * posix/fnmatch.c (fnmatch): Likewise.
3590 * posix/getopt.c (_getopt_internal_r): Likewise.
3591 * posix/glob.c (glob, glob_in_dir): Likewise.
3592 * posix/wordexp.c (exec_comm_child): Likewise.
3593 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3594 gaih_getanswer_slice): Likewise.
3595 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3596 * resolv/res_init.c: Likewise.
3597 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3598 * resolv/res_query.c (__libc_res_nquery): Likewise.
3599 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3600 Likewise.
3601 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3602 * stdio-common/perror.c (perror): Likewise.
3603 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3604 * stdio-common/tmpnam.c (tmpnam): Likewise.
3605 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3606 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3607 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3608 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3609 * stdlib/putenv.c (putenv): Likewise.
3610 * stdlib/setenv.c (__add_to_environ): Likewise.
3611 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3612 * stdlib/strtol_l.c (INTERNAL): Likewise.
3613 * string/memmem.c (memmem): Likewise.
3614 * string/strerror.c (strerror): Likewise.
3615 * string/strnlen.c (__strnlen): Likewise.
3616 * string/test-memmem.c (simple_memmem): Likewise.
3617 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3618 * sunrpc/pm_getport.c (__get_socket): Likewise.
3619 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3620 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3621 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3622 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3623 Likewise.
3624 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3625 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3626 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3627 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3628 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3629 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3630 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3631 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3632 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3633 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3634 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3635 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3637 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3638 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3639 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3640 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3641 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3642 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3643 Likewise.
3644 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3645 Likewise.
3646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3647 Likewise.
3648 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3649 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3650 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3651 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3652 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3653 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3654 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3655 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3657 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3658 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3659 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3660 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3661 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3663 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3664 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3665 Likewise.
3666 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3667 Likewise.
3668 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3669 Likewise.
3670 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3672 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3673 Likewise.
3674 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3675 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3676 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3677 * sysdeps/posix/sleep.c: Likewise.
3678 * sysdeps/posix/tempname.c: Likewise.
3679 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3680 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3681 Likewise.
3682 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3683 elf_machine_rela): Likewise.
3684 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3685 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3686 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3687 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3688 Likewise.
3689 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3690 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3691 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3692 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3693 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3694 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3695 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3696 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3697 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3698 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3699 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3700 elf_machine_lazy_rel): Likewise.
3701 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3702 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3703 elf_machine_lazy_rel): Likewise.
3704 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3705 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3706 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3707 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3708 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3709 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3710 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3711 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3712 Likewise.
3713 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3714 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3715 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3716 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3717 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3718 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3719 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3720 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3721 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3722 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3723 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3724 Likewise.
3725 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3726 (__posix_fallocate64_l64): Likewise.
3727 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3728 (posix_fallocate): Likewise.
3729 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3730 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3731 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3732 getifaddrs_internal): Likewise.
3733 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3734 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3735 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3736 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3737 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3738 (__posix_fallocate64_l64): Likewise.
3739 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3740 Likewise.
3741 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3742 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3743 Likewise.
3744 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3745 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3746 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3747 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3748 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3749 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3750 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3751 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3752 Likewise.
3753 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3754 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3755 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3756 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3757 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3758 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3759 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3760 Likewise.
3761 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3762 (posix_fallocate): Likewise.
3763 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3764 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3765 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3766 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3767 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3768 Likewise.
3769 * time/asctime.c (asctime_internal): Likewise.
3770 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3771 * time/tzset.c (__tzset_parse_tz): Likewise.
3772 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3773 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3774 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3775 * wcsmbs/wcsmbsload.h: Likewise.
3776
f3d338c9
OB
37772014-02-10 Ondřej Bílka <neleai@seznam.cz>
3778
3779 [BZ #15894]
3780 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3781
bdfe308a
OB
37822014-02-10 Ondřej Bílka <neleai@seznam.cz>
3783
3784 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3785 arena_get2): Remove THREAD_STATS conditionals.
3786 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3787 __malloc_stats, int): Likewise.
3788
d674667c
MF
37892014-02-08 Mike Frysinger <vapier@gentoo.org>
3790
3791 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3792 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3793
6349768c
MF
37942014-02-08 Mike Frysinger <vapier@gentoo.org>
3795
3796 * manual/setjmp.texi: Fix typos/grammar errors.
3797
0b7c7473
MF
37982014-02-08 Mike Frysinger <vapier@gentoo.org>
3799
3800 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3801 Only return early when n is <= 0. Delete unused return statement.
3802
ac8cc9e3
MF
38032014-02-08 Mike Frysinger <vapier@gentoo.org>
3804
3805 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3806 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3807 * debug/tst-longjmp_chk3.c: New file.
3808
c5bb8e23
MF
38092014-02-08 Mike Frysinger <vapier@gentoo.org>
3810
3811 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3812 (test_main): Replace code with set_fortify_handler call.
3813 * debug/test-strcpy_chk.c: Likewise.
3814 * debug/tst-chk1.c: Likewise.
3815 * debug/tst-longjmp_chk.c: Likewise.
3816 * test-skeleton.c: Include fcntl.h & paths.h
3817 (set_fortify_handler): Define.
3818
10444e42
MF
38192014-02-08 Mike Frysinger <vapier@gentoo.org>
3820
3821 * debug/tst-longjmp_chk.c: Add header comment and include
3822 ../test-skeleton.c.
3823 (do_test): Mark static.
3824 (TEST_FUNCTION): Define.
3825
1e805e8d
MF
38262014-02-08 Mike Frysinger <vapier@gentoo.org>
3827
3828 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3829 (IP_PMTUDISC_INTERFACE): Likewise.
3830 (IP_MULTICAST_IF): Likewise.
3831 (IP_MULTICAST_TTL): Likewise.
3832 (IP_MULTICAST_LOOP): Likewise.
3833 (IP_ADD_MEMBERSHIP): Likewise.
3834 (IP_DROP_MEMBERSHIP): Likewise.
3835 (IP_UNBLOCK_SOURCE): Likewise.
3836 (IP_BLOCK_SOURCE): Likewise.
3837 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3838 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3839 (IP_MSFILTER): Likewise.
3840 (MCAST_JOIN_GROUP): Likewise.
3841 (MCAST_BLOCK_SOURCE): Likewise.
3842 (MCAST_UNBLOCK_SOURCE): Likewise.
3843 (MCAST_LEAVE_GROUP): Likewise.
3844 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3845 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3846 (MCAST_MSFILTER): Likewise.
3847 (IP_MULTICAST_ALL): Likewise.
3848 (IP_UNICAST_IF): Likewise.
3849
73f79bb7
MF
38502014-02-08 Mike Frysinger <vapier@gentoo.org>
3851
3852 * timezone/Makefile: Delete $(have-ksh) check.
3853 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3854 * timezone/tzselect.ksh: Add +x mode bits.
3855
8da79b60
MF
38562014-02-08 Mike Frysinger <vapier@gentoo.org>
3857
3858 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3859 (ANON_INODE_FS_MAGIC): Likewise.
3860 (BDEVFS_MAGIC): Likewise.
3861 (BINFMTFS_MAGIC): Likewise.
3862 (BTRFS_TEST_MAGIC): Likewise.
3863 (CRAMFS_MAGIC_WEND): Likewise.
3864 (DEBUGFS_MAGIC): Likewise.
3865 (ECRYPTFS_SUPER_MAGIC): Likewise.
3866 (EXT3_SUPER_MAGIC): Likewise.
3867 (EXT4_SUPER_MAGIC): Likewise.
3868 (FUTEXFS_SUPER_MAGIC): Likewise.
3869 (HOSTFS_SUPER_MAGIC): Likewise.
3870 (HUGETLBFS_MAGIC): Likewise.
3871 (MINIX3_SUPER_MAGIC): Likewise.
3872 (MTD_INODE_FS_MAGIC): Likewise.
3873 (NILFS_SUPER_MAGIC): Likewise.
3874 (OPENPROM_SUPER_MAGIC): Likewise.
3875 (PIPEFS_MAGIC): Likewise.
3876 (PSTOREFS_MAGIC): Likewise.
3877 (QNX6_SUPER_MAGIC): Likewise.
3878 (RAMFS_MAGIC): Likewise.
3879 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3880 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3881 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3882 (SECURITYFS_MAGIC): Likewise.
3883 (SELINUX_MAGIC): Likewise.
3884 (SMACK_MAGIC): Likewise.
3885 (SOCKFS_MAGIC): Likewise.
3886 (SQUASHFS_MAGIC): Likewise.
3887 (STACK_END_MAGIC): Likewise.
3888 (TMPFS_MAGIC): Likewise.
3889 (USBDEVICE_SUPER_MAGIC): Likewise.
3890 (V9FS_MAGIC): Likewise.
3891 (XENFS_SUPER_MAGIC): Likewise.
3892 (CRAMFS_MAGIC): Fix typo in comment.
3893 (EXT2_SUPER_MAGIC): Update comment.
3894 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3895
464263cc
JM
38962014-02-08 Joseph Myers <joseph@codesourcery.com>
3897
c6bfe5c4
JM
3898 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3899 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3900 * sysdeps/unix/sysv/linux/arm: Move directory from
3901 ports/sysdeps/unix/sysv/linux/arm.
3902 * README: Update listing for arm-*-linux-gnueabi.
3903
464263cc
JM
3904 * README: Remove mention of am33.
3905
32749f6c
RM
39062014-02-07 Roland McGrath <roland@hack.frob.com>
3907
3908 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3909 than the comma operator, to avoid "rhs of comma has no effect"
3910 compiler warnings.
3911 (__sigfillset, __sigandset, __sigorset): Likewise.
3912 * include/signal.h (__sigemptyset): Likewise.
3913 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3914
d5b396c1
AM
39152014-02-07 Allan McRae <allan@archlinux.org>
3916
3917 * version.h (RELEASE): Set to "development".
3918 (VERSION): Set to "2.19.90"
3919 * NEWS: Add 2.20 section.
3920
3bfff2ed
CD
39212014-02-06 Carlos O'Donell <carlos@redhat.com>
3922
3923 [BZ #16529]
3924 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3925
ee7cc385
SP
39262014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3927
3928 * manual/contrib.texi: Update entry for Carlos O'Donell,
3929 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3930
f877c4f2
CD
39312014-02-05 Carlos O'Donell <carlos@rehdat.com>
3932
27e839f6
CD
3933 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3934
f877c4f2
CD
3935 * sysdeps/unix/sysv/linux/kernel-features.h
3936 [__LINUX_KERNEL_VERSION >= 0x020621]
3937 (__ASSUME_PROC_PID_TASK_COMM): Define.
3938
68159946
SP
39392014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3940
ba17cdbd
SP
3941 [BZ #16398]
3942 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3943 conversion when destination buffer does not have enough space.
3944 * libio/tst-ftell-partial-wide.c: New test case.
3945 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3946
68159946
SP
3947 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3948 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3949 Leonard and Allan McRae.
3950
2b528732
DM
39512014-02-04 David S. Miller <davem@davemloft.net>
3952
3953 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3954 32-bit.
3955
0ff82463
AZ
39562014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3957
c01603f7
AZ
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3959 file
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3961 New file
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3963 file.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3965 file.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3967 New file.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3969 file.
3970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3971 file.
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3973 New file.
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3975 New file.
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3977 New file.
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3979 New file.
3980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3981 New file.
3982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3983 New file.
3984
39852014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3986
0ff82463
AZ
3987 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3988 * shlib-versions: Likewise.
3989
1695c773
AZ
39902014-02-04 Roland McGrath <roland@hack.frob.com>
3991 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3992
3993 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3994 (abilist-pattern): New variable, set to %-le.abilist.
3995
3996 * Makerules (abilist-pattern): New variable.
3997 (vpath): Use $(abilist-pattern) in place of %.abilist.
3998 (check-abi-% pattern rule): Likewise.
3999 (check-abi, update-abi): Likewise.
4000
6c0ce4b4
EW
40012014-02-04 Eric Wong <normalperson@yhbt.net>
4002
4003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4004
dc98b8f5
EW
40052014-02-04 Eric Wong <normalperson@yhbt.net>
4006
4007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4008
481e3524
CD
40092014-02-03 Carlos O'Donell <carlos@redhat.com>
4010
4011 * manual/startup.texi: Add next, previous, and top entries for
4012 the `Program Arguments' and `Environment Variables' nodes.
4013
375592d3
AO
40142014-02-03 Alexandre Oliva <aoliva@redhat.com>
4015
4016 * manual/macros.texi: Add comments before MTASC-safety macros.
4017
f54838ba
AO
4018 * manual/users.texi: Document MTASC-safety properties.
4019
909e12ad
AO
4020 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4021 pthread_getspecific, pthread_setspecific): Format with
4022 @deftypefun, and add @safety note.
4023 * manual/signal.texi: Move comments that analyze the above
4024 functions to their home place.
4025
fd3daba4
AM
40262014-02-03 Allan McRae <allan@archlinux.org>
4027
4028 * po/sl.po: Update Slovenian translation from translation project.
4029
597636d7
AO
40302014-02-02 Alexandre Oliva <aoliva@redhat.com>
4031
4032 * manual/time.texi (timegm): Add missing blank after @c.
4033 Reported by Joseph Myers <joseph@codesourcery.com>.
4034
ee196e3c
AO
40352014-02-01 Alexandre Oliva <aoliva@redhat.com>
4036
4037 * manual/check-safety.sh: New.
4038 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4039
f8d529d5
AO
4040 * manual/terminal.texi: Document MTASC-safety properties.
4041
de55fdf4
AO
4042 * manual/filesys.texi: Document MTASC-safety properties.
4043
c3299c08
AO
4044 * manual/errno.texi: Document MTASC-safety properties.
4045
06e90b14
AO
4046 * manual/intro.texi: Document safety identifiers and
4047 conditionals.
4048
1acd4371
AO
4049 * manual/string.texi (wcstok): Fix prototype.
4050 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4051
23e5b8cb
AO
4052 * manual/time.texi: Document MTASC-safety properties.
4053
11087373
AO
4054 * manual/string.texi: Document MTASC-safety properties.
4055
5da2c93d
AO
4056 * manual/threads.texi: Document MTASC-safety properties.
4057
171e9210
AO
4058 * manual/stdio.texi: Document MTASC-safety properties.
4059
d9e02532
AO
4060 * manual/syslog.texi: Document MTASC-safety properties.
4061
6af8bab7
AO
4062 * manual/sysinfo.texi: Document MTASC-safety properties.
4063
663b02d7
AO
4064 * manual/startup.texi: Document MTASC-safety properties.
4065
973f180b
AO
4066 * manual/socket.texi: Document MTASC-safety properties.
4067
8f3c25c8
AO
4068 * manual/signal.texi: Document MTASC-safety properties.
4069
542210fb
AO
40702014-01-31 Alexandre Oliva <aoliva@redhat.com>
4071
4072 * manual/setjmp.texi: Document MTASC-safety properties.
4073
433c45a2
AO
4074 * manual/search.texi: Document MTASC-safety properties.
4075
c8ce789c
AO
4076 * manual/resource.texi: Document MTASC-safety properties.
4077
19f5d29c
AO
4078 * manual/process.texi: Document MTASC-safety properties.
4079
e2dfb7f4
AO
4080 * manual/platform.texi: Document MTASC-safety properties.
4081
8c1413f5
AO
4082 * manual/pipe.texi: Document MTASC-safety properties.
4083
03483ada
AO
4084 * manual/pattern.texi: Document MTASC-safety properties.
4085
29e7e2df
AO
4086 * manual/message.texi: Document MTASC-safety properties.
4087
9f529d7c
AO
4088 [BZ #12751]
4089 * manual/memory.texi: Document MTASC-safety properties.
4090
27aaa791
AO
4091 * manual/math.texi: Document MTASC-safety properties.
4092
f2d58726
AO
4093 * manual/locale.texi: Document MTASC-safety properties.
4094
2cc3615c
AO
4095 * manual/llio.texi: Document MTASC-safety properties.
4096
d9f0ec97
AO
4097 * manual/libdl.texi: New.
4098
e7c4409a
AO
4099 * manual/lang.texi: Document MTASC-safety properties.
4100
27bdc63c
AO
4101 * manual/job.texi: Document MTASC-safety properties.
4102
a7b90ea9
AO
4103 * manual/getopt.texi: Document MTASC-safety properties.
4104
c49130e3
AO
4105 * manual/ctype.texi: Document MTASC-safety properties.
4106
0d23a5c1
MR
41072014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4108
4109 [BZ #16046]
4110 * csu/libc-tls.c (static_map): Remove variable.
4111 (__libc_setup_tls): Use main executable's link map for TLS data.
4112 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4113 casing for LM_ID_BASE and GL(dl_nns).
4114 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4115 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4116 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4117 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4118 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4119 member.
4120 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4121 l_phnum members.
4122
0037bb60
AO
41232014-01-30 Alexandre Oliva <aoliva@redhat.com>
4124
4125 * manual/debug.texi: Document MTASC-safety properties.
4126
409e00bd
L
41272014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4128
4129 [BZ #16510]
4130 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4131 of __x86_64__ when disabling x87 inline functions.
4132
86e60666
AO
41332014-01-29 Alexandre Oliva <aoliva@redhat.com>
4134
4135 * manual/charset.texi: Document MTASC-safety properties.
4136
76167637
AO
4137 * manual/crypt.texi: Document MTASC-safety properties.
4138
e567f2a0
AO
4139 * manual/conf.texi: Document MTASC-safety properties.
4140
b719dafd
AO
4141 * manual/arith.texi: Document MTASC-safety properties.
4142
4a16c662
AO
4143 * manual/argp.texi: Document MTASC-safety properties.
4144
0a57b83e
AO
4145 * manual/macros.texi: Introduce macros to document multi
4146 thread, asynchronous signal and asynchronous cancellation
4147 safety properties.
4148 * manual/intro.texi: Introduce the properties themselves.
4149
feab2397
KK
41502014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4151
4152 * sysdeps/sh/sh4/Makefile: New file.
4153
1c0d11bc
AS
41542014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4155
4156 * math/gen-libm-test.pl ($srcdir): New variable.
4157 ($auto_input): Use it.
4158
af37a8a3
SP
41592014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4160
d7b00f98
SP
4161 [BZ #16506]
4162 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4163 access beyond array bounds when parsing netgroups file.
4164
af37a8a3
SP
4165 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4166 the old buffer before realloc.
4167
0c00f062
AM
41682014-01-27 Allan McRae <allan@archlinux.org>
4169
4170 * po/fr.po: Update French translation from translation project.
4171
7d69a1b0
KK
41722014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4173
4174 * sysdeps/sh/libm-test-ulps: Regenerate.
4175
6e697ff7
DM
41762014-01-24 David S. Miller <davem@davemloft.net>
4177
4178 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4179
9cadb35c
KK
41802014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4181
4182 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4183 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4184
5d41dadf
SP
41852013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4186
4187 [BZ #16474]
4188 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4189 string pointers after reallocation.
4190
0bad441c
KK
41912014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4192
4193 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4194 __SH4A__ instead of __SH_FPU_ANY__.
4195
7007c661
KK
41962014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4197
4198 * sysdeps/sh/fpu_control.h: New file.
4199 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4200 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4201 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4202 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4203 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4204 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4205 * sysdeps/sh/sys/ucontext.h: Remove.
4206 * sysdeps/sh/sys: Remove directory.
4207
0f0c35e4
AK
42082014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4209
4210 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4211 s390/sys/ucontext.h.
4212 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4213 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4214
4959e284
L
42152014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4216
4217 [BZ #15605]
4218 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4219
d98720e0
AZ
42202014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4221
4222 [BZ#16431]
4223 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4224 Adjust the vDSO correctly for internal calls.
4225 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4226
91cbd0bc
AM
42272014-01-20 Allan McRae <allan@archlinux.org>
4228
4229 * po/ca.po: Update Catalan translation from translation project.
4230
7a02cfad
MF
42312014-01-16 Mike Frysinger <vapier@gentoo.org>
4232
4233 * sysdeps/s390/sotruss-lib.c: New file.
4234
736c304a
AZ
42352014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4236
4237 [BZ#16430]
6e077ee5 4238 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4239 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4240 local calls issues by not having a PLT stub required for IFUNC calls.
4241 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4242
94d0cea0
JM
42432014-01-16 Joseph Myers <joseph@codesourcery.com>
4244
4245 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4246 * math/test-fpucw-static.c: Likewise.
4247
980cb518
SP
42482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4249
4250 [BZ #16453]
4251 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4252
2393fc01
AZ
42532014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4254
4255 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4256 implementation for powerpc.
4257
d359bcc2
OB
42582014-01-15 Ondřej Bílka <neleai@seznam.cz>
4259
4260 [BZ #14782]
4261 * sysdeps/posix/system.c (__libc_system): Do not enable
4262 asynchronous cancellation.
4263
7beb48cb
AK
42642014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4265
4266 [BZ #16427]
4267 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4268 handling only for numbers special also in the IEEE case.
4269
c20d5bf5
AK
42702014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4271
4272 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4273
e83bd4ee
AM
42742014-01-11 Allan McRae <allan@archlinux.org>
4275
76d0ea69
AM
4276 * po/bg.po: Update Bulgarian translation from translation project.
4277
e83bd4ee
AM
4278 * po/de.po: Update German translation from translation project.
4279
bc2ba20a
RM
42802014-01-10 Roland McGrath <roland@hack.frob.com>
4281
4282 * sysdeps/generic/gcc-compat.h: New file.
4283
649ecea2
SP
42842014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4285
4286 * benchtests/asin-inputs: Correct slow inputs.
4287 * benchtests/acos-inputs: Likewise.
4288
1b19c006
AM
42892014-01-10 Allan McRae <allan@archlinux.org>
4290
a46dab08
AM
4291 * po:sv.po: Update Swedish translation from translation project.
4292
421df74a
AM
4293 * po/vi.po: Update Vietnamese translation from translation project.
4294
d61c51a7
AM
4295 * po/eo.po: Update Esperanto translation from translation project.
4296
0339a319
AM
4297 * po/cs.po: Update Czech translation from translation project.
4298
94ad3e99
AM
4299 * po/nl.po: Update Dutch translation from translation project.
4300
e349ca71
AM
4301 * po/pl.po: Update Polish translation from translation project.
4302
ddf930c1
AM
4303 * po/ru.po: Update Russian translation from translation project.
4304
1b19c006
AM
4305 * po/uk.po: Update Ukrainian translation from translation project.
4306
9f236c49
BM
43072014-01-08 Brooks Moses <bmoses@google.com>
4308
4309 * elf/dl-load.c: Fix comment typo.
4310
cd6701cf
CD
43112014-01-08 Carlos O'Donell <carlos@redhat.com>
4312
4313 * po/header.pot: Rename to...
4314 * po/pot.header: ... this.
4315 * po/Makefile: Use pot.header.
4316
66671c84
YK
43172014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4318 Maxim Kuvyrkov <maxim@kugelworks.com>
4319
4320 [BZ #16394]
cd6701cf
CD
4321 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4322 SRC and DEST against LEN.
66671c84 4323
38f34581
AZ
43242014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4325
4326 [BZ #16414]
4327 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4328 implementation.
4329 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4330
43312014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4332
4333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4334
4c327f2a
JM
43352014-01-08 Joseph Myers <joseph@codesourcery.com>
4336
4337 [BZ #16408]
4338 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4339 for large positive arguments.
4340
b821f414
JM
43412014-01-07 Joseph Myers <joseph@codesourcery.com>
4342
1f0f2067
JM
4343 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4344
a5a326f6
JM
4345 * math/auto-libm-test-in: Mark various tests with
4346 xfail-rounding:ldbl-128ibm.
4347 * math/auto-libm-test-out: Regenerated.
4348
b821f414
JM
4349 [BZ #16407]
4350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4351 Increase overflow threshold.
4352
94c8a4bc
OB
43532014-01-07 Ondřej Bílka <neleai@seznam.cz>
4354
4355 [BZ #14286]
4356 * stdio-common/vfprintf.c: Check for integer overflow.
4357
87ded0c3
AK
43582014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4359
4360 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4361 the first argument and return value of __tls_get_addr_internal.
4362
c5eebdd0
AK
43632014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4364
4365 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4366 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4367
05d138ef
AK
43682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4369
4370 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4371 * sysdeps/s390/rtld-global-offsets.sym: New file.
4372 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4373 GLIBC_2.19 symbol.
4374 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4375 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4376 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4377 ... this.
4378 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4379 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4380 ... this.
4381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4382 Regenerate.
4383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4384 Regenerate.
4385 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4386 halfs of GPRs for high_gprs contexts.
4387 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4388 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4389 field.
4390 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4391 uc_flags field.
4392 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4393 64 bit versions:
4394 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4395 for high GPRs (uc_high_gprs) and for future extensions
4396 (__reserved).
4397 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4398 for future extensions (__reserved).
4399 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4400 64 bit versions:
4401 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4402 SC_HIGHGPRS offset definition.
4403 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4404 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4405
93a45ff1
AK
44062014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4407
4408 * Versions.def: Add GLIBC_2.19 for libpthread.
4409 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4410 siglongjmp for libpthread with GLIBC_2.19 symver.
4411 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4412 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4413 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4414 * sysdeps/s390/__longjmp.c: New file.
4415 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4416 * sysdeps/s390/longjmp.c: New file.
4417 * sysdeps/s390/setjmp.S: New file.
4418 * sysdeps/s390/sigjmp.S: New file.
4419 * sysdeps/s390/v1-longjmp.c: New file.
4420 * sysdeps/s390/v1-setjmp.h: New file.
4421 * sysdeps/s390/v1-sigjmp.c: New file.
4422 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4423 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4424 GLIBC_2.19 version.
4425 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4426 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4427 versioned symbols for ____longjmp_chk.
4428 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4429 Likewise.
4430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4431 Regenerate.
4432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4433 Regenerate.
4434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4435 Regenerate.
4436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4437 Regenerate.
4438 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4439 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4440 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4441 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4442 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4443 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4444 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4445 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4446 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4447 * sysdeps/s390/rtld-__longjmp.c: New file.
4448 * sysdeps/s390/rtld-setjmp.S: New file.
4449
eb3fc44b
JM
44502014-01-06 Joseph Myers <joseph@codesourcery.com>
4451
4452 [BZ #16400]
4453 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4454 Return -__logl (x) for small positive arguments without evaluating
4455 a polynomial.
4456
9341dde4
MF
44572014-01-06 Mike Frysinger <vapier@gentoo.org>
4458
4459 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4460 Rename to ...
4461 (__ptrace_peeksiginfo_args): ... this.
4462 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4463 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4464 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4465
4cff0293
AM
44662014-01-06 Allan McRae <allan@archlinux.org>
4467
4468 * inet/netinet/in.h: Fix typo in comment.
4469
75595dcf
AJ
44702014-01-05 Andreas Jaeger <aj@suse.de>
4471
4472 * sysdeps/i386/fpu/libm-test-ulps: Update.
4473
79c1e109
AM
44742014-01-05 Allan McRae <allan@archlinux.org>
4475
dd804818
AM
4476 * po/libc.pot: Regenerated.
4477
79c1e109
AM
4478 * malloc/memusagestat.c: Fix gettext call formatting.
4479
0c813d1f
SK
44802014-01-04 Sami Kerola <kerolasa@iki.fi>
4481
4482 * nscd/nscd.c: Improve usage() output.
4483
20f4a8d9
MF
44842014-01-04 Mike Frysinger <vapier@gentoo.org>
4485
4486 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4487 * sysdeps/unix/sysv/linux/configure: Regenerated.
4488 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4489 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4490
22562bb2
JM
44912014-01-03 Joseph Myers <joseph@codesourcery.com>
4492
4493 [BZ #16390]
4494 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4495 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4496
d7ad2d9b
AZ
44972014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4498
4499 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4500 extra tokens at end of #undef directive.
4501 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4502 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4504
7dd009d8
JM
45052014-01-03 Joseph Myers <joseph@codesourcery.com>
4506
24db925a
JM
4507 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4508
7dd009d8
JM
4509 * math/auto-libm-test-in: Mark various tests with
4510 xfail-rounding:ldbl-128ibm.
4511 * math/auto-libm-test-out: Regenerated.
4512
396e3ecf
JM
45132014-01-02 Joseph Myers <joseph@codesourcery.com>
4514
819e5d50
JM
4515 [BZ #16386]
4516 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4517 numbers with subnormal high part when calculating exponent.
4518
90b6a1e5
JM
4519 [BZ #16385]
4520 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4521 fabs.
4522
396e3ecf
JM
4523 [BZ #16384]
4524 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4525 M_LN2l.
4526 (__ieee754_acoshl): Use __log1pl not __log1p.
4527
6c8dbf00
OB
45282013-01-02 Ondřej Bílka <neleai@seznam.cz>
4529
4530 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4531 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4532 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4533 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4534 Convert to GNU style.
4535 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4536 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4537 memalign_check, __malloc_set_state): Likewise.
4538 * malloc/mallocbug.c (main): Likewise.
4539 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4540 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4541 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4542 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4543 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4544 * malloc/malloc.h: Likewise.
4545 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4546 memalignhook, reallochook, mabort): Likewise.
4547 * malloc/mcheck.h: Likewise.
4548 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4549 mmap64, mremap, munmap, dest): Likewise.
4550 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4551 * malloc/morecore.c (__default_morecore): Likewise.
4552 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4553 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4554 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4555 print_and_abort): Likewise.
4556 * malloc/obstack.h: Likewise.
4557 * malloc/set-freeres.c (__libc_freeres): Likewise.
4558 * malloc/tst-mallocstate.c (main): Likewise.
4559 * malloc/tst-mtrace.c (main): Likewise.
4560 * malloc/tst-realloc.c (do_test): Likewise.
4561
d4124212
SP
45622013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4563
9a3c6a6f
SP
4564 [BZ #16366]
4565 * nscd/netgroupcache.c (do_notfound): New function.
4566 (addgetnetgrentX): Use it.
4567
d4124212
SP
4568 [BZ # 16365]
4569 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4570 NSS_STATUS_NOTFOUND.
4571
97b9a009
JM
45722014-01-01 Joseph Myers <joseph@codesourcery.com>
4573
4574 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4576
d4697bc9
AM
45772014-01-01 Allan McRae <allan@archlinux.org>
4578
ddb3687f
AM
4579 * scripts/update-copyrights: Update configure input file suffix.
4580
88726d48
AM
4581 * NEWS: Update copyright year.
4582 * catgets/gencat.c: Likewise.
4583 * csu/version.c: Likewise.
4584 * debug/catchsegv.sh: Likewise.
4585 * debug/pcprofiledump.c: Likewise.
4586 * debug/xtrace.sh: Likewise.
4587 * elf/ldconfig.c: Likewise.
4588 * elf/ldd.bash.in: Likewise.
4589 * elf/pldd.c: Likewise.
4590 * elf/sotruss.ksh: Likewise.
4591 * elf/sprof.c: Likewise.
4592 * iconv/iconv_prog.c: Likewise.
4593 * iconv/iconvconfig.c: Likewise.
4594 * locale/programs/locale.c: Likewise.
4595 * locale/programs/localedef.c: Likewise.
4596 * login/programs/pt_chown.c: Likewise.
4597 * malloc/memusage.sh: Likewise.
4598 * malloc/memusagestat.c: Likewise.
4599 * malloc/mtrace.pl: Likewise.
4600 * manual/libc.texinfo: Likewise.
4601 * nscd/nscd.c: Likewise.
4602 * nss/getent.c: Likewise.
4603 * nss/makedb.c: Likewise.
4604 * posix/getconf.c: Likewise.
4605 * scripts/test-installation.pl: Likewise.
4606
d4697bc9
AM
4607 * All files with FSF copyright notices: Update copyright dates
4608 using scripts/update-copyrights.
4609 * intl/plural.c: Regenerated.
4610 * locale/programs/charmap-kw.h: Likewise.
4611 * locale/programs/locfile-kw.h: Likewise.
4612
c8590f9d
MF
46132013-12-31 Mike Frysinger <vapier@gentoo.org>
4614
4615 * sysdeps/unix/sysv/linux/configure: Regenerated.
4616 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4617 the linux/fanotify.h header.
4618 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4619 HAVE_LINUX_FANOTIFY_H is defined.
4620
b19221b9
SP
46212013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4622
dd1d85e5
SP
4623 * benchtests/cos-inputs: New inputs.
4624 * benchtests/sin-inputs: Likewise.
4625
1acbb90f
SP
4626 * benchtests/atan-inputs: New inputs. Fix name of multiple
4627 precision fallback inputs.
4628
4c012ed3
SP
4629 * benchtests/atanh-inputs: New inputs.
4630 * benchtests/tanh-inputs: Likewise.
4631
eff98324
SP
4632 * benchtests/acosh-inputs: New inputs.
4633 * benchtests/asinh-inputs: Likewise.
4634
ce641152
SP
4635 * benchtests/cosh-inputs: New inputs.
4636 * benchtests/sinh-inputs: Likewise.
4637
b19221b9
SP
4638 * benchtests/acos-inputs: Add more inputs.
4639 * benchtests/asin-inputs: Likewise.
4640
030a4976 46412013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4642
030a4976 4643 [BZ #16375]
9dcc8f11
VS
4644 * manual/arith.texi: Fix spelling.
4645 * manual/charset.texi: Likewise.
4646 * manual/errno.texi: Likewise.
4647 * manual/filesys.texi: Likewise.
4648 * manual/lang.texi: Likewise.
4649 * manual/llio.texi: Likewise.
4650 * manual/locale.texi: Likewise.
4651 * manual/message.texi: Likewise.
4652 * manual/resource.texi: Likewise.
4653 * manual/search.texi: Likewise.
4654 * manual/setjmp.texi: Likewise.
4655 * manual/stdio.texi: Likewise.
4656 * manual/string.texi: Likewise.
4657 * manual/sysinfo.texi: Likewise.
4658 * manual/time.texi: Likewise.
4659
11520a57
CD
46602013-12-27 Carlos O'Donell <carlos@redhat.com>
4661
4662 * po/sl.po: New file.
4663
471103ae
MF
46642013-12-27 Mike Frysinger <vapier@gentoo.org>
4665
4666 * .gitignore: Add core/.gdbinit/.gdb_history.
4667
6c9642ed
AM
46682013-12-27 Allan McRae <allan@archlinux.org>
4669
4670 [BZ #16369]
4671 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4672 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4673
3f637079
BM
46742013-12-24 Brooks Moses <bmoses@google.com>
4675
4676 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4677 all compilers that claim C++98 compliance, not just GCC.
4678 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4679 Likewise.
4680
abc26e99
MK
46812013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4682
4683 * NEWS: Restore accidentally deleted bug-fix entries.
4684
362b47fe
MK
46852013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4686 Ondřej Bílka <neleai@seznam.cz>
4687
4688 [BZ #15073]
4689 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4690 have_lock.
362b47fe 4691
b9bcbbcb
OB
46922013-12-23 Ondřej Bílka <neleai@seznam.cz>
4693
4694 [BZ #12986]
4695 * manual/stdio.texi (String Input Conversions): Clarify that character
4696 classes are not supported.
4697
fb55fcd2
AZ
46982013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4699
4700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4701
ef7344f0
JM
47022013-12-22 Joseph Myers <joseph@codesourcery.com>
4703
4f40e4b3
JM
4704 [BZ #16337]
4705 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4706 Calculate results for small negative arguments directly rather
4707 than using reflection formula with special underflow handling.
4708
ef7344f0
JM
4709 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4710 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4711 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4712 (fchflags): Likewise.
4713 (revoke): Likewise.
4714 (setlogin): Likewise.
4715 (sigaltstack): Likewise.
4716 (wait4): Likewise.
4717 (sigblock): Remove.
4718 (sigsetmask): Likewise.
4719 (wait3): Likewise.
4720 (waitpid): Likewise.
4721 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4722 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4723 file.
4724 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4725 * sysdeps/unix/bsd/Makefile: ... here.
4726 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4727 * sysdeps/unix/bsd/Versions: ... here.
4728 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4729 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4730 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4731 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4732 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4733 * sysdeps/unix/bsd/sigblock.c: ... here.
4734 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4735 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4736 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4737 * sysdeps/unix/bsd/sigvec.c: ... here.
4738 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4739 * sysdeps/unix/bsd/tcdrain.c: ... here.
4740 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4741 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4742 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4743 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4744 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4745 * sysdeps/unix/bsd/wait.c: ... here.
4746 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4747 * sysdeps/unix/bsd/wait3.c: ... here.
4748 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4749 * sysdeps/unix/bsd/waitpid.c: ... here.
4750
5b0626b9
JM
47512013-12-21 Joseph Myers <joseph@codesourcery.com>
4752
4753 [BZ #16356]
4754 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4755 round-to-nearest for [!USE_AS_EXPM1L].
4756 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4757 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4758 more tests of exp and exp10. Expect some exp10 tests to miss
4759 exceptions or fail in directed rounding modes.
4760 * math/auto-libm-test-out: Regenerated.
4761 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4762 (exp10_test_tonearest): New function.
4763 (exp10_towardzero_test_data): New array.
4764 (exp10_test_towardzero): New function.
4765 (exp10_downward_test_data): New array.
4766 (exp10_test_downward): New function.
4767 (exp10_upward_test_data): New array.
4768 (exp10_test_upward): New function.
4769 (main): Call the new functions.
4770 * sysdeps/i386/fpu/libm-test-ulps: Update.
4771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4772
7fda5682
JM
47732013-12-20 Joseph Myers <joseph@codesourcery.com>
4774
31e3a405
JM
4775 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4776 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4777 * math/auto-libm-test-out: Regenerated.
4778 * math/libm-test.inc (acosh_test_data): Add more tests.
4779 (atanh_test_data): Likewise.
4780 (ceil_test_data): Likewise.
4781 (copysign_test_data): Likewise.
4782 * sysdeps/i386/fpu/libm-test-ulps: Update.
4783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4784
85bff96a
JM
4785 * timezone/checktab.awk: Update from tzcode 2013i.
4786 * timezone/private.h: Likewise.
4787 * timezone/scheck.c: Likewise.
4788 * timezone/tzfile.h: Likewise.
4789 * timezone/tzselect.ksh: Likewise.
4790 * timezone/zdump.c: Likewise.
4791 * timezone/zic.c: Likewise.
4792
b7867a3b
JM
4793 * math/auto-libm-test-in: Add tests of cpow.
4794 * math/auto-libm-test-out: Regenerated.
4795 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4796 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4797 mpc_cc_c.
4798 (func_calc_desc): Add mpc_cc_c union field.
4799 (test_functions): Add cpow.
4800 (special_fill_2pi): New function.
4801 (special_real_inputs): Add 2pi.
4802 (calc_generic_results): Handle mpc_cc_c.
4803 * sysdeps/i386/fpu/libm-test-ulps: Update.
4804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4805
7fda5682
JM
4806 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4807 csqrt, ctan and ctanh.
4808 * math/auto-libm-test-out: Regenerated.
4809 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4810 (TEST_COND_x86): Likewise.
4811 (ccos_test_data): Use AUTO_TESTS_c_c.
4812 (ccosh_test_data): Likewise.
4813 (cexp_test_data): Likewise.
4814 (clog_test_data): Likewise.
4815 (csqrt_test_data): Likewise.
4816 (ctan_test_data): Likewise.
4817 (ctan_tonearest_test_data): Likewise.
4818 (ctan_towardzero_test_data): Likewise.
4819 (ctan_downward_test_data): Likewise.
4820 (ctan_upward_test_data): Likewise.
4821 (ctanh_test_data): Likewise.
4822 (ctanh_tonearest_test_data): Likewise.
4823 (ctanh_towardzero_test_data): Likewise.
4824 (ctanh_downward_test_data): Likewise.
4825 (ctanh_upward_test_data): Likewise.
4826 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4827 mpc_c_c.
4828 (func_calc_desc): Add mpc_c_c union field.
4829 (FUNC_mpc_c_c): New macro.
4830 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4831 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4832 ctanh.
4833 (special_fill_min_subnorm_p120): New function.
4834 (special_real_inputs): Add min_subnorm_p120.
4835 (calc_generic_results): Handle mpc_c_c.
4836 * sysdeps/i386/fpu/libm-test-ulps: Update.
4837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4838
5ff8d60e
SP
48392013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4840
392dd2de
SP
4841 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4842 do_sin_slow): New functions.
4843 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4844 cslow2, csloww1, csloww2): Use the new functions.
4845
84ba214c
SP
4846 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4847 Use M to change sign of result instead of X. Assume X is
4848 positive.
4849 (csloww1): Likewise.
4850 (__sin): Adjust.
4851 (__cos): Adjust.
4852
975195e4
SP
4853 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4854 arguments A and DA.
4855 (__sin): Adjust.
4856 (__cos): Likewise.
4857
5ff8d60e
SP
4858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4859 (__cos): Likewise.
4860 (sloww1): Don't adjust sign of DX.
4861 (csloww1): Likewise.
4862 (sloww2): Use X directly and don't adjust sign of DX.
4863 (csloww2): Likewise.
4864
eb983568
JM
48652013-12-19 Joseph Myers <joseph@codesourcery.com>
4866
64a17f1a
JM
4867 * math/auto-libm-test-in: Add tests of cabs and carg.
4868 * math/auto-libm-test-out: Regenerated.
4869 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4870 (carg_test_data): Likewise.
4871 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4872 mpc_c_f.
4873 (func_calc_desc): Add mpc_c_f union field.
4874 (test_functions): Add cabs and carg.
4875 (calc_generic_results): Handle mpc_c_f.
4876
eb983568
JM
4877 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4878 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4879 as a macro and a compat symbol.
4880 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4881 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4882 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4883 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4884 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4885 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4886 not use .hidden.
4887 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4888 Likewise.
4889 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4890 Likewise.
4891 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4892 Likewise.
4893 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4894 Likewise.
4895 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4896 Likewise.
4897 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4898 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4899 from GLIBC_2.3.2.
4900
6eeb678a
AZ
49012013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4902
4903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4904
6f6fc482
JM
49052013-12-19 Joseph Myers <joseph@codesourcery.com>
4906
21fea2e2
JM
4907 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4908 trailing whitespace removed.
4909 * scripts/config.guess: Update to version 2013-11-29.
4910 * scripts/config.sub: Update to version 2013-10-01.
4911
6f6fc482
JM
4912 * math/auto-libm-test-in: Add tests of sincos.
4913 * math/auto-libm-test-out: Regenerated.
4914 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4915 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4916 mpfr_f_11.
4917 (func_calc_desc): Add mpfr_f_11 union field.
4918 (test_functions): Add sincos.
4919 (calc_generic_results): Handle mpfr_f_11.
4920 * sysdeps/i386/fpu/libm-test-ulps: Update.
4921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4922
83f5c32d
AS
49232013-12-19 Andreas Schwab <schwab@suse.de>
4924
4925 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4926 CALL_MCOUNT.
4927 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4928 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4929 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4930
c688b419
JM
49312013-12-19 Joseph Myers <joseph@codesourcery.com>
4932
335ee092
JM
4933 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4934 * sysdeps/i386/fpu/libm-test-ulps: Update.
4935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4936
f88acd39
JM
4937 [BZ #16293]
4938 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4939 round-to-nearest mode when using frndint.
4940 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4941 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4942 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4943 Likewise.
4944 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4945 sinh test to fail.
4946 * math/auto-libm-test-out: Regenerated.
4947 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4948 (TEST_COND_x86): Likewise.
4949 (expm1_tonearest_test_data): New array.
4950 (expm1_test_tonearest): New function.
4951 (expm1_towardzero_test_data): New array.
4952 (expm1_test_towardzero): New function.
4953 (expm1_downward_test_data): New array.
4954 (expm1_test_downward): New function.
4955 (expm1_upward_test_data): New array.
4956 (expm1_test_upward): New function.
4957 (main): Run the new test functions.
4958 * sysdeps/i386/fpu/libm-test-ulps: Update.
4959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4960
c688b419
JM
4961 * include/features.h: Update comment documenting feature test
4962 macros. Mention _DEFAULT_SOURCE in comment.
4963 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4964 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4965 _BSD_SOURCE and _SVID_SOURCE.
4966 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4967 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4968 !_SVID_SOURCE]: Likewise.
4969 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4970 (__USE_POSIX_IMPLICITLY): Define.
4971 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4972 (_POSIX_SOURCE): Undefine and redefine.
4973 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4974 (_POSIX_C_SOURCE): Likewise.
4975 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4976 (Feature Test Macros): Update documentation of default features.
4977
9f6e964c
RS
49782013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4979
4980 * benchtests/Makefile: Add bench-strtok.
4981 * benchtests/bench-strtok.c: New file: strtok benchtest.
4982
ee0a148a
AM
49832013-12-19 Allan McRae <allan@archlinux.org>
4984
4985 * manual/install.texi: Suppress menu for plain text output.
4986 * INSTALL: Regenerated.
4987
b9ab448f
BM
49882013-12-18 Brooks Moses <bmoses@google.com>
4989
4990 [BZ #15846]
4991 * misc/getauxval.c: Include errno.h.
4992 (__getauxval): Set errno to ENOENT if the requested type is not
4993 found.
4994 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4995 don't declare with __attribute_const__.
4996 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4997 * manual/startup.texi: Document that getauxval sets errno.
4998
23776487
JM
49992013-12-18 Joseph Myers <joseph@codesourcery.com>
5000
f889953b
JM
5001 * math/auto-libm-test-in: Add tests of jn and yn.
5002 * math/auto-libm-test-out: Regenerated.
5003 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5004 (yn_test_data): Likewise.
5005 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5006 mpfr_if_f.
5007 (func_calc_desc): Add mpfr_if_f union field.
5008 (FUNC_mpfr_if_f): New macro.
5009 (test_functions): Add jn and yn.
5010 (calc_generic_results): Assert type of second input for
5011 mpfr_ff_f. Handle mpfr_if_f.
5012 (output_for_one_input_case): Disable all checking for arguments
5013 fitting floating-point types in case of an integer argument.
5014 * sysdeps/i386/fpu/libm-test-ulps: Update.
5015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5016
23776487
JM
5017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5018 Don't expect fegetround reference in libm.so.
5019
cb756c6d
MS
50202013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5021
5022 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5023 $(config-cflags-nofma).
5024
2dec468f
JM
50252013-12-18 Joseph Myers <joseph@codesourcery.com>
5026
5953eb3a
JM
5027 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5028 * math/auto-libm-test-out: Regenerated.
5029
2dec468f
JM
5030 [BZ #16338]
5031 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5032 to determine exponent and adjust argument to have exponent of -1.
5033 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5034 log2.
5035 * math/auto-libm-test-out: Regenerated.
5036 * sysdeps/i386/fpu/libm-test-ulps: Update.
5037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5038
4d84e6ad
OB
50392013-12-18 Ondřej Bílka <neleai@seznam.cz>
5040
5041 * manual/probes.texi: Remove cases when per-thread arenas are
5042 disabled.
5043
1818483b
AS
50442013-12-18 Andreas Schwab <schwab@suse.de>
5045
5046 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5047 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5048 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5049 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5050 * sysdeps/i386/i686/multiarch/Makefile: Update.
5051 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5052
25de95bf
JM
50532013-12-17 Joseph Myers <joseph@codesourcery.com>
5054
5055 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5056 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5057
674762d9
PE
50582013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5059
ed27ed83 5060 [BZ #15968]
0748546f
PE
5061 Support TZ transition times < 00:00:00.
5062 This is needed for version-3 tz-format files; it supports time
5063 stamps past 2037 for America/Godthab (the only entry in the tz
5064 database for which this change is relevant).
5065 * manual/time.texi (TZ Variable): Document transition times
5066 from -167:59:59 through -00:00:01.
5067 * time/tzset.c (tz_rule): Time of day is now signed.
5068 (__tzset_parse_tz): Parse negative time of day.
5069
4480e934
PE
5070 Document TZ transition times >= 25:00:00.
5071 * manual/time.texi (TZ Variable): Document transition times from
5072 25:00:00 through 167:59:59. These are already supported, and this
5073 support will help with version-3 tz-format files.
5074
69947401
PE
5075 * manual/time.texi (TZ Variable): Modernize North America example
5076 to reflect current (i.e., 2007-and-later) daylight saving rules.
5077
674762d9
PE
5078 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5079
7011c262
JM
50802013-12-17 Joseph Myers <joseph@codesourcery.com>
5081
2fc6557e
JM
5082 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5083 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5086 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5087 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5088 * sysdeps/unix/bsd/clock.c: Likewise.
5089 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5090 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5091 * sysdeps/unix/bsd/init-posix.c: Likewise.
5092 * sysdeps/unix/bsd/poll.c: Likewise.
5093 * sysdeps/unix/bsd/ptsname.c: Likewise.
5094 * sysdeps/unix/bsd/seekdir.c: Likewise.
5095 * sysdeps/unix/bsd/setegid.c: Likewise.
5096 * sysdeps/unix/bsd/seteuid.c: Likewise.
5097 * sysdeps/unix/bsd/setgid.c: Likewise.
5098 * sysdeps/unix/bsd/setrgid.c: Likewise.
5099 * sysdeps/unix/bsd/setruid.c: Likewise.
5100 * sysdeps/unix/bsd/setsid.c: Likewise.
5101 * sysdeps/unix/bsd/setuid.c: Likewise.
5102 * sysdeps/unix/bsd/sigaction.c: Likewise.
5103 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5104 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5105 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5106 * sysdeps/unix/bsd/telldir.c: Likewise.
5107 * sysdeps/unix/bsd/times.c: Likewise.
5108 * sysdeps/unix/bsd/usleep.c: Likewise.
5109
029c7b25
JM
5110 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5111 ($(objpfx)libbsd-compat.a): Remove rule.
5112
7011c262
JM
5113 * include/features.h (__FAVOR_BSD): Do not define.
5114 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5115 features conflicting with POSIX.
5116 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5117 (_BSD_SOURCE): Remove description of not being a subset of other
5118 feature test macros.
5119 * manual/job.texi (getpgrp): Do not document BSD version.
5120 (getpgid): Do not document by reference to BSD getpgrp.
5121 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5122 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5123 * signal/signal.h [__FAVOR_BSD]: Likewise.
5124 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5125 instead of making contents conditional on [__FAVOR_BSD].
5126 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5127
affb6f78
AZ
51282013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5129
5130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5131
c88769dd
JM
51322013-12-17 Joseph Myers <joseph@codesourcery.com>
5133
6432a540
JM
5134 [BZ #16314]
5135 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5136 values below 2**-450, not 2**-500.
5137 * math/auto-libm-test-in: Don't allow spurious underflow from
5138 hypot.
5139 * math/auto-libm-test-out: Regenerated.
5140
c88769dd
JM
5141 [BZ #16316]
5142 [BZ #16330]
5143 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5144 values of ha and hb and sort them after adjusting subnormal
5145 arguments.
5146 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5147 Likewise.
5148 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5149 values of ea and eb and sort them after adjusting subnormal
5150 arguments.
5151 * math/auto-libm-test-in: Do not expect some hypot tests of
5152 subnormals to fail. Add more hypot tests.
5153 * math/auto-libm-test-out: Regenerated.
5154
29618f6b
KK
51552013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5156
5157 [BZ #13304]
5158 * sysdeps/sh/s_fma.c: New file.
5159 * sysdeps/sh/s_fmaf.c: New file.
5160 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5161 version.
5162 * sysdeps/sh/Implies: Add sh/soft-fp.
5163
eacfdfbf
RM
51642013-12-16 Roland McGrath <roland@hack.frob.com>
5165
5166 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5167 level of indirection to members `objname', `errstring', `malloced'.
5168 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5169 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5170 it as the __longjmp argument (just pass 1 instead).
5171 (_dl_catch_error): Initialize C with argument pointers and address of
5172 volatile local ERRCODE rather than copying values out of C at return.
5173
ff362e5b
JM
51742013-12-16 Joseph Myers <joseph@codesourcery.com>
5175
5176 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5177 * math/auto-libm-test-out: Regenerated.
5178 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5179 (hypot_test_data): Likewise.
5180 (pow_test_data): Likewise.
5181 (pow_tonearest_test_data): Likewise.
5182 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5183 mpfr_ff_f.
5184 (func_calc_desc): Add mpfr_ff_f union field.
5185 (FUNC_mpfr_ff_f): New macro.
5186 (test_functions): Add atan2, hypot and pow.
5187 (special_fill_min): New function.
5188 (special_fill_minus_min): Likewise.
5189 (special_fill_min_subnorm): Likewise.
5190 (special_fill_minus_min_subnorm): Likewise.
5191 (special_real_inputs): Add min, -min, min_subnorm and
5192 -min_subnorm.
5193 (calc_generic_results): Handle mpfr_ff_f.
5194 * sysdeps/i386/fpu/libm-test-ulps: Update.
5195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5196
5764c27f
WN
51972013-12-16 Will Newton <will.newton@linaro.org>
5198
5199 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5200 (Aligned Memory Blocks): Add documentation for aligned_alloc
5201 and suggest it as an alternative to posix_memalign.
5202 (Hooks for Malloc): Document __memalign_hook is also called
5203 for aligned_alloc. (Summary of Malloc): Add summary for
5204 aligned alloc. Document __memalign_hook is also called
5205 for aligned_alloc.
5206
0a096e44
WN
52072013-12-16 Will Newton <will.newton@linaro.org>
5208
5209 * manual/memory.texi (Malloc Examples): Clarify default
5210 alignment documentation. Suggest posix_memalign rather
5211 than memalign or valloc.
5212 (Aligned Memory Blocks): Remove suggestion to use memalign
5213 or valloc. Remove obsolete comment about BSD.
5214 Document memalign errno values and mark the function obsolete.
5215 Document posix_memalign returned error codes. Mark valloc
5216 as obsolete. (Hooks for Malloc): __memalign_hook is also
5217 called for posix_memalign and valloc.
5218 (Summary of Malloc): Add posix_memalign to function summary.
5219 __memalign_hook is also called for posix_memalign and valloc.
5220
8d561986
SP
52212013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5222
5223 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5224 TAYLOR_SIN.
5225 (__sin): Adjust.
5226 (__cos): Likewise.
5227 (sloww): Use mynumber union. Expand ternary operator into
5228 if-else statements.
5229 (cslow): use mynumber union.
5230
73616a74
AM
52312013-12-16 Allan McRae <allan@archlinux.org>
5232
9e8ac24b
AM
5233 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5234 * configure: Regenerated.
5235
6f8e37eb
AM
5236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5237
8894bad3
AM
5238 [BZ #14120]
5239 * configure.ac: Added --enable-maintainer-mode. Check for
5240 autoconf when enabled.
5241 * configure: Regenerated.
5242
73616a74
AM
5243 * nscd/nscd.service: New file.
5244 * nscd/nscd.tmpfiles: New file.
5245
584b18eb
OB
52462013-12-14 Ondřej Bílka <neleai@seznam.cz>
5247
5248 [BZ #12100]
5249 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5250 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5251 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5252 (strstr): Add __strstr_sse2_unaligned ifunc.
5253 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5254 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5255 (strcasestr): Remove __strcasestr_sse42 ifunc.
5256 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5257 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5259
8a5c7897
KK
52602013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5261
5262 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5263 * sysdeps/sh/bits/fenv.h: ... here.
5264 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5265
fd712ef3
AZ
52662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5267
5268 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5269
42fcb46c
AZ
52702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5271
5272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5273 hypotf multiarch implementations.
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5275 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5276 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5277 multiarch hypot for PPC64.
5278 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5279 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5280 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5281 multiarch hypotf for PPC64.
5282
83efded4
AZ
52832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5284
5285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5286 modff multiarch implementations.
5287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5290 multiarch modf for PPC64.
5291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5294 multiarch modff for PPC64.
5295
43e246d2
AZ
52962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5297
5298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5299 and logl multiarch implementations.
5300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5303 multiarch logb for PPC64.
5304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5307 multiarch logb for PPC64.
5308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5311 multiarch logb for PPC64.
5312
8fdad123
AZ
53132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5314
5315 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5316 isinff multiarch implementation.
5317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5318 file.
5319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5321 multiarch isinf for PPC64.
5322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5323 file.
5324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5325 multiarch isinff for PPC64.
5326
1481d706
AZ
53272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5328
5329 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5330 finitef multiarch implementation.
5331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5332 file.
5333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5335 multiarch finite for PPC64.
5336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5337 file.
5338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5339 multiarch finitef for PPC64.
5340
5ccd5fc8
AZ
53412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5342
5343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5344 lrint multiarch implementation.
5345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5346 file.
5347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5349 multiarch llrint for PPC64.
5350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5351 multiarch lrint for PPC64.
5352
2568f3fa
AZ
53532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5354
5355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5356 copysignf multiarch implementation.
5357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5358 file.
5359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5360 file.
5361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5362 multiarch copysign for PPC64.
5363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5364 multiarch copysignf for PPC64.
5365
1cb341fd
AZ
53662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5367
5368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5369 multiarch implementation.
5370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5371 file.
5372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5373 file.
5374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5375 file.
5376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5377 file.
5378 multiarch llround for PPC64.
5379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5380 multiarch trunc for PPC64.
5381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5382 multiarch truncf for PPC64.
5383
59a3e194
AZ
53842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5385
5386 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5387 multiarch implementation.
5388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5389 file.
5390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5391 file.
5392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5393 file.
5394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5395 file.
5396 multiarch llround for PPC64.
5397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5398 multiarch round for PPC64.
5399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5400 multiarch roundf for PPC64.
5401
357fd3b4
AZ
54022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5403
5404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5405 multiarch implementation.
5406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5407 file.
5408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5409 file.
5410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5411 file.
5412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5413 file.
5414 multiarch llround for PPC64.
5415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5416 multiarch floor for PPC64.
5417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5418 multiarch floorf for PPC64.
5419
96770f12
AZ
54202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5421
5422 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5423 multiarch implementation.
5424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5425 file.
5426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5427 file.
5428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5429 file.
5430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5431 file.
5432 multiarch llround for PPC64.
5433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5434 multiarch ceil for PPC64.
5435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5436 multiarch ceilf for PPC64.
5437
c3627f6e
AZ
54382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5439
5440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5441 multiarch implementation.
5442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5443 file.
5444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5445 file.
5446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5447 file.
5448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5449 multiarch llround for PPC64.
5450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5451 multiarch lround for PPC64.
5452
b2284ad7
AZ
54532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5454
5455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5456 multiarch implementation.
5457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5460 file.
5461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5464 multiarch isnan for PPC64.
5465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5466 multiarch isnanf for PPC64.
5467
69bbc63d
AZ
54682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5469
5470 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5471 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5472 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5473 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5474 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5476
c24517c9
AZ
54772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5478
5479 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5480 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5481 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5482 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5483
a52374e8
AZ
54842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5485
5486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5487 multiarch implementations.
5488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5489 (__libc_ifunc_impl_list): Likewise.
5490 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5491 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5492 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5493 multiarch stpcpy for PPC64.
5494
7f5ec113
AZ
54952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5496
5497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5498 multiarch implementations.
5499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5500 (__libc_ifunc_impl_list): Likewise.
5501 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5502 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5503 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5504 multiarch strcpy for PPC64.
5505
e28bcd42
AZ
55062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5507
5508 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5509 redefine function name.
5510 (_wordcopy_fwd_dest_aligned): Likewise.
5511 (_wordcopy_bwd_aligned): Likewise.
5512 (_wordcopy_bwd_dest_aligned): Likewise.
5513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5514 multiarch implementations.
5515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5516 (__libc_ifunc_impl_list): Likewise.
5517 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5518 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5519 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5520 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5521 multiarch wcscpy for PPC64.
5522
92cacfce
AZ
55232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5524
5525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5526 multiarch implementations.
5527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5528 (__libc_ifunc_impl_list): Likewise.
5529 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5530 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5531 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5532 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5533 multiarch wcscpy for PPC64.
5534
7b714620
AZ
55352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5536
5537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5538 multiarch implementations.
5539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5540 (__libc_ifunc_impl_list): Likewise.
5541 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5542 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5543 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5544 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5545 multiarch wcsrchr for PPC64.
5546
16fd2ae3
AZ
55472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5548
5549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5550 multiarch implementations.
5551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5552 (__libc_ifunc_impl_list): Likewise.
5553 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5554 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5555 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5556 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5557 multiarch wcschr for PPC64.
5558
9ee2969b
AZ
55592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5560
5561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5562 multiarch implementations.
5563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5564 (__libc_ifunc_impl_list): Likewise.
5565 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5566 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5567 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5568 multiarch strchrnul for PPC64.
5569
372dc060
AZ
55702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571
5572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5573 implementations.
5574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5575 (__libc_ifunc_impl_list): Likewise.
5576 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5577 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5578 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5579 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5580 strchr for PPC64.
5581
24c2c3b9
AZ
55822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5583
5584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5585 implementations.
5586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5587 (__libc_ifunc_impl_list): Likewise.
5588 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5589 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5590 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5591 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5592 strncmp for PPC64.
5593
1c92d9a0
AZ
55942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5595
5596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5597 multiarch implementations.
5598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5599 (__libc_ifunc_impl_list): Likewise.
5600 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5601 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5602 strncasecmp for PPC64.
5603 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5604 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5605 multiarch strncasecmp_l for PPC64.
5606
17de3ee3
AZ
56072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5608
5609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5610 multiarch implementations.
5611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5612 (__libc_ifunc_impl_list): Likewise.
5613 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5614 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5615 multiarch strcasecmp for PPC64.
5616 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5617 file.
5618 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5619 multiarch strcasecmp_l for PPC64.
5620
62982bf9
AZ
56212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5622
5623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5624 implementations.
5625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5626 (__libc_ifunc_impl_list): Likewise.
5627 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5628 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5629 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5630 strnlen for PPC64.
5631
a65f4904
AZ
56322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5633
5634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5635 implementations.
5636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5637 (__libc_ifunc_impl_list): Likewise.
5638 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5639 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5640 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5641 strlen for PPC64.
5642
1fd005ad
AZ
56432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5644
5645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5646 implementations.
5647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5648 (__libc_ifunc_impl_list): Likewise.
5649 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5650 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5651 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5652 rawmemrchr for PPC64.
5653
cd05ba91
AZ
56542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5655
5656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5657 implementation.
5658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5659 (__libc_ifunc_impl_list): Likewise.
5660 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5661 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5662 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5663 memrchr for PPC64.
5664
870f8676
AZ
56652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5666
5667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5668 implementation.
5669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5670 (__libc_ifunc_impl_list): Likewise.
5671 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5672 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5673 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5674 memchr for PPC64.
5675
f00be62b
AZ
56762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5677
5678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5679 implementation.
5680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5681 (__libc_ifunc_impl_list): Likewise.
5682 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5683 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5684 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5685 mempcpy for PPC64.
5686
8a29a3d0
AZ
56872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5688
5689 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5690 avoid cretion of __bzero symbol.
5691 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5692 Likewise.
5693 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5694 Likewise.
5695 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5696 Likewise.
5697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5698 multiarch implementations.
5699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5700 (__libc_ifunc_impl_list): Likewise.
5701 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5702 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5703 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5704 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5705 bzero for PPC32.
5706 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5707 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5708 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5709 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5710 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5711 memset for PPC64.
5712 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5713
07253fcf
AZ
57142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5715
5716 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5718 implementations.
5719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5720 (__libc_ifunc_impl_list): Likewise.
5721 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5722 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5723 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5724 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5725 memcmp for PPC64.
5726
b5beafbc
AZ
57272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5728
5729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5730 multiarch for POWER/PPC64.
5731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5732 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5733 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5734 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5735 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5736 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5737 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5738 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5739 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5740 memcpy for PPC64.
5741
5e6a4d4b
AZ
57422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5743
5744 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5745 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5746 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5747 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5748 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5749 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5750 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5751 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5752 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5753 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5754 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5755 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5756 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5757 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5758 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5766
ddfab6dc
KK
57672013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5768
5769 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5770
19b5525e
SP
57712013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5772
5773 * benchtests/Makefile (bench): Add exp2 and log2.
5774 (LDLIBS-bench-exp2): Add -lm.
5775 (LDLIBS-bench-log2): Likewise.
5776 * benchtests/exp2-inputs: New inputs file.
5777 * benchtests/log2-inputs: New inputs file.
5778 * benchtests/log-inputs: Add new inputs.
5779 * benchtests/tan-inputs: Likewise.
5780
196f7f5d
SP
57812013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5782
7a74607f
SP
5783 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5784 definition...
5785 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5786 csloww1, csloww2): ... from here.
5787
196f7f5d
SP
5788 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5789 instead of structures.
5790 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5791 (POLYNOMIAL): Likewise.
5792 (TAYLOR_SLOW): Likewise.
5793 (__sin): Likewise.
5794 (__cos): Likewise.
5795 (slow1): Likewise.
5796 (slow2): Likewise.
5797 (sloww): Likewise.
5798 (sloww1); Likewise.
5799 (sloww2): Likewise.
5800 (bsloww1): Likewise.
5801 (bsloww2): Likewise.
5802 (cslow2): Likewise.
5803 (csloww): Likewise.
5804 (csloww1): Likewise.
5805 (csloww2): Likewise.
5806
0dfa665c
OB
58072013-12-10 Ondřej Bílka <neleai@seznam.cz>
5808
5809 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5810 (__malloc_assert, __libc_realloc, __libc_calloc,
5811 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5812 memcpy and memset.
5813 * malloc/hooks.c (realloc_check): Likewise.
5814
5782a80f
OB
58152013-12-10 Ondřej Bílka <neleai@seznam.cz>
5816
5817 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5818 * malloc/arena.c: Remove PER_THREAD conditional.
5819 [!PER_THREAD]: Remove code.
5820 (ptmalloc_unlock_all2): Likewise.
5821 (ptmalloc_init): Likewise.
5822 (_int_new_arena): Likewise.
5823 (arena_get2): Likewise.
5824 * malloc/hooks.c (__malloc_get_state): Likewise.
5825 (__malloc_set_state): Likewise.
5826 * malloc/malloc.c: Likewise.
5827 (struct malloc_state): Likewise.
5828 (struct malloc_par): Likewise.
5829 (__libc_realloc): Likewise.
5830 (__libc_mallopt): Likewise.
5831
aeb95445
AZ
58322013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5833
5834 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5835
e8349efd
OB
58362013-12-09 Ondřej Bílka <neleai@seznam.cz>
5837
5838 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5839 macro to a function. Check for zero perturb_byte.
5840 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5841
f3eeb3fc
OB
58422013-12-09 Ondřej Bílka <neleai@seznam.cz>
5843
5844 * malloc/malloc.c: (force_reg): Remove.
5845 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5846 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5847 force_reg by atomic_forced_read.
5848 * malloc/arena.c (ptmalloc_init): Likewise.
5849 * malloc/hooks.c (top_check): Likewise.
5850
be2f9009
AZ
58512013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5852
5853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5854
e7b914bd
MT
58552013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5856
5857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5858
9f0be4f8
JM
58592013-12-08 Joseph Myers <joseph@codesourcery.com>
5860
5861 * math/auto-libm-test-in: Add tests of lgamma.
5862 * math/auto-libm-test-out: Regenerated.
5863 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5864 (M_LOG_2_SQRT_PIl): Likewise.
5865 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5866 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5867 mpfr_f_f1.
5868 (func_calc_desc): Add mpfr_f_f1 union field.
5869 (ARGS1): New macro.
5870 (ARGS2): Likewise.
5871 (ARGS3): Likewise.
5872 (ARGS4): Likewise.
5873 (RET1): Likewise.
5874 (RET2): Likewise.
5875 (CALC): Likewise.
5876 (FUNC): Likewise.
5877 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5878 (test_functions): Add lgamma.
5879 (calc_generic_results): Handle mpfr_f_f1.
5880 * sysdeps/i386/fpu/libm-test-ulps: Update.
5881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5882
24eeafdb
AZ
58832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5884
5885 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5886 __mpn_add_n for PowerPC64/POWER7.
5887 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5888 __mpn_sub_n for PowerPC64/POWER7.
5889
4a2c0fd4
AZ
58902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5891
5892 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5893 __mpn_addmul_1 for PowerPC64.
5894 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5895 __mpn_submul_1 for PowerPC64.
5896 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5897 for PowerPC64.
5898 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5899 for PowerPC64.
5900
4b5b548c
FS
59012013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5902
5903 [BZ #15089]
5904 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5905
0a3ac0aa
AZ
59062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5907
5908 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5909
ccdc8438
AZ
59102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5911
5912 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5913 add multiarch folders.
5914 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5915 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5916 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5917 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5918 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5919 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5920 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5921 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5922 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5923 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5924 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5931
2e973d99
AZ
59322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5933
5934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5935 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5937 New file.
5938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5939 New file.
5940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5941 multiarch __ieee754_hypot for PowerPC32.
5942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5943 New file.
5944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5945 New file.
5946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5947 multiarch __ieee754_hypotf for PowerPC32.
5948
2d9470b2
AZ
59492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5950
5951 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5952 long_double_symbol only if __logbl is defined.
5953 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5954 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5955 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5956 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5957 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5958 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5959 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5960 path for implementation.
5961 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5962 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5964 logb, and logbl multiarch implementations for PowerPC32.
5965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5966 file.
5967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5968 file.
5969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5970 multiarch logb for PowerPC32.
5971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5972 file.
5973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5974 file.
5975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5976 multiarch logbf for PowerPC32.
5977 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5979 file.
5980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5981 multiarch logbl implementation for PowerPC32.
5982
5212ffce
AZ
59832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5984
5985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5986 and modff multiarch implementations.
5987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5988 New file.
5989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5990 New file.
5991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5992 multiarch modf for PowerPC32.
5993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5994 New file.
5995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5996 New file.
5997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5998 multiarch modff for PowerPC32.
5999
79dccf31
AZ
60002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6001
6002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6003 and lrintf multiarch implementations.
6004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6005 New file.
6006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6007 New file.
6008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6009 multiarch lrint for PowerPC32.
6010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6011 file: multiarch lrintf for PowerPC32.
6012
deb66480
AZ
60132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6014
6015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6016 and lroundf multiarch implementations.
6017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6018 New file.
6019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6020 New file.
6021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6022 New file.
6023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6024 multiarch lround for PowerPC32.
6025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6026 file: multiarch lroundf for PowerPC32.
6027
264b036b
AZ
60282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6029
6030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6031 copysign and copysignf multiarch implementations.
6032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6033 New file.
6034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6035 New file.
6036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6037 file: multiarch copysign for PowerPC32.
6038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6039 file: multiarch copysignf for PowerPC32.
6040
d47db6c9
AZ
60412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6042
6043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6044 and truncf multiarch implementations.
6045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6046 New file.
6047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6048 file.
6049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6050 multiarch trunc for PowerPC32.
6051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6052 New file.
6053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6054 New file.
6055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6056 multiarch truncf for PowerPC32.
6057
ddb60b5a
AZ
60582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6059
6060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6061 and roundf multiarch implementations.
6062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6063 New file.
6064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6065 file.
6066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6067 multiarch round for PowerPC32.
6068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6069 New file.
6070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6071 New file.
6072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6073 multiarch roundf for PowerPC32.
6074
bedcf49b
AZ
60752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6076
6077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6078 and floorf multiarch implementations.
6079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6080 New file.
6081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6082 file.
6083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6084 multiarch floor for PowerPC32.
6085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6086 New file.
6087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6088 New file.
6089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6090 multiarch floorf for PowerPC32.
6091
35ae5b40
AZ
60922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6093
6094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6095 and ceilf multiarch implementations.
6096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6097 New file.
6098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6099 file.
6100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6101 multiarch ceil for PowerPC32.
6102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6103 New file.
6104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6105 file.
6106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6107 multiarch ceilf for PowerPC32.
6108
ae1a4cd9
AZ
61092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6110
6111 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6112 is defined.
6113 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6114 FINITEF is defined.
6115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6116 and finitef multiarch implementations.
6117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6118 New file.
6119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6120 file.
6121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6122 multiarch finite for PowerPC32.
6123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6124 New file.
6125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6126 file: multiarch finitef for PowerPC32.
6127
64fffd65
AZ
61282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6129
6130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6131 and isinff multiarch implementations.
6132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6133 file.
6134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6135 file.
6136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6137 multiarch isinf for PowerPC32.
6138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6139 New file.
6140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6141 multiarch isinff for PowerPC32.
6142
8e4e7ba2
AZ
61432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6144
6145 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6146 alias when __isnan is defined.
6147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6148 and isnanf multiarch implementations.
6149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6150 file.
6151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6152 file.
6153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6154 file.
6155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6156 file.
6157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6158 multiarch isnan for PowerPC32.
6159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6160 New file.
6161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6162 New file.
6163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6164 multiarch isnanf for PowerPC32.
6165
ddba588e
AZ
61662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6167
6168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6169 and sqrtf multiarch implementations.
6170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6171 file.
6172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6173 file.
6174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6175 multiarch sqrt for PowerPC32.
6176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6177 file.
6178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6179 file.
6180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6181 multiarch sqrtf for PowerPC32.
6182
0f96a2f0
AZ
61832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6184
6185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6186 and llroundf multiarch implementations.
6187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6188 New file.
6189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6190 New file.
6191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6192 New file.
6193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6194 file: multiarch llround for PowerPC32.
6195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6196 file: multiarch llroundf for PowerPC32.
6197
c9b5d79e
AZ
61982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6199
6200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6201 multiarch PowerPC32 fpu implementations.
6202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6203 New file.
6204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6205 New file.
6206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6207 multiarch llrint for PowerPC32.
6208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6209 New file.
6210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6211 New file.
6212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6213 file.
6214
9cbb3aab
AZ
62152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6216
6217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6218
ea5a72f8
AZ
62192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6220
6221 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6222 file.
6223 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6224 file.
6225 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6226 file.
6227 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6228 multiarch wordcopy for PPC32.
6229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6230 wordcopy objects.
6231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6232 (__libc_ifunc_impl_list): Likewise.
6233 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6234 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6235 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6236 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6237 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6238 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6239
93be09e7
AZ
62402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6241
6242 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6244 file.
6245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6246 file.
6247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6248 file.
6249 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6250 multiarch wcscpy for PPC32.
6251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6252 multiarch objects.
6253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6254 (__libc_ifunc_impl_list): Likewise.
6255 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6256 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6257 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6258 sysdeps/powerpc/power6/wcscpy.c.
6259
bb04e529
AZ
62602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6261
6262 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6264 file.
6265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6266 file.
6267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6268 file.
6269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6270 multiarch wcsrchr for PPC32.
6271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6272 multiarch objects.
6273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6274 (__libc_ifunc_impl_list): Likewise.
6275 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6276 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6277 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6278 sysdeps/powerpc/power6/wcsrchr.c.
6279
05b5cd1c
AZ
62802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6281
6282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6283 file.
6284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6285 file.
6286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6287 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6288 multiarch wcschr for PPc32.
6289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6290 multiarch objects.
6291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6292 (__libc_ifunc_impl_list): Likewise.
6293 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6294 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6295 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6296 sysdeps/powerpc/power6/wcschr.c.
6297
ba964147
AZ
62982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6299
6300 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6301 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6302 file.
6303 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6304 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6305 file: multiarch strchr for PPC32.
6306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6307 multiarch objects.
6308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6309 (__libc_ifunc_impl_list): Likewise.
6310
31c81aaa
AZ
63112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6312
6313 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6314 name.
6315 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6316 file.
6317 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6318 file.
6319 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6320 multiarch strchrnul for PPC32.
6321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6322 multiarch objects.
6323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6324 (__libc_ifunc_impl_list): Likewise.
6325
0d0607d9
AZ
63262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6327
6328 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6329 file.
6330 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6331 multiarch strncasecmp for PPC32.
6332 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6333 file.
6334 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6335 multiarch strncasecmp_l for PPC32.
6336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6337 strncasecmp multiarch objects.
6338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6339 (__libc_ifunc_impl_list): Likewise.
6340
4dfd5c86
AZ
63412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6342
6343 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6344 file.
6345 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6346 multiarch strncasecmp for PPC32.
6347 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6348 New file.
6349 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6350 multiarch strcasecmp_l for PPC32.
6351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6352 multiarch objects.
6353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6354 (__libc_ifunc_impl_list): Likewise.
6355
a19e01a3
AZ
63562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357
6358 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6359 file.
6360 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6361 file.
6362 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6363 multiarch strncmp for PPC32.
6364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6365 multiarch objects.
6366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6367 (__libc_ifunc_impl_list): Likewise.
6368
ae9cf7a2
AZ
63692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6370
6371 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6372 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6373 file.
6374 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6375 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6376 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6377 multiarch objects.
6378 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6379 (__libc_ifunc_impl_list): Likewise.
6380
3148bb7d
AZ
63812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6382
6383 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6384 file.
6385 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6386 file.
6387 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6389 multiarch objects.
6390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6391 (__libc_ifunc_impl_list): Likewise.
6392
7af8b946
AZ
63932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6394
6395 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6396 file.
6397 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6398 file.
6399 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6400 multiarch rawmemchr for PPC32.
6401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6402 multiarch objects.
6403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6404 (__libc_ifunc_impl_list): Likewise.
6405
03a6aa6a
AZ
64062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6407
6408 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6409 file.
6410 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6411 file.
6412 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6413 file: memrchr multiarch for PPC32.
6414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6415 multiarch objects.
6416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6417 (__libc_ifunc_impl_list): Likewise.
6418
1c62e6d9
AZ
64192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6420
6421 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6422 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6423 file.
6424 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6425 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6426 multiarch memchr for PPC32.
6427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6428 multiarch objects.
6429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6430 (__libc_ifunc_impl_list): Likewise.
6431
87da8bdb
AZ
64322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6433
6434 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6435 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6436 file.
6437 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6438 file.
6439 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6440 file: multiarch mempcpy for PPC32.
6441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6442 multiarch objects.
6443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6444 (__libc_ifunc_impl_list): Likewise.
6445
20ed4714
AZ
64462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6447
6448 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6449 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6450 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6451 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6452 multiarch bzero for PPC32.
6453 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6454 file.
6455 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6456 file.
6457 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6458 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6459 file: multiarch memset for PPC32.
6460 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6462 memset multiarch objects.
6463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6464 (__libc_ifunc_impl_list): Likewise.
6465
ab3e3a46
AZ
64662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6467
6468 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6469 file.
6470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6471 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6472 memcmp for PPC32.
6473 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6475 multiarch objects.
6476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6477 (__libc_ifunc_impl_list): Likewise.
6478
930de6f0
AZ
64792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480
6481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6484 file.
6485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6486 file.
6487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6488 file.
6489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6490 multiarch memcpy for PPC32.
6491 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6492 multiarch objects.
6493 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6494 (__libc_ifunc_impl_list): Likewise.
6495
4c628e00
AZ
64962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6497
6498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6499 support multiarch for POWER/PPC32.
6500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6501 Likewise.
6502 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6504 Implies file to make multiarch folder appers before the fpu and
6505 default folder for power4 configuration.
6506
f4479220
SP
65072013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6508
6509 * scripts/bench.pl: Append volatile keyword to type.
6510
8517800f
KK
65112013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6512
6513 * sysdeps/sh/sotruss-lib.c: New file.
6514 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6515
180138f1
AZ
65162013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6517
6518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6519
bbf37bdc
JM
65202013-12-05 Joseph Myers <joseph@codesourcery.com>
6521
e47cc4e0
JM
6522 [BZ #6810]
6523 * math/w_tgamma.c: Include <errno.h>.
6524 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6525 * math/w_tgammaf.c: Include <errno.h>.
6526 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6527 * math/w_tgammal.c: Include <errno.h>.
6528 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6529 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6530 underflow. Add more tgamma tests.
6531 * math/auto-libm-test-out: Regenerated.
6532 * sysdeps/i386/fpu/libm-test-ulps: Update.
6533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6534
bbf37bdc
JM
6535 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6536 sin, sinh, tan, tanh, tgamma, y0 and y1.
6537 * math/auto-libm-test-out: Regenerated.
6538 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6539 (TEST_COND_x86): Likewise.
6540 (M_E2l): Remove macro.
6541 (M_E3l): Likewise.
6542 (M_2_SQRT_PIl): Likewise.
6543 (M_SQRT_PIl): Likewise.
6544 (M_1_DIV_El): Likewise.
6545 (log_test_data): Use AUTO_TESTS_f_f.
6546 (log10_test_data): Likewise.
6547 (log1p_test_data): Likewise.
6548 (log2_test_data): Likewise.
6549 (sin_test_data): Likewise.
6550 (sin_tonearest_test_data): Likewise.
6551 (sin_towardzero_test_data): Likewise.
6552 (sin_downward_test_data): Likewise.
6553 (sin_upward_test_data): Likewise.
6554 (sinh_test_data): Likewise.
6555 (sinh_tonearest_test_data): Likewise.
6556 (sinh_towardzero_test_data): Likewise.
6557 (sinh_downward_test_data): Likewise.
6558 (sinh_upward_test_data): Likewise.
6559 (tan_test_data): Likewise.
6560 (tan_tonearest_test_data): Likewise.
6561 (tan_towardzero_test_data): Likewise.
6562 (tan_downward_test_data): Likewise.
6563 (tan_upward_test_data): Likewise.
6564 (tanh_test_data): Likewise.
6565 (tgamma_test_data): Likewise.
6566 (y0_test_data): Likewise.
6567 (y1_test_data): Likewise.
6568 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6569 (special_real_inputs): Add pi/4.
6570 * sysdeps/i386/fpu/libm-test-ulps: Update.
6571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6572
eb5ad6b9
AZ
65732013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6574
6575 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6576 "longjmp_target" static probes.
6577 (__longjmp): Rename to __longjmp_symbol.
6578 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6579 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6580 on which longjmp to generate.
6581 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6582 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6583 probe.
6584 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6585 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6586 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6587 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6588 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6589 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6591 __longjmp_symbol based on which __longjmp to generate.
6592 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6593 probe.
6594 (setjmp): Rename to setjmp_symbol.
6595 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6596 (_setjmp): Rename to _setjmp_symbol.
6597 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6598 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6599 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6600 which setjmp to generate.
6601 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6602 "longjmp_target" static probes.
6603
d136c6dc
SP
66042013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6605
9298ecba
SP
6606 * benchtests/README: Add note about output arguments.
6607 * benchtests/bench-sincos.c: Remove file.
6608 * benchtests/sincos-inputs: New file.
6609 * scripts/bench.pl: Identify output arguments and define
6610 static variables for them.
6611
232983e9
SP
6612 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6613
d136c6dc
SP
6614 [BZ #15941]
6615 * Makefile (INSTALL): Add install-plain.texi as the primary
6616 dependency.
6617 * manual/install-plain.texi: New file.
6618 * manual/install.texi: Include node directive only for
6619 non-plaintext output.
6620
699ff837
JM
66212013-12-04 Joseph Myers <joseph@codesourcery.com>
6622
ab07cea8
JM
6623 * stdlib/longlong.h: Update from GCC.
6624
699ff837
JM
6625 [BZ #6807]
6626 [BZ #15901]
6627 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6628 * math/w_j0f.c (y0f): Likewise.
6629 * math/w_j0l.c (__y0l): Likewise.
6630 * math/w_j1.c (y1): Likewise.
6631 * math/w_j1f.c (y1f): Likewise.
6632 * math/w_j1l.c (__y1l): Likewise
6633 * math/w_jn.c (yn): Likewise.
6634 * math/w_jnf.c (ynf): Likewise.
6635 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6636 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6637 value for Bessel function domain errors outside _SVID_ mode.
6638 Adjust sign of return value for yn (negative integer, 0).
6639 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6640 by zero in return for negative x and set sign appropriately for
6641 negative n.
6642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6643 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6644 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6645 expectations in error cases.
6646 (y1_test_data): Likewise.
6647 (yn_test_data): Likewise.
6648 * sysdeps/i386/fpu/libm-test-ulps: Update.
6649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6650
5b118558
UW
66512013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6652
6653 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6654 "64" to "64-v1". Add "64-v2".
6655 (abi-64-options): Rename to ...
6656 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6657 (abi-64-condition): Rename to ...
6658 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6659 (abi-64-ld-soname): Rename to ...
6660 (abi-64-v1-ld-soname): ... this.
6661 (abi-64-v2-options): Define.
6662 (abi-64-v2-condition): Likewise.
6663 (abi-64-v2-ld-soname): Likewise.
6664 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6665 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6669
61cd8fe4
UW
66702013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6671 Alan Modra <amodra@gmail.com>
6672
6673 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6674 New versions for use with the ELFv2 ABI.
6675 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6676 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6677 declaration.
6678 (struct La_ppc64v2_retval): Likewise.
6679 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6680 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6681 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6682 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6683 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6684 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6685 Do not save or restore CR.
6686 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6687 (_dl_profile_resolve): Do no save or restore CR. Support extended
6688 return values for ELFv2 ABI. Fix location of FPR return registers.
6689 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6690 updated values for _CALL_ELF == 2.
6691 (La_regs, La_retval, int_retval): Likewise.
6692
8b8a692c
UW
66932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6694
6695 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6696 (FRAME_MIN_SIZE_PARM): Likewise.
6697 (FRAME_BACKCHAIN): Likewise.
6698 (FRAME_CR_SAVE): Likewise.
6699 (FRAME_LR_SAVE): Likewise.
6700 (FRAME_TOC_SAVE): Likewise.
6701 (FRAME_PARM_SAVE): Likewise.
6702 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6703 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6704 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6705 (call_mcount_parm_offset): New macro.
6706 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6707 (PROF): Use symbolic stack frame offsets.
6708 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6709 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6710 Redefine in terms of FRAME_MIN_SIZE.
6711 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6712 (_dl_profile_resolve): Likewise. Update comment.
6713 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6714 symbols stack frame offsets.
6715 (__sigsetjmp): Likewise.
6716 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6717 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6718 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6719 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6720
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6722 (FRAME_BACKCHAIN): Remove.
6723 (FRAME_CR_SAVE): Likewise.
6724 (FRAME_LR_SAVE): Likewise.
6725 (FRAME_COMPILER_DW): Likewise.
6726 (FRAME_LINKER_DW): Likewise.
6727 (FRAME_TOC_SAVE): Likewise.
6728 (FRAME_PARM_SAVE): Likewise.
6729 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6730 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6731 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6733 (CHECK_SP): Use symbolic stack frame offsets.
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6735 zone" instead of caller's parameter save area for temp storage.
6736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6737 Likewise. Also, use symbolic stack frame offsets.
6738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6739 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6740 our own stack frame instead of the caller's.
6741 (__socket): Use symbolic stack frame offsets.
6742
122b66de
UW
67432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6744 Alan Modra <amodra@gmail.com>
6745
6746 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6747 Define.
6748 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6749 PPC64_LOCAL_ENTRY_OFFSET): Define.
6750 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6751 New function.
6752 (elf_machine_fixup_plt): Call it.
6753 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6754 reloc arguments.
6755 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6756 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6757 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6758 r2 before calling target.
6759
696caf1d
UW
67602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6761 Alan Modra <amodra@gmail.com>
6762
6763 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6764 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6765 versions of macros to support ELFv2 ABI.
6766 (LOCALENTRY): New macro.
6767 (ENTRY, EALIGN): Use it.
6768 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6769 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6770 fall through into ENTRY entry point.
6771 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6772 Only define if _CALL_ELF != 2.
6773
6774 (elf_machine_matches_host): Verify ABI version matches.
6775 (RTLD_START): Use LOCALENTRY.
6776 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6777 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6778 (PLT_ENTRY_WORDS): New macro.
6779 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6780 (elf_machine_runtime_setup): Support ELFv2 ABI.
6781 (elf_machine_fixup_plt): Likewise.
6782 (elf_machine_plt_conflict): Likewise.
6783 (resolve_ifunc): Likewise.
6784 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6785 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6786 Likewise.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6788 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6790 (makecontext): Support ELFv2 ABI.
6791 * elf/elf.h (EF_PPC64_ABI): Define.
6792
d31beafa
UW
67932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6794
6795 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6796 New assembler macro.
6797 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6798 [ASSEMBLER] (ENTRY): ... but instead here ...
6799 [ASSEMBLER] (EALIGN): ... and here.
6800 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6801 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6802 [!ASSEMBLER] (ENTRY_2): Use it.
6803 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6804 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6805 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6806 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6807 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6809 Use PPC64_LOAD_FUNCPTR.
6810
b525166b
UW
68112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6812
6813 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6814
7ec07d9a
AM
68152013-12-04 Alan Modra <amodra@gmail.com>
6816
6817 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6818 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6819 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6820 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6821
6822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6823 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6824 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6825 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6826 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6827 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6828
5162e7dd
UW
68292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6830
6831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6832 (__makecontext): Fix incorrect CFI when backtracing out of
6833 context created via makecontext.
6834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6835 (__setcontext): Fix incorrect CFI during switch to new context.
6836 (__novec_setcontext): Likewise.
6837
19e3372b
OB
68382013-12-04 Ondřej Bílka <neleai@seznam.cz>
6839
6840 [BZ #4772]
6841 * time/strptime_l.c (__strptime_internal): Allow modifiers
6842 in strptime.
6843 * time/tst-strptime.c (day_tests): Add testcase.
6844
6845
ecaf142d
SP
68462013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6847
6848 * scripts/bench.pl: Skip over blank lines.
6849
fbf964ae
PE
68502013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6851
6852 [BZ #926]
6853 * manual/time.texi (Calendar Time): Clarify what timezone functions
6854 use.
6855
fa60a674
AZ
68562013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857
6858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6859
d674f0ef
OB
68602013-12-04 Ondřej Bílka <neleai@seznam.cz>
6861
6862 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6863 implementation.
6864 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6865 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6866 * debug/memset_chk.c (__memset_chk): Likewise.
6867 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6868 * debug/strncpy_chk.c: Likewise.
6869
17dea188
JM
68702013-12-03 Joseph Myers <joseph@codesourcery.com>
6871
749008ff
JM
6872 [BZ #15268]
6873 [BZ #15425]
6874 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6875 (__ieee754_exp): For possibly underflowing results, check size of
6876 result and force underflow exception if required.
6877 * math/auto-libm-test-in: Add more tests of exp.
6878 * math/auto-libm-test-out: Regenerated.
6879 * sysdeps/i386/fpu/libm-test-ulps: Update.
6880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6881
17dea188
JM
6882 [BZ #16283]
6883 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6884 * math/w_exp2f.c (__exp2f): Likewise.
6885 * math/w_exp2l.c (__exp2l): Likewise.
6886 * math/auto-libm-test-in: Do not allow missing errno on exp2
6887 underflow.
6888 * math/auto-libm-test-out: Regenerated.
6889
b20de2c3
OB
68902013-12-03 Ondřej Bílka <neleai@seznam.cz>
6891
6892 [BZ #16274]
6893 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6894 handle filename validation.
6895 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6896 (do_open): Delete.
6897
d8e2dbe3
JM
68982013-12-03 Joseph Myers <joseph@codesourcery.com>
6899
34e16df5
JM
6900 [BZ #6786]
6901 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6902 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6903 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6904 <float.h>.
6905 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6906 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6907 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6908 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6909 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6910 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6911 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6912 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6913 Add more erfc tests.
6914 * math/auto-libm-test-out: Regenerated.
6915 * sysdeps/i386/fpu/libm-test-ulps: Update.
6916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6917
d8e2dbe3
JM
6918 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6919 exp2, expm1, j0 and j1.
6920 * math/auto-libm-test-out: Regenerated.
6921 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6922 (erfc_test_data): Likewise.
6923 (exp_test_data): Likewise.
6924 (exp_tonearest_test_data): Likewise.
6925 (exp_towardzero_test_data): Likewise.
6926 (exp_downward_test_data): Likewise.
6927 (exp_upward_test_data): Likewise.
6928 (exp10_test_data): Likewise.
6929 (exp2_test_data): Likewise.
6930 (expm1_test_data): Likewise.
6931 (j0_test_data): Likewise.
6932 (j1_test_data): Likewise.
6933 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6934 (input_flag_type): Add flag_xfail_rounding.
6935 (input_flags): Add xfail-rounding.
6936 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6937 (output_for_one_input_case): Handle flag_xfail_rounding.
6938 * sysdeps/i386/fpu/libm-test-ulps: Update.
6939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6940
18d14251
AJ
69412013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6942
3d2e6075 6943 [BZ #16289]
18d14251
AJ
6944 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6945 division by 0.
6946
520d437b
SP
69472013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6948
6949 [BZ #16195]
6950 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6951 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6952 (STAP_PROBE0): New macro.
6953 (STAP_PROBE1): Likewise.
6954 (STAP_PROBE2): Likewise.
6955 (STAP_PROBE3): Likewise.
6956 (STAP_PROBE4): Likewise.
6957
416e0145
OB
69582013-12-02 Ondřej Bílka <neleai@seznam.cz>
6959
6960 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6961
9d17796a
SE
69622013-12-02 Steve Ellcey <sellcey@mips.com>
6963
6964 * benchtests/Makefile (bench): Add sqrt.
6965 (LDLIBS-bench-sqrt): New.
6966 * benchtests/sqrt-input: New.
6967
f524d6a8
PS
69682013-12-02 Pavel Simerda <psimerda@redhat.com>
6969
639a0ef8
PS
6970 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6971 (GAIH_EAI): Likewise.
6972 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6973 (gaih_inet): Likewise.
6974 (getaddrinfo): Don't use GAIH_EAI.
6975
f524d6a8
PS
6976 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6977 (struct gaih): Remove definition.
6978
df3aedaf
SP
69792013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6980
6981 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6982 Use HERRNOP directly.
6983
1ab19dec
AZ
69842013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6985
b42ad38d 6986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6987
176b0c79
JM
69882013-11-30 Joseph Myers <joseph@codesourcery.com>
6989
6990 * math/gen-auto-libm-tests.c (test_functions): Add more
6991 single-argument functions.
6992 (special_fill_pi_2): New function.
6993 (special_fill_minus_pi_2): Likewise.
6994 (special_fill_pi_6): Likewise.
6995 (special_fill_minus_pi_6): Likewise.
6996 (special_fill_pi_3): Likewise.
6997 (special_fill_2pi_3): Likewise.
6998 (special_fill_e): Likewise.
6999 (special_fill_1_e): Likewise.
7000 (special_fill_e_minus_1): Likewise.
7001 (special_real_inputs): Add more special inputs.
7002 (output_for_one_input_case): Do not require ERANGE on underflow to
7003 zero if round-to-nearest result does not underflow to zero, unless
7004 exact results required.
7005 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7006 atan, atanh, cbrt, cos and cosh.
7007 * math/auto-libm-test-out: Regenerated.
7008 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7009 (acos_tonearest_test_data): Likewise.
7010 (acos_towardzero_test_data): Likewise.
7011 (acos_downward_test_data): Likewise.
7012 (acos_upward_test_data): Likewise.
7013 (acosh_test_data): Likewise.
7014 (asin_test_data): Likewise.
7015 (asin_tonearest_test_data): Likewise.
7016 (asin_towardzero_test_data): Likewise.
7017 (asin_upward_test_data): Likewise.
7018 (asinh_test_data): Likewise.
7019 (atan_test_data): Likewise.
7020 (atanh_test_data): Likewise.
7021 (cbrt_test_data): Likewise.
7022 (cos_test_data): Likewise.
7023 (cos_tonearest_test_data): Likewise.
7024 (cos_towardzero_test_data): Likewise.
7025 (cos_downward_test_data): Likewise.
7026 (cos_upward_test_data): Likewise.
7027 (cosh_test_data): Likewise.
7028 (cosh_tonearest_test_data): Likewise.
7029 (cosh_towardzero_test_data): Likewise.
7030 (cosh_downward_test_data): Likewise.
7031 (cosh_upward_test_data): Likewise.
7032 * sysdeps/i386/fpu/libm-test-ulps: Update.
7033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7034
ffb536d0
JM
70352013-11-29 Joseph Myers <joseph@codesourcery.com>
7036
2a77a467
JM
7037 [BZ #6787]
7038 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7039 * math/w_exp10f.c (__exp10f): Likewise.
7040 * math/w_exp10l.c (__exp10l): Likewise.
7041 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7042 errno settings in existing tests.
7043
ea3bc4e8
JM
7044 [BZ #14032]
7045 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7046 precision control set to double precision.
7047 * sysdeps/i386/fpu/w_sqrt.c: New file.
7048 * math/auto-libm-test-in: Add more tests.
7049 * math/auto-libm-test-out: Update.
7050
0712c9d8
JM
7051 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7052 (sqrt_test_tonearest): New function.
7053 (sqrt_towardzero_test_data): New variable.
7054 (sqrt_test_towardzero): New function.
7055 (sqrt_downward_test_data): New variable.
7056 (sqrt_test_downward): New function.
7057 (sqrt_upward_test_data): New variable.
7058 (sqrt_test_upward): New function.
7059 (main): Call the new functions.
7060
ffb536d0
JM
7061 * math/gen-auto-libm-tests.c: New file.
7062 * math/auto-libm-test-in: Likewise.
7063 * math/auto-libm-test-out: New generated file.
7064 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7065 variables.
7066 (%beautify): Add generated representations of zero.
7067 (top level): Set $auto_input and call parse_auto_input.
7068 (beautify): Remove trailing "f" from hex float constants.
7069 (parse_args): Handle XFAIL_TEST.
7070 (convert_condition): New function.
7071 (or_value): Likewise.
7072 (or_cond_value): Likewise.
7073 (generate_testfile): Handle AUTO_TESTS_* lines.
7074 (parse_auto_input): New function.
7075 * math/libm-test.inc (XFAIL_TEST): New macro.
7076 (ERRNO_UNCHANGED): Update value.
7077 (ERRNO_EDOM): Likewise.
7078 (ERRNO_ERANGE): Likewise.
7079 (IGNORE_RESULT): Likewise.
7080 (TEST_COND_flt_32): New macro.
7081 (TEST_COND_dbl_64): Likewise.
7082 (TEST_COND_ldbl_96_intel): Likewise.
7083 (TEST_COND_ldbl_96_m68k): Likewise.
7084 (TEST_COND_ldbl_128): Likewise.
7085 (TEST_COND_ldbl_128ibm): Likewise.
7086 (TEST_COND_long32): Likewise.
7087 (TEST_COND_long64): Likewise.
7088 (TEST_COND_before_rounding): Likewise.
7089 (TEST_COND_after_rounding): Likewise.
7090 (enable_test): Handle XFAIL_TEST flag.
7091 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7092 with finite results.
7093 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7094 auto-libm-test-out.
7095
acd98a8e
AK
70962013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7097 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7098
7099 [BZ #16214]
7100 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7101 __tls_get_addr_internal instead of __tls_get_offset in order to
7102 avoid GOT pointer dependency. Make rtld export
7103 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7104 __tls_get_addr since we are a __tls_get_offset platform.
7105 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7106 GOT pointer being set up before.
7107 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7108
3c1c46a6
JM
71092013-11-28 Joseph Myers <joseph@codesourcery.com>
7110
7475aef5
JM
7111 * manual/math.texi (Errors in Math Functions): Document accuracy
7112 goals.
7113
8bca7cd8
JM
7114 [BZ #15004]
7115 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7116 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7117 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7119 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7121 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7131
91a1f3fe
JM
7132 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7133 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7134 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7135 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7136 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7137 Likewise.
7138 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7139 Likewise.
7140 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7141 Likewise.
7142 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7143 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7144 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7145 atomic-feupdateenv and flt-rounds.
7146 * sysdeps/powerpc/nofpu/Versions (libc): Add
7147 __atomic_feholdexcept, __atomic_feclearexcept,
7148 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7149 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7150 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7151 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7152 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7153 here.
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7155 Update.
7156
c5df7609
JM
7157 * manual/arith.texi (FP Exceptions): Document that exceptions may
7158 not be raised when matherr is used.
7159 (Math Error Reporting): Document overflow in directed rounding
7160 modes. Document that errno may not be set when finite values are
7161 returned on overflow. Document intent to set errno on underflow
7162 only for underflow to zero.
7163
3c1c46a6
JM
7164 [BZ #16271]
7165 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7166 round-to-nearest then adjust result for other rounding modes.
7167 * include/fenv.h (fegetround): Use libm_hidden_proto.
7168 * math/fegetround.c (fegetround): Use libm_hidden_def.
7169 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7170 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7171 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7172 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7173 Likewise.
7174 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7175 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7176 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7177 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7178
5a4c6d53
SP
71792013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7180
7181 [BZ #16077]
7182 * nss/Versions (libnss_files): Add
7183 _nss_files_gethostbyname3_r.
7184 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7185 New function.
7186 (HOST_DB_LOOKUP): Remove macro.
7187 (_nss_files_gethostbyname_r): Implement function without the
7188 HOST_DB_LOOKUP macro.
7189 (_nss_files_gethostbyname2_r): Likewise.
7190
897b98ba
OB
71912013-11-28 Ondřej Bílka <neleai@seznam.cz>
7192
7193 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7194
6f476861
UB
71952013-11-26 Uros Bizjak <ubizjak@gmail.com>
7196
7197 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7198 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7199 warning.
7200
bd12ab55
AZ
72012013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7202
7203 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7204 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7205 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7206 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7207 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7208 __fe_nomask_env_priv and attribute_hidden.
7209 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7210 (libc_feupdateenv_test_ppc): Likewise.
7211 (libc_feresetround_ppc): Likewise.
7212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7213 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7214 compat_symbol macro.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7216 (__fe_nomask_env): Likewise.
7217 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7218
52bb6543
OB
72192013-11-26 Ondřej Bílka <neleai@seznam.cz>
7220
7221 * string/Makefile: Remove ifunc tests.
7222 * string/test-string.h: Define TEST_IFUNC.
7223 * string/test-bcopy-ifunc.c: Remove.
7224 * string/test-bzero-ifunc.c: Likewise.
7225 * string/test-memccpy-ifunc.c: Likewise.
7226 * string/test-memchr-ifunc.c: Likewise.
7227 * string/test-memcmp-ifunc.c: Likewise.
7228 * string/test-memcpy-ifunc.c: Likewise.
7229 * string/test-memmem-ifunc.c: Likewise.
7230 * string/test-memmove-ifunc.c: Likewise.
7231 * string/test-mempcpy-ifunc.c: Likewise.
7232 * string/test-memrchr-ifunc.c: Likewise.
7233 * string/test-memset-ifunc.c: Likewise.
7234 * string/test-rawmemchr-ifunc.c: Likewise.
7235 * string/test-stpcpy-ifunc.c: Likewise.
7236 * string/test-stpncpy-ifunc.c: Likewise.
7237 * string/test-strcasecmp-ifunc.c: Likewise.
7238 * string/test-strcasestr-ifunc.c: Likewise.
7239 * string/test-strcat-ifunc.c: Likewise.
7240 * string/test-strchr-ifunc.c: Likewise.
7241 * string/test-strchrnul-ifunc.c: Likewise.
7242 * string/test-strcmp-ifunc.c: Likewise.
7243 * string/test-strcpy-ifunc.c: Likewise.
7244 * string/test-strcspn-ifunc.c: Likewise.
7245 * string/test-strlen-ifunc.c: Likewise.
7246 * string/test-strncasecmp-ifunc.c: Likewise.
7247 * string/test-strncat-ifunc.c: Likewise.
7248 * string/test-strncmp-ifunc.c: Likewise.
7249 * string/test-strncpy-ifunc.c: Likewise.
7250 * string/test-strnlen-ifunc.c: Likewise.
7251 * string/test-strpbrk-ifunc.c: Likewise.
7252 * string/test-strrchr-ifunc.c: Likewise.
7253 * string/test-strspn-ifunc.c: Likewise.
7254 * string/test-strstr-ifunc.c: Likewise.
7255
ab260039 72562013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7257
7258 * benchtests/Makefile: Remove ifunc tests.
7259 * benchtests/bench-string.h: Define TEST_IFUNC.
7260 * benchtests/bench-bcopy-ifunc.c: Remove.
7261 * benchtests/bench-bzero-ifunc.c: Likewise.
7262 * benchtests/bench-memccpy-ifunc.c: Likewise.
7263 * benchtests/bench-memchr-ifunc.c: Likewise.
7264 * benchtests/bench-memcmp-ifunc.c: Likewise.
7265 * benchtests/bench-memcpy-ifunc.c: Likewise.
7266 * benchtests/bench-memmem-ifunc.c: Likewise.
7267 * benchtests/bench-memmove-ifunc.c: Likewise.
7268 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7269 * benchtests/bench-memrchr-ifunc.c: Likewise.
7270 * benchtests/bench-memset-ifunc.c: Likewise.
7271 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7272 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7273 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7274 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7275 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7276 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7277 * benchtests/bench-strcat-ifunc.c: Likewise.
7278 * benchtests/bench-strchr-ifunc.c: Likewise.
7279 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7280 * benchtests/bench-strcmp-ifunc.c: Likewise.
7281 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7282 * benchtests/bench-strcpy-ifunc.c: Likewise.
7283 * benchtests/bench-strcspn-ifunc.c: Likewise.
7284 * benchtests/bench-strlen-ifunc.c: Likewise.
7285 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7286 * benchtests/bench-strncat-ifunc.c: Likewise.
7287 * benchtests/bench-strncmp-ifunc.c: Likewise.
7288 * benchtests/bench-strncpy-ifunc.c: Likewise.
7289 * benchtests/bench-strnlen-ifunc.c: Likewise.
7290 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7291 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7292 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7293 * benchtests/bench-strspn-ifunc.c: Likewise.
7294 * benchtests/bench-strstr-ifunc.c: Likewise.
7295
72962013-11-26 Ondřej Bílka <neleai@seznam.cz>
7297
ab260039
OB
7298 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7299
d1d9eaf4 73002013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7301
d1d9eaf4
OB
7302 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7303 * rt/aio.h: Likewise.
7304 * sysdeps/gnu/bits/utmp.h: Likewise.
7305 * sysdeps/gnu/bits/utmpx.h: Likewise.
7306 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7307 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7308 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7309 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7310 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7311 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7312 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7313 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7314 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7315 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7316 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7317 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7318 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7320 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7321 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7322 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7323 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7324 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7325 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7326 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7327 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7328 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7329 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7330 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7331 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7332 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7333 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7334 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7335 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7336 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7337 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7338 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7339 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7340 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7341 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7342 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7343 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7344 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7345 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7346 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7347 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7348
a7624ed9
CD
73492013-11-25 Carlos O'Donell <carlos@redhat.com>
7350
7351 [BZ #16245]
7352 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7353 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7354
63cfe52b
JM
73552013-11-25 Joseph Myers <joseph@codesourcery.com>
7356
7357 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7358 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7359 Likewise.
7360
41e8926a
AZ
73612013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7362
7363 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7364 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7365 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7366 (__fesetround): Remove define.
7367 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7368 rounding and exceptions handling.
7369 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7370 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7371 (__fe_nomask_env): Likewise.
7372 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7373 __fegetround instead of fegetround.
7374 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7375 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7376
6851bd4d
RM
73772013-11-21 Roland McGrath <roland@hack.frob.com>
7378
070906ff
RM
7379 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7380 it's there.
7381
6851bd4d
RM
7382 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7383
84ae135d
MI
73842013-11-21 Meador Inge <meadori@codesourcery.com>
7385
7386 [BZ #11157]
7387 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7388 (encrypt_r): Likewise.
7389 * malloc/obstack.h (obstack_free): Likewise.
7390 * posix/unistd.h (encrypt): Likewise.
7391
daf75146
GM
73922013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7393
7394 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7395 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7396 DL_CALL_DT_FINI() that call the functions directly.
7397 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7398 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7399 * elf/dl-fini.c: Likewise.
7400
10ad46bc
OB
74012013-11-20 Ondřej Bílka <neleai@seznam.cz>
7402
7403 * malloc/hooks.c (memalign_check): Add alignment rounding.
7404 * malloc/malloc.c (_mid_memalign): New function.
7405 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7406 Implement by calling _mid_memalign.
7407 * manual/probes.texi (Memory Allocation Probes): Remove
7408 memory_valloc_retry and memory_pvalloc_retry.
7409
f3fd2628
SP
74102013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7411
4712799f
SP
7412 * locale/programs/locarchive.c (open_archive): Add const
7413 qualifier to ARCHIVEFNAME and copy default fname to
7414 DEFAULT_FNAME.
7415
0417b20f
SP
7416 [BZ #15601]
7417 * libio/tst-widetext.input: Rename Oriya to Odia.
7418 * locale/iso-639.def: Likewise.
7419
f3fd2628
SP
7420 * manual/probes.texi (Mathematical Function Probes): Add
7421 documentation for sin, cos, asin and acos probes.
7422 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7423 (__sin32): Add slowasin probe.
7424 (__cos32): Add slowacos probe.
7425 (__mpsin): Add slowsin probe.
7426 (__mpcos): Add slowcos probe.
7427
73c1ce4f
JM
74282013-11-19 Joseph Myers <joseph@codesourcery.com>
7429
7430 [BZ #15483]
7431 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7432 thread-local __sim_exceptions_thread and global
7433 __sim_exceptions_global.
7434 (__sim_disabled_exceptions): Change to thread-local
7435 __sim_disabled_exceptions_thread and global
7436 __sim_disabled_exceptions_global.
7437 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7438 and global __sim_round_mode_global.
7439 (__simulate_exceptions): Use thread-local floating-point state and
7440 set global state from it as needed.
7441 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7442 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7443 __sim_round_mode_thread.
7444 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7445 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7446 and global __sim_exceptions_global.
7447 (__sim_disabled_exceptions): Change to thread-local
7448 __sim_disabled_exceptions_thread and global
7449 __sim_disabled_exceptions_global.
7450 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7451 and global __sim_round_mode_global.
7452 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7453 (SIM_SET_GLOBAL): Likewise.
7454 * sysdeps/powerpc/soft-fp/sfp-machine.h
7455 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7456 __sim_round_mode_thread.
7457 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7458 __sim_disabled_exceptions_thread.
7459 (__sim_exceptions): Change to __sim_exceptions_thread.
7460 (__sim_disabled_exceptions): Change to
7461 __sim_disabled_exceptions_thread.
7462 (__sim_round_mode): Change to __sim_round_mode_thread.
7463 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7464 thread-local floating-point state and set global state from it as
7465 needed.
7466 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7467 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7468 (__sim_disabled_exceptions): Remove extern declaration.
7469 (feenableexcept): Use thread-local floating-point state and set
7470 global state from it as needed.
7471 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7472 extern declaration.
7473 (__sim_disabled_exceptions): Likewise.
7474 (__sim_round_mode): Likewise.
7475 (__fegetenv): Use thread-local floating-point state.
7476 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7477 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7478 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7479 floating-point state and set global state from it as needed.
7480 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7481 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7482 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7483 Likewise.
7484 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7485 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7486 Likewise.
7487 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7488 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7489 Use __sim_round_mode_thread.
7490 * math/test-fenv-tls.c: New file.
7491 * math/Makefile (tests): Add test-fenv-tls.
7492 ($(objpfx)test-fenv-tls): Depend on
7493 $(common-objpfx)nptl/libpthread.so.
7494
b5449b12
AS
74952013-11-19 Andreas Schwab <schwab@suse.de>
7496
7497 * locale/programs/locale.c (show_info): Decode wordarray elements.
7498 * locale/categories.def (LC_MONETARY): Add element for
7499 _NL_MONETARY_CRNCYSTR.
7500 * locale/C-monetary.c (conversion_rate): New variable.
7501 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7502 element.
7503
e186536b
CM
75042013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7505
7506 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7507 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7508
5c349950
PP
75092013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7510
7511 * elf/Makefile (tst-auxv): New test.
7512 * elf/tst-auxv.c: New
7513 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7514
699df45b
JM
75152013-11-18 Joseph Myers <joseph@codesourcery.com>
7516
7517 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7518 (hidden_proto): Caller changed.
7519 (hidden_tls_proto): New macro.
7520 (libc_hidden_tls_proto): Likewise.
7521 (rtld_hidden_tls_proto): Likewise.
7522 (libm_hidden_tls_proto): Likewise.
7523 (libresolv_hidden_tls_proto): Likewise.
7524 (librt_hidden_tls_proto): Likewise.
7525 (libdl_hidden_tls_proto): Likewise.
7526 (libnss_files_hidden_tls_proto): Likewise.
7527 (libnsl_hidden_tls_proto): Likewise.
7528 (libnss_nisplus_hidden_tls_proto): Likewise.
7529 (libutil_hidden_tls_proto): Likewise.
7530
b7589107
OB
75312013-11-18 Ondřej Bílka <neleai@seznam.cz>
7532
7533 [BZ #10253]
7534 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7535 (decompose_rpath): Defer expansion to fillin_rpath.
7536 (_dl_init_paths): Pass linkmap to fillin_rpath.
7537
250c23bd
RS
75382013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7539
7540 * benchtests/Makefile: Add strsep.
7541 * benchtests/bench-strsep.c: New file: strsep benchtest.
7542 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7543
a7931fcf
AS
75442013-11-18 Andreas Schwab <schwab@suse.de>
7545
7546 * locale/programs/locale.c (show_info) [case byte]: Check for
7547 '\377' instead of '\177'.
7548 * locale/C-monetary.c (not_available): Always use "\377".
7549 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7550 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7551 detect unavailable sign_posn locale elements.
7552 * locale/localeconv.c (__localeconv): For grouping and
7553 mon_grouping handle "\177" and "\377" like no grouping.
7554 (INT_ELEM): New macro. Use it to set all numeric members.
7555 * locale/programs/ld-monetary.c (monetary_read)
7556 <tok_mon_grouping>: Normalize single -1 to the empty string.
7557 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7558 Likewise.
7559
728dab0e
OB
75602013-11-07 Ondřej Bílka <neleai@seznam.cz>
7561
7562 [BZ #16055]
7563 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7564 when we match (nil).
7565 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7566
66294491
JM
75672013-11-16 Joseph Myers <joseph@codesourcery.com>
7568
ce665817
JM
7569 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7570 (NO_TEST_INLINE): Update value.
7571 (ERRNO_UNCHANGED): Likewise.
7572 (ERRNO_EDOM): Likewise.
7573 (ERRNO_ERANGE): Likewise.
7574 (IGNORE_RESULT): Likewise.
7575 (check_float_internal): Check signs of NaN results if
7576 TEST_NAN_SIGN used.
7577 (check_complex): Pass TEST_NAN_SIGN flag through to second
7578 check_float_internal call.
7579 (copysign_test_data): Add tests with quiet NaNs as second
7580 argument. Use TEST_NAN_SIGN.
7581 (fabs_test_data): Add test of negative quiet NaN argument. Use
7582 TEST_NAN_SIGN.
7583 (signbit_test_data): Add tests of quiet NaN argument.
7584 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7585
ee1466a9
JM
7586 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7587 $ignore_result.
7588 (parse_args): Handle function results specified as IGNORE.
7589 * math/libm-test.inc (IGNORE_RESULT): New macro.
7590 (check_float_internal): Do not check numerical result if flag
7591 IGNORE_RESULT set.
7592 (check_complex): Pass through IGNORE_RESULT to second
7593 check_float_internal call.
7594 (check_int): Do not check numerical result if flag IGNORE_RESULT
7595 set.
7596 (check_long): Likewise.
7597 (check_bool): Likewise.
7598 (check_longlong): Likewise.
7599 (lrint_test_data): Add tests of infinite and NaN arguments.
7600 (lrint_tonearest_test_data): Likewise.
7601 (lrint_towardzero_test_data): Likewise.
7602 (lrint_downward_test_data): Likewise.
7603 (lrint_upward_test_data): Likewise.
7604 (llrint_test_data): Likewise.
7605 (llrint_tonearest_test_data): Likewise.
7606 (llrint_towardzero_test_data): Likewise.
7607 (llrint_downward_test_data): Likewise.
7608 (llrint_upward_test_data): Likewise.
7609 (lround_test_data): Likewise.
7610 (llround_test_data): Likewise.
7611
14407b7e
JM
7612 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7613 (ERRNO_UNCHANGED): Update value.
7614 (ERRNO_EDOM): Likewise.
7615 (ERRNO_ERANGE): Likewise.
7616 (NO_TEST_INLINE_FLOAT): New macro.
7617 (NO_TEST_INLINE_DOUBLE): Likewise.
7618 (enable_test): New function.
7619 (RUN_TEST_f_f): Check enable_test before running test.
7620 (RUN_TEST_2_f): Likewise.
7621 (RUN_TEST_fff_f): Likewise.
7622 (RUN_TEST_c_f): Likewise.
7623 (RUN_TEST_f_f1): Likewise.
7624 (RUN_TEST_fF_f1): Likewise.
7625 (RUN_TEST_fI_f1): Likewise.
7626 (RUN_TEST_ffI_f1): Likewise.
7627 (RUN_TEST_c_c): Likewise.
7628 (RUN_TEST_cc_c): Likewise.
7629 (RUN_TEST_f_i): Likewise.
7630 (RUN_TEST_f_i_tg): Likewise.
7631 (RUN_TEST_ff_i_tg): Likewise.
7632 (RUN_TEST_f_b): Likewise.
7633 (RUN_TEST_f_b_tg): Likewise.
7634 (RUN_TEST_f_l): Likewise.
7635 (RUN_TEST_f_L): Likewise.
7636 (RUN_TEST_fFF_11): Likewise.
7637 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7638 conditionals.
7639 (cosh_test_data): Likewise.
7640 (exp_test_data): Likewise.
7641 (expm1_test_data): Likewise.
7642 (hypot_test_data): Likewise.
7643 (pow_test_data): Likewise.
7644 (sinh_test_data): Likewise.
7645 (tanh_test_data): Likewise.
7646 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7647 flags argument.
7648
ca07f197
JM
7649 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7650 tests with quiet NaN input and output.
7651 (acosh_test_data): Likewise.
7652 (asin_test_data): Likewise.
7653 (asinh_test_data): Likewise.
7654 (atan_test_data): Likewise.
7655 (atanh_test_data): Likewise.
7656 (atan2_test_data): Likewise.
7657 (cbrt_test_data): Likewise.
7658 (cos_test_data): Likewise.
7659 (cosh_test_data): Likewise.
7660 (erf_test_data): Likewise.
7661 (erfc_test_data): Likewise.
7662 (exp_test_data): Likewise.
7663 (exp10_test_data): Likewise.
7664 (exp2_test_data): Likewise.
7665 (expm1_test_data): Likewise.
7666 (hypot_test_data): Likewise.
7667 (j0_test_data): Likewise.
7668 (j1_test_data): Likewise.
7669 (jn_test_data): Likewise.
7670 (lgamma_test_data): Likewise.
7671 (log_test_data): Likewise.
7672 (log10_test_data): Likewise.
7673 (log1p_test_data): Likewise.
7674 (log2_test_data): Likewise.
7675 (pow_test_data): Likewise.
7676 (scalb_test_data): Likewise.
7677 (sin_test_data): Likewise.
7678 (sincos_test_data): Likewise.
7679 (sinh_test_data): Likewise.
7680 (tan_test_data): Likewise.
7681 (tanh_test_data): Likewise.
7682 (tgamma_test_data): Likewise.
7683 (y0_test_data): Likewise.
7684 (y1_test_data): Likewise.
7685 (yn_test_data): Likewise.
7686
66294491
JM
7687 [BZ #16167]
7688 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7689 argument being NaN and avoid computations with second argument in
7690 that case.
7691 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7692 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7693 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7694
1820b143
CL
76952013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7696
7697 * locale/iso-639.def: Add Chitwani Tharu (the).
7698
714bd261
AS
76992013-11-14 Andreas Schwab <schwab@suse.de>
7700
7701 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7702 word instead of empty string.
7703
7ab44563
AZ
77042013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7705
7706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7707 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7709 (__fe_nomask_env): Likewise.
7710
e8470ea2
SE
77112013-11-13 Steve Ellcey <sellcey@mips.com>
7712
7713 * benchtests/bench-timing.h: Include time.h.
7714
17c1d9f0
L
77152013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7716
7717 [BZ #15997]
7718 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7719 to 3.4.0 for x32.
7720 * sysdeps/unix/sysv/linux/configure: Regenerated.
7721
9310c284
JM
77222013-11-13 Joseph Myers <joseph@codesourcery.com>
7723
7724 [BZ #16151]
7725 * stdlib/strtod_l.c (round_and_return): Do not consider
7726 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7727 exponent one less than half the least subnormal exponent.
7728 * stdlib/test-strtod-round-data: Add more tests.
7729 * stdlib/tst-strtod-round.c (tests): Regenerated.
7730
7a2ad8cf
AZ
77312013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7732
7733 [BZ #14143]
7734 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7735 (__fe_mask_env): Likewise.
7736 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7737 libm_hidden_proto and add function prototype.
7738 (__fe_mask_env): Add function prototype.
7739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7740 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7742 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7744 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7745
50727aa7
MS
77462013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7747
b2f386c1 7748 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7749 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7750
a615be46
MS
77512013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7752
7753 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7754 of htab_find_slot().
7755
7ddace62
DM
77562013-11-11 David S. Miller <davem@davemloft.net>
7757
7758 [BZ #16150]
7759 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7760 symbol in the non-vis3 case in static builds.
7761 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7762 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7763 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7764 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7765
9182aa67
JK
77662013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7767
7768 [BZ #387]
7769 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7770 it is empty.
7771
450a2e2d
AZ
77722013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7773
b2f386c1
SP
7774 * benchtests/Makefile: Add bench-strtod.
7775 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7776
8ec3f656
AS
77772013-11-11 Andreas Schwab <schwab@suse.de>
7778
7779 [BZ #16153]
7780 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7781 terminating NUL in key length.
7782
76a9b998
AZ
77832013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7784
7785 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7786 Add artificial ODP entry for vDSO symbol for PPC64.
7787 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7788 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7789
e4368156
OB
77902013-11-07 Ondřej Bílka <neleai@seznam.cz>
7791
7792 [BZ #15374]
7793 * nss/getent.c (services_keys): Recognize services starting with digit.
7794
8d6bb57c
DM
77952013-11-06 David S. Miller <davem@davemloft.net>
7796
7797 [BZ #15985]
7798 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7799 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7800
e256c421
WN
78012013-11-06 Will Newton <will.newton@linaro.org>
7802
7803 * manual/memory.texi (Malloc Examples): Remove register
7804 keyword from examples.
7805
f6e12daa 78062013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7807
f6e12daa 7808 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7809
9d880655
AS
78102013-11-04 Joseph Myers <joseph@codesourcery.com>
7811
fd2f9486 7812 [BZ #6981]
9d880655
AS
7813 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7814 depending on [__GCC_IEC_559 > 0].
7815 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7816 depending on [__GCC_IEC_559_COMPLEX > 0].
7817
ae129d3c
CL
78182013-11-03 Chris Leonard <cjl@sugarlabs.org>
7819
7820 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7821 to iso-639.def.
7822
4a15c2a4 78232013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7824
7825 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7826
8b35e35d
OB
78272013-11-01 Ondřej Bílka <neleai@seznam.cz>
7828
7829 [BZ #16112]
7830 * malloc/malloc (malloc_info): Do not handle first bin as
7831 special case.
7832
1d70fd6c
CL
78332013-11-01 Chris Leonard <cjl@sugarlabs.org>
7834
7835 * locale/iso-639.def: Add Central Nahuatl (nhn).
7836
8c5c2600
BH
78372013-11-01 Bruno Haible <bruno@clisp.org>
7838
7839 [BZ #7003]
7840 * manual/math.texi (BSD Random): Specify range upper bound as
7841 in POSIX.
7842
da5579c2
CL
78432013-10-31 Chris Leonard <cjl@sugarlabs.org>
7844
7845 * locale/iso-639.def: Add Meadow Mari (mhr).
7846
5d30d853
OB
78472013-10-31 Ondřej Bílka <neleai@seznam.cz>
7848
7849 [BZ #14752], [BZ #15763]
7850 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7851 Validate name.
7852 * rt/tst_shm.c: Add test for escaping directory.
7853
a4966c61
AS
78542013-10-31 Andreas Schwab <schwab@suse.de>
7855
8a43e768 7856 [BZ #15917]
a4966c61
AS
7857 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7858 followed by 'x' as part of digit sequence.
7859 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7860
28d708c4
MAP
78612013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7862
7863 [BZ #16037]
7864 * configure.ac: allow GNU Make 4.0 and greater.
7865 * configure: Regenerated.
7866
a56ee40b
WN
78672013-10-30 Will Newton <will.newton@linaro.org>
7868
7869 [BZ #16038]
7870 * malloc/hooks.c (memalign_check): Limit alignment to the
7871 maximum representable power of two.
7872 * malloc/malloc.c (__libc_memalign): Likewise.
7873 * malloc/tst-memalign.c (do_test): Add test for very
7874 large alignment values.
7875 * malloc/tst-posix_memalign.c (do_test): Likewise.
7876
c6e4925d
OB
78772013-10-30 Ondřej Bílka <neleai@seznam.cz>
7878
7879 [BZ #11087]
7880 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7881 (munmap_chunk): Likewise.
7882 (mremap_chunk): Likewise.
7883
78842013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7885
8a43e768 7886 [BZ #15799]
bbea82f7
OB
7887 * stdlib/div.c (div): Remove obsolete code.
7888 * stdlib/ldiv.c (ldiv): Likewise.
7889 * stdlib/lldiv.c (lldiv): Likewise.
7890
977f4b31
SP
78912013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7892
7893 [BZ #16071]
7894 * nss/nss_files/files-XXX.c (get_contents_ret): New
7895 enumerator.
7896 (get_contents): New function.
7897 (internal_getent): Use it. Expand size of LINEBUFLEN.
7898
cb8a6dbd
MF
78992013-10-30 Mike Frysinger <vapier@gentoo.org>
7900
7901 * configure.in: Moved to ...
7902 * configure.ac: ... here. Change reference to configure.in
7903 to configure.ac.
7904 * sysdeps/arm/preconfigure.ac: ... here.
7905 configure.in to configure.ac.
7906 * sysdeps/gnu/configure.in: Moved to ...
7907 * sysdeps/gnu/configure.ac: ... here.
7908 * sysdeps/i386/configure.in: Moved to ...
7909 * sysdeps/i386/configure.ac: ... here.
7910 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7911 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7912 * sysdeps/mach/configure.in: Moved to ...
7913 * sysdeps/mach/configure.ac: ... here.
7914 * sysdeps/mach/hurd/configure.in: Moved to ...
7915 * sysdeps/mach/hurd/configure.ac: ... here.
7916 * sysdeps/powerpc/configure.in: Moved to ...
7917 * sysdeps/powerpc/configure.ac: ... here.
7918 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7919 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7920 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7921 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7922 * sysdeps/s390/s390-32/configure.in: Moved to ...
7923 * sysdeps/s390/s390-32/configure.ac: ... here.
7924 * sysdeps/s390/s390-64/configure.in: Moved to ...
7925 * sysdeps/s390/s390-64/configure.ac: ... here.
7926 * sysdeps/sh/configure.in: Moved to ...
7927 * sysdeps/sh/configure.ac: ... here.
7928 * sysdeps/sparc/configure.in: Moved to ...
7929 * sysdeps/sparc/configure.ac: ... here.
7930 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7931 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7932 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7933 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7934 * sysdeps/x86_64/configure.in: Moved to ...
7935 * sysdeps/x86_64/configure.ac: ... here.
7936 * sysdeps/x86_64/preconfigure.in: Moved to ...
7937 * sysdeps/x86_64/preconfigure.ac: ... here.
7938 * aclocal.m4: Change reference to configure.in to configure.ac.
7939 * config.h.in: Likewise.
7940 * manual/install.texi: Likewise.
7941 * manual/maint.texi: Likewise.
7942 * Makefile: Likewise.
7943 * malloc/Makefile: Likewise.
7944 * nscd/Makefile: Likewise.
7945 * Makeconfig: Change reference to configure.in and
7946 preconfigure.in to configure.ac and preconfigure.ac
7947 respectively.
7948 * INSTALL: Regenerated.
7949 * configure: Likewise.
7950 * sysdeps/gnu/configure: Likewise.
7951 * sysdeps/i386/configure: Likewise.
7952 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7953 * sysdeps/mach/configure: Likewise.
7954 * sysdeps/mach/hurd/configure: Likewise.
7955 * sysdeps/powerpc/configure: Likewise.
7956 * sysdeps/powerpc/powerpc32/configure: Likewise.
7957 * sysdeps/powerpc/powerpc64/configure: Likewise.
7958 * sysdeps/s390/s390-32/configure: Likewise.
7959 * sysdeps/s390/s390-64/configure: Likewise.
7960 * sysdeps/sh/configure: Likewise.
7961 * sysdeps/sparc/configure: Likewise.
7962 * sysdeps/unix/sysv/linux/configure: Likewise.
7963 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7964 * sysdeps/x86_64/configure: Likewise.
7965 * sysdeps/x86_64/preconfigure: Likewise.
7966
36a4953a
AS
79672013-10-29 Andreas Schwab <schwab@suse.de>
7968
7969 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7970
c79a1204
SP
79712013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7972
dfa1b402
SP
7973 * benchtests/pow-inputs: Add new inputs.
7974
54f73d9c
SP
7975 * benchtests/exp-inputs: Add new inputs.
7976
c79a1204
SP
7977 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7978 conditional check for return value.
7979 (__cos32): Likewise.
7980
67beb545 79812013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7982
7983 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7984 to provide a boost for large inputs with word alignment.
7985 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7986 implementation based on optimized PPC64 strcpy.
7987 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7988 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7989 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7990 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7991
151659f6
OB
79922013-10-25 Ondřej Bílka <neleai@seznam.cz>
7993
482a077e 7994 [BZ #2801]
151659f6
OB
7995 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7996
10b0f26b
OB
79972013-10-25 Ondřej Bílka <neleai@seznam.cz>
7998
7999 [BZ #14876]
8000 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8001 * time/tst-strptime.c (day_tests): Add testcase.
8002
ca42d35e
OB
80032013-10-25 Ondřej Bílka <neleai@seznam.cz>
8004
482a077e 8005 [BZ #14029]
ca42d35e
OB
8006 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8007
52e6d801
FB
80082013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8009
8010 [BZ #16074]
8011 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8012 MAP_FAILED on error.
8013
7cbcdb36
SP
80142013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8015
8016 [BZ #16072]
8017 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8018 heap for large requests.
8019
894f3f10
AM
80202013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8021
8022 [BZ #9954]
8023 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8024 result if the result has no associated interface.
8025 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8026 interface for all 127.X.Y.Z addresses.
8027
b85545a6
CL
80282013-10-24 Chris Leonard <cjl@sugarlabs.org>
8029
8030 * locale/iso-639.def: Add Ligurian (lij)
8031
d1f23d46
OB
80322013-10-21 Ondřej Bílka <neleai@seznam.cz>
8033
8034 [BZ #15825]
8035 * sunrpc/rpc_main.c: Document rpcgen -5.
8036
4db5b08f
MS
80372013-10-19 Michael Stahl <mstahl@redhat.com>
8038
8039 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8040
a471e96a
OB
80412013-10-19 Ondřej Bílka <neleai@seznam.cz>
8042
d1f23d46 8043 [BZ #10278]
a471e96a
OB
8044 * posix/glob.c: Match only directories when trailing slash is present.
8045 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8046 (main): Add testcase.
8047
45c30c61
OB
80482013-10-19 Ondřej Bílka <neleai@seznam.cz>
8049
8050 [BZ #15670]
8051 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8052
484c12fb
CD
80532013-10-18 Carlos O'Donell <carlos@redhat.com>
8054
3d7dc513
CD
8055 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8056 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8057 AUTH_DES and cindex for FIPS 140-2.
8058 (DES Encryption): Add cindex FIPS 46-3.
8059
484c12fb
CD
8060 * locale/locarchive.h (struct locarhandle): Add fname.
8061 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8062 if an optional argument was specified to --list-archive,
8063 otherwise NULL.
8064 * locale/programs/locarchive.c (show_archive_content): Take new
8065 argument fname and pass it via ah.fname to open_archive.
8066 * locale/programs/localedef.h: Update decl.
8067 (open_archive): If AH->fname is non-null, open that file
8068 rather than the default file name, and don't ignore ENOENT.
8069 (create_archive): Set AH.fname to NULL.
8070 (delete_locales_from_archive): Likewise.
8071 (add_locales_to_archive): Likewise.
8072 * locale/programs/locfile.c (write_all_categories): Likewise.
8073
3c8325fb
JM
80742013-10-18 Joseph Myers <joseph@codesourcery.com>
8075 Aldy Hernandez <aldyh@redhat.com>
8076
8077 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8078 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8079 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8080 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8081 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8082 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8083 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8084 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8085 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8086 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8087 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8088 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8089 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8090 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8091 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8092 Likewise.
8093 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8094 Likewise.
8095 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8096 Likewise.
8097 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8098 Likewise.
8099 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8100 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8101 Likewise.
8102 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8103 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8104 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8105 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8106 Likewise.
8107 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8108 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8109 * sysdeps/powerpc/preconfigure: Likewise.
8110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8111 Likewise.
8112 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8113 Replace contents of file by #include of <fenv_libc.h>.
8114 * sysdeps/powerpc/soft-fp/sfp-machine.h
8115 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8116 and <sys/prctl.h>.
8117 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8118 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8130 Allow copysignl PLT reference to be missing.
8131
5abe0682
RS
81322013-10-18 Richard Sandiford <richard@codesourcery.com>
8133 Joseph Myers <joseph@codesourcery.com
8134
8135 [BZ #15948]
8136 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8137 single character.
8138 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8139
c7738d08
SP
81402013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8141
8142 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8143 * elf/tst-tls1.c: Likewise.
8144 * elf/tst-tls10.h: Likewise.
8145 * elf/tst-tls14.c: Likewise.
8146 * elf/tst-tls2.c: Likewise.
8147 * elf/tst-tls3.c: Likewise.
8148 * elf/tst-tls4.c: Likewise.
8149 * elf/tst-tls5.c: Likewise.
8150 * elf/tst-tls6.c: Likewise.
8151 * elf/tst-tls7.c: Likewise.
8152 * elf/tst-tls8.c: Likewise.
8153 * elf/tst-tls9.c: Likewise.
8154 * elf/tst-tlsmod1.c: Likewise.
8155 * elf/tst-tlsmod13.c: Likewise.
8156 * elf/tst-tlsmod13a.c: Likewise.
8157 * elf/tst-tlsmod14a.c: Likewise.
8158 * elf/tst-tlsmod16a.c: Likewise.
8159 * elf/tst-tlsmod16b.c: Likewise.
8160 * elf/tst-tlsmod2.c: Likewise.
8161 * elf/tst-tlsmod3.c: Likewise.
8162 * elf/tst-tlsmod4.c: Likewise.
8163 * elf/tst-tlsmod5.c: Likewise.
8164 * elf/tst-tlsmod6.c: Likewise.
8165
0bfcf2c7
OB
81662013-10-18 Ondřej Bílka <neleai@seznam.cz>
8167
8168 [BZ #12486]
8169 * malloc/malloc.c: remove checks for statistics.
8170
264aad1e
OB
81712013-10-17 Ondřej Bílka <neleai@seznam.cz>
8172
8173 [BZ #15277]
8174 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8175 * inet/tst-network.c: Add testcase.
8176
b957ced8
AS
81772013-10-17 Andreas Schwab <schwab@suse.de>
8178
8179 [BZ #15218]
8180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8181 to determine canonical name.
8182
c5d5d574
OB
81832013-10-17 Ondřej Bílka <neleai@seznam.cz>
8184
8185 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8186 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8187 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8191 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8192 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8193 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8195 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8196 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8199 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8200 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8202 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8203 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8209 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8210 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8215 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8217 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8218 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8219 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8220 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8222 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8224 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8228 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8229 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8233 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8240 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8242 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8243
e5c2c2d0
JM
82442013-10-17 Joseph Myers <joseph@codesourcery.com>
8245
8246 [BZ #16041]
8247 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8248 make result into a quiet NaN.
8249
51ca9e29
JM
82502013-10-16 Joseph Myers <joseph@codesourcery.com>
8251
8252 * soft-fp/adddf3.c: Fix horizontal whitespace.
8253 * soft-fp/addsf3.c: Likewise.
8254 * soft-fp/addtf3.c: Likewise.
8255 * soft-fp/divdf3.c: Likewise.
8256 * soft-fp/divsf3.c: Likewise.
8257 * soft-fp/divtf3.c: Likewise.
8258 * soft-fp/double.h: Likewise.
8259 * soft-fp/eqdf2.c: Likewise.
8260 * soft-fp/eqsf2.c: Likewise.
8261 * soft-fp/eqtf2.c: Likewise.
8262 * soft-fp/extenddftf2.c: Likewise.
8263 * soft-fp/extended.h: Likewise.
8264 * soft-fp/extendsfdf2.c: Likewise.
8265 * soft-fp/extendsftf2.c: Likewise.
8266 * soft-fp/extendxftf2.c: Likewise.
8267 * soft-fp/fixdfdi.c: Likewise.
8268 * soft-fp/fixdfsi.c: Likewise.
8269 * soft-fp/fixdfti.c: Likewise.
8270 * soft-fp/fixsfdi.c: Likewise.
8271 * soft-fp/fixsfsi.c: Likewise.
8272 * soft-fp/fixsfti.c: Likewise.
8273 * soft-fp/fixtfdi.c: Likewise.
8274 * soft-fp/fixtfsi.c: Likewise.
8275 * soft-fp/fixtfti.c: Likewise.
8276 * soft-fp/fixunsdfdi.c: Likewise.
8277 * soft-fp/fixunsdfsi.c: Likewise.
8278 * soft-fp/fixunsdfti.c: Likewise.
8279 * soft-fp/fixunssfdi.c: Likewise.
8280 * soft-fp/fixunssfsi.c: Likewise.
8281 * soft-fp/fixunssfti.c: Likewise.
8282 * soft-fp/fixunstfdi.c: Likewise.
8283 * soft-fp/fixunstfsi.c: Likewise.
8284 * soft-fp/fixunstfti.c: Likewise.
8285 * soft-fp/floatdidf.c: Likewise.
8286 * soft-fp/floatdisf.c: Likewise.
8287 * soft-fp/floatditf.c: Likewise.
8288 * soft-fp/floatsidf.c: Likewise.
8289 * soft-fp/floatsisf.c: Likewise.
8290 * soft-fp/floatsitf.c: Likewise.
8291 * soft-fp/floattidf.c: Likewise.
8292 * soft-fp/floattisf.c: Likewise.
8293 * soft-fp/floattitf.c: Likewise.
8294 * soft-fp/floatundidf.c: Likewise.
8295 * soft-fp/floatundisf.c: Likewise.
8296 * soft-fp/floatunditf.c: Likewise.
8297 * soft-fp/floatunsidf.c: Likewise.
8298 * soft-fp/floatunsisf.c: Likewise.
8299 * soft-fp/floatunsitf.c: Likewise.
8300 * soft-fp/floatuntidf.c: Likewise.
8301 * soft-fp/floatuntisf.c: Likewise.
8302 * soft-fp/floatuntitf.c: Likewise.
8303 * soft-fp/fmadf4.c: Likewise.
8304 * soft-fp/fmasf4.c: Likewise.
8305 * soft-fp/fmatf4.c: Likewise.
8306 * soft-fp/gedf2.c: Likewise.
8307 * soft-fp/gesf2.c: Likewise.
8308 * soft-fp/getf2.c: Likewise.
8309 * soft-fp/ledf2.c: Likewise.
8310 * soft-fp/lesf2.c: Likewise.
8311 * soft-fp/letf2.c: Likewise.
8312 * soft-fp/muldf3.c: Likewise.
8313 * soft-fp/mulsf3.c: Likewise.
8314 * soft-fp/multf3.c: Likewise.
8315 * soft-fp/negdf2.c: Likewise.
8316 * soft-fp/negsf2.c: Likewise.
8317 * soft-fp/negtf2.c: Likewise.
8318 * soft-fp/op-1.h: Likewise.
8319 * soft-fp/op-2.h: Likewise.
8320 * soft-fp/op-4.h: Likewise.
8321 * soft-fp/op-8.h: Likewise.
8322 * soft-fp/op-common.h: Likewise.
8323 * soft-fp/quad.h: Likewise.
8324 * soft-fp/single.h: Likewise.
8325 * soft-fp/soft-fp.h: Likewise.
8326 * soft-fp/sqrtdf2.c: Likewise.
8327 * soft-fp/sqrtsf2.c: Likewise.
8328 * soft-fp/sqrttf2.c: Likewise.
8329 * soft-fp/subdf3.c: Likewise.
8330 * soft-fp/subsf3.c: Likewise.
8331 * soft-fp/subtf3.c: Likewise.
8332 * soft-fp/truncdfsf2.c: Likewise.
8333 * soft-fp/trunctfdf2.c: Likewise.
8334 * soft-fp/trunctfsf2.c: Likewise.
8335 * soft-fp/trunctfxf2.c: Likewise.
8336 * soft-fp/unorddf2.c: Likewise.
8337 * soft-fp/unordsf2.c: Likewise.
8338 * soft-fp/unordtf2.c: Likewise.
8339
9ebb0332
JM
83402013-10-15 Joseph Myers <joseph@codesourcery.com>
8341
8342 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8343 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8344
4b1a6d8b
OB
83452013-10-15 Ondřej Bílka <neleai@seznam.cz>
8346
8347 * elf/dl-libc.c: Clear initfini list after freeing.
8348
1e145589
JM
83492013-10-14 Joseph Myers <joseph@codesourcery.com>
8350
8351 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8352 * soft-fp/addsf3.c: Likewise.
8353 * soft-fp/addtf3.c: Likewise.
8354 * soft-fp/divdf3.c: Likewise.
8355 * soft-fp/divsf3.c: Likewise.
8356 * soft-fp/divtf3.c: Likewise.
8357 * soft-fp/double.h: Likewise.
8358 * soft-fp/eqdf2.c: Likewise.
8359 * soft-fp/eqsf2.c: Likewise.
8360 * soft-fp/eqtf2.c: Likewise.
8361 * soft-fp/extenddftf2.c: Likewise.
8362 * soft-fp/extended.h: Likewise.
8363 * soft-fp/extendsfdf2.c: Likewise.
8364 * soft-fp/extendsftf2.c: Likewise.
8365 * soft-fp/extendxftf2.c: Likewise.
8366 * soft-fp/fixdfdi.c: Likewise.
8367 * soft-fp/fixdfsi.c: Likewise.
8368 * soft-fp/fixdfti.c: Likewise.
8369 * soft-fp/fixsfdi.c: Likewise.
8370 * soft-fp/fixsfsi.c: Likewise.
8371 * soft-fp/fixsfti.c: Likewise.
8372 * soft-fp/fixtfdi.c: Likewise.
8373 * soft-fp/fixtfsi.c: Likewise.
8374 * soft-fp/fixtfti.c: Likewise.
8375 * soft-fp/fixunsdfdi.c: Likewise.
8376 * soft-fp/fixunsdfsi.c: Likewise.
8377 * soft-fp/fixunsdfti.c: Likewise.
8378 * soft-fp/fixunssfdi.c: Likewise.
8379 * soft-fp/fixunssfsi.c: Likewise.
8380 * soft-fp/fixunssfti.c: Likewise.
8381 * soft-fp/fixunstfdi.c: Likewise.
8382 * soft-fp/fixunstfsi.c: Likewise.
8383 * soft-fp/fixunstfti.c: Likewise.
8384 * soft-fp/floatdidf.c: Likewise.
8385 * soft-fp/floatdisf.c: Likewise.
8386 * soft-fp/floatditf.c: Likewise.
8387 * soft-fp/floatsidf.c: Likewise.
8388 * soft-fp/floatsisf.c: Likewise.
8389 * soft-fp/floatsitf.c: Likewise.
8390 * soft-fp/floattidf.c: Likewise.
8391 * soft-fp/floattisf.c: Likewise.
8392 * soft-fp/floattitf.c: Likewise.
8393 * soft-fp/floatundidf.c: Likewise.
8394 * soft-fp/floatundisf.c: Likewise.
8395 * soft-fp/floatunsidf.c: Likewise.
8396 * soft-fp/floatunsisf.c: Likewise.
8397 * soft-fp/floatuntidf.c: Likewise.
8398 * soft-fp/floatuntisf.c: Likewise.
8399 * soft-fp/floatuntitf.c: Likewise.
8400 * soft-fp/fmadf4.c: Likewise.
8401 * soft-fp/fmasf4.c: Likewise.
8402 * soft-fp/fmatf4.c: Likewise.
8403 * soft-fp/gedf2.c: Likewise.
8404 * soft-fp/gesf2.c: Likewise.
8405 * soft-fp/getf2.c: Likewise.
8406 * soft-fp/ledf2.c: Likewise.
8407 * soft-fp/lesf2.c: Likewise.
8408 * soft-fp/letf2.c: Likewise.
8409 * soft-fp/muldf3.c: Likewise.
8410 * soft-fp/mulsf3.c: Likewise.
8411 * soft-fp/multf3.c: Likewise.
8412 * soft-fp/negdf2.c: Likewise.
8413 * soft-fp/negsf2.c: Likewise.
8414 * soft-fp/negtf2.c: Likewise.
8415 * soft-fp/op-1.h: Likewise.
8416 * soft-fp/op-2.h: Likewise.
8417 * soft-fp/op-4.h: Likewise.
8418 * soft-fp/op-8.h: Likewise.
8419 * soft-fp/op-common.h: Likewise.
8420 * soft-fp/quad.h: Likewise.
8421 * soft-fp/single.h: Likewise.
8422 * soft-fp/soft-fp.h: Likewise.
8423 * soft-fp/sqrtdf2.c: Likewise.
8424 * soft-fp/sqrtsf2.c: Likewise.
8425 * soft-fp/sqrttf2.c: Likewise.
8426 * soft-fp/subdf3.c: Likewise.
8427 * soft-fp/subsf3.c: Likewise.
8428 * soft-fp/subtf3.c: Likewise.
8429 * soft-fp/truncdfsf2.c: Likewise.
8430 * soft-fp/trunctfdf2.c: Likewise.
8431 * soft-fp/trunctfsf2.c: Likewise.
8432 * soft-fp/trunctfxf2.c: Likewise.
8433 * soft-fp/unorddf2.c: Likewise.
8434 * soft-fp/unordsf2.c: Likewise.
8435 * soft-fp/unordtf2.c: Likewise.
8436
17c48a60
OB
84372013-10-14 Ondřej Bílka <neleai@seznam.cz>
8438
8439 [BZ #15672]
8440 * misc/error.c (error_tail): Fix possible buffer overflow.
8441
cabba934
OB
84422013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8443
8444 [BZ #13028]
8445 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8446 address.
8447
94bf958a
PM
84482013-10-14 P. J. McDermott <pj@pehjota.net>
8449
8450 [BZ #832]
8451 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8452 testing pipefail option.
8453
71b4dea7
JM
84542013-10-12 Joseph Myers <joseph@codesourcery.com>
8455
8456 * soft-fp/double.h: Indent preprocessor directives inside #if.
8457 * soft-fp/extended.h: Likewise.
8458 * soft-fp/op-2.h: Likewise.
8459 * soft-fp/op-4.h: Likewise.
8460 * soft-fp/op-common.h: Likewise.
8461 * soft-fp/quad.h: Likewise.
8462 * soft-fp/single.h: Likewise.
8463 * soft-fp/soft-fp.h: Likewise.
8464
55602758
YC
84652013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8466
8467 * iconv/iconv_prog.c: Fix typos.
8468 * stdio-common/psiginfo-data.h: Likewise.
8469
9cd83302
RT
84702013-10-12 Reuben Thomas <rrt@sc3d.org>
8471
8472 [BZ #15764]
8473 * locale/setlocale.c: Fix typo.
8474
99fd9f47
JM
84752013-10-12 Joseph Myers <joseph@codesourcery.com>
8476
b7ea74f0
JM
8477 [BZ #16036]
8478 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8479 signaling NaN arguments.
8480 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8481 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8482
8a509447
JM
8483 [BZ #14910]
8484 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8485 unordered operands.
8486 * soft-fp/gesf2.c (__gesf2): Likewise.
8487 * soft-fp/getf2.c (__getf2): Likewise.
8488 * soft-fp/ledf2.c (__ledf2): Likewise.
8489 * soft-fp/lesf2.c (__lesf2): Likewise.
8490 * soft-fp/letf2.c (__letf2): Likewise.
8491
98998e9f
JM
8492 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8493 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8494 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8495 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8496 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8497 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8498 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8499 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8500 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8501 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8502 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8503 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8504 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8505 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8506 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8507 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8508 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8509 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8510 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8511 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8512 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8513 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8514 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8515 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8516 * soft-fp/floattidf.c (__floattidf): Likewise.
8517 * soft-fp/floattisf.c (__floattisf): Likewise.
8518 * soft-fp/floattitf.c (__floattitf): Likewise.
8519 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8520 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8521 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8522 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8523 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8524 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8525 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8526 * soft-fp/gesf2.c (__gesf2): Likewise.
8527 * soft-fp/getf2.c (__getf2): Likewise.
8528 * soft-fp/ledf2.c (__ledf2): Likewise.
8529 * soft-fp/lesf2.c (__lesf2): Likewise.
8530 * soft-fp/letf2.c (__letf2): Likewise.
8531
8edc4a11
JM
8532 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8533 Undefine and redefine.
8534 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8535 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8536 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8537 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8538 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8539 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8540 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8541 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8542 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8543 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8544 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8545 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8546 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8547 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8548 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8549
8399acaf
JM
8550 [BZ #16032]
8551 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8552 without decrementing exponent if mantissa >= that for the
8553 denominator, not >.
8554 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8555 denominator, not >. Decrement exponent in < case instead of
8556 incrementing in >= case.
8557 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8558 without decrementing exponent if mantissa >= that for the
8559 denominator, not >.
8560
99fd9f47
JM
8561 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8562 computing saturated result for unsigned overflow.
8563
10e1cf6b
SP
85642013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8565 Jeff Law <law@redhat.com>
8566
8567 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8568 (atan2Mp): Add systemtap probe marker.
8569 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8570 (__ieee754_log): Add systemtap probe marker.
8571 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8572 (atanMp): Add systemtap probe marker.
8573 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8574 (tanMp): Add systemtap probe marker.
8575 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8576 (__slowexp): Add systemtap probe marker.
8577 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8578 (__slowpow): Add systemtap probe marker.
8579 * manual/probes.texi: Document probes.
8580
3d110c7c
EB
85812013-10-11 Eric Biggers <ebiggers3@gmail.com>
8582
8583 [BZ #15362]
8584 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8585 written.
8586 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8587 written.
8588 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8589 written to buffer but not flushed.
8590 * libio/iofwrite_u.c: Likewise.
8591 * libio/iopadn.c: Return bytes returned even if EOF was
8592 encountered.
8593 * libio/iowpadn.c: Likewise.
8594 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8595 if _IO_padn does not write the whole buffer.
8596 [!COMPILE_WPRINTF] (PAD): Likewise.
8597
75b4202a
DM
85982013-10-10 David S. Miller <davem@davemloft.net>
8599
8600 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8601 directory block.
8602
6c6352e6
JM
86032013-10-10 Joseph Myers <joseph@codesourcery.com>
8604
33b853c3
JM
8605 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8606 instead of FSF address.
8607 * soft-fp/fixdfti.c: Likewise.
8608 * soft-fp/fixsfti.c: Likewise.
8609 * soft-fp/fixtfti.c: Likewise.
8610 * soft-fp/fixunsdfti.c: Likewise.
8611 * soft-fp/fixunssfti.c: Likewise.
8612 * soft-fp/fixunstfti.c: Likewise.
8613 * soft-fp/floattidf.c: Likewise.
8614 * soft-fp/floattisf.c: Likewise.
8615 * soft-fp/floattitf.c: Likewise.
8616 * soft-fp/floatuntidf.c: Likewise.
8617 * soft-fp/floatuntisf.c: Likewise.
8618 * soft-fp/floatuntitf.c: Likewise.
8619 * soft-fp/trunctfxf2.c: Likewise.
8620
6c6352e6
JM
8621 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8622 * soft-fp/fixdfti.c: Likewise.
8623 * soft-fp/fixsfti.c: Likewise.
8624 * soft-fp/fixtfti.c: Likewise.
8625 * soft-fp/fixunsdfti.c: Likewise.
8626 * soft-fp/fixunssfti.c: Likewise.
8627 * soft-fp/fixunstfti.c: Likewise.
8628 * soft-fp/floattidf.c: Likewise.
8629 * soft-fp/floattisf.c: Likewise.
8630 * soft-fp/floattitf.c: Likewise.
8631 * soft-fp/floatuntidf.c: Likewise.
8632 * soft-fp/floatuntisf.c: Likewise.
8633 * soft-fp/floatuntitf.c: Likewise.
8634 * soft-fp/trunctfxf2.c: Likewise.
8635
3bf78b71
DM
86362013-10-10 David S. Miller <davem@davemloft.net>
8637
8638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8639
6f10289e
JM
86402013-10-10 Joseph Myers <joseph@codsourcery.com>
8641
bd878fc0
JM
8642 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8643 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8644 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8645 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8646 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8647 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8648 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8649
6f10289e
JM
8650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8651 for NaNs before doing comparisons on argument.
8652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8653 Likewise.
8654
321e2684
WN
86552013-10-10 Will Newton <will.newton@linaro.org>
8656
8657 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8658 passed to _int_memalign does not overflow.
8659
40fefba1
TR
86602013-10-10 Torvald Riegel <triegel@redhat.com>
8661
8662 * scripts/bench.pl: Add include-sources directive.
8663 * benchtests/README: Update documentation.
8664
2ae21ed2
JM
86652013-10-10 Joseph Myers <joseph@codesourcery.com>
8666
dcc2dd3f
JM
8667 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8668 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8669 instead of FP_INIT_ROUNDMODE.
8670 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8671 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8672
2ae21ed2
JM
8673 [BZ #16034]
8674 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8675 copy class of input value.
8676 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8677 not handle exceptions.
8678 * soft-fp/negsf2.c (__negsf2): Likewise.
8679 * soft-fp/negtf2.c (__negtf2): Likewise.
8680 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8681
cb8f9562
JM
86822013-10-09 Joseph Myers <joseph@codesourcery.com>
8683
8684 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8685 semicolon. From Linux kernel.
8686
5b60c59d
AB
86872013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8688
8689 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8690
b86835ca
YC
86912013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8692
8693 [BZ #156]
8694 * manual/socket.texi: Added statement about buffer
8695 for gethostbyname2_r.
8696
e7044ea7
OB
86972013-10-08 Ondřej Bílka <neleai@seznam.cz>
8698
8699 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8700 Use .p2align directive instead, throughout.
8701 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8702 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8703 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8704 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8705 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8706 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8707 * sysdeps/x86_64/strchr.S: Likewise.
8708 * sysdeps/x86_64/strrchr.S: Likewise.
8709
09544cbc
SP
87102013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8711
88576635
SP
8712 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8713
e7b2d1dd
SP
8714 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8715
09544cbc
SP
8716 * sysdeps/generic/math_private.h (__mpsin1): Remove
8717 declaration.
8718 (__mpcos1): Likewise.
8719 (__mpsin): New argument __range_reduce.
8720 (__mpcos): Likewise.
8721 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8722 (slow): Use __mpsin and __mpcos.
8723 (slow1): Likewise.
8724 (slow2): Likewise.
8725 (sloww): Likewise.
8726 (sloww1): Likewise.
8727 (sloww2): Likewise.
8728 (bsloww): Likewise.
8729 (bsloww1): Likewise.
8730 (bsloww2): Likewise.
8731 (cslow2): Likewise.
8732 (csloww): Likewise.
8733 (csloww1): Likewise.
8734 (csloww2): Likewise.
8735 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8736 range_reduce. Merge in __mpsin1.
8737 (__mpcos): Likewise.
8738 (__mpsin1): Remove.
8739 (__mpcos1): Likewise.
8740
7602d070
JM
87412013-10-07 Joseph Myers <joseph@codesourcery.com>
8742
8743 * locale/loadlocale.c (_nl_intern_locale_data): Use
8744 LOCFILE_ALIGNED_P.
8745 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8746 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8747 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8748 obstack data is appropriately aligned.
8749 (obstack_int32_grow_fast): Likewise.
8750 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8751 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8752 (add_locale_uint32_array): Likewise.
8753
a357259b
SP
87542013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8755
8756 * benchtests/Makefile: Remove ARGLIST and RET variables.
8757 ($(objpfx)bench-%.c): Pass only function name to the script.
8758 * benchtests/README: Update documentation.
8759 * benchtests/acos-inputs: Add new directives.
8760 * benchtests/acosh-inputs: Likewise.
8761 * benchtests/asin-inputs: Likewise.
8762 * benchtests/asinh-inputs: Likewise.
8763 * benchtests/atan-inputs: Likewise.
8764 * benchtests/atanh-inputs: Likewise.
8765 * benchtests/cos-inputs: Likewise.
8766 * benchtests/cosh-inputs: Likewise.
8767 * benchtests/exp-inputs: Likewise.
8768 * benchtests/log-inputs: Likewise.
8769 * benchtests/pow-inputs: Likewise.
8770 * benchtests/rint-inputs: Likewise.
8771 * benchtests/sin-inputs: Likewise.
8772 * benchtests/sinh-inputs: Likewise.
8773 * benchtests/tan-inputs: Likewise.
8774 * benchtests/tanh-inputs: Likewise.
8775 * scripts/bench.pl: Add support for new directives.
8776
9ec1b13d
AM
87772013-10-07 Alan Modra <amodra@gmail.com>
8778
8779 * README: Fix careless merge.
8780
8b7d57cd
AM
87812013-10-05 Alan Modra <amodra@gmail.com>
8782
8783 * NEWS: Mention powerpc64le support and bugs fixed.
8784 * README: Both big-endian and little-endian powerpc64 supported.
8785
7b7bab13
ST
87862013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8787
8788 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8789 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8790 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8791 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8792
d39baad1
RA
87932013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8794
8795 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8796 match prototype.
8797
cd78f7e7
JM
87982013-10-04 Joseph Myers <joseph@codesourcery.com>
8799
29d73d86
JM
8800 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8801 Move -mhard-float appending from
8802 ports/sysdeps/powerpc/powerpc32/Makefile.
8803 [$(with-fp) = yes] (ASFLAGS): Likewise.
8804 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8805 * sysdeps/powerpc/nofpu: Move directory from
8806 ports/sysdeps/powerpc/nofpu.
8807 * sysdeps/powerpc/soft-fp: Move directory from
8808 ports/sysdeps/powerpc/soft-fp.
8809 * sysdeps/powerpc/powerpc32/405: Move directory from
8810 ports/sysdeps/powerpc/powerpc32/405.
8811 * sysdeps/powerpc/powerpc32/440: Move directory from
8812 ports/sysdeps/powerpc/powerpc32/440.
8813 * sysdeps/powerpc/powerpc32/464: Move directory from
8814 ports/sysdeps/powerpc/powerpc32/464.
8815 * sysdeps/powerpc/powerpc32/476: Move directory from
8816 ports/sysdeps/powerpc/powerpc32/476.
8817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8818 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8820 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8822 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8824 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8826 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8827 * README: Update for powerpc-*-linux-gnu software floating point
8828 support in libc.
8829
e246b347
JM
8830 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8831 case to powerpc/powerpc32*.
8832 * sysdeps/unix/sysv/linux/configure: Regenerated.
8833
89c2003e
JM
8834 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8835 (_FPU_MASK_OM): Define as 0x04.
8836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8838 0x00c10080.
8839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8840 0x0000003c.
8841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8842
cd78f7e7
JM
8843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8844 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8845 getcontext_e500.
8846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8847 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8848 setcontext_e500.
8849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8850 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8851 and setcontext_e500.
8852
c755294d
CL
88532013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8854
8855 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8856
e16d221c
SP
88572013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8858
8859 * manual/threads.texi (Default Thread Attributes): Fix typo.
8860
215c7d43
WN
88612013-10-04 Will Newton <will.newton@linaro.org>
8862
8863 * malloc/Makefile: Add tst-memalign.
8864 * malloc/tst-memalign.c: New file.
8865
27d0461b
WN
8866 * malloc/tst-posix_memalign.c: Add comments.
8867 (do_test): Add comments and call free on all potentially
8868 allocated pointers. Add space after cast.
8869
1bc92709
WN
8870 * malloc/tst-pvalloc.c: Add comments.
8871 (do_test): Add comments and call free on all potentially
8872 allocated pointers. Remove duplicate check for NULL pointer.
8873 Add space after cast.
8874
66a9be9d
WN
8875 * malloc/tst-valloc.c: Add comments.
8876 (do_test): Add comments and call free on all potentially
8877 allocated pointers. Remove duplicate check for NULL pointer.
8878 Add space after cast.
8879
4cb81307
AM
88802013-10-04 Alan Modra <amodra@gmail.com>
8881
8882 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8883 Use stdint types in rather than __attribute__((mode())).
8884 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8885
f8e3e9f3
AM
88862013-10-04 Alan Modra <amodra@gmail.com>
8887
8888 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8889 Correct handling of unaligned relocs for little-endian.
8890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8891
8f9ebb08
AM
88922013-10-04 Alan Modra <amodra@gmail.com>
8893
8894 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8895 * configure: Regenerate.
8896 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8897 * shlib-versions: Likewise.
8898
0edf96c2
AM
88992013-10-04 Alan Modra <amodra@gmail.com>
8900
8901 * string/tester.c (test_memrchr): Increment reported test cycle.
8902
e0f7a380
AM
89032013-10-04 Alan Modra <amodra@gmail.com>
8904
8905 * string/test-memcpy.c (do_one_test): When reporting errors, print
8906 string address and don't overrun end of string.
8907
466b0393
AM
89082013-10-04 Alan Modra <amodra@gmail.com>
8909
8910 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8911 insrdi. Make better use of reg selection to speed exit slightly.
8912 Schedule entry path a little better. Remove useless "are we done"
8913 checks on entry to main loop. Handle wrapping around zero address.
8914 Correct main loop count. Handle single left-over word from main
8915 loop inline rather than by using loop_small. Remove extra word
8916 case in loop_small caused by wrong loop count. Add little-endian
8917 support.
8918 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8920 cache hint.
8921 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8922 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8923 support. Avoid rlwimi.
8924 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8925
3be87c77
AM
89262013-10-04 Alan Modra <amodra@gmail.com>
8927
8928 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8929 insrdi. Formatting.
3be87c77
AM
8930 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8931 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8932 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8933 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8934 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8935 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8936
759cfef3
AM
89372013-10-04 Alan Modra <amodra@gmail.com>
8938
8939 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8940 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8941 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8942 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8943 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8944 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8945 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8946 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8947 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8948 use of regs. Use power7 mtocrf. Tidy function tails.
8949
fe6e95d7
AM
89502013-10-04 Alan Modra <amodra@gmail.com>
8951
8952 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8953 Formatting. Consistently use rXXX register defines or rN defines.
8954 Use early exit labels that avoid restoring unused non-volatile regs.
8955 Make cr field use more consistent with rWORDn compares. Rename
8956 regs used as shift registers for unaligned loop, using rN defines
8957 for short lifetime/multiple use regs.
8958 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8959 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8960 addi 1,1,64 to pop stack frame. Simplify return value code.
8961 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8962
664318c3
AM
89632013-10-04 Alan Modra <amodra@gmail.com>
8964
8965 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8966 support. Correct typos, formatting. Optimize tail. Use insrdi
8967 rather than rlwimi.
8968 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8969 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8970 little-endian support. Correct typos.
8971 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8972 rather than rlwimi.
8973 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8974 in loop and entry code to keep "and." results.
8975 (strchr): Add little-endian support. Comment. Move cntlzd
8976 earlier in tail.
8977 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8978
43b84013
AM
89792013-10-04 Alan Modra <amodra@gmail.com>
8980
8981 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8982 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8983 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8984 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8985
8a7413f9
AM
89862013-10-04 Alan Modra <amodra@gmail.com>
8987
8988 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8989 (rTMP): Define as r11.
8990 (strcmp): Add little-endian support. Optimise tail.
8991 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8992 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8993 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8994 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8995 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8997 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8998
33ee81de
AM
89992013-10-04 Alan Modra <amodra@gmail.com>
9000
9001 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9002 little-endian support. Remove unnecessary "are we done" tests.
9003 Handle "s" wrapping around zero and extremely large "size".
9004 Correct main loop count. Handle single left-over word from main
9005 loop inline rather than by using small_loop. Correct comments.
9006 Delete "zero" tail, use "end_max" instead.
9007 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9008
db9b4570
AM
90092013-10-04 Alan Modra <amodra@gmail.com>
9010
9011 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9012 support. Don't branch over align.
9013 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9014 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9015 support. Rearrange tmp reg use to suit. Comment.
9016 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9017
f7c399cf
AM
90182013-10-04 Alan Modra <amodra@gmail.com>
9019
9020 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9021
0b2c2ace
AM
90222013-10-04 Alan Modra <amodra@gmail.com>
9023
9024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9025 conditional form of branch and link when obtaining pc.
9026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9027
02f04a6c
AM
90282013-10-04 Alan Modra <amodra@gmail.com>
9029
9030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9031 HIWORD/LOWORD.
9032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9034
9b874b2f
AM
90352013-10-04 Alan Modra <amodra@gmail.com>
9036
9037 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9038 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9039 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9040 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9041 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9042 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9043 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9044 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9045 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9046 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9047
be1e5d31
AB
90482013-10-04 Anton Blanchard <anton@au1.ibm.com>
9049 Alistair Popple <alistair@ozlabs.au.ibm.com>
9050 Alan Modra <amodra@gmail.com>
9051
9052 [BZ #15723]
9053 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9054 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9055 _dl_hwcap access for little-endian.
9056 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9057 destroy vmx regs when saving unaligned.
9058 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9059 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9060 destroy vmx regs when saving unaligned.
9061
fef13a78
AM
90622013-10-04 Alan Modra <amodra@gmail.com>
9063
9064 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9065 Don't use a union to pack hi/low value.
9066
76a66d51
AB
90672013-10-04 Anton Blanchard <anton@au1.ibm.com>
9068
9069 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9070 for little-endian.
9071 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9072 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9073 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9074 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9075 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9076
6a31fe7f
AM
90772013-10-04 Alan Modra <amodra@gmail.com>
9078
9079 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9080 constants to usual value for .cst8 section, and remove redundant
9081 high address load.
9082 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9083 constant for 0x1p52. Load little-endian words of double from
9084 correct stack offsets.
9085
7b88401f
AM
90862013-10-04 Alan Modra <amodra@gmail.com>
9087
9088 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9089 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9090 words of double from correct stack offsets.
9091 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9092 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9093 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9094 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9095 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9096 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9097 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9098 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9099 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9100 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9101 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9102 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9103 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9104 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9105 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9106 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9107 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9108
9c008155
AM
91092013-10-04 Alan Modra <amodra@gmail.com>
9110
9111 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9112 64-bit int/double union.
9113 (_FPU_SETCW): Likewise.
9114 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9115 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9116
da13146d
AM
91172013-10-04 Alan Modra <amodra@gmail.com>
9118
9119 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9120 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9121
603e8410
AM
91222013-10-04 Alan Modra <amodra@gmail.com>
9123
9124 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9125 use vector int constants.
9126 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9127
4a28b3ca
AB
91282013-10-04 Anton Blanchard <anton@au1.ibm.com>
9129
9130 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9131 array with long long.
9132 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9133 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9134 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9135 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9136 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9137 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9138 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9139 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9140 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9141 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9142 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9143 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9144 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9145
2ca85d2b
AB
91462013-10-04 Anton Blanchard <anton@au1.ibm.com>
9147
9148 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9149 (__signbit): Likewise. Correct for little-endian.
9150 (__signbitl): Call __signbit.
9151 (lrint): Correct for little-endian.
9152 (lrintf): Call lrint.
9153
62a728ae
AM
91542013-10-04 Alan Modra <amodra@gmail.com>
9155
9156 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9157 union 32-bit int array member with 64-bit int array.
9158 (t515, tm256): Double rather than long double.
9159 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9160
32c301df
AM
91612013-10-04 Alan Modra <amodra@gmail.com>
9162
9163 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9164 Delete.
9165 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9166 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9167 version of math_ldbl.h.
9168
650ef4bd
AM
91692013-10-04 Alan Modra <amodra@gmail.com>
9170
9171 [BZ #15734], [BZ #15735]
9172 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9173 all uses of ieee875 long double macros and unions. Simplify test
9174 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9175 ldbl_extract_mantissa value for ix,iy exponents. Properly
9176 normalize after ldbl_extract_mantissa, and don't add hidden bit
9177 already handled. Don't treat low word of ieee854 mantissa like
9178 low word of IBM long double and mask off bit when testing for
9179 zero.
9180 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9181 all uses of ieee875 long double macros and unions. Simplify tests
9182 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9183 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9184 two1022, instead use their values. Recognise that tests for large
9185 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9186 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9187 Rewrite all uses of ieee875 long double macros and unions. Simplify
9188 test for 0.0L and nan. Correct negation.
9189 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9190 ieee875 long double macros and unions. Correct output for large
9191 magnitude x. Correct absolute value calculation.
9192 (__erfcl): Likewise.
9193 * math/libm-test.inc: Add tests for errors discovered in IBM long
9194 double versions of fmodl, remainderl, erfl and erfcl.
9195
765714ca
AM
91962013-10-04 Alan Modra <amodra@gmail.com>
9197
9198 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9199 all uses of ieee854 long double macros and unions. Simplify tests
9200 for long doubles that are fully specified by the high double.
9201 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9202 Likewise.
9203 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9204 Remove dead code too.
9205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9206 (__ieee754_ynl): Likewise.
9207 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9208 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9210 Remove dead code too.
9211 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9212 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9213 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9214 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9215 Simplify.
9216 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9217 Simplify.
9218 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9221 Comment on variable precision.
9222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9224 Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9226 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9227 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9228 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9229 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9230
4ebd120c
AM
92312013-10-04 Alan Modra <amodra@gmail.com>
9232
9233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9234 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9235 all uses of ieee854 long double macros and unions.
9236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9237 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9238 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9239 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9242 Likewise.
9243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9244 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9246 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9247 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9248 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9249 Simplify sign and nan test too.
9250 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9252 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9253 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9254 Likewise.
9255 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9256 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9257 Likewise.
9258 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9259 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9260 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9261 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9264
1b6adf88
AM
92652013-10-04 Alan Modra <amodra@gmail.com>
9266
9267 * stdio-common/printf_size.c (__printf_size): Don't use
9268 union ieee854_long_double in fpnum union.
9269 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9270 signbit macro to retrieve sign from long double.
9271 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9272 retrieve sign from long double.
9273 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9274 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9275 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9276 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9277 * math/test-misc.c (main): Don't use union ieee854_long_double.
9278
4cf69995
AM
92792013-10-04 Alan Modra <amodra@gmail.com>
9280
9281 [BZ #15680]
9282 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9283 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9284 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9285 calculation. Remove unnecessary test for denormal exponent.
9286 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9287 Correct handling of denormals. Avoid undefined shift behaviour.
9288 Correct normalisation of low mantissa when low double is denormal.
9289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9290 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9291 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9292 Correct normalisation of low mantissa. Test for overflow of high
9293 mantissa and normalise.
9294 (ldbl_nearbyint): Use more readable constant for two52.
9295 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9296 (__mpn_construct_long_double): Fix test for overflow of high
9297 mantissa and correct normalisation. Avoid undefined shift.
9298
9605ca6c
AM
92992013-10-04 Alan Modra <amodra@gmail.com>
9300
9301 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9302 (union ibm_extended_long_double): Define as an array of ieee754_double.
9303 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9304 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9305 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9306 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9310 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9314
975569d0
JM
93152013-10-03 Joseph Myers <joseph@codesourcery.com>
9316
d3d23756
JM
9317 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9318 page size instead of calling getpagesize.
9319
975569d0
JM
9320 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9321 (LOCFILE_ALIGN_MASK): Likewise.
9322 (LOCFILE_ALIGN_UP): Likewise.
9323 (LOCFILE_ALIGNED_P): Likewise.
9324 * locale/programs/ld-collate.c (collate_output): Use the new
9325 macros instead of __alignof__ (int32_t).
9326 * locale/weight.h (findidx): Likewise.
9327
b1fe1f2b
OB
93282013-10-03 Ondřej Bílka <neleai@seznam.cz>
9329
9330 [BZ #431]
9331 * manual/string.texi: Fix strncat and wcsncat.
9332
5f855e35
BM
93332013-10-03 Brooks Moses <bmoses@google.com>
9334
9335 [BZ #15915]
9336 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9337 * Makerules: ...here, and adjust associated comments.
9338
3cef6009
WN
93392013-10-02 Will Newton <will.newton@linaro.org>
9340
9341 * malloc/Makefile: Add tst-pvalloc.
9342 * malloc/tst-pvalloc.c: New file.
9343
7815420b
WN
93442013-10-02 Will Newton <will.newton@linaro.org>
9345
9346 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9347 improve test coverage.
9348
4868b204
WN
93492013-10-02 Will Newton <will.newton@linaro.org>
9350
9351 * malloc/Makefile: Add tst-posix_memalign.
9352 * malloc/tst-posix_memalign.c: New file.
9353
29c793b3
EB
93542013-10-01 Eric Blake <eblake@redhat.com>
9355
9356 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9357 Use __THROWNL rather than __THROW on static functions.
9358
fd967522
PM
93592013-09-30 Petr Machata <pmachata@redhat.com>
9360
9361 * elf/elf.h (R_AARCH64_ABS16): New macro.
9362 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9363 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9364 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9365 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9366 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9367 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9368 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9369 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9370 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9371 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9372 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9373 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9374 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9375 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9376 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9377 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9378 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9379 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9380 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9381 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9382 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9383 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9384 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9385 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9386 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9387 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9388 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9389 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9390 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9391 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9392 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9393 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9394 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9395 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9396 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9397 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9398 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9399 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9400 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9401 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9402 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9403 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9404 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9405 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9406 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9407 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9408 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9409 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9410 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9411 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9412 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9413 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9414 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9415 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9416 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9417 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9418 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9419 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9420 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9421 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9422 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9423 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9424 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9425 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9426 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9427 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9428 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9429 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9430 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9431 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9432 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9433 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9434 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9435 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9436 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9437 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9438 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9439 (R_AARCH64_TLSDESC_LDR): Likewise.
9440 (R_AARCH64_TLSDESC_ADD): Likewise.
9441 (R_AARCH64_TLSDESC_CALL): Likewise.
9442
b2179107
AS
94432013-09-30 Andreas Schwab <schwab@suse.de>
9444
9445 [BZ #15048]
9446 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9447 the nss database lookup.
9448 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9450
47f28d0a
MF
94512013-09-28 Mike Frysinger <vapier@gentoo.org>
9452
9453 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9454
94552013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9456
9457 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9458 ${Bash-specific parameter/pattern/string} parameter expansion.
9459 * sysdeps/unix/make-syscalls.sh: Likewise.
9460
f4518a17
KK
94612013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9462
9463 * sysdeps/sh/stackguard-macros.h: New file.
9464
dc1a95c7
OB
94652013-09-26 Ondřej Bílka <neleai@seznam.cz>
9466
9467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9469 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9470 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9471 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9472 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9473
5ebbff8f
AZ
94742013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9475
9476 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9477 Fix thread ID register.
9478
4fd2cf9f
JM
94792013-09-25 Joseph Myers <joseph@codesourcery.com>
9480
9481 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9482 [POSIX || UNIX98]: Require rather than permitting all symbols from
9483 <time.h>.
9484 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9485 element of struct sched_param.
9486 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9487 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9488 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9489 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9490 constant.
9491
12c22bc4
OL
94922013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9493
9494 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9495 argument calculation.
9496
a03d8ea7
JM
94972013-09-24 Joseph Myers <joseph@codesourcery.com>
9498
9499 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9500 Expect macro.
9501 [POSIX] (pthread_attr_t): Do not require type.
9502 [POSIX] (pthread_cond_t): Likewise.
9503 [POSIX] (pthread_condattr_t): Likewise.
9504 [POSIX] (pthread_key_t): Likewise.
9505 [POSIX] (pthread_mutex_t): Likewise.
9506 [POSIX] (pthread_mutexattr_t): Likewise.
9507 [POSIX] (pthread_once_t): Likewise.
9508 [POSIX] (pthread_t): Likewise.
9509 [POSIX-based standards] (pthread_atfork): Expect function.
9510
6055173a
JM
95112013-09-24 Joseph Myers <joseph@codesourcery.com>
9512 Richard Sandiford <richard@codesourcery.com>
9513
9514 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9515 (swap_endianness_p): New extern variable.
9516 (set_big_endian): New inline function.
9517 (maybe_swap_uint32): Likewise.
9518 (maybe_swap_uint32_array): Likewise.
9519 (maybe_swap_uint32_obstack): Likewise.
9520 * locale/programs/locfile.c: Include <stdbool.h>.
9521 (swap_endianness_p): New variable.
9522 (add_locale_uint32): Call maybe_swap_uint32.
9523 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9524 (write_locale_data): Call maybe_swap_uint32_array.
9525 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9526 maybe_swap_uint32.
9527 (obstack_int32_grow_fast): Likewise.
9528 (output_weightwc): Call maybe_swap_uint32_obstack.
9529 (collate_output): Likewise.
9530 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9531 (OPT_LITTLE_ENDIAN): Likewise.
9532 (options): Add --little-endian and --big-endian options.
9533 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9534 * locale/programs/locarchive.c: Include "locfile.h".
9535 (GET): New macro.
9536 (SET): Likewise.
9537 (INC): Likewise.
9538 (create_archive): Use the new macros to access fields of
9539 structures directly mapped from or written to locale archives.
9540 (oldlocrecentcmp): Likewise.
9541 (enlarge_archive): Likewise.
9542 (insert_name): Likewise.
9543 (add_alias): Likewise.
9544 (add_locale): Likewise.
9545 (delete_locales_from_archive): Likewise.
9546 (show_archive_content): Likewise.
9547 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9548 locale data.
9549
39bf0bb4
RM
95502013-09-24 Roland McGrath <roland@hack.frob.com>
9551
9552 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9553 http://www.gnu.org/doc/freemanuals.texi.
9554 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9555
f02eed10
WN
95562013-09-24 Will Newton <will.newton@linaro.org>
9557
9558 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9559 macro.
9560
a3a6c312
JM
95612013-09-23 Joseph Myers <joseph@codesourcery.com>
9562
9563 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9564 unsigned char.
9565
107375ac
MR
95662013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9567
9568 * manual/threads.texi (POSIX Threads): Fix a typo.
9569
141f3a77
SP
95702013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9571
303e567a
SP
9572 [BZ #14547]
9573 * string/tst-strcoll-overflow.c: New test case.
9574 * string/Makefile (xtests): Add tst-strcoll-overflow.
9575 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9576 cache if string sizes may cause integer overflow.
9577
141f3a77
SP
9578 [BZ #14547]
9579 * string/strcoll_l.c (coll_seq): New members rule, idx,
9580 save_idx and back_us.
9581 (get_next_seq_nocache): New function.
9582 (do_compare_nocache): New function.
9583 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9584 when malloc fails.
9585
c61b4d41
CD
95862013-09-23 Carlos O'Donell <carlos@redhat.com>
9587
0b1f8e35
CD
9588 [BZ #15754]
9589 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9590 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9591 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9592
c61b4d41
CD
9593 [BZ #15754]
9594 * elf/Makefile (tests): Add tst-ptrguard1.
9595 (tests-static): Add tst-ptrguard1-static.
9596 (tst-ptrguard1-ARGS): Define.
9597 (tst-ptrguard1-static-ARGS): Define.
9598 * elf/tst-ptrguard1.c: New file.
9599 * elf/tst-ptrguard1-static.c: New file.
9600 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9601 * sysdeps/i386/stackguard-macros.h: Likewise.
9602 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9603 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9604 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9605 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9606 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9607 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9608
96092013-09-23 Hector Marco <hecmargi@upv.es>
9610 Ismael Ripoll <iripoll@disca.upv.es>
9611 Carlos O'Donell <carlos@redhat.com>
9612
9613 [BZ #15754]
9614 * sysdeps/generic/stackguard-macros.h: Define
9615 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9616 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9617 Define __pointer_chk_guard_local.
9618 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9619 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9620
f5f4e7b4
VV
96212013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9622
9623 [BZ #15859]
9624 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9625
5bb43a43
AS
96262013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9627
9628 * include/string.h (__ffs): Declare as hidden.
9629 * string/ffs.c (__ffs): Define as hidden.
9630 * sysdeps/i386/ffs.c (__ffs): Likewise.
9631 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9632 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9633 * sysdeps/s390/ffs.c (__ffs): Likewise.
9634 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9635
3ea5be54
AO
96362013-09-20 Alexandre Oliva <aoliva@redhat.com>
9637
ffb89e53
AO
9638 * NEWS: Mention malloc probes.
9639
322dea08
AO
9640 * malloc/arena.c (new_heap): New memory_heap_new probe.
9641 (grow_heap): New memory_heap_more probe.
9642 (shrink_heap): New memory_heap_less probe.
9643 (heap_trim): New memory_heap_free probe.
9644 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9645 (systrim): New memory_sbrk_less probe.
9646 * manual/probes.texi: Document them.
9647
655673f3
AO
9648 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9649 * manual/probes.texi: Document it.
9650
35fed6f1
AO
9651 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9652 (__libc_realloc): Add memory_realloc_retry probe.
9653 (__libc_memalign): Add memory_memalign_retry probe.
9654 (__libc_valloc): Add memory_valloc_retry probe.
9655 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9656 (__libc_calloc): Add memory_calloc_retry probe.
9657 * manual/probes.texi: Document them.
9658
6999d38c
AO
9659 * malloc/arena.c (get_free_list): Add probe
9660 memory_arena_reuse_free_list.
9661 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9662 and memory_arena_reuse.
9663 (arena_get2) [!PER_THREAD]: Likewise.
9664 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9665 memory_arena_reuse_realloc.
9666 * manual/probes.texi: Document them.
9667
0653427f
AO
9668 * malloc/malloc.c (__libc_free): Add
9669 memory_mallopt_free_dyn_thresholds probe.
9670 (__libc_mallopt): Add multiple memory_mallopt probes.
9671 * manual/probes.texi: Document them.
9672
3ea5be54
AO
9673 * malloc/malloc.c: Include stap-probe.h.
9674 (__libc_mallopt): Add memory_mallopt probe.
9675 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9676 * manual/probes.texi: New.
9677 * manual/Makefile (chapters): Add probes.
9678 * manual/threads.texi: Set next node.
9679
e35696c3 96802013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9681
e35696c3
CL
9682 [BZ #15963, #13985]
9683 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9684 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9685 Add `Chinese' to `nan' entry name.
9686
4aafb73c
SP
96872013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9688
9689 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9690 (POLYNOMIAL): Likewise.
9691 (TAYLOR_SINCOS): Likewise.
9692 (TAYLOR_SLOW): Likewise.
9693 (__sin): Use TAYLOR_SINCOS.
9694 (__cos): Likewise.
9695 (slow): Use TAYLOR_SLOW.
9696 (sloww): Likewise.
9697 (bsloww): Likewise.
9698 (csloww): Likewise.
9699
d84f25c7
LD
97002013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9701
9702 * stdlib/strtod_l.c: Fix buffer overrun.
9703
5eea0404
SP
97042013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9705
7849ff93
SP
9706 * benchtests/Makefile (bench): Add sincos.
9707 * benchtests/bench-sincos.c: New file.
9708
cfa3c886
SP
9709 * math/libm-test.inc (cos_test_data): New test inputs.
9710 (sin_test_data): Likewise.
9711
b348e1e3
SP
9712 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9713 macro.
9714 (__sin): Use it.
9715 (__cos): Likewise.
9716 (slow1): Likewise.
9717 (slow2): Likewise.
9718 (sloww1): Likewise.
9719 (sloww2): Likewise.
9720 (bsloww1): Likewise.
9721 (bsloww2): Likewise.
9722 (cslow2): Likewise.
9723 (csloww1): Likewise.
9724 (csloww2): Likewise.
9725
6cce25f8
SP
9726 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9727 function.
9728 (__sin): Use it.
9729 (__cos): Likewise.
9730
5eea0404
SP
9731 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9732 gotos.
9733 (__cos): Likewise.
9734
9c21573c
MR
97352013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9736
9737 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9738 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9739 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9740 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9741 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9742 * elf/cache.c (print_entry): Handle the new cache flags.
9743
24d22e65
JM
97442013-09-18 Joseph Myers <joseph@codesourcery.com>
9745 Aldy Hernandez <aldyh@redhat.com>
9746
9747 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9748 Change condition to [_SOFT_FLOAT].
9749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9761 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9764 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9765 declaration.
9766
d13ef066
JM
97672013-09-18 Joseph Myers <joseph@codesourcery.com>
9768
2e071de0
JM
9769 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9770 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9771 (__longjmp): Use LOAD_GP to load saved GPRs.
9772 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9773 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9774 (__sigsetjmp): Use SAVE_GP to save GPRs.
9775
d13ef066
JM
9776 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9777 Do not append -msoft-float.
9778 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9779
97a0650b
SP
97802013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9781
9782 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9783
11ca09e9
JM
97842013-09-17 Joseph Myers <joseph@codesourcery.com>
9785
9786 [BZ #15966]
9787 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9788 (_FPU_GETCW): Use initial "__" on variable and field names but not
9789 on macro parameter name.
9790 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9791 parentheses around reference to macro parameter.
9792
08ffcf34
RS
97932013-09-13 Richard Sandiford <richard@codesourcery.com>
9794
9795 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9796 prototype.
9797 (ctype_startup): Use uint32_t in cast and sizeof for
9798 ctype->charnames.
9799
ae7080d3
JL
98002013-09-11 Jia Liu <proljc@gmail.com>
9801
9802 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9803 __daddr_t_defined.
9804 [__FreeBSD__]: Likewise.
9805
5905e7b3
OB
98062013-09-11 Ondřej Bílka <neleai@seznam.cz>
9807
9808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9809 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9810 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9811 (strchr): Remove __strchr_sse42 ifunc selection.
9812 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9813 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9814
b987c776
WN
98152013-09-11 Will Newton <will.newton@linaro.org>
9816
9817 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9818 parameter to RES. Remove hardcoded 1000 value.
9819 * benchtests/bench-skeleton.c (main): Pass RES parameter
9820 to TIMING_INIT and multiply result by 1000.
9821
ddf985af
AZ
98222013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9823
9824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9825
ffdd3181
AS
98262013-09-11 Andreas Schwab <schwab@suse.de>
9827
9828 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9829 if not defined.
9830 (O_TMPFILE) [__USE_GNU]: Define.
9831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9832 Define.
9833
b73ed247
WN
98342013-09-11 Will Newton <will.newton@linaro.org>
9835
9836 [BZ #15857]
9837 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9838 does not overflow.
9839
55e17aad
WN
98402013-09-11 Will Newton <will.newton@linaro.org>
9841
9842 [BZ #15856]
9843 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9844 does not overflow.
9845
1159a193
WN
98462013-09-11 Will Newton <will.newton@linaro.org>
9847
9848 [BZ #15855]
9849 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9850 does not overflow.
9851
5905e7b3 98522013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9853
9854 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9855 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9856 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9857 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9858 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9859
cdfc721b
AM
98602013-09-10 Allan McRae <allan@archlinux.org>
9861
aa04af00
AM
9862 [BZ #15748]
9863 * manual/arith.texi (Parsing of Floats): Clarify
9864 cross-reference.
9865
cdfc721b
AM
9866 [BZ #15849]
9867 * manual/install.texi (Running make install): Mention
9868 --enable-pt-chown.
9869 * INSTALL: Regenerated.
9870
95e7cf29
MR
98712013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9872
9873 * csu/init-first.c (_init): Remove the !SHARED condition around
9874 FPU control word initialization.
9875 * elf/dl-support.c (_dl_fpu_control): New variable.
9876 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9877 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9878 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9879 * math/test-fpucw-static.c: New file.
9880 * math/test-fpucw-ieee.c: New file.
9881 * math/test-fpucw-ieee-static.c: New file.
9882 * math/Makefile (tests): Add `test-fpucw-ieee' and
9883 `$(tests-static)'.
9884 (tests-static): New variable.
9885 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9886 dependency to...
9887 [($(build-shared),yes)]
9888 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9889 ... this.
9890 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9891 New dependency.
9892
83e43bf0
AM
98932013-09-09 Allan McRae <allan@archlinux.org>
9894
a9f5ce09
AM
9895 [BZ #15939]
9896 * manual/string.texi (Collation Functions): Fix typo in
9897 strcoll example.
9898 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9899
34829bc2
AM
9900 [BZ #15893]
9901 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9902
3932737d
AM
9903 [BZ #15892]
9904 * libio/memstream.c (open_memstream): Fix memory leak.
9905 * libio/wmemstream.c (open_wmemstream): Likewise.
9906
83e43bf0
AM
9907 [BZ #15895]
9908 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9909
0c66b8e9
WN
99102013-09-09 Will Newton <will.newton@linaro.org>
9911
9912 * malloc/Makefile: Add tst-realloc to tests.
9913 * malloc/tst-realloc.c: New file.
9914
f6b00fd1
AM
99152013-09-09 Allan McRae <allan@archlinux.org>
9916
9917 [BZ #15844]
9918 * COPYING: Update from GNU website to fix FSF address.
9919 * COPYING.LIB: Likewise.
9920
eec55e16
DM
99212013-09-06 David S. Miller <davem@davemloft.net>
9922
9923 * po/zh_TW.po: Update Chinese (traditional) translation from
9924 translation project.
9925
1ecbb381
RS
99262013-09-06 Richard Sandiford <richard@codesourcery.com>
9927 Joseph Myers <joseph@codesourcery.com>
9928
9929 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9930 "localeinfo.h".
9931 (obstack_chunk_alloc): New macro.
9932 (obstack_chunk_free): Likewise.
9933 (record_offset): New function.
9934 (init_locale_data): Likewise.
9935 (align_locale_data): Likewise.
9936 (add_locale_empty): Likewise.
9937 (add_locale_raw_data): Likewise.
9938 (add_locale_raw_obstack): Likewise.
9939 (add_locale_string): Likewise.
9940 (add_locale_wstring): Likewise.
9941 (add_locale_uint32): Likewise.
9942 (add_locale_uint32_array): Likewise.
9943 (add_locale_char): Likewise.
9944 (start_locale_structure): Likewise.
9945 (end_locale_structure): Likewise.
9946 (start_locale_prelude): Likewise.
9947 (end_locale_prelude): Likewise.
9948 (write_locale_data): Take locale_file structure rather than an
9949 iovec.
9950 * locale/programs/locfile.h: Include "obstack.h".
9951 (struct locale_file): Change to store locale file contents instead
9952 of header.
9953 (init_locale_data): New prototype.
9954 (align_locale_data): Likewise.
9955 (add_locale_empty): Likewise.
9956 (add_locale_raw_data): Likewise.
9957 (add_locale_raw_obstack): Likewise.
9958 (add_locale_string): Likewise.
9959 (add_locale_wstring): Likewise.
9960 (add_locale_uint32): Likewise.
9961 (add_locale_uint32_array): Likewise.
9962 (add_locale_char): Likewise.
9963 (start_locale_structure): Likewise.
9964 (end_locale_structure): Likewise.
9965 (start_locale_prelude): Likewise.
9966 (end_locale_prelude): Likewise.
9967 (write_locale_data): Update prototype.
9968 * locale/programs/3level.h (struct TABLE): Remove result field.
9969 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9970 Use new locale_file interface.
9971 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9972 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9973 * locale/programs/ld-address.c (address_output): Use new
9974 locale_file interface.
9975 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9976 NO_ADD_LOCALE.
9977 (collate_finish): Don't call collseq_table_finalize.
9978 (collate_output): Use new locale_file interface.
9979 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9980 in file.
9981 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9982 (TABLE): Move defines earlier in file.
9983 (ELEMENT): Likewise.
9984 (DEFAULT): Likewise.
9985 (wctrans_table_add): Move macro and inline function earlier in
9986 file.
9987 (struct wctype_table): Move type earlier in file.
9988 (add_locale_wctype_table): New static prototype.
9989 (struct locale_ctype_t): Use logical types instead of struct iovec
9990 pointers for members.
9991 (ctype_output): Use new locale_file interface.
9992 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9993 new locale_file interface.
9994 (allocate_arrays): Update for use of new locale_file interface.
9995 * locale/programs/ld-identification.c (identification_output): Use
9996 new locale_file interface.
9997 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9998 * locale/programs/ld-messages.c (messages_output): Likewise.
9999 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10000 * locale/programs/ld-name.c (name_output): Likewise.
10001 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10002 * locale/programs/ld-paper.c (paper_output): Likewise.
10003 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10004 * locale/programs/ld-time.c (time_output): Likewise.
10005
e029e2e5
AZ
100062013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10007
10008 * benchtests/Makefile: Add memrchr benchmark.
10009 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10010 benchmark as memrchr.
10011 * benchtests/bench-memrchr-ifunc.c: New file.
10012 * benchtests/bench-memrchr.c: New file.
10013
bbf6e8e4
WN
100142013-09-06 Will Newton <will.newton@linaro.org>
10015
10016 * benchtests/Makefile (string-bench): Add memcpy.
10017
6c82a2f8
CD
100182013-09-05 Carlos O'Donell <carlos@redhat.com>
10019 Cong Wang <amwang@redhat.com>
10020
e732c5f0 10021 [BZ #15850]
6c82a2f8
CD
10022 * sysdeps/unix/sysv/linux/bits/in.h
10023 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10024 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10025 before __USE_KERNEL_IPV6_DEFS uses.
10026 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10027 IPPROTO_BEETPH.
10028 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10029 sockaddr_in6, or ipv6_mreq.
10030
5430fc65
AZ
100312013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10032
10033 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10034 memory access for final bytes in some large inputs.
10035 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10036
4660856c
AZ
100372013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10038
10039 * string/test-memrchr.c: New file.
10040 * string/test-memrchr-ifunc.c: New file.
10041 * string/Makefile: Add new memrchr testcase.
10042
bb8ea713
MF
100432013-09-05 Mike Frysinger <vapier@gentoo.org>
10044
10045 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10046 fanotify_init returns EPERM.
10047
b92a20b5
JM
100482013-09-04 Joseph Myers <joseph@codesourcery.com>
10049
10050 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10051 errors.
10052 (top level): Treat second token from macro or constant entries for
10053 allowed headers as allowed.
10054 * include/complex.h: Condition internal declarations on
10055 [!_ISOMAC].
10056 * include/fenv.h: Condition include of <stdbool.h> and internal
10057 declarations on [!_ISOMAC].
7447ccd9
CL
10058
100592013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10060
3e181dda 10061 [BZ #15923]
7447ccd9
CL
10062 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10063
3f2e46a4
JM
100642013-09-04 Joseph Myers <joseph@codesourcery.com>
10065
10066 * configure.in (--enable-versioning): Remove configure option.
10067 (libc_cv_asm_symver_directive): Remove configure test.
10068 (libc_cv_ld_version_script_option): Likewise.
10069 (VERSIONING): Remove variable and AC_SUBST.
10070 (DO_VERSIONING): Remove AC_DEFINE.
10071 * configure: Regenerated.
10072 * config.h.in (DO_VERSIONING): Remove macro.
10073 * Makerules [$(versioning) = yes]: Change conditionals to
10074 [$(build-shared) = yes].
10075 * config.make.in (versioning): Remove variable.
10076 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10077 [$(build-shared) = yes].
10078 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10079 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10080 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10081 [$(build-shared) = yes].
10082 * extra-lib.mk [$(versioning) = yes]: Likewise.
10083 * hurd/Makefile [$(versioning) = yes]: Likewise.
10084 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10085 [SHARED].
10086 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10087 [SHARED].
10088 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10089 [SHARED && !NO_HIDDEN].
10090 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10091 [SHARED].
10092 [SHARED && DO_VERSIONING]: Likewise..
10093 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10094 [$(build-shared) = yes].
10095 * manual/install.texi (--disable-versioning): Remove
10096 documentation.
10097 * INSTALL: Regenerated.
10098 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10099 to [SHARED].
10100 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10101 [$(build-shared) = yes].
10102 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10103 * sysdeps/i386/i686/multiarch/strstr-c.c
10104 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10105 [SHARED && !NO_HIDDEN].
10106 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10107 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10108 * sysdeps/powerpc/powerpc32/dl-machine.c
10109 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10110 * sysdeps/powerpc/powerpc32/sysdep.h
10111 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10112 to [SHARED && PIC && !NO_HIDDEN].
10113 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10114 conditional to [SHARED].
10115
44558701
WN
101162013-09-04 Will Newton <will.newton@linaro.org>
10117
10118 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10119 * benchtests/bench-string.h: Include bench-timing.h instead
10120 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10121 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10122 call to HP_TIMING_DIFF_INIT.
10123 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10124 instead of hp-timing.h macros.
10125 * benchtests/bench-memchr.c: Likewise.
10126 * benchtests/bench-memcmp.c: Likewise.
10127 * benchtests/bench-memcpy.c: Likewise.
10128 * benchtests/bench-memmem.c: Likewise.
10129 * benchtests/bench-memmove.c: Likewise.
10130 * benchtests/bench-memset.c: Likewise.
10131 * benchtests/bench-rawmemchr.c: Likewise.
10132 * benchtests/bench-strcasecmp.c: Likewise.
10133 * benchtests/bench-strcasestr.c: Likewise.
10134 * benchtests/bench-strcat.c: Likewise.
10135 * benchtests/bench-strchr.c: Likewise.
10136 * benchtests/bench-strcmp.c: Likewise.
10137 * benchtests/bench-strcpy.c: Likewise.
10138 * benchtests/bench-strcpy_chk.c: Likewise.
10139 * benchtests/bench-strlen.c: Likewise.
10140 * benchtests/bench-strncasecmp.c: Likewise.
10141 * benchtests/bench-strncat.c: Likewise.
10142 * benchtests/bench-strncmp.c: Likewise.
10143 * benchtests/bench-strncpy.c: Likewise.
10144 * benchtests/bench-strnlen.c: Likewise.
10145 * benchtests/bench-strpbrk.c: Likewise.
10146 * benchtests/bench-strrchr.c: Likewise.
10147 * benchtests/bench-strspn.c: Likewise.
10148 * benchtests/bench-strstr.c: Likewise.
10149
cae16d66
WN
101502013-09-04 Will Newton <will.newton@linaro.org>
10151
10152 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10153
ffa3cd7f
JM
101542013-09-03 Joseph Myers <joseph@codesourcery.com>
10155
10156 [BZ #15427]
10157 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10158 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10159 * math/libm-test.inc (lgamma_test_data): Add more tests.
10160 * sysdeps/i386/fpu/libm-test-ulps: Update.
10161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10162
8f02859f
OB
101632013-09-03 Ondřej Bílka <neleai@seznam.cz>
10164
10165 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10167 Add ifunc.
10168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10169 Add strcmp-sse2-unaligned
10170 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10171
18d43716
MF
101722013-09-02 Mike Frysinger <vapier@gentoo.org>
10173
10174 * Versions.def (libc): Add GLIBC_2.19.
10175
ac444012
MF
101762013-09-02 Mike Frysinger <vapier@gentoo.org>
10177
10178 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10179 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10180
b7835e32
JM
101812013-09-02 Joseph Myers <joseph@codesourcery.com>
10182
10183 [BZ #14155]
10184 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10185 intermediate calculations in recurrence.
10186 (__ieee754_ynf): Likewise.
10187 * math/libm-test.inc (jn_test_data): Do not allow spurious
10188 underflow exception. Add more tests.
10189 (yn_test_data): Add more tests.
10190 * sysdeps/i386/fpu/libm-test-ulps: Update.
10191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10192
8220f4f0
OB
101932013-09-02 Ondřej Bílka <neleai@seznam.cz>
10194
10195 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10196
f24a6d08
OB
101972013-08-30 Ondřej Bílka <neleai@seznam.cz>
10198
10199 * csu/init-first.c: Fix then/than typos.
10200 * locale/programs/ld-collate.c: Likewise.
10201 * locale/programs/linereader.h: Likewise.
10202 * manual/charset.texi: Likewise.
10203 * manual/filesys.texi: Likewise.
10204 * manual/stdio.texi: Likewise.
10205 * manual/string.texi: Likewise.
10206 * stdlib/fmtmsg.c: Likewise.
10207 * sysdeps/i386/stpncpy.S: Likewise.
10208 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10209 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10210 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10211 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10212
382466e0
OB
102132013-08-30 Ondřej Bílka <neleai@seznam.cz>
10214
10215 * elf/dl-open.c: Fix typos.
10216 * iconvdata/gbbig5.c: Likewise.
10217 * iconvdata/iso-2022-jp.c: Likewise.
10218 * iconv/gconv_int.h: Likewise.
10219 * iconv/loop.c: Likewise.
10220 * nis/rpcsvc/nis.h: Likewise.
10221 * resolv/ns_name.c: Likewise.
10222 * stdio-common/vfscanf.c: Likewise.
10223 * streams/stropts.h: Likewise.
10224 * sunrpc/rpc_thread.c: Likewise.
10225 * sysdeps/i386/strpbrk.S: Likewise.
10226 * sysdeps/ieee754/k_standard.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10229 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10230 * sysdeps/mach/hurd/profil.c: Likewise.
10231 * sysdeps/s390/dl-procinfo.h: Likewise.
10232 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10233 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10234 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10235 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10236 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10237
0186c6e9
OB
102382013-08-30 Ondřej Bílka <neleai@seznam.cz>
10239
10240 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10242
d4e16af1
OB
102432013-08-29 Ondřej Bílka <neleai@seznam.cz>
10244
10245 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10246 aix specific files.
10247 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10248 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10249 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10250 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10251 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10252 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10253 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10254 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10255
88335980
TS
102562013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10257 Roland McGrath <roland@hack.frob.com>
10258
10259 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10260 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10261
ed479b02
ST
102622013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10263
10264 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10265 __executable_start symbol instead of _start.
10266
f1cc4c86
TS
102672013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10268
d821f07c
TS
10269 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10270 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10271 Move macros to...
10272 * sysdeps/gnu/ldsodefs.h: ... this new file.
10273
c54290cf
TS
10274 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10275 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10276 instead of ELFOSABI_LINUX.
10277
0007fc9b 10278 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10279 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10280 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10281 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10282 Likewise.
10283 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10284 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10285 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10286 Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10288 (ibm_extended_long_double): Add ieee_nan member.
10289 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10290 (do_test): New function.
10291
f1cc4c86
TS
10292 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10293 TEST_TRUNC.
10294 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10295 functions, renamed from truncdfsf_test, trunctfsf_test,
10296 trunctfdf_test.
10297 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10298 functions.
10299 (do_test): Run all these.
10300
6f65e668
OB
103012013-08-29 Ondřej Bílka <neleai@seznam.cz>
10302
10303 * argp/argp-help.c: Fix typos.
10304 * argp/argp-parse.c: Likewise.
10305 * debug/backtracesyms.c: Likewise.
10306 * elf/elf.h: Likewise.
10307 * malloc/malloc.c: Likewise.
10308 * nis/nis_print.c: Likewise.
10309 * resolv/res_comp.c: Likewise.
10310 * stdlib/stdlib.h: Likewise.
10311 * sunrpc/clnt_tcp.c: Likewise.
10312 * sunrpc/clnt_udp.c: Likewise.
10313 * sunrpc/clnt_unix.c: Likewise.
10314 * sysdeps/unix/bsd/ptsname.c: Likewise.
10315 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10316 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10318 Likewise.
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10320 Likewise.
10321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10322 Likewise.
6f65e668
OB
10323 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10324
3a309239
SP
103252013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10326
10327 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10329
3b813b29
MF
103302013-08-27 Mike Frysinger <vapier@gentoo.org>
10331
10332 [BZ #15897]
10333 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10334 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10335 ($(objpfx)bug-dl-leaf): New rule.
10336 ($(objpfx)bug-dl-leaf.so): Likewise.
10337 ($(objpfx)bug-dl-leaf.out): Likewise.
10338 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10339 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10340 * dlfcn/bug-dl-leaf.c: New test.
10341 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10342 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10343 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10344 (dlclose): Likewise.
10345 (dlmopen): Likewise.
10346
8cc3269f
RM
103472013-08-27 Roland McGrath <roland@hack.frob.com>
10348
7f9d0034
RM
10349 * include/netdb.h [!_ISOMAC]:
10350 Don't include <tls.h>.
10351 (h_errno, __libc_h_errno): Move declaration and macros out of
10352 [_LIBC_REENTRANT].
10353
fb431262
RM
10354 * include/resolv.h [_RESOLV_H_]:
10355 Don't include <tls.h>.
10356 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10357 * resolv/res_libc.c: Don't include <tls.h>.
10358 (_res): Use __attribute__ ((nocommon)) in place of
10359 __attribute__ ((section (".bss"))).
10360
bd81123a
RM
10361 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10362 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10363
c4e42566
RM
10364 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10365
f890a59b
RM
10366 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10367 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10368
10369 * resolv/res_mkquery.c: Include <sys/time.h>.
10370
5d1f0a09
RM
10371 * inet/ifreq.c: Moved to ...
10372 * sysdeps/unix/ifreq.c: ... here.
10373 * inet/ifreq.c: New file, true stub version.
10374
6fcf28b3
RM
10375 * socket/sa_len.c: New file.
10376 * socket/Makefile (aux): Add it.
10377 * sysdeps/unix/sysv/linux/Makefile
10378 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10379 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10380 and #include <socket/sa_len.c>.
10381 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10382 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10383
e041fb8b
RM
10384 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10385 * bits/socket.h: ... here.
10386
8cc3269f
RM
10387 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10388 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10389 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10390
5d228a43
AS
103912013-08-27 Andreas Schwab <schwab@suse.de>
10392
45b8accc
AS
10393 [BZ #15736]
10394 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10395 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10396 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10397 * string/test-strcasecmp.c (test_main): Run tests in several
10398 locales.
10399 * string/test-strncasecmp.c (test_main): Likewise.
10400
5d228a43
AS
10401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10402 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10403 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10405 (__strncasecmp_ssse3) [PIC]: Likewise.
10406
59d112a4
RM
104072013-08-26 Roland McGrath <roland@hack.frob.com>
10408
53234cc3
RM
10409 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10410
59d112a4
RM
10411 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10412 instead of explicitly declaring xdecrypt.
10413 * nis/nss_nis/nis-publickey.c: Likewise.
10414
595aba70
SP
104152013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10416
10417 [BZ #15890]
10418 * nscd/aicache.c: Include res_hconf.h.
10419 (addhstaiX): Initialize res_hconf.
10420
ffabd393
AS
104212013-08-26 Andreas Schwab <schwab@suse.de>
10422
10423 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10424 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10425
e0a69f5c
SP
104262013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10427
10428 * nscd/aicache.c (addhstaiX): Fix indentation.
10429
8c12f01d
MF
104302013-08-25 Mike Frysinger <vapier@gentoo.org>
10431
10432 * configure.ac: Quote $build_pt_chown test.
10433 * configure: Regenerated.
10434
8fe89494
JM
104352013-08-23 Joseph Myers <joseph@codesourcery.com>
10436
10437 [BZ #15532]
10438 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10439 * math/s_cexpf.c (__cexpf): Likewise.
10440 * math/s_cexpl.c (__cexpl): Likewise.
10441 * math/libm-test.inc (cexp_test_data): Correct expected return
10442 value for NaN + i0. Add another test.
10443
75b181d6
DM
104442013-08-22 David S. Miller <davem@davemloft.net>
10445
10446 * po/ca.po: Update Catalan translation from translation project.
936241e4 10447 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10448
acd06bb1
JM
104492013-08-21 Joseph Myers <joseph@codesourcery.com>
10450
10451 [BZ #15797]
10452 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10453 is infinite, not alongside NaN test.
10454 * math/s_fdimf.c (__fdimf): Likewise.
10455 * math/s_fdiml.c (__fdiml): Likewise.
10456 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10457 errno is unchanged.
10458
c0c3f78a
OB
104592013-08-21 Ondřej Bílka <neleai@seznam.cz>
10460
10461 * argp/argp-help.c: Fix typos.
10462 * crypt/speeds.c: Likewise.
10463 * csu/check_fds.c: Likewise.
10464 * elf/dl-load.c: Likewise.
10465 * elf/dl-open.c: Likewise.
10466 * elf/reldep3.c: Likewise.
10467 * elf/reldep.c: Likewise.
10468 * elf/sprof.c: Likewise.
10469 * iconv/iconv_charmap.c: Likewise.
10470 * iconv/skeleton.c: Likewise.
10471 * iconv/strtab.c: Likewise.
10472 * io/lockf64.c: Likewise.
10473 * libio/libioP.h: Likewise.
10474 * resolv/gai_notify.c: Likewise.
10475 * resolv/ns_name.c: Likewise.
10476 * resolv/ns_samedomain.c: Likewise.
10477 * resolv/res_send.c: Likewise.
10478 * stdlib/random.c: Likewise.
10479 * sunrpc/rpc/xdr.h: Likewise.
10480 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10481 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10482 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10483 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10484 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10485 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10486 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10487 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10488 * sysdeps/mach/hurd/check_fds.c: Likewise.
10489 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10490 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10491 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10492 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10493 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10494 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10495 * sysdeps/pthread/aio_notify.c: Likewise.
10496 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10497 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10498 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10499 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10500 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10501
46ed1038
LD
105022013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10503
10504 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10505 version if bit_Slow_SSE4_2 is set.
10506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10507 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10508
d400dcac
AZ
105092013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10510
10511 [BZ #15867]
10512 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10513 trampoline stack frame information.
10514 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10515 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10516 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10517 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10518 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10519 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10520 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10521 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10522 sa_flags value.
10523 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10524 interrupting a syscall and set with option SA_SIGINFO.
10525
42c8fdd8
JM
105262013-08-20 Joseph Myers <joseph@codesourcery.com>
10527
c980f2f4
JM
10528 [BZ #15531]
10529 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10530 argument is infinite.
10531 * math/s_cprojf.c (__cprojf): Likewise.
10532 * math/s_cprojl.c (__cprojl): Likewise.
10533 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10534 * math/libm-test.inc (cproj_test_data): Add more tests.
10535
0716c4fc
JM
10536 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10537
42c8fdd8
JM
10538 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10539 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10540 size. Use __ffs to determine corresponding shift.
10541
b31469d0
JM
105422013-08-20 Joseph Myers <joseph@codesourcery.com>
10543 Roland McGrath <roland@hack.frob.com>
10544
10545 * Makefile (INSTALL): Remove trailing blank lines from output of
10546 makeinfo.
10547
4e39af6e
AK
105482013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10549
10550 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10551 Align 32 bit compat elf_greg to 8 bytes.
10552
f315524e
AA
105532013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10554
10555 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10556
1326ba1a
SP
105572013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10558
10559 * string/strcoll_l.c (coll_seq): New structure.
10560 (get_next_seq_cached): New function.
10561 (get_next_seq): New function.
10562 (do_compare): New function.
10563 (STRCOLL): Use GNU style definition. Simplify implementation
10564 by using get_next_seq, get_next_seq_cached and do_compare.
10565
91ce4085
FW
105662013-08-16 Florian Weimer <fweimer@redhat.com>
10567
10568 [BZ #14699]
10569 CVE-2013-4237
10570 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10571 member.
10572 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10573 member.
10574 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10575 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10576 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10577 conditional.
10578 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10579 GETDENTS_64BIT_ALIGNED.
10580 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10581 * manual/filesys.texi (Reading/Closing Directory): Document
10582 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10583 strongly.
10584 * manual/conf.texi (Limits for Files): Add portability note to
10585 NAME_MAX, PATH_MAX.
10586 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10587
ca0a6bc4
AS
105882013-08-13 Andreas Schwab <schwab@suse.de>
10589
10590 [BZ #15749]
10591 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10592 of fabs.
10593 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10594 LDBL_MAX_EXP >= 16384]: Add tests for it.
10595
6c1fd795
DM
105962013-08-12 David S. Miller <davem@davemloft.net>
10597
10598 * version.h (RELEASE): Set to "development".
10599 (VERSION): Set to "2.18.90".
10600 * NEWS: Add 2.19 section.
10601
31ad488d
DM
106022013-08-03 David S. Miller <davem@davemloft.net>
10603
10604 * po/ko.po: Update Korean translation from translation project.
10605
db24e684
DM
106062013-08-01 David S. Miller <davem@davemloft.net>
10607
10608 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10609 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10610 Bilka.
10611
f723285b
DM
106122013-07-30 David S. Miller <davem@davemloft.net>
10613
10614 * po/fr.po: Update French translation from translation project.
10615
3cbc52db
DM
106162013-07-28 David S. Miller <davem@davemloft.net>
10617
30bbc0cc
DM
10618 * po/cs.po: Update Czech translation from translation project.
10619
3cbc52db
DM
10620 * po/sv.po: Update Swedish translation from translation project.
10621
d492e6d0
DM
106222013-07-27 David S. Miller <davem@davemloft.net>
10623
f1a7f492
DM
10624 * po/eo.po: Update Esperanto translation from translation project.
10625
90e62a4a
DM
10626 * po/vi.po: Update Vietnamese translation from translation project.
10627
d492e6d0
DM
10628 * po/de.po: Update German translation from translation project.
10629
d4baa62d
DM
106302013-07-26 David S. Miller <davem@davemloft.net>
10631
641aa7b4
DM
10632 * po/bg.po: Update Bulgarian translation from translation project.
10633
d4baa62d
DM
10634 * po/nl.po: Update Dutch translation from translation project.
10635 * po/pl.po: Update Polish translation from translation project.
10636 * po/ru.po: Update Russian translation from translation project.
10637
61a9dcb9
DM
106382013-07-24 David S. Miller <davem@davemloft.net>
10639
10640 * po/libc.pot: Update.
10641
7b1f8b58
AZ
106422013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10643
10644 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10645 variable page size.
10646 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10647 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10648 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10649
a8fc7a03
AK
106502013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10651
10652 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10653
e4608715
CD
106542013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10655 Andreas Schwab <schwab@suse.de>
10656 Roland McGrath <roland@hack.frob.com>
10657 Joseph Myers <joseph@codesourcery.com>
10658 Carlos O'Donell <carlos@redhat.com>
10659
10660 [BZ #15755]
10661 * config.h.in: Define HAVE_PT_CHOWN.
10662 * config.make.in (build-pt-chown): New variable.
10663 * configure.in (--enable-pt_chown): New configure option.
10664 * configure: Regenerate.
10665 * login/Makefile: Include Makeconfig. Build pt_chown only if
10666 build-pt-chown is enabled.
10667 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10668 pt_chown to fix pty ownership.
10669 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10670 CLOSE_ALL_FDS.
10671 * manual/install.texi (Configuring and compiling): Mention
10672 --enable-pt_chown. Add @findex for grantpt.
10673 * INSTALL: Regenerate.
10674
da2d62df
DM
106752013-07-20 David S. Miller <davem@davemloft.net>
10676
10677 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10678 difference between 32-bit and 64-bit.
10679
d7e06450
CD
106802013-07-15 Carlos O'Donell <carlos@redhat.com>
10681
10682 [BZ #15711]
10683 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10684 Avoid system header dependency with -ffreestanding.
10685 ($(objpfx)bits/syscall%d): Likewise.
10686
f959cfd7
DM
106872013-07-13 David S. Miller <davem@davemloft.net>
10688
10689 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10690 underflows from atanl/atan2l due to bug 15319.
10691 (casinh_test_data): Likewise.
10692
c61f8513
DM
106932013-07-07 David S. Miller <davem@davemloft.net>
10694
10695 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10696
72c90ed0
JA
106972013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10698
10699 * sysdeps/i386/fpu/libm-test-ulps: Update.
10700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10701
52dfbe13
SP
107022013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10703
10704 * configure.in (--enable-lock-elision): Fix message text.
10705 * INSTALL: Regenerate.
10706 * configure: Regenerate.
10707
3f169543
AZ
107082013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10709
10710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10711
521c6785
AJ
107122013-07-03 Andreas Jaeger <aj@suse.de>
10713
10714 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10715 define.
10716 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10717 (ptrace_peeksiginfo_args): Add.
10718 (__ptrace_peeksiginfo_flags): Add.
10719 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10721 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10722
d2cc15cb
AM
107232013-07-03 Allan McRae <allan@archlinux.org>
10724
10725 * sysdeps/i386/fpu/libm-test-ulps: Update.
10726
3aaeeca7
DM
107272013-07-02 David S. Miller <davem@davemloft.net>
10728
10729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10730
5314ed1a
MT
107312013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10732
10733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10734
67338156
JM
107352013-07-02 Joseph Myers <joseph@codesourcery.com>
10736
10737 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10739
1717da59
AK
107402013-07-02 Andi Kleen <ak@linux.intel.com>
10741
10742 * config.h.in (ENABLE_LOCK_ELISION): Add.
10743 * configure.in (--enable-lock-elision): Add option.
10744 * manual/install.texi: Document --enable lock elision.
10745 * configure: Regenerate
10746 * INSTALL: Regenerate.
10747
1c81621c
L
107482013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10749
10750 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10751 SSE4.2 strcasecmp for libc.a.
10752 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10753
77f01ab5
JM
107542013-07-02 Joseph Myers <joseph@codesourcery.com>
10755
10756 [BZ #13304]
10757 * soft-fp/op-common.h (_FP_FMA): New macro.
10758 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10759 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10760 (_FP_MUL_MEAT_1_imm): ... here.
10761 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10762 (_FP_MUL_MEAT_1_wide): ... here.
10763 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10764 (_FP_MUL_MEAT_1_hard): ... here.
10765 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10766 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10767 (_FP_MUL_MEAT_2_wide): ... here.
10768 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10769 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10770 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10771 (_FP_MUL_MEAT_2_gmp): ... here.
10772 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10773 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10774 (_FP_MUL_MEAT_4_wide): ... here.
10775 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10776 (_FP_MUL_MEAT_4_gmp): ... here.
10777 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10778 (_FP_WFRACBITS_DW_S): Likewise.
10779 (_FP_WFRACXBITS_DW_S): Likewise.
10780 (_FP_HIGHBIT_DW_S): Likewise.
10781 (FP_FMA_S): Likewise.
10782 (_FP_FRAC_HIGH_DW_S): Likewise.
10783 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10784 (_FP_WFRACBITS_DW_D): Likewise.
10785 (_FP_WFRACXBITS_DW_D): Likewise.
10786 (_FP_HIGHBIT_DW_D): Likewise.
10787 (FP_FMA_D): Likewise.
10788 (_FP_FRAC_HIGH_DW_D): Likewise.
10789 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10790 (_FP_WFRACBITS_DW_E): Likewise.
10791 (_FP_WFRACXBITS_DW_E): Likewise.
10792 (_FP_HIGHBIT_DW_E): Likewise.
10793 (FP_FMA_E): Likewise.
10794 (_FP_FRAC_HIGH_DW_E): Likewise.
10795 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10796 (_FP_WFRACBITS_DW_Q): Likewise.
10797 (_FP_WFRACXBITS_DW_Q): Likewise.
10798 (_FP_HIGHBIT_DW_Q): Likewise.
10799 (FP_FMA_Q): Likewise.
10800 (_FP_FRAC_HIGH_DW_Q): Likewise.
10801 * soft-fp/fmasf4.c: New file.
10802 * soft-fp/fmadf4.c: Likewise.
10803 * soft-fp/fmatf4.c: Likewise.
10804
6308fd9a
LD
108052013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10806
10807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10808 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10809 Silvermont.
10810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10811 macro.
10812 (index_Slow_SSE4_2): Likewise.
10813 (index_Prefer_PMINUB_for_stringop): Likewise.
10814 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10815 bit_Slow_SSE4_2 is set.
10816 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10817 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10818
89cd9569
RA
108192013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10820
10821 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10822 rtld_global._dl_hwcap2.
10823 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10824 POWER8.
10825 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10826 POWER8 feature descriptions defined in _dl_hwcap2.
10827 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10828 string handling for POWER8 feature bits.
10829 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10830 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10831 _dl_powerpc_cap_flags.
10832 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10833 * sysdeps/powerpc/rtld-global-offsets.sym
10834 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10835 _dl_hwcap2 in the rtld_global_ro structure.
10836
1ae8bfe0
RA
108372013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10838
10839 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10840 hardware capabilities in support of AT_HWCAP2.
10841 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10842 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10843 GLRO(dl_hwcap2).
10844 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10845 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10846 explicitly the unknown a_type display mechanism is used.
10847 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10848 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10849 struct member.
10850 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10851 to macro prototype for AT_HWCAP2 support.
10852 * sysdeps/i386/dl-procinfo.h: Likewise.
10853 * sysdeps/s390/dl-procinfo.h: Likewise.
10854 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10855 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10856 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10857 return -1 for unknown a_type display fallback.
10858 * sysdeps/sparc/dl-procinfo.h: Likewise.
10859 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10860 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10861
8fbec010
JM
108622013-06-28 Joseph Myers <joseph@codesourcery.com>
10863
10864 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10865 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10866
0432680e
PY
108672013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10868
10869 [BZ #12492]
10870 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10871 mprotect making __stack_prot writable.
10872
ce61a2ad
NF
108732013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10874 Joseph Myers <joseph@codesourcery.com>
10875
10876 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10877 as being properly aligned.
10878
f91f1c0f
MR
108792013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10880
3d0f5d0c
MR
10881 * dlfcn/modstatic5.c: New file.
10882 * dlfcn/tststatic5.c: New file.
10883 * dlfcn/Makefile (tests): Add tststatic5.
10884 (tests-static): Likewise.
10885 (modules-names): Add modstatic5.
10886 (tststatic5-ENV): New variable.
10887 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10888
f91f1c0f
MR
10889 [BZ #15022]
10890 * elf/dl-support.c (_dl_main_map): New variable.
10891 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10892 (_dl_nns, _dl_load_adds): Set to 1.
10893 (_dl_initial_searchlist): Refer to _dl_main_map.
10894 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10895 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10896 call to _dl_get_origin.
10897 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10898 around call_map.
10899 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10900 * dlfcn/modstatic3.c: New file.
10901 * dlfcn/tststatic3.c: New file.
10902 * dlfcn/tststatic4.c: New file.
10903 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10904 (tests-static): Likewise.
10905 (modules-names): Add modstatic3.
10906 (tststatic3-ENV, tststatic4-ENV): New variables.
10907 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10908 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10909
cbe7d24b
JM
109102013-06-26 Joseph Myers <joseph@codesourcery.com>
10911
10912 * configure.in (CC): Require GCC version 4.4 or later.
10913 * configure: Regenerated.
10914 * manual/install.texi (Tools for Compilation): Update GCC version
10915 requirement.
10916 * INSTALL: Regenerated.
10917
11b8a0e1
LD
109182013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10919
10920 [BZ #15674]
bb5bb87c
L
10921 * string/test-memcmp.c (check2): New.
10922 (main): Call check2.
10923
11b8a0e1
LD
10924 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10925
b0037103
MR
109262013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10927
10928 [BZ #15022]
10929 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10930 over to...
10931 (dl_open_worker) [!SHARED]: ... here.
10932
c18c701d
RA
109332013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10934
10935 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10936
1d17fa5f
RH
109372013-06-25 Richard Henderson <rth@redhat.com>
10938
10939 * locale/programs/locarchive.c: Include <libc-internal.h>
10940
8fcb833a
JM
109412013-06-25 Joseph Myers <joseph@codesourcery.com>
10942
10943 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10944 trailing whitespace removed.
10945
17db6e8d
MF
109462013-06-24 Mike Frysinger <vapier@gentoo.org>
10947
10948 [BZ #10283]
17db6e8d
MF
10949 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10950 * locale/programs/locarchive.c: Include libc-mmap.h.
10951 (prepare_address_space): Take two new outputs (the mmap base and len).
10952 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10953 values.
10954 (create_archive): Declare new mmap base and len values for
10955 prepare_address_space, and store the result in ah.
10956 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10957 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10958 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10959 Declare new mmap base and len values for
10960 prepare_address_space, and store the result in new_ah.
10961 (open_archive): Declare new mmap base and len values for
10962 prepare_address_space, and store the result in ah.
10963 (close_archive): If ah->mmap_base is not NULL, use that and
10964 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10965 * sysdeps/generic/libc-mmap.h: New file.
10966
d605071e
MF
109672013-06-24 Mike Frysinger <vapier@gentoo.org>
10968
10969 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10970 (ALIGN_UP): Likewise.
10971 (PTR_ALIGN_DOWN): Likewise.
10972 (PTR_ALIGN_UP): Likewise.
10973
2f063a6e
RA
109742013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10975
10976 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10977 entry mapped to PPC_PLATFORM_POWER8.
10978 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10979 POWER8.
10980 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10981 (_dl_string_platform): Add case for exporting platform position for
10982 POWER8.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10984 search path to sysdeps/powerpc/powerpc32/power8 directory.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10986 search path to sysdeps/powerpc/powerpc64/power8 directory.
10987 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10988 power7 directories.
10989 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10990 power7 directories.
10991
a31ee4b3
SP
109922013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10993
a74ca98f
SP
10994 * INSTALL: Regenerate.
10995
a31ee4b3
SP
10996 * nscd/connections.c (nscd_init): Fix comment.
10997
695c378f
JM
109982013-06-22 Joseph Myers <joseph@codesourcery.com>
10999
d8412221
JM
11000 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11001
695c378f
JM
11002 [BZ #15667]
11003 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11004 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11005
d1d54715
MR
110062013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11007
11008 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11009 DL_DST_REQ_STATIC.
11010 (DL_DST_REQ_STATIC): Remove macro.
11011
8fdda7af
JM
110122013-06-21 Joseph Myers <joseph@codesourcery.com>
11013
11014 [BZ #7006]
11015 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11016 with a shift of 0 bits.
11017
f3bc5e5a
MR
110182013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11019
11020 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11021 $(tststatic-ENV).
11022
be09e8c9
KK
110232013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11024
11025 [BZ #15655]
11026 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11027
85c2e611
AZ
110282013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11029
11030 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11031 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11032 accepts -fno-tree-loop-distribute-patterns.
11033 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11034 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11035 recursive call.
11036 * string/memset.c (memset): Likewise.
11037 * string/test-memmove.c (simple_memmove): Disable loop transformation
11038 to library calls.
11039 * string/test-memset.c (simple_memset): Likewise.
11040 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11041 * benchtests/bench-memset.c (simple_memset): Likewise.
11042 * configure: Regenerated.
11043
c91e0825
JM
110442013-06-20 Joseph Myers <joseph@codesourcery.com>
11045
b8c792af
JM
11046 * math/test-misc.c (main): Ignore fesetround failure when failures
11047 of subsequent rounding tests would be ignored.
11048
c91e0825
JM
11049 [BZ #15654]
11050 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11051 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11052 * math/fegetenv.c (__fegetenv): Return 0.
11053 * math/fegetexcept.c (fegetexcept): Return 0.
11054 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11055 FE_TONEAREST.
11056 * math/feholdexcpt.c (feholdexcept): Return 0.
11057 * math/fesetenv.c (__fesetenv): Return 0.
11058 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11059 argument FE_TONEAREST.
11060 * math/feupdateenv.c (__feupdateenv): Return 0.
11061 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11062
bfcacbde
RM
110632013-06-18 Roland McGrath <roland@hack.frob.com>
11064
11065 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11066 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11067 ($(objpfx)rtld-%.os rules): Use them.
11068
e55a9b25
AZ
110692013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11070
11071 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11072 fields.
11073
346d65b3
RM
110742013-06-17 Roland McGrath <roland@hack.frob.com>
11075
12086fb4
RM
11076 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11077 length of target pattern, then descending length of dependency pattern.
11078 * configure.in (AWK): Require gawk 3.1.2 or newer.
11079 * manual/install.texi (Tools for Compilation): Say that we do.
11080 * configure: Regenerated.
11081
346d65b3
RM
11082 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11083 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11084 * scripts/sysd-rules.awk: ... this new script.
11085 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11086 than a glob-style pattern.
11087
1a846317
JM
110882013-06-17 Joseph Myers <joseph@codesourcery.com>
11089
11090 * math/test-misc.c (main): Do not treat incorrectly rounded
11091 conversions as failure unless ROUNDING_TESTS passes.
11092
8fc75e6f
JM
110932013-06-15 Joseph Myers <joseph@codesourcery.com>
11094
3711a167
JM
11095 [BZ #15631]
11096 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11097 restore exception state around main square root computation, then
11098 check for inexactness explicitly.
11099
8fc75e6f
JM
11100 * math/libm-test.inc (fma_test_data): Add another test.
11101
61dd6208
SP
111022013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11103
adf23d2c
SP
11104 * manual/threads.texi (Non-POSIX Extensions): New document
11105 node. Document pthread_getattr_default_np and
11106 pthread_setattr_default_np.
11107
61dd6208
SP
11108 * Versions.def (libpthread): Add GLIBC_2.18.
11109 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11111 Likewise.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11113 Likewise.
11114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11115 Likewise.
11116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11117 Likewise.
11118 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11119 Likewise.
11120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11121 Likewise.
11122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11123 Likewise.
11124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11125 Likewise.
11126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11127 Likewise.
11128
d086fc7b
LD
111292013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11130
11131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11132 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11133
747ef469
SP
111342013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11135 H.J. Lu <hjl.tools@gmail.com>
11136
11137 [BZ #15627]
11138 * sysdeps/x86_64/rtld-memset.c: Remove file.
11139 * sysdeps/x86_64/rtld-memset.S: New file.
11140
1b2feed2
JM
111412013-06-14 Joseph Myers <joseph@codesourcery.com>
11142
11143 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11144 (test_in_one_mode): Take arguments for whether the rounding mode
11145 is supported for each floating-point type.
11146 (do_test): Pass new arguments to test_in_one_mode using
11147 ROUNDING_TESTS.
11148
a58ad3f8
RM
111492013-06-13 Roland McGrath <roland@hack.frob.com>
11150
11151 * posix/tst-waitid.c (do_test): Distinguish different instances of
11152 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11153 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11154 before entering the kernel for waitpid.
11155
c204ab28
SP
111562013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11157
11158 * NEWS: Fix note on clock function precision. Text by Roland
11159 McGrath.
11160
f4a29fba
RM
111612013-06-13 Roland McGrath <roland@hack.frob.com>
11162
11163 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11164 it into place only when and if the sanity check passes.
11165
1f24b9ad
JM
111662013-06-13 Joseph Myers <joseph@codesourcery.com>
11167
11168 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11169 output for whether conversion result is exact. Take argument
11170 indicating whether type is IBM long double.
11171 (round_for_all): Change need_exact field to ibm_ld.
11172 * stdlib/tst-strtod-round.c (struct exactness): New type.
11173 (struct test): Change bool ld_ok field to struct exactness exact.
11174 (TEST): Update all definitions for change to field.
11175 (tests): Regenerate array contents.
11176 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11177 field value. Check for IBM long double here.
11178 (do_test): Update calls to test_in_one_mode.
11179
58206c68
SP
111802013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11181
11182 [BZ #12515]
11183 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11184 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11185
2d6f4c5b 111862013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11187
11188 [BZ #15605]
11189 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11190 generated by the compiler on loop optimizations.
11191 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11192 general definitions.
11193
94f2c076
JM
111942013-06-12 Joseph Myers <joseph@codesourcery.com>
11195
11196 * math/bug-nextafter.c: Include <math-tests.h>.
11197 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11198 the relevant type.
11199 * math/bug-nexttoward.c: Include <math-tests.h>.
11200 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11201 the relevant type.
11202 * math/test-misc.c: Include <math-tests.h>.
11203 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11204 the relevant type.
11205
e0e50a0a
AJ
112062013-06-12 Andreas Jaeger <aj@suse.de>
11207
11208 * po/ia.po: Update Interlingua translation from translation
11209 project.
11210
25061094
SP
112112013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11212
11213 * include/fenv.h: Include stdbool.h.
11214 (struct rm_ctx): New structure.
11215 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11216 Define macro.
11217 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11218 (SET_RESTORE_ROUNDF): Likewise.
11219 (SET_RESTORE_ROUNDL): Likewise.
11220 (SET_RESTORE_ROUND_NOEX): Likewise.
11221 (SET_RESTORE_ROUND_NOEXF): Likewise.
11222 (SET_RESTORE_ROUND_NOEXL): Likewise.
11223 (SET_RESTORE_ROUND_53BIT): Likewise.
11224 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11225 (libc_feresetround_noexf_ctx): Likewise.
11226 (libc_feresetround_noexl_ctx): Likewise.
11227 (libc_feholdsetround_53bit_ctx): Likewise.
11228 (libc_feresetround_53bit_ctx): Likewise.
11229 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11230 (libc_feholdexcept_setround_sse_ctx): New function.
11231 (libc_fesetenv_sse_ctx): Likewise.
11232 (libc_feupdateenv_sse_ctx): Likewise.
11233 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11234 (libc_feholdexcept_setround_387_ctx): Likewise.
11235 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11236 (libc_feholdsetround_387_prec_ctx): Likewise.
11237 (libc_feholdsetround_387_ctx): Likewise.
11238 (libc_feholdsetround_387_53bit_ctx): Likewise.
11239 (libc_feholdsetround_sse_ctx): Likewise.
11240 (libc_feresetround_sse_ctx): Likewise.
11241 (libc_feresetround_387_ctx): Likewise.
11242 (libc_feupdateenv_387_ctx): Likewise.
11243 (libc_feholdexcept_setroundf_ctx): Define macro.
11244 (libc_fesetenvf_ctx): Likewise.
11245 (libc_feupdateenvf_ctx): Likewise.
11246 (libc_feholdsetroundf_ctx): Likewise.
11247 (libc_feresetroundf_ctx): Likewise.
11248 (libc_feholdexcept_setround_ctx): Likewise.
11249 (libc_fesetenv_ctx): Likewise.
11250 (libc_feupdateenv_ctx): Likewise.
11251 (libc_feholdsetround_ctx): Likewise.
11252 (libc_feresetround_ctx): Likewise.
11253 (libc_feholdexcept_setroundl_ctx): Likewise.
11254 (libc_feupdateenvl_ctx): Likewise.
11255 (libc_feholdsetroundl_ctx): Likewise.
11256 (libc_feresetroundl_ctx): Likewise.
11257 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11258 (libc_feresetround_53bit_ctx): Likewise.
11259
59b30555
SP
112602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11261
11262 * locale/iso-639.def: Convert to UTF-8.
11263
f1d73d30
JM
112642013-06-11 Joseph Myers <joseph@codesourcery.com>
11265
11266 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11267 (EXCEPTION_TESTS_double): Likewise.
11268 (EXCEPTION_TESTS_long_double): Likewise.
11269 (EXCEPTION_TESTS): Likewise.
11270 * math/libm-test.inc (test_exceptions): Only test exceptions if
11271 EXCEPTION_TESTS (FLOAT).
11272
94aca5e7
SP
112732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11274
11275 * benchtests/Makefile (string-bench): Add strcpy_chk and
11276 stpcpy_chk.
11277 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11278 * benchtests/bench-stpcpy_chk.c: New file.
11279 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11280 * benchtests/bench-strcpy_chk.c: New file.
11281 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11282 code.
11283 (do_test): Likewise.
11284
fac0c5f2
RA
112852013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11286
11287 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11288 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11289 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11290 with tabs where appropriate.
11291 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11292 dl-procinfo.h.
11293 [PPC_PLATFORM_PPC440]: Likewise.
11294 [PPC_PLATFORM_PPC464]: Likewise.
11295 [PPC_PLATFORM_PPC476]: Likewise.
11296 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11297 ppc464, and ppc476 platform strings merging from ports/
11298 dl-procinfo.h.
11299
f22bc486
AS
113002013-06-11 Andreas Schwab <schwab@suse.de>
11301
11302 [BZ #14991]
11303 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11304 (from_ucs4_idx): Regenerate.
11305 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11306 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11307 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11308 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11309 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11310 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11311 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11312 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11313 from FROM_LOOP and TO_LOOP specific macros.
11314 (BODY): Handle combining characters.
11315 * iconvdata/BIG5HKSCS.irreversible: Update.
11316 * iconvdata/BIG5HKSCS.precomposed: New file.
11317 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11318 characters.
11319 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11320
c1f75dc3
SP
113212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11322
4eacded2
SP
11323 * include/sys/time.h: Fix indentation and add copyright header.
11324
fec799f8
SP
11325 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11326 (do_test): Likewise.
11327 * string/test-memchr.c (do_one_test): Likewise.
11328 (do_test): Likewise.
11329 * string/test-memcmp.c (do_one_test): Likewise.
11330 (do_test): Likewise.
11331 * string/test-memcpy.c (do_one_test): Likewise.
11332 (do_test): Likewise.
11333 * string/test-memmem.c (do_one_test): Likewise.
11334 (do_test): Likewise.
11335 (do_random_tests): Likewise.
11336 * string/test-memmove.c (do_one_test): Likewise.
11337 (do_test): Likewise.
11338 * string/test-memset.c (do_one_test): Likewise.
11339 (do_test): Likewise.
11340 * string/test-rawmemchr.c (do_one_test): Likewise.
11341 (do_test): Likewise.
11342 * string/test-strcasecmp.c (do_one_test): Likewise.
11343 (do_test): Likewise.
11344 * string/test-strcasestr.c (do_one_test): Likewise.
11345 (do_test): Likewise.
11346 * string/test-strcat.c (do_one_test): Likewise.
11347 (do_test): Likewise.
11348 * string/test-strchr.c (do_one_test): Likewise.
11349 (do_test): Likewise.
11350 * string/test-strcmp.c (do_one_test): Likewise.
11351 (do_test): Likewise.
11352 * string/test-strcpy.c (do_one_test): Likewise.
11353 (do_test): Likewise.
11354 * string/test-string.h: Likewise.
11355 (test_init): Likewise.
11356 * string/test-strlen.c (do_one_test): Likewise.
11357 (do_test): Likewise.
11358 * string/test-strncasecmp.c (do_one_test): Likewise.
11359 (do_test): Likewise.
11360 * string/test-strncat.c (do_one_test): Likewise.
11361 (do_test): Likewise.
11362 * string/test-strncmp.c (do_one_test): Likewise.
11363 (do_test_limit): Likewise.
11364 (do_test): Likewise.
11365 * string/test-strncpy.c (do_one_test): Likewise.
11366 (do_test): Likewise.
11367 * string/test-strnlen.c (do_one_test): Likewise.
11368 (do_test): Likewise.
11369 * string/test-strpbrk.c (do_one_test): Likewise.
11370 (do_test): Likewise.
11371 * string/test-strrchr.c (do_one_test): Likewise.
11372 (do_test): Likewise.
11373 * string/test-strspn.c (do_one_test): Likewise.
11374 (do_test): Likewise.
11375 * string/test-strstr.c (do_one_test): Likewise.
11376 (do_test): Likewise.
11377
97020474
SP
11378 * benchtests/Makefile (string-bench): Add string benchmarks.
11379 * benchtests/bench-bcopy-ifunc.c: New file.
11380 * benchtests/bench-bcopy.c: New file.
11381 * benchtests/bench-bzero-ifunc.c: New file.
11382 * benchtests/bench-bzero.c: New file.
11383 * benchtests/bench-memccpy-ifunc.c: New file.
11384 * benchtests/bench-memccpy.c: New file.
11385 * benchtests/bench-memchr-ifunc.c: New file.
11386 * benchtests/bench-memchr.c: New file.
11387 * benchtests/bench-memcmp-ifunc.c: New file.
11388 * benchtests/bench-memcmp.c: New file.
11389 * benchtests/bench-memmem-ifunc.c: New file.
11390 * benchtests/bench-memmem.c: New file.
11391 * benchtests/bench-memmove-ifunc.c: New file.
11392 * benchtests/bench-memmove.c: New file.
11393 * benchtests/bench-mempcpy-ifunc.c: New file.
11394 * benchtests/bench-mempcpy.c: New file.
11395 * benchtests/bench-memset-ifunc.c: New file.
11396 * benchtests/bench-memset.c: New file.
11397 * benchtests/bench-rawmemchr-ifunc.c: New file.
11398 * benchtests/bench-rawmemchr.c: New file.
11399 * benchtests/bench-stpcpy-ifunc.c: New file.
11400 * benchtests/bench-stpcpy.c: New file.
11401 * benchtests/bench-stpncpy-ifunc.c: New file.
11402 * benchtests/bench-stpncpy.c: New file.
11403 * benchtests/bench-strcasecmp-ifunc.c: New file.
11404 * benchtests/bench-strcasecmp.c: New file.
11405 * benchtests/bench-strcasestr-ifunc.c: New file.
11406 * benchtests/bench-strcasestr.c: New file.
11407 * benchtests/bench-strcat-ifunc.c: New file.
11408 * benchtests/bench-strcat.c: New file.
11409 * benchtests/bench-strchr-ifunc.c: New file.
11410 * benchtests/bench-strchr.c: New file.
11411 * benchtests/bench-strchrnul-ifunc.c: New file.
11412 * benchtests/bench-strchrnul.c: New file.
11413 * benchtests/bench-strcmp-ifunc.c: New file.
11414 * benchtests/bench-strcmp.c: New file.
11415 * benchtests/bench-strcpy-ifunc.c: New file.
11416 * benchtests/bench-strcpy.c: New file.
11417 * benchtests/bench-strcspn-ifunc.c: New file.
11418 * benchtests/bench-strcspn.c: New file.
11419 * benchtests/bench-strlen-ifunc.c: New file.
11420 * benchtests/bench-strlen.c: New file.
11421 * benchtests/bench-strncasecmp-ifunc.c: New file.
11422 * benchtests/bench-strncasecmp.c: New file.
11423 * benchtests/bench-strncat-ifunc.c: New file.
11424 * benchtests/bench-strncat.c: New file.
11425 * benchtests/bench-strncmp-ifunc.c: New file.
11426 * benchtests/bench-strncmp.c: New file.
11427 * benchtests/bench-strncpy-ifunc.c: New file.
11428 * benchtests/bench-strncpy.c: New file.
11429 * benchtests/bench-strnlen-ifunc.c: New file.
11430 * benchtests/bench-strnlen.c: New file.
11431 * benchtests/bench-strpbrk-ifunc.c: New file.
11432 * benchtests/bench-strpbrk.c: New file.
11433 * benchtests/bench-strrchr-ifunc.c: New file.
11434 * benchtests/bench-strrchr.c: New file.
11435 * benchtests/bench-strspn-ifunc.c: New file.
11436 * benchtests/bench-strspn.c: New file.
11437 * benchtests/bench-strstr-ifunc.c: New file.
11438 * benchtests/bench-strstr.c: New file.
11439
c1f75dc3
SP
11440 * benchtests/Makefile: Disable parallel execution of targets.
11441 (string-bench): Add memcpy.
11442 (benchset): New variable to store a list of benchmark sets.
11443 (bench-func): Renamed from bench.
11444 (bench-set): New target.
11445 (bench): Depend on bench-func and bench-set.
11446 * benchtests/README: Add section on benchmark sets.
11447 * benchtests/bench-memcpy-ifunc.c: New file.
11448 * benchtests/bench-memcpy.c: New file.
11449 * benchtests/bench-string.h: New file.
11450
50fd745b
AS
114512013-06-11 Andreas Schwab <schwab@suse.de>
11452
11453 [BZ #15577]
11454 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11455 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11456 values in the triple.
11457 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11458 terminator in the group key.
11459
3ee7e9fe
AJ
114602013-06-11 Andreas Jaeger <aj@suse.de>
11461
11462 * po/zh_TW.po: Update Chinese (traditional) translation from
11463 translation project.
11464
89fb6835
SP
114652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11466
11467 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11468 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11469 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11470 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11471 (clock_getcpuclockid): Likewise.
11472 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11473 Add weak_alias and libc_hidden_def.
11474 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11475 * rt/clock_gettime.c (clock_gettime): Rename to
11476 __clock_gettime. Add weak_alias and libc_hidden_def.
11477 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11478 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11479 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11480 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11481 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11482 Likewise.
11483 * rt/clock_settime.c (clock_settime): Rename to
11484 __clock_settime. Add weak_alias and libc_hidden_def.
11485 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11486
0efa6f8b
JM
114872013-06-10 Joseph Myers <joseph@codesourcery.com>
11488
b8c61b4b
JM
11489 * mach/err_boot.sub: Remove trailing whitespace.
11490 * mach/err_ipc.sub: Likewise.
11491 * mach/err_mach.sub: Likewise.
11492
0efa6f8b
JM
11493 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11494 (ROUNDING_TESTS_double): Likewise.
11495 (ROUNDING_TESTS_long_double): Likewise.
11496 (ROUNDING_TESTS): Likewise.
11497 * math/libm-test.inc: Include <math-tests.h>.
11498 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11499 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11500 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11501 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11502
50b818bf
SP
115032013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11504
11505 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11506 of assigning.
11507
60d2f8f3
JM
115082013-06-08 Joseph Myers <joseph@codesourcery.com>
11509
4902d2c3
JM
11510 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11511 otherwise empty TRANS lines.
11512 * sysdeps/gnu/errlist.c: Regenerated.
11513
60d2f8f3
JM
11514 * catgets/gencat.c (error_print): Use (void) in function
11515 definition.
11516 * crypt/crypt_util.c (__init_des): Likewise.
11517 * crypt/speeds.c (Stop): Likewise.
11518 (main): Likewise.
11519 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11520 * inet/ruserpass.c (token): Likewise.
11521 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11522 * intl/localealias.c (extend_alias_table): Likewise.
11523 * intl/plural-exp.c (init_germanic_plural): Likewise.
11524 * libio/fcloseall.c (__fcloseall): Likewise.
11525 * libio/genops.c (_IO_flush_all): Likewise.
11526 (_IO_flush_all_linebuffered): Likewise.
11527 (_IO_cleanup): Likewise.
11528 (_IO_iter_begin): Likewise.
11529 (_IO_iter_end): Likewise.
11530 (_IO_list_lock): Likewise.
11531 (_IO_list_unlock): Likewise.
11532 (_IO_list_resetlock): Likewise.
11533 * libio/getchar.c (getchar): Likewise.
11534 * libio/getchar_u.c (getchar_unlocked): Likewise.
11535 * libio/getwchar.c (getwchar): Likewise.
11536 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11537 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11538 * login/getpt.c (__getpt): Likewise.
11539 * login/tst-utmp.c (main): Likewise.
11540 * malloc/hooks.c (__malloc_check_init): Likewise.
11541 * malloc/malloc.c (__malloc_stats): Likewise.
11542 * malloc/mtrace.c (tr_break): Likewise.
11543 (mtrace): Likewise.
11544 (muntrace): Likewise.
11545 * misc/fstab.c (endfsent): Likewise.
11546 * misc/getclktck.c (__getclktck): Likewise.
11547 * misc/getdtsz.c (__getdtablesize): Likewise.
11548 * misc/gethostid.c (gethostid): Likewise.
11549 * misc/getpagesize.c (__getpagesize): Likewise.
11550 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11551 (__get_nprocs): Likewise.
11552 (__get_phys_pages): Likewise.
11553 (__get_avphys_pages): Likewise.
11554 * misc/getttyent.c (getttyent): Likewise.
11555 (setttyent): Likewise.
11556 (endttyent): Likewise.
11557 * misc/getusershell.c (getusershell): Likewise.
11558 (endusershell): Likewise.
11559 (setusershell): Likewise.
11560 (initshells): Likewise.
11561 * misc/hsearch.c (__hdestroy): Likewise.
11562 * misc/sync.c (sync): Likewise.
11563 * misc/syslog.c (closelog_internal): Likewise.
11564 (closelog): Likewise.
11565 * misc/ttyslot.c (ttyslot): Likewise.
11566 * misc/vhangup.c (vhangup): Likewise.
11567 * posix/fork.c (__fork): Likewise.
11568 * posix/getegid.c (__getegid): Likewise.
11569 * posix/geteuid.c (__geteuid): Likewise.
11570 * posix/getgid.c (__getgid): Likewise.
11571 * posix/getpid.c (__getpid): Likewise.
11572 * posix/getppid.c (__getppid): Likewise.
11573 * posix/getuid.c (__getuid): Likewise.
11574 * posix/pause.c (pause): Likewise.
11575 * posix/setpgrp.c (setpgrp): Likewise.
11576 * posix/setsid.c (__setsid): Likewise.
11577 * posix/test-vfork.c (noop): Likewise.
11578 * resolv/gethnamaddr.c (_endhtent): Likewise.
11579 (_gethtent): Likewise.
11580 (ht_endhostent): Likewise.
11581 (gethostent): Likewise.
11582 (dns_service): Likewise.
11583 * stdlib/drand48.c (drand48): Likewise.
11584 * stdlib/lrand48.c (lrand48): Likewise.
11585 * stdlib/mrand48.c (mrand48): Likewise.
11586 * stdlib/rand.c (rand): Likewise.
11587 * stdlib/random.c (__random): Likewise.
11588 * stdlib/setenv.c (clearenv): Likewise.
11589 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11590 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11591 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11592 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11593 (__get_nprocs): Likewise.
11594 (__get_phys_pages): Likewise.
11595 (__get_avphys_pages): Likewise.
11596 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11597 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11598 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11599 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11600 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11601 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11602 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11603 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11604 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11605 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11606 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11607 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11608 * sysdeps/posix/clock.c (clock): Likewise.
11609 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11610 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11611 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11612 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11613 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11615 (__get_nprocs_conf): Likewise.
11616 (__get_phys_pages): Likewise.
11617 (__get_avphys_pages): Likewise.
11618 * time/clock.c (clock): Likewise.
11619 * time/tzset.c (__tzname_max): Likewise.
11620
2e09a79a
JM
116212013-06-07 Joseph Myers <joseph@codesourcery.com>
11622
11623 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11624 (__bswap_32): Do not use "register".
11625 * crypt/crypt.c (_ufc_doit_r): Likewise.
11626 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11627 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11628 * gmon/gmon.c (__monstartup): Likewise.
11629 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11630 * hurd/hurdmalloc.c (more_memory): Likewise.
11631 (malloc): Likewise.
11632 (free): Likewise.
11633 (realloc): Likewise.
11634 (malloc_fork_prepare): Likewise.
11635 (malloc_fork_parent): Likewise.
11636 (malloc_fork_child): Likewise.
11637 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11638 (_svcauth_des): Likewise.
11639 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11640 * inet/inet_net.c (inet_network): Likewise.
11641 * inet/inet_netof.c (inet_netof): Likewise.
11642 * inet/rcmd.c (__validuser2_sa): Likewise.
11643 * io/fts.c (fts_open): Likewise.
11644 (fts_load): Likewise.
11645 (fts_close): Likewise.
11646 (fts_read): Likewise.
11647 (fts_children): Likewise.
11648 (fts_build): Likewise.
11649 (fts_stat): Likewise.
11650 (fts_sort): Likewise.
11651 (fts_alloc): Likewise.
11652 (fts_lfree): Likewise.
11653 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11654 (_IO_file_xsgetn): Likewise.
11655 (_IO_file_xsgetn_mmap): Likewise.
11656 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11657 (_IO_cookie_write): Likewise.
11658 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11659 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11660 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11661 * malloc/obstack.c (_obstack_begin): Likewise.
11662 (_obstack_begin_1): Likewise.
11663 (_obstack_newchunk): Likewise.
11664 (_obstack_allocated_p): Likewise.
11665 (obstack_free): Likewise.
11666 (_obstack_memory_used): Likewise.
11667 * misc/getttyent.c (getttynam): Likewise.
11668 (getttyent): Likewise.
11669 (skip): Likewise.
11670 (value): Likewise.
11671 * misc/getusershell.c (initshells): Likewise.
11672 * misc/syslog.c (__vsyslog_chk): Likewise.
11673 * misc/ttyslot.c (ttyslot): Likewise.
11674 * nis/nis_hash.c (__nis_hash): Likewise.
11675 * posix/fnmatch_loop.c (FCT): Likewise.
11676 * posix/getconf.c (print_all): Likewise.
11677 (main): Likewise.
11678 * posix/getopt.c (exchange): Likewise.
11679 * posix/glob.c (globfree): Likewise.
11680 (prefix_array): Likewise.
11681 (__glob_pattern_type): Likewise.
11682 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11683 (NS_GET32): Likewise.
11684 (NS_PUT16): Likewise.
11685 (NS_PUT32): Likewise.
11686 * resolv/gethnamaddr.c (getanswer): Likewise.
11687 (gethostbyname2): Likewise.
11688 (gethostbyaddr): Likewise.
11689 (_gethtent): Likewise.
11690 (_gethtbyname2): Likewise.
11691 (_gethtbyaddr): Likewise.
11692 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11693 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11694 * resolv/res_init.c (__res_vinit): Likewise.
11695 (net_mask): Likewise.
11696 * resolv/res_mkquery.c (outchar): Likewise.
11697 (PRINT): Likewise.
11698 * stdio-common/printf_fp.c (outchar): Likewise.
11699 (PRINT): Likewise.
11700 * stdio-common/printf_fphex.c (outchar): Likewise.
11701 (PRINT): Likewise.
11702 * stdio-common/printf_size.c (outchar): Likewise.
11703 (PRINT): Likewise.
11704 * stdio-common/test_rdwr.c (main): Likewise.
11705 * stdio-common/tfformat.c (matches): Likewise.
11706 * stdio-common/vfprintf.c (outchar): Likewise.
11707 (printf_unknown): Likewise.
11708 (buffered_vfprintf): Likewise.
11709 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11710 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11711 (ReadFile): Likewise.
11712 * stdlib/qsort.c (SWAP): Likewise.
11713 (_quicksort): Likewise.
11714 * stdlib/setenv.c (__add_to_environ): Likewise.
11715 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11716 * stdlib/strtol_l.c (__strtol_l): Likewise.
11717 * stdlib/tst-strtod.c (main): Likewise.
11718 * stdlib/tst-strtol.c (main): Likewise.
11719 * stdlib/tst-strtoll.c (main): Likewise.
11720 * string/bits/string2.h (__strcmp_cc): Likewise.
11721 (__strcmp_cg): Likewise.
11722 (__strcspn_c1): Likewise.
11723 (__strcspn_c2): Likewise.
11724 (__strcspn_c3): Likewise.
11725 (__strspn_c1): Likewise.
11726 (__strspn_c2): Likewise.
11727 (__strspn_c3): Likewise.
11728 (__strsep_1c): Likewise.
11729 (__strsep_2c): Likewise.
11730 (__strsep_3c): Likewise.
11731 * string/memccpy.c (__memccpy): Likewise.
11732 * string/stpcpy.c (__stpcpy): Likewise.
11733 * string/strcmp.c (strcmp): Likewise.
11734 * string/strrchr.c (strrchr): Likewise.
11735 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11736 Likewise.
11737 * sysdeps/mach/hurd/getcwd.c
11738 (_hurd_canonicalize_directory_name_internal): Likewise.
11739 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11740 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11741 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11742 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11743 Likewise, in both definitions.
11744 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11745 definitions.
11746 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11747 64] (__bswap_64): Likewise.
11748 * time/test_time.c (main): Likewise.
11749 * time/tzfile.c (__tzfile_read): Likewise.
11750 (__tzfile_compute): Likewise.
11751 * time/tzset.c (__tzset_parse_tz): Likewise.
11752 (tzset_internal): Likewise.
11753 (compute_change): Likewise.
11754 * wcsmbs/wcscat.c (__wcscat): Likewise.
11755 * wcsmbs/wcschr.c (wcschr): Likewise.
11756 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11757 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11758 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11759 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11760 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11761 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11762 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11763 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11764 * wcsmbs/wmemset.c (wmemset): Likewise.
11765
9e54314b
JM
117662013-06-06 Joseph Myers <joseph@codesourcery.com>
11767
11768 * scripts/config.guess: Update to version 2013-05-16.
11769 * scripts/config.sub: Update to version 2013-04-24.
11770 * scripts/install-sh: Update to version 2011-11-20.07.
11771 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11772 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11773
350635a5
OB
117742013-06-06 Ondřej Bílka <neleai@seznam.cz>
11775
11776 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11777 * elf/sln.c: Likewise.
11778 * hurd/hurd/ioctl.h: Likewise.
11779 * hurd/hurdmalloc.c: Likewise.
11780 * hurd/xattr.c: Likewise.
11781 * include/shlib-compat.h: Likewise.
11782 * inet/ruserpass.c: Likewise.
11783 * libio/iofgets_u.c: Likewise.
11784 * libio/iofgetws_u.c: Likewise.
11785 * locale/programs/ld-identification.c: Likewise.
11786 * locale/programs/ld-time.c: Likewise.
11787 * mach/msg-destroy.c: Likewise.
11788 * nss/nss_files/files-netgrp.c: Likewise.
11789 * resolv/res_data.c: Likewise.
11790 * soft-fp/op-1.h: Likewise.
11791 * soft-fp/op-2.h: Likewise.
11792 * soft-fp/op-4.h: Likewise.
11793 * soft-fp/op-common.h: Likewise.
11794 * stdio-common/printf_fphex.c: Likewise.
11795 * stdlib/strtod_l.c: Likewise.
11796 * sunrpc/rpc/clnt.h: Likewise.
11797 * sysdeps/generic/framestate.c: Likewise.
11798 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11799 * sysdeps/i386/bsd-setjmp.S: Likewise.
11800 * sysdeps/i386/__longjmp.S: Likewise.
11801 * sysdeps/i386/setjmp.S: Likewise.
11802 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11803 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11804 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11805 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11808 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11809 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11810 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11811 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11812 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11814 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11815 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11816 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11818 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11819 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11820 * sysdeps/ieee754/support.c: Likewise.
11821 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11822 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11823 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11824 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11825 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11826 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11827 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11828 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11829 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11830 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11831 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11832 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11833 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11834 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11835 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11836 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11837 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11839
44a988af
OB
118402013-06-05 Ondřej Bílka <neleai@seznam.cz>
11841
25506f09 11842 * posix/transbug.c: Remove executable mode.
44a988af 11843
9c84384c
JM
118442013-06-05 Joseph Myers <joseph@codesourcery.com>
11845
11846 * crypt/speeds.c: Remove trailing whitespace.
11847 * dlfcn/default.c: Likewise.
11848 * elf/ifuncdep2.c: Likewise.
11849 * elf/ifuncmain1.c: Likewise.
11850 * elf/ifuncmain1vis.c: Likewise.
11851 * elf/testobj.h: Likewise.
11852 * elf/tst-stackguard1.c: Likewise.
11853 * gmon/sys/gmon.h: Likewise.
11854 * hurd/hurdmsg.c: Likewise.
11855 * hurd/new-fd.c: Likewise.
11856 * hurd/ports-get.c: Likewise.
11857 * iconvdata/ibm1008_420.c: Likewise.
11858 * inet/tst-getni1.c: Likewise.
11859 * inet/tst-getni2.c: Likewise.
11860 * libio/ioungetc.c: Likewise.
11861 * libio/wfiledoalloc.c: Likewise.
11862 * manual/libm-err-tab.pl: Likewise.
11863 * math/w_dremf.c: Likewise.
11864 * misc/ftruncate.c: Likewise.
11865 * posix/bug-glob2.c: Likewise.
11866 * posix/tst-pcre.c: Likewise.
11867 * posix/wait4.c: Likewise.
11868 * resolv/README: Likewise.
11869 * resolv/res_debug.h: Likewise.
11870 * resolv/tst-inet_ntop.c: Likewise.
11871 * setjmp/bug269-setjmp.c: Likewise.
11872 * soft-fp/extended.h: Likewise.
11873 * soft-fp/op-1.h: Likewise.
11874 * soft-fp/op-2.h: Likewise.
11875 * soft-fp/op-4.h: Likewise.
11876 * soft-fp/op-8.h: Likewise.
11877 * soft-fp/testit.c: Likewise.
11878 * stdio-common/bug16.c: Likewise.
11879 * stdlib/random.c: Likewise.
11880 * sunrpc/rpcsvc/rquota.x: Likewise.
11881 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11882 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11883 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11884 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11885 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11886 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11887 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11888 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11889 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11890 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11891 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11892 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11893 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11894 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11895 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11896 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11897 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11898 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11899 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11900 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11901 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11902 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11903 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11904 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11905 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11906 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11907 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11908 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11909 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11910 * sysdeps/ieee754/s_lib_version.c: Likewise.
11911 * sysdeps/mach/hurd/check_fds.c: Likewise.
11912 * sysdeps/mach/hurd/getsockname.c: Likewise.
11913 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11914 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11915 * sysdeps/powerpc/bits/link.h: Likewise.
11916 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11917 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11918 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11919 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11920 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11921 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11922 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11923 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11924 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11925 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11926 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11927 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11928 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11929 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11930 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11931 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11932 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11933 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11934 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11935 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11936 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11937 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11938 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11939 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11940 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11941 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11942 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11943 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11944 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11945 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11946 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11947 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11948 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11949 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11950 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11951 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11952 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11953 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11954 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11955 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11956 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11957 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11958 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11959 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11960 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11961 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11962 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11963 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11964 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11965 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11966 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11967 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11968 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11969 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11970 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11971 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11972 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11973 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11974 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11975 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11976 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11977 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11978 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11979 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11980 * sysdeps/powerpc/sysdep.h: Likewise.
11981 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11982 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11983 * sysdeps/sh/dl-trampoline.S: Likewise.
11984 * sysdeps/sh/memset.S: Likewise.
11985 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11986 * sysdeps/sh/strlen.S: Likewise.
11987 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11988 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11989 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11990 * sysdeps/sparc/sparc32/rem.S: Likewise.
11991 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11992 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11993 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11994 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11995 * sysdeps/sparc/sparc32/urem.S: Likewise.
11996 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11997 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11998 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11999 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12001 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12002 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12003 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12004 * sysdeps/unix/bsd/times.c: Likewise.
12005 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12006 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12010 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12011 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12012 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12013 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12014 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12015 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12016 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12017 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12018 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12019 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12020 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12021 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12022 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12023 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12024 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12025 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12026 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12027 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12028 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12029 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12030 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12031 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12032 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12033 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12034 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12035 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12036 * sysdeps/x86_64/strcspn.S: Likewise.
12037
869378a5
RA
120382013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12039
12040 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12041 generated file. Regenerate properly from gen-translit.pl.
12042 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12043 locale/C-translit.h.
12044
840e2943
AS
120452013-06-05 Andreas Schwab <schwab@suse.de>
12046
12047 [BZ #15100]
12048 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12049 week as 6 instead of -1.
12050 * time/tst-strptime.c (day_tests): Add test case.
12051
4c60cb0c
SP
120522013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12053
12054 * sysdeps/generic/math_private.h
12055 (libc_feholdexcept_setround_53bit): Replace with
12056 libc_feholdsetround_53bit.
12057 (libc_feupdateenv_53bit): Replace with
12058 libc_feresetround_53bit.
12059 (SET_RESTORE_ROUND_53BIT): Adjust.
12060
d180203e
SP
120612013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12062
96df079a
SP
12063 * string/test-strchrnul.c: Add copyright header.
12064
d180203e
SP
12065 * posix/tst-getaddrinfo4.c: Increase test timeout.
12066
8b0ccb2d
CD
120672013-06-03 Carlos O'Donell <carlos@redhat.com>
12068
12069 [BZ #15536]
12070 * math/libm-test.inc (MAX_EXP): Remove
12071 (MIN_EXP): Define.
12072 (ulp): Use MIN_EXP - MANT_DIG.
12073 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12074
3b3c4d40
CD
120752013-05-31 Carlos O'Donell <carlos@redhat.com>
12076
12077 * po/be.po: Revert last change.
12078 * po/zh_CN.po: Likewise.
12079 * po/header.pot: Likewise.
12080
fab7ce3f
JM
120812013-05-31 Joseph Myers <joseph@codesourcery.com>
12082
12083 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12084 link-libc-deps to empty as target-specific variable.
12085 * Makerules (link-libc-args): New variable.
12086 (libc-for-link): Likewise.
12087 (link-libc-deps): Likewise.
12088 (lib%.so): Depend on $(link-libc-deps). Link with
12089 $(link-libc-args).
12090 (build-module): Link with $(link-libc-args).
12091 (build-module-asneeded): Likewise.
12092 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12093 list of objects.
12094 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12095 target-specific variable.
12096 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12097 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12098 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12099 libc.
12100 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12101 libc and ld.so.
12102 ($(objpfx)libpcprofile.so): Likewise.
12103 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12104 libc_nonshared.a.
12105 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12106 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12107 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12108 $(link-libc-deps).
12109 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12110 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12111 * login/Makefile ($(objpfx)libutil.so): Likewise.
12112 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12113 * math/Makefile ($(objpfx)libm.so): Likewise.
12114 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12115 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12116 variable instead of depending directly on libc.
12117 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12118 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12119 $(link-libc-deps).
12120 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12121 libc.
12122 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12123 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12124 ($(objpfx)libanl.so): Likewise.
12125 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12126 ld.so.
12127 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12128 $(link-libc-deps).
12129 * sysdeps/i386/fpu/Makefile: Remove file.
12130 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12131 ($(objpfx)libm.so): Remove dependency on ld.so.
12132
eca5920c
PF
121332013-05-30 Patsy Franklin <pfrankli@redhat.com>
12134
12135 [BZ # 15553]
12136 * nis/yp_xdr.c (XDRMAXNAME): Define.
12137 (XDRMAXRECORD): Define.
12138 (xdr_domainname): Use XDRMAXNAME.
12139 (xdr_mapname): Likewise.
12140 (xdr_peername): Likewise.
12141 (xdr_keydat): Use XDRMAXRECORD.
12142 (xdr_valdat): Likewise.
12143
121442013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12145
12146 [BZ #14256]
12147 * manual/errno.texi (ESTALE): Update to account for more than
12148 just NFS file systems.
12149 * sysdeps/gnu/errlist.c: Regenerated.
12150
b9375348
SP
121512013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12152
12153 [BZ #15465]
12154 * elf/Makefile (tests): Add tst-null-argv.
12155 (modules-names): Add tst-null-argv-lib.
12156 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12157 (tst-null-argv-ENV): Set environment for tst-null-argv.
12158 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12159 (RTLD_PROGNAME): New macro.
12160 * elf/tst-null-argv.c: New test case.
12161 * elf/tst-null-argv-lib.c: Library for test case.
12162 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12163 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12164 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12165 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12166 * elf/dl-init.c (call_init): Likewise.
12167 (_dl_init): Likewise.
12168 * elf/dl-load.c (print_search_path): Likewise.
12169 (_dl_map_object): Likewise.
12170 * elf/dl-lookup.c (do_lookup_x): Likewise.
12171 (add_dependency): Likewise.
12172 (_dl_lookup_symbol_x): Likewise.
12173 (_dl_debug_bindings): Likewise.
12174 * elf/dl-open.c (_dl_show_scope): Likewise.
12175 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12176 * elf/dl-version.c (match_symbol): Likewise.
12177 (_dl_check_map_versions): Likewise.
12178 * elf/rtld.c (dl_main): Likewise.
12179 (print_unresolved): Use RTLD_PROGNAME.
12180 (print_missing_version): Likewise.
12181 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12182 (elf_machine_rela): Likewise.
12183 * sysdeps/powerpc/powerpc32/dl-machine.c
12184 (__process_machine_rela): Likewise.
12185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12186 Likewise.
12187 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12188 Likewise.
12189 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12190 Likewise.
12191 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12192 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12193 Likewise.
12194 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12195 Likewise.
12196 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12197
8a9f20c8
CD
121982013-05-28 Carlos O'Donell <carlos@redhat.com>
12199
12200 * po/be.po: Add descriptive title.
12201 * po/zh_CN.po: Likewise.
12202 * po/header.pot: Likewise.
12203
0e60d68e
MF
122042013-05-28 Mike Frysinger <vapier@gentoo.org>
12205
12206 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12207 error message.
12208 (enlarge_archive): Likewise.
12209
56b672e9
BN
122102013-05-28 Ben North <ben@redfrontdoor.org>
12211
12212 * manual/arith.texi (frexp): It is the magnitude of the return
12213 value which lies in [0.5, 1), not the return value itself.
12214
5e056687
AZ
122152013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12216
12217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12218
2b66ef5d
TS
122192013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12220
528c2405
TS
12221 * stdio-common/bug26.c (main): Correct fscanf template.
12222
07b4c13d
TS
12223 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12224 declare _dl_skip_args.
12225
ec9dd97c
TS
12226 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12227 Don't declare.
12228
2b66ef5d
TS
12229 * manual/platform.texi: Add missing @end deftypefun.
12230
4f8dfe27
JM
122312013-05-24 Joseph Myers <joseph@codesourcery.com>
12232
0323d086
JM
12233 [BZ #15529]
12234 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12235 bit of mantissa of 2^16382.
12236 * math/libm-test.inc (hypot_test_data): Add more tests.
12237
dd4259b9
JM
12238 * math/libm-test.inc: Add drem and pow10 to list of tested
12239 functions.
12240 (pow10_test): New function.
12241 (drem_test): Likewise.
12242 (drem_test_tonearest): Likewise.
12243 (drem_test_towardzero): Likewise.
12244 (drem_test_downward): Likewise.
12245 (drem_test_upward): Likewise.
12246 (main): Call the new functions.
12247
4f8dfe27
JM
12248 * math/libm-test.inc (finite_test_data): Remove.
12249 (finite_test): Run tests from isfinite_test_data.
12250 (gamma_test_data): Remove.
12251 (gamma_test): Run tests from lgamma_test_data.
12252 * sysdeps/i386/fpu/libm-test-ulps: Update.
12253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12254
d116b7c4
AZ
122552013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12256
12257 * manual/platform.texi: Add PowerPC PPR function set documentation.
12258 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12259 implementation.
12260
e96e3767
CD
122612013-05-24 Carlos O'Donell <carlos@redhat.com>
12262
12263 * math/libm-test.inc (MAX_EXP): Define.
12264 (ULPDIFF): Define.
12265 (ulp): New function.
12266 (check_float_internal): Use ULPDIFF.
12267 (cpow_test): Disable failing test.
12268 (check_ulp): Test ulp() implemetnation.
12269 (main): Call check_ulp before starting tests.
12270
b679a606
JM
122712013-05-24 Joseph Myers <joseph@codesourcery.com>
12272
e8bdba36
JM
12273 * math/gen-libm-test.pl (generate_testfile): Do not handle
12274 START_DATA and END_DATA.
12275 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12276 END_DATA.
12277 (acos_tonearest_test_data): Likewise.
12278 (acos_towardzero_test_data): Likewise.
12279 (acos_downward_test_data): Likewise.
12280 (acos_upward_test_data): Likewise.
12281 (acosh_test_data): Likewise.
12282 (asin_test_data): Likewise.
12283 (asin_tonearest_test_data): Likewise.
12284 (asin_towardzero_test_data): Likewise.
12285 (asin_downward_test_data): Likewise.
12286 (asin_upward_test_data): Likewise.
12287 (asinh_test_data): Likewise.
12288 (atan_test_data): Likewise.
12289 (atanh_test_data): Likewise.
12290 (atan2_test_data): Likewise.
12291 (cabs_test_data): Likewise.
12292 (cacos_test_data): Likewise.
12293 (cacosh_test_data): Likewise.
12294 (carg_test_data): Likewise.
12295 (casin_test_data): Likewise.
12296 (casinh_test_data): Likewise.
12297 (catan_test_data): Likewise.
12298 (catanh_test_data): Likewise.
12299 (cbrt_test_data): Likewise.
12300 (ccos_test_data): Likewise.
12301 (ccosh_test_data): Likewise.
12302 (ceil_test_data): Likewise.
12303 (cexp_test_data): Likewise.
12304 (cimag_test_data): Likewise.
12305 (clog_test_data): Likewise.
12306 (clog10_test_data): Likewise.
12307 (conj_test_data): Likewise.
12308 (copysign_test_data): Likewise.
12309 (cos_test_data): Likewise.
12310 (cos_tonearest_test_data): Likewise.
12311 (cos_towardzero_test_data): Likewise.
12312 (cos_downward_test_data): Likewise.
12313 (cos_upward_test_data): Likewise.
12314 (cosh_test_data): Likewise.
12315 (cosh_tonearest_test_data): Likewise.
12316 (cosh_towardzero_test_data): Likewise.
12317 (cosh_downward_test_data): Likewise.
12318 (cosh_upward_test_data): Likewise.
12319 (cpow_test_data): Likewise.
12320 (cproj_test_data): Likewise.
12321 (creal_test_data): Likewise.
12322 (csin_test_data): Likewise.
12323 (csinh_test_data): Likewise.
12324 (csqrt_test_data): Likewise.
12325 (ctan_test_data): Likewise.
12326 (ctan_tonearest_test_data): Likewise.
12327 (ctan_towardzero_test_data): Likewise.
12328 (ctan_downward_test_data): Likewise.
12329 (ctan_upward_test_data): Likewise.
12330 (ctanh_test_data): Likewise.
12331 (ctanh_tonearest_test_data): Likewise.
12332 (ctanh_towardzero_test_data): Likewise.
12333 (ctanh_downward_test_data): Likewise.
12334 (ctanh_upward_test_data): Likewise.
12335 (erf_test_data): Likewise.
12336 (erfc_test_data): Likewise.
12337 (exp_test_data): Likewise.
12338 (exp_tonearest_test_data): Likewise.
12339 (exp_towardzero_test_data): Likewise.
12340 (exp_downward_test_data): Likewise.
12341 (exp_upward_test_data): Likewise.
12342 (exp10_test_data): Likewise.
12343 (exp2_test_data): Likewise.
12344 (expm1_test_data): Likewise.
12345 (fabs_test_data): Likewise.
12346 (fdim_test_data): Likewise.
12347 (finite_test_data): Likewise.
12348 (floor_test_data): Likewise.
12349 (fma_test_data): Likewise.
12350 (fma_towardzero_test_data): Likewise.
12351 (fma_downward_test_data): Likewise.
12352 (fma_upward_test_data): Likewise.
12353 (fmax_test_data): Likewise.
12354 (fmin_test_data): Likewise.
12355 (fmod_test_data): Likewise.
12356 (fpclassify_test_data): Likewise.
12357 (frexp_test_data): Likewise.
12358 (gamma_test_data): Likewise.
12359 (hypot_test_data): Likewise.
12360 (ilogb_test_data): Likewise.
12361 (isfinite_test_data): Likewise.
12362 (isgreater_test_data): Likewise.
12363 (isgreaterequal_test_data): Likewise.
12364 (isinf_test_data): Likewise.
12365 (isless_test_data): Likewise.
12366 (islessequal_test_data): Likewise.
12367 (islessgreater_test_data): Likewise.
12368 (isnan_test_data): Likewise.
12369 (isnormal_test_data): Likewise.
12370 (issignaling_test_data): Likewise.
12371 (isunordered_test_data): Likewise.
12372 (j0_test_data): Likewise.
12373 (j1_test_data): Likewise.
12374 (jn_test_data): Likewise.
12375 (ldexp_test_data): Likewise.
12376 (lgamma_test_data): Likewise.
12377 (lrint_test_data): Likewise.
12378 (lrint_tonearest_test_data): Likewise.
12379 (lrint_towardzero_test_data): Likewise.
12380 (lrint_downward_test_data): Likewise.
12381 (lrint_upward_test_data): Likewise.
12382 (llrint_test_data): Likewise.
12383 (llrint_tonearest_test_data): Likewise.
12384 (llrint_towardzero_test_data): Likewise.
12385 (llrint_downward_test_data): Likewise.
12386 (llrint_upward_test_data): Likewise.
12387 (log_test_data): Likewise.
12388 (log10_test_data): Likewise.
12389 (log1p_test_data): Likewise.
12390 (log2_test_data): Likewise.
12391 (logb_test_data): Likewise.
12392 (logb_downward_test_data): Likewise.
12393 (lround_test_data): Likewise.
12394 (llround_test_data): Likewise.
12395 (modf_test_data): Likewise.
12396 (nearbyint_test_data): Likewise.
12397 (nextafter_test_data): Likewise.
12398 (nexttoward_test_data): Likewise.
12399 (pow_test_data): Likewise.
12400 (pow_tonearest_test_data): Likewise.
12401 (pow_towardzero_test_data): Likewise.
12402 (pow_downward_test_data): Likewise.
12403 (pow_upward_test_data): Likewise.
12404 (remainder_test_data): Likewise.
12405 (remainder_tonearest_test_data): Likewise.
12406 (remainder_towardzero_test_data): Likewise.
12407 (remainder_downward_test_data): Likewise.
12408 (remainder_upward_test_data): Likewise.
12409 (remquo_test_data): Likewise.
12410 (rint_test_data): Likewise.
12411 (rint_tonearest_test_data): Likewise.
12412 (rint_towardzero_test_data): Likewise.
12413 (rint_downward_test_data): Likewise.
12414 (rint_upward_test_data): Likewise.
12415 (round_test_data): Likewise.
12416 (scalb_test_data): Likewise.
12417 (scalbn_test_data): Likewise.
12418 (scalbln_test_data): Likewise.
12419 (signbit_test_data): Likewise.
12420 (sin_test_data): Likewise.
12421 (sin_tonearest_test_data): Likewise.
12422 (sin_towardzero_test_data): Likewise.
12423 (sin_downward_test_data): Likewise.
12424 (sin_upward_test_data): Likewise.
12425 (sincos_test_data): Likewise.
12426 (sinh_test_data): Likewise.
12427 (sinh_tonearest_test_data): Likewise.
12428 (sinh_towardzero_test_data): Likewise.
12429 (sinh_downward_test_data): Likewise.
12430 (sinh_upward_test_data): Likewise.
12431 (sqrt_test_data): Likewise.
12432 (tan_test_data): Likewise.
12433 (tan_tonearest_test_data): Likewise.
12434 (tan_towardzero_test_data): Likewise.
12435 (tan_downward_test_data): Likewise.
12436 (tan_upward_test_data): Likewise.
12437 (tanh_test_data): Likewise.
12438 (tgamma_test_data): Likewise.
12439 (trunc_test_data): Likewise.
12440 (y0_test_data): Likewise.
12441 (y1_test_data): Likewise.
12442 (yn_test_data): Likewise.
12443 (significand_test_data): Likewise.
12444
b679a606
JM
12445 * math/gen-libm-test.pl (@functions): Remove variable.
12446 (generate_testfile): Don't handle START and END lines.
12447 * math/libm-test.inc (START): New macro.
12448 (END): Likewise.
12449 (END_COMPLEX): Likewise.
12450 (acos_test): Use END macro without arguments.
12451 (acos_test_tonearest): Likewise.
12452 (acos_test_towardzero): Likewise.
12453 (acos_test_downward): Likewise.
12454 (acos_test_upward): Likewise.
12455 (acosh_test): Likewise.
12456 (asin_test): Likewise.
12457 (asin_test_tonearest): Likewise.
12458 (asin_test_towardzero): Likewise.
12459 (asin_test_downward): Likewise.
12460 (asin_test_upward): Likewise.
12461 (asinh_test): Likewise.
12462 (atan_test): Likewise.
12463 (atanh_test): Likewise.
12464 (atan2_test): Likewise.
12465 (cabs_test): Likewise.
12466 (cacos_test): Use END_COMPLEX macro without arguments.
12467 (cacosh_test): Likewise.
12468 (carg_test): Use END macro without arguments.
12469 (casin_test): Use END_COMPLEX macro without arguments.
12470 (casinh_test): Likewise.
12471 (catan_test): Likewise.
12472 (catanh_test): Likewise.
12473 (cbrt_test): Use END macro without arguments.
12474 (ccos_test): Use END_COMPLEX macro without arguments.
12475 (ccosh_test): Likewise.
12476 (ceil_test): Use END macro without arguments.
12477 (cexp_test): Use END_COMPLEX macro without arguments.
12478 (cimag_test): Use END macro without arguments.
12479 (clog_test): Use END_COMPLEX macro without arguments.
12480 (clog10_test): Likewise.
12481 (conj_test): Likewise.
12482 (copysign_test): Use END macro without arguments.
12483 (cos_test): Likewise.
12484 (cos_test_tonearest): Likewise.
12485 (cos_test_towardzero): Likewise.
12486 (cos_test_downward): Likewise.
12487 (cos_test_upward): Likewise.
12488 (cosh_test): Likewise.
12489 (cosh_test_tonearest): Likewise.
12490 (cosh_test_towardzero): Likewise.
12491 (cosh_test_downward): Likewise.
12492 (cosh_test_upward): Likewise.
12493 (cpow_test): Use END_COMPLEX macro without arguments.
12494 (cproj_test): Likewise.
12495 (creal_test): Use END macro without arguments.
12496 (csin_test): Use END_COMPLEX macro without arguments.
12497 (csinh_test): Likewise.
12498 (csqrt_test): Likewise.
12499 (ctan_test): Likewise.
12500 (ctan_test_tonearest): Likewise.
12501 (ctan_test_towardzero): Likewise.
12502 (ctan_test_downward): Likewise.
12503 (ctan_test_upward): Likewise.
12504 (ctanh_test): Likewise.
12505 (ctanh_test_tonearest): Likewise.
12506 (ctanh_test_towardzero): Likewise.
12507 (ctanh_test_downward): Likewise.
12508 (ctanh_test_upward): Likewise.
12509 (erf_test): Use END macro without arguments.
12510 (erfc_test): Likewise.
12511 (exp_test): Likewise.
12512 (exp_test_tonearest): Likewise.
12513 (exp_test_towardzero): Likewise.
12514 (exp_test_downward): Likewise.
12515 (exp_test_upward): Likewise.
12516 (exp10_test): Likewise.
12517 (exp2_test): Likewise.
12518 (expm1_test): Likewise.
12519 (fabs_test): Likewise.
12520 (fdim_test): Likewise.
12521 (finite_test): Likewise.
12522 (floor_test): Likewise.
12523 (fma_test): Likewise.
12524 (fma_test_towardzero): Likewise.
12525 (fma_test_downward): Likewise.
12526 (fma_test_upward): Likewise.
12527 (fmax_test): Likewise.
12528 (fmin_test): Likewise.
12529 (fmod_test): Likewise.
12530 (fpclassify_test): Likewise.
12531 (frexp_test): Likewise.
12532 (gamma_test): Likewise.
12533 (hypot_test): Likewise.
12534 (ilogb_test): Likewise.
12535 (isfinite_test): Likewise.
12536 (isgreater_test): Likewise.
12537 (isgreaterequal_test): Likewise.
12538 (isinf_test): Likewise.
12539 (isless_test): Likewise.
12540 (islessequal_test): Likewise.
12541 (islessgreater_test): Likewise.
12542 (isnan_test): Likewise.
12543 (isnormal_test): Likewise.
12544 (issignaling_test): Likewise.
12545 (isunordered_test): Likewise.
12546 (j0_test): Likewise.
12547 (j1_test): Likewise.
12548 (jn_test): Likewise.
12549 (ldexp_test): Likewise.
12550 (lgamma_test): Likewise.
12551 (lrint_test): Likewise.
12552 (lrint_test_tonearest): Likewise.
12553 (lrint_test_towardzero): Likewise.
12554 (lrint_test_downward): Likewise.
12555 (lrint_test_upward): Likewise.
12556 (llrint_test): Likewise.
12557 (llrint_test_tonearest): Likewise.
12558 (llrint_test_towardzero): Likewise.
12559 (llrint_test_downward): Likewise.
12560 (llrint_test_upward): Likewise.
12561 (log_test): Likewise.
12562 (log10_test): Likewise.
12563 (log1p_test): Likewise.
12564 (log2_test): Likewise.
12565 (logb_test): Likewise.
12566 (logb_test_downward): Likewise.
12567 (lround_test): Likewise.
12568 (llround_test): Likewise.
12569 (modf_test): Likewise.
12570 (nearbyint_test): Likewise.
12571 (nextafter_test): Likewise.
12572 (nexttoward_test): Likewise.
12573 (pow_test): Likewise.
12574 (pow_test_tonearest): Likewise.
12575 (pow_test_towardzero): Likewise.
12576 (pow_test_downward): Likewise.
12577 (pow_test_upward): Likewise.
12578 (remainder_test): Likewise.
12579 (remainder_test_tonearest): Likewise.
12580 (remainder_test_towardzero): Likewise.
12581 (remainder_test_downward): Likewise.
12582 (remainder_test_upward): Likewise.
12583 (remquo_test): Likewise.
12584 (rint_test): Likewise.
12585 (rint_test_tonearest): Likewise.
12586 (rint_test_towardzero): Likewise.
12587 (rint_test_downward): Likewise.
12588 (rint_test_upward): Likewise.
12589 (round_test): Likewise.
12590 (scalb_test): Likewise.
12591 (scalbn_test): Likewise.
12592 (scalbln_test): Likewise.
12593 (signbit_test): Likewise.
12594 (sin_test): Likewise.
12595 (sin_test_tonearest): Likewise.
12596 (sin_test_towardzero): Likewise.
12597 (sin_test_downward): Likewise.
12598 (sin_test_upward): Likewise.
12599 (sincos_test): Likewise.
12600 (sinh_test): Likewise.
12601 (sinh_test_tonearest): Likewise.
12602 (sinh_test_towardzero): Likewise.
12603 (sinh_test_downward): Likewise.
12604 (sinh_test_upward): Likewise.
12605 (sqrt_test): Likewise.
12606 (tan_test): Likewise.
12607 (tan_test_tonearest): Likewise.
12608 (tan_test_towardzero): Likewise.
12609 (tan_test_downward): Likewise.
12610 (tan_test_upward): Likewise.
12611 (tanh_test): Likewise.
12612 (tgamma_test): Likewise.
12613 (trunc_test): Likewise.
12614 (y0_test): Likewise.
12615 (y1_test): Likewise.
12616 (yn_test): Likewise.
12617 (significand_test): Likewise.
12618
bae143d2
OB
126192013-05-24 Ondřej Bílka <neleai@seznam.cz>
12620
12621 [BZ #15381]
12622 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12623
9323d39b
EM
126242013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12625
d4ea44a0 12626 [BZ #14894]
9323d39b
EM
12627 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12628 __ppc_mdoio and __ppc_mdoom.
12629 * manual/platform.texi: Document new functions __ppc_yield,
12630 __ppc_mdoio and __ppc_mdoom.
12631
13e23af7
CD
126322013-05-22 Carlos O'Donell <carlos@redhat.com>
12633
12634 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12635 (main): Mention "tls" pseudo-hwcap is legacy.
12636 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12637
351fe550
JM
126382013-05-22 Joseph Myers <joseph@codesourcery.com>
12639
12640 * math/gen-libm-test.pl (parse_args): Output only string of
12641 arguments as text for test name, not full call or descriptions of
12642 tests for extra outputs.
12643 (generate_testfile): Do not pass function name to parse_args.
12644 Generate this_func variable from START.
12645 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12646 field to arg_str.
12647 (struct test_ff_f_data): Likewise.
12648 (test_ff_f_data_nexttoward): Likewise.
12649 (struct test_fi_f_data): Likewise.
12650 (struct test_fl_f_data): Likewise.
12651 (struct test_if_f_data): Likewise.
12652 (struct test_fff_f_data): Likewise.
12653 (struct test_c_f_data): Likewise.
12654 (struct test_f_f1_data): Likewise. Remove field extra_name.
12655 (struct test_fF_f1_data): Likewise.
12656 (struct test_ffI_f1_data): Likewise.
12657 (struct test_c_c_data): Rename test_name field to arg_str.
12658 (struct test_cc_c_data): Likewise.
12659 (struct test_f_i_data): Likewise.
12660 (struct test_ff_i_data): Likewise.
12661 (struct test_f_l_data): Likewise.
12662 (struct test_f_L_data): Likewise.
12663 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12664 and extra2_name.
12665 (COMMON_TEST_SETUP): New macro.
12666 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12667 (COMMON_TEST_CLEANUP): Likewise.
12668 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12669 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12670 macros.
12671 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12672 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12673 macros.
12674 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12675 (RUN_TEST_fff_f): Take argument string. Call new setup and
12676 cleanup macros.
12677 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12678 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12679 macros.
12680 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12681 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12682 macros.
12683 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12684 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12685 cleanup macros.
12686 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12687 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12688 cleanup macros.
12689 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12690 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12691 cleanup macros.
12692 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12693 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12694 macros.
12695 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12696 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12697 macros.
12698 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12699 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12700 macros.
12701 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12702 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12703 cleanup macros.
12704 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12705 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12706 cleanup macros.
12707 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12708 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12709 macros.
12710 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12711 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12712 cleanup macros.
12713 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12714 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12715 macros.
12716 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12717 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12718 macros.
12719 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12720 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12721 cleanup macros.
12722 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12723
85118d4d
EBM
127242013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12725
12726 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12727 to _sifields.sigfault.
12728 (si_addr_lsb): Define new macro.
12729 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12730 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12731 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12732
7a44c18f
CD
127332013-05-03 Carlos O'Donell <carlos at redhat.com>
12734
12735 [BZ #15441]
12736 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12737 returns -1.
12738 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12739 null return -1.
12740 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12741 loading the domain.
12742
b50a7181
JM
127432013-05-22 Joseph Myers <joseph@codesourcery.com>
12744
12745 * math/gen-libm-test.pl (parse_args): Do not include expected
12746 result in test name.
12747 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12748 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12749 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12750 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12751 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12753
051063c8
SP
127542013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12755
3ce9e010
SP
12756 * benchtests/Makefile: Sort function entries.
12757
051063c8
SP
12758 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12759 tanh, asinh, acosh, atanh.
12760 * benchtests/acos-inputs: New file.
12761 * benchtests/acosh-inputs: New file.
12762 * benchtests/asin-inputs: New file.
12763 * benchtests/asinh-inputs: New file.
12764 * benchtests/atanh-inputs: New file.
12765 * benchtests/cosh-inputs: New file.
12766 * benchtests/log-inputs: New file.
12767 * benchtests/sinh-inputs: New file.
12768 * benchtests/tanh-inputs: New file.
12769
47c22455
DL
127702013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12771
12772 [BZ #15339]
12773 * posix/tst-getaddrinfo4.c: New test.
12774 * posix/Makefile (tests): Add it.
12775
3d04f5db
SP
127762013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12777
12778 [BZ #15339]
12779 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12780 when no services were used.
12781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12782 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12783
d5dd6189
AS
127842013-05-21 Andreas Schwab <schwab@suse.de>
12785
12786 [BZ #15014]
12787 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12788 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12789 successful.
12790 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12791 redundant variable declarations and reallocation of buffer when
12792 parsing as IPv6 address. Always set NSS status when called from
12793 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12794 buffer too small. Correct computation of needed size.
12795 * nss/Makefile (tests): Add test-digits-dots.
12796 * nss/test-digits-dots.c: New test.
12797
fef94eab
SP
127982013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12799
12800 * benchtests/Makefile: Remove instructions for adding
12801 benchmark tests.
12802 * benchtests/README: New file to explain how to execute and
12803 enhance the benchmark tests.
12804
e39adf43
AS
128052013-05-21 Andreas Schwab <schwab@suse.de>
12806
12807 [BZ #15493]
12808 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12809 * setjmp/tst-sigsetjmp.c: New test.
12810
b2b671b6
OB
128112013-05-20 Ondřej Bílka <neleai@seznam.cz>
12812
12813 * sysdeps/x86_64/memset.S (memset): New implementation.
12814 (__bzero): Likewise.
12815 (__memset_tail): New function.
12816
2d48b41c
OB
128172013-05-20 Ondřej Bílka <neleai@seznam.cz>
12818
12819 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12820 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12821 __memcpy_sse2_unaligned ifunc selection.
12822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12823 Add memcpy-sse2-unaligned.S.
12824 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12825 Add: __memcpy_sse2_unaligned.
12826
f16cc3eb
JM
128272013-05-19 Joseph Myers <joseph@codesourcery.com>
12828
3e694268
JM
12829 [BZ #15490]
12830 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12831 math_force_eval before restoring floating-point envrionment.
12832 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12833 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12834 Likewise.
12835 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12836 <math_private.h>.
12837 (__nearbyintl): Use math_force_eval before restoring
12838 floating-point environment.
12839 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12840
db62a907
JM
12841 * math/gen-libm-test.pl (special_functions): Remove.
12842 (parse_args): Don't handle TEST_extra. Handle functions with no
12843 return value.
12844 * math/libm-test.inc (struct test_sincos_data): Replace with
12845 struct test_fFF_11_data.
12846 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12847 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12848 (sincos_test_data): Change element type to struct
12849 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12850 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12851 RUN_TEST_LOOP_sincos.
12852 * math/README.libm-test: Don't mention special handling of
12853 individual functions.
12854 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12855 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12856 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12857 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12858 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12860
f16cc3eb
JM
12861 * math/gen-libm-test.pl (get_variable): Remove function.
12862 (parse_args): Don't show pointer parameters to call in test
12863 names. Use "extra output N" in test names for extra outputs
12864 rather than naming variables.
12865
3779b5b6
JM
128662013-05-18 Joseph Myers <joseph@codesourcery.com>
12867
2ee094ff
JM
12868 [BZ #15488]
12869 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12870 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12871 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12872 double tests.
12873 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12874 disable.
12875 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12876 check_long_double.
12877
3779b5b6
JM
12878 * math/gen-libm-test.pl (@tests): Remove variable.
12879 ($count): Likewise.
12880 (new_test): Remove function.
12881 (show_exceptions): New function.
12882 (special_functions): Use show_exceptions instead of new_test.
12883 (parse_args): Likewise.
12884 (generate_testfile): Pass only function name in generated call to
12885 print_max_error or print_complex_max_error.
12886 (get_ulps): Do not handle complex tests specially.
12887 (output_test): Rename to ...
12888 (get_all_ulps_for_test): ... this. Return a string rather than
12889 printing to a file. Require ulps to be present.
12890 (output_ulps): Generate arrays rather than #defines.
12891 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12892 (struct ulp_data): New type.
12893 (BUILD_COMPLEX_ULP): Remove macro.
12894 (compare_ulp_data): New function.
12895 (find_ulps): Likewise.
12896 (find_test_ulps): Likewise.
12897 (find_function_ulps): Likewise.
12898 (find_complex_function_ulps): Likewise.
12899 (print_max_error): Determine allowed ulps using
12900 find_function_ulps.
12901 (print_complex_max_error): Determine allowed ulps using
12902 find_complex_function_ulps.
12903 (check_float_internal): Determine max ulps using find_test_ulps.
12904 (check_float): Do not take max_ulp parameter. Update call to
12905 check_float_internal.
12906 (check_complex): Likewise.
12907 (check_int): Do not take max_ulp parameter.
12908 (check_long): Likewise.
12909 (check_bool): Likewise.
12910 (check_longlong): Likewise.
12911 (struct test_f_f_data): Remove max_ulp field.
12912 (struct test_ff_f_data): Likewise.
12913 (struct test_ff_f_data_nexttoward): Likewise.
12914 (struct test_fi_f_data): Likewise.
12915 (struct test_fl_f_data): Likewise.
12916 (struct test_if_f_data): Likewise.
12917 (struct test_fff_f_data): Likewise.
12918 (struct test_c_f_data): Likewise.
12919 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12920 (struct test_fF_f1_data): Likewise.
12921 (struct test_ffI_f1_data): Likewise.
12922 (struct test_c_c_data): Remove max_ulp field.
12923 (struct test_cc_c_data): Likewise.
12924 (struct test_f_i_data): Likewise.
12925 (struct test_ff_i_data): Likewise.
12926 (struct test_f_l_data): Likewise.
12927 (struct test_f_L_data): Likewise.
12928 (struct test_sincos_data): Likewise.
12929 (RUN_TEST_f_f): Do not handle ulps.
12930 (RUN_TEST_LOOP_f_f): Likewise.
12931 (RUN_TEST_2_f): Likewise.
12932 (RUN_TEST_LOOP_2_f): Likewise.
12933 (RUN_TEST_fff_f): Likewise.
12934 (RUN_TEST_LOOP_fff_f): Likewise.
12935 (RUN_TEST_c_f): Likewise.
12936 (RUN_TEST_LOOP_c_f): Likewise.
12937 (RUN_TEST_f_f1): Likewise.
12938 (RUN_TEST_LOOP_f_f1): Likewise.
12939 (RUN_TEST_fF_f1): Likewise.
12940 (RUN_TEST_LOOP_fF_f1): Likewise.
12941 (RUN_TEST_fI_f1): Likewise.
12942 (RUN_TEST_LOOP_fI_f1): Likewise.
12943 (RUN_TEST_ffI_f1): Likewise.
12944 (RUN_TEST_LOOP_ffI_f1): Likewise.
12945 (RUN_TEST_c_c): Likewise.
12946 (RUN_TEST_LOOP_c_c): Likewise.
12947 (RUN_TEST_cc_c): Likewise.
12948 (RUN_TEST_LOOP_cc_c): Likewise.
12949 (RUN_TEST_f_i): Likewise.
12950 (RUN_TEST_LOOP_f_i): Likewise.
12951 (RUN_TEST_f_i_tg): Likewise.
12952 (RUN_TEST_LOOP_f_i_tg): Likewise.
12953 (RUN_TEST_ff_i_tg): Likewise.
12954 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12955 (RUN_TEST_f_b): Likewise.
12956 (RUN_TEST_LOOP_f_b): Likewise.
12957 (RUN_TEST_f_b_tg): Likewise.
12958 (RUN_TEST_LOOP_f_b_tg): Likewise.
12959 (RUN_TEST_f_l): Likewise.
12960 (RUN_TEST_LOOP_f_l): Likewise.
12961 (RUN_TEST_f_L): Likewise.
12962 (RUN_TEST_LOOP_f_L): Likewise.
12963 (RUN_TEST_sincos): Likewise.
12964 (RUN_TEST_LOOP_sincos): Likewise.
12965
8269107f
JM
129662013-05-17 Joseph Myers <joseph@codesourcery.com>
12967
bb38759d
JM
12968 [BZ #15480]
12969 [BZ #15485]
12970 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12971 main case of finite arguments, set rounding mode to FE_TONEAREST
12972 and discard exceptions.
12973 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12974 exceptions.
12975 (remainder_tonearest_test_data): New variable.
12976 (remainder_test_tonearest): New function.
12977 (remainder_towardzero_test_data): New variable.
12978 (remainder_test_towardzero): New function.
12979 (remainder_downward_test_data): New variable.
12980 (remainder_test_downward): New function.
12981 (remainder_upward_test_data): New variable.
12982 (remainder_test_upward): New function.
12983 (main): Call the new test functions.
12984
a00bdcf0
JM
12985 * math/libm-test.inc (struct test_f_f1_data): Remove field
12986 extra_init.
12987 (struct test_fF_f1_data): Likewise.
12988 (struct test_ffI_f1_data): Likewise.
12989 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12990 based on value of EXTRA_EXPECTED.
12991 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12992 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12993 EXTRA_VAR based on value of EXTRA_EXPECTED.
12994 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12995 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12996 EXTRA_VAR based on value of EXTRA_EXPECTED.
12997 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12998 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12999 EXTRA_VAR based on value of EXTRA_EXPECTED.
13000 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13001 * math/gen-libm-test.pl (parse_args): Don't output initializers
13002 for extra output values.
13003
de407f79
JM
13004 * math/libm-test.inc (check_int): Expect result to be exactly
13005 equal to expected value and do not handle ulps.
13006 (check_long): Likewise.
13007 (check_longlong): Likewise.
13008
8269107f
JM
13009 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13010 exceptions.
13011 (cimag_test_data): Likewise.
13012 (conj_test_data): Likewise.
13013 (copysign_test_data): Likewise.
13014 (cproj_test_data): Likewise.
13015 (creal_test_data): Likewise.
13016 (fabs_test_data): Likewise.
13017 (fdim_test_data): Likewise.
13018 (finite_test_data): Likewise.
13019 (floor_test_data): Likewise.
13020 (fmax_test_data): Likewise.
13021 (fmin_test_data): Likewise.
13022 (fmod_test_data): Likewise.
13023 (fpclassify_test_data): Likewise.
13024 (frexp_test_data): Likewise.
13025 (ilogb_test_data): Likewise.
13026 (isfinite_test_data): Likewise.
13027 (isgreater_test_data): Likewise.
13028 (isgreaterequal_test_data): Likewise.
13029 (isinf_test_data): Likewise.
13030 (isless_test_data): Likewise.
13031 (islessequal_test_data): Likewise.
13032 (islessgreater_test_data): Likewise.
13033 (isnan_test_data): Likewise.
13034 (isnormal_test_data): Likewise.
13035 (issignaling_test_data): Likewise.
13036 (isunordered_test_data): Likewise.
13037 (ldexp_test_data): Likewise.
13038 (lrint_test_data): Likewise.
13039 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13040 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13041 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13042 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13043 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13044 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13045 test input.
13046 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13047 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13048 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13049 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13050 that test input.
13051 (lrint_downward_test_data): Test for "inexact" exceptions.
13052 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13053 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13054 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13055 test input.
13056 (lrint_upward_test_data): Test for "inexact" exceptions.
13057 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13058 test input.
13059 (llrint_test_data): Test for "inexact" exceptions.
13060 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13061 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13062 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13063 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13064 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13065 (llrint_downward_test_data): Test for "inexact" exceptions.
13066 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13067 (llrint_upward_test_data): Test for "inexact" exceptions.
13068 (logb_test_data): Likewise.
13069 (logb_downward_test_data): Likewise.
13070 (nextafter_test_data): Likewise.
13071 (nexttoward_test_data): Likewise.
13072 (remainder_test_data): Likewise.
13073 (remquo_test_data): Likewise.
13074 (scalbn_test_data): Likewise.
13075 (scalbln_test_data): Likewise.
13076 (signbit_test_data): Likewise.
13077 (sqrt_test_data): Likewise.
13078 (significand_test_data): Likewise.
13079
48a18de1
SP
130802013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13081
13082 [BZ #15424]
13083 * benchtests/bench-modf.c (struct args): Mark arg0 as
13084 volatile.
13085 * scripts/bench.pl: Mark members of struct args as volatile.
13086
13d3b41a
AZ
130872013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13088
68191c1d 13089 [BZ # 15497]
13d3b41a
AZ
13090 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13091 negative infinity on POWER6 or lower.
13092 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13093
2848b105
MR
130942013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13095
13096 [BZ #15442]
13097 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13098 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13099 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13100 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13101 (_FP_SETQNAN): New macro.
13102 (_FP_SETQNAN_SEMIRAW): Likewise.
13103 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13104 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13105 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13106 (FP_EXTEND): Use _FP_FRAC_SNANP.
13107 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13108 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13109 into account.
13110 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13111 New macro.
13112 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13113 Likewise.
13114
323e5cb7
JM
131152013-05-16 Joseph Myers <joseph@codesourcery.com>
13116
c58b274f
JM
13117 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13118 with DIVIDE_BY_ZERO_EXCEPTION.
13119 (gamma_test_data): Likewise.
13120 (lgamma_test_data): Likewise.
13121 (log_test_data): Likewise.
13122 (log10_test_data): Likewise.
13123 (log2_test_data): Likewise.
13124 (tgamma_test_data): Likewise.
13125
0ab34904
JM
13126 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13127 (acos_test_tonearest): Likewise.
13128 (acos_test_towardzero): Likewise.
13129 (acos_test_downward): Likewise.
13130 (acos_test_upward): Likewise.
13131 (acosh_test): Likewise.
13132 (asin_test): Likewise.
13133 (asin_test_tonearest): Likewise.
13134 (asin_test_towardzero): Likewise.
13135 (asin_test_downward): Likewise.
13136 (asin_test_upward): Likewise.
13137 (asinh_test): Likewise.
13138 (atan_test): Likewise.
13139 (atanh_test): Likewise.
13140 (atan2_test): Likewise.
13141 (cabs_test): Likewise.
13142 (cacos_test): Likewise.
13143 (cacosh_test): Likewise.
13144 (casin_test): Likewise.
13145 (casinh_test): Likewise.
13146 (catan_test): Likewise.
13147 (catanh_test): Likewise.
13148 (cbrt_test): Likewise.
13149 (ccos_test): Likewise.
13150 (ccosh_test): Likewise.
13151 (cexp_test): Likewise.
13152 (clog_test): Likewise.
13153 (clog10_test): Likewise.
13154 (cos_test): Likewise.
13155 (cos_test_tonearest): Likewise.
13156 (cos_test_towardzero): Likewise.
13157 (cos_test_downward): Likewise.
13158 (cos_test_upward): Likewise.
13159 (cosh_test): Likewise.
13160 (cosh_test_tonearest): Likewise.
13161 (cosh_test_towardzero): Likewise.
13162 (cosh_test_downward): Likewise.
13163 (cosh_test_upward): Likewise.
13164 (cpow_test): Likewise.
13165 (csin_test): Likewise.
13166 (csinh_test): Likewise.
13167 (csqrt_test): Likewise.
13168 (ctan_test): Likewise.
13169 (ctan_test_tonearest): Likewise.
13170 (ctan_test_towardzero): Likewise.
13171 (ctan_test_downward): Likewise.
13172 (ctan_test_upward): Likewise.
13173 (ctanh_test): Likewise.
13174 (ctanh_test_tonearest): Likewise.
13175 (ctanh_test_towardzero): Likewise.
13176 (ctanh_test_downward): Likewise.
13177 (ctanh_test_upward): Likewise.
13178 (erf_test): Likewise.
13179 (erfc_test): Likewise.
13180 (exp_test): Likewise.
13181 (exp_test_tonearest): Likewise.
13182 (exp_test_towardzero): Likewise.
13183 (exp_test_downward): Likewise.
13184 (exp_test_upward): Likewise.
13185 (exp10_test): Likewise.
13186 (exp2_test): Likewise.
13187 (expm1_test): Likewise.
13188 (fmod_test): Likewise.
13189 (gamma_test): Likewise.
13190 (hypot_test): Likewise.
13191 (j0_test): Likewise.
13192 (j1_test): Likewise.
13193 (jn_test): Likewise.
13194 (lgamma_test): Likewise.
13195 (log_test): Likewise.
13196 (log10_test): Likewise.
13197 (log1p_test): Likewise.
13198 (log2_test): Likewise.
13199 (logb_test_downward): Likewise.
13200 (pow_test): Likewise.
13201 (pow_test_tonearest): Likewise.
13202 (pow_test_towardzero): Likewise.
13203 (pow_test_downward): Likewise.
13204 (pow_test_upward): Likewise.
13205 (remainder_test): Likewise.
13206 (remquo_test): Likewise.
13207 (sin_test): Likewise.
13208 (sin_test_tonearest): Likewise.
13209 (sin_test_towardzero): Likewise.
13210 (sin_test_downward): Likewise.
13211 (sin_test_upward): Likewise.
13212 (sincos_test): Likewise.
13213 (sinh_test): Likewise.
13214 (sinh_test_tonearest): Likewise.
13215 (sinh_test_towardzero): Likewise.
13216 (sinh_test_downward): Likewise.
13217 (sinh_test_upward): Likewise.
13218 (sqrt_test): Likewise.
13219 (tan_test): Likewise.
13220 (tan_test_tonearest): Likewise.
13221 (tan_test_towardzero): Likewise.
13222 (tan_test_downward): Likewise.
13223 (tan_test_upward): Likewise.
13224 (tanh_test): Likewise.
13225 (tgamma_test): Likewise.
13226 (y0_test): Likewise.
13227 (y1_test): Likewise.
13228 (yn_test): Likewise.
13229
323e5cb7
JM
13230 * math/gen-libm-test.pl (adjust_arg): Remove function.
13231 (special_function): Remove argument $in_func. Only handle
13232 generating output for tables of tests, not inside functions.
13233 (parse_args): Likewise.
13234 (generate_testfile): Remove variable $in_func. Update call to
13235 parse_args.
13236 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13237 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13238 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13239 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13240 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13241 (MAX_VALUE_INIT): Rename macro to max_value.
13242 (MIN_VALUE_INIT): Rename macro to min_value.
13243 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13244 (plus_zero): Remove variable.
13245 (minus_zero): Likewise.
13246 (plus_infty): Likewise.
13247 (minus_infty): Likewise.
13248 (qnan_value): Likewise.
13249 (max_value): Likewise.
13250 (min_value): Likewise.
13251 (min_subnorm_value): Likewise.
13252
e054f494
RA
132532013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13254
13255 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13256 uint64_t or uint32_t usage.
13257 * crypt/sha256-block.c: Likewise.
13258 * crypt/sha256-crypt.c: Likewise.
13259 * crypt/sha256.c: Likewise.
13260 * crypt/sha512-block.c: Likewise.
13261 * crypt/sha512-crypt.c: Likewise.
13262 * crypt/sha512.c: Likewise.
13263 * debug/backtrace-tst.c: Likewise.
13264 * debug/pcprofiledump.c: Likewise.
13265 * elf/cache.c: Likewise.
13266 * elf/dl-cache.c: Likewise.
13267 * elf/dl-misc.c: Likewise.
13268 * elf/dl-profile.c: Likewise.
13269 * elf/dl-support.c: Likewise.
13270 * elf/ldconfig.c: Likewise.
13271 * elf/sprof.c: Likewise.
13272 * iconv/dummy-repertoire.c: Likewise.
13273 * iconv/iconv_charmap.c: Likewise.
13274 * iconv/skeleton.c: Likewise.
13275 * iconvdata/8bit-generic.c: Likewise.
13276 * iconvdata/cp737.h: Likewise.
13277 * iconvdata/cp775.h: Likewise.
13278 * iconvdata/ibm1008.h: Likewise.
13279 * iconvdata/ibm1025.h: Likewise.
13280 * iconvdata/ibm1046.h: Likewise.
13281 * iconvdata/ibm1097.h: Likewise.
13282 * iconvdata/ibm1112.h: Likewise.
13283 * iconvdata/ibm1122.h: Likewise.
13284 * iconvdata/ibm1123.h: Likewise.
13285 * iconvdata/ibm1124.h: Likewise.
13286 * iconvdata/ibm1129.h: Likewise.
13287 * iconvdata/ibm1130.h: Likewise.
13288 * iconvdata/ibm1132.h: Likewise.
13289 * iconvdata/ibm1133.h: Likewise.
13290 * iconvdata/ibm1137.h: Likewise.
13291 * iconvdata/ibm1140.h: Likewise.
13292 * iconvdata/ibm1141.h: Likewise.
13293 * iconvdata/ibm1142.h: Likewise.
13294 * iconvdata/ibm1143.h: Likewise.
13295 * iconvdata/ibm1144.h: Likewise.
13296 * iconvdata/ibm1145.h: Likewise.
13297 * iconvdata/ibm1146.h: Likewise.
13298 * iconvdata/ibm1147.h: Likewise.
13299 * iconvdata/ibm1148.h: Likewise.
13300 * iconvdata/ibm1149.h: Likewise.
13301 * iconvdata/ibm1153.h: Likewise.
13302 * iconvdata/ibm1154.h: Likewise.
13303 * iconvdata/ibm1155.h: Likewise.
13304 * iconvdata/ibm1156.h: Likewise.
13305 * iconvdata/ibm1157.h: Likewise.
13306 * iconvdata/ibm1158.h: Likewise.
13307 * iconvdata/ibm1160.h: Likewise.
13308 * iconvdata/ibm1161.h: Likewise.
13309 * iconvdata/ibm1162.h: Likewise.
13310 * iconvdata/ibm1163.h: Likewise.
13311 * iconvdata/ibm1164.h: Likewise.
13312 * iconvdata/ibm1166.h: Likewise.
13313 * iconvdata/ibm1167.h: Likewise.
13314 * iconvdata/ibm12712.h: Likewise.
13315 * iconvdata/ibm1390.h: Likewise.
13316 * iconvdata/ibm1399.h: Likewise.
13317 * iconvdata/ibm16804.h: Likewise.
13318 * iconvdata/ibm4517.h: Likewise.
13319 * iconvdata/ibm4899.h: Likewise.
13320 * iconvdata/ibm4909.h: Likewise.
13321 * iconvdata/ibm4971.h: Likewise.
13322 * iconvdata/ibm5347.h: Likewise.
13323 * iconvdata/ibm803.h: Likewise.
13324 * iconvdata/ibm856.h: Likewise.
13325 * iconvdata/ibm901.h: Likewise.
13326 * iconvdata/ibm902.h: Likewise.
13327 * iconvdata/ibm9030.h: Likewise.
13328 * iconvdata/ibm9066.h: Likewise.
13329 * iconvdata/ibm921.h: Likewise.
13330 * iconvdata/ibm922.h: Likewise.
13331 * iconvdata/ibm9448.h: Likewise.
13332 * iconvdata/isiri-3342.h: Likewise.
13333 * iconvdata/jis0201.h: Likewise.
13334 * include/link.h: Likewise.
13335 * include/netdb.h: Likewise.
13336 * inet/check_native.c: Likewise.
13337 * inet/check_pf.c: Likewise.
13338 * inet/getipv4sourcefilter.c: Likewise.
13339 * inet/getnameinfo.c: Likewise.
13340 * inet/getsourcefilter.c: Likewise.
13341 * inet/htonl.c: Likewise.
13342 * inet/setipv4sourcefilter.c: Likewise.
13343 * inet/setsourcefilter.c: Likewise.
13344 * inet/test-inet6_opt.c: Likewise.
13345 * inet/tst-network.c: Likewise.
13346 * locale/C-collate.c: Likewise.
13347 * locale/C-ctype.c: Likewise.
13348 * locale/C-time.c: Likewise.
13349 * locale/C-translit.h: Likewise.
13350 * locale/loadarchive.c: Likewise.
13351 * locale/programs/3level.h: Likewise.
13352 * locale/programs/charmap.c: Likewise.
13353 * locale/programs/charmap.h: Likewise.
13354 * locale/programs/ld-address.c: Likewise.
13355 * locale/programs/ld-collate.c: Likewise.
13356 * locale/programs/ld-ctype.c: Likewise.
13357 * locale/programs/ld-identification.c: Likewise.
13358 * locale/programs/ld-measurement.c: Likewise.
13359 * locale/programs/ld-messages.c: Likewise.
13360 * locale/programs/ld-monetary.c: Likewise.
13361 * locale/programs/ld-name.c: Likewise.
13362 * locale/programs/ld-numeric.c: Likewise.
13363 * locale/programs/ld-paper.c: Likewise.
13364 * locale/programs/ld-telephone.c: Likewise.
13365 * locale/programs/ld-time.c: Likewise.
13366 * locale/programs/linereader.c: Likewise.
13367 * locale/programs/locale.c: Likewise.
13368 * locale/programs/locarchive.c: Likewise.
13369 * locale/programs/locfile.h: Likewise.
13370 * locale/programs/repertoire.c: Likewise.
13371 * locale/programs/simple-hash.c: Likewise.
13372 * locale/programs/simple-hash.h: Likewise.
13373 * malloc/memusage.c: Likewise.
13374 * malloc/memusagestat.c: Likewise.
13375 * nis/nis_defaults.c: Likewise.
13376 * nis/nis_hash.c: Likewise.
13377 * nis/nis_print.c: Likewise.
13378 * nis/nis_xdr.c: Likewise.
13379 * nscd/connections.c: Likewise.
13380 * nscd/hstcache.c: Likewise.
13381 * nscd/nscd_gethst_r.c: Likewise.
13382 * nscd/nscd_getserv_r.c: Likewise.
13383 * nscd/nscd_helper.c: Likewise.
13384 * nscd/servicescache.c: Likewise.
13385 * nss/makedb.c: Likewise.
13386 * nss/nss_db/db-XXX.c: Likewise.
13387 * nss/nss_db/db-initgroups.c: Likewise.
13388 * nss/nss_db/db-netgrp.c: Likewise.
13389 * nss/nss_files/files-network.c: Likewise.
13390 * nss/nss_files/files-parse.c: Likewise.
13391 * posix/bug-regex5.c: Likewise.
13392 * posix/fnmatch_loop.c: Likewise.
13393 * posix/regcomp.c: Likewise.
13394 * posix/regexec.c: Likewise.
13395 * posix/tst-rfc3484-2.c: Likewise.
13396 * posix/tst-rfc3484-3.c: Likewise.
13397 * posix/tst-rfc3484.c: Likewise.
13398 * resolv/nss_dns/dns-canon.c: Likewise.
13399 * resolv/nss_dns/dns-network.c: Likewise.
13400 * resolv/res_init.c: Likewise.
13401 * resolv/res_mkquery.c: Likewise.
13402 * resolv/tst-aton.c: Likewise.
13403 * stdlib/cxa_atexit.c: Likewise.
13404 * stdlib/cxa_finalize.c: Likewise.
13405 * stdlib/gen-fpioconst.c: Likewise.
13406 * stdlib/strtol_l.c: Likewise.
13407 * string/tst-endian.c: Likewise.
13408 * sunrpc/auth_des.c: Likewise.
13409 * sunrpc/clnt_udp.c: Likewise.
13410 * sunrpc/rtime.c: Likewise.
13411 * sunrpc/svcauth_des.c: Likewise.
13412 * sunrpc/xdr.c: Likewise.
13413 * sunrpc/xdr_intXX_t.c: Likewise.
13414 * sunrpc/xdr_rec.c: Likewise.
13415 * sysdeps/generic/ldconfig.h: Likewise.
13416 * sysdeps/generic/ldsodefs.h: Likewise.
13417 * sysdeps/generic/memusage.h: Likewise.
13418 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13419 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13420 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13421 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13423 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13424 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13425 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13426 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13427 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13428 * sysdeps/posix/getaddrinfo.c: Likewise.
13429 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13430 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13431 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13432 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13433 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13434 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13435 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13436 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13437 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13438 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13439 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13440 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13441 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13442 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13443 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13444 * sysdeps/x86_64/dl-tls.h: Likewise.
13445 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13446 * time/alt_digit.c: Likewise.
13447 * time/era.c: Likewise.
13448 * wcsmbs/tst-c16c32-1.c: Likewise.
13449
8c75f674
JM
134502013-05-16 Joseph Myers <joseph@codesourcery.com>
13451
13452 * math/libm-test.inc (struct test_sincos_data): New type.
13453 (RUN_TEST_LOOP_sincos): New macro.
13454 (sincos_test_data): New variable.
13455 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13456
e6e49e59
RH
134572013-05-16 Richard Henderson <rth@redhat.com>
13458
13459 * math/atest-exp2.c (LIMB64): New macro.
13460 (CONSTSZ): New macro.
13461 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13462 (hexdig): Move ...
13463 (print_mpn_fp): ... to function scope.
13464 (read_mpn_hex): Remove.
13465 (get_log2): Remove.
13466 (exp2_mpn): Use mp_log2.
13467 (main): Use mp_exp1.
13468
15c7c18d
JM
134692013-05-16 Joseph Myers <joseph@codesourcery.com>
13470
105a07df
JM
13471 * math/libm-test.inc: Remove comment about not testing "inexact"
13472 exceptions.
13473 (INEXACT_EXCEPTION): New macro.
13474 (NO_INEXACT_EXCEPTION): Likewise.
13475 (INVALID_EXCEPTION_OK): Update value.
13476 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13477 (OVERFLOW_EXCEPTION_OK): Likewise.
13478 (UNDERFLOW_EXCEPTION_OK): Likewise.
13479 (IGNORE_ZERO_INF_SIGN): Likewise.
13480 (ERRNO_UNCHANGED): Likewise.
13481 (ERRNO_EDOM): Likewise.
13482 (ERRNO_ERANGE): Likewise.
13483 (test_exceptions): Handle testing "inexact" exceptions.
13484 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13485 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13486 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13487 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13488 INEXACT_EXCEPTION.
13489 (rint_towardzero_test_data): Likewise.
13490 (rint_downward_test_data): Likewise.
13491 (rint_upward_test_data): Likewise.
13492
e9eee333
JM
13493 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13494 with OVERFLOW_EXCEPTION.
13495 (exp10_test_data): Likewise.
13496 (exp2_test_data): Likewise.
13497 (expm1_test_data): Likewise.
13498 (lgamma_test_data): Likewise.
13499 (pow_test_data): Likewise.
13500 (tgamma_test_data): Likewise.
13501 (yn_test_data): Remove duplicate test of overflow.
13502
1c38ff73
JM
13503 * math/libm-test.inc (struct test_cc_c_data): New type.
13504 (RUN_TEST_LOOP_cc_c): New macro.
13505 (cpow_test_data): New variable.
13506 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13507
15c7c18d
JM
13508 * math/libm-test.inc (struct test_f_L_data): New type.
13509 (RUN_TEST_LOOP_f_L): New macro.
13510 (llrint_test_data): New variable.
13511 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13512 (llrint_tonearest_test_data): New variable.
13513 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13514 (llrint_towardzero_test_data): New variable.
13515 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13516 (llrint_downward_test_data): New variable.
13517 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13518 (llrint_upward_test_data): New variable.
13519 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13520 (llround_test_data): New variable.
13521 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13522
f137ff13
PC
135232013-05-13 Peter Collingbourne <pcc@google.com>
13524
13525 * math/atest-exp2.c (get_log2): Remove const attribute.
13526
3608cb24
JM
135272013-05-15 Joseph Myers <joseph@codesourcery.com>
13528
13529 * math/libm-test.inc (struct test_f_l_data): New type.
13530 (RUN_TEST_LOOP_f_l): New macro.
13531 (lrint_test_data): New variable.
13532 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13533 (lrint_tonearest_test_data): New variable.
13534 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13535 (lrint_towardzero_test_data): New variable.
13536 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13537 (lrint_downward_test_data): New variable.
13538 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13539 (lrint_upward_test_data): New variable.
13540 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13541 (lround_test_data): New variable.
13542 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13543
39b1f617
PC
135442013-05-15 Peter Collingbourne <pcc@google.com>
13545
1deff3dc
PC
13546 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13547 (EXTRACT_WORDS64) Use where appropriate.
13548 (INSERT_WORDS64) Likewise.
13549
791f3ba0
PC
13550 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13551 constraints with x constraints.
13552 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13553
39b1f617
PC
13554 * malloc/obstack.c (_obstack_compat): Add initializer.
13555
12fba011
EM
135562013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13557
13558 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13559 si_trapno and add si_addr_lsb to _sifields.sigfault.
13560 (si_trapno): Remove macro.
13561 (si_addr_lsb): Define new macro.
13562 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13563
d369f531
JM
135642013-05-15 Joseph Myers <joseph@codesourcery.com>
13565
b861c6c4
JM
13566 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13567 instead of TEST_f_l.
13568 (llrint_test_tonearest): Likewise.
13569 (llrint_test_towardzero): Likewise.
13570 (llrint_test_downward): Likewise.
13571 (llrint_test_upward): Likewise.
13572 (llround_test): Likewise.
13573
7abeee12
JM
13574 * math/libm-test.inc (struct test_f_i_data): Add comment.
13575 (RUN_TEST_LOOP_f_b): New macro.
13576 (RUN_TEST_LOOP_f_b_tg): Likewise.
13577 (finite_test_data): New variable.
13578 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13579 (isfinite_test_data): New variable.
13580 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13581 (isinf_test_data): New variable.
13582 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13583 (isnan_test_data): New variable.
13584 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13585 (isnormal_test_data): New variable.
13586 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13587 (issignaling_test_data): New variable.
13588 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13589 (signbit_test_data): New variable.
13590 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13591
cbe8c4d3
JM
13592 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13593 with INVALID_EXCEPTION.
13594 (acosh_test_data): Likewise.
13595 (asin_test_data): Likewise.
13596 (atanh_test_data): Likewise.
13597 (fmod_test_data): Likewise.
13598 (log_test_data): Likewise.
13599 (log10_test_data): Likewise.
13600 (log2_test_data): Likewise.
13601 (pow_test_data): Likewise.
13602 (sqrt_test_data): Likewise.
13603 (y0_test_data): Likewise.
13604 (y1_test_data): Likewise.
13605 (yn_test_data): Likewise.
13606
5575c0e5
JM
13607 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13608 function contents.
13609
d369f531
JM
13610 * math/libm-test.inc (struct test_ff_i_data): New type.
13611 (RUN_TEST_LOOP_ff_i_tg): New macro.
13612 (isgreater_test_data): New variable.
13613 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13614 (isgreaterequal_test_data): New variable.
13615 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13616 (isless_test_data): New variable.
13617 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13618 (islessequal_test_data): New variable.
13619 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13620 (islessgreater_test_data): New variable.
13621 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13622 (isunordered_test_data): New variable.
13623 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13624
781fd748
DM
136252013-05-14 David S. Miller <davem@davemloft.net>
13626
13627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13628
87aa21df
JM
136292013-05-14 Joseph Myers <joseph@codesourcery.com>
13630
5e908270
JM
13631 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13632
f71172e5
JM
13633 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13634 extra_test to int.
13635 (struct test_f_i_data): Change type of max_ulp to int.
13636
8cfa635a
JM
13637 * math/libm-test.inc (test_ffI_f1_data): New type.
13638 (RUN_TEST_LOOP_ffI_f1): New macro.
13639 (remquo_test_data): New variable.
13640 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13641
2bcb36b2
JM
13642 * setjmp/tst-setjmp-fp.c: New file.
13643 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13644 (link-libm): New variable.
13645 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13646
acbd839a
JM
13647 * math/libm-test.inc (struct test_f_i_data): New type.
13648 (RUN_TEST_LOOP_f_i): New macro.
13649 (RUN_TEST_LOOP_f_i_tg): Likewise.
13650 (fpclassify_test_data): New variable.
13651 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13652 (ilogb_test_data): New variable.
13653 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13654
e414d745
JM
13655 * math/libm-test.inc (scalbln_test): Correct function name in END
13656 call.
13657
d9c2a0fd
JM
13658 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13659 (RUN_TEST_LOOP_fI_f1): New macro.
13660 (frexp_test_data): New variable.
13661 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13662
9dc9095d
JM
13663 * math/libm-test.inc (struct test_fF_f1_data): New type.
13664 (RUN_TEST_LOOP_fF_f1): New macro.
13665 (modf_test_data): New variable.
13666 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13667
87aa21df
JM
13668 * math/libm-test.inc (struct test_f_f1_data): New type.
13669 (RUN_TEST_LOOP_f_f1): New macro.
13670 (gamma_test_data): New variable.
13671 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13672 (lgamma_test_data): New variable.
13673 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13674
141af660
CD
136752013-05-13 Carlos O'Donell <carlos@redhat.com>
13676
13677 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13678 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13679 (main): Comment "tls" pseudo-hwcap.
13680
6d33265c
JM
136812013-05-13 Joseph Myers <joseph@codesourcery.com>
13682
68fc074c
JM
13683 * math/libm-test.inc (struct test_fl_f_data): New type.
13684 (RUN_TEST_LOOP_fl_f): New variable.
13685 (scalbln_test_data): New variable.
13686 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13687
243216e1
JM
13688 * math/libm-test.inc (struct test_fi_f_data): New type.
13689 (RUN_TEST_LOOP_fi_f): New macro.
13690 (ldexp_test_data): New variable.
13691 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13692 (scalbn_test_data): New variable.
13693 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13694
6a1992e2
JM
13695 * math/libm-test.inc (struct test_c_f_data): New type.
13696 (RUN_TEST_LOOP_c_f): New macro.
13697 (cabs_test_data): New variable.
13698 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13699 (carg_test_data): New variable.
13700 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13701 (cimag_test_data): New variable.
13702 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13703 (creal_test_data): New variable.
13704 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13705
0e400df5
JM
13706 * math/libm-test.inc (struct test_if_f_data): New type.
13707 (RUN_TEST_LOOP_if_f): New macro.
13708 (jn_test_data): New variable.
13709 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13710 (yn_test_data): New variable.
13711 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13712
6d33265c
JM
13713 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13714
f98ece5f
AZ
137152013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13716
13717 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13718 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13719
0f7d347b
SP
137202013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13721
43fe811b
SP
13722 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13723 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13724 (bench-deps): Add bench-timing.h.
13725 * benchtests-bench-skeleton.c: Include bench-timing.h.
13726 (main): Use TIMING_* macros instead of clock_gettime.
13727 * benchtests/bench-timing.h: New file.
13728
0f7d347b
SP
13729 [BZ #14582]
13730 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13731 Renamed from _LIB_VERSION.
13732 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13733
601a3a5f
JM
137342013-05-12 Joseph Myers <joseph@codesourcery.com>
13735
4f184d30
JM
13736 * math/libm-test.inc (struct test_fff_f_data): New type.
13737 (RUN_TEST_LOOP_fff_f): New macro.
13738 (fma_test_data): New variable.
13739 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13740 (fma_towardzero_test_data): New variable.
13741 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13742 (fma_downward_test_data): New variable.
13743 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13744 (fma_upward_test_data): New variable.
13745 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13746
08198877
JM
13747 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13748 (struct test_c_c_data): New type.
13749 (RUN_TEST_LOOP_c_c): New macro.
13750 (cacos_test_data): New variable.
13751 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13752 (cacosh_test_data): New variable.
13753 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13754 (casin_test_data): New variable.
13755 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13756 (casinh_test_data): New variable.
13757 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13758 (catan_test_data): New variable.
13759 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13760 (catanh_test_data): New variable.
13761 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13762 (ccos_test_data): New variable.
13763 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13764 (ccosh_test_data): New variable.
13765 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13766 (cexp_test_data): New variable.
13767 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13768 (clog_test_data): New variable.
13769 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13770 (clog10_test_data): New variable.
13771 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13772 (conj_test_data): New variable.
13773 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13774 (cproj_test_data): New variable.
13775 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13776 (csin_test_data): New variable.
13777 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13778 (csinh_test_data): New variable.
13779 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13780 (csqrt_test_data): New variable.
13781 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13782 (ctan_test_data): New variable.
13783 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13784 (ctan_tonearest_test_data): New variable.
13785 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13786 (ctan_towardzero_test_data): New variable.
13787 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13788 (ctan_downward_test_data): New variable.
13789 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13790 (ctan_upward_test_data): New variable.
13791 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13792 (ctanh_test_data): New variable.
13793 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13794 (ctanh_tonearest_test_data): New variable.
13795 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13796 (ctanh_towardzero_test_data): New variable.
13797 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13798 (ctanh_downward_test_data): New variable.
13799 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13800 (ctanh_upward_test_data): New variable.
13801 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13802 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13803 of BUILD_COMPLEX.
13804
601a3a5f
JM
13805 * math/libm-test.inc (struct test_ff_f_data): New type.
13806 (struct test_ff_f_data_nexttoward): Likewise.
13807 (RUN_TEST_LOOP_2_f): New macro.
13808 (RUN_TEST_LOOP_ff_f): Likewise.
13809 (atan2_test_data): New variable.
13810 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13811 (copysign_test_data): New variable.
13812 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13813 (fdim_test_data): New variable.
13814 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13815 (fmax_test_data): New variable.
13816 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13817 (fmin_test_data): New variable.
13818 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13819 (fmod_test_data): New variable.
13820 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13821 (hypot_test_data): New variable.
13822 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13823 (nextafter_test_data): New variable.
13824 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13825 (nexttoward_test_data): New variable.
13826 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13827 (pow_test_data): New variable.
13828 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13829 (pow_tonearest_test_data): New variable.
13830 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13831 (pow_towardzero_test_data): New variable.
13832 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13833 (pow_downward_test_data): New variable.
13834 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13835 (pow_upward_test_data): New variable.
13836 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13837 (remainder_test_data): New variable.
13838 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13839 (scalb_test_data): New variable.
13840 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13841 * sysdeps/i386/fpu/libm-test-ulps: Update.
13842
74c57478
JM
138432013-05-11 Joseph Myers <joseph@codesourcery.com>
13844
8329e4da
JM
13845 * math/libm-test.inc (fma_test): Use max_value instead of local
13846 variable fltmax.
13847 (nextafter_test): Likewise.
13848
74c57478
JM
13849 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13850 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13851 (acos_downward_test_data): New variable.
13852 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13853 (acos_upward_test_data): New variable.
13854 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13855 (acosh_test_data): New variable.
13856 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13857 (asin_test_data): New variable.
13858 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13859 (asin_tonearest_test_data): New variable.
13860 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13861 (asin_towardzero_test_data): New variable.
13862 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13863 (asin_downward_test_data): New variable.
13864 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13865 (asin_upward_test_data): New variable.
13866 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13867 (asinh_test_data): New variable.
13868 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13869 (atan_test_data): New variable.
13870 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13871 (atanh_test_data): New variable.
13872 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13873 (cbrt_test_data): New variable.
13874 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13875 (ceil_test_data): New variable.
13876 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13877 (cos_test_data): New variable.
13878 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13879 (cos_tonearest_test_data): New variable.
13880 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13881 (cos_towardzero_test_data): New variable.
13882 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13883 (cos_downward_test_data): New variable.
13884 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13885 (cos_upward_test_data): New variable.
13886 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13887 (cosh_test_data): New variable.
13888 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13889 (cosh_tonearest_test_data): New variable.
13890 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13891 (cosh_towardzero_test_data): New variable.
13892 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13893 (cosh_downward_test_data): New variable.
13894 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13895 (cosh_upward_test_data): New variable.
13896 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13897 (erf_test_data): New variable.
13898 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13899 (erfc_test_data): New variable.
13900 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13901 (exp_test_data): New variable.
13902 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13903 (exp_tonearest_test_data): New variable.
13904 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13905 (exp_towardzero_test_data): New variable.
13906 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13907 (exp_downward_test_data): New variable.
13908 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13909 (exp_upward_test_data): New variable.
13910 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13911 (exp10_test_data): New variable.
13912 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13913 (exp2_test_data): New variable.
13914 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13915 (expm1_test_data): New variable.
13916 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13917 (fabs_test_data): New variable.
13918 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13919 (floor_test_data): New variable.
13920 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13921 (j0_test_data): New variable.
13922 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13923 (j1_test_data): New variable.
13924 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13925 (log_test_data): New variable.
13926 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13927 (log10_test_data): New variable.
13928 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13929 (log1p_test_data): New variable.
13930 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13931 (log2_test_data): New variable.
13932 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13933 (logb_test_data): New variable.
13934 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13935 (logb_downward_test_data): New variable.
13936 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13937 (nearbyint_test_data): New variable.
13938 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13939 (rint_test_data): New variable.
13940 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13941 (rint_tonearest_test_data): New variable.
13942 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13943 (rint_towardzero_test_data): New variable.
13944 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13945 (rint_downward_test_data): New variable.
13946 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13947 (rint_upward_test_data): New variable.
13948 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13949 (round_test_data): New variable.
13950 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13951 (sin_test_data): New variable.
13952 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13953 (sin_tonearest_test_data): New variable.
13954 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13955 (sin_towardzero_test_data): New variable.
13956 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13957 (sin_downward_test_data): New variable.
13958 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13959 (sin_upward_test_data): New variable.
13960 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13961 (sinh_test_data): New variable.
13962 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13963 (sinh_tonearest_test_data): New variable.
13964 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13965 (sinh_towardzero_test_data): New variable.
13966 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13967 (sinh_downward_test_data): New variable.
13968 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13969 (sinh_upward_test_data): New variable.
13970 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13971 (sqrt_test_data): New variable.
13972 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13973 (tan_test_data): New variable.
13974 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13975 (tan_tonearest_test_data): New variable.
13976 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13977 (tan_towardzero_test_data): New variable.
13978 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13979 (tan_downward_test_data): New variable.
13980 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13981 (tan_upward_test_data): New variable.
13982 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13983 (tanh_test_data): New variable.
13984 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13985 (tgamma_test_data): New variable.
13986 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13987 (trunc_test_data): New variable.
13988 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13989 (y0_test_data): New variable.
13990 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13991 (y1_test_data): New variable.
13992 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13993 (significand_test_data): New variable.
13994 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13995
7187d844
CG
139962013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13997
13998 [BZ #12387]
13999 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14000
f63fae73
PT
140012013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14002
14003 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14004
8a67a4b3
AJ
140052013-05-10 Andreas Jaeger <aj@suse.de>
14006
14007 [BZ #15448]
14008 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14009 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14010
51df539d
JM
140112013-05-10 Joseph Myers <joseph@codesourcery.com>
14012
14013 * math/gen-libm-test.pl (adjust_arg): New function.
14014 (special_functions): Handle generating output in both functions
14015 and arrays.
14016 (parse_args): Likewise.
14017 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14018 $in_func argument to parse_args.
14019 * math/libm-test.inc (struct test_f_f_data): New type.
14020 (IF_ROUND_INIT_): New macro.
14021 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14022 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14023 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14024 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14025 (ROUND_RESTORE_): Likewise.
14026 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14027 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14028 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14029 (ROUND_RESTORE_FE_UPWARD): Likewise.
14030 (RUN_TEST_LOOP_f_f): New macro.
14031 (acos_test_data): New variable.
14032 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14033 (acos_tonearest_test_data): New variable.
14034 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14035
5c637fe5
SP
140362013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14037
14038 * benchtests/bench-skeleton.c (startup): Fix coding style.
14039
ab2b9461
JM
140402013-05-10 Joseph Myers <joseph@codesourcery.com>
14041
14042 [BZ #6809]
14043 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14044 negative infinity argument.
14045 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14046 negative infinity argument.
14047 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14048 negative infinity argument.
14049 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14050 domain errors.
14051
4c0fe6fe
FW
140522013-05-10 Florian Weimer <fweimer@redhat.com>
14053
14054 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14055 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14056 * iconv/iconv_prog.c (main): Likewise.
14057 * locale/programs/charmap-dir.c (charmap_readdir)
14058 (fopen_uncompressed): Likewise.
14059 * locale/programs/locfile.c (siblings_uncached)
14060 (write_locale_data): Use lstat64 instead of lstat.
14061 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14062 stat.
14063
a3375d29
AJ
140642013-05-10 Andreas Jaeger <aj@suse.de>
14065
14066 [BZ #15395]
14067 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14068 localization.
14069 Include <locale.h>.
14070
36129722
CD
140712013-05-09 Carlos O'Donell <carlos@redhat.com>
14072
14073 * elf/dl-close.c (_dl_close_worker): Add comments.
14074
faa7f811
JM
140752013-05-09 Joseph Myers <joseph@codesourcery.com>
14076
ed41ffef
JM
14077 [BZ #15359]
14078 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14079 high part of pi/2.
14080 (__ieee754_rem_pio2l): Update comments.
14081
d0213cd0
JM
14082 [BZ #15429]
14083 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14084 high part of pi/2.
14085 (__ieee754_rem_pio2l): Update comments.
14086
0d3e777a
JM
14087 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14088 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14089
24f56066
JM
14090 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14091 M_PI_4l.
14092
faa7f811
JM
14093 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14094 (M_PI_34_LOG10El): Likewise.
14095 (M_PI2_LOG10El): Likewise.
14096 (M_PI4_LOG10El): Likewise.
14097 (M_PI_LOG10El): Likewise.
14098
e9a5e0fd
AZ
140992013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14100
14101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14102
d8cd06db
JM
141032013-05-08 Joseph Myers <joseph@codesourcery.com>
14104
a0d9f9d7
JM
14105 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14106 (MINUS_ZERO_INIT): Likewise.
14107 (PLUS_INFTY_INIT): Likewise.
14108 (MINUS_INFTY_INIT): Likewise.
14109 (QNAN_VALUE_INIT): Likewise.
14110 (MAX_VALUE_INIT): Likewise.
14111 (MIN_VALUE_INIT): Likewise.
14112 (MIN_SUBNORM_VALUE_INIT): Likewise.
14113 (plus_zero): Initialize with PLUS_ZERO_INIT.
14114 (minus_zero): Initialize with MINUS_ZERO_INIT.
14115 (plus_infty): Initialize with PLUS_INFTY_INIT.
14116 (minus_infty): Initialize with MINUS_INFTY_INIT.
14117 (qnan_value): Initialize with QNAN_VALUE_INIT.
14118 (max_value): Initialize with MAX_VALUE_INIT.
14119 (min_value): Initialize with MIN_VALUE_INIT.
14120 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14121
ae08db3b
JM
14122 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14123 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14124 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14125 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14126
f44bf14a
JM
14127 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14128 (RUN_TEST_2_f): Likewise.
14129 (RUN_TEST_ff_f): Likewise.
14130 (RUN_TEST_fi_f): Likewise.
14131 (RUN_TEST_fl_f): Likewise.
14132 (RUN_TEST_fff_f): Likewise.
14133 (RUN_TEST_c_f): Likewise.
14134 (RUN_TEST_f_f1): Likewise.
14135 (RUN_TEST_fF_f1): Likewise.
14136 (RUN_TEST_fI_f1): Likewise.
14137 (RUN_TEST_ffI_f1): Likewise.
14138 (RUN_TEST_c_c): Likewise.
14139 (RUN_TEST_cc_c): Likewise.
14140 (RUN_TEST_f_i): Likewise.
14141 (RUN_TEST_f_i_tg): Likewise.
14142 (RUN_TEST_ff_i_tg): Likewise.
14143 (RUN_TEST_f_b): Likewise.
14144 (RUN_TEST_f_b_tg): Likewise.
14145 (RUN_TEST_f_l): Likewise.
14146 (RUN_TEST_f_L): Likewise.
14147 (RUN_TEST_sincos): Likewise.
14148 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14149 whether to show exceptions. Do not include ");\n" in return
14150 value.
14151 (special_functions): Output call to RUN_TEST_sincos instead of
14152 check_float calls. Update calls to new_test.
14153 (parse_args): Output call to single RUN_TEST_* macro instead of
14154 check_* calls and other assignments. Update calls to new_test.
14155
d8cd06db
JM
14156 [BZ #2546]
14157 [BZ #2560]
14158 [BZ #5159]
14159 [BZ #15426]
14160 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14161 input to result for tgamma overflow.
14162 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14163 (gamma_coeff): New variable.
14164 (NCOEFF): New macro.
14165 (gamma_positive): New function.
14166 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14167 underflow here. Use gamma_positive instead of exp (lgamma) for
14168 other arguments.
14169 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14170 (gamma_coeff): New variable.
14171 (NCOEFF): New macro.
14172 (gammaf_positive): New function.
14173 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14174 underflow here. Use gamma_positive instead of exp (lgamma) for
14175 other arguments.
14176 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14177 (gamma_coeff): New variable.
14178 (NCOEFF): New macro.
14179 (gammal_positive): New function.
14180 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14181 underflow here. Use gamma_positive instead of exp (lgamma) for
14182 other arguments.
14183 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14184 (gamma_coeff): New variable.
14185 (NCOEFF): New macro.
14186 (gammal_positive): New function.
14187 (__ieee754_gammal_r): Handle positive infinity, overflow and
14188 underflow here. Handle NaN the same as positive infinity. Remove
14189 check x < 0xffffffff for negative integers. Use gamma_positive
14190 instead of exp (lgamma) for other arguments.
14191 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14192 (gamma_coeff): New variable.
14193 (NCOEFF): New macro.
14194 (gammal_positive): New function.
14195 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14196 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14197 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14198 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14199 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14200 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14201 * sysdeps/generic/math_private.h (__gamma_productf): New
14202 prototype.
14203 (__gamma_product): Likewise.
14204 (__gamma_productl): Likewise.
14205 * math/Makefile (libm-calls): Add gamma_product.
14206 * math/libm-test.inc (tgamma_test): Add more tests.
14207 * sysdeps/i386/fpu/libm-test-ulps: Update.
14208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14209
bb7cf681
OB
142102013-05-08 Ondřej Bílka <neleai@seznam.cz>
14211
14212 * benchtests/bench-skeleton.c (main): Preheat CPU.
14213
ba853947
AJ
142142013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14215
14216 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14217
8347c74c
RM
142182013-05-07 Roland McGrath <roland@hack.frob.com>
14219
14220 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14221 and _dl_skip_args_internal.
14222
e8dd4791
CD
142232013-05-07 Carlos O'Donell <carlos@redhat.com>
14224
14225 * manual/message.texi (Message Translation): Talk about users.
14226 Message to key mapping impacts design.
14227
c7405830
RM
142282013-05-06 Roland McGrath <roland@hack.frob.com>
14229
a9173057
RM
14230 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14231
976e2f03
RM
14232 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14233
9723ffc5
RM
14234 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14235 * sysdeps/wordsize-64/glob64.c: ... here.
14236
962e6658
RM
14237 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14238 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14239 New macros.
14240
ee586a6d
RM
14241 * debug/getlogin_r_chk.c: Moved to ...
14242 * login/getlogin_r_chk.c: ... here.
14243 * debug/Makefile (routines): Move getlogin_r_chk to ...
14244 * login/Makefile (routines): ... here.
14245 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14246 * login/Versions (libc: GLIBC_2.4): ... here.
14247
355f9165
RM
14248 * io/poll.c (__poll): Renamed from poll.
14249 Add libc_hidden_def.
14250 (poll): Define as weak alias.
14251
bd9ffde6
RM
14252 * debug/ptsname_r_chk.c: Moved to ...
14253 * login/ptsname_r_chk.c: ... here.
14254 * debug/Makefile (routines): Move ptsname_r_chk to ...
14255 * login/Makefile (routines): ... here.
14256 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14257 * login/Versions (libc: GLIBC_2.4): ... here.
14258
8fb16a04
RM
14259 * posix/getlogin.c: Moved to ...
14260 * login/getlogin.c: ... here.
14261 * posix/getlogin_r.c: Moved to ...
14262 * login/getlogin_r.c: ... here.
14263 * posix/getlogin_r.c: Moved to ...
14264 * login/getlogin_r.c: ... here.
14265 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14266 * login/Makefile (routines): ... here.
14267 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14268 * login/Versions (libc: GLIBC_2.0): ... here.
14269
b99b892f
RM
14270 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14271 (setrlimit): Define as weak alias.
14272
c7405830
RM
14273 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14274 Call __ names for open, ftruncate, and close.
14275 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14276 (truncate): Define as weak alias.
14277
5bf96de5
JM
142782013-05-06 Joseph Myers <joseph@codesourcery.com>
14279
9ea3513c
JM
14280 * math/gen-libm-test.pl (parse_args): Initialize x before each
14281 test of frexp, modf and remquo.
14282
5bf96de5
JM
14283 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14284 test signgam value.
14285
16e616a7
AZ
142862013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14287
14288 [BZ #15418]
14289 [BZ #15419]
14290 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14291 internal tests.
14292 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14293
d5e82754
RM
142942013-05-06 Roland McGrath <roland@hack.frob.com>
14295
14296 * elf/dl-writev.h: New file.
14297 * elf/dl-misc.c: Include it.
14298 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14299 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14300
a7548d41
JM
143012013-05-04 Joseph Myers <joseph@codesourcery.com>
14302
b7dab1e4
JM
14303 * math/libm-test.inc (noXFails): Remove variable.
14304 (noXPasses): Likewise.
14305 (BUILD_COMPLEX_INT): Remove macro.
14306 (print_screen): Remove xfail argument.
14307 (print_screen_max_error): Likewise.
14308 (update_stats): Likewise.
14309 (print_max_error): Likewise. Update calls to other affected
14310 functions.
14311 (print_complex_max_error): Likewise.
14312 (test_single_exception): Update calls to print_screen.
14313 (test_single_errno): Likewise.
14314 (check_float_internal): Remove xfail argument. Update calls to
14315 other affected functions.
14316 (check_float): Likewise.
14317 (check_complex): Likewise.
14318 (check_int): Likewise.
14319 (check_long): Likewise.
14320 (check_bool): Likewise.
14321 (check_longlong): Likewise.
14322 (main): Don't print noXFails and noXPasses.
14323 * math/gen-libm-test.pl (top level): Don't mention expected
14324 failure handling in comment.
14325 (new_test): Don't handle expected failures.
14326 (parse_args): Don't mention expected failure handling in comment.
14327 (generate_testfile): Don't handle expected failures.
14328 (parse_ulps): Likewise.
14329 (print_ulps_file): Likewise.
14330 (get_failure): Remove function.
14331 (output_test): Don't handle expected failures.
14332 * make/README.libm-test: Don't mention expected failure handling.
14333
a7548d41
JM
14334 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14335 (minus_zero): Likewise.
14336 (plus_infty): Likewise.
14337 (minus_infty): Likewise.
14338 (qnan_value): Likewise.
14339 (max_value): Likewise.
14340 (min_value): Likewise.
14341 (min_subnorm_value): Likewise.
14342 (initialize): Do not initialize those variables dynamically.
14343
60bfd54c
RM
143442013-05-03 Roland McGrath <roland@hack.frob.com>
14345
cc0e6ed8
RM
14346 * io/open.c (__open_2): Moved to ...
14347 * io/open_2.c: ... this new file.
14348 * io/open64.c (__open64_2): Moved to ...
14349 * io/open64_2.c: ... this new file.
14350 * io/openat.c (__openat_2): Moved to ...
14351 * io/openat_2.c: ... this new file.
14352 * io/openat64.c (__openat64_2): Moved to ...
14353 * io/openat64_2.c: ... this new file.
14354 * io/Makefile (routines): Add them.
14355 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14356 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14357 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14358 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14359 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14360 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14361 (__openat64): Add hidden_ver.
14362 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14363 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14364
60bfd54c
RM
14365 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14366 Separately conditionalize setting of GLRO(dl_sysinfo) so
14367 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14368 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14369
83e7640f
AZ
143702013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14371
14372 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14373 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14374 definition.
14375 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14376 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14377 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14378 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14379 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14380
d5dc2af3
JM
143812013-05-03 Joseph Myers <joseph@codesourcery.com>
14382
c31a5b1e
JM
14383 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14384 test signgam value.
14385
d5dc2af3
JM
14386 * math/libm-test.inc (hypot_test): Do not use
14387 IGNORE_ZERO_INF_SIGN.
14388
164fd39d
AJ
143892013-05-03 Andreas Jaeger <aj@suse.de>
14390
14391 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14392 Linux 3.9.
14393 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14394 (PF_MAX): Adjust for VSOCK change.
14395
8237f48c
AZ
143962013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14397
14398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14399
9df02941
CD
144002013-05-02 Carlos O'Donell <carlos@redhat.com>
14401
14402 [BZ #15264]
14403 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14404 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14405 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14406
d422395e
DM
144072013-05-02 David S. Miller <davem@davemloft.net>
14408
14409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14410
a07c5731
OB
144112013-05-01 Ondřej Bílka <neleai@seznam.cz>
14412
14413 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14414
1324e37f
RM
144152013-05-01 Roland McGrath <roland@hack.frob.com>
14416
14417 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14418
0695940b
RS
144192013-05-01 Richard Smith <richard@metafoo.co.uk>
14420
bb5f27ad 14421 [BZ #14952]
0695940b
RS
14422 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14423 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14424 Use __attribute__ ((__gnu_inline__)).
14425 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14426 Don't use __attribute__ ((__gnu_inline__)).
14427
10de07f5
JM
144282013-05-01 Joseph Myers <joseph@codesourcery.com>
14429
14430 [BZ #15423]
14431 * math/s_catan.c (__catan): Handle small real or imaginary part of
14432 input specially to avoid spurious underflow.
14433 * math/s_catanf.c (__catanf): Likewise.
14434 * math/s_catanh.c (__catanh): Likewise.
14435 * math/s_catanhf.c (__catanhf): Likewise.
14436 * math/s_catanhl.c (__catanhl): Likewise.
14437 * math/s_catanl.c (__catanl): Likewise.
14438 * math/libm-test.inc (catan_test): Add more tests.
14439 (catanh_test): Likewise.
14440 * sysdeps/i386/fpu/libm-test-ulps: Update.
14441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14442
cb4d5414
AZ
144432013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14444
14445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14446
caf84319
JM
144472013-04-30 Joseph Myers <joseph@codesourcery.com>
14448
14449 [BZ #15416]
14450 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14451 accurately for denominator in atan2.
14452 * math/s_catanf.c (__catanf): Likewise.
14453 * math/s_catanh.c (__catanh): Likewise.
14454 * math/s_catanhf.c (__catanhf): Likewise.
14455 * math/s_catanhl.c (__catanhl): Likewise.
14456 * math/s_catanl.c (__catanl): Likewise.
14457 * math/libm-test.inc (catan_test): Add more tests.
14458 (catanh_test): Likewise.
14459 * sysdeps/i386/fpu/libm-test-ulps: Update.
14460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14461
d569c6ee
SP
144622013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14463
6dbe713d
SP
14464 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14465
f0ee064b
SP
14466 * benchtests/Makefile (bench): Remove slow benchmarks.
14467 * benchtests/atan-inputs: Add slow benchmark inputs.
14468 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14469 (BENCH_FUNC): Accept variant offset.
14470 (VARIANT): Define.
14471 * benchtests/bench-skeleton.c (main): Run benchmark for each
14472 variant.
14473 * benchtests/cos-inputs: Add slow benchmark inputs.
14474 * benchtests/exp-inputs: Likewise.
14475 * benchtests/pow-inputs: Likewise.
14476 * benchtests/sin-inputs: Likewise.
14477 * benchtests/slowatan-inputs: Remove.
14478 * benchtests/slowatan.c: Remove.
14479 * benchtests/slowcos-inputs: Remove.
14480 * benchtests/slowcos.c: Remove.
14481 * benchtests/slowexp-inputs: Remove.
14482 * benchtests/slowexp.c: Remove.
14483 * benchtests/slowpow-inputs: Remove.
14484 * benchtests/slowpow.c: Remove.
14485 * benchtests/slowsin-inputs: Remove.
14486 * benchtests/slowsin.c: Remove.
14487 * benchtests/slowtan-inputs: Remove.
14488 * benchtests/slowtan.c: Remove.
14489 * benchtests/tan-inputs: Add slow benchmark inputs.
14490 * scripts/bench.pl: Parse comments and directives.
14491
d569c6ee
SP
14492 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14493 in CPPFLAGS.
14494 ($(objpfx)bench-%.c): Remove *-ITER.
14495 * benchtests/bench-modf.c: Remove definition of ITER.
14496 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14497 (main): Loop for DURATION seconds instead of fixed number of
14498 iterations.
14499 * scripts/bench.pl: Don't expect iterations in parameters.
14500
a6a242fe
RM
145012013-04-29 Roland McGrath <roland@hack.frob.com>
14502
14503 * io/fchdir.c (__fchdir): Renamed from fchdir.
14504 (fchdir): Define as weak alias.
14505
f2da7793
JM
145062013-04-29 Joseph Myers <joseph@codesourcery.com>
14507
14508 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14509 (ERRNO_EDOM): Likewise.
14510 (ERRNO_ERANGE): Likewise.
14511 (noErrnoTests): New variable.
14512 (init_max_error): Set errno to 0.
14513 (test_single_errno): New function.
14514 (test_errno): Likewise.
14515 (check_float_internal): Call test_errno. Set errno to 0.
14516 (check_complex): Refer to errno tests in comment.
14517 (check_int): Call test_errno. Set errno to 0.
14518 (check_long): Likewise.
14519 (check_bool): Likewise.
14520 (check_longlong): Likewise.
14521 (cos_test): Use ERRNO_* flags for errno tests instead of
14522 check_int.
14523 (expm1_test): Likewise.
14524 (fmod_test): Likewise.
14525 (ilogb_test): Likewise.
14526 (lgamma_test): Likewise.
14527 (pow_test): Likewise.
14528 (remainder_test): Likewise.
14529 (sin_test): Likewise.
14530 (tan_test): Likewise.
14531 (yn_test): Likewise.
14532 (initialize): Set errno to 0.
14533 (main): Print number of errno tests.
14534 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14535
b1a36ceb
AJ
145362013-04-29 Andreas Jaeger <aj@suse.de>
14537
c3ed8088
AJ
14538 [BZ #15084]
14539 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14540 and RES_USEVC.
14541
f1a24198
AJ
14542 [BZ #15085]
14543 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14544 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14545 unimplemented.
14546
9ce3b2cb
AJ
14547 [BZ #15380]
14548 * stdlib/random.c (__initstate): Return NULL if
14549 __initstate fails.
14550
f1a24198 14551 [BZ #15086]
b1a36ceb
AJ
14552 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14553 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14554 RES_SNGLKUPREOP.
14555
7e7b6f36
AZ
145562013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14557
14558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14559
4d14f449
JM
145602013-04-29 Joseph Myers <joseph@codesourcery.com>
14561
14562 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14563 of individual tests.
14564 (casin_test): Likewise.
14565 (casinh_test): Likewise.
14566
5b4217d7
JM
145672013-04-27 Joseph Myers <joseph@codesourcery.com>
14568
14569 [BZ #15409]
14570 * math/s_catan.c (__catan): Handle arguments with large real or
14571 imaginary part separately without squaring.
14572 * math/s_catanf.c (__catanf): Likewise.
14573 * math/s_catanh.c (__catanh): Likewise.
14574 * math/s_catanhf.c (__catanhf): Likewise.
14575 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14576 and redefine.
14577 (__catanhl): Handle arguments with large real or imaginary part
14578 separately without squaring.
14579 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14580 and redefine.
14581 (__catanl): Handle arguments with large real or imaginary part
14582 separately without squaring.
14583 * math/libm-test.inc (catan_test): Add more tests.
14584 (catanh_test): Likewise.
14585 * sysdeps/i386/fpu/libm-test-ulps: Update.
14586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14587
4220c3ef
AJ
145882013-04-27 Andreas Jaeger <aj@suse.de>
14589
14590 [BZ #15007]
14591 * stdlib/stdlib.h: Update guards for qecvt.
14592 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14593 <stdlib.h>.
14594
4721b2d1
AM
145952013-04-27 Allan McRae <allan@archlinux.org>
14596
14597 * sysdeps/i386/fpu/libm-test-ulps: Update.
14598
f0302940
JM
145992013-04-26 Joseph Myers <joseph@codesourcery.com>
14600
9457fd95
JM
14601 [BZ #15406]
14602 * math/s_catan.c: Include <float.h>.
14603 (__catan): Ensure underflow exception occurs for underflowed
14604 result.
14605 * math/s_catanf.c: Include <float.h>.
14606 (__catanf): Ensure underflow exception occurs for underflowed
14607 result.
14608 * math/s_catanh.c: Include <float.h>.
14609 (__catanh): Ensure underflow exception occurs for underflowed
14610 result.
14611 * math/s_catanhf.c: Include <float.h>.
14612 (__catanhf): Ensure underflow exception occurs for underflowed
14613 result.
14614 * math/s_catanhl.c: Include <float.h>.
14615 (__catanhl): Ensure underflow exception occurs for underflowed
14616 result.
14617 * math/s_catanl.c: Include <float.h>.
14618 (__catanl): Ensure underflow exception occurs for underflowed
14619 result.
14620 * math/libm-test.inc (catan_test): Add more tests.
14621 (catanh_test): Likewise.
14622
f0302940
JM
14623 [BZ #15405]
14624 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14625 underflowed result.
14626 * math/s_ccoshf.c (__ccoshf): Likewise.
14627 * math/s_ccoshl.c (__ccoshl): Likewise.
14628 * math/s_csin.c (__csin): Likewise.
14629 * math/s_csinf.c (__csinf): Likewise.
14630 * math/s_csinh.c (__csinh): Likewise.
14631 * math/s_csinhf.c (__csinhf): Likewise.
14632 * math/s_csinhl.c (__csinhl): Likewise.
14633 * math/s_csinl.c (__csinl): Likewise.
14634 * math/libm-test.inc (ccos_test): Add more tests.
14635 (ccosh_test): Likewise.
14636 (csin_test): Likewise.
14637 (csinh_test): Likewise.
14638
aa630f59
AZ
146392013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14640
14641 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14642 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14643 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14644 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14645 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14646 powerpc/power5+/fpu folders.
14647 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14648
14649
1b835983
MT
146502013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14651
14652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14653
73709b26
JM
146542013-04-25 Joseph Myers <joseph@codesourcery.com>
14655
14656 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14657 additions to variable.
14658 [$(config-machine) = x86_64] (modules-names): Likewise.
14659 ($(objpfx)tst-audit3): Remove dependency.
14660 ($(objpfx)tst-audit3.out): Likewise.
14661 ($(objpfx)tst-audit4): Likewise.
14662 ($(objpfx)tst-audit4.out): Likewise.
14663 ($(objpfx)tst-audit5): Likewise.
14664 ($(objpfx)tst-audit5.out): Likewise.
14665 ($(objpfx)tst-audit6): Likewise.
14666 ($(objpfx)tst-audit6.out): Likewise.
14667 ($(objpfx)tst-audit7): Likewise.
14668 ($(objpfx)tst-audit7.out): Likewise.
14669 (tst-audit3-ENV): Remove variable.
14670 (tst-audit4-ENV): Likewise.
14671 (tst-audit5-ENV): Likewise.
14672 (tst-audit6-ENV): Likewise.
14673 (tst-audit7-ENV): Likewise.
14674 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14675 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14676 addition to variable.
14677 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14678 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14679 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14680 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14681 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14682 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14683 tst-audit3, tst-audit4 and tst-audit5.
14684 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14685 tst-audit6 and tst-audit7.
14686 [$(subdir) = elf] (modules-names): Add audit modules for those
14687 tests.
14688 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14689 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14690 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14691 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14692 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14693 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14694 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14695 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14696 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14697 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14698 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14699 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14700 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14701 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14702 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14703 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14704 Likewise.
14705 [$(subdir) = elf && $(config-cflags-avx) = yes]
14706 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14707 [$(subdir) = elf && $(config-cflags-avx) = yes]
14708 (CFLAGS-tst-auditmod4a.c): Likewise.
14709 [$(subdir) = elf && $(config-cflags-avx) = yes]
14710 (CFLAGS-tst-auditmod4b.c): Likewise.
14711 [$(subdir) = elf && $(config-cflags-avx) = yes]
14712 (CFLAGS-tst-auditmod6b.c): Likewise.
14713 [$(subdir) = elf && $(config-cflags-avx) = yes]
14714 (CFLAGS-tst-auditmod6c.c): Likewise.
14715 [$(subdir) = elf && $(config-cflags-avx) = yes]
14716 (CFLAGS-tst-auditmod7b.c): Likewise.
14717 * elf/tst-audit3.c: Move to ...
14718 * sysdeps/x86_64/tst-audit3.c: ... here.
14719 * elf/tst-audit4.c: Move to ...
14720 * sysdeps/x86_64/tst-audit4.c: ... here.
14721 * elf/tst-audit5.c: Move to ...
14722 * sysdeps/x86_64/tst-audit5.c: ... here.
14723 * elf/tst-audit6.c: Move to ...
14724 * sysdeps/x86_64/tst-audit6.c: ... here.
14725 * elf/tst-audit7.c: Move to ...
14726 * sysdeps/x86_64/tst-audit7.c: ... here.
14727 * elf/tst-auditmod3a.c: Move to ...
14728 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14729 * elf/tst-auditmod3b.c: Move to ...
14730 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14731 * elf/tst-auditmod4a.c: Move to ...
14732 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14733 * elf/tst-auditmod4b.c: Move to ...
14734 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14735 * elf/tst-auditmod5a.c: Move to ...
14736 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14737 * elf/tst-auditmod5b.c: Move to ...
14738 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14739 * elf/tst-auditmod6a.c: Move to ...
14740 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14741 * elf/tst-auditmod6b.c: Move to ...
14742 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14743 * elf/tst-auditmod6c.c: Move to ...
14744 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14745 * elf/tst-auditmod7a.c: Move to ...
14746 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14747 * elf/tst-auditmod7b.c: Move to ...
14748 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14749
1ef74943
PP
147502013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14751
14752 [BZ #15366]
14753 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14754 define unconditionally.
14755 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14756 define unconditionally.
14757 (INT8_C, INT16_C, etc.): Likewise.
14758
93fd48c5
MR
147592013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14760
ae9552cf
MR
14761 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14762 __ehdr_start with hidden visibility.
14763
93fd48c5
MR
14764 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14765
418601aa
CD
147662013-04-24 Carlos O'Donell <carlos@redhat.com>
14767
14768 * math/libm-test.inc (cos_test): Use accurate hex constants.
14769 (sincost_test): Likewise.
14770
2f38fbfe
JM
147712013-04-24 Joseph Myers <joseph@codesourcery.com>
14772
5e221800
JM
14773 * math/libm-test.inc (catan_test): Add more tests.
14774 (catanh_test): Likewise.
14775
77f143fd
JM
14776 * math/s_catanf.c (__catanf): Use suffixed floating-point
14777 constants.
14778 * math/s_catanhf.c (__catanhf): Likewise.
14779 * math/s_catanhl.c (__catanhl): Likewise.
14780 * math/s_catanl.c (__catanl): Likewise.
14781
2f38fbfe
JM
14782 [BZ #15394]
14783 * math/s_catan.c (__catan): Calculate imaginary part of result
14784 with log1p not log unless computing log of number close to 0.
14785 * math/s_catanf.c (__catanf): Likewise.
14786 * math/s_catanl.c (__catanl): Likewise.
14787 * math/s_catanh.c (__catanh): Calculate real part of result with
14788 log1p not log unless computing log of number close to 0.
14789 * math/s_catanhf.c (__catanhf): Likewise.
14790 * math/s_catanhl.c (__catanhl): Likewise.
14791 * math/libm-test.inc (catan_test): Add more tests.
14792 (catanh_test): Likewise.
14793 * sysdeps/i386/fpu/libm-test-ulps: Update.
14794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14795
45d69176
SP
147962013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14797
14798 * benchtests/Makefile: Mention files in which fast and slow
14799 paths of math functions are implemented.
14800
87f51853
RM
148012013-04-23 Roland McGrath <roland@hack.frob.com>
14802
14803 * sysdeps/posix/timespec_get.c: New file.
14804
3c026539
AZ
148052013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14806
14807 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14808 POWER.
14809 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14810 for POWER.
14811 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14812 powerpc/power5/fpu folders.
14813 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14814 * benchtests/Makefile: Add modf testcase.
14815 * benchtests/bench-modf.c: New file: Benchmark test for mo
14816
ff491d14
SP
148172013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14818
14819 [BZ #14888]
14820 * time/Makefile (tests): Add tst-strptime-whitespace.
14821 * time/strptime_l.c (get_number): Use ISSPACE.
14822 (__strptime_internal): Likewise.
14823 * time/tst-strptime-whitespace.c: New test case.
14824
7ed3f4e8
AS
148252013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14826
14827 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14828 member.
14829 (_nss_files_init): Set it here.
14830
5c95f7b6
HC
148312013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14832
14833 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14834 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14835 unsigned.
14836
d34c9158
JBG
148372013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14838
14839 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14840
2169712d
SP
148412013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14842
14843 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14844 size just once.
14845
29c5de99
DM
148462013-04-21 David S. Miller <davem@davemloft.net>
14847
14848 * po/ru.po: Update Russion translation from translation project.
14849
ccdad15d
AC
148502013-04-17 Adam Conrad <adconrad@0c3.net>
14851
14852 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14853 and setfsgid.
14854
0f122b8d
CD
148552013-04-17 Carlos O'Donell <carlos@redhat.com>
14856
5c5b07da 14857 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14858 * configure: Regenerate.
5c5b07da 14859 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14860 Add example to error message.
14861 * sysdeps/i386/configure: Regenerate.
14862
037714dd
SP
148632013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14864
14865 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14866 slowtan.
14867 * benchtests/cos-inputs: New file.
14868 * benchtests/slowcos-inputs: New file.
14869 * benchtests/slowcos.c: New file.
14870 * benchtests/slowtan-inputs: New file.
14871 * benchtests/slowtan.c: New file.
14872 * benchtests/tan-inputs: New file.
14873
e913141d
RM
148742013-04-16 Roland McGrath <roland@hack.frob.com>
14875
14876 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14877 considered kosher.
14878
a2964074
SP
148792013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14880
4856bcd2
SP
14881 * benchtests/Makefile: Include cppflags-iterator.mk to add
14882 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14883
a2964074
SP
14884 * Makefile.in (bench-clean): New target.
14885 * benchtests/Makefile (bench-clean): Likewise.
14886
9fbf9aca
DH
148872013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14888
14889 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14890
207d1e2a
TS
148912013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14892
14893 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14894
306dfba9
AS
148952013-04-15 Andreas Schwab <schwab@suse.de>
14896
14897 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14898 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14899 * nscd/pwdcache.c (cache_addpw): Likewise.
14900 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14901 more than recsize.
14902
206a6699
SP
149032013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14904
14905 * benchtests/Makefile (bench): Write all output to
14906 bench-out.tmp together.
14907
0582f6b3
AS
149082013-04-15 Andreas Schwab <schwab@suse.de>
14909
14910 * nscd/nscd.c (main): Don't fork again after closing files.
14911
acb4325f
SP
149122013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14913
5cb26d0a
SP
14914 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14915
acb4325f
SP
14916 * benchtests/Rules (bench-deps): Collect dependencies into a
14917 single variable. Add Makefile to dependencies.
14918 ($(objpfx)bench-%.c): Depend on bench-deps.
14919
47792506
RM
149202013-04-12 Roland McGrath <roland@hack.frob.com>
14921 Xavier Roche <roche+kml2@exalead.com>
14922
14923 [BZ #15361]
14924 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14925 just that it's a file descriptor.
14926 * manual/llio.texi (Synchronizing AIO Operations): Update description
14927 for EBADF error from aio_fsync.
14928
8fc1bee5
SP
149292013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14930
14931 * Rules (bench): Move target definition...
14932 * benchtests/Makefile: ... here.
14933
aba5e333
CD
149342013-04-11 Carlos O'Donell <carlos@redhat.com>
14935
14936 * math/libm-test.inc (cos_test): Fix PI/2 test.
14937 (sincos_test): Likewise.
14938 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14939 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14940
273cdee8
AS
149412013-04-11 Andreas Schwab <schwab@suse.de>
14942
6ecec3b6
AS
14943 [BZ #13988]
14944 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14945 accept exponent character only when digits were seen.
14946 * stdio-common/Makefile (tests): Add bug26.
14947 * stdio-common/bug26.c: New file.
14948
273cdee8
AS
14949 [BZ #14293]
14950 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14951 non-freeable.
14952
8da491f5
SP
149532013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14954
01dc6df9
SP
14955 * Makeconfig (rtld-prefix): Define built linker prefix.
14956 * Rules (run-bench): Use it.
14957 * math/Makefile (run-regen-ulps): Likewise.
14958
8da491f5
SP
14959 * Rules (bench): Remove eval.
14960
abe7f530
SP
149612013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14962 Roland McGrath <roland@hack.frob.com>
14963 Ondrej Bilka <neleai@seznam.cz>
14964
14965 [BZ #15346]
14966 * time/getdate.c: Include ctype.h and alloca.h.
14967 (__getdate_r): Trim leading and trailing spaces of input.
14968 * time/tst-getdate.c (tests): Add tests with leading and
14969 trailing spaces.
14970
61c23e62
RM
149712013-04-08 Roland McGrath <roland@hack.frob.com>
14972
14973 [BZ #14280]
14974 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14975 when computing value.
14976
7208a313
CD
149772013-04-06 Carlos O'Donell <carlos@redhat.com>
14978
085b2d41
CD
14979 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14980 Use testrun.sh to run libm tests.
14981
7208a313
CD
14982 [BZ #15309]
14983 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14984
872c0acd
MM
149852013-04-06 Marko Myllynen <myllynen@redhat.com>
14986
14987 [BZ #15264]
14988 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14989
26510bdd
CD
149902013-04-06 Carlos O'Donell <carlos@redhat.com>
14991
14992 * Makefile.in (regen-ulps): New target.
14993 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14994 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14995 [ifneq (no,$(PERL)] (regen-ulps): New target.
14996 [ifeq (no,$(PERL)] (regen-ulps): New target.
14997 * math/libm-test.inc (ulps_file_name): Define.
14998 (output_dir): New variable.
14999 (options): Add "output-dir" option.
15000 (parse_opt): Handle 'o' case.
15001 (main): If output_dir is non-NULL use it as a prefix
15002 otherwise use "".
15003 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15004
a01f19c8
CD
150052013-04-06 Carlos O'Donell <carlos@redhat.com>
15006
15007 [BZ #10060, #10062]
15008 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15009 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15010 fail configure if __sync_val_compare_and_swap is not inlined.
15011 * sysdeps/i386/configure: Regenerate.
15012 * configure.in: Build for i686 when configured for i386.
15013 * configure: Regenerate.
15014 * README: Remove i386 reference.
15015
b7a329a5
CD
150162013-04-06 Carlos O'Donell <carlos@redhat.com>
15017
15018 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15019 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15020
bf0f50df
TS
150212013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15022
ee091edf
TS
15023 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15024 (lmsnanval): New variables.
15025 (F): Add conversion tests.
15026 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15027 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15028
a8b792d6
TS
15029 * stdio-common/tstdiomisc.c (F): Properly collect individual
15030 tests' results.
15031
a1cbf437
TS
15032 [BZ #14686, #15336]
15033 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15034 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15035 Instead, use input NaN values or generate a qNaN by arithmetic
15036 operation. Also fix bugs to comply with the standard.
15037 * math/libm-test.inc (remainder_test): Add more tests.
15038
8b43a0c9
TS
15039 [BZ #15335, #15342]
15040 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15041 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15042 input NaN values or generate a qNaN by arithmetic operation.
15043
d91da4ce
TS
15044 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15045 unreachable code.
15046
bf0f50df
TS
15047 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15048 definitions.
15049
05e166c8
JM
150502013-04-03 Joseph Myers <joseph@codesourcery.com>
15051
15052 [BZ #14478]
15053 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15054 underflowed result.
15055 * math/s_cexpf.c (__cexpf): Likewise.
15056 * math/s_cexpl.c (__cexpl): Likewise.
15057 * math/libm-test.inc (cexp_test): Add more tests.
15058
1cef1b19
AS
150592013-04-03 Andreas Schwab <schwab@suse.de>
15060
15061 [BZ #15330]
15062 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15063 order arrays from heap if bigger than alloca cutoff.
15064
74d87055
TS
150652013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15066
15067 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15068 (SNAN_TESTS_double): Refer to GCC PR56831.
15069 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15070 GCC PR56828.
15071
d755bba4
SP
150722013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15073
90d5d5bb
SP
15074 * Rules (bench): Move bench.out after the run is complete.
15075
73e0cd5d
SP
15076 * Rules (bench): Echo currently running benchmark.
15077
64aabd4b
SP
15078 * benchtests/Makefile (bench): Add atan and slowatan.
15079 * benchtests/atan-inputs: New file.
15080 * benchtests/slowatan-inputs: New file.
15081 * benchtests/slowatan.c: New file.
15082
c871eccd
SP
15083 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15084 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15085 its value.
15086
d755bba4
SP
15087 [BZ #15305]
15088 * sysdeps/unix/sysv/linux/kernel-features.h
15089 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15090 __ASSUME_XFS_RESTRICTED_CHOWN.
15091 * sysdeps/unix/sysv/linux/pathconf.c
15092 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15093 Save and restore errno.
15094
52ce4860
JM
150952013-04-02 Joseph Myers <joseph@codesourcery.com>
15096
15097 [BZ #15327]
15098 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15099 arguments using __kernel_casinh.
15100 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15101 arguments using __kernel_casinhf.
15102 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15103 arguments using __kernel_casinhl.
15104 * math/libm-test.inc (cacosh_test): Add more tests.
15105 * sysdeps/i386/fpu/libm-test-ulps: Update.
15106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15107
81f311c2
SP
151082013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15109
e7906a47
SP
15110 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15111 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15112
92e3664b
SP
15113 * bench/Makefile (bench): Add sin and slowsin.
15114 * benchtests/sin-inputs: New file.
15115 * benchtests/slowsin-inputs: New file.
15116 * benchtests/slowsin.c: New file.
15117
81f311c2
SP
15118 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15119 (bench): Add slowexp and slowpow.
15120 (exp-ITER): Increase iterations.
15121 (pow-ITER): Likewise.
15122 * benchtests/exp-inputs: Change input.
15123 * benchtests/pow-inputs: Likewise.
15124 * benchtests/slowexp-inputs: New file.
15125 * benchtests/slowexp.c: New file.
15126 * benchtests/slowpow-inputs: New file.
15127 * benchtests/slowpow.c: New file.
15128
ab0f1aa9
AZ
151292013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15130
15131 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15132 instructions.
15133 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15134 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15135 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15136 * benchtests/Makefile: Add rint benchtest.
15137 * benchtests/rint-inputs: Input for rint benchtest.
15138
57267616
TS
151392013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15140
15141 * Versions.def (libm): Add GLIBC_2.18.
15142 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15143 hidden libm prototypes.
15144 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15145 * math/Makefile (libm-calls): Add s_issignaling.
15146 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15147 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15148 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15149 declaration.
15150 * math/math.h [__USE_GNU] (issignaling): New macro.
15151 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15152 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15153 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15154 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15155 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15156 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15157 * manual/arith.texi (issignaling): New section.
15158 * manual/libm-err-tab.pl (@all_functions): Update comment.
15159 * math/gen-libm-test.pl (parse_args): Apply special handling for
15160 issignaling.
15161 * math/libm-test.inc (print_float, issignaling_test): New
15162 functions.
15163 (check_float_internal): Add issignaling checks.
15164 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15165 default definition.
15166 * sysdeps/powerpc/math-tests.h: New file.
15167 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15168 tests.
15169 * math/test-snan.c (TEST_FUNC): Likewise.
15170
6142896d
DM
151712013-03-30 David S. Miller <davem@davemloft.net>
15172
15173 * po/de.po: Update from translation team.
15174
ccc8cadf
JM
151752013-03-30 Joseph Myers <joseph@codesourcery.com>
15176
15177 [BZ #10357]
15178 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15179 imaginary part less than 1.0 and real part less than 0.5
15180 specially.
15181 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15182 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15183 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15184 (cacos_test): Add more tests.
15185 (casin_test): Likewise.
15186 (casinh_test): Likewise.
15187 * sysdeps/i386/fpu/libm-test-ulps: Update.
15188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15189
0f6a8d4b
SP
151902013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15191
0d1029de
SP
15192 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15193 ONE with its value.
15194
c2d94018
SP
15195 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15196 (__pow_mp): Replace ONE and MONE with their values.
15197 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15198 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15199 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15200 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15201 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15202 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15203
27ec37f1
SP
15204 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15205
a64d7e0e
SP
15206 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15207 (__pow_mp): Replace ZERO and MZERO with their values.
15208 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15209 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15210 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15212 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15213 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15214 (__sqr): Likewise.
15215
d26dd3eb
SP
15216 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15217
0f6a8d4b
SP
15218 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15219
e57b0c61
RM
152202013-03-28 Roland McGrath <roland@hack.frob.com>
15221
15222 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15223 Declare with __attribute__ ((weak)).
15224 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15225 Call __call_tls_dtors only if it's not NULL.
15226
356b3480
RM
152272013-03-28 Roland McGrath <roland@hack.frob.com>
15228
288f7d79
RM
15229 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15230 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15231 magic __ehdr_start linker symbol if it's defined.
15232 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15233 them up here if it was already done.
15234
dc0a0263
RM
15235 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15236 (_dl_aux_init): Use const in cast when setting it.
15237 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15238 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15239 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15240
3d3436ae
RM
15241 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15242 Declare them here.
15243 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15244 * csu/libc-tls.c: Nor here.
15245 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15246
356b3480
RM
15247 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15248 (__libc_message): Never call vsyslog.
15249
b0f1246a
AM
152502013-03-28 Alan Modra <amodra@gmail.com>
15251
15252 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15253 Define as empty.
15254 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15255 Likewise.
15256
fbbe2b9a
AZ
152572013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15258
15259 [BZ #15214]
15260 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15261 underflow.
15262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15263
1728ab37
SP
152642013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15265
7a86be6e
SP
15266 [BZ #15304]
15267 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15268 Don't add gid passed as argument.
15269
1728ab37
SP
15270 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15271
3a7182a1
JM
152722013-03-27 Joseph Myers <joseph@codesourcery.com>
15273
15274 [BZ #15307]
15275 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15276 imaginary part between 1.0 and 1.5 and real part less than 0.5
15277 specially.
15278 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15279 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15280 * math/libm-test.inc (cacos_test): Add more tests.
15281 (casin_test): Likewise.
15282 (casinh_test): Likewise.
15283 * sysdeps/i386/fpu/libm-test-ulps: Update.
15284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15285
6f2e90e7
SP
152862013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15287
5739f705
SP
15288 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15289 constants.
15290 (norm): Likewise.
15291 (denorm): Likewise.
15292 (__dbl_mp): Likewise.
15293 (add_magnitudes): Likewise.
15294 (sub_magnitudes): Likewise.
15295 (__add): Likewise.
15296 (__sub): Likewise.
15297 (__mul): Likewise.
15298 (__sqr): Likewise.
15299 (__inv): Likewise.
15300 (__dvd): Likewise.
15301
e375e83d
SP
15302 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15303 commented code.
15304 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15305 (__dubcos): Likewise.
15306 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15307 (__ieee754_acos): Likewise.
15308 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15309 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15310 (__exp1): Likewise.
15311 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15313 (log1): Likewise.
15314 (my_log2): Likewise.
15315 (checkint): Likewise.
15316 * sysdeps/ieee754/dbl-64/e_remainder.c
15317 (__ieee754_remainder): Likewise.
15318 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15319 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15320 (bsloww): Likewise.
15321 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15322
6f2e90e7
SP
15323 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15324 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15325 MANTISSA_STORE_T to store computations on mantissa. Use
15326 macros for rounding and division.
15327 (denorm): Likewise.
15328 (__dbl_mp): Likewise.
15329 (add_magnitudes): Likewise.
15330 (sub_magnitudes): Likewise.
15331 (__mul): Likewise.
15332 (__sqr): Likewise.
15333 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15334 powers of two in terms of TWOPOW macro.
15335 (mp_no): Make type of mantissa as MANTISSA_T.
15336 [!RADIXI]: Define RADIXI.
15337 [!TWO52]: Define TWO52.
15338 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15339
fce14d4e
AZ
153402013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15341
15342 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15343 llroundl symbol when building for PPC32.
15344
9ad027fb
MW
153452013-03-24 Mark H Weaver <mhw@netris.org>
15346
15347 * manual/arith.texi (Normalization Functions): Fix prototypes for
15348 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15349
e42a38dd
AZ
153502013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15351
15352 [BZ #13889]
15353 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15354 high value to check if expl overflow.
15355 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15356 to check for underflow and overflow.
15357 * math/libm-test.inc: Add exp test.
15358
2e0fb521
DL
153592013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15360
15361 [BZ #11120]
15362 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15363 with NOT_IN_libc.
15364
b5784d95
AZ
153652013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15366
15367 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15368 symbol.
15369
5aa4a1a1
TS
153702013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15371
bdef0be7
TS
15372 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15373 wrap blocks consisting of several statements.
15374
5aa4a1a1
TS
15375 * sysdeps/generic/math-tests.h: New file.
15376 * sysdeps/i386/fpu/math-tests.h: Likewise.
15377 * math/test-snan.c: Include it.
15378 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15379
98c48fe5
JM
153802013-03-21 Joseph Myers <joseph@codesourcery.com>
15381
15382 [BZ #15285]
15383 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15384 (__ieee754_j0l): Do not improve calculations using cos of twice
15385 input for inputs above LDBL_MAX / 2.0L.
15386 (__ieee754_y0l): Likewise.
15387 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15388 (__ieee754_j1l): Do not improve calculations using cos of twice
15389 input for inputs above LDBL_MAX / 2.0L.
15390 (__ieee754_y1l): Likewise.
15391 * math/libm-test.inc (j0_test): Add another test.
15392 (j1_test): Likewise.
15393 (y0_test): Likewise.
15394 (y1_test): Likewise.
15395 * sysdeps/i386/fpu/libm-test-ulps: Update.
15396
3775a8bc
SP
153972013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15398
15399 * Rules ($(objpfx)bench-%.c): Include code from a C source
15400 file.
15401
0a1b2ae6
JM
154022013-03-21 Joseph Myers <joseph@codesourcery.com>
15403
15404 [BZ #15287]
15405 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15406 imaginary part 1.0 and real part less than 0.5 specially.
15407 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15408 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15409 * math/libm-test.inc (cacos_test): Add more tests.
15410 (casin_test): Likewise.
15411 (casinh_test): Likewise.
15412 * sysdeps/i386/fpu/libm-test-ulps: Update.
15413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15414
b33d4ce4
SP
154152013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15416
15417 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15418 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15419
bef0b507
JM
154202013-03-20 Joseph Myers <joseph@codesourcery.com>
15421
15422 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15423 * config.make.in (config-cflags-sse4): Remove variable.
15424 (config-cflags-avx): Likewise.
15425 (config-cflags-sse2avx): Likewise.
15426 (config-cflags-novzeroupper): Likewise.
15427 (config-asflags-i686): Likewise.
15428 (have-mfma4): Likewise.
15429 (have-as-vis3): Likewise.
15430 (MIG): Likewise.
15431 * configure.in (MIG): Do not AC_SUBST.
15432 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15433 (libc_cv_cc_sse4): Do not AC_SUBST.
15434 (libc_cv_cc_avx): Likewise.
15435 (libc_cv_cc_sse2avx): Likewise.
15436 (libc_cv_cc_novzeroupper): Likewise.
15437 (libc_cv_cc_fma4): Likewise.
15438 (libc_cv_as_i686): Likewise.
15439 (libc_cv_sparc_as_vis3): Likewise.
15440 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15441 LIBC_CONFIG_VAR.
15442 (config-asflags-i686): Likewise.
15443 (config-cflags-avx): Likewise.
15444 (config-cflags-sse2avx): Likewise.
15445 (have-mfma4): Likewise.
15446 (config-cflags-novzeroupper): Likewise.
15447 * sysdeps/mach/configure.in (MIG): Likewise.
15448 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15449 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15450 LIBC_CONFIG_VAR.
15451 (config-cflags-avx): Likewise.
15452 (config-cflags-sse2avx): Likewise.
15453 (have-mfma4): Likewise.
15454 (config-cflags-novzeroupper): Likewise.
15455 * configure: Regenerated.
15456 * sysdeps/i386/configure: Likewise.
15457 * sysdeps/mach/configure: Likewise.
15458 * sysdeps/sparc/configure: Likewise.
15459 * sysdeps/x86_64/configure: Likewise.
15460
912cc4b3
RM
154612013-03-20 Roland McGrath <roland@hack.frob.com>
15462
15463 [BZ #14812]
15464 * locale/programs/localedef.c (options): Put N_ translation marker
15465 on argument names, not just descriptions.
15466
04eed2b0
MS
154672013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15468
15469 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15470
a065ceff
OB
154712013-03-20 Ondřej Bílka <neleai@seznam.cz>
15472
9bb2a810 15473 [BZ #14176]
a065ceff
OB
15474 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15475
a600e5ce
RM
154762013-03-19 Roland McGrath <roland@hack.frob.com>
15477
15478 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15479 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15480 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15481 [!BEFORE_ABORT] (before_abort): New function.
15482 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15483 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15484 (writev_for_fatal): New function.
15485 (WRITEV_FOR_FATAL): New macro; call that.
15486 (backtrace_and_maps): New function.
15487 (BEFORE_ABORT): New macro; call that.
15488 (struct str_list): Type removed.
15489 (__libc_message, __libc_fatal): Functions removed.
15490 Include <sysdeps/posix/libc_fatal.c> instead.
15491
6b18bea6
JM
154922013-03-19 Joseph Myers <joseph@codesourcery.com>
15493
15494 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15495 constants.
15496 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15497 double constants.
15498
aaa8cb4b
AS
154992013-03-19 Andreas Schwab <schwab@suse.de>
15500
44673770
AS
15501 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15502 * sysdeps/gnu/configure: Regenerate.
15503
aaa8cb4b
AS
15504 * configure.in: Substitute libc_cv_rtlddir.
15505 * configure: Regenerate.
15506 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15507 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15508 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15509 * elf/Makefile (install-others, CFLAGS-interp.c)
15510 (ldso_install, common-ldd-rewrite): Likewise.
15511 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15512 $(inst_slibdir)/$(rtld-installed-name).
15513 * scripts/rellns-sh: Add -p option.
15514 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15515 for source.
15516
d3cfc668
SP
155172013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15518
15519 * manual/nptl.texi: Renamed to ...
15520 * manual/threads.texi: ... this.
15521 * manual/Makefile (chapters): Update.
15522
0e2b9cdd
RM
155232013-03-18 Roland McGrath <roland@hack.frob.com>
15524
15525 [BZ #14812]
15526 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15527 on argument names, not just descriptions.
0e2b9cdd
RM
15528 * malloc/memusagestat.c (options): Likewise.
15529 * nss/getent.c (options): Likewise.
63270c24
RM
15530
155312013-03-18 Benno Schulenberg <bensberg@justemail.net>
15532
15533 [BZ #14812]
15534 * iconv/iconv_prog.c (options): Put N_ translation marker
15535 on argument names, not just descriptions.
15536 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15537
b2e1393c
OB
155382013-03-18 Ondrej Bilka <neleai@seznam.cz>
15539
15540 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15541 implementation which is faster on all x86_64 architectures.
15542 Tested on AMD, Intel Nehalem, SNB, IVB.
15543 * sysdeps/x86_64/strnlen.S: Likewise.
15544
15545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15546 Remove all multiarch strlen and strnlen versions.
15547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15548 Remove strlen and strnlen related parts.
15549
15550 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15551 Inline strlen part.
15552 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15553
15554 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15555 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15556 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15557 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15558 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15559 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15560
ec4ff04d
CD
155612013-03-17 Carlos O'Donell <carlos@redhat.com>
15562
15563 * manual/memory.texi (Malloc Tunable Parameters):
15564 Sort parameters alphabetically. Add comments for missing entries.
15565
cd18e90a
DM
155662013-03-17 David S. Miller <davem@davemloft.net>
15567
15568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15569
2a185d32
JM
155702013-03-16 Joseph Myers <joseph@codesourcery.com>
15571
d2f9799e
JM
15572 [BZ #15283]
15573 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15574 for arguments at most half maximum finite value.
15575 * math/libm-test.inc (j0_test): Add more tests.
15576 (j1_test): Likewise.
15577 (y0_test): Likewise.
15578 (y1_test): Likewise.
15579 * sysdeps/i386/fpu/libm-test-ulps: Update.
15580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15581
2a185d32
JM
15582 [BZ #14155]
15583 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15584 1 / x and functions P and Q for arguments above 0x1p256L.
15585 (__ieee754_y0l): Likewise.
15586 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15587 (__ieee754_y1l): Likewise.
15588 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15589 (j1_test): Likewise.
15590 (y0_test): Likewise.
15591 (y1_test): Likewise.
15592
6cbec759
TS
155932013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15594
15595 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15596 variable.
15597
bc16e260
RM
155982013-03-15 Roland McGrath <roland@hack.frob.com>
15599
aefc9b8c
RM
15600 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15601 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15602 zero since it's initialized to EXEC_PAGESIZE.
15603
bc16e260
RM
15604 * sysdeps/unix/sysv/linux/ldsodefs.h
15605 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15606 * sysdeps/generic/ldsodefs.h: ... here.
15607
a57da955
TS
156082013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15609
af00a34d
TS
15610 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15611
495ded2c
TS
15612 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15613 math/test-snan.c.
15614 * math/test-snan.c: Renamed from
15615 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15616 * math/Makefile (tests): Add test-snan.
15617 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15618 test-powerpc-snan.
15619
777b0332
TS
15620 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15621 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15622 functions.
15623 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15624 __builtin_nan family of functions.
15625 * math/libm-test.inc (initialize): Initialize qnan_value with
15626 __builtin_nan family of functions.
15627 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15628 Remove variables.
15629 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15630 Remove functions.
15631 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15632 storage class. Initialize qNaN_var and sNaN_var with
15633 __builtin_nan and __builtin_nans families of functions,
15634 respectively.
15635
64d063b8
TS
15636 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15637 (sqrt_test): Remove duplicate test with qNaN input.
15638 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15639 (round_test, signbit_test, significand_test): Note missing +/-Inf
15640 as well as qNaN tests.
15641
67e971f1
TS
15642 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15643 qNaN_var. Fix a few strings, too.
15644 * math/libm-test.inc (nan_value): Rename to qnan_value.
15645 * math/gen-libm-test.pl (%beautify): Adjust to that.
15646 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15647 * math/test-misc.c (main): Likewise.
15648 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15649 to __qnan_bytes, and __qnan_union, respectively.
15650 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15651 Likewise.
15652 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15653 and lqnanval, respectively.
15654 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15655 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15656 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15657 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15658
64487e12
TS
15659 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15660 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15661 doubles.
15662
e015e27b
TS
15663 * math/test-misc.c (main): Fix copy'n'pastos.
15664 * misc/tst-efgcvt.c (special): Likewise.
15665
a57da955
TS
15666 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15667 Remove declarations.
15668
1e380345
SP
156692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15670
15671 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15672 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15673 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15674 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15675
ef26eece
AZ
156762013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15677
15678 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15679 macro to return vdso values correctly in IFUNC implementations.
15680 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15681 Optimization by using IFUNC.
15682
8cfdb7e0
SP
156832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15684 Richard Henderson <rth@redhat.com>
15685 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15686
15687 * Makefile.in (bench): New target.
15688 * NEWS: Mention the benchmark framework.
15689 * Rules (bench): Likewise.
15690 (binaries-bench): Generate binaries for functions to
15691 benchmark.
15692 * benchtests/Makefile: New makefile for benchmark tests.
15693 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15694 programs.
15695 * benchtests/exp-inputs: New input file for EXP function.
15696 * benchtests/pow-inputs: New input file for POW function.
15697 * scripts/bench.pl: New script to generate source files for
15698 benchmark programs.
15699
bcda9880
SP
157002013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15701
d22ca8cd
SP
15702 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15703 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15704 computations on mantissa. Use macros for rounding and
15705 division.
15706 (denorm): Likewise.
15707 (__dbl_mp): Likewise.
15708 (add_magnitudes): Likewise.
15709 (sub_magnitudes): Likewise.
15710 (__mul): Likewise.
15711 (__sqr): Likewise.
15712 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15713 powers of two in terms of TWOPOW macro.
15714 (mp_no): Make type of mantissa as MANTISSA_T.
15715 [!RADIXI]: Define RADIXI.
15716 [!TWO52]: Define TWO52.
15717 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15718
bcda9880
SP
15719 * manual/nptl.texi (cindex): Modify threads to pthreads.
15720
06d5adfb
JM
157212013-03-15 Joseph Myers <joseph@codesourcery.com>
15722
15723 * sysdeps/x86_64/preconfigure: Regenerated.
15724
41c7328e
JM
157252013-03-14 Joseph Myers <joseph@codesourcery.com>
15726
15727 [BZ #14155]
15728 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15729 0x1p28 and above.
15730 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15731 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15732 0x1p28 and above.
15733 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15734 * math/libm-test.inc (j0_test): Do not allow one spurious
15735 underflow exception.
15736 (y1_test): Likewise.
15737
e25cfa60
SP
157382013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15739
0409959c
SP
15740 * manual/Makefile (chapters): Add nptl.
15741 * manual/debug.texi (Debugging Support): Add link to Threads
15742 chapter.
15743 * manual/nptl.texi: New file.
15744
e25cfa60
SP
15745 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15746
58a1335e
PB
157472013-03-14 Petr Baudis <pasky@ucw.cz>
15748
15749 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15750 for non-NULL pointer before the memory validity test. Pointed
15751 out by Holger Brunck <holger.brunck@keymile.com>.
15752
9dc7c64f
AS
157532013-03-13 Andreas Schwab <schwab@suse.de>
15754
15755 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15756 instead of .os.
15757
54206aa6
JM
157582013-03-13 Joseph Myers <joseph@codesourcery.com>
15759
15760 * timezone/zic.c: Update from tzcode 2013b.
15761
e98cdb38
CD
157622013-03-12 Carlos O'Donell <carlos@redhat.com>
15763
15764 * manual/install.texi (Configuring and compiling):
15765 Mention i686 and i586.
15766 * INSTALL: Regenerate.
15767
9967e003
RM
157682013-03-12 Roland McGrath <roland@hack.frob.com>
15769
15770 * sysdeps/init_array/elf-init.c: New file.
15771 * csu/elf-init.c
15772 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15773 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15774
15775 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15776 __gmon_start__ as global, but as static with a .preinit_array pointer.
15777 * sysdeps/init_array/gmon-start.c: New file. Use that.
15778 * sysdeps/init_array/crti.S: New file, empty except for comments.
15779 * sysdeps/init_array/crtn.S: Likewise.
15780
e6b5a293 157812013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15782
15783 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15784 definining bcopy.
80f844c9
OB
15785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15786 Remove Prefer_SSE_for_memop.
15787 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15788 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15789 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15791 memset-x86-64.
80f844c9 15792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15793 Remove bzero, memset ifunc support.
80f844c9
OB
15794 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15795 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15796 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15797 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15798
fb6b0fcb
AS
157992013-03-11 Andreas Schwab <schwab@suse.de>
15800
15801 [BZ #15234]
15802 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15803 by SHLIB_COMPAT.
15804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15805 (GLIBC_2.16): Remove pthread_atfork.
15806
3e6bd4b1
PP
158072013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15808
15809 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15810 (ptestcases.h): Likewise.
15811
222d7f00
RM
158122013-03-08 Roland McGrath <roland@hack.frob.com>
15813
15814 * Makeconfig ($(common-objpfx)config.status): Depend on
15815 sysdeps/*/preconfigure{,.in} too.
15816
1ba4f030
JM
158172013-03-08 Joseph Myers <joseph@codesourcery.com>
15818
a222d91a
JM
15819 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15820 (__free_hook): Use void * instead of __malloc_ptr_t.
15821 (__malloc_hook): Likewise.
15822 (__realloc_hook): Likewise.
15823 (__memalign_hook): Likewise.
15824 (__after_morecore_hook): Likewise.
15825 * malloc/arena.c (save_malloc_hook): Likewise.
15826 (save_free_hook): Likewise.
15827 * malloc/hooks.c (malloc_hook_ini): Likewise.
15828 (realloc_hook_ini): Likewise.
15829 (memalign_hook_ini): Likewise.
15830 * malloc/malloc.c (malloc_hook_ini): Likewise.
15831 (realloc_hook_ini): Likewise.
15832 (memalign_hook_ini): Likewise.
15833 (__free_hook): Likewise.
15834 (__malloc_hook): Likewise.
15835 (__realloc_hook): Likewise.
15836 (__memalign_hook): Likewise.
15837 (__libc_malloc): Likewise.
15838 (__libc_free): Likewise.
15839 (__libc_realloc): Likewise.
15840 (__libc_memalign): Likewise.
15841 (__libc_valloc): Likewise.
15842 (__libc_pvalloc): Likewise.
15843 (__libc_calloc): Likewise.
15844 (__posix_memalign): Likewise.
15845 * malloc/morecore.c (__sbrk): Likewise.
15846 (__default_morecore): Likewise.
15847
5cc45e10
JM
15848 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15849
dd54b864
JM
15850 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15851 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15852 __malloc_ptrdiff_t.
15853
1ba4f030
JM
15854 * malloc/malloc.h (__malloc_size_t): Remove macro.
15855 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15856 __malloc_size_t.
15857 (old_memalign_hook): Likewise.
15858 (old_realloc_hook): Likewise.
15859 (struct hdr): Likewise.
15860 (flood): Likewise.
15861 (mallochook): Likewise.
15862 (memalignhook): Likewise.
15863 (reallochook): Likewise.
15864 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15865 (tr_old_realloc_hook): Likewise.
15866 (tr_old_memalign_hook): Likewise.
15867 (tr_mallochook): Likewise.
15868 (tr_reallochook): Likewise.
15869 (tr_memalignhook): Likewise.
15870
edf66e57
AZ
158712013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15872
15873 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15874 default_ldbl_pack and using as default implementation.
15875 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15876 implementation.
15877 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15878 redundant definition.
15879 (ldbl_insert_mantissa): Likewise.
15880 (ldbl_canonicalize): Likewise.
15881 (ldbl_nearbyint): Likewise.
15882 (ldbl_pack): Rename to ldbl_pack_ppc.
15883 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15884 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15885 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15886
6d9145d8
SP
158872013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15888
15889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15890 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15891 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15892 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15894 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15895 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15896 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15897
4dd4e157
AJ
158982013-03-07 Andreas Jaeger <aj@suse.de>
15899
15900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15901 bits/mman-linux.h.
15902
adbb8027
SP
159032013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15904
ce544b5b
SP
15905 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15906 Include mpa.h and declare __MPEXP.
15907 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15908 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15909 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15910 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15911 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15912 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15913 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15914
4cc149fd
SP
15915 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15916 (__slowpow): Use long double EXPL and LOGL functions to
15917 compute POW.
15918 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15919 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15920 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15921 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15922 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15923 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15924
e6ebd4a7
SP
15925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15926 intermediate variable to calculate exponent.
15927 (__sqr): Likewise.
15928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15929 Likewise.
15930 (__sqr): Likewise.
15931
82a9811d
SP
15932 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15933 [!NO__SQR]: Define __sqr.
15934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15935 and NO__SQR. Remove all code except __mul and __sqr. Include
15936 sysdeps/ieee754/dbl-64/mpa.c.
15937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15938
adbb8027
SP
15939 [BZ #12723]
15940 * posix/Makefile (tests): Add tst-pathconf.
15941 * posix/tst-pathconf.c: New test case.
15942 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15943 _PC_PIPE_BUF.
15944 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15945
39120df9
PF
159462013-03-06 Patsy Franklin <pfrankli@redhat.com>
15947
15948 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15949
67525cb8
AJ
159502013-03-06 Andreas Jaeger <aj@suse.de>
15951
664a9ce4
AJ
15952 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15953 definition via __MAP_ANONYMOUS.
15954
8e39047d
AJ
15955 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15956 it's not part of Linux headers.
15957
67525cb8
AJ
15958 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15959 (MAP_HUGE_MASK): Define.
15960
15961 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15962 Define.
15963 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15964 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15965 Define.
15966 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15967 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15968 Define.
15969 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15970 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15971 Define.
15972 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15973
15974 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15975 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15976 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15977 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15978 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15979 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15980
15981 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15982 Handle f2fs.
15983
15984 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15985 Handle f2fs and efivarfs.
15986
15987 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15988 f2fs.
15989
15990 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15991 (EFIVARFS_MAGIC): Add.
15992 (F2FS_LINK_MAX): Add.
15993
e1b42695
PP
159942013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15995
15996 * stdio-common/vfprintf.c: Replace __builtin_expect with
15997 __glibc_unlikely.
15998
2d67d91a
JM
159992013-03-06 Joseph Myers <joseph@codesourcery.com>
16000
16001 [BZ #13550]
16002 * sysdeps/generic/bp-sym.h: Remove file.
16003 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16004 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16005 <bp-sym.h> and <bp-asm.h>.
16006 (__longjmp): Don't use BP_SYM.
16007 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16008 and <bp-asm.h>.
16009 (memcpy): Don't use BP_SYM.
16010 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16011 <bp-sym.h> and <bp-asm.h>.
16012 (memcpy): Don't use BP_SYM.
16013 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16014 <bp-asm.h>.
16015 (memcpy): Don't use BP_SYM.
16016 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16017 <bp-asm.h>.
16018 (memset): Don't use BP_SYM.
16019 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16020 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16021 (__bzero): Don't use BP_SYM.
16022 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16023 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16024 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16025 <bp-sym.h> and <bp-asm.h>.
16026 (memcmp): Don't use BP_SYM. Remove comment about bounded
16027 pointers.
16028 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16029 <bp-sym.h> and <bp-asm.h>.
16030 (memcpy): Don't use BP_SYM.
16031 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16032 <bp-sym.h> and <bp-asm.h>.
16033 (memset): Don't use BP_SYM.
16034 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16035 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16036 (__bzero): Don't use BP_SYM.
16037 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16038 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16039 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16040 <bp-sym.h> and <bp-asm.h>.
16041 (strncmp): Don't use BP_SYM. Remove comment about bounded
16042 pointers.
16043 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16044 <bp-sym.h> and <bp-asm.h>.
16045 (memcpy): Don't use BP_SYM.
16046 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16047 <bp-sym.h> and <bp-asm.h>.
16048 (memset): Don't use BP_SYM.
16049 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16050 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16051 (__bzero): Don't use BP_SYM.
16052 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16053 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16054 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16055 <bp-sym.h> and <bp-asm.h>.
16056 (__memchr): Don't use BP_SYM.
16057 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16058 <bp-sym.h> and <bp-asm.h>.
16059 (memcmp): Don't use BP_SYM. Remove comment about bounded
16060 pointers.
16061 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16062 <bp-sym.h> and <bp-asm.h>.
16063 (memcpy): Don't use BP_SYM.
16064 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16065 <bp-sym.h> and <bp-asm.h>.
16066 (__mempcpy): Don't use BP_SYM.
16067 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16068 <bp-sym.h> and <bp-asm.h>.
16069 (__memrchr): Don't use BP_SYM.
16070 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16071 <bp-sym.h> and <bp-asm.h>.
16072 (memset): Don't use BP_SYM.
16073 (__bzero): Likewise.
16074 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16075 <bp-sym.h> and <bp-asm.h>.
16076 (__rawmemchr): Don't use BP_SYM.
16077 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16078 <bp-sym.h> and <bp-asm.h>.
16079 (__STRCMP): Don't use BP_SYM.
16080 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16081 <bp-sym.h> and <bp-asm.h>.
16082 (strchr): Don't use BP_SYM.
16083 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16084 <bp-sym.h> and <bp-asm.h>.
16085 (__strchrnul): Don't use BP_SYM.
16086 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16087 <bp-sym.h> and <bp-asm.h>.
16088 (strlen): Don't use BP_SYM.
16089 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16090 <bp-sym.h> and <bp-asm.h>.
16091 (strncmp): Don't use BP_SYM. Remove comment about bounded
16092 pointers.
16093 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16094 <bp-sym.h> and <bp-asm.h>.
16095 (__strnlen): Don't use BP_SYM.
16096 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16097 <bp-sym.h> and <bp-asm.h>.
16098 (__GI__setjmp): Don't use BP_SYM.
16099 (_setjmp): Likewise.
16100 (__sigsetjmp): Likewise.
16101 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16102 (L(start_addresses)): Don't use BP_SYM.
16103 (_start): Likewise.
16104 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16105 <bp-asm.h>.
16106 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16107 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16108 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16109 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16110 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16111 <bp-asm.h>.
16112 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16113 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16114 about bounded pointers.
16115 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16116 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16117 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16118 <bp-asm.h>.
16119 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16120 about bounded pointers. Remove GKM FIXME comments.
16121 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16122 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16123 <bp-asm.h>.
16124 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16125 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16126 Remove GKM FIXME comments.
16127 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16128 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16129 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16130 <bp-asm.h>.
16131 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16132 about bounded pointers. Remove GKM FIXME comment.
16133 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16134 and <bp-asm.h>.
16135 (strncmp): Don't use BP_SYM. Remove comment about bounded
16136 pointers.
16137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16138 <bp-sym.h> and <bp-asm.h>.
16139 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16141 <bp-sym.h> and <bp-asm.h>.
16142 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16143 comment.
16144
cdcf361f
PP
161452013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16146
16147 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16148 call free(NULL).
16149
3c4a2b15
DM
161502013-03-05 David S. Miller <davem@davemloft.net>
16151
16152 * po/es.po: Update from translation team.
16153
cdcf361f 161542013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16155
16156 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16157 <bits/mman-linux.h>.
16158 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16159 is fine.
16160 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16161 <bits/mman-linux.h> to end of file.
16162 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16163 is fine.
16164 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16165 <bits/mman-linux.h> to end of file.
16166 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16167 is fine.
16168 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16169 <bits/mman-linux.h> to end of file.
16170
16171 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16172 (MCL_CURRENT, MCL_FUTURE): Define here.
16173
5f67c04f
AK
161742013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16175
8a4473cc 16176 [BZ #15232]
5f67c04f
AK
16177 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16178 attribute_hidden.
16179 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16180
c3e94a95
AK
161812013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16182
16183 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16184 fourth parameter needed for rt_sigprocmask syscall.
16185 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16186 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16187 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16188 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16189 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16190 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16191
cfb6382a
JM
161922013-03-04 Joseph Myers <joseph@codesourcery.com>
16193
16194 [BZ #13550]
16195 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16196 comment about bounded pointers.
16197 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16198 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16199
539d8e01
AJ
162002013-03-04 Andreas Jaeger <aj@suse.de>
16201
16202 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16203 common definitions.
16204
16205 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16206 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16207 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16208 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16209 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16210 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16211
2e167a70 162122013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16213
16214 [BZ #15055]
16215 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16216 __ieee754_sqrl instead of __sqrl.
16217
68508633
JM
162182013-03-01 Joseph Myers <joseph@codesourcery.com>
16219
16220 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16221 * sysdeps/powerpc/fpu_control.h: ... here.
16222 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16223 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16224 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16225 * sysdeps/powerpc/bits/mathinline.h: ... here.
16226
7775448e
RM
162272013-03-01 Roland McGrath <roland@hack.frob.com>
16228
16229 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16230 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16231 to just [NEED_DL_SYSINFO_DSO].
16232 * elf/dl-support.c: Likewise.
16233 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16234 * elf/rtld.c (dl_main): Likewise.
16235 * elf/setup-vdso.h (setup_vdso): Likewise.
16236 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16237 * sysdeps/unix/sysv/linux/dl-sysdep.c
16238 (_dl_discover_osversion): Likewise.
16239
4e9b5995
CD
162402013-03-01 Carlos O'Donell <carlos@redhat.com>
16241
16242 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16243 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16244
e23872c8
SP
162452013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16246
e5c74c63
SP
16247 * NEWS: Mention libm performance improvements and non-x86 PI
16248 futex support.
16249
e23872c8
SP
16250 * csu/libc-start.c (__pthread_initialize_minimal): Change
16251 function arguments.
16252 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16253
b5510883
JM
162542013-02-28 Joseph Myers <joseph@codesourcery.com>
16255
16256 [BZ #13550]
16257 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16258 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16259 <bp-sym.h> and <bp-asm.h>.
16260 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16261 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16262 and <bp-asm.h>.
16263 (memcpy): Don't use BP_SYM.
16264 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16265 <bp-asm.h>.
16266 (__mpn_add_n): Don't use BP_SYM.
16267 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16268 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16269 and <bp-asm.h>.
16270 (__mpn_addmul_1): Don't use BP_SYM.
16271 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16272 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16273 <bp-sym.h>.
16274 (_setjmp): Don't use BP_SYM.
16275 (__novmx_setjmp): Likewise.
16276 (__GI__setjmp): Likewise.
16277 (__vmx_setjmp): Likewise.
16278 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16279 <bp-sym.h>.
16280 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16281 (__bzero): Don't use BP_SYM.
16282 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16283 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16284 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16285 <bp-sym.h> and <bp-asm.h>.
16286 (memcpy): Don't use BP_SYM.
16287 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16288 <bp-sym.h> and <bp-asm.h>.
16289 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16290 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16291 <bp-sym.h> and <bp-asm.h>.
16292 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16293 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16294 <bp-asm.h>.
16295 (__mpn_lshift): Don't use BP_SYM.
16296 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16297 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16298 <bp-asm.h>.
16299 (memset): Don't use BP_SYM.
16300 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16301 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16302 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16303 <bp-asm.h>.
16304 (__mpn_mul_1): Don't use BP_SYM.
16305 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16306 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16307 <bp-sym.h> and <bp-asm.h>.
16308 (memcmp): Don't use BP_SYM.
16309 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16310 <bp-sym.h> and <bp-asm.h>.
16311 (memcpy): Don't use BP_SYM.
16312 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16313 <bp-sym.h> and <bp-asm.h>.
16314 (memset): Don't use BP_SYM.
16315 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16316 <bp-sym.h> and <bp-asm.h>.
16317 (strncmp): Don't use BP_SYM.
16318 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16319 <bp-sym.h> and <bp-asm.h>.
16320 (memcpy): Don't use BP_SYM.
16321 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16322 <bp-sym.h> and <bp-asm.h>.
16323 (memset): Don't use BP_SYM.
16324 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16325 <bp-sym.h> and <bp-asm.h>.
16326 (__memchr): Don't use BP_SYM.
16327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16328 <bp-sym.h> and <bp-asm.h>.
16329 (memcmp): Don't use BP_SYM.
16330 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16331 <bp-sym.h> and <bp-asm.h>.
16332 (memcpy): Don't use BP_SYM.
16333 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16334 <bp-sym.h> and <bp-asm.h>.
16335 (__mempcpy): Don't use BP_SYM.
16336 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16337 <bp-sym.h> and <bp-asm.h>.
16338 (__memrchr): Don't use BP_SYM.
16339 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16340 <bp-sym.h> and <bp-asm.h>.
16341 (memset): Don't use BP_SYM.
16342 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16343 <bp-sym.h> and <bp-asm.h>.
16344 (__rawmemchr): Don't use BP_SYM.
16345 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16346 <bp-sym.h> and <bp-asm.h>.
16347 (__STRCMP): Don't use BP_SYM.
16348 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16349 <bp-sym.h> and <bp-asm.h>.
16350 (strchr): Don't use BP_SYM.
16351 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16352 <bp-sym.h> and <bp-asm.h>.
16353 (__strchrnul): Don't use BP_SYM.
16354 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16355 <bp-sym.h> and <bp-asm.h>.
16356 (strlen): Don't use BP_SYM.
16357 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16358 <bp-sym.h> and <bp-asm.h>.
16359 (strncmp): Don't use BP_SYM.
16360 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16361 <bp-sym.h> and <bp-asm.h>.
16362 (__strnlen): Don't use BP_SYM.
16363 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16364 <bp-asm.h>.
16365 (__mpn_rshift): Don't use BP_SYM.
16366 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16367 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16368 <bp-sym.h> and <bp-asm.h>.
16369 (__sigsetjmp): Don't use BP_SYM.
16370 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16371 (L(start_addresses)): Don't use BP_SYM.
16372 (_start): Likewise.
16373 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16374 <bp-asm.h>.
16375 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16376 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16377 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16378 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16379 <bp-asm.h>.
16380 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16381 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16382 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16383 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16384 <bp-asm.h>.
16385 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16386 comments.
16387 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16388 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16389 <bp-asm.h>.
16390 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16391 FIXME comments.
16392 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16393 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16394 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16395 <bp-asm.h>.
16396 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16397 comment.
16398 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16399 and <bp-asm.h>.
16400 (strncmp): Don't use BP_SYM,
16401 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16402 <bp-asm.h>.
16403 (__mpn_sub_n): Don't use BP_SYM.
16404 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16405 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16406 and <bp-asm.h>.
16407 (__mpn_submul_1): Don't use BP_SYM.
16408 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16410 <bp-sym.h> and <bp-asm.h>.
16411 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16413 <bp-sym.h> and <bp-asm.h>.
16414 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16415 comment.
16416
8d19fe64
SP
164172013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16418
16419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16420 Use ZK to minimize writes to Z.
16421 (sub_magnitudes): Simplify code a bit.
16422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16423 Use ZK to minimize writes to Z.
16424 (sub_magnitudes): Simplify code a bit.
16425
85bd816a
RM
164262013-02-27 Roland McGrath <roland@hack.frob.com>
16427
16428 * csu/gmon-start.c: Add special exception to license text.
16429
b5977bf2
RH
164302013-02-27 Richard Henderson <rth@redhat.com>
16431
16432 * scripts/config.guess: Update from config.git.
16433 * scripts/config.sub: Likewise.
16434
11d6e2f2
SP
164352013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16436
09c14ed2
SP
16437 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16438
a688864e
SP
16439 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16440
6295157a
SP
16441 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16442
b8de2202
SP
16443 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16444
11d6e2f2
SP
16445 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16446
7e80ddb8
RM
164472013-02-26 Roland McGrath <roland@hack.frob.com>
16448
16449 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16450 [$(build-shared = yes].
7e80ddb8 16451
7da6d9ed
SP
164522013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16453
45f05884
SP
16454 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16455 (__mul): Reduce iterations for calculating mantissa.
16456
2236d359
SP
16457 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16458 MPTWO.
16459 (__mpranred): Likewise.
16460
7da6d9ed
SP
16461 [BZ #15160]
16462 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16463 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16464
b7688c42
PE
164652013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16466
16467 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16468 Define __attribute__.
16469
53a5c423
SP
164702013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16471
16472 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16473 unused.
16474 * posix/regex_internal.h (__attribute): Remove.
16475 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16476 (re_string_context_at): Likewise.
16477 (bitset_not): Use __attribute__ and mark function as possibly
16478 unused.
16479 (bitset_merge): Likewise.
16480 (bitset_mask): Likewise.
16481 (re_string_char_size_at): Likewise.
16482 (re_string_wchar_at): Likewise.
16483 (re_string_elem_size_at): Likewise.
16484
60f5a8b5
SP
164852013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16486
2a983a2e
SP
16487 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16488 code.
16489 (cc32): Likewise.
16490
e69804d1
SP
16491 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16492 (__acr): Likewise.
16493 (__cpy): Likewise.
16494 (norm): Likewise.
16495 (denorm): Likewise.
16496 (__dbl_mp): Likewise.
16497 (add_magnitudes): Likewise.
16498 (sub_magnitudes): Likewise.
16499 (__mul): Likewise.
16500 (__inv): Likewise.
16501
2f22a1e8
SP
16502 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16503 style.
16504
8930ddc7
SP
16505 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16506 style.
16507
dc60cb11
SP
16508 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16509 code.
16510
60f5a8b5
SP
16511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16512 up changes with default code.
16513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16514 Likewise.
16515
b4d1fd33
AM
165162013-02-24 Allan McRae <allan@archlinux.org>
16517
faf6f8bc
AM
16518 * manual/socket.texi (The Internet Namespace): Order menu items
16519 to match that in the file.
16520
b4d1fd33
AM
16521 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16522 node listing of the info page menu.
16523
2366713d
JM
165242013-02-21 Joseph Myers <joseph@codesourcery.com>
16525
16526 [BZ #13550]
16527 * sysdeps/i386/bp-asm.h: Remove file.
16528 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16529 (PARMS): Do not use macros from bp-asm.h.
16530 (S1): Likewise.
16531 (S2): Likewise.
16532 (SIZE): Likewise.
16533 (__mpn_add_n): Do not use BP_SYM
16534 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16535 "bp-asm.h".
16536 (PARMS): Do not use macros from bp-asm.h.
16537 (S1): Likewise.
16538 (SIZE): Likewise.
16539 (__mpn_addmul_1): Do not use BP_SYM
16540 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16541 "bp-asm.h".
16542 (PARMS): Do not use macros from bp-asm.h.
16543 (SIGMSK): Likewise.
16544 (_setjmp): Likewise. Do not use BP_SYM.
16545 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16546 "bp-asm.h".
16547 (PARMS): Do not use macros from bp-asm.h.
16548 (SIGMSK): Likewise.
16549 (setjmp): Likewise. Do not use BP_SYM.
16550 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16551 "bp-asm.h".
16552 (PARMS): Do not use macros from bp-asm.h.
16553 (__frexp): Do not use BP_SYM.
16554 (frexp): Likewise.
16555 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16556 "bp-asm.h".
16557 (PARMS): Do not use macros from bp-asm.h.
16558 (__frexpf): Do not use BP_SYM.
16559 (frexpf): Likewise.
16560 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16561 "bp-asm.h".
16562 (PARMS): Do not use macros from bp-asm.h.
16563 (__frexpl): Do not use BP_SYM.
16564 (frexpl): Likewise.
16565 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16566 "bp-asm.h".
16567 (PARMS): Do not use macros from bp-asm.h.
16568 (__remquo): Do not use BP_SYM.
16569 (remquo): Likewise.
16570 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16571 "bp-asm.h".
16572 (PARMS): Do not use macros from bp-asm.h.
16573 (__remquof): Do not use BP_SYM.
16574 (remquof): Likewise.
16575 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16576 "bp-asm.h".
16577 (PARMS): Do not use macros from bp-asm.h.
16578 (__remquol): Do not use BP_SYM.
16579 (remquol): Likewise.
16580 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16581 "bp-asm.h".
16582 (PARMS): Do not use macros from bp-asm.h.
16583 (DEST): Likewise.
16584 (SRC): Likewise.
16585 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16586 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16587 "bp-asm.h".
16588 (PARMS): Do not use macros from bp-asm.h.
16589 (strlen): Do not use BP_SYM.
16590 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16591 "bp-asm.h".
16592 (PARMS): Do not use macros from bp-asm.h.
16593 (S1): Likewise.
16594 (S2): Likewise.
16595 (SIZE): Likewise.
16596 (__mpn_add_n): Do not use BP_SYM.
16597 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16598 "bp-asm.h".
16599 (PARMS): Do not use macros from bp-asm.h.
16600 (S1): Likewise.
16601 (SIZE): Likewise.
16602 (__mpn_addmul_1): Do not use BP_SYM.
16603 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16604 weak_alias.
16605 (bzero): Likewise.
16606 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16607 "bp-asm.h".
16608 (PARMS): Do not use macros from bp-asm.h.
16609 (S): Likewise.
16610 (SIZE): Likewise.
16611 (__mpn_lshift): Do not use BP_SYM.
16612 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16613 "bp-asm.h".
16614 (PARMS): Do not use macros from bp-asm.h.
16615 (DEST): Likewise.
16616 (SRC): Likewise.
16617 (LEN): Likewise.
16618 (memcpy): Likewise. Do not use BP_SYM.
16619 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16620 libc_hidden_def and weak_alias.
16621 (mempcpy): Do not use BP_SYM in weak_alias.
16622 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16623 "bp-asm.h".
16624 (PARMS): Do not use macros from bp-asm.h.
16625 (DEST): Likewise.
16626 (LEN): Likewise.
16627 [!BZERO_P] (CHR): Likewise.
16628 (memset): Likewise. Do not use BP_SYM.
16629 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16630 "bp-asm.h".
16631 (PARMS): Do not use macros from bp-asm.h.
16632 (S1): Likewise.
16633 (SIZE): Likewise.
16634 (__mpn_mul_1): Do not use BP_SYM.
16635 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16636 "bp-asm.h".
16637 (PARMS): Do not use macros from bp-asm.h.
16638 (S): Likewise.
16639 (SIZE): Likewise.
16640 (__mpn_rshift): Do not use BP_SYM.
16641 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16642 "bp-asm.h".
16643 (PARMS): Do not use macros from bp-asm.h.
16644 (STR): Likewise.
16645 (CHR): Likewise.
16646 (strchr): Likewise. Do not use BP_SYM.
16647 (index): Do not use BP_SYM in weak_alias.
16648 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16649 "bp-asm.h".
16650 (PARMS): Do not use macros from bp-asm.h.
16651 (DEST): Likewise.
16652 (SRC): Likewise.
16653 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16654 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16655 "bp-asm.h".
16656 (PARMS): Do not use macros from bp-asm.h.
16657 (strlen): Do not use BP_SYM.
16658 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16659 "bp-asm.h".
16660 (PARMS): Do not use macros from bp-asm.h.
16661 (S1): Likewise.
16662 (S2): Likewise.
16663 (SIZE): Likewise.
16664 (__mpn_sub_n): Do not use BP_SYM.
16665 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16666 "bp-asm.h".
16667 (PARMS): Do not use macros from bp-asm.h.
16668 (S1): Likewise.
16669 (SIZE): Likewise.
16670 (__mpn_submul_1): Do not use BP_SYM.
16671 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16672 "bp-asm.h".
16673 (PARMS): Do not use macros from bp-asm.h.
16674 (S1): Likewise.
16675 (S2): Likewise.
16676 (SIZE): Likewise.
16677 (__mpn_add_n): Do not use BP_SYM.
16678 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16679 weak_alias.
16680 (bzero): Likewise.
16681 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16682 "bp-asm.h".
16683 (PARMS): Do not use macros from bp-asm.h.
16684 (BLK2): Likewise.
16685 (LEN): Likewise.
16686 (memcmp): Do not use BP_SYM.
16687 (bcmp): Do not use BP_SYM in weak_alias.
16688 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16689 "bp-asm.h".
16690 (PARMS): Do not use macros from bp-asm.h.
16691 (DEST): Likewise.
16692 (SRC): Likewise.
16693 (LEN): Likewise.
16694 (memcpy): Likewise. Do not use BP_SYM.
16695 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16696 "bp-asm.h".
16697 (PARMS): Do not use macros from bp-asm.h.
16698 (DEST): Likewise.
16699 (SRC): Likewise.
16700 (LEN): Likewise.
16701 (memmove): Likewise. Do not use BP_SYM.
16702 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16703 "bp-asm.h".
16704 (PARMS): Do not use macros from bp-asm.h.
16705 (DEST): Likewise.
16706 (SRC): Likewise.
16707 (LEN): Likewise.
16708 (__mempcpy): Likewise. Do not use BP_SYM.
16709 (mempcpy): Do not use BP_SYM in weak_alias.
16710 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16711 "bp-asm.h".
16712 (PARMS): Do not use macros from bp-asm.h.
16713 (DEST): Likewise.
16714 (LEN): Likewise.
16715 [!BZERO_P] (CHR): Likewise.
16716 (memset): Likewise. Do not use BP_SYM.
16717 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16718 "bp-asm.h".
16719 (PARMS): Do not use macros from bp-asm.h.
16720 (STR2): Likewise.
16721 (strcmp): Do not use BP_SYM.
16722 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16723 "bp-asm.h".
16724 (PARMS): Do not use macros from bp-asm.h.
16725 (STR): Likewise.
16726 (DELIM): Likewise.
16727 [USE_AS_STRTOK_R] (SAVE): Likewise.
16728 (FUNCTION): Likewise. Do not use BP_SYM.
16729 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16730 aliases.
16731 (strtok_r): Likewise.
16732 (__GI___strtok_r): Likewise.
16733 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16734 (PARMS): Do not use macros from bp-asm.h.
16735 (S): Likewise.
16736 (SIZE): Likewise.
16737 (__mpn_lshift): Do not use BP_SYM.
16738 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16739 (PARMS): Do not use macros from bp-asm.h.
16740 (STR): Likewise.
16741 (CHR): Likewise.
16742 (__memchr): Do not use BP_SYM.
16743 (memchr): Do not use BP_SYM in weak_alias.
16744 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16745 (PARMS): Do not use macros from bp-asm.h.
16746 (BLK2): Likewise.
16747 (LEN): Likewise.
16748 (memcmp): Do not use BP_SYM.
16749 (bcmp): Do not use BP_SYM in weak_alias.
16750 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16751 (PARMS): Do not use macros from bp-asm.h.
16752 (S1): Likewise.
16753 (SIZE): Likewise.
16754 (__mpn_mul_1): Do not use BP_SYM.
16755 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16756 "bp-asm.h".
16757 (PARMS): Do not use macros from bp-asm.h.
16758 (STR): Likewise.
16759 (CHR): Likewise.
16760 (__rawmemchr): Do not use BP_SYM.
16761 (rawmemchr): Do not use BP_SYM in weak_alias.
16762 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16763 (PARMS): Do not use macros from bp-asm.h.
16764 (S): Likewise.
16765 (SIZE): Likewise.
16766 (__mpn_rshift): Do not use BP_SYM.
16767 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16768 (PARMS): Do not use macros from bp-asm.h.
16769 (SIGMSK): Likewise.
16770 (__sigsetjmp): Likewise. Do not use BP_SYM.
16771 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16772 (_start): Do not use BP_SYM.
16773 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16774 (PARMS): Do not use macros from bp-asm.h.
16775 (DEST): Likewise.
16776 (SRC): Likewise.
16777 (__stpcpy): Likewise. Do not use BP_SYM.
16778 (stpcpy): Do not use BP_SYM in weak_alias.
16779 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16780 "bp-asm.h".
16781 (PARMS): Do not use macros from bp-asm.h.
16782 (DEST): Likewise.
16783 (SRC): Likewise.
16784 (LEN): Likewise.
16785 (__stpncpy): Likewise. Do not use BP_SYM.
16786 (stpncpy): Do not use BP_SYM in weak_alias.
16787 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16788 (PARMS): Do not use macros from bp-asm.h.
16789 (STR): Likewise.
16790 (CHR): Likewise.
16791 (strchr): Likewise. Do not use BP_SYM.
16792 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16793 "bp-asm.h".
16794 (PARMS): Do not use macros from bp-asm.h.
16795 (STR): Likewise.
16796 (CHR): Likewise.
16797 (__strchrnul): Likewise. Do not use BP_SYM.
16798 (strchrnul): Do not use BP_SYM in weak_alias.
16799 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16800 "bp-asm.h".
16801 (PARMS): Do not use macros from bp-asm.h.
16802 (STOP): Likewise.
16803 (strcspn): Do not use BP_SYM.
16804 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16805 "bp-asm.h".
16806 (PARMS): Do not use macros from bp-asm.h.
16807 (STR): Likewise.
16808 (STOP): Likewise.
16809 (strpbrk): Likewise. Do not use BP_SYM.
16810 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16811 "bp-asm.h".
16812 (PARMS): Do not use macros from bp-asm.h.
16813 (STR): Likewise.
16814 (CHR): Likewise.
16815 (strrchr): Likewise. Do not use BP_SYM.
16816 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16817 (PARMS): Do not use macros from bp-asm.h.
16818 (SKIP): Likewise.
16819 (strspn): Do not use BP_SYM.
16820 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16821 (PARMS): Do not use macros from bp-asm.h.
16822 (STR): Likewise.
16823 (DELIM): Likewise.
16824 (SAVE): Likewise.
16825 (FUNCTION): Likewise. Do not use BP_SYM.
16826 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16827 aliases.
16828 (strtok_r): Likewise.
16829 (__GI___strtok_r): Likewise.
16830 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16831 (PARMS): Do not use macros from bp-asm.h.
16832 (S1): Likewise.
16833 (S2): Likewise.
16834 (SIZE): Likewise.
16835 (__mpn_sub_n): Do not use BP_SYM.
16836 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16837 "bp-asm.h".
16838 (PARMS): Do not use macros from bp-asm.h.
16839 (S1): Likewise.
16840 (SIZE): Likewise.
16841 (__mpn_submul_1): Do not use BP_SYM.
16842 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16843 <bp-sym.h>.
16844 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16845 and <bp-asm.h>.
16846 (PARMS): Do not use macros from bp-asm.h.
16847 (FLAGS): Likewise.
16848 (PTID): Likewise.
16849 (TLS): Likewise.
16850 (CTID): Likewise.
16851 (__clone): Do not use BP_SYM.
16852 (clone): Do not use BP_SYM in weak_alias.
16853 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16854 and <bp-asm.h>.
16855 (PARMS): Do not use macros from bp-asm.h.
16856 (LEN): Likewise.
16857 (__mmap64): Do not use BP_SYM.
16858 (mmap64): Do not use BP_SYM in weak_alias.
16859 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16860 <bp-sym.h> and <bp-asm.h>.
16861 (PARMS): Do not use macros from bp-asm.h.
16862 (__posix_fadvise64_l64): Do not use BP_SYM.
16863 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16864 (PARMS): Do not use macros from bp-asm.h.
16865 (NSOPS): Likewise.
16866 (semtimedop): Do not use BP_SYM.
16867 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16868 and <bp-asm.h>.
16869
582a3cff
AM
168702013-02-21 Allan McRae <allan@archlinux.org>
16871
16872 * manual/message.texi (Charset conversion in gettext):
16873 Move @end statement to beginning of line.
16874
bab8a695
SP
168752013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16876
80945231
SP
16877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16878 static.
16879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16880 Likewise.
16881
bab8a695
SP
16882 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16883 (denorm): Likewise.
16884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16886
e21d7aa7
AK
168872013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16888
16889 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16890 tail-call to the resolved function if pltexit isn't needed.
16891
4c7a4263
SP
168922013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16893
16894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16895 or Y being zero as being unlikely.
16896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16897 Likewise.
16898
41f49342
CD
168992013-02-20 Carlos O'Donell <carlos@redhat.com>
16900
16901 * manual/nss.texi (System Databases and Name Service Switch):
16902 Remove frobnicate @pxref.
16903
50022a93
TS
169042013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16905
16906 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16907 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16908
08cbd996
PM
169092013-02-20 Petr Machata <pmachata@redhat.com>
16910
16911 * elf/elf.h (R_ARM_TARGET1): New macro.
16912 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16913 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16914 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16915 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16916 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16917 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16918 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16919 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16920 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16921 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16922 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16923 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16924 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16925 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16926 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16927 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16928 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16929 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16930 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16931 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16932 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16933 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16934 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16935 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16936 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16937 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16938 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16939 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16940 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16941 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16942 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16943 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16944 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16945 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16946 (R_ARM_THM_GOT_BREL12): Likewise.
16947 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16948 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16949 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16950 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16951 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16952 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16953 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16954 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16955 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16956
c7b275d6
TS
169572013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16958
16959 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16960 __attribute_used__ to __attribute__ ((unused)).
16961
20cd7fb3
SP
169622013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16963
16964 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16965 powerpc mpa.c.
16966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16967 comment formatting.
16968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16969
92945b52
JM
169702013-02-19 Joseph Myers <joseph@codesourcery.com>
16971
16972 [BZ #13550]
16973 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16974 Remove macro.
16975 (ENTER): Remove both macro definitions.
16976 (LEAVE): Likewise.
16977 (CHECK_BOUNDS_LOW): Likewise.
16978 (CHECK_BOUNDS_HIGH): Likewise.
16979 (CHECK_BOUNDS_BOTH): Likewise.
16980 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16981 (RETURN_BOUNDED_POINTER): Likewise.
16982 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16983 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16984 (POP_ERRNO_LOCATION_RETURN): Likewise.
16985 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16986 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16987 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16988 macros.
16989 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16990 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16991 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16992 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16993 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16994 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16995 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16996 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16997 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16998 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16999 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17000 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17001 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17002 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17003 removed macros.
17004 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17005 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17006 macros.
17007 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17008 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17009 * sysdeps/i386/i586/memset.S (memset): Likewise.
17010 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17011 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17012 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17013 macros.
17014 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17015 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17016 Change uses of L(2) to L(out).
17017 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17018 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17019 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17020 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17021 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17022 removed macros.
17023 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17024 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17025 macros.
17026 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17027 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17028 (RETURN): Do not use macro LEAVE.
17029 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17030 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17031 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17032 * sysdeps/i386/i686/memset.S (memset): Likewise.
17033 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17034 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17035 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17036 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17037 Likewise.
17038 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17039 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17040 L(1_2) and L(1_3) into L(1).
17041 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17042 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17043 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17044 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17045 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17046 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17047 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17048 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17049 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17050 macros.
17051 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17052 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17053 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17054 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17055 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17056 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17057 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17058 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17059 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17060 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17061 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17062 * sysdeps/i386/strspn.S (strspn): Likewise.
17063 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17064 conditional code.
17065 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17066 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17067 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17068 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17069 L(1_3) into L(1_1).
17070 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17071 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17072 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17073 macros.
17074 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17075
2389741a
JJ
170762013-02-19 Jakub Jelinek <jakub@redhat.com>
17077
17078 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17079 macro.
17080
2016b3cd
SP
170812013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17082
e4f22324
SP
17083 * math/atest-exp.c (exp_mpn): Remove ROUND.
17084 * math/atest-exp2.c (exp_mpn): Likewise.
17085 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17086
2016b3cd
SP
17087 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17088 * stdlib/tst-tls-atexit-lib.c: Likewise.
17089 * stdlib/tst-tls-atexit.c: Likewise.
17090
4be9b544
MF
170912013-02-18 Mike Frysinger <vapier@gentoo.org>
17092
17093 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17094 and __attribute_alloc_size__.
17095
2f62b9ee
MF
170962013-02-18 Mike Frysinger <vapier@gentoo.org>
17097
17098 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17099 __attribute_alloc_size__.
17100 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17101 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17102
6ff444c4
MF
171032013-02-18 Mike Frysinger <vapier@gentoo.org>
17104
17105 * include/programs/xmalloc.h: New file.
17106 * catgets/gencat.c: Include it.
17107 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17108 * elf/pldd.c: Likewise.
17109 * iconv/iconv_charmap.c: Likewise.
17110 * iconv/iconvconfig.c: Likewise.
17111 * iconv/strtab.c: Likewise.
17112 * locale/programs/locale.c: Likewise.
17113 * locale/programs/localedef.h: Likewise.
17114 * locale/programs/simple-hash.c: Likewise.
17115 * nscd/nscd.h: Likewise.
17116 * nss/makedb.c: Likewise.
17117 * sysdeps/generic/ldconfig.h: Likewise.
17118
be179c8a
SP
171192013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17120
ba384f6e
SP
17121 * Versions.def: Add GLIBC_2.18.
17122 * include/link.h (struct link_map): New member l_tls_dtor_count.
17123 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17124 (__call_tls_dtors): Likewise.
17125 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17126 __cxa_thread_atexit_impl.
17127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17128 Likewise.
17129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17130 Likewise.
17131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17132 Likewise.
17133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17134 Likewise.
17135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17137 Likewise.
17138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17139 Likewise.
17140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17142 Likewise.
17143 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17144 (tests): Add test case tst-tls-atexit.
17145 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17146 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17147 (GLIBC_PRIVATE): Add __call_tls_dtors.
17148 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17149 for libstdc++.
17150 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17151 * stdlib/tst-tls-atexit.c: New test case.
17152 * stdlib/tst-tls-atexit-lib.c: New test case.
17153
ffaa74cf 17154 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17155
be179c8a
SP
17156 * elf/Versions (ld): Add _dl_find_dso_for_object.
17157 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17158 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17159 (dl_open_worker): Use _dl_find_dso_for_object.
17160 * elf/dl-sym.c (do_sym): Likewise.
17161 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17162
f78b5caa
AK
171632013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17164
17165 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17166 Syntactic changes only.
17167 (_dl_runtime_profile): Do a tail-call to the resolved function.
17168
29691210
JM
171692013-02-17 Joseph Myers <joseph@codesourcery.com>
17170
17171 [BZ #13550]
17172 * sysdeps/x86_64/bp-asm.h: Remove file.
17173 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17174 <bp-sym.h> and <bp-asm.h>.
17175 (__clone): Do not use BP_SYM.
17176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17177 <bp-sym.h> and <bp-asm.h>.
17178 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17179 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17180 "bp-asm.h".
17181 (_setjmp): Do not use BP_SYM.
17182 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17183 "bp-asm.h".
17184 (setjmp): Do not use BP_SYM.
17185 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17186 libc_hidden_def.
17187 (mempcpy): Do not use BP_SYM in weak_alias.
17188 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17189 "bp-asm.h".
17190 (strchr): Do not use BP_SYM.
17191 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17192 "bp-asm.h".
17193 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17194 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17195 (_start): Do not use BP_SYM.
17196 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17197 "bp-asm.h".
17198 (strcat): Do not use BP_SYM.
17199 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17200 "bp-asm.h".
17201 (STRCMP): Do not use BP_SYM.
17202 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17203 "bp-asm.h".
17204 (STRCPY): Do not use BP_SYM.
17205 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17206 "bp-asm.h".
17207 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17208 "bp-asm.h".
17209 (FUNCTION): Do not use BP_SYM.
17210 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17211 weak_alias.
17212 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17213
f238fd19
AJ
172142013-02-17 Andreas Jaeger <aj@suse.de>
17215
17216 * time/Versions: Sort entries.
17217 * string/Versions: Likewise.
17218 * resolv/Versions: Likewise.
17219 * posix/Versions: Likewise.
17220 * iconv/Versions: Likewise.
17221 * elf/Versions: Likewise.
17222 * wcsmbs/Versions: Likewise.
17223
bd07f23c 172242013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17225
22af19f9
SP
17226 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17227 loop termination condition.
17228
4709fe76
SP
17229 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17230 variable to calculate EZ.
17231 (__sqr): Likewise.
2d0e0f29
SP
17232
17233 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17234 the lower precision input.
17235
daaa7713
JM
172362013-02-15 Joseph Myers <joseph@codesourcery.com>
17237
17238 [BZ #13550]
17239 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17240 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17241 (run-via-rtld-prefix): Do not handle %-bp tests.
17242 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17243 (all-object-suffixes): Remove .ob.
17244 (bppfx): Remove variable.
17245 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17246 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17247 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17248 [$(build-bounded) = yes] (libtype.ob): Likewise.
17249 * Makerules (elide-routines.ob): Remove variable.
17250 (do-tests-clean): Do not handle *-bp.out.
17251 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17252 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17253 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17254 (tests): Do not include $(tests-bp.out).
17255 (xtests): Do not include $(xtests-bp.out).
17256 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17257 [$(build-bounded) = yes] ($(addprefix
17258 $(objpfx),$(binaries-bounded))): Remove rule.
17259 ($(objpfx)%-bp.out): Remove rule.
17260 * config.make.in (build-bounded): Remove variable.
17261 * crypt/Makefile [$(build-bounded) = yes]
17262 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17263 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17264 append to variable.
17265 [$(build-bounded) = yes] (install-lib): Likewise.
17266 [$(build-bounded) = yes] (generated): Likewise.
17267 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17268 Remove rule.
17269 * intl/Makefile [$(build-bounded) = yes]
17270 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17271 * math/Makefile [$(build-bounded) = yes]
17272 ($(tests:%=$(objpfx)%-bp): Likewise.
17273 * misc/Makefile [$(build-bounded) = yes]
17274 ($(objpfx)tst-tsearch-bp): Likewise.
17275 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17276 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17277 Remove dependency.
17278 * string/Makefile (o-objects.ob): Remove variable.
17279 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17280 (CFLAGS-.ob): Remove variable.
17281 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17282 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17283 both definitions of variable.
17284 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17285 (ASFLAGS-.ob): Remove variable.
17286
e97ed6dd
JM
172872013-02-14 Joseph Myers <joseph@codesourcery.com>
17288
2bdd4ca6
JM
17289 [BZ #13550]
17290 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17291 Remove __BOUNDED_POINTERS__ from condition.
17292 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17293 * string/bits/string2.h [!__NO_STRING_INLINES &&
17294 !__BOUNDED_POINTERS__]: Likewise.
17295 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17296 Likewise.
17297 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17298 Remove conditional code.
17299 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17300 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17301 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17302 condition.
17303
e97ed6dd
JM
17304 [BZ #13550]
17305 * csu/libc-start.c: Do not include <bp-sym.h>.
17306 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17307 * elf/dl-open.c: Do not include <bp-sym.h>.
17308 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17309 * math/fegetenv.c: Do not include <bp-sym.h>.
17310 (fegetenv): Do not use BP_SYM in versioned symbols.
17311 * nptl/sysdeps/pthread/bits/libc-lockP.h
17312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17313 <bp-sym.h>.
17314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17315 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17317 (__pthread_mutex_destroy): Likewise.
17318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17319 (__pthread_mutex_lock): Likewise.
17320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17321 (__pthread_mutex_trylock): Likewise.
17322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17323 (__pthread_mutex_unlock): Likewise.
17324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17325 (__pthread_mutexattr_init): Likewise.
17326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17327 (__pthread_mutexattr_destroy): Likewise.
17328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17329 (__pthread_mutexattr_settype): Likewise.
17330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17331 (__pthread_rwlock_init): Likewise.
17332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17333 (__pthread_rwlock_destroy): Likewise.
17334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17335 (__pthread_rwlock_rdlock): Likewise.
17336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17337 (__pthread_rwlock_tryrdlock): Likewise.
17338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17339 (__pthread_rwlock_wrlock): Likewise.
17340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17341 (__pthread_rwlock_trywrlock): Likewise.
17342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17343 (__pthread_rwlock_unlock): Likewise.
17344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17345 (__pthread_key_create): Likewise.
17346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17347 (__pthread_setspecific): Likewise.
17348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17349 (__pthread_getspecific): Likewise.
17350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17351 Likewise.
17352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17353 (_pthread_cleanup_push_defer): Likewise.
17354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17355 (_pthread_cleanup_pop_restore): Likewise.
17356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17357 (pthread_setcancelstate): Likewise.
17358 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17359 <bp-sym.h>.
17360 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17361 (memchr): Do not use BP_SYM in weak_alias.
17362 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17363 (fegetenv): Do not use BP_SYM in versioned symbols.
17364 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17365 (fesetenv): Do not use BP_SYM in versioned symbols.
17366 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17367 (feupdateenv): Do not use BP_SYM in versioned symbols.
17368 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17369 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17370 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17371 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17372 (open64): Do not use BP_SYM in weak_alias.
17373 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17374 (fegetenv): Do not use BP_SYM in versioned symbols.
17375 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17376 (fesetenv): Do not use BP_SYM in versioned symbols.
17377 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17378 (feupdateenv): Do not use BP_SYM in versioned symbols.
17379 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17380 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17381 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17382 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17383 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17384 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17385 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17386 <bp-sym.h>.
17387 (__libc_start_main): Do not use BP_SYM.
17388
d6752ccd
SP
173892013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17390
cb57ce60
SP
17391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17392 redundant return line.
17393 (norm): Likewise.
17394 (denorm): Likewise.
17395 (dbl_mp): Likewise.
17396 (sub_magnitudes): Likewise.
17397 (__add): Likewise.
17398 (__sub): Likewise.
17399 (__mul): Likewise.
17400 (__inv): Likewise.
17401 (__dvd): Likewise.
17402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17403 (norm): Likewise.
17404 (denorm): Likewise.
17405 (dbl_mp): Likewise.
17406 (sub_magnitudes): Likewise.
17407 (__add): Likewise.
17408 (__sub): Likewise.
17409 (__mul): Likewise.
17410 (__inv): Likewise.
17411 (__dvd): Likewise.
17412
f414520d
SP
17413 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17414 instead of __mul.
17415 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17416 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17417 (cc32): Likewise.
17418
d6752ccd
SP
17419 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17420 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17421 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17422 of __mul for squares.
17423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17424 function
17425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17426 Likewise.
17427 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17428 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17429
70d9946a
JM
174302013-02-13 Joseph Myers <joseph@codesourcery.com>
17431
17432 [BZ #13550]
17433 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17434 code.
17435 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17436 prototype or function definition. Rename ubp_* variables and
17437 parameters. Remove argv definitions conditional on
17438 [__BOUNDED_POINTERS__].
17439 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17440 * elf/dl-runtime.c (_dl_fixup): Likewise.
17441 * include/set-hooks.h (RUN_HOOK): Likewise.
17442 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17443 definition.
17444 * string/strcpy.c (strcpy): Do not use __unbounded.
17445 * sysdeps/generic/frame.h (struct layout): Likewise.
17446 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17447 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17448 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17449 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17450 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17451 (__backtrace): Likewise.
17452 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17453 use __ptrvalue.
17454 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17455 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17456 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17457 Likewise.
17458 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17459 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17460 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17461 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17462 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17463 Do not use __unbounded.
17464 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17465 Rename __unboundedrlimits parameter to rlimits in prototype.
17466 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17467 Do not use __unbounded.
17468 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17469 not use __ptrvalue.
17470 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17471 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17472 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17473 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17474 __ptrvalue or __unbounded.
17475 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17476 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17477 use __unbounded.
17478 (__new_msgctl): Do not use __ptrvalue.
17479 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17480 __unbounded.
17481 (__libc_msgrcv): Do not use __ptrvalue.
17482 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17483 startup_info): Do not use __unbounded.
17484 (__libc_start_main): Likewise. Rename ubp_* variables and
17485 parameters. Remove argv definitions conditional on
17486 [__BOUNDED_POINTERS__].
17487 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17488 __ptrvalue.
17489 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17490 use __unbounded.
17491 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17492 or __ptrvalue.
17493 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17494 use __unbounded.
17495 (__new_shmctl): Do not use __ptrvalue.
17496 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17497 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17498 Likewise.
17499 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17500 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17501 (__libc_sigaction): Likewise.
17502 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17503 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17504 Likewise.
17505 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17506
cc7834d6
OB
175072013-02-13 Ondřej Bílka <neleai@seznam.cz>
17508
ffb1ec7b 17509 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17510
17511 * string/mempcpy.c: Implement by calling memcpy.
17512
bdf02814
SP
175132013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17514
c2af38aa
SP
17515 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17516
4e92d59e
SP
17517 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17518 evaluation.
17519
909279a5
SP
17520 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17521 values in the mantissa.
17522
bdf02814
SP
17523 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17524 minimize writes to Z.
17525 (sub_magnitudes): Simplify code a bit.
17526
cd525923
RM
175272013-02-12 Roland McGrath <roland@hack.frob.com>
17528
17529 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17530 from the message. The linker prefixes all warnings with that already.
17531
7e2f0d2d
AS
175322013-02-12 Andreas Schwab <schwab@suse.de>
17533
a445af0b
AS
17534 [BZ #15078]
17535 * posix/regexec.c (extend_buffers): Add parameter min_len.
17536 (check_matching): Pass minimum needed length.
17537 (clean_state_log_if_needed): Likewise.
17538 (get_subexp): Likewise.
17539 * posix/Makefile (tests): Add bug-regex34.
17540 (bug-regex34-ENV): Define.
17541 * posix/bug-regex34.c: New file.
17542
7e2f0d2d
AS
17543 [BZ #11561]
17544 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17545 elements compare against the byte sequence of it, not its name.
17546 * posix/Makefile (tests): Add bug-regex35.
17547 (bug-regex35-ENV): Define.
17548 * posix/bug-regex35.c: New file.
17549
a175b684
TV
175502013-02-11 Tom de Vries <tom@codesourcery.com>
17551
17552 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17553 comment.
17554 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17555 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17556 (CHECK_EOL): Add undef.
17557
310998fe 175582013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17559
17560 * bits/stdlib-bsearch.h: New file.
17561 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17562 * stdlib/stdlib.h: Likewise.
41eda41d 17563
8ded91fb
RM
175642013-02-11 Roland McGrath <roland@hack.frob.com>
17565
17566 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17567 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17568 declaration.
17569 * manual/search.texi (Array Search Function): Add missing const in
17570 lfind prototype.
17571 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17572 declaration to use rlim_t.
17573 (Basic Scheduling Functions): Remove erroneous const from
17574 sched_getparam prototype. Remove erroneous * from
17575 sched_get_priority_max and sched_get_priority_min prototypes.
17576 (Resource Usage): Fix summary @comment on vtimes to refer to
17577 sys/vtimes.h rather than vtimes.h.
17578 Add missing *s in vtimes prototype.
17579 (Limits on Resources): Fix ulimit prototype to return long int.
17580 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17581 prototypes to use long int rather than double.
17582 (BSD Random): Fix initstate and setstate to use char *, not void *.
17583 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17584 prototype to make second argument 'struct aiocb64 *const[]'.
17585 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17586 (Status of AIO Operations): Remove erroneous const in aio_return and
17587 aio_return64 prototypes.
17588 (Synchronizing I/O): Fix sync prototype to return void.
17589 * manual/startup.texi (Suboptions): Remove an erroneous const in
17590 getsubopt prototype.
17591 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17592 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17593 use size_t rather than int.
17594 (Scanning All Users): Likewise for getpwent_r.
17595 (Setting Groups): Add missing const to setgroups prototype.
17596 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17597 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17598 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17599 'const void *' rather than 'const char *'.
17600 (Host Address Functions): Likewise for inet_ntop.
17601 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17602 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17603 ssize_t for return value.
17604 (Sending Data): Likewise for send, sendto, sendmsg.
17605 (Socket Option Functions): Add a missing const in setsockopt prototype.
17606 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17607 use wchar_t for the argument.
17608 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17609 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17610 take no arguments.
17611 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17612 double/float/long double for second argument.
17613 Fix return types of significand, significandf, significandl.
17614 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17615 argument in fchmod prototype.
17616 (File Owner): Use uid_t and gid_t in fchown prototype.
17617 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17618 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17619 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17620 use 'const struct dirent **' as argument types to CMP function pointer
17621 argument.
17622 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17623 (File Times): Fix summary magic @comment for struct utimbuf and utime
17624 to refer to utime.h, not time.h.
17625 * manual/string.texi (Argz Functions): Add missing const in
17626 argz_extract and argz_next prototypes.
17627 (Finding Tokens in a String): Likewise for basename.
17628 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17629 (Copying and Concatenation): Fix typo in wmemmove prototype.
17630 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17631 (Signal Stack): Remove erroneous const in sigstack prototype.
17632 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17633 prototype.
17634 (Simple Calendar Time): Likewise for stime.
17635 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17636 prototype.
17637 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17638 say sys/sysctl.h instead.
17639 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17640 and vsyslog prototypes.
17641
fe77fe6d
TV
176422013-02-11 Tom de Vries <tom@codesourcery.com>
17643
17644 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17645 Remove.
17646
3a09b620
RM
176472013-02-11 Roland McGrath <roland@hack.frob.com>
17648
17649 * misc/sys/mman.h: Fix typo in mremap comment.
17650
550a0b89
RM
176512013-02-08 Roland McGrath <roland@hack.frob.com>
17652
17653 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17654 the '\0' terminator.
17655
a2da1673
JM
176562013-02-08 Joseph Myers <joseph@codesourcery.com>
17657
17658 [BZ #13550]
17659 * debug/segfault.c: Don't include <bp-checks.h>.
17660 * sysdeps/generic/bp-checks.h: Remove file.
17661 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17662 (__GETDENTS): Don't use CHECK_N.
17663 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17664 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17665 (__getgroups): Don't use CHECK_N.
17666 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17667 (setgroups): Don't use CHECK_N.
17668 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17669 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17670 (__libc_msgrcv): Don't use CHECK_N.
17671 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17672 (__libc_msgsnd): Don't use CHECK_N.
17673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17674 <bp-checks.h>.
17675 (__libc_pread): Don't use CHECK_N.
17676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17677 include <bp-checks.h>.
17678 (__libc_pread64): Don't use CHECK_N.
17679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17680 include <bp-checks.h>.
17681 (__libc_pwrite): Don't use CHECK_N.
17682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17683 include <bp-checks.h>.
17684 (__libc_pwrite64): Don't use CHECK_N.
17685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17686 <bp-checks.h>.
17687 (__libc_pread): Don't use CHECK_N.
17688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17689 include <bp-checks.h>.
17690 (__libc_pread64): Don't use CHECK_N.
17691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17692 include <bp-checks.h>.
17693 (__libc_pwrite): Don't use CHECK_N.
17694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17695 include <bp-checks.h>.
17696 (__libc_pwrite64): Don't use CHECK_N.
17697 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17698 (do_pread): Don't use CHECK_N.
17699 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17700 (do_pread64): Don't use CHECK_N.
17701 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17702 (do_pwrite): Don't use CHECK_N.
17703 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17704 (do_pwrite64): Don't use CHECK_N.
17705 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17706 (__libc_readv): Don't use CHECK_N.
17707 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17708 (semop): Don't use CHECK_N.
17709 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17710 <bp-checks.h>.
17711 (semtimedop): Don't use CHECK_N.
17712 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17713 (__libc_pread): Don't use CHECK_N.
17714 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17715 <bp-checks.h>.
17716 (__libc_pread64): Don't use CHECK_N.
17717 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17718 <bp-checks.h>.
17719 (__libc_pwrite): Don't use CHECK_N.
17720 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17721 <bp-checks.h>.
17722 (__libc_pwrite64): Don't use CHECK_N.
17723 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17724 <bp-checks.h>.
17725 (__libc_msgrcv): Don't use CHECK_N.
17726 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17727 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17728 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17729 (__libc_writev): Don't use CHECK_N.
17730
b84660a8
RM
177312013-02-08 Roland McGrath <roland@hack.frob.com>
17732
7f3e75f8
RM
17733 * string/strcpy.c: Removed unused variable.
17734
b84660a8
RM
17735 * Makeconfig (+sysdep-includes): Define with := rather than =.
17736 Use an existing include/ subdir of each sysdeps dir before it.
17737
471514d3
CD
177382013-02-08 Carlos O'Donell <carlos@redhat.com>
17739
17740 * nscd/connection.c (register_traced_file): Comment function.
17741 [HAVE_INOTIFY] (union __inev): Define.
17742 [HAVE_INOTIFY] (inotify_check_files): New function.
17743 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17744 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17745 clear_db_cache.
17746 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17747
b2d3c3be
CD
177482013-02-08 Carlos O'Donell <carlos@redhat.com>
17749
17750 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17751 loaded if not already and that a failure is permanent.
17752
b39949d2
CD
177532013-02-08 Carlos O'Donell <carlos@redhat.com>
17754
ddacd1db 17755 [BZ #15006]
b39949d2
CD
17756 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17757 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17758
b2c9eff4
JM
177592013-02-08 Joseph Myers <joseph@codesourcery.com>
17760
f3aae3f3
JM
17761 [BZ #13550]
17762 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17763 (CHECK_1_NULL_OK): Likewise.
17764 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17765 (__fxstat): Do not use CHECK_1.
17766 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17767 <bp-checks.h>.
17768 (___fxstat64): Do not use CHECK_1.
17769 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17770 <bp-checks.h>.
17771 (__fxstatat): Do not use CHECK_1.
17772 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17773 <bp-checks.h>.
17774 (__fxstatat64): Do not use CHECK_1.
17775 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17776 <bp-checks.h>.
17777 (__fxstat): Do not use CHECK_1.
17778 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17779 <bp-checks.h>.
17780 (__fxstatat): Do not use CHECK_1.
17781 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17782 <bp-checks.h>.
17783 (__getresgid): Do not use CHECK_1.
17784 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17785 <bp-checks.h>.
17786 (__getresuid): Do not use CHECK_1.
17787 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17788 <bp-checks.h>.
17789 (__lxstat): Do not use CHECK_1.
17790 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17791 <bp-checks.h>.
17792 (__old_msgctl): Do not use CHECK_1.
17793 (__new_msgctl): Likewise.
17794 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17795 <bp-checks.h>.
17796 (__new_setrlimit): Do not use CHECK_1.
17797 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17798 <bp-checks.h>.
17799 (__old_shmctl): Do not use CHECK_1.
17800 (__new_shmctl): Likewise.
17801 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17802 <bp-checks.h>.
17803 (__xstat): Do not use CHECK_1.
17804 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17805 (__lxstat): Do not use CHECK_1.
17806 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17807 <bp-checks.h>.
17808 (___lxstat64): Do not use CHECK_1.
17809 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17810 (__old_msgctl): Do not use CHECK_1.
17811 (__new_msgctl): Likewise.
17812 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17813 <bp-checks.h>.
17814 (__gettimeofday): Do not use CHECK_1.
17815 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17816 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17817 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17818 <bp-checks.h>.
17819 (__gettimeofday): Do not use CHECK_1.
17820 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17821 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17822 (__new_shmctl): Do not use CHECK_1.
17823 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17824 <bp-checks.h>.
17825 (do_sigtimedwait): Do not use CHECK_1.
17826 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17827 <bp-checks.h>.
17828 (do_sigwaitinfo): Do not use CHECK_1.
17829 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17830 <bp-checks.h>.
17831 (msgctl): Do not use CHECK_1.
17832 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17833 <bp-checks.h>.
17834 (shmctl): Do not use CHECK_1.
17835 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17836 (ustat): Do not use CHECK_1.
17837 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17838 <bp-checks.h>.
17839 (__fxstat): Do not use CHECK_1.
17840 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17841 <bp-checks.h>.
17842 (__fxstatat): Do not use CHECK_1.
17843 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17844 <bp-checks.h>.
17845 (__lxstat): Do not use CHECK_1.
17846 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17847 <bp-checks.h>.
17848 (__xstat): Do not use CHECK_1.
17849 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17850 (__xstat): Do not use CHECK_1.
17851 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17852 (___xstat64): Do not use CHECK_1.
17853
b2c9eff4
JM
17854 [BZ #13550]
17855 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17856 definitions.
17857 (CHECK_BOUNDS_HIGH): Likewise.
17858 * string/strcpy.c: Do not include <bp-checks.h>.
17859 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17860
f1d70dad
RM
178612013-02-07 Roland McGrath <roland@hack.frob.com>
17862
17863 * nscd/nscd-client.h (__nscd_drop_map_ref):
17864 Add __attribute__ ((unused)).
17865 * nis/nss-nisplus.h (niserr2nss): Likewise.
17866
17867 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17868 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17869
17870 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17871 Remove inline keyword.
17872 * include/rounding-mode.h (round_away): Likewise.
17873 * libio/wfileops.c (adjust_wide_data): Likewise.
17874 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17875 (__m128i_strloadu_tolower): Likewise.
17876 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17877 (__m128i_strloadu_tolower): Likewise.
17878 * time/mktime.c (ydhms_diff): Likewise.
17879 * locale/elem-hash.h (elem_hash): Likewise.
17880 * locale/setlocale.c (setdata): Likewise.
17881 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17882 (re_string_wchar_at): Likewise.
17883 (bitset_not, bitset_merge, bitset_mask): Likewise.
17884 [!(__GNUC__ > 3)] (inline): Remove macro.
17885 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17886 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17887 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17888 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17889 * string/memcmp.c (memcmp_bytes): Likewise.
17890 * locale/programs/locarchive.c (compute_hashval): Likewise.
17891 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17892 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17893 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17894 * nss/getent.c (print_rpc, print_protocols): Likewise.
17895 (print_passwd, print_group, print_aliases): Likewise.
17896 * nis/nss-nisplus.h (niserr2nss): Likewise.
17897 * nscd/connections.c (restart_p): Likewise.
17898 Change return type to bool.
17899
eab55bfb
RM
179002013-02-05 Roland McGrath <roland@hack.frob.com>
17901
7bd642f5
RM
17902 * Makeconfig (all-Depend-files): Add existing
17903 $(sorted-subdirs:=/Depend) files.
17904 (all-subdirs): Remove nss.
17905 * sysdeps/unix/inet/Subdirs: Add it here instead.
17906 * hesiod/Depend: New file.
17907
573c29b2
RM
17908 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17909 instead of calling alloca.
17910
b2e25af0
RM
17911 * io/lseek.c (__lseek): Rename to __libc_lseek.
17912 Define __lseek as an alias.
17913
eab55bfb
RM
17914 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17915
9a0d1941
CD
179162013-02-04 Carlos O'Donell <carlos@redhat.com>
17917
17918 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17919 else clause and remove check for non-standard endianness.
17920
b83bbec4
DM
179212013-02-04 David S. Miller <davem@davemloft.net>
17922
17923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17924
6277fdab
JM
179252013-02-04 Joseph Myers <joseph@codesourcery.com>
17926
17927 [BZ #13550]
17928 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17929 (__ubp_memchr): Remove prototype.
17930 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17931 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17932 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17933 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17934 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17935 Remove alias.
17936 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17937 (__ubp_memchr): Likewise.
17938 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17939 (__ubp_memchr): Likewise.
17940 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17941 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17942 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17943 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17944 CHECK_STRING.
17945 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17946 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17947 (__getcwd): Do not use CHECK_STRING.
17948 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17949 <bp-checks.h>.
17950 (__real_chown): Do not use CHECK_STRING.
17951 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17952 <bp-checks.h>.
17953 (fchownat): Do not use CHECK_STRING.
17954 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17955 CHECK_STRING.
17956 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17957 <bp-checks.h>.
17958 (__lchown): Do not use CHECK_STRING.
17959 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17960 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17961 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17962 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17964 include <bp-checks.h>.
17965 (truncate64): Do not use CHECK_STRING.
17966 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17967 <bp-checks.h>.
17968 (__real_chown): Do not use CHECK_STRING.
17969 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17970 <bp-checks.h>.
17971 (__lchown): Do not use CHECK_STRING.
17972 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17973 <bp-checks.h>.
17974 (__chown): Do not use CHECK_STRING.
17975 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17976 <bp-checks.h>.
17977 (truncate64): Do not use CHECK_STRING.
17978 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17979 Likewise.
17980 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17981 (__xmknod): Do not use CHECK_STRING.
17982 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17983 <bp-checks.h>.
17984 (__xmknodat): Do not use CHECK_STRING.
17985 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17986 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17987
903ae060
AS
179882013-02-04 Andreas Schwab <schwab@suse.de>
17989
17990 [BZ #14142]
17991 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17992 * include/netdb.h: Likewise for h_errno.
17993 * elf/tst-stackguard1.c: Include <tls.h>.
17994
542f9466
JK
179952013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17996
17997 * elf/link.h (struct link_map): Extend the l_addr comment.
17998 * include/link.h (struct link_map): Likewise.
17999
e782a927
JM
180002013-02-01 Joseph Myers <joseph@codesourcery.com>
18001
18002 [BZ #13550]
18003 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18004 (BOUNDED_1): Remove macro.
18005 * debug/backtrace.c: Don't include <bp-checks.h>.
18006 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18007 (__backtrace): Likewise.
18008 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18009 <bp-checks.h>.
18010 (__backtrace): Don't use BOUNDED_1.
18011 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18012 <bp-checks.h>.
18013 (__backtrace): Don't use BOUNDED_1.
18014 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18015 (__backtrace): Don't use BOUNDED_1.
18016 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18017 (shmat): Don't use BOUNDED_N.
18018
8cf28c5e
JM
180192013-01-31 Joseph Myers <joseph@codesourcery.com>
18020
3a7ac8a0
JM
18021 [BZ #13550]
18022 * sysdeps/generic/bp-start.h: Remove file.
18023 * csu/libc-start.c: Don't include <bp-start.h>.
18024 (LIBC_START_MAIN): Set up __environ directly instead of using
18025 INIT_ARGV_and_ENVIRON.
18026 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18027 <bp-start.h>.
18028
f3499f95
JM
18029 [BZ #13550]
18030 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18031 definitions.
18032 (CHECK_FCNTL): Likewise.
18033 (CHECK_N_PAGES): Likewise.
18034
32a45bea
JM
18035 [BZ #13550]
18036 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18037 definitions.
18038 (CHECK_SIGSET_NULL_OK): Likewise.
18039 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18040 <bp-checks.h>.
18041 (sigpending): Don't use CHECK_SIGSET.
18042 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18043 <bp-checks.h>.
18044 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18045 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18046 <bp-checks.h>.
18047 (do_sigsuspend): Don't use CHECK_SIGSET.
18048 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18049 use CHECK_SIGSET.
18050 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18051 (do_sigwait): Don't use CHECK_SIGSET.
18052 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18053 use CHECK_SIGSET.
18054 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18055 include <bp-checks.h>.
18056 (sigpending): Don't use CHECK_SIGSET.
18057 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18058 include <bp-checks.h>.
18059 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18060 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18061 <bp-checks.h>.
18062 (sigpending): Don't use CHECK_SIGSET.
18063 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18064 <bp-checks.h>.
18065 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18066
2e8a5c8c
JM
18067 [BZ #13550]
18068 * sysdeps/generic/bp-semctl.h: Remove file.
18069 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18070 <bp-checks.h> and <bp-semctl.h>.
18071 (__old_semctl): Don't use CHECK_SEMCTL.
18072 (__new_semctl): Likewise.
18073 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18074 and <bp-semctl.h>.
18075 (__old_semctl): Don't use CHECK_SEMCTL.
18076 (__new_semctl): Likewise.
18077 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18078 <bp-checks.h> and <bp-semctl.h>.
18079 (__old_semctl): Don't use CHECK_SEMCTL.
18080 (__new_semctl): Likewise.
18081 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18082 <bp-checks.h> and <bp-semctl.h>.
18083 (semctl): Don't use CHECK_SEMCTL.
18084
c2d54929
JM
18085 [BZ #13550]
18086 * Makerules (elide-bp-thunks): Remove variable.
18087 (elide-routines.oS): Don't use $(elide-bp-thunks).
18088 (elide-routines.os): Likewise.
18089 (elide-routines.o): Likewise.
18090 (elide-routines.op): Likewise.
18091 (elide-routines.og): Likewise.
18092 (objects): Don't use $(bp-thunks).
18093 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18094 include.
18095 (common-generated): Do not add s-proto-bp.d.
18096 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18097 (int): Likewise.
18098 (typ): Likewise.
18099 Do not generate makefile rules for bounded-pointer thunks.
18100 * sysdeps/generic/bp-thunks.h: Remove file.
18101 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18102 * sysdeps/unix/s-proto-bp.S: Likewise.
18103
8cf28c5e
JM
18104 [BZ #15062]
18105 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18106 parts of result separately when argument is not close to line from
18107 -i to i and one part of argument is small.
18108 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18109 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18110 * math/libm-test.inc (cacos_test): Add more tests.
18111 (casin_test): Likewise.
18112 (casinh_test): Likewise.
18113 * sysdeps/i386/fpu/libm-test-ulps: Update.
18114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18115
c4e33b8d
DM
181162013-01-31 David S. Miller <davem@davemloft.net>
18117
18118 * po/de.po: Update from translation team.
18119
3b60b421
MK
181202013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18121
18122 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18123
bb931195
TS
181242013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18125
b5a5da23
TS
18126 * configure.in (_AC_PROG_CC_C89): New definition.
18127 * configure: Regenerate.
18128
bb931195
TS
18129 * configure.in (AC_PROG_CPP): New definition.
18130 * configure: Regenerate.
18131
8c53a12c
JM
181322013-01-23 Joseph Myers <joseph@codesourcery.com>
18133
18134 * debug/tst-backtrace.h: New file.
18135 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18136 (ret): Remove variable.
18137 (x): Likewise.
18138 (FAIL): Remove macro.
18139 (NO_INLINE): Likewise.
18140 (fn1): Use match function instead of strstr.
18141 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18142 (ret): Remove variable.
18143 (x): Likewise.
18144 (FAIL): Remove macro.
18145 (NO_INLINE): Likewise.
18146 (fn): Use match function instead of strstr.
18147 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18148 (ret): Remove variable.
18149 (x): Likewise.
18150 (FAIL): Remove macro.
18151 (NO_INLINE): Likewise.
18152 (handle_signal): Use match function instead of strstr.
18153 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18154 (ret): Remove variable.
18155 (x): Likewise.
18156 (FAIL): Remove macro.
18157 (NO_INLINE): Likewise.
18158 (handle_signal): Use match function instead of strstr.
18159
4858fa2a
RM
181602013-01-23 Roland McGrath <roland@hack.frob.com>
18161
18162 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18163
bae8e7f5
DM
181642013-01-23 David S. Miller <davem@davemloft.net>
18165
18166 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18167 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18168 argument of CAS if possible.
18169 * sysdeps/sparc/sparc64/bits/atomic.h
18170 (__arch_compare_and_exchange_val_32_acq): Likewise.
18171 (__arch_compare_and_exchange_val_64_acq): Likewise.
18172
9cbbc4ae
PT
181732013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18174
18175 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18176 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18177 Include <limits.h>.
67b3f58c 18178 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18179
5655a0b5
AC
181802013-01-23 Adam Conrad <adconrad@0c3.net>
18181
18182 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18183 (LDFLAGS-tst-array5): Likewise.
18184
052aff95
JM
181852013-01-23 Joseph Myers <joseph@codesourcery.com>
18186
18187 [BZ #15036]
18188 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18189 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18190 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18191 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18192
7c1e01aa
DM
181932013-01-21 David S. Miller <davem@davemloft.net>
18194
18195 * sysdeps/sparc/backtrace.c: New file.
18196 * sysdeps/sparc/sparc32/backtrace.h: New file.
18197 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18198 * sysdeps/sparc/sparc64/backtrace.h: New file.
18199 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18200 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18201 -funwind-tables.
18202
ab087e0a
AS
182032013-01-21 Andreas Schwab <schwab@suse.de>
18204
18205 [BZ #15020]
18206 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18207 closed its stdout.
18208
ed689c2f
AS
182092013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18210
18211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18212 "mpa2.h".
18213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18214
31d470ac
JM
182152013-01-18 Joseph Myers <joseph@codesourcery.com>
18216 Mark Mitchell <mark@codesourcery.com>
18217 Tom de Vries <tom@codesourcery.com>
18218 Paul Pluzhnikov <ppluzhnikov@google.com>
18219
18220 * debug/tst-backtrace2.c: New file.
18221 * debug/tst-backtrace3.c: Likewise.
18222 * debug/tst-backtrace4.c: Likewise.
18223 * debug/tst-backtrace5.c: Likewise.
18224 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18225 (CFLAGS-tst-backtrace3.c): Likewise.
18226 (CFLAGS-tst-backtrace4.c): Likewise.
18227 (CFLAGS-tst-backtrace5.c): Likewise.
18228 (LDFLAGS-tst-backtrace2): Likewise.
18229 (LDFLAGS-tst-backtrace3): Likewise.
18230 (LDFLAGS-tst-backtrace4): Likewise.
18231 (LDFLAGS-tst-backtrace5): Likewise.
18232 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18233 tst-backtrace4 and tst-backtrace5.
18234
90567f30 182352013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18236 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18237
18238 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18239 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18240 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18241 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18243 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18244 "+r" and remove output regs list as redundant. Add explicit inline
18245 asm to specify register of return val to work around compiler codegen
18246 bug. Remove (int) cast on return value. Add return type parameter to
18247 use in macro so that this macro does not truncate return value for
18248 64-bit values.
18249 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18250 pass to INTERNAL_VSYSCALL_NCS.
18251 (INLINE_VSYSCALL): Add 'long int' as return type to
18252 INTERNAL_VSYSCALL_NCS macro invocation.
18253 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18254 INTERNAL_VSYSCALL_NCS macro invocation.
18255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18256
d3b9ea61
SP
182572013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18258
0b57daeb
SP
18259 [BZ #14496]
18260 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18261 Fix application of SIMD FP exception mask.
18262
caa99d06
SP
18263 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18264 mp_no from a power of two.
18265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18266 __mpexp_twomm1. Use __pow_mp.
18267
d3b9ea61
SP
18268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18269 multiplication.
18270
1dbaee3c
DM
182712013-01-17 David S. Miller <davem@davemloft.net>
18272
18273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18274
728d7b43
JM
182752013-01-17 Joseph Myers <joseph@codesourcery.com>
18276
18277 [BZ #15023]
18278 * include/complex.h: Condition contents on [!_COMPLEX_H].
18279 (__kernel_casinhf): New prototype.
18280 (__kernel_casinh): Likewise.
18281 (__kernel_casinhl): Likewise.
18282 * math/Makefile (libm_calls): Add k_casinh.
18283 * math/k_casinh.c: New file.
18284 * math/k_casinhf.c: Likewise.
18285 * math/k_casinhl.c: Likewise.
18286 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18287 finite nonzero arguments.
18288 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18289 finite nonzero arguments.
18290 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18291 finite nonzero arguments.
18292 * math/s_casinh.c: Do not include <float.h>.
18293 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18294 * math/s_casinhf.c: Do not include <float.h>.
18295 (__casinhf): Move code for finite nonzero arguments to
18296 k_casinhf.c.
18297 * math/s_casinhl.c: Do not include <float.h>.
18298 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18299 redefine.
18300 (__casinhl): Move code for finite nonzero arguments to
18301 k_casinhl.c.
18302 * math/libm-test.inc (cacos_test): Add more tests.
18303 * sysdeps/i386/fpu/libm-test-ulps: Update.
18304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18305
2a26ef3a
PT
183062013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18307
18308 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18309 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18310 [!HAVE_MREMAP]: Remove [defined linux] case.
18311 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18312
a897655d
SP
183132013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18314
18315 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18316
881ebe89 183172013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18318
18319 * elf/elf.h (R_386_SIZE32): New relocation.
18320 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18321 R_386_SIZE32.
18322 (elf_machine_rela): Likewise.
18323 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18324 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18325
59981e9b
JM
183262013-01-17 Joseph Myers <joseph@codesourcery.com>
18327
18328 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18329 (FP_FAST_FMA): Do not define.
18330 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18331 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18332 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18333 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18334 !_SOFT_FLOAT]: Likewise.
18335 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18336 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18337 value.
18338 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18339 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18340 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18341 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18342 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18343 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18344 file.
18345
cfa8054f
AS
183462013-01-16 Andreas Schwab <schwab@suse.de>
18347
18348 [BZ #14327]
18349 * include/stdlib.h (__mktemp): Add declaration.
18350 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18351 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18352
dd930cc5
SP
183532013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18354
881ebe89
SP
18355 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18356 definitions.
18357 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18358 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18359 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18360 definitions here.
18361 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18362 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18363 definitions.
18364 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18365 and ONE.
18366 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18367 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18368 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18369 definitions.
18370 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18371 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18372 definitions.
18373 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18374
dd930cc5
SP
18375 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18376
c19a9f89
DM
183772013-01-15 David S. Miller <davem@davemloft.net>
18378
1aa61767
DM
18379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18380 trunc{,f} to libm-sysdep_routes.
18381 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18383 file.
18384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18386 file.
18387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18388 file.
18389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18391 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18392 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18393 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18394 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18395 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18396 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18397
c42d5e98
DM
18398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18399 nearbyint{,f} to libm-sysdep_routes.
18400 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18402 New file.
18403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18404 file.
18405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18406 New file.
18407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18408 file.
18409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18411 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18412 file.
18413 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18414 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18415 file.
18416 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18417 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18418 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18419
c19a9f89
DM
18420 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18421 libc_feholdexcept and libc_fesetenv.
18422
357679d2
MF
184232013-01-15 Mike Frysinger <vapier@gentoo.org>
18424
18425 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18426
65a82e3d
DM
184272013-01-14 David S. Miller <davem@davemloft.net>
18428
8b954ab9
DM
18429 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18430 (SPARC_ASM_VIS2_IFUNC): Likewise.
18431 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18433 use of 'siam' instruction.
18434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18435 Likewise.
18436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18437 Likewise.
18438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18439 Likewise.
18440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18445 file.
18446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18447 file.
18448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18449 file.
18450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18451 file.
18452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18457 new VIS2 routines.
18458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18461 Likewise.
18462 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18467 routines to libm-sysdep_routines.
18468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18469
65a82e3d
DM
18470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18471 fdim/fdimf to libm-sysdep_routines.
18472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18473 file.
18474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18476 file.
18477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18480 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18481 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18482 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18483 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18484
e34ab705
SP
184852013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18486
2a91b573
SP
18487 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18488 to optimize copies.
18489
1066a534
SP
18490 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18493
e34ab705
SP
18494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18495 local variable MPTWO.
18496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18497 Likewise.
18498
aba5e596
MF
184992013-01-13 Mike Frysinger <vapier@gentoo.org>
18500
18501 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18502 GLOB_NOESCAPE.
18503
e557e9e5
MF
185042013-01-13 Mike Frysinger <vapier@gentoo.org>
18505
18506 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18507
0428cec9
MF
185082013-01-13 Mike Frysinger <vapier@gentoo.org>
18509
18510 * manual/pattern.texi (glob_t): Document gl_flags.
18511 (glob64_t): Likewise.
18512
8794a964
DM
185132013-01-11 David S. Miller <davem@davemloft.net>
18514
66438c3f
RM
18515 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18516 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18517 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18518 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18519 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18520 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18521 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18522 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18523 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18524 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18525 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18526 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18527 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18528
4ae4244d
DM
18529 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18530 sparc V9 rather than using V8 code.
18531 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18532 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18533
8794a964
DM
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18535 Move to...
18536 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18537 Here.
18538
6270516e
RM
185392013-01-11 Roland McGrath <roland@hack.frob.com>
18540
18541 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18542 not in the main loop.
18543 * configure: Regenerated.
18544
6a57d931
JM
185452013-01-11 Joseph Myers <joseph@codesourcery.com>
18546
18547 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18548 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18549 to just #else.
18550 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18551 [!__GLIBC_HAVE_LONG_LONG] case.
18552 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18553 condition to just #else.
18554 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18555 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18556 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18557 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18558 unconditional.
18559 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18560 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18561 #elif condition to just #else.
18562 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18563 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18564 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18565 #elif condition to just #else.
18566
0e8529e9
SE
185672013-01-11 Steve Ellcey <sellcey@mips.com>
18568
18569 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18570 (EF_MIPS_ARCH_64): Fix value.
18571 (EF_MIPS_ARCH_32R2): New.
18572 (EF_MIPS_ARCH_64R2): New.
18573
740b3dbe
L
185742013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18575
18576 * Makeconfig (+link-pie-before-libc): New.
18577 (+link-pie-after-libc): Likewise.
18578 (+link-pie-tests): Likewise.
18579 (+link-pie): Rewritten.
18580 (link-before-libc): Remove $(config-LDFLAGS).
18581 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18582 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18583 (config-LDFLAGS): Renamed to ...
18584 (rtld-LDFLAGS): This.
18585 (rtld-tests-LDFLAGS): New macro.
18586 (link-libc-rpath-link): Likewise.
18587 (link-libc-tests-rpath-link): Likewise.
18588 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18589 (link-libc): Prepand $(link-libc-rpath-link).
18590 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18591 (test-program-prefix): New macro.
18592 (test-via-rtld-prefix): Likewise.
18593 (test-program-cmd): Likewise.
18594 (host-test-program-cmd): Likewise.
18595 * Makefile ($(common-objpfx)testrun.sh): Replace
18596 $(run-program-prefix) with $(test-program-prefix).
18597 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18598 $(rtld-LDFLAGS).
18599 ($(common-objpfx)shlib.lds): Likewise.
18600 (build-module-helper): Likewise.
18601 ($(common-objpfx)format.lds): Likewise.
18602 * Rules (binaries-pie-tests): New.
18603 (binaries-pie-notests): Likewise.
18604 (binaries-pie): Rewritten.
18605 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18606 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18607 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18608 (make-test-out): Replace $(host-built-program-cmd) with
18609 $(host-test-program-cmd).
18610 * config.make.in (build-hardcoded-path-in-tests): New variable.
18611 * configure.in (--enable-hardcoded-path-in-tests): New configure
18612 option.
18613 (hardcoded_path_in_tests): New AC_SUBST.
18614 * configure: Regenerated.
18615 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18616 $(built-program-cmd) with $(test-program-cmd).
18617 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18618 (test_program_cmd): This.
18619 * elf/Makefile ($(objpfx)order.out): Run test with
18620 $(test-program-prefix).
18621 ($(objpfx)order2.out): Likewise.
18622 ($(objpfx)tst-initorder.out): Likewise.
18623 ($(objpfx)tst-initorder2.out): Likewise.
18624 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18625 $(test-program-cmd).
18626 ($(objpfx)tst-array1-static.out): Likewise.
18627 ($(objpfx)tst-array2.out): Likewise.
18628 ($(objpfx)tst-array3.out): Likewise.
18629 ($(objpfx)tst-array4.out): Likewise.
18630 ($(objpfx)tst-array5.out): Likewise.
18631 ($(objpfx)tst-array5-static.out): Likewise.
18632 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18633 $(test-program-cmd).
18634 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18635 $(run-program-prefix) with $(test-program-prefix).
18636 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18637 (test_program_prefix): This.
18638 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18639 $(run-program-prefix) with $(test-program-prefix).
18640 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18641 (test_program_prefix): This.
18642 * iconvdata/tst-tables.sh: Likewise.
18643 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18644 $(run-program-prefix) with $(test-program-prefix).
18645 ($(objpfx)tst-translit.out): Likewise.
18646 ($(objpfx)tst-gettext2.out): Likewise.
18647 ($(objpfx)tst-gettext4.out): Likewise.
18648 ($(objpfx)tst-gettext6.out): Likewise.
18649 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18650 (test_program_prefix): This.
18651 * intl/tst-gettext2.sh: Likewise.
18652 * intl/tst-gettext4.sh Likewise.
18653 * intl/tst-gettext6.sh: Likewise.
18654 * intl/tst-translit.sh: Likewise.
18655 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18656 with $(test-program-cmd).
18657 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18658 $(run-program-prefix) with $(test-program-prefix).
18659 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18660 (test_program_prefix): This.
18661 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18662 $(run-program-prefix) with $(test-program-prefix).
18663 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18664 (test_program_prefix): This.
18665 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18666 * posix/Makefile ($(objpfx)globtest.out): Replace
18667 $(run-via-rtld-prefix) and $(test-wrapper) with
18668 $(test-program-prefix) and $(test-via-rtld-prefix).
18669 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18670 $(test-program-prefix).
18671 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18672 $(host-test-program-cmd).
18673 (tst-spawn-ARGS): Likewise.
18674 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18675 $(test-program-prefix).
18676 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18677 (test_via_rtld_prefix): This.
18678 (test_wrapper): Renamed to ...
18679 (test_program_prefix): This.
18680 (run_program_prefix): Replaced by test_program_prefix.
18681 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18682 (test_program_prefix): This.
18683 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18684 with $(host-test-program-cmd).
18685 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18686 $(run-program-prefix) with $(test-program-prefix).
18687 ($(objpfx)tst-printf.out): Likewise.
18688 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18689 $(test-program-cmd).
18690 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18691 (test_program_prefix): This.
18692 * stdio-common/tst-unbputc.sh: Likewise.
18693 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18694 $(run-program-prefix) with $(test-program-prefix).
18695 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18696 (test_program_prefix): This.
18697 * string/Makefile ($(objpfx)tst-svc.out): Replace
18698 $(built-program-cmd) with $(test-program-cmd).
18699
c6fe55cf
AJ
187002013-01-11 Andreas Jaeger <aj@suse.de>
18701
18702 [BZ #15003]
18703 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18704 value. Sync with Linux 3.7.
18705
9e6919c8
DM
187062013-01-10 David S. Miller <davem@davemloft.net>
18707
18708 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18709 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18710 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18711
1c9f1a02
RM
187122013-01-10 Roland McGrath <roland@hack.frob.com>
18713
18714 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18715 never set.
18716 * configure: Regenerated.
18717
b9de2dde
DM
187182013-01-10 David S. Miller <davem@davemloft.net>
18719
18720 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18721 sparc V9 rather than using V8 code.
18722 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18723 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18724
e7f68ef4
RM
187252013-01-10 Roland McGrath <roland@hack.frob.com>
18726
18727 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18728 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18729 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18730 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18731 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18732 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18733 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18734 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18735 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18736 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18737 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18738 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18739 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18740 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18741 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18742 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18743 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18744 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18745 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18746 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18747 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18748 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18749 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18750 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18751 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18752 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18753 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18754
5a47cc9c
DM
187552013-01-10 David S. Miller <davem@davemloft.net>
18756
18757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18758
4cf8f209
L
187592013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18760
18761 * posix/Makefile (tests-static): New variable.
18762 (tests): Add $(tests-static).
18763 (tst-exec-static-ARGS): New variable.
18764 (tst-spawn-static-ARGS): Likewise.
18765 * posix/tst-exec-static.c: New file.
18766 * posix/tst-spawn-static.c: Likewise.
18767 * posix/tst-exec.c: Support run directly.
18768 * posix/tst-spawn.c: Likewise.
18769
fed0faa1
JM
187702013-01-10 Joseph Myers <joseph@codesourcery.com>
18771
828beb13
JM
18772 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18773 long.
18774 * math/bits/mathcalls.h (llrint): Likewise.
18775 (llround): Likewise.
18776 * stdlib/stdlib.h (struct drand48_data): Likewise.
18777 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18778 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18779 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18780 Likewise.
18781 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18782 Likewise.
18783 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18784 (elf_greg_t): Likewise.
18785 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18786 (__jmp_buf): Likewise.
18787 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18788 definitions.
18789 (llrint): Likewise, for all definitions.
18790 (llrintl): Likewise.
18791
fed0faa1
JM
18792 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18793 Remove [__GNUC__] condition.
18794 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18795 condition to just [__USE_ISOC99].
18796 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18797
1a20cb20
L
187982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18799
18800 [BZ #14200]
18801 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18802 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18803 defined.
18804 (_POSIX_V6_ILP32_OFF32): Likewise.
18805 (_XBS5_ILP32_OFF32): Likewise.
18806 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18807 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18808
751b85f7
SP
188092013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18810
7490eb81
SP
18811 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18812
751b85f7
SP
18813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18814 doubles __mpexp_twomm1. Adjust usage.
18815 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18816 Remove.
18817
988197f0
AS
188182013-01-10 Andreas Schwab <schwab@suse.de>
18819
18820 [BZ #14964]
18821 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18822 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18823
e83d7298
DM
188242013-01-09 David S. Miller <davem@davemloft.net>
18825
034ed64b 18826 [BZ #15003]
e83d7298
DM
18827 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18828 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18829 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18830 TCP_FASTOPEN): Define.
18831 (tcp_repair_opt): New structure.
18832 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18833 enum values.
18834 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18835 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18836 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18837 (tcp_cookie_transactions): New structure.
18838
d5e0b9bd
AB
188392013-01-09 Anton Blanchard <anton@samba.org>
18840
18841 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18842 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18843 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18844 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18845
0c07e3ea
JM
188462013-01-09 Joseph Myers <joseph@codesourcery.com>
18847
18848 * include/features.h (__USE_ANSI): Remove.
18849
232f7002
RM
188502013-01-09 Roland McGrath <roland@hack.frob.com>
18851
ad98e30c
RM
18852 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18853
232f7002
RM
18854 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18855
950c99ca
SP
188562013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18857
b5792741
SP
18858 * sysdeps/s390/fpu/libm-test-ulps: Update.
18859
47cf2278
SP
18860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18861
950c99ca
SP
18862 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18863 (__acr): Likewise.
18864 (__cpy): Likewise.
18865 (norm): Likewise.
18866 (denorm): Likewise.
18867 (__mp_dbl): Likewise.
18868 (__dbl_mp): Likewise.
18869 (add_magnitudes): Likewise.
18870 (sub_magnitudes): Likewise.
18871 (__add): Likewise.
18872 (__sub): Likewise.
18873 (__mul): Likewise.
18874 (__inv): Likewise.
18875 (__dvd): Likewise.
18876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18877 (__acr): Likewise.
18878 (__cpy): Likewise.
18879 (norm): Likewise.
18880 (denorm): Likewise.
18881 (__mp_dbl): Likewise.
18882 (__dbl_mp): Likewise.
18883 (add_magnitudes): Likewise.
18884 (sub_magnitudes): Likewise.
18885 (__add): Likewise.
18886 (__sub): Likewise.
18887 (__mul): Likewise.
18888 (__inv): Likewise.
18889 (__dvd): Likewise.
18890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18891 (__acr): Likewise.
18892 (__cpy): Likewise.
18893 (norm): Likewise.
18894 (denorm): Likewise.
18895 (__mp_dbl): Likewise.
18896 (__dbl_mp): Likewise.
18897 (add_magnitudes): Likewise.
18898 (sub_magnitudes): Likewise.
18899 (__add): Likewise.
18900 (__sub): Likewise.
18901 (__mul): Likewise.
18902 (__inv): Likewise.
18903 (__dvd): Likewise.
18904
eede9df9
JM
189052013-01-08 Joseph Myers <joseph@codesourcery.com>
18906
18907 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18908 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18909 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18910 2 && __USE_EXTERN_INLINES]: Likewise.
18911
c40ea3d9
AJ
189122013-01-08 Andreas Jaeger <aj@suse.de>
18913
18914 [BZ# 14985]
18915 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18916 Remove.
18917 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18918 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18919
2ccdea26
AB
189202013-01-07 Anton Blanchard <anton@samba.org>
18921
18922 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18923 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18924 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18925 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18926 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18927 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18928 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18929 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18931 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18932 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18933 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18934 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18935 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18936 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18937 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18938 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18939 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18940 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18941 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18942 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18943 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18944 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18945 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18946 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18947 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18948 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18949 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18950 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18951 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18952 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18954 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18955 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18956 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18957 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18958 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18959 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18960 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18961 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18962 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18963 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18964 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18965
a9708fed
JM
189662013-01-07 Joseph Myers <joseph@codesourcery.com>
18967
375607b9
JM
18968 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18969 (__MALLOC_PMT): Likewise.
18970 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18971 [__GNUC__], only on [_LIBC].
18972 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18973 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18974 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18975 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18976 forward declaration.
18977 (realloc_hook_ini): Likewise.
18978 (memalign_hook_ini): Likewise.
18979 (__libc_memalign): Do not use __MALLOC_PMT in variable
18980 declaration.
18981 (__libc_valloc): Likewise.
18982 (__libc_pvalloc): Likewise.
18983 (__libc_calloc): Likewise.
18984 (__posix_memalign): Likewise.
18985
a9708fed
JM
18986 [BZ #14996]
18987 * math/s_casinh.c: Include <float.h>.
18988 (__casinh): Do not do computation with squaring and square root
18989 for large arguments.
18990 * math/s_casinhf.c: Include <float.h>.
18991 (__casinhf): Do not do computation with squaring and square root
18992 for large arguments.
18993 * math/s_casinhl.c: Include <float.h>.
18994 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18995 (__casinhl): Do not do computation with squaring and square root
18996 for large arguments.
18997 * math/libm-test.inc (casin_test): Add more tests.
18998 (casinh_test): Likewise.
18999 * sysdeps/i386/fpu/libm-test-ulps: Update.
19000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19001
afec409a
L
190022013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19003
19004 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19005 (__x86_64_raw_data_cache_size): Likewise.
19006 (__x86_64_data_cache_size_half): Likewise.
19007 (__x86_64_raw_data_cache_size_half): Likewise.
19008 (__x86_64_shared_cache_size): Likewise.
19009 (__x86_64_raw_shared_cache_size): Likewise.
19010 (__x86_64_shared_cache_size_half): Likewise.
19011 (__x86_64_raw_shared_cache_size_half): Likewise.
19012 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19013 to ...
19014 (__x86_data_cache_size): This.
19015 (__x86_64_raw_data_cache_size): Renamed to ...
19016 (__x86_raw_data_cache_size): This.
19017 (__x86_64_data_cache_size_half): Renamed to ...
19018 (__x86_data_cache_size_half): This.
19019 (__x86_64_raw_data_cache_size_half): Renamed to ...
19020 (__x86_raw_data_cache_size_half): This.
19021 (__x86_64_shared_cache_size): Renamed to ...
19022 (__x86_shared_cache_size): This.
19023 (__x86_64_raw_shared_cache_size): Renamed to ...
19024 (__x86_raw_shared_cache_size): This.
19025 (__x86_64_shared_cache_size_half): Renamed to ...
19026 (__x86_shared_cache_size_half): This.
19027 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19028 (__x86_raw_shared_cache_size_half): This.
19029 * sysdeps/x86_64/memcpy.S: Updated.
19030 * sysdeps/x86_64/memset.S: Likewise.
19031 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19032 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19033 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19034
0b3986d0
DM
190352013-01-04 David S. Miller <davem@davemloft.net>
19036
19037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19038
e47686e9
AS
190392013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19040
d643bac1
AS
19041 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19042 1 to avoid redefinition warning.
19043 (__USE_GNU): Don't define.
19044 (init_signaling_nan): Protoize.
19045
e47686e9
AS
19046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19047
b18decba
SP
190482013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19049
fffb407f
SP
19050 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19052 (__cpymn): Likewise.
19053 (norm): Remove commented code.
19054 (denorm): Likewise.
19055 (__mp_dbl): Likewise.
19056 (__inv): Likewise.
19057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19058 (__cpymn): Likewise.
19059 (norm): Remove commented code.
19060 (denorm): Likewise.
19061 (__mp_dbl): Likewise.
19062 (__inv): Likewise.
19063
b18decba
SP
19064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19065 mp_no value for 1.0 and 2.0.
19066 (norm): Use RADIXI instead of radixi.d.
19067 (denorm): Likewise.
19068 (__mul): Use 0.0 instead of zero.d.
19069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19070 mp_no value for 1.0 and 2.0.
19071 (norm): Use RADIXI instead of radixi.d.
19072 (denorm): Likewise.
19073 (__mul): Use 0.0 instead of zero.d.
19074
cdc1c96f
JM
190752013-01-04 Joseph Myers <joseph@codesourcery.com>
19076
19077 [BZ #14994]
19078 * math/s_casinh.c (__casinh): Reduce finite argument to first
19079 quadrant then set signs of results at the end.
19080 * math/s_casinhf.c (__casinhf): Likewise.
19081 * math/s_casinhl.c (__casinhl): Likewise.
19082 * math/libm-test.inc (casin_test): Add more tests.
19083 (casinh_test): Likewise.
19084 * sysdeps/i386/fpu/libm-test-ulps: Update.
19085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19086
302913e1
SP
190872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19088
6420d207
SP
19089 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19090
a9e48ab4
SP
19091 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19092
b7837264
SP
19093 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19094 declarations.
19095 (denorm): Likewise.
19096 (__mp_dbl): Likewise.
19097 (__inv): Likewise.
19098
f8af25d2
SP
19099 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19100 and adjust the header comment.
19101
302913e1
SP
19102 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19103 variable name from declaration.
19104
5d7dd1ca
L
191052013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19106
19107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19108 Initialize COMMON_CPUID_INDEX_7 element.
19109 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19110 (CPUID_RTM): Likewise.
19111 (HAS_RTM): Likewise.
19112 (COMMON_CPUID_INDEX_7): New enum.
19113
2f5f40f4
AS
191142013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19115
19116 [BZ #14981]
19117 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19118 size is zero, record memory as freed.
19119
4056f4a0
AJ
191202013-01-03 Andreas Jaeger <aj@suse.de>
19121
19122 * po/ia.po: Add new Interlingua translation.
19123
ab15736f 191242012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19125
19126 * locale/programs/localedef.c: Fix description of '--posix' flag.
19127
568035b7
JM
191282013-01-02 Joseph Myers <joseph@codesourcery.com>
19129
e6898b8d
JM
19130 * NEWS: Update dates in second copyright notice.
19131 * README: Update copyright dates in example.
19132 * manual/libc.texinfo: Update copyright dates.
19133 * scripts/test-installation.pl: Update copyright date in --version
19134 output.
19135
0e2f9562
JM
19136 * hurd/ctty-input.c: Fix copyright notice formatting.
19137 * hurd/ctty-output.c: Likewise.
19138 * hurd/dtable.c: Likewise.
19139 * hurd/hurd-raise.c: Likewise.
19140 * hurd/hurdprio.c: Likewise.
19141 * hurd/msgportdemux.c: Likewise.
19142 * misc/sys/file.h: Likewise.
19143 * misc/sys/ioctl.h: Likewise.
19144 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19145 * sysdeps/mach/hurd/chdir.c: Likewise.
19146 * sysdeps/mach/hurd/fchdir.c: Likewise.
19147 * sysdeps/mach/hurd/rename.c: Likewise.
19148 * sysdeps/mach/hurd/rmdir.c: Likewise.
19149 * sysdeps/mach/hurd/seekdir.c: Likewise.
19150 * sysdeps/mach/hurd/setsid.c: Likewise.
19151 * sysdeps/posix/wait3.c: Likewise.
19152
568035b7
JM
19153 * All files with FSF copyright notices: Update copyright dates
19154 using scripts/update-copyrights.
19155 * intl/plural.c: Regenerated.
19156 * locale/programs/charmap-kw.h: Likewise.
19157 * locale/programs/locfile-kw.h: Likewise.
19158
da08f647
SP
191592013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19160
0f5477af
SP
19161 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19162 four values.
19163
44e0d4c2
SP
19164 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19165 calculation loop and add branch prediction.
19166
4d55b4e5
SP
19167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19168 check access beyond bounds of m1np.
19169
da08f647
SP
19170 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19171 MPTWO.
19172 (__inv): Remove local variable MPTWO to use the global
19173 constant.
19174 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19175 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19176 variable MPTWO.
19177 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19178 MP3HALFS static const.
19179
8e051029
DM
191802013-01-01 David S. Miller <davem@davemloft.net>
19181
19182 * po/ca.po: Update from translation team.
19183
f4cf5f2d
JM
191842013-01-01 Joseph Myers <joseph@codesourcery.com>
19185
19186 * scripts/update-copyrights: New file.
19187 * Makeconfig: Reformat copyright notice.
19188 * ctype/ctype.h: Likewise.
19189 * debug/swprintf_chk.c: Likewise.
19190 * elf/dl-cache.c: Likewise.
19191 * elf/dl-debug.c: Likewise.
19192 * elf/dl-object.c: Likewise.
19193 * grp/initgroups.c: Likewise.
19194 * hurd/Makefile: Likewise.
19195 * hurd/hurd/signal.h: Likewise.
19196 * hurd/hurdfault.c: Likewise.
19197 * hurd/hurdioctl.c: Likewise.
19198 * hurd/hurdlookup.c: Likewise.
19199 * hurd/intr-msg.c: Likewise.
19200 * iconv/gconv_open.c: Likewise.
19201 * libio/swprintf.c: Likewise.
19202 * locale/lc-ctype.c: Likewise.
19203 * locale/nl_langinfo.c: Likewise.
19204 * mach/Machrules: Likewise.
19205 * mach/Makefile: Likewise.
19206 * malloc/obstack.h: Likewise.
19207 * manual/Makefile: Likewise.
19208 * manual/tsort.awk: Likewise.
19209 * misc/bits/stab.def: Likewise.
19210 * nis/nis_print_group_entry.c: Likewise.
19211 * nis/nis_table.c: Likewise.
19212 * nis/nss_compat/compat-pwd.c: Likewise.
19213 * nis/nss_compat/compat-spwd.c: Likewise.
19214 * po/Makefile: Likewise.
19215 * posix/fnmatch.c: Likewise.
19216 * posix/regex.h: Likewise.
19217 * resolv/Makefile: Likewise.
19218 * resolv/nss_dns/dns-network.c: Likewise.
19219 * resolv/res_hconf.c: Likewise.
19220 * scripts/gen-sorted.awk: Likewise.
19221 * soft-fp/soft-fp.h: Likewise.
19222 * stdio-common/printf.h: Likewise.
19223 * stdlib/monetary.h: Likewise.
19224 * stdlib/random.c: Likewise.
19225 * stdlib/random_r.c: Likewise.
19226 * sysdeps/generic/Makefile: Likewise.
19227 * sysdeps/gnu/Makefile: Likewise.
19228 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19235 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19236 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19237 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19238 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19239 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19240 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19241 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19242 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19243 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19244 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19245 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19246 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19248 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19249 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19250 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19251 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19252 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19253 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19254 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19255 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19256 * sysdeps/mach/hurd/errnos.awk: Likewise.
19257 * sysdeps/mach/hurd/fork.c: Likewise.
19258 * sysdeps/mach/hurd/getcwd.c: Likewise.
19259 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19260 * sysdeps/mach/hurd/mmap.c: Likewise.
19261 * sysdeps/mach/hurd/utimes.c: Likewise.
19262 * sysdeps/mach/hurd/xmknod.c: Likewise.
19263 * sysdeps/posix/profil.c: Likewise.
19264 * sysdeps/posix/readdir_r.c: Likewise.
19265 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19266 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19267 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19268 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19270 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19271 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19272 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19274 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19275 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19276 * sysdeps/pthread/lio_listio.c: Likewise.
19277 * sysdeps/sparc/dl-procinfo.h: Likewise.
19278 * sysdeps/unix/i386/sysdep.S: Likewise.
19279 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19280 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19281 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19282 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19284 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19285 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19286 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19287 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19288 * sysdeps/wordsize-32/divdi3.c: Likewise.
19289 * time/sys/time.h: Likewise.
19290 * wcsmbs/Makefile: Likewise.
19291
0549fbba
DM
192922013-01-01 David S. Miller <davem@davemloft.net>
19293
a141f1a7
DM
19294 * po/fr.po: Update from translation team.
19295
0549fbba
DM
19296 * catgets/gencat.c: Update copyright year.
19297 * csu/version.c: Likewise.
19298 * debug/catchsegv.sh: Likewise.
19299 * debug/pcprofiledump.c: Likewise.
19300 * debug/xtrace.sh: Likewise.
19301 * elf/ldconfig.c: Likewise.
19302 * elf/ldd.bash.in: Likewise.
19303 * elf/pldd.c: Likewise.
19304 * elf/sotruss.ksh: Likewise.
19305 * elf/sprof.c: Likewise.
19306 * iconv/iconv_prog.c: Likewise.
19307 * iconv/iconvconfig.c: Likewise.
19308 * locale/programs/locale.c: Likewise.
19309 * locale/programs/localedef.c: Likewise.
19310 * login/programs/pt_chown.c: Likewise.
19311 * malloc/memusage.sh: Likewise.
19312 * malloc/memusagestat.c: Likewise.
19313 * malloc/mtrace.pl: Likewise.
19314 * nscd/nscd.c: Likewise.
19315 * nss/getent.c: Likewise.
19316 * nss/makedb.c: Likewise.
19317 * posix/getconf.c: Likewise.
19318
18ea052c
SP
193192012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19320
19321 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19322 numbers.
19323
9c89fca6
MF
193242012-12-30 Mike Frysinger <vapier@gentoo.org>
19325
19326 * math/bits/mathcalls.h (modf): Use __nonnull.
19327
085ec079
SP
193282012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19329
19330 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19331 (split): Use macro CN instead of the bare value.
19332 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19333 could be used.
19334 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19335 instead of the bare value.
19336 (power1): Likewise.
19337
6d9f97e1
SP
193382012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19339
d63f73be
SP
19340 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19341 __ATAN_TWOM.
19342 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19343
6d9f97e1
SP
19344 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19345 their values.
19346 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19347 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19348 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19349 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19350
4c4febf5
AJ
193512012-12-28 Andreas Jaeger <aj@suse.de>
19352
af5843ef
AJ
19353 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19354 values are from Linux 3.7.
19355
4c4febf5
AJ
19356 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19357 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19358
99136f82
SP
193592012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19360
2f216c3c 19361 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19362 TRUE case.
19363
99136f82
SP
19364 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19365 (norm): Likewise.
19366 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19367 variables with preprocessor constants.
19368 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19369 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19370 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19371
7fffbdff
BH
193722012-12-27 Bruno Haible <bruno@clisp.org>
19373
19374 [BZ #14317]
19375 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19376 only if needed.
19377
b76eb5f0
SP
193782012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19379
31a7fe5c
SP
19380 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19381 and use variable directly.
19382 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19383
b76eb5f0
SP
19384 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19385 MPONE.
19386 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19387 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19388 variable MPONE.
19389 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19390 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19391 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19392 include directive. Remove local variable MPONE.
19393 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19394 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19395 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19396
2c8bfe7d
DM
193972012-12-25 David S. Miller <davem@davemloft.net>
19398
19399 * version.h (RELEASE): Set to "development".
19400 (VERSION): Set to "2.17.90".
19401 * NEWS: Add 2.18 section.
19402
147d03b0
DM
194032012-12-21 David S. Miller <davem@davemloft.net>
19404
19405 * po/hr.po: Update from translation team.
19406
a8ebb2b9
AK
194072012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19408
19409 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19410
95b4f1b6
SE
194112012-12-19 Steve Ellcey <sellcey@mips.com>
19412
b2d94007 19413 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19414
cedb2a90
MS
194152012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19416
19417 * manual/contrib.texi (Contributors): Spelling correction.
19418
bbf527d6
DM
194192012-12-15 David S. Miller <davem@davemloft.net>
19420
19421 * po/ru.po: Update from translation team.
19422
bc38c906
DM
194232012-12-13 David S. Miller <davem@davemloft.net>
19424
85429b1a
DM
19425 * NEWS: Mention IFUNC testsuite enhancements.
19426
d283e353
DM
19427 * po/pl.po: Update from translation team.
19428 * po/bg.po: Likewise.
19429
bc38c906
DM
19430 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19431 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19432
a181b0d7
DM
194332012-12-11 David S. Miller <davem@davemloft.net>
19434
4641d57e
DM
19435 * po/sv.po: Update from translation team.
19436
f7bc6495
DM
19437 * po/vi.po: Update from translation team.
19438
6fc9048f
DM
19439 * po/cs.po: Update from translation team.
19440
a181b0d7
DM
19441 * po/de.po: Update from translation team.
19442 * po/eo.po: Likewise.
19443 * po/nl.po: Likewise.
19444
f70bfe80
SP
194452012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19446
3c8b4190
SP
19447 [BZ #14246]
19448 * manual/argp.texi (Argp Helper Functions): Move node to follow
19449 Argp Parsing State.
19450
f70bfe80
SP
19451 [BZ #14872]
19452 * manual/conf.texi (Limits on File System Capacity): Mention if
19453 terminating null is included in the max size.
19454
188f0adf
AJ
194552012-12-10 Andreas Jaeger <aj@suse.de>
19456
19457 * po/cs.po: Update from translation team.
19458
56e7d3ad
SP
194592012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19460
19461 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19462 void pointer and cast to uintptr_t.
19463 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19464 path.
19465 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19466 * sysdeps/s390/s390-64/memset.S: Likewise.
19467
76f2d2ea 194682012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19469
19470 [BZ #14833]
19471 * menual/message.texi (Message Translation): Fix typos.
19472 (Helper programs for gettext): Likewise.
19473
67cbf9a2
AS
194742012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19475
19476 [BZ #14898]
19477 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19478 Change to -1.
19479
682d0e9a
DM
194802012-12-07 David S. Miller <davem@davemloft.net>
19481
19482 * po/libc.pot: Update.
19483
573cd484
RH
194842012-12-07 Richard Henderson <rth@redhat.com>
19485
7e9da188 19486 [BZ #10114]
573cd484
RH
19487 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19488 normal/normal case to before the switch.
19489 (_FP_DIV): Likewise.
19490
e933a943
MF
194912012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19492 Mike Frysinger <vapier@gentoo.org>
19493
19494 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19495 check for __NR_fadvise64_64.
19496
82123268
CM
194972012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19498
19499 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19500 0, not just to plain "0" as a statement.
19501 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19502 with cw.
19503
d9814526
JM
195042012-12-06 Joseph Myers <joseph@codesourcery.com>
19505
19506 * NEWS: Use sourceware.org in Bugzilla URL.
19507
7728c574
SP
195082012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19509
f16946dd
SP
19510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19511 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19512
5704bbcb
SP
19513 * stdio-common/tst-put-error.c (do_test): Add newline to the
19514 padded test to ensure flush.
19515
17aa0516
JL
195162012-12-05 Jeff Law <law@redhat.com>
19517
19518 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19519
363313b5
JM
195202012-12-05 Joseph Myers <joseph@codesourcery.com>
19521
effbd42a
JM
19522 * README: Don't refer to ports add-on as distributed separately.
19523 Mention AArch64 in list of systems supported in the ports add-on.
19524
87600365
JM
19525 * LICENSES: Add more non-FSF copyright and license notices.
19526
a0d7066a
JM
19527 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19528 ((unused)).
19529
66ca5a5b
JM
19530 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19531
363313b5
JM
19532 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19533 10000 as width of padded output.
19534
b37984ad
JM
195352012-12-04 Joseph Myers <joseph@codesourcery.com>
19536
9003570a
JM
19537 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19538
b37984ad
JM
19539 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19540 variable LX with __attribute__ ((unused)).
19541 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19542 Likewise.
19543 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19544 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19545 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19546 with __attribute__ ((unused)).
19547
c8df52ec
DM
195482012-12-04 David S. Miller <davem@abraco.davemloft.net>
19549
19550 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19551
b3b099af
JM
195522012-12-04 Joseph Myers <joseph@codesourcery.com>
19553
c33aa6e3
JM
19554 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19555 (CFLAGS-nldbl-acos.c): New variable.
19556 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19557 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19558 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19559 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19560 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19561 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19562 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19563 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19564 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19565 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19566 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19567 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19568 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19569 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19570 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19571 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19572 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19573 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19574 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19575 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19576 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19577 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19578 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19579 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19580 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19581 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19582 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19583 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19584 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19585 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19586 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19587 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19588 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19589 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19590 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19591 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19592 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19593 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19594 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19595 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19596 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19597 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19598 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19599 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19600 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19601 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19602 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19603 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19604 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19605 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19606 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19607 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19608 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19609 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19610 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19611 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19612 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19613 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19614 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19615 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19616 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19617 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19618 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19619 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19620 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19621 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19622 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19623 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19624 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19625 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19626 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19627 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19628 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19629 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19630 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19631 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19632 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19633 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19634 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19635 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19636 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19637 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19638 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19639 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19640 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19641 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19642 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19643 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19644 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19645 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19646 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19647 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19648 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19649 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19650 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19651 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19652 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19653
20f0018d
JM
19654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19655 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19656
b3b099af
JM
19657 [BZ #14914]
19658 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19659 whole low double instead of just low 47 bits when splitting values
19660 into two parts.
19661
029264d1
AM
196622012-12-03 Allan McRae <allan@archlinux.org>
19663
19664 * manual/stdio.texi (Predefined Printf Handlers): Remove
19665 @hsep and @vsep usage.
19666
c9d6789e
MF
196672012-12-03 Mike Frysinger <vapier@gentoo.org>
19668
19669 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19670 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19671
4b7634a5
JL
196722012-12-03 Jeff Law <law@redhat.com>
19673
19674 * time/sys/time.h (settimeofday): Do not mark TV argument
19675 as __nonnull.
19676
eb6cbd24
MF
196772012-12-01 Mike Frysinger <vapier@gentoo.org>
19678
19679 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19680 when currently writing and seek to current position when not.
19681 * libio/Makefile (tests): Remove bug-fclose1.
19682 * libio/bug-fclose1.c: Delete.
19683
f638872a
JM
196842012-12-01 Joseph Myers <joseph@codesourcery.com>
19685
19686 * manual/arith.texi (feenableexcept): Fix typo.
19687 (fedisableexcept): Likewise.
19688
48085d14
RM
196892012-11-30 Roland McGrath <roland@hack.frob.com>
19690
19691 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19692 second, differently-typed declaration, rather than a cast.
19693
1a538b9f
SP
196942012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19695
19696 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19697 * include/rpc/svc.h: ... here.
19698
d07f2ff1 196992012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19700
19701 [BZ #13013]
19702 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19703 depending n and resplen2 to catch cases where answer
19704 equals answerp2.
19705
c93ec1f0
CD
197062012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19707
19708 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19709 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19710
37db69de
MF
197112012-11-29 Mike Frysinger <vapier@gentoo.org>
19712
19713 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19714
e10c4e4f
RM
197152012-11-29 Roland McGrath <roland@hack.frob.com>
19716
19717 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19718
2af1b328
JL
197192012-11-28 Jeff Law <law@redhat.com>
19720
19721 [BZ #13761]
19722 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19723 dataset_temporary. Track alloca usage into alloca_used.
19724 If dataset is large allocate and release it via malloc/free.
19725
111db5b1
FW
197262012-06-04 Florian Weimer <fweimer@redhat.com>
19727
f06cc227 19728 [BZ #14197]
111db5b1
FW
19729 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19730
dd694abd
DM
197312012-11-28 David S. Miller <davem@davemloft.net>
19732
19733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19734
9984dd01
JM
197352012-11-28 Joseph Myers <joseph@codesourcery.com>
19736
19737 [BZ #14803]
19738 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19739 of pi/2 rounded to nearest to 64 bits.
19740 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19741 nearest to 64 bits.
19742 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19743 bits.
19744
14bc93a9
JL
197452012-11-28 Jeff Law <law@redhat.com>
19746 Martin Osvald <mosvald@redhat.com>
19747
19748 [BZ #14889]
19749 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19750 * sunrpc/svc.c: Include time.h.
19751 (__svc_accept_failed): New function.
19752 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19753 any reason other than EINTR, call __svc_accept_failed.
19754 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19755 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19756
e3c6aa3a
AS
197572012-11-28 Andreas Schwab <schwab@suse.de>
19758
19759 * scripts/abilist.awk: Also handle indirect functions in .opd
19760 section.
19761
1bead169
JM
197622012-11-28 Joseph Myers <joseph@codesourcery.com>
19763
19764 [BZ #13881]
19765 * sysdeps/x86/fpu/powl_helper.c: New file.
19766 * sysdeps/x86/fpu/Makefile: Likewise.
19767 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19768 (p3): New object.
19769 (__ieee754_powl): Use __powl_helper for finite arguments except
19770 integer exponents below 8.
19771 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19772 (p3): New object.
19773 (__ieee754_powl): Use __powl_helper for finite arguments except
19774 integer exponents below 8.
19775 * math/libm-test.inc (pow_test): Add more tests and enable some
19776 previously disabled tests.
19777 * sysdeps/i386/fpu/libm-test-ulps: Update.
19778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19779
0817d63d
SP
197802012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19781 Carlos O'Donell <carlos_odonell@mentor.com>
19782
19783 * nss/makedb.c (is_prime): Assert that input is odd and greater
19784 than 4. Note that fact in a comment too.
19785 (next_prime): Add 4 to input.
19786
de2fd463
SP
197872012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19788
19789 [BZ #11741]
19790 * libio/Makefile (tests): Add test case tst-fwrite-error.
19791 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19792 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19793 * libio/tst-fwrite-error.c: New test case.
19794
c515fb51
L
197952012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19796
19797 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19798 before casting to void *.
19799 * include/libc-internal.h (__pointer_type): New macro.
19800 (__integer_if_pointer_type_sub): Likewise.
19801 (__integer_if_pointer_type): Likewise.
19802 (cast_to_integer): Likewise.
19803 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19804 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19805 before casting to atomic64_t.
19806 (atomic_exchange_acq): Likewise.
19807 (__arch_exchange_and_add_body): Likewise.
19808 (__arch_add_body): Likewise.
19809 (atomic_add_negative): Likewise.
19810 (atomic_add_zero): Likewise.
19811
4cf77aa9
JM
198122012-11-26 Joseph Myers <joseph@codesourcery.com>
19813
19814 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19815 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19816 (add_fdes): Likewise.
19817 (linear_search_fdes): Likewise.
19818 (binary_search_unencoded_fdes): Likewise.
19819
d260b3b4
AS
198202012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19821
19822 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19823
67060746
AC
198242012-11-24 Adam Conrad <adconrad@0c3.net>
19825
19826 * configure.in: Autodetect C++ header directories.
19827 * configure: Regenerated.
19828
800938a1
MF
198292012-11-23 Mike Frysinger <vapier@gentoo.org>
19830
19831 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19832
4e6e34e6
AS
198332012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19834
19835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19836
7c7feb47
JM
198372012-11-22 Joseph Myers <joseph@codesourcery.com>
19838
7184dcdf
JM
19839 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19840 LDBL_MANT_DIG == 106]: Disable some tests.
19841 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19842 Likewise.
19843 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19844 Likewise.
19845
0a42601f
JM
19846 [BZ #14871]
19847 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19848 input for small inputs. Return +/- pi/2 for large inputs.
19849 * math/libm-test.inc (atan_test): Add more tests.
19850
79c9b9fe
JM
19851 * sysdeps/generic/unwind-dw2-fde-glibc.c
19852 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19853 __attribute__ ((unused)).
19854
c60d3bf2
JM
19855 [BZ #14645]
19856 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19857 x * y if x and y are nonzero and z is zero.
19858
ef1e0867
JM
19859 [BZ #14811]
19860 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19861 nonzero exponents with absolute value below 0x1p-117 to +/-
19862 0x1p-117.
19863
1468ded3
JM
19864 [BZ #14869]
19865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19866 up arguments below 2**-450, not just those below 2**-500.
19867 * math/libm-test.inc (hypot_test): Add another test.
19868
8e27e3cc
JM
19869 [BZ #14868]
19870 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19871 Return a+b for ratio over 2**120, not 2**60.
19872 * math/libm-test.inc (hypot_test): Add another test.
19873
c9c0279b
JM
19874 * math/libm-test.inc (clog_test): Use
19875 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19876 (clog10_test): Likewise.
19877
7c7feb47
JM
19878 [BZ #6778]
19879 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19880
fff1530e
AS
198812012-11-22 Andreas Schwab <schwab@suse.de>
19882
19883 * sysdeps/i386/fpu/libm-test-ulps: Update.
19884
94558d30
PT
198852012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19886
19887 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19888 printf output with newline.
19889
7e1be741
L
198902012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19891
6bfea974
L
19892 [BZ #14865]
19893 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19894 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19895 -z nodlopen, -z initfirst and -z execstack support.
19896 * configure: Regenerated.
19897
7e1be741
L
19898 * elf/elf.h (DF_1_NODIRECT): New macro.
19899 (DF_1_IGNMULDEF): Likewise.
19900 (DF_1_NOKSYMS): Likewise.
19901 (DF_1_NOHDR): Likewise.
19902 (DF_1_EDITED): Likewise.
19903 (DF_1_NORELOC): Likewise.
19904 (DF_1_SYMINTPOSE): Likewise.
19905 (DF_1_GLOBAUDIT): Likewise.
19906 (DF_1_SINGLETON): Likewise.
19907 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19908 DT_1_SUPPORTED_MASK bits.
19909 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19910
105ce2ce
CD
199112012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19912
19913 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19914
123be9de
TS
199152012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19916
d072f3f7
TS
19917 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19918 macro.
19919
123be9de
TS
19920 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19921 (sendmmsg): Move declarations...
19922 * socket/sys/socket.h: ... here.
19923 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19924 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19925 include it from...
19926 * socket/recvmmsg.c: ... this new file.
19927 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19928 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19929 definition of __sendmmsg hidden.
19930 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19931 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19932 Move ENOSYS stub into and include it from...
19933 * socket/sendmmsg.c: ... this new file.
19934 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19935 (sysdep_routines): Move recvmmsg and sendmmsg...
19936 * socket/Makefile (routines): ... here.
19937 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19938 (GLIBC_PRIVATE): Add __sendmmsg.
19939 * include/sys/socket.h (__sendmmsg): Add declarations.
19940 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19941 sendmmsg.
19942
cf9a5d18
JM
199432012-11-20 Joseph Myers <joseph@codesourcery.com>
19944
19945 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19946 variable I1 with __attribute__ ((unused)).
19947 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19948
ecd4caf9
JM
199492012-11-19 Joseph Myers <joseph@codesourcery.com>
19950
be14d48f
JM
19951 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19952 DUMMY variables with __attribute__ ((unused)).
19953
ecd4caf9
JM
19954 * bits/byteswap.h: Include <bits/types.h>.
19955 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19956
986cab95
PT
199572012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19958
19959 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19960 string_t. Do not manually set errno.
19961 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19962 length with __strnlen. Make sure to both set errno and return it on
19963 failure.
19964
6d33cc9d
DM
199652012-11-19 David S. Miller <davem@davemloft.net>
19966
19967 With help from Joseph Myers.
19968 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19969 very large arguments properly.
19970 * math/libm-test.inc (atan_test): New tests.
19971 (atan2_test): New tests.
19972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19974
ee663277
JM
199752012-11-19 Joseph Myers <joseph@codesourcery.com>
19976
877f2d8e
JM
19977 [BZ #14856]
19978 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19979 Define to 3.
19980
116fc08a
JM
19981 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19982 [POSIX] (EADDRNOTAVAIL): Likewise.
19983 [POSIX] (EAFNOSUPPORT): Likewise.
19984 [POSIX] (EALREADY): Likewise.
19985 [POSIX] (ECONNABORTED): Likewise.
19986 [POSIX] (ECONNREFUSED): Likewise.
19987 [POSIX] (ECONNRESET): Likewise.
19988 [POSIX] (EDESTADDRREQ): Likewise.
19989 [POSIX] (EDQUOT): Likewise.
19990 [POSIX] (EHOSTUNREACH): Likewise.
19991 [POSIX] (EIDRM): Likewise.
19992 [POSIX] (EISCONN): Likewise.
19993 [POSIX] (ELOOP): Likewise.
19994 [POSIX] (EMULTIHOP): Likewise.
19995 [POSIX] (ENETDOWN): Likewise.
19996 [POSIX] (ENETUNREACH): Likewise.
19997 [POSIX] (ENOBUFS): Likewise.
19998 [POSIX] (ENODATA): Likewise.
19999 [POSIX] (ENOLINK): Likewise.
20000 [POSIX] (ENOMSG): Likewise.
20001 [POSIX] (ENOPROTOOPT): Likewise.
20002 [POSIX] (ENOSR): Likewise.
20003 [POSIX] (ENOSTR): Likewise.
20004 [POSIX] (ENOTCONN): Likewise.
20005 [POSIX] (ENOTSOCK): Likewise.
20006 [POSIX] (EOPNOTSUPP): Likewise.
20007 [POSIX] (EOVERFLOW): Likewise.
20008 [POSIX] (EPROTO): Likewise.
20009 [POSIX] (EPROTONOSUPPORT): Likewise.
20010 [POSIX] (EPROTOTYPE): Likewise.
20011 [POSIX] (ESTALE): Likewise.
20012 [POSIX] (ETIME): Likewise.
20013 [POSIX] (ETXTBSY): Likewise.
20014 [POSIX] (EWOULDBLOCK): Likewise.
20015 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20016 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20017 [POSIX] (SEEK_CUR): Likewise.
20018 [POSIX] (SEEK_END): Likewise.
20019 [POSIX || UNIX98] (mode_t): Do not require.
20020 [POSIX] (off_t): Likewise.
20021 [POSIX] (pid_t): Likewise.
20022 [POSIX] (sys/stat.h): Do not allow header.
20023 [POSIX] (unistd.h): Likewise.
20024 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20025 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20026 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20027 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20028 require.
20029 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20030 sigevent): Specify elements.
20031 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20032 entry.
20033 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20034 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20035
a483863f
JM
20036 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20037 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20038 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20039 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20040 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20041 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20042 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20043 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20045 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20046 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20047 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20048 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20049 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20050 Likewise.
20051 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20052 Likewise.
20053 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20054 Likewise.
20055 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20056 Likewise.
20057 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20058 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20059 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20060 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20061 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20062 Specify lower bound on value.
20063 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20064 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20065 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20066 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20067 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20068 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20069 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20070 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20071 value.
20072 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20073 as optional.
20074 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20075 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20076 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20077 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20078 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20079 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20080 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20081 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20082 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20083 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20084 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20085 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20086 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20087 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20088 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20089 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20090 entry.
20091 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20092 optional.
20093 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20094 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20095 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20096 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20097 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20098 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20099 Likewise.
20100 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20101 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20102 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20103 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20104 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20105 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20106 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20107 as optional.
20108 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20109 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20110 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20111 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20112 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20113 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20114 specify as optional.
20115 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20116 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20117 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20118 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20119 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20120 [XPG3] (NL_LANGMAX): Likewise.
20121 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20122 [POSIX || XPG3] (NL_NMAX): Likewise.
20123 [POSIX || XPG3] (NL_SETMAX): Likewise.
20124 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20125 [XPG3] (NZERO): Likewise.
20126 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20127 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20128 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20129 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20130 (REG_ERANGE): Expect.
20131 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20132 optional-constant.
20133 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20134 Use (void) in prototype.
20135 [POSIX] (*_t): Allow.
20136 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20137 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20138 (WRDE_BADVAL): Expect.
20139
5ba924e3
JM
20140 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20141 expect.
20142 [XPG3 || XPG4] (O_RSYNC): Likewise.
20143 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20144 Likewise.
20145 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20146 [XPG3 || XPG4] (sigqueue): Likewise.
20147 [XPG3 || XPG4] (sigtimedwait): Likewise.
20148 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20149 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20150 [XPG3 || XPG4] (vsnprintf): Likewise.
20151 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20152 Likewise.
20153 [XPG3 || XPG4] (blksize_t): Likewise.
20154 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20155 Likewise.
20156 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20157 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20158 [XPG3 || XPG4] (struct itimerspec): Likewise.
20159 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20160 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20161 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20162 [XPG3 || XPG4] (clockid_t): Likewise.
20163 [XPG3 || XPG4] (timer_t): Likewise.
20164 [XPG3 || XPG4] (clock_getres): Likewise.
20165 [XPG3 || XPG4] (clock_gettime): Likewise.
20166 [XPG3 || XPG4] (clock_settime): Likewise.
20167 [XPG3 || XPG4] (nanosleep): Likewise.
20168 [XPG3 || XPG4] (timer_create): Likewise.
20169 [XPG3 || XPG4] (timer_delete): Likewise.
20170 [XPG3 || XPG4] (timer_gettime): Likewise.
20171 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20172 [XPG3 || XPG4] (timer_settime): Likewise.
20173 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20174 [XPG3 || XPG4] (getlogin_r): Likewise.
20175 [XPG3 || XPG4] (pread): Likewise.
20176 [XPG3 || XPG4] (pthread_atfork): Likewise.
20177 [XPG3 || XPG4] (pwrite): Likewise.
20178
ee663277
JM
20179 [BZ #14835]
20180 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20181 <bits/siginfo.h>.
20182
942caa16
PT
201832012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20184
e19af380
PT
20185 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20186 finalizing MALLSTREAM.
20187
942caa16
PT
20188 * sysdeps/mach/hurd/syncfs.c: New file.
20189
cfde9b46
SP
201902012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20191
20192 [BZ #14719]
20193 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20194 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20195 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20196 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20197 (_nss_dns_gethostbyname4_r): Likewise.
20198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20199 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20200
f6da27e5
PH
202012012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20202
20203 [BZ #13763]
20204 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20205
6665d4a2
SM
202062012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20207
1f51ee92
SM
20208 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20209 * elf/cache.c (print_entry): Print ",AArch64" for
20210 FLAG_AARCH64_LIB64
20211
6665d4a2
SM
20212 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20213 * elf/cache.c (print_entry): Print ",hard-float" for
20214 FLAG_ARM_LIBHF.
20215
05b227bd
DM
202162012-11-18 David S. Miller <davem@davemloft.net>
20217
20218 With help from Joseph Myers.
20219 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20220 cutoff to 2**-13.
20221 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20222 cutoff to 2**-25.
20223 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20224 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20225 small.
20226 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20227 * math/libm-test.inc (y0_test): New tests.
20228 (y1_test): New tests.
20229 * sysdeps/i386/fpu/libm-test-ulps: Update.
20230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20232
786b0b67
AS
202332012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20234
20235 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20236 64-bit targets.
20237 * configure: Regenerated.
20238
8e18b86d
DM
202392012-11-17 David S. Miller <davem@davemloft.net>
20240
20241 [BZ #14811]
20242 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20243 nonzero exponents with absolute value below 0x1p-128 to +/-
20244 0x1p-128.
20245
531f1ae0
JM
202462012-11-17 Joseph Myers <joseph@codesourcery.com>
20247
12df29e2
JM
20248 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20249
150dc1a0
JM
20250 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20251
531f1ae0
JM
20252 * posix/getconf-speclist.c: New file.
20253 * posix/posix-envs.def: Likewise.
20254 * posix/confstr.c (START_ENV_GROUP): New macro.
20255 (END_ENV_GROUP): Likewise.
20256 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20257 (KNOWN_PRESENT_ENV_STRING): Likewise.
20258 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20259 (UNKNOWN_ENVIRONMENT): Likewise.
20260 (confstr): Include posix-envs.def instead of handling
20261 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20262 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20263 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20264 (END_ENV_GROUP): Likewise.
20265 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20266 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20267 (UNKNOWN_ENVIRONMENT): Likewise.
20268 (__sysconf): Include posix-envs.def instead of handling associated
20269 cases directly here.
20270 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20271 preprocessing getconf-speclist.c rather than running getconf or
20272 generating empty file.
20273
a93f9cbc
PT
202742012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20275
20276 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20277
d64d9f87
AL
202782012-11-16 Andrej Lajovic <natrij@gmail.com>
20279
20280 [BZ #14672]
20281 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20282
447885eb
DM
202832012-11-16 David S. Miller <davem@davemloft.net>
20284
20285 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20286 smaller than LDBL_EPSILON/2.0L, just return xm1.
20287
bcbf9830
L
202882012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20289
20290 * elf/tst-array1.c (init): Set constructor priority to 1000.
20291 (fini): Set destructor priority to 1000.
20292 * elf/tst-array2dep.c: Likewise.
20293
2b766585
SP
202942012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20295
20296 [BZ #11741]
20297 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20298 (_IO_new_file_xsputn): Also return EOF if none of the input
20299 data was written when overflow failed.
20300 * libio/iopadn.c (_IO_padn): Likewise.
20301 * libio/iowpadn.c (_IO_wpadn): Likewise.
20302 * stdio-common/tst-put-error.c: Add copyright notice.
20303 (do_test): Add case for printing padded string.
20304 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20305 _IO_padn returned error.
20306 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20307 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20308 return EOF.
20309
b1848fde
SP
203102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20311
20312 * libio/libioP.h: Add comment note that the references to C++
20313 bits are now obsolete.
20314
2fd89785
MS
203152012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20316
20317 * math/libm-test.inc (check_complex): Use asprintf.
20318
e3ea5409
JM
203192012-11-14 Joseph Myers <joseph@codesourcery.com>
20320
20321 * debug/pcprofiledump.c (print_version): Update copyright year.
20322 * malloc/memusagestat.c (print_version): Likewise.
20323
2e64d265
L
203242012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20325
20326 [BZ #14831]
20327 * elf/Makefile (tests): Add tst-audit8.
20328 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20329 ($(objpfx)tst-audit8.out): New target.
20330 (tst-audit8-ENV): New variable.
20331 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20332 audit if l_reloc_result is NULL.
20333 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20334 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20335 * elf/tst-audit8.c: New file.
20336
c485e4d2
MS
203372012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20338
20339 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20340 * misc/Makefile (CFLAGS-select.c): Define.
20341 * posix/Makefile (CFLAGS-pause.c): Define.
20342
3a0d900a
DM
203432012-11-13 David S. Miller <davem@davemloft.net>
20344
20345 * crypt/Makefile: Move test targets after toplevel Rules
20346 inclusion. Grab any necessary sysdep routines when linking.
20347 * crypt/md5.c (md5_process_block): Remove define, we will always
20348 name it __md5_process_block.
20349 (md5_finish_ctx): Update md5_process_block call.
20350 (md5_stream): Likewise.
20351 (md5_process_bytes): Likewise.
20352 (md5_process_block): Rename to __md5_process_block and move to ...
20353 * crypt/md5-block.c: ... here.
20354 * crypt/sha256.c (sha256_process_block): Move to ...
20355 * crypt/sha256-block.c: ... here.
20356 * crypt/sha512.c (sha512_process_block): Move to ...
20357 * crypt/sha512-block.c: ... here.
20358 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20359 path.
20360 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20361 * sysdeps/sparc/sparc64/multiarch/Makefile
20362 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20363 crypt subdir.
20364 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20365 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20366 multiarch changes.
20367 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20368 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20369 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20370 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20371 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20372 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20373 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20374 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20375 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20376 file.
20377 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20378 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20379 file.
20380 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20381
8ca89318
JM
203822012-11-13 Joseph Myers <joseph@codesourcery.com>
20383
e27d476a
JM
20384 * timezone/tzselect.ksh: Update from tzcode git revision
20385 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20386 * timezone/zdump.c: Likewise.
20387 * timezone/zic.c: Likewise.
20388 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20389 in TZVERSION setting, not $(PKGVERSION).
20390 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20391 REPORT_BUGS_TO settings.
20392
8ca89318
JM
20393 [BZ #14838]
20394 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20395 macro.
20396
47594329
MS
203972012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20398
20399 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20400 detection to immediately after _FP_ROUND().
20401 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20402 bits are 0.
20403
640ac3f1
DM
204042012-11-11 David S. Miller <davem@davemloft.net>
20405
20406 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20407 inttypes.h
20408 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20409 __close rather than their public counterparts.
20410
3d2577bb
JM
204112012-11-10 Joseph Myers <joseph@codesourcery.com>
20412
20413 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20414 file.
20415 [UNIX98] (sem_timedwait): Do not expect.
20416 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20417 [XPG4 || UNIX98] (sockatmark): Do not expect.
20418 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20419 (clock_getcpuclockid): Do not expect.
20420 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20421 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20422 Do not expect.
20423 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20424 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20425 [UNIX98] (vwscanf): Likewise.
20426 [UNIX98] (vswscanf): Likewise.
20427
fb1ae1ee
JM
204282012-11-09 Joseph Myers <joseph@codesourcery.com>
20429
9ec6f8bd
JM
20430 * timezone/version.h: Remove file.
20431 * timezone/README: Do not refer to version.h.
20432 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20433 $(objpfx)version.h.
20434 ($(objpfx)zdump.o): Likewise.
c3f81911 20435 ($(objpfx)version.h): New target.
9ec6f8bd 20436
0aa8f8a1
JM
20437 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20438 2012i.
20439 * timezone/README: Don't mention modification to tzselect.ksh.
20440 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20441 work on unmodified tzselect.ksh. Substitute version numbers in
20442 tzselect.ksh.
20443
4e87147f
JM
20444 * Makefile (format-me): Remove.
20445 (INSTALL): Adjust indentation. Use commands directly instead of
20446 using $(format-me).
20447
8b748aed
JM
20448 * aclocal.m4 (ACX_PKGVERSION): New macro.
20449 (ACX_BUGURL): Likewise.
20450 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20451 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20452 (REPORT_BUGS_TO): Likewise.
20453 * configure: Regenerated.
20454 * config.h.in (PKGVERSION): New macro.
20455 (REPORT_BUGS_TO): Likewise.
20456 * config.make.in (PKGVERSION): New variable.
20457 (PKGVERSION_TEXI): Likewise.
20458 (REPORT_BUGS_TO): Likewise.
20459 (REPORT_BUGS_TEXI): Likewise.
20460 * Makefile (format-me): Use -I$(common-objpfx)manual.
20461 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20462 ($(common-objpfx)manual/%): New target.
20463 (manual/%): Remove target.
20464 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20465 (print_version): Use PKGVERSION.
20466 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20467 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20468 and REPORT_BUGS_TO.
20469 ($(objpfx)xtrace): Likewise.
20470 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20471 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20472 (print_version): Use PKGVERSION.
20473 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20474 (do_version): Use PKGVERSION.
20475 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20476 REPORT_BUGS_TO.
20477 (common-ldd-rewrite): Likewise.
20478 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20479 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20480 (print_version): Use PKGVERSION.
20481 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20482 * elf/pldd.c (argp_program_bug_address): Remove variable.
20483 (more_help): New function.
20484 (argp): Use more_help.
20485 (print_version): Use PKGVERSION.
20486 * elf/sln.c (main): Use PKGVERSION.
20487 (usage): Use REPORT_BUGS_TO.
20488 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20489 (top level): Use PKGVERSION.
20490 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20491 (print_version): Use PKGVERSION.
20492 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20493 (print_version): Use PKGVERSION.
20494 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20495 (print_version): Use PKGVERSION.
20496 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20497 (print_version): Use PKGVERSION.
20498 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20499 (print_version): Use PKGVERSION.
20500 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20501 (print_version): Use PKGVERSION.
20502 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20503 and BUGURL.
20504 ($(objpfx)memusage): Likewise.
20505 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20506 (do_version): Use PKGVERSION.
20507 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20508 (print_version): Use PKGVERSION.
20509 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20510 ($PKGVERSION): New variable.
20511 ($REPORT_BUGS_TO): Likewise.
20512 (usage): Use $REPORT_BUGS_TO.
20513 (top level): Use $PKGVERSION.
20514 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20515 ($(objpfx)pkgvers.texi): New rule.
20516 ($(objpfx)stamp-pkgvers): Likewise.
20517 * manual/install.texi: Include pkgvers.texi.
20518 (--with-pkgversion): Document new configure option.
20519 (--with-bugurl): Likewise.
20520 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20521 than necessarily for this particular distribution. Use
20522 REPORT_BUGS_TO for where to report bugs.
20523 * INSTALL: Regenerated.
20524 * manual/libc.texinfo: Include pkgvers.texi.
20525 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20526 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20527 (print_version): Use PKGVERSION.
20528 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20529 (print_version): Use PKGVERSION.
20530 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20531 (print_version): Use PKGVERSION.
20532 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20533 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20534 macro.
20535 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20536 (print_version): Use PKGVERSION.
20537 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20538 (print_version): Use PKGVERSION.
20539 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20540 and PKGVERSION.
20541
92e4b6a9
JM
20542 * timezone/checktab.awk: Update from tzcode 2012i.
20543 * timezone/ialloc.c: Likewise.
20544 * timezone/private.h: Likewise.
20545 * timezone/scheck.c: Likewise.
20546 * timezone/tzfile.h: Likewise.
20547 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20548 (TZVERSION): Hardcode tzcode version number.
20549 * timezone/zdump.c: Update from tzcode 2012i.
20550 * timezone/zic.c: Likewise.
20551 * timezone/version.h: New file.
20552 * timezone/README: Describe version.h. Update upstream location.
20553
9bde902c
JM
20554 [BZ #14824]
20555 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20556 (mktemp): Enable declaration.
20557 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20561 Likewise.
20562 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20563 Likewise.
20564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20565 Likewise.
20566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20567 Likewise.
20568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20569 Likewise.
20570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20571 Likewise.
20572
fb1ae1ee
JM
20573 [BZ #14821]
20574 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20575 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20576 for copies of such integer values.
20577 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20578 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20579
2c1adbcb
AJ
205802012-11-09 Andreas Jaeger <aj@suse.de>
20581
20582 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20583 definitions and declarations that are provided by
20584 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20585
d0f8457e
AK
205862012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20587
3a235abb 20588 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20589 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20590 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20591 definition.
20592
57241e26
MS
205932012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20594
20595 * elf/elf.h: Update comment before AArch64 relocations.
20596
60e8270d
DM
205972012-11-07 David S. Miller <davem@davemloft.net>
20598
20599 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20600 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20601 (__start_context): Declare.
20602 (__makecontext_ret): Delete.
20603 (__makecontext): Hook up __start_context instead of
20604 __makecontext_ret.
20605 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20606 (sysdep_routines): Add __start_context when in stdlib.
20607
0fbb0fbc
JM
206082012-11-07 Joseph Myers <joseph@codesourcery.com>
20609
20610 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20611 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20612 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20613 hardcoded "nm".
20614 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20615 (READELF): New variable. Use it instead of hardcoded "readelf".
20616
eb48db7e
L
206172012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20618
20619 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20620 * sysdeps/x86/Makefile: Here.
20621 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20622 * sysdeps/x86/tst-xmmymm.sh: This.
20623
05bcf62a
JM
206242012-11-07 Joseph Myers <joseph@codesourcery.com>
20625
c4b6cf53
JM
20626 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20627 expectations.
20628 [UNIX98] (pthread_barrier_t): Do not expect.
20629 [UNIX98] (pthread_barrierattr_t): Likewise.
20630 [UNIX98] (pthread_spinlock_t): Likewise.
20631 [UNIX98] (pthread_barrier_destroy): Likewise.
20632 [UNIX98] (pthread_barrier_init): Likewise.
20633 [UNIX98] (pthread_barrier_wait): Likewise.
20634 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20635 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20636 [UNIX98] (pthread_barrierattr_init): Likewise.
20637 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20638 [UNIX98] (pthread_getcpuclockid): Likewise.
20639 [UNIX98] (pthread_mutex_timedlock): Likewise.
20640 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20641 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20642 [UNIX98] (pthread_sigmask): Likewise.
20643 [UNIX98] (pthread_spin_destroy): Likewise.
20644 [UNIX98] (pthread_spin_init): Likewise.
20645 [UNIX98] (pthread_spin_lock): Likewise.
20646 [UNIX98] (pthread_spin_trylock): Likewise.
20647 [UNIX98] (pthread_spin_unlock): Likewise.
20648 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20649 Do not expect.
20650 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20651 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20652 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20653 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20654 [XPG3 || XPG4] (pthread_key_t): Likewise.
20655 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20656 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20657 [XPG3 || XPG4] (pthread_once_t): Likewise.
20658 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20659 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20660 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20661 [XPG3 || XPG4] (pthread_t): Likewise.
20662
cbe6e120
JM
20663 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20664 not expect.
20665 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20666
1b126443
JM
20667 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20668 Change function return type to int.
20669
b961a573
JM
20670 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20671 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20672 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20673 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20674 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20675 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20676 [!POSIX] (posix_madvise): Likewise.
20677 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20678 && !UNIX98].
20679 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20680 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20681 (mode_t): Likewise.
20682 (posix_mem_offset): Likewise.
20683 (posix_typed_mem_get_info): Likewise.
20684 (posix_typed_mem_open): Likewise.
20685
9e188909
JM
20686 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20687 Change condition to [XOPEN2K8].
20688
05bcf62a
JM
20689 * conform/conformtest.pl: Preprocess allow-header data with -x c
20690 instead of from stdin.
20691 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20692 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20693 [C99-based standards] (cerfc): Likewise.
20694 [C99-based standards] (cexp2): Likewise.
20695 [C99-based standards] (cexpm1): Likewise.
20696 [C99-based standards] (clog10): Likewise.
20697 [C99-based standards] (clog1p): Likewise.
20698 [C99-based standards] (clog2): Likewise.
20699 [C99-based standards] (clgamma): Likewise.
20700 [C99-based standards] (ctgamma): Likewise.
20701 [C99-based standards] (cerff): Likewise.
20702 [C99-based standards] (cerfcf): Likewise.
20703 [C99-based standards] (cexp2f): Likewise.
20704 [C99-based standards] (cexpm1f): Likewise.
20705 [C99-based standards] (clog10f): Likewise.
20706 [C99-based standards] (clog1pf): Likewise.
20707 [C99-based standards] (clog2f): Likewise.
20708 [C99-based standards] (clgammaf): Likewise.
20709 [C99-based standards] (ctgammaf): Likewise.
20710 [C99-based standards] (cerfl): Likewise.
20711 [C99-based standards] (cerfcl): Likewise.
20712 [C99-based standards] (cexp2l): Likewise.
20713 [C99-based standards] (cexpm1l): Likewise.
20714 [C99-based standards] (clog10l): Likewise.
20715 [C99-based standards] (clog1pl): Likewise.
20716 [C99-based standards] (clog2l): Likewise.
20717 [C99-based standards] (clgammal): Likewise.
20718 [C99-based standards] (ctgammal): Likewise.
20719 * conform/data/inttypes.h-data [C99-based standards]: Include
20720 stdint.h-data. Remove all expectations for stdint.h contents.
20721 [C99-based standards] (PRI*): Do not allow.
20722 [C99-based standards] (SCN*): Likewise.
20723 [C99-based standards] (*_t): Likewise.
20724 [C99-based-standards] (PRId8): Expect macro.
20725 [C99-based-standards] (PRIi8): Likewise.
20726 [C99-based-standards] (PRIo8): Likewise.
20727 [C99-based-standards] (PRIu8): Likewise.
20728 [C99-based-standards] (PRIx8): Likewise.
20729 [C99-based-standards] (PRIX8): Likewise.
20730 [C99-based-standards] (SCNd8): Likewise.
20731 [C99-based-standards] (SCNi8): Likewise.
20732 [C99-based-standards] (SCNo8): Likewise.
20733 [C99-based-standards] (SCNu8): Likewise.
20734 [C99-based-standards] (SCNx8): Likewise.
20735 [C99-based-standards] (PRIdLEAST8): Likewise.
20736 [C99-based-standards] (PRIiLEAST8): Likewise.
20737 [C99-based-standards] (PRIoLEAST8): Likewise.
20738 [C99-based-standards] (PRIuLEAST8): Likewise.
20739 [C99-based-standards] (PRIxLEAST8): Likewise.
20740 [C99-based-standards] (PRIXLEAST8): Likewise.
20741 [C99-based-standards] (SCNdLEAST8): Likewise.
20742 [C99-based-standards] (SCNiLEAST8): Likewise.
20743 [C99-based-standards] (SCNoLEAST8): Likewise.
20744 [C99-based-standards] (SCNuLEAST8): Likewise.
20745 [C99-based-standards] (SCNxLEAST8): Likewise.
20746 [C99-based-standards] (PRIdFAST8): Likewise.
20747 [C99-based-standards] (PRIiFAST8): Likewise.
20748 [C99-based-standards] (PRIoFAST8): Likewise.
20749 [C99-based-standards] (PRIuFAST8): Likewise.
20750 [C99-based-standards] (PRIxFAST8): Likewise.
20751 [C99-based-standards] (PRIXFAST8): Likewise.
20752 [C99-based-standards] (SCNdFAST8): Likewise.
20753 [C99-based-standards] (SCNiFAST8): Likewise.
20754 [C99-based-standards] (SCNoFAST8): Likewise.
20755 [C99-based-standards] (SCNuFAST8): Likewise.
20756 [C99-based-standards] (SCNxFAST8): Likewise.
20757 [C99-based-standards] (PRId16): Likewise.
20758 [C99-based-standards] (PRIi16): Likewise.
20759 [C99-based-standards] (PRIo16): Likewise.
20760 [C99-based-standards] (PRIu16): Likewise.
20761 [C99-based-standards] (PRIx16): Likewise.
20762 [C99-based-standards] (PRIX16): Likewise.
20763 [C99-based-standards] (SCNd16): Likewise.
20764 [C99-based-standards] (SCNi16): Likewise.
20765 [C99-based-standards] (SCNo16): Likewise.
20766 [C99-based-standards] (SCNu16): Likewise.
20767 [C99-based-standards] (SCNx16): Likewise.
20768 [C99-based-standards] (PRIdLEAST16): Likewise.
20769 [C99-based-standards] (PRIiLEAST16): Likewise.
20770 [C99-based-standards] (PRIoLEAST16): Likewise.
20771 [C99-based-standards] (PRIuLEAST16): Likewise.
20772 [C99-based-standards] (PRIxLEAST16): Likewise.
20773 [C99-based-standards] (PRIXLEAST16): Likewise.
20774 [C99-based-standards] (SCNdLEAST16): Likewise.
20775 [C99-based-standards] (SCNiLEAST16): Likewise.
20776 [C99-based-standards] (SCNoLEAST16): Likewise.
20777 [C99-based-standards] (SCNuLEAST16): Likewise.
20778 [C99-based-standards] (SCNxLEAST16): Likewise.
20779 [C99-based-standards] (PRIdFAST16): Likewise.
20780 [C99-based-standards] (PRIiFAST16): Likewise.
20781 [C99-based-standards] (PRIoFAST16): Likewise.
20782 [C99-based-standards] (PRIuFAST16): Likewise.
20783 [C99-based-standards] (PRIxFAST16): Likewise.
20784 [C99-based-standards] (PRIXFAST16): Likewise.
20785 [C99-based-standards] (SCNdFAST16): Likewise.
20786 [C99-based-standards] (SCNiFAST16): Likewise.
20787 [C99-based-standards] (SCNoFAST16): Likewise.
20788 [C99-based-standards] (SCNuFAST16): Likewise.
20789 [C99-based-standards] (SCNxFAST16): Likewise.
20790 [C99-based-standards] (PRId32): Likewise.
20791 [C99-based-standards] (PRIi32): Likewise.
20792 [C99-based-standards] (PRIo32): Likewise.
20793 [C99-based-standards] (PRIu32): Likewise.
20794 [C99-based-standards] (PRIx32): Likewise.
20795 [C99-based-standards] (PRIX32): Likewise.
20796 [C99-based-standards] (SCNd32): Likewise.
20797 [C99-based-standards] (SCNi32): Likewise.
20798 [C99-based-standards] (SCNo32): Likewise.
20799 [C99-based-standards] (SCNu32): Likewise.
20800 [C99-based-standards] (SCNx32): Likewise.
20801 [C99-based-standards] (PRIdLEAST32): Likewise.
20802 [C99-based-standards] (PRIiLEAST32): Likewise.
20803 [C99-based-standards] (PRIoLEAST32): Likewise.
20804 [C99-based-standards] (PRIuLEAST32): Likewise.
20805 [C99-based-standards] (PRIxLEAST32): Likewise.
20806 [C99-based-standards] (PRIXLEAST32): Likewise.
20807 [C99-based-standards] (SCNdLEAST32): Likewise.
20808 [C99-based-standards] (SCNiLEAST32): Likewise.
20809 [C99-based-standards] (SCNoLEAST32): Likewise.
20810 [C99-based-standards] (SCNuLEAST32): Likewise.
20811 [C99-based-standards] (SCNxLEAST32): Likewise.
20812 [C99-based-standards] (PRIdFAST32): Likewise.
20813 [C99-based-standards] (PRIiFAST32): Likewise.
20814 [C99-based-standards] (PRIoFAST32): Likewise.
20815 [C99-based-standards] (PRIuFAST32): Likewise.
20816 [C99-based-standards] (PRIxFAST32): Likewise.
20817 [C99-based-standards] (PRIXFAST32): Likewise.
20818 [C99-based-standards] (SCNdFAST32): Likewise.
20819 [C99-based-standards] (SCNiFAST32): Likewise.
20820 [C99-based-standards] (SCNoFAST32): Likewise.
20821 [C99-based-standards] (SCNuFAST32): Likewise.
20822 [C99-based-standards] (SCNxFAST32): Likewise.
20823 [C99-based-standards] (PRId64): Likewise.
20824 [C99-based-standards] (PRIi64): Likewise.
20825 [C99-based-standards] (PRIo64): Likewise.
20826 [C99-based-standards] (PRIu64): Likewise.
20827 [C99-based-standards] (PRIx64): Likewise.
20828 [C99-based-standards] (PRIX64): Likewise.
20829 [C99-based-standards] (SCNd64): Likewise.
20830 [C99-based-standards] (SCNi64): Likewise.
20831 [C99-based-standards] (SCNo64): Likewise.
20832 [C99-based-standards] (SCNu64): Likewise.
20833 [C99-based-standards] (SCNx64): Likewise.
20834 [C99-based-standards] (PRIdLEAST64): Likewise.
20835 [C99-based-standards] (PRIiLEAST64): Likewise.
20836 [C99-based-standards] (PRIoLEAST64): Likewise.
20837 [C99-based-standards] (PRIuLEAST64): Likewise.
20838 [C99-based-standards] (PRIxLEAST64): Likewise.
20839 [C99-based-standards] (PRIXLEAST64): Likewise.
20840 [C99-based-standards] (SCNdLEAST64): Likewise.
20841 [C99-based-standards] (SCNiLEAST64): Likewise.
20842 [C99-based-standards] (SCNoLEAST64): Likewise.
20843 [C99-based-standards] (SCNuLEAST64): Likewise.
20844 [C99-based-standards] (SCNxLEAST64): Likewise.
20845 [C99-based-standards] (PRIdFAST64): Likewise.
20846 [C99-based-standards] (PRIiFAST64): Likewise.
20847 [C99-based-standards] (PRIoFAST64): Likewise.
20848 [C99-based-standards] (PRIuFAST64): Likewise.
20849 [C99-based-standards] (PRIxFAST64): Likewise.
20850 [C99-based-standards] (PRIXFAST64): Likewise.
20851 [C99-based-standards] (SCNdFAST64): Likewise.
20852 [C99-based-standards] (SCNiFAST64): Likewise.
20853 [C99-based-standards] (SCNoFAST64): Likewise.
20854 [C99-based-standards] (SCNuFAST64): Likewise.
20855 [C99-based-standards] (SCNxFAST64): Likewise.
20856 [C99-based-standards] (PRIdMAX): Likewise.
20857 [C99-based-standards] (PRIiMAX): Likewise.
20858 [C99-based-standards] (PRIoMAX): Likewise.
20859 [C99-based-standards] (PRIuMAX): Likewise.
20860 [C99-based-standards] (PRIxMAX): Likewise.
20861 [C99-based-standards] (PRIXMAX): Likewise.
20862 [C99-based-standards] (SCNdMAX): Likewise.
20863 [C99-based-standards] (SCNiMAX): Likewise.
20864 [C99-based-standards] (SCNoMAX): Likewise.
20865 [C99-based-standards] (SCNuMAX): Likewise.
20866 [C99-based-standards] (SCNxMAX): Likewise.
20867 [C99-based-standards] (PRIdPTR): Likewise.
20868 [C99-based-standards] (PRIiPTR): Likewise.
20869 [C99-based-standards] (PRIoPTR): Likewise.
20870 [C99-based-standards] (PRIuPTR): Likewise.
20871 [C99-based-standards] (PRIxPTR): Likewise.
20872 [C99-based-standards] (PRIXPTR): Likewise.
20873 [C99-based-standards] (SCNdPTR): Likewise.
20874 [C99-based-standards] (SCNiPTR): Likewise.
20875 [C99-based-standards] (SCNoPTR): Likewise.
20876 [C99-based-standards] (SCNuPTR): Likewise.
20877 [C99-based-standards] (SCNxPTR): Likewise.
20878 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20879 allow.
20880 * conform/data/stdint.h-data: Update comments to clarify
20881 requirements.
20882 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20883 type.
20884 [C99-based standards] (INT8_MAX): Likewise.
20885 [C99-based standards] (INT16_MIN): Likewise.
20886 [C99-based standards] (INT16_MAX): Likewise.
20887 [C99-based standards] (INT32_MIN): Likewise.
20888 [C99-based standards] (INT32_MAX): Likewise.
20889 [C99-based standards] (INT64_MIN): Likewise.
20890 [C99-based standards] (INT64_MAX): Likewise.
20891 [C99-based standards] (UINT8_MAX): Likewise.
20892 [C99-based standards] (UINT16_MAX): Likewise.
20893 [C99-based standards] (UINT32_MAX): Likewise.
20894 [C99-based standards] (UINT64_MAX): Likewise.
20895 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20896 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20897 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20898 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20899 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20900 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20901 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20902 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20903 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20904 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20905 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20906 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20907 [C99-based standards] (INT_FAST8_MIN): Likewise.
20908 [C99-based standards] (INT_FAST8_MAX): Likewise.
20909 [C99-based standards] (INT_FAST16_MIN): Likewise.
20910 [C99-based standards] (INT_FAST16_MAX): Likewise.
20911 [C99-based standards] (INT_FAST32_MIN): Likewise.
20912 [C99-based standards] (INT_FAST32_MAX): Likewise.
20913 [C99-based standards] (INT_FAST64_MIN): Likewise.
20914 [C99-based standards] (INT_FAST64_MAX): Likewise.
20915 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20916 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20917 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20918 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20919 [C99-based standards] (INTPTR_MIN): Likewise.
20920 [C99-based standards] (INTPTR_MAX): Likewise.
20921 [C99-based standards] (UINTPTR_MAX): Likewise.
20922 [C99-based standards] (INTMAX_MIN): Likewise.
20923 [C99-based standards] (INTMAX_MAX): Likewise.
20924 [C99-based standards] (UINTMAX_MAX): Likewise.
20925 [C99-based standards] (PTRDIFF_MIN): Likewise.
20926 [C99-based standards] (PTRDIFF_MAX): Likewise.
20927 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20928 [C99-based standards] (SIZE_MAX): Likewise.
20929 [C99-based standards] (WCHAR_MAX): Likewise.
20930 [C99-based standards] (WINT_MAX): Likewise.
20931 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20932 constraint on value.
20933 [C99-based standards] (WCHAR_MIN): Likewise.
20934 [C99-based standards] (WINT_MIN): Likewise.
20935 [C99-based standards] (*_t): Allow.
20936 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20937 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20938 Include math.h-data and complex.h-data. Remove all expectations
20939 of math.h and complex.h contents.
20940 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20941 at end of line.
20942 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20943 (struct tm): Expect tag.
20944 [C99-based-standards] (wcstof): Expect function.
20945 [C99-based-standards] (wcstold): Likewise.
20946 [C99-based-standards] (wcstoll): Likewise.
20947 [C99-based-standards] (wcstoull): Likewise.
20948 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20949 macro-int-constant. Specify type.
20950 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20951 constraint on value.
20952 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20953 Specify type.
20954 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20955 Specify value.
20956 [ISO C standards]: Do not allow headers.
20957 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20958 wcs[abcdefghijklmnopqrstuvwxyz]*.
20959 [ISO C standards] (*_t): Do not allow.
20960 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20961 Expect function.
20962 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20963 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20964 Specify type.
20965 [ISO C standards]: Do not allow headers.
20966 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20967 is[abcdefghijklmnopqrstuvwxyz]*.
20968 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20969 to[abcdefghijklmnopqrstuvwxyz]*.
20970 [ISO C standards] (*_t): Do not allow.
20971 * conform/data/stdalign.h-data: New file.
20972 * conform/data/stdbool.h-data: Likewise.
20973 * conform/data/stdnoreturn.h-data: Likewise.
20974
7514feb8
RM
209752012-11-07 Roland McGrath <roland@hack.frob.com>
20976
20977 [BZ #14815]
20978 * manual/filesys.texi (Directory Entries): Typo fix.
20979 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20980
19b2ecfc
MS
209812012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20982
20983 * elf/elf.h (EM_AARCH64): New macro.
20984 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20985 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20986 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20987 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20988 (R_AARCH64_TLSDESC): Likewise.
20989 (NT_ARM_TLS): Likewise.
20990 (NT_ARM_HW_BREAK): Likewise.
20991 (NT_ARM_HW_WATCH): Likewise.
20992
60e235ee
JM
209932012-11-07 Joseph Myers <joseph@codesourcery.com>
20994
20995 [BZ #14811]
20996 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20997 (__ieee754_powl): Saturate nonzero exponents with absolute value
20998 below 0x1p-79 to +/- 0x1p-79.
20999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21000 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21001 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21002 nonzero exponents with absolute value below 0x1p-32 to +/-
21003 0x1p-32.
21004 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21005 (__ieee754_powl): Saturate nonzero exponents with absolute value
21006 below 0x1p-79 to +/- 0x1p-79.
21007 * math/libm-test.inc (pow_test): Add more tests.
21008
0ab234b7
AK
210092012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21010
21011 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21012 _dl_s390_cap_flags with kernel. Increase string length.
21013 (_dl_s390_platforms): Add z196 and zEC12.
21014
45832f74
JM
210152012-11-07 Joseph Myers <joseph@codesourcery.com>
21016
21017 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21018 Change XOPEN21K to XOPEN2K.
21019
19218757
MK
210202012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21021
21022 * string/memmove.c: Use memcpy when possible.
21023
c5f45721
AJ
210242012-11-06 Andreas Jaeger <aj@suse.de>
21025
21026 * po/eo.po: Update from translation team.
21027
82477c28
JM
210282012-11-06 Joseph Myers <joseph@codesourcery.com>
21029
21030 [BZ #14793]
21031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21032 exponent and small x and y exponents, scale x or y up. Increase
21033 by 2 the exponent used in scaling up.
21034 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21035 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21036 * math/libm-test.inc (fma_test): Add more tests.
21037 (fma_test_towardzero): Likewise.
21038 (fma_test_downward): Likewise.
21039 (fma_test_upward): Likewise.
21040
99252c8c
JM
210412012-11-05 Joseph Myers <joseph@codesourcery.com>
21042
acfa885f
JM
21043 [BZ #14805]
21044 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21045 fenv_t *.
21046
99252c8c
JM
21047 [BZ #14801]
21048 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21049 namespace for names of struct fields.
21050 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21051 fenv_t fields.
21052 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21053 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21054
d6d98dea
ST
210552012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21056
21057 [BZ #3665]
21058 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21059
e10bb107
TS
210602012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21061
21062 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21063 PTR_DEMANGLE.
21064
21065 [BZ #5246]
21066 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21067 PTR_DEMANGLE.
21068
a0c2940d
JM
210692012-11-04 Joseph Myers <joseph@codesourcery.com>
21070
21071 [BZ #14797]
21072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21073 definitely overflow as x * y not x * y + z.
21074 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21075 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21076 * math/libm-test.inc (fma_test): Add more tests.
21077 (fma_test_towardzero): Likewise.
21078 (fma_test_downward): Likewise.
21079 (fma_test_upward): Likewise.
21080
b830319d
TS
210812012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21082
21083 [BZ #157]
21084
21085 * include/stub-tag.h: Remove file.
21086 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21087 '#include' of it.
21088 * manual/maint.texi (Porting): Don't reference it.
21089 * Makerules ($(objpfx)stubs): Likewise.
21090 * dirent/closedir.c: Don't include <stub-tag.h>.
21091 * dirent/dirfd.c: Likewise.
21092 * dirent/fdopendir.c: Likewise.
21093 * dirent/getdents.c: Likewise.
21094 * dirent/getdents64.c: Likewise.
21095 * dirent/opendir.c: Likewise.
21096 * dirent/readdir.c: Likewise.
21097 * dirent/readdir64.c: Likewise.
21098 * dirent/readdir64_r.c: Likewise.
21099 * dirent/readdir_r.c: Likewise.
21100 * dirent/rewinddir.c: Likewise.
21101 * dirent/seekdir.c: Likewise.
21102 * dirent/telldir.c: Likewise.
21103 * gmon/profil.c: Likewise.
21104 * grp/setgroups.c: Likewise.
21105 * inet/if_index.c: Likewise.
21106 * io/access.c: Likewise.
21107 * io/chdir.c: Likewise.
21108 * io/chmod.c: Likewise.
21109 * io/chown.c: Likewise.
21110 * io/close.c: Likewise.
21111 * io/dup.c: Likewise.
21112 * io/dup2.c: Likewise.
21113 * io/dup3.c: Likewise.
21114 * io/euidaccess.c: Likewise.
21115 * io/faccessat.c: Likewise.
21116 * io/fchdir.c: Likewise.
21117 * io/fchmod.c: Likewise.
21118 * io/fchmodat.c: Likewise.
21119 * io/fchown.c: Likewise.
21120 * io/fchownat.c: Likewise.
21121 * io/fcntl.c: Likewise.
21122 * io/flock.c: Likewise.
21123 * io/fstatfs.c: Likewise.
21124 * io/fstatfs64.c: Likewise.
21125 * io/fstatvfs.c: Likewise.
21126 * io/fstatvfs64.c: Likewise.
21127 * io/futimens.c: Likewise.
21128 * io/fxstat.c: Likewise.
21129 * io/fxstat64.c: Likewise.
21130 * io/fxstatat.c: Likewise.
21131 * io/fxstatat64.c: Likewise.
21132 * io/getcwd.c: Likewise.
21133 * io/isatty.c: Likewise.
21134 * io/lchmod.c: Likewise.
21135 * io/lchown.c: Likewise.
21136 * io/link.c: Likewise.
21137 * io/linkat.c: Likewise.
21138 * io/lseek.c: Likewise.
21139 * io/lseek64.c: Likewise.
21140 * io/lxstat64.c: Likewise.
21141 * io/mkdir.c: Likewise.
21142 * io/mkdirat.c: Likewise.
21143 * io/mkfifo.c: Likewise.
21144 * io/mkfifoat.c: Likewise.
21145 * io/open.c: Likewise.
21146 * io/open64.c: Likewise.
21147 * io/openat.c: Likewise.
21148 * io/openat64.c: Likewise.
21149 * io/pipe.c: Likewise.
21150 * io/pipe2.c: Likewise.
21151 * io/poll.c: Likewise.
21152 * io/posix_fadvise.c: Likewise.
21153 * io/posix_fadvise64.c: Likewise.
21154 * io/posix_fallocate.c: Likewise.
21155 * io/posix_fallocate64.c: Likewise.
21156 * io/read.c: Likewise.
21157 * io/readlink.c: Likewise.
21158 * io/readlinkat.c: Likewise.
21159 * io/rmdir.c: Likewise.
21160 * io/sendfile.c: Likewise.
21161 * io/sendfile64.c: Likewise.
21162 * io/statfs.c: Likewise.
21163 * io/statfs64.c: Likewise.
21164 * io/statvfs.c: Likewise.
21165 * io/statvfs64.c: Likewise.
21166 * io/symlink.c: Likewise.
21167 * io/symlinkat.c: Likewise.
21168 * io/ttyname.c: Likewise.
21169 * io/ttyname_r.c: Likewise.
21170 * io/umask.c: Likewise.
21171 * io/unlink.c: Likewise.
21172 * io/unlinkat.c: Likewise.
21173 * io/utime.c: Likewise.
21174 * io/utimensat.c: Likewise.
21175 * io/write.c: Likewise.
21176 * io/xmknod.c: Likewise.
21177 * io/xmknodat.c: Likewise.
21178 * io/xstat.c: Likewise.
21179 * io/xstat64.c: Likewise.
21180 * login/getpt.c: Likewise.
21181 * login/grantpt.c: Likewise.
21182 * login/unlockpt.c: Likewise.
21183 * math/e_acoshl.c: Likewise.
21184 * math/e_acosl.c: Likewise.
21185 * math/e_asinl.c: Likewise.
21186 * math/e_atan2l.c: Likewise.
21187 * math/e_atanhl.c: Likewise.
21188 * math/e_coshl.c: Likewise.
21189 * math/e_expl.c: Likewise.
21190 * math/e_fmodl.c: Likewise.
21191 * math/e_gammal_r.c: Likewise.
21192 * math/e_hypotl.c: Likewise.
21193 * math/e_j0l.c: Likewise.
21194 * math/e_j1l.c: Likewise.
21195 * math/e_jnl.c: Likewise.
21196 * math/e_lgammal_r.c: Likewise.
21197 * math/e_log10l.c: Likewise.
21198 * math/e_log2l.c: Likewise.
21199 * math/e_logl.c: Likewise.
21200 * math/e_powl.c: Likewise.
21201 * math/e_rem_pio2l.c: Likewise.
21202 * math/e_sinhl.c: Likewise.
21203 * math/e_sqrtl.c: Likewise.
21204 * math/fclrexcpt.c: Likewise.
21205 * math/fedisblxcpt.c: Likewise.
21206 * math/feenablxcpt.c: Likewise.
21207 * math/fegetenv.c: Likewise.
21208 * math/fegetexcept.c: Likewise.
21209 * math/fegetround.c: Likewise.
21210 * math/feholdexcpt.c: Likewise.
21211 * math/fesetenv.c: Likewise.
21212 * math/fesetround.c: Likewise.
21213 * math/feupdateenv.c: Likewise.
21214 * math/fgetexcptflg.c: Likewise.
21215 * math/fraiseexcpt.c: Likewise.
21216 * math/fsetexcptflg.c: Likewise.
21217 * math/ftestexcept.c: Likewise.
21218 * math/k_cosl.c: Likewise.
21219 * math/k_rem_pio2l.c: Likewise.
21220 * math/k_sinl.c: Likewise.
21221 * math/k_tanl.c: Likewise.
21222 * math/s_asinhl.c: Likewise.
21223 * math/s_atanl.c: Likewise.
21224 * math/s_cbrtl.c: Likewise.
21225 * math/s_erfl.c: Likewise.
21226 * math/s_expm1l.c: Likewise.
21227 * math/s_log1pl.c: Likewise.
21228 * math/s_tanhl.c: Likewise.
21229 * misc/acct.c: Likewise.
21230 * misc/brk.c: Likewise.
21231 * misc/chflags.c: Likewise.
21232 * misc/chroot.c: Likewise.
21233 * misc/fchflags.c: Likewise.
21234 * misc/fgetxattr.c: Likewise.
21235 * misc/flistxattr.c: Likewise.
21236 * misc/fremovexattr.c: Likewise.
21237 * misc/fsetxattr.c: Likewise.
21238 * misc/fsync.c: Likewise.
21239 * misc/ftruncate.c: Likewise.
21240 * misc/futimes.c: Likewise.
21241 * misc/futimesat.c: Likewise.
21242 * misc/getdomain.c: Likewise.
21243 * misc/getdtsz.c: Likewise.
21244 * misc/gethostid.c: Likewise.
21245 * misc/gethostname.c: Likewise.
21246 * misc/getloadavg.c: Likewise.
21247 * misc/getpagesize.c: Likewise.
21248 * misc/getsysstats.c: Likewise.
21249 * misc/getxattr.c: Likewise.
21250 * misc/gtty.c: Likewise.
21251 * misc/ioctl.c: Likewise.
21252 * misc/lgetxattr.c: Likewise.
21253 * misc/listxattr.c: Likewise.
21254 * misc/llistxattr.c: Likewise.
21255 * misc/lremovexattr.c: Likewise.
21256 * misc/lsetxattr.c: Likewise.
21257 * misc/lutimes.c: Likewise.
21258 * misc/madvise.c: Likewise.
21259 * misc/mincore.c: Likewise.
21260 * misc/mlock.c: Likewise.
21261 * misc/mlockall.c: Likewise.
21262 * misc/mmap.c: Likewise.
21263 * misc/mprotect.c: Likewise.
21264 * misc/msync.c: Likewise.
21265 * misc/munlock.c: Likewise.
21266 * misc/munlockall.c: Likewise.
21267 * misc/munmap.c: Likewise.
21268 * misc/preadv.c: Likewise.
21269 * misc/preadv64.c: Likewise.
21270 * misc/ptrace.c: Likewise.
21271 * misc/pwritev.c: Likewise.
21272 * misc/pwritev64.c: Likewise.
21273 * misc/readv.c: Likewise.
21274 * misc/reboot.c: Likewise.
21275 * misc/remap_file_pages.c: Likewise.
21276 * misc/removexattr.c: Likewise.
21277 * misc/revoke.c: Likewise.
21278 * misc/select.c: Likewise.
21279 * misc/setdomain.c: Likewise.
21280 * misc/setegid.c: Likewise.
21281 * misc/seteuid.c: Likewise.
21282 * misc/sethostid.c: Likewise.
21283 * misc/sethostname.c: Likewise.
21284 * misc/setregid.c: Likewise.
21285 * misc/setreuid.c: Likewise.
21286 * misc/setxattr.c: Likewise.
21287 * misc/sstk.c: Likewise.
21288 * misc/stty.c: Likewise.
21289 * misc/swapoff.c: Likewise.
21290 * misc/swapon.c: Likewise.
21291 * misc/sync.c: Likewise.
21292 * misc/syncfs.c: Likewise.
21293 * misc/syscall.c: Likewise.
21294 * misc/truncate.c: Likewise.
21295 * misc/ualarm.c: Likewise.
21296 * misc/usleep.c: Likewise.
21297 * misc/ustat.c: Likewise.
21298 * misc/utimes.c: Likewise.
21299 * misc/vhangup.c: Likewise.
21300 * misc/writev.c: Likewise.
21301 * posix/_exit.c: Likewise.
21302 * posix/alarm.c: Likewise.
21303 * posix/execve.c: Likewise.
21304 * posix/fexecve.c: Likewise.
21305 * posix/fork.c: Likewise.
21306 * posix/fpathconf.c: Likewise.
21307 * posix/getaddrinfo.c: Likewise.
21308 * posix/getegid.c: Likewise.
21309 * posix/geteuid.c: Likewise.
21310 * posix/getgid.c: Likewise.
21311 * posix/getgroups.c: Likewise.
21312 * posix/getlogin.c: Likewise.
21313 * posix/getlogin_r.c: Likewise.
21314 * posix/getpgid.c: Likewise.
21315 * posix/getpid.c: Likewise.
21316 * posix/getppid.c: Likewise.
21317 * posix/getresgid.c: Likewise.
21318 * posix/getresuid.c: Likewise.
21319 * posix/getsid.c: Likewise.
21320 * posix/getuid.c: Likewise.
21321 * posix/glob64.c: Likewise.
21322 * posix/nanosleep.c: Likewise.
21323 * posix/pathconf.c: Likewise.
21324 * posix/pause.c: Likewise.
21325 * posix/posix_madvise.c: Likewise.
21326 * posix/pread.c: Likewise.
21327 * posix/pread64.c: Likewise.
21328 * posix/pwrite.c: Likewise.
21329 * posix/pwrite64.c: Likewise.
21330 * posix/sched_getaffinity.c: Likewise.
21331 * posix/sched_getp.c: Likewise.
21332 * posix/sched_gets.c: Likewise.
21333 * posix/sched_primax.c: Likewise.
21334 * posix/sched_primin.c: Likewise.
21335 * posix/sched_rr_gi.c: Likewise.
21336 * posix/sched_setaffinity.c: Likewise.
21337 * posix/sched_setp.c: Likewise.
21338 * posix/sched_sets.c: Likewise.
21339 * posix/sched_yield.c: Likewise.
21340 * posix/setgid.c: Likewise.
21341 * posix/setlogin.c: Likewise.
21342 * posix/setpgid.c: Likewise.
21343 * posix/setresgid.c: Likewise.
21344 * posix/setresuid.c: Likewise.
21345 * posix/setsid.c: Likewise.
21346 * posix/setuid.c: Likewise.
21347 * posix/sleep.c: Likewise.
21348 * posix/spawni.c: Likewise.
21349 * posix/sysconf.c: Likewise.
21350 * posix/times.c: Likewise.
21351 * posix/wait.c: Likewise.
21352 * posix/wait3.c: Likewise.
21353 * posix/wait4.c: Likewise.
21354 * posix/waitpid.c: Likewise.
21355 * resolv/gai_sigqueue.c: Likewise.
21356 * resource/getpriority.c: Likewise.
21357 * resource/getrlimit.c: Likewise.
21358 * resource/getrusage.c: Likewise.
21359 * resource/nice.c: Likewise.
21360 * resource/setpriority.c: Likewise.
21361 * resource/setrlimit.c: Likewise.
21362 * resource/ulimit.c: Likewise.
21363 * rt/aio_cancel.c: Likewise.
21364 * rt/aio_fsync.c: Likewise.
21365 * rt/aio_read.c: Likewise.
21366 * rt/aio_sigqueue.c: Likewise.
21367 * rt/aio_suspend.c: Likewise.
21368 * rt/aio_write.c: Likewise.
21369 * rt/clock_getres.c: Likewise.
21370 * rt/clock_gettime.c: Likewise.
21371 * rt/clock_nanosleep.c: Likewise.
21372 * rt/clock_settime.c: Likewise.
21373 * rt/lio_listio.c: Likewise.
21374 * rt/mq_close.c: Likewise.
21375 * rt/mq_getattr.c: Likewise.
21376 * rt/mq_notify.c: Likewise.
21377 * rt/mq_open.c: Likewise.
21378 * rt/mq_receive.c: Likewise.
21379 * rt/mq_send.c: Likewise.
21380 * rt/mq_setattr.c: Likewise.
21381 * rt/mq_timedreceive.c: Likewise.
21382 * rt/mq_timedsend.c: Likewise.
21383 * rt/mq_unlink.c: Likewise.
21384 * rt/shm_open.c: Likewise.
21385 * rt/shm_unlink.c: Likewise.
21386 * rt/timer_create.c: Likewise.
21387 * rt/timer_delete.c: Likewise.
21388 * rt/timer_getoverr.c: Likewise.
21389 * rt/timer_gettime.c: Likewise.
21390 * rt/timer_settime.c: Likewise.
21391 * setjmp/__longjmp.c: Likewise.
21392 * setjmp/setjmp.c: Likewise.
21393 * signal/kill.c: Likewise.
21394 * signal/killpg.c: Likewise.
21395 * signal/raise.c: Likewise.
21396 * signal/sigaction.c: Likewise.
21397 * signal/sigaltstack.c: Likewise.
21398 * signal/sigblock.c: Likewise.
21399 * signal/sigignore.c: Likewise.
21400 * signal/sigintr.c: Likewise.
21401 * signal/signal.c: Likewise.
21402 * signal/sigpause.c: Likewise.
21403 * signal/sigpending.c: Likewise.
21404 * signal/sigqueue.c: Likewise.
21405 * signal/sigreturn.c: Likewise.
21406 * signal/sigset.c: Likewise.
21407 * signal/sigsetmask.c: Likewise.
21408 * signal/sigstack.c: Likewise.
21409 * signal/sigsuspend.c: Likewise.
21410 * signal/sigtimedwait.c: Likewise.
21411 * signal/sigvec.c: Likewise.
21412 * signal/sigwait.c: Likewise.
21413 * signal/sigwaitinfo.c: Likewise.
21414 * signal/sysv_signal.c: Likewise.
21415 * socket/accept.c: Likewise.
21416 * socket/accept4.c: Likewise.
21417 * socket/bind.c: Likewise.
21418 * socket/connect.c: Likewise.
21419 * socket/getpeername.c: Likewise.
21420 * socket/getsockname.c: Likewise.
21421 * socket/getsockopt.c: Likewise.
21422 * socket/isfdtype.c: Likewise.
21423 * socket/listen.c: Likewise.
21424 * socket/recv.c: Likewise.
21425 * socket/recvfrom.c: Likewise.
21426 * socket/recvmsg.c: Likewise.
21427 * socket/send.c: Likewise.
21428 * socket/sendmsg.c: Likewise.
21429 * socket/sendto.c: Likewise.
21430 * socket/setsockopt.c: Likewise.
21431 * socket/shutdown.c: Likewise.
21432 * socket/sockatmark.c: Likewise.
21433 * socket/socket.c: Likewise.
21434 * socket/socketpair.c: Likewise.
21435 * stdio-common/ctermid.c: Likewise.
21436 * stdio-common/cuserid.c: Likewise.
21437 * stdio-common/remove.c: Likewise.
21438 * stdio-common/rename.c: Likewise.
21439 * stdio-common/renameat.c: Likewise.
21440 * stdio-common/tempname.c: Likewise.
21441 * stdlib/getcontext.c: Likewise.
21442 * stdlib/makecontext.c: Likewise.
21443 * stdlib/setcontext.c: Likewise.
21444 * stdlib/swapcontext.c: Likewise.
21445 * stdlib/system.c: Likewise.
21446 * streams/fattach.c: Likewise.
21447 * streams/fdetach.c: Likewise.
21448 * streams/getmsg.c: Likewise.
21449 * streams/getpmsg.c: Likewise.
21450 * streams/putmsg.c: Likewise.
21451 * streams/putpmsg.c: Likewise.
21452 * sysdeps/unix/bsd/getpt.c: Likewise.
21453 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21454 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21455 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21457 Likewise.
21458 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21459 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21460 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21461 * sysvipc/msgctl.c: Likewise.
21462 * sysvipc/msgget.c: Likewise.
21463 * sysvipc/msgrcv.c: Likewise.
21464 * sysvipc/msgsnd.c: Likewise.
21465 * sysvipc/semctl.c: Likewise.
21466 * sysvipc/semget.c: Likewise.
21467 * sysvipc/semop.c: Likewise.
21468 * sysvipc/semtimedop.c: Likewise.
21469 * sysvipc/shmat.c: Likewise.
21470 * sysvipc/shmctl.c: Likewise.
21471 * sysvipc/shmdt.c: Likewise.
21472 * sysvipc/shmget.c: Likewise.
21473 * termios/tcdrain.c: Likewise.
21474 * termios/tcflow.c: Likewise.
21475 * termios/tcflush.c: Likewise.
21476 * termios/tcgetattr.c: Likewise.
21477 * termios/tcgetpgrp.c: Likewise.
21478 * termios/tcsendbrk.c: Likewise.
21479 * termios/tcsetattr.c: Likewise.
21480 * termios/tcsetpgrp.c: Likewise.
21481 * time/adjtime.c: Likewise.
21482 * time/clock.c: Likewise.
21483 * time/getitimer.c: Likewise.
21484 * time/gettimeofday.c: Likewise.
21485 * time/setitimer.c: Likewise.
21486 * time/settimeofday.c: Likewise.
21487 * time/stime.c: Likewise.
21488 * time/time.c: Likewise.
21489
214902012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21491
a20492cf
PT
21492 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21493 /usr/old/bin.
21494
72e182e3
PT
21495 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21496 instead of spaces.
21497 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21498
fbeafede
JM
214992012-11-03 Joseph Myers <joseph@codesourcery.com>
21500
5b5b04d6
JM
21501 [BZ #14796]
21502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21503 FE_TONEAREST before applying Dekker multiplication and Knuth
21504 addition. Clear inexact exceptions and check for exact zero
21505 results afterwards.
21506 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21507 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21508 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21509 * math/libm-test.inc (fma_test): Add more tests.
21510 (fma_test_towardzero): Likewise.
21511 (fma_test_downward): Likewise.
21512 (fma_test_upward): Likewise.
21513 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21514 function.
21515 (libc_fesetround): New macro.
21516 (libc_fesetroundf): Likewise.
21517 (libc_fesetroundl): Likewise.
21518 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21519 function.
21520 (libc_fesetround_387): Likewise.
21521 (libc_fesetroundf): New macro.
21522 (libc_fesetround): Likewise.
21523 (libc_fesetroundl): Likewise.
21524 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21525 function.
21526 (libc_fesetroundf): New macro.
21527 (libc_fesetround): Likewise.
21528 (libc_fesetroundl): Likewise.
21529 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21530 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21531 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21532 libm_hidden_ver.
21533 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21534 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21535 libm_hidden_def.
21536 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21537 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21538 libm_hidden_ver.
21539 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21540 libm_hidden_def.
21541
fbeafede
JM
21542 [BZ #3439]
21543 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21544 integer constant usable in #if and use that to give value to enum
21545 constant.
21546 (FE_DIVBYZERO): Likewise.
21547 (FE_UNDERFLOW): Likewise.
21548 (FE_OVERFLOW): Likewise.
21549 (FE_INVALID): Likewise.
21550 (FE_INVALID_SNAN): Likewise.
21551 (FE_INVALID_ISI): Likewise.
21552 (FE_INVALID_IDI): Likewise.
21553 (FE_INVALID_ZDZ): Likewise.
21554 (FE_INVALID_IMZ): Likewise.
21555 (FE_INVALID_COMPARE): Likewise.
21556 (FE_INVALID_SOFTWARE): Likewise.
21557 (FE_INVALID_SQRT): Likewise.
21558 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21559 (FE_TONEAREST): Likewise.
21560 (FE_TOWARDZERO): Likewise.
21561 (FE_UPWARD): Likewise.
21562 (FE_DOWNWARD): Likewise.
21563 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21564 (FE_DIVBYZERO): Likewise.
21565 (FE_OVERFLOW): Likewise.
21566 (FE_UNDERFLOW): Likewise.
21567 (FE_INEXACT): Likewise.
21568 (FE_TONEAREST): Likewise.
21569 (FE_DOWNWARD): Likewise.
21570 (FE_UPWARD): Likewise.
21571 (FE_TOWARDZERO): Likewise.
21572 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21573 (FE_UNDERFLOW): Likewise.
21574 (FE_OVERFLOW): Likewise.
21575 (FE_DIVBYZERO): Likewise.
21576 (FE_INVALID): Likewise.
21577 (FE_TONEAREST): Likewise.
21578 (FE_TOWARDZERO): Likewise.
21579 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21580 (FE_OVERFLOW): Likewise.
21581 (FE_UNDERFLOW): Likewise.
21582 (FE_DIVBYZERO): Likewise.
21583 (FE_INEXACT): Likewise.
21584 (FE_TONEAREST): Likewise.
21585 (FE_TOWARDZERO): Likewise.
21586 (FE_UPWARD): Likewise.
21587 (FE_DOWNWARD): Likewise.
21588 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21589 (FE_DIVBYZERO): Likewise.
21590 (FE_OVERFLOW): Likewise.
21591 (FE_UNDERFLOW): Likewise.
21592 (FE_INEXACT): Likewise.
21593 (FE_TONEAREST): Likewise.
21594 (FE_DOWNWARD): Likewise.
21595 (FE_UPWARD): Likewise.
21596 (FE_TOWARDZERO): Likewise.
21597
105ca950
CM
215982012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21599
21600 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21601
a542b389
AS
216022012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21603
21604 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21605 commands. Quote $PWD.
21606 (blacklist_exports): Don't use remove_newlines. Replace "declare
21607 -x" by "export".
21608 (remove_newlines): Remove.
21609
f62c8abc
L
216102012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21611
21612 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21613 * stdlib/stdlib.h (atof): Moved to ...
21614 * include/bits/stdlib-float.h: Here. New file.
21615 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21616 * stdlib/bits/stdlib-float.h: New file.
21617 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21618 -mno-sse -mno-mmx.
21619 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21620 <xmmintrin.h>.
21621
0155d5b2
JM
216222012-11-02 Joseph Myers <joseph@codesourcery.com>
21623
a68d0680
JM
21624 * conform/conformtest.pl (@headers): Add fenv.h.
21625 * conform/data/fenv.h-data: New file.
21626 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21627 include of <math/fenv.h>.
21628
caf7f573
JM
21629 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21630 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21631 && !UNIX98]. Enables tests for XOPEN2K8.
21632 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21633 POSIX2008]: Likewise.
21634
6c073ad6
JM
21635 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21636 (struct rusage): Do not expect type or its members.
21637
0155d5b2
JM
21638 [BZ #3439]
21639 * math/math.h (FP_NAN): Define macro to integer constant usable in
21640 #if and use that to give value to enum constant.
21641 (FP_INFINITE): Likewise.
21642 (FP_ZERO): Likewise.
21643 (FP_SUBNORMAL): Likewise.
21644 (FP_NORMAL): Likewise.
21645
b5dcacb4
AS
216462012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21647
21648 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21649 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21650 arguments.
21651
f7934be8
RM
216522012-11-02 Roland McGrath <roland@hack.frob.com>
21653
21654 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21655 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21656 autoconf-time if not.
21657 * configure.in: Remove AC_PREREQ.
21658
d7d08bde
TMQMF
216592012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21660
21661 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21662 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21663 of the internal implementation.
21664
dcdae19a
JM
216652012-11-02 Joseph Myers <joseph@codesourcery.com>
21666
21667 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21668 except include of <misc/sys/syslog.h>.
21669
d6cffd3e
AS
216702012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21671
21672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21673 function returns with a NULL context exit with zero.
21674
b3563932
TMQMF
216752012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21676
21677 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21678
b288a93d
L
216792012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21680
21681 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21682 (run_program_cmd): This.
21683 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21684 (tst_langinfo): New variable. Use it.
21685
a2421a68
SAS
216862012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21687
21688 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21689 floating point opcodes.
21690
6f796e1b
TS
216912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21692
7402596b
TS
21693 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21694 variable.
21695
d0d4f868
TS
21696 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21697
6f796e1b
TS
21698 * sysdeps/mach/hurd/powerpc: Remove directory.
21699 * sysdeps/mach/powerpc: Likewise.
21700
4da224a2
AS
217012012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21702
21703 * scripts/check-local-headers.sh: Ignore c++ headers.
21704
341dd673
TS
217052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21706
21707 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21708 __libc_cleanup_region_start argument.
21709
473611b2
JM
217102012-11-01 Joseph Myers <joseph@codesourcery.com>
21711
21712 [BZ #14784]
21713 [BZ #14785]
21714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21715 x * y using scaling, not as x * y + z.
21716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21717 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21718 * math/libm-test.inc (fma_test): Add more tests.
21719 (fma_test_towardzero): Likewise.
21720 (fma_test_downward): Likewise.
21721 (fma_test_upward): Likewise.
21722
4078da3d
TS
217232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21724
21725 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21726
903252aa
JM
217272012-10-31 Joseph Myers <joseph@codesourcery.com>
21728
21729 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21730 New variable.
21731
cbc818d0
TS
217322012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21733
21734 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21735
5a03cb1e
AS
217362012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21737
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21739 Fix sort order.
21740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21741 Likewise.
21742
90aff2ff
TMQMF
217432012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21744
21745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21746 Fix the order of the list for glibc 2.17.
21747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21748 Likewise.
21749
1818fcb7
AS
217502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21751
21752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21753
ef82f4da
JM
217542012-10-31 Joseph Myers <joseph@codesourcery.com>
21755
16a0e2ec
JM
21756 [BZ #14610]
21757 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21758 for low part of x being zero before using __atanl (y).
21759 * math/libm-test.inc (atan2_test): Add another test.
21760
0eb69512
JM
21761 * manual/install.texi (Configuring and compiling): Document
21762 general use of test-wrapper and test-wrapper-env.
21763 * INSTALL: Regenerated.
21764
ef82f4da
JM
21765 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21766 (__fma): Do not extract and scale down low bits on after-rounding
21767 systems when result rounded to normal precision would have normal
21768 exponent.
21769 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21770 (__fmal): Do not extract and scale down low bits on after-rounding
21771 systems when result rounded to normal precision would have normal
21772 exponent.
21773 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21774 (__fmal): Do not extract and scale down low bits on after-rounding
21775 systems when result rounded to normal precision would have normal
21776 exponent.
21777 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21778 macro.
21779 (fma_test): Add more tests.
21780 (fma_test_towardzero): Likewise.
21781 (fma_test_downward): Likewise.
21782 (fma_test_upward): Likewise.
21783
954ef0d9
L
217842012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21785
21786 * sysdeps/i386/tininess.h: Renamed to ...
21787 * sysdeps/x86/tininess.h: This.
21788 * sysdeps/x86_64/tininess.h: Removed.
21789
df61ffb2
JM
217902012-10-30 Joseph Myers <joseph@codesourcery.com>
21791
21792 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21793 input. Use $(build-program-cmd).
21794 ($(objpfx)tst-array1-static.out): Likewise.
21795 ($(objpfx)tst-array2.out): Likewise.
21796 ($(objpfx)tst-array3.out): Likewise.
21797 ($(objpfx)tst-array4.out): Likewise.
21798 ($(objpfx)tst-array5.out): Likewise.
21799 ($(objpfx)tst-array5-static.out): Likewise.
21800
01767843
CM
218012012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21802
47cc1490
CM
21803 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21804 if defined.
21805
01767843
CM
21806 * nss/nsswitch.h (nss_interface_function): Provide new
21807 macro for use with NSS functions.
21808 * grp/initgroups.c: Use new macro.
21809 * nss/getXXbyYY.c: Likewise.
21810 * nss/getXXbyYY_r.c: Likewise.
21811 * nss/getXXent.c: Likewise.
21812 * nss/getXXent_r.c: Likewise.
21813 * sysdeps/posix/getaddrinfo.c: Likewise.
21814
8321aa97
AJ
218152012-10-30 Andreas Jaeger <aj@suse.de>
21816
21817 * po/ru.po: Update Russion translation from translation project.
21818
2a27fd6d
JM
218192012-10-30 Joseph Myers <joseph@codesourcery.com>
21820
8627a232
JM
21821 [BZ #14152]
21822 [BZ #14783]
21823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21824 result and shift together with sticky bit instead of replicating
21825 round-to-nearest rounding.
21826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21828 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21829 missing underflow exceptions.
21830 (fma_test_towardzero): Add more tests.
21831 (fma_test_downward): Likewise.
21832 (fma_test_upward): Likewise.
21833
2a27fd6d
JM
21834 [BZ #14047]
21835 * sysdeps/generic/tininess.h: New file.
21836 * sysdeps/i386/tininess.h: Likewise.
21837 * sysdeps/sh/tininess.h: Likewise.
21838 * sysdeps/x86_64/tininess.h: Likewise.
21839 * stdlib/tst-strtod-underflow.c: Likewise.
21840 * stdlib/tst-tininess.c: Likewise.
21841 * stdlib/strtod_l.c: Include <tininess.h>.
21842 (round_and_return): Do not set errno for exact underflow cases.
21843 Force an underflow exception when setting errno for underflow.
21844 Determine underflow based on rounding to normal precision if
21845 TININESS_AFTER_ROUNDING.
21846 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21847 ERANGE for exact underflow cases.
21848 * stdlib/Makefile (tests): Add tst-tininess and
21849 tst-strtod-underflow.
21850 ($(objpfx)tst-tininess): Use $(link-libm).
21851 ($(objpfx)tst-strtod-underflow): Likewise.
21852
e7170363
AJ
218532012-10-30 Andreas Jaeger <aj@suse.de>
21854
e5088dc6
AJ
21855 [BZ#14767]
21856 * elf/Makefile (tests): Remove conditional for have-initfini-array
21857 since this is now always required and the variable does not exist
21858 anymore.
21859 (tests-static): Likewise.
21860 (modules-names): Likewise.
21861
e7170363 21862 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21863
21864 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21865 merged with constructor/destructor.
21866 (init_array): Likewise.
21867 * elf/tst-array2dep.c (fini_array): Likewise.
21868 (init_array): Likewise.
21869
60457d8a
MF
218702012-10-29 Mike Frysinger <vapier@gentoo.org>
21871
21872 * manual/message.texi: Delete @cartouche tags.
21873
8bece752
PT
218742012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21875
94ce799f
PT
21876 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21877 EOPNOTSUPP.
21878 * sysdeps/mach/hurd/fsync.c: Likewise.
21879
8bece752
PT
21880 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21881 [_POSIX_REALTIME_SIGNALS]: Change condition to
21882 [_POSIX_REALTIME_SIGNALS > 0].
21883
86ebe6b1
AJ
218842012-10-27 Andreas Jaeger <aj@suse.de>
21885
21886 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21887 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21888 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21889 [__WORDSIZE != 64]: Likewise.
21890
54399c08
L
218912012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21892
21893 * iconvdata/tst-table.sh: Remove ${SHELL}.
21894 * iconvdata/tst-tables.sh: Likewise.
21895
e2211bed
DM
218962012-10-25 David S. Miller <davem@davemloft.net>
21897
21898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21899 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21900 of strtoull.
21901
f303f97c
DM
21902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21903 ifunc-impl-list.c
21904 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21905 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21906 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21907 file.
21908
1e9d84cd
RM
219092012-10-25 Roland McGrath <roland@hack.frob.com>
21910
21911 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21912 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21913 __getdirentries.
21914
df381762
JM
219152012-10-25 Joseph Myers <joseph@codesourcery.com>
21916 Jim Blandy <jimb@codesourcery.com>
21917
21918 * scripts/cross-test-ssh.sh: New file.
21919 * manual/install.texi (Configuring and compiling): Document use of
21920 cross-test-ssh.sh.
21921 * INSTALL: Regenerated.
21922
bff64913
PT
219232012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21924
21925 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21926 EOPNOTSUPP.
21927
25fe8932
JM
219282012-10-25 Joseph Myers <joseph@codesourcery.com>
21929
21930 * Makeconfig (run-program-prefix): Fix comment.
21931
cc1290d0
JM
219322012-10-24 Joseph Myers <joseph@codesourcery.com>
21933 Jim Blandy <jimb@codesourcery.com>
21934
21935 * Makeconfig (test-wrapper): New variable,
21936 (test-wrapper-env): Likewise.
21937 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21938 (run-built-tests): Define to yes.
21939 (run-program-prefix): Use $(test-wrapper).
21940 (built-program-cmd): Likewise.
21941 * Rules (make-test-out): Use $(test-wrapper-env) and
21942 $(host-built-program-cmd).
21943 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21944 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21945 tst-pathopt.sh.
21946 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21947 $(test-wrapper-env) to tst-rtld-load-self.sh.
21948 ($(objpfx)order2.out): Use $(test-wrapper).
21949 ($(objpfx)tst-initorder.out): Likewise.
21950 ($(objpfx)tst-initorder2.out): Likewise.
21951 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21952 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21953 (test_wrapper_env): New variable. Use it to run ld.so.
21954 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21955 Use it to run ld.so.
21956 (test_wrapper_env): Likewise.
21957 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21958 $(test-wrapper) to run-iconv-test.sh.
21959 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21960 (ICONV): Use $test_wrapper.
21961 * posix/Makefile ($(objpfx)globtest.out): Pass
21962 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21963 globtest.sh, not $(run-program-prefix).
21964 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21965 (test_wrapper): Likewise.
21966 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21967 set together with run_via_rtld_prefix.
21968 (run_program_prefix): Define in terms of test_wrapper and
21969 run_via_rtld_prefix.
21970
6e6249d0
RM
219712012-10-24 Roland McGrath <roland@hack.frob.com>
21972
21973 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21974 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21975 Targets removed.
21976
21977 [BZ #14743]
21978 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21979 Declare __clock_getres, __clock_gettime, __clock_settime,
21980 __clock_nanosleep, and __clock_getcpuclockid.
21981 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21982 Remove librt_hidden_def (clock_gettime).
21983 * sysdeps/unix/clock_gettime.c: Likewise.
21984 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21985 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21986 * rt/clock_getres.c: Define __clock_getres as an alias.
21987 * sysdeps/posix/clock_getres.c: Likewise.
21988 * rt/clock_settime.c: Define __clock_settime as an alias.
21989 * sysdeps/unix/clock_settime.c: Likewise.
21990 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21991 * sysdeps/unix/clock_nanosleep.c: Likewise.
21992 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21993 * rt/clock-compat.c: New file.
21994 * rt/Makefile (librt-routines): Add clock-compat and move
21995 $(clock-routines) to ...
21996 (routines): ... here, new variable.
21997 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21998 Don't add get_clockfreq here.
21999 * rt/Versions (libc: GLIBC_2.17): New version set.
22000 Add clock_* symbols here.
22001 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22002 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22003 (GLIBC_2.17): Add clock_* symbols.
22004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22006 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22008 Likewise.
22009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22010 Likewise.
22011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22015 * NEWS: Mention the move.
22016
22017 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22018 Use __open, __read, __close rather than their public counterparts.
22019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22020 (__get_clockfreq_via_cpuinfo): Likewise.
22021 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22022 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22023
22024 * config.h.in (HAVE_IFUNC): New #undef.
22025 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22026 was successful.
22027 * configure: Regenerated.
22028
0cae3f4b
MF
220292012-10-24 Mike Frysinger <vapier@gentoo.org>
22030
22031 * configure.in: Move READELF check to start of file.
22032 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22033 libc_cv_asm_gnu_indirect_function in the process.
22034 * configure: Regenerated.
22035
8175a253
MF
220362012-10-24 Mike Frysinger <vapier@gentoo.org>
22037
22038 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22039 send the output to /dev/null.
22040 (libc_cv_cc_with_libunwind): Likewise.
22041 (libc_cv_as_noexecstack): Likewise.
22042 * configure: Regenerate.
22043
0708a7d1
JM
220442012-10-24 Joseph Myers <joseph@codesourcery.com>
22045
10b40d85
JM
22046 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22047
0708a7d1
JM
22048 * posix/globtest.sh (TMPDIR): Do not set.
22049 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22050 (testout): Likewise.
22051
9fddec1a
AJ
220522012-10-24 Andreas Jaeger <aj@suse.de>
22053
3a8db22f
AJ
22054 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22055 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22056 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22057 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22058 posix_fadvise64, posix_fallocate64.
22059
9fddec1a
AJ
22060 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22061 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22062 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22063 Likewise.
22064 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22065 Likewise.
22066 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22067
22068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22069 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22070 <bits/fcntl-linux.h>.
22071 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22072
22073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22074 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22075 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22076 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22077 [__WORDSIZE != 64]: Likewise.
22078
ebfd1bbd
JM
220792012-10-23 Joseph Myers <joseph@codesourcery.com>
22080
03ac099f
JM
22081 * Makeconfig (run-built-tests): New variable.
22082 * Rules [$(cross-compiling) = yes]: Change condition to
22083 [$(run-built-tests) = no].
22084 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22085 to [$(run-built-tests) = yes].
22086 * elf/Makefile [$(cross-compiling) = no]: Likewise
22087 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22088 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22089 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22090 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22091 * io/Makefile [$(cross-compiling) = no]: Likewise.
22092 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22093 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22094 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22095 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22096 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22097 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22098 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22099 * string/Makefile [$(cross-compiling) = no]: Likewise.
22100
ebfd1bbd
JM
22101 * posix/Makefile ($(objpfx)globtest.out): Pass
22102 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22103 $(rtld-installed-name).
22104 * posix/globtest.sh (elf_objpfx): Remove variable.
22105 (rtld_installed_name): Likewise.
22106 (library_path): Likewise.
22107 (run_program_prefix): New variable. Use for running globtest
22108 binary.
22109
166bca24
JB
221102012-10-23 Jim Blandy <jimb@codesourcery.com>
22111 Joseph Myers <joseph@codesourcery.com>
22112
22113 * Makeconfig (host-built-program-cmd): New variable.
22114 * elf/Makefile (tst-stackguard1-ARGS): Use
22115 $(host-built-program-cmd).
22116 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22117 (tst-spawn-ARGS): Likewise.
22118 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22119
88866099
JM
221202012-10-23 Joseph Myers <joseph@codesourcery.com>
22121 Jim Blandy <jimb@codesourcery.com>
22122
22123 * Makeconfig (run-via-rtld-prefix): New variable.
22124 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22125 (built-program-cmd): Likewise.
22126
b4b4c296
AJ
221272012-10-22 Andreas Jaeger <aj@suse.de>
22128
22129 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22130 __O_RSYNC if it exists, otherwise to O_SYNC.
22131
6fb54a22
JB
221322012-10-22 Jim Blandy <jimb@codesourcery.com>
22133 Joseph Myers <joseph@codesourcery.com>
22134
22135 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22136 /dev/null.
22137 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22138 from /dev/null
22139 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22140 /dev/null.
22141
481b90b9
AJ
221422012-10-22 Andreas Jaeger <aj@suse.de>
22143
2a0e2669
AJ
22144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22145 Define always.
22146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22147
76e38f9a
AJ
22148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22149 bits/fcntl-linux.h.
22150
7cd37b43
AJ
22151 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22152 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22153
481b90b9
AJ
22154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22155 to __O_LARGEFILE.
22156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22157 to __O_LARGEFILE.
22158
aba75984
JB
221592012-10-21 Jim Blandy <jimb@codesourcery.com>
22160 Joseph Myers <joseph@codesourcery.com>
22161
22162 * config.make.in (NM): New variable.
22163
88d4247f
AJ
221642012-10-21 Andreas Jaeger <aj@suse.de>
22165
22166 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22167 definitions and declarations that are provided by
22168 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22169
f2eed205
L
221702012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22171
22172 [BZ #14683]
22173 * elf/Makefile (tests-static): Add tst-leaks1-static.
22174 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22175 ($(objpfx)tst-leaks1-static): New rule.
22176 ($(objpfx)tst-leaks1-static-mem): Likewise.
22177 (tst-leaks1-static-ENV): New macro.
22178 * elf/dl-open.c (dl_open_worker): Check the main application
22179 only if SHARED is defined.
22180 * elf/tst-leaks1-static.c: New file.
22181
335e6931
AJ
221822012-10-20 Andreas Jaeger <aj@suse.de>
22183
22184 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22185 generic values for Linux.
22186 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22187 and declarations that are provided by <bits/fcntl-linux.h> and
22188 include <bits/fcntl-linux.h>.
22189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22191
ac5c94d3
RM
221922012-10-20 Roland McGrath <roland@hack.frob.com>
22193
22194 * io/fcntl.h: Move include of <bits/types.h> to the top and
22195 include it unconditionally.
22196
de54b33a
L
221972012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22198
228cfb01
L
22199 * wcsmbs/Makefile (tests-ifunc): New variable.
22200 (tests): Add $(tests-ifunc).
22201 * wcsmbs/test-wcschr-ifunc.c: New file.
22202 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22203 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22204 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22205 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22206 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22207
69f07e5f
L
22208 * string/Makefile (tests-ifunc): New variable.
22209 (tests): Add $(tests-ifunc).
22210 * string/test-memccpy.c (TEST_NAME): New macro.
22211 * string/test-memchr.c (TEST_NAME): Likewise.
22212 * string/test-memcmp.c (TEST_NAME): Likewise.
22213 * string/test-memcpy.c (TEST_NAME): Likewise.
22214 * string/test-memmem.c (TEST_NAME): Likewise.
22215 * string/test-memmove.c (TEST_NAME): Likewise.
22216 * string/test-memset.c (TEST_NAME): Likewise.
22217 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22218 * string/test-stpcpy.c (TEST_NAME): Likewise.
22219 * string/test-stpncpy.c (TEST_NAME): Likewise.
22220 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22221 * string/test-strcasestr.c (TEST_NAME): Likewise.
22222 * string/test-strcat.c (TEST_NAME): Likewise.
22223 * string/test-strchr.c (TEST_NAME): Likewise.
22224 * string/test-strcmp.c(TEST_NAME): Likewise.
22225 * string/test-strcpy.c (TEST_NAME): Likewise.
22226 * string/test-strcspn.c (TEST_NAME): Likewise.
22227 * string/test-strlen.c (TEST_NAME): Likewise.
22228 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22229 * string/test-strncmp.c (TEST_NAME): Likewise.
22230 * string/test-strncpy.c (TEST_NAME): Likewise.
22231 * string/test-strnlen.c (TEST_NAME): Likewise.
22232 * string/test-strpbrk.c (TEST_NAME): Likewise.
22233 * string/test-strrchr.c (TEST_NAME): Likewise.
22234 * string/test-strspn.c (TEST_NAME): Likewise.
22235 * string/test-strstr.c (TEST_NAME): Likewise.
22236 * string/test-bcopy-ifunc.c: New file.
22237 * string/test-bzero-ifunc.c: Likewise.
22238 * string/test-memccpy-ifunc.c: Likewise.
22239 * string/test-memchr-ifunc.c: Likewise.
22240 * string/test-memcmp-ifunc.c: Likewise.
22241 * string/test-memcpy-ifunc.c: Likewise.
22242 * string/test-memmem-ifunc.c: Likewise.
22243 * string/test-memmove-ifunc.c: Likewise.
22244 * string/test-mempcpy-ifunc.c: Likewise.
22245 * string/test-memset-ifunc.c: Likewise.
22246 * string/test-rawmemchr-ifunc.c: Likewise.
22247 * string/test-stpcpy-ifunc.c: Likewise.
22248 * string/test-stpncpy-ifunc.c: Likewise.
22249 * string/test-strcasecmp-ifunc.c: Likewise.
22250 * string/test-strcasestr-ifunc.c: Likewise.
22251 * string/test-strcat-ifunc.c: Likewise.
22252 * string/test-strchr-ifunc.c: Likewise.
22253 * string/test-strchrnul-ifunc.c: Likewise.
22254 * string/test-strcmp-ifunc.c: Likewise.
22255 * string/test-strcpy-ifunc.c: Likewise.
22256 * string/test-strcspn-ifunc.c: Likewise.
22257 * string/test-strlen-ifunc.c: Likewise.
22258 * string/test-strncasecmp-ifunc.c: Likewise.
22259 * string/test-strncat-ifunc.c: Likewise.
22260 * string/test-strncmp-ifunc.c: Likewise.
22261 * string/test-strncpy-ifunc.c: Likewise.
22262 * string/test-strnlen-ifunc.c: Likewise.
22263 * string/test-strpbrk-ifunc.c: Likewise.
22264 * string/test-strrchr-ifunc.c: Likewise.
22265 * string/test-strspn-ifunc.c: Likewise.
22266 * string/test-strstr-ifunc.c: Likewise.
22267
de54b33a
L
22268 * debug/Makefile (tests-ifunc): New variable.
22269 (tests): Add $(tests-ifunc).
22270 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22271 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22272 * debug/test-stpcpy_chk-ifunc.c: New file.
22273 * debug/test-strcpy_chk-ifunc.c: Likewise.
22274
88481c16
SP
222752012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22276
22277 [BZ #13601]
22278 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22279 header is not read in.
22280
135948bd
JM
222812012-10-19 Joseph Myers <joseph@codesourcery.com>
22282
89f1c388
JM
22283 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22284 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22285 directly. Pass built executable to script as
22286 $(built-program-cmd).
22287 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22288 $testprogram without using LD_LIBRARY_PATH and $ldso.
22289
e40a0d21
JM
22290 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22291 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22292 $(rtld-installed-name).
22293 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22294 (rtld_installed_name): Likewise.
22295 (library_path): Likewise.
22296 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22297 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22298 $(run-program-prefix) to tst-tables.sh.
22299 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22300 it to run tst-table-from and tst-table-to.
22301 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22302 Pass it to tst-table.sh.
22303 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22304 $(run-program-prefix) to tst-gettext.sh.
22305 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22306 tst-translit.sh.
22307 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22308 tst-gettext2.sh.
22309 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22310 to run tst-gettext.
22311 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22312 to run tst-gettext2.
22313 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22314 to run tst-translit.
22315 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22316 $(run-program-prefix) to tst-mtrace.sh.
22317 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22318 to run tst-mtrace.
22319 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22320 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22321 $(rtld-installed-name).
22322 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22323 (rtld_installed_name): Likewise.
22324 (run_program_prefix): New variable. Use it to run wordexp-test.
22325
728e272a
JM
22326 * Makeconfig (ARCH): Remove all definitions.
22327 (machine): Likewise.
22328 [ARCH]: Remove conditional code.
22329 [!objdir]: Give error.
22330 [!objdir] (objpfx): Remove.
22331 [!objdir] (common-objpfx): Likewise.
22332 [!objdir] (common-objdir): Likewise.
22333 * configure.in (config_makefile): Remove. Hardcode Makefile in
22334 AC_CONFIG_FILES call.
22335 * configure: Regenerated.
22336
d528cdcf
JM
22337 [BZ #13888]
22338 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22339 or TMPDIR.
22340 (testout): Likewise.
22341
135948bd
JM
22342 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22343 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22344 $(rtld-installed-name).
22345 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22346 (rtld_installed_name): Likwise.
22347 (runit): Remove function.
22348 (run_getconf): New variable, Use it for running getconf binary.
22349
38c78296
L
223502012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22351
22352 [BZ #14716]
22353 * string/test-memmem.c (check_result): New function.
22354 (do_one_test): Use it.
22355 (check1): New function.
22356 (test_main): Use it.
22357
d077f65f
MT
223582012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22359
22360 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22361
ced52c71
JM
223622012-10-18 Joseph Myers <joseph@codesourcery.com>
22363
22364 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22365 (_G_LSEEK64): Likewise.
22366 (_G_MMAP64): Likewise.
22367 (_G_FSTAT64): Likewise.
22368 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22369 (_G_LSEEK64): Likewise.
22370 (_G_MMAP64): Likewise.
22371 (_G_FSTAT64): Likewise.
22372 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22373 unconditional. Call __mmap64 directly.
22374 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22375 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22376 __lseek64 directly.
22377 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22378 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22379 __mmap64 directly.
22380 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22381 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22382 __lseek64 directly.
22383 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22384 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22385 __lseek64 directly.
22386 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22387 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22388 __lseek64 directly.
22389 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22390 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22391 __fxstat64 directly.
22392 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22393 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22394 unconditional.
22395 (freopen64) [!_G_OPEN64]: Remove conditional code.
22396 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22397 unconditional.
22398 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22399 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22400 unconditional.
22401 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22402 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22403 unconditional.
22404 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22405 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22406 unconditional.
22407 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22408 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22409 unconditional.
22410 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22411 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22412 unconditional.
22413 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22414 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22415 unconditional.
22416 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22417
b741de23
SP
224182012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22419
22420 [BZ #12140]
22421 * manual/memory.texi (Malloc Tunable Parameters): Add note
22422 about free list pointers overwriting some perturb bytes.
22423 Wording suggested by Roland McGrath.
22424
f9b9d9c9
JM
224252012-10-17 Joseph Myers <joseph@codesourcery.com>
22426
22427 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22428 (lgamma_test): Likewise.
22429 (tgamma_test): Likewise.
22430
172a631a
FW
224312012-10-16 Florian Weimer <fweimer@redhat.com>
22432
22433 [BZ #14700]
22434 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22435 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22436
e9f37252
MK
224372012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22438
22439 * NEWS: Mention BZ #14716.
22440 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22441 when removing AVAILABLE1_USES_J macro.
22442
d394eb74
L
224432012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22444
22445 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22446 (__bswap_64): __uint64_t for unsigned 64-bit int.
22447
ca38dc17
AS
224482012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22449
22450 * include/string.h (memmem): Declare libc hidden alias.
22451 * string/memmem.c (memmem): Define libc hidden alias.
22452 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22453 __read, __close instead of open, read, close.
22454
9a387d1f
L
224552012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22456
ac49ecaf
L
22457 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22458 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22459 global and hidden.
22460 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22461 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22462 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22463 Likewise.
22464 (__rawmemchr_sse2): Likewise.
22465 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22466 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22467 (__strchr_sse2): Likewise.
22468 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22469 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22470 (__strcasecmp_sse2): Likewise.
22471 (__strncasecmp_sse2): Likewise.
22472 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22473 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22474 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22475 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22476 (__strrchr_sse2): Likewise.
22477 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22478 ifunc-impl-list.c.
22479 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22480 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22481 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22482 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22483 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22484 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22485 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22486 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22487 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22488 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22489 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22490 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22491 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22492 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22493 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22494 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22495 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22496 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22497 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22498 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22499 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22500 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22501 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22502 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22503 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22504 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22505 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22506 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22507 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22508 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22509
b090e8ea
L
22510 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22511 global and hidden.
22512 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22513 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22514 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22515 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22516 Likewise.
22517 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22518 Likewise.
22519 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22520 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22521 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22522 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22523 ifunc-impl-list.c.
22524 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22525 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22526 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22527 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22528 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22529 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22530 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22531 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22532 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22533 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22534 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22535 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22536 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22537 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22538 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22539 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22540 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22541 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22542 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22543 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22545 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22546 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22547 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22548 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22549 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22550 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22551 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22552 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22553 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22554 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22555 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22556 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22557 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22558 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22559 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22560 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22561 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22562 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22563 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22564 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22565
11dd4af6
L
22566 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22567 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22568 * include/ifunc-impl-list.h: New file.
22569 * misc/ifunc-impl-list.c: Likewise.
22570 * misc/Makefile (routines): Add ifunc-impl-list.
22571 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22572 * string/test-string.h: Include <ifunc-impl-list.h>.
22573 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22574 impl_array): New variables.
22575 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22576 are defined.
22577 (test_init): Call __libc_ifunc_impl_list to initialize
22578 func_list if TEST_IFUNC and TEST_NAME are defined.
22579
9a387d1f
L
22580 * string/Makefile (strop-tests): Add bcopy and bzero.
22581 * string/test-bcopy.c: New file.
22582 * string/test-bzero.c: Likewise.
22583 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22584 defined.
22585 * string/test-memset.c: Support bzero test if TEST_BZERO is
22586 defined.
22587 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22588 __libc_memmove.
22589 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22590 __libc_memset.
22591 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22592 of memset.
22593
472371b9
JM
225942012-10-10 Joseph Myers <joseph@codesourcery.com>
22595
1e4a9536
JM
22596 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22597 * configure: Regenerated.
22598
d173d12e
JM
22599 * Makeconfig (+link-static-before-libc): Don't include
22600 $(link-static-libc).
22601
472371b9
JM
22602 * libio/libio.h (_IO_pos_t): Remove.
22603
89a3ad0b
AO
226042012-10-10 Alexandre Oliva <aoliva@redhat.com>
22605
22606 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22607 McGrath.
22608
e7451425
AO
226092012-10-10 Alexandre Oliva <aoliva@redhat.com>
22610
22611 * crypt/crypt-entry.c: Include fips-private.h.
22612 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22613 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22614 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22615 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22616
4ba74a35
AO
226172012-10-10 Alexandre Oliva <aoliva@redhat.com>
22618
22619 * crypt/crypt-private.h: Include stdbool.h.
22620 (_ufc_setup_salt_r): Return bool.
22621 * crypt/crypt-entry.c: Include errno.h.
22622 (__crypt_r): Return NULL with EINVAL for bad salt.
22623 * crypt/crypt_util.c (bad_for_salt): New.
22624 (_ufc_setup_salt_r): Check that salt is long enough and within
22625 the specified alphabet.
22626 * crypt/badsalttest.c: New file.
22627 * crypt/Makefile (tests): Add it.
22628 ($(objpfx)badsalttest): New.
22629
f96f1242
MK
226302012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22631
22632 * NEWS: Add entry for BZ #14602.
22633
0e8e0c1c
JM
226342012-10-09 Joseph Myers <joseph@codesourcery.com>
22635
22636 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22637 type-generic.
22638 * math/libm-test.inc: Update comment listing what functions and
22639 macros are tested.
22640 (isgreater_test): New function.
22641 (isgreaterequal_test): Likewise.
22642 (isless_test): Likewise.
22643 (islessequal_test): Likewise.
22644 (islessgreater_test): Likewise.
22645 (isunordered_test): Likewise.
22646 (main): Call the new functions.
22647
273edc5e
RM
226482012-10-09 Roland McGrath <roland@hack.frob.com>
22649
b8493de0
RM
22650 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22651 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22652 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22653 * sysdeps/i386/configure: Regenerated.
22654 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22655 * sysdeps/mach/configure: Regenerated.
22656 * sysdeps/mach/hurd/configure: Regenerated.
22657 * sysdeps/powerpc/configure: Regenerated.
22658 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22659 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22660 * sysdeps/s390/s390-32/configure: Regenerated.
22661 * sysdeps/s390/s390-64/configure: Regenerated.
22662 * sysdeps/sh/configure: Regenerated.
22663 * sysdeps/sparc/configure: Regenerated.
22664 * sysdeps/unix/sysv/linux/configure: Regenerated.
22665 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22666 * sysdeps/x86_64/configure: Regenerated.
22667
273edc5e
RM
22668 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22669 defined. Don't check if MAP is NULL.
22670
c8450f70
JM
226712012-10-09 Joseph Myers <joseph@codesourcery.com>
22672
22673 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22674 (_G_stat64): Likewise.
22675 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22676 (_G_stat64): Likewise.
22677 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22678 instead of struct _G_stat64.
22679 * libio/fileops.c (mmap_remap_check): Likewise.
22680 (decide_maybe_mmap): Likewise.
22681 (_IO_new_file_seekoff): Likewise.
22682 (_IO_file_stat): Likewise.
22683 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22684 _G_off64_t.
22685 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22686 instead of struct _G_stat64.
22687 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22688
57e605ba
MK
226892012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22690
22691 [BZ #14602]
22692 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22693 Replace with ...
22694 (CHECK_EOL): New macro.
22695 (two_way_short_needle): Check beginning of haystack for EOL. Use
22696 CHECK_EOL.
22697 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22698 Replace with CHECK_EOL.
22699 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22700 Replace with CHECK_EOL.
22701
ef1bb361
JM
227022012-10-08 Joseph Myers <joseph@codesourcery.com>
22703
22704 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22705 type-generic.
22706 * math/libm-test.inc: Update comment listing what functions and
22707 macros are tested.
22708 (finite_test): New function.
22709 (isinf_test): Likewise.
22710 (isnan_test): Likewise.
22711 (fpclassify_test): Test subnormal input.
22712 (isfinite_test): Likewise.
22713 (isnormal_test): Likewise.
22714 (main): Call the new functions.
22715
55f11534
JN
227162012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22717
22718 [BZ #14660]
22719 * Makerules (%.dynsym): Force C locale when running
22720 $(OBJDUMP) --dynamic-syms.
22721
1ab29350
AS
227222012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22723
22724 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22725 <stdint.h>.
22726
f1ecb7ef
DM
227272012-10-06 David S. Miller <davem@davemloft.net>
22728
22729 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22730 upper 32-bits of the length value in %o2 since we use branch-on-register
22731 tests which consider the entire 64-bit register.
22732
5d41d91a
L
227332012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22734
22735 * string/test-strstr.c (check2): Add a test for page boundary.
22736
3baddb72
DM
227372012-10-05 David S. Miller <davem@davemloft.net>
22738
22739 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22740 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22741 file.
22742 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22743 sysdep_routines.
22744 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22745 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22746 and bzero when HWCAP_SPARC_CRYPTO is present.
22747
9cee5585
L
227482012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22749
d7e0dab9
L
22750 [BZ #14602]
22751 * string/test-strstr.c (check2): New function.
22752 (test_main): Call check2.
22753
03759f47
L
22754 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22755 and bug-strchr1.
22756 * string/bug-strcasestr1.c (do_test): Moved to ...
22757 * string/test-strcasestr.c (check1): Here. New function.
22758 (do_one_test): Break out result checking code into ...
22759 (check_result): This. New function.
22760 (do_one_test): Call check_result.
22761 (test_main): Call check1.
22762 * string/bug-strchr1.c (do_test): Moved to ...
22763 * string/test-strchr.c (check1): Here. New function.
22764 (do_one_test): Break out result checking code into ...
22765 (check_result): This. New function.
22766 (do_one_test): Call check_result.
22767 (test_main): Call check1.
22768 * string/bug-strstr1.c (main): Moved to ...
046f153e 22769 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22770 (do_one_test): Break out result checking code into ...
22771 (check_result): This. New function.
22772 (do_one_test): Call check_result.
22773 (test_main): Call check1.
22774 * string/bug-strcasestr1.c: Removed.
22775 * string/bug-strchr1.c: Likewise.
22776 * string/bug-strstr1.c: Likewise.
22777
53cea63e
L
22778 * elf/Makefile (dl-routines): Add hwcaps.
22779 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22780 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22781 (_dl_important_hwcaps): Moved to ...
22782 * elf/dl-hwcaps.c: Here. New file.
22783 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22784
9cee5585 22785 [BZ #14557]
bb859b06
L
22786 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22787 if IS_IN_rtld isn't defined.
22788
9cee5585
L
22789 * elf/dl-support.c (_dl_sysinfo_map): New.
22790 Include "get-dynamic-info.h" and "setup-vdso.h".
22791 (_dl_non_dynamic_init): Call setup_vdso.
22792 * elf/dynamic-link.h: Don't include <assert.h>.
22793 (elf_get_dynamic_info): Moved to ...
22794 * elf/get-dynamic-info.h: Here. New file.
22795 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22796 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22797 * elf/setup-vdso.h: Here. New file.
22798 * elf/rtld.c: Include "setup-vdso.h".
22799 (dl_main): Call setup_vdso.
22800
23c31b76
JM
228012012-10-05 Joseph Myers <joseph@codesourcery.com>
22802
28234b07
JM
22803 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22804 creal in comment listing functions tested. List finite, isinf,
22805 isnan, isless, islessequal, isgreater, isgreaterequal,
22806 islessgreater, isunordered, lgamma_r and pow10 as functions and
22807 macros not tested. Mention which functions not tested are aliases
22808 for other functions. Fix typo. Note that signs of NaNs are not
22809 tested.
22810
23c31b76
JM
22811 * scripts/config.guess: Update from config.git.
22812 * scripts/config.sub: Likewise.
22813
9043e228
RM
228142012-10-04 Roland McGrath <roland@hack.frob.com>
22815
22816 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22817 * misc/madvise.c (madvise): Renamed to __madvise.
22818 Make madvise a weak alias.
22819 * include/sys/mman.h: Declare __madvise.
22820 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22821 * sysdeps/unix/syscalls.list
22822 (madvise): Make __madvise the strong name, and madvise a weak alias.
22823 * sysdeps/unix/sysv/linux/syscalls.list
22824 (madvise, mmap): Remove redundant entries.
22825 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22826 * malloc/malloc.c (mtrim): Likewise.
22827 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22828
f57f8055
RM
228292012-10-03 Roland McGrath <roland@hack.frob.com>
22830
22831 * sysdeps/mach/hurd/dl-cache.c: File removed.
22832 * config.h.in (USE_LDCONFIG): New #undef.
22833 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22834 * configure: Regenerated.
22835 * elf/Makefile (dl-routines): Add dl-cache only under
22836 [$(use-ldconfig) = yes].
22837 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22838 cache on [USE_LDCONFIG].
22839 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22840 [USE_LDCONFIG].
22841 * elf/rtld.c (dl_main): Likewise.
22842
5bb0c10a
PT
228432012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22844
22845 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22846 _SC_LEVEL4_CACHE_LINESIZE.
22847
010188c6
RM
228482012-10-03 Roland McGrath <roland@hack.frob.com>
22849
22850 * sysdeps/unix/bsd/confstr.h: File removed.
22851
b6c5ec07
AO
228522012-10-02 Alexandre Oliva <aoliva@redhat.com>
22853
22854 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22855 sys/sdt-config.h.
22856
408223d4
RM
228572012-10-02 Roland McGrath <roland@hack.frob.com>
22858
22859 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22860 Make 'mapoff' field ElfW(Off) rather than off_t.
22861
bb9510dc
DL
228622012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22863
fc997c6e
DL
22864 * nscd/Makefile: Remove nscd-cflags and all its users.
22865 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22866 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22867
bb9510dc
DL
22868 [BZ #10631]
22869 * malloc.c (malloc_printerr): Clarify error message.
22870
05699367
L
228712012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22872
22873 [BZ #14648]
22874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22875 Set bit_FMA_Usable if FMA is supported.
22876 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22877 macro.
22878 (bit_FMA4_Usable): Updated.
22879 (index_FMA_Usable): New macro.
22880 (CPUID_FMA): Likewise
22881 (HAS_FMA): Defined with bit_FMA_Usable.
22882
51367701
RM
228832012-10-01 Roland McGrath <roland@hack.frob.com>
22884
22885 * bits/types.h (__swblk_t): Type removed.
22886 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22887 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22889 (__SWBLK_T_TYPE): Likewise.
22890 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22891 (__SWBLK_T_TYPE): Likewise.
22892 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22893 (__SWBLK_T_TYPE): Likewise.
22894 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22895 (__SWBLK_T_TYPE): Likewise.
22896
4d57bf63 228972012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22898 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22899
22900 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22901 (xdr_mapname): Use YPMAXMAP as maxsize.
22902 (xdr_peername): Use YPMAXPEER as maxsize.
22903 (xdr_keydat): Use YPAXRECORD as maxsize.
22904 (xdr_valdat): Use YPMAXRECORD as maxsize.
22905
93c65d43
RM
229062012-10-01 Roland McGrath <roland@hack.frob.com>
22907
497a03d6
RM
22908 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22909
93c65d43
RM
22910 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22911 * csu/init-first.c: ... here.
22912 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22913 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22914 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22915 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22916 * sysdeps/i386/init-first.c: File removed.
22917 * sysdeps/sh/init-first.c: File removed.
22918
bec749fd
JM
229192012-10-01 Joseph Myers <joseph@codesourcery.com>
22920
22921 [BZ #14645]
22922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22923 if x * y might underflow to zero and z is zero.
22924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22925 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22926 * math/libm-test.inc (min_subnorm_value): New variable.
22927 (fma_test): Add more tests.
22928 (fma_test_towardzero): Likewise.
22929 (fma_test_downward): Likewise
22930 (fma_test_upward): Likewise.
22931 (initialize): Set min_subnorm_value.
22932
8ec5b013
JM
229332012-09-29 Joseph Myers <joseph@codesourcery.com>
22934
22935 [BZ #14638]
22936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22937 0 + 0.
22938 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22939 mode for addition resulting in exact zero.
22940 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22942 exact 0 + 0.
22943 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22944 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22945 * math/libm-test.inc (fma_test): Add more tests.
22946 (fma_test_towardzero): New function.
22947 (fma_test_downward): Likewise.
22948 (fma_test_upward): Likewise.
22949 (main): Call the new functions.
22950
b1fa802e
DM
229512012-09-28 David S. Miller <davem@davemloft.net>
22952
22953 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22954
d3b9fd9e
RM
229552012-09-28 Roland McGrath <roland@hack.frob.com>
22956
ea4d37b3
RM
22957 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22958 instead of SIGALRM.
22959
ac51c949
RM
22960 * sysdeps/gnu/_G_config.h: Moved to ...
22961 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22962 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22963 * sysdeps/generic/_G_config.h: ... here.
22964
28c195f7
RM
22965 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22966
848917f9
RM
22967 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22968
6bacf05b
RM
22969 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22970 Conditionalize target on [libnss_test1.so-version].
22971
91363dbb
RM
22972 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22973
cc87f7d8
RM
22974 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22975 (elfobjdir): Move out of conditionals.
22976
b1c608fe
RM
22977 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22978 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22979 (__nss_lookup_function): Conditionalize label remove_from_tree on
22980 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22981
1d9a6d96
DM
229822012-09-28 David S. Miller <davem@davemloft.net>
22983
22984 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22985 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22986 file.
22987 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22988 sysdep_routines.
22989 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22990 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22991 when HWCAP_SPARC_CRYPTO is present.
22992
72581615
PT
229932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22994
22995 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22996
715a900c
JL
229972012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22998
22999 [BZ #6530]
23000 * stdio-common/vfprintf.c (process_string_arg): Revert
23001 2000-07-22 change.
23002
230032011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23004
23005 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23006 for testcase.
23007 * stdio-common/tst-sprintf.c: Include <locale.h>
23008 (main): Test sprintf's handling of incomplete multibyte
23009 characters.
23010
9bac1d86
L
230112012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23012
23013 * elf/dl-runtime.c (VERSYMIDX): Removed.
23014 * elf/dl-version.c (VERSYMIDX): Likewise.
23015 * elf/do-rel.h (VERSYMIDX): Likewise.
23016 (VALIDX): Likewise.
23017 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23018 * elf/rtld.c (VALIDX): Likewise.
23019 (ADDRIDX): Likewise.
9bac1d86
L
23020 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23021 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23022 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23023 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23024 (VALIDX): Likewise.
23025 (ADDRIDX): Likewise.
9bac1d86 23026
b31606c0
PT
230272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23028
23029 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23030
11541177
JL
230312012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23032
23033 [BZ #11438]
23034 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23035 to global scope.
23036 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23037 addresses are in the same scope as 192.0.2/24.
23038 * posix/gai.conf: Document new scope table defaults.
23039
adb26fae
SP
230402012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23041
23042 [BZ #5298]
23043 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23044 for ftell. Compute offsets from write pointers instead.
23045 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23046
4573c6b0
SP
230472012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23048
23049 [BZ #14543]
23050 * libio/Makefile (tests): New test case tst-fseek.
23051 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23052 combination works in wide mode.
23053 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23054 state when the external buffer state changes.
23055
aa9bbfe6
DM
230562012-09-27 David S. Miller <davem@davemloft.net>
23057
23058 [BZ #14376]
23059 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23060 pass reloc->r_addend in as the 'high' argument to
23061 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23062
784421e7
DM
23063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23064
c39bc8b8
PT
230652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23066
23067 * rt/tst-aio2.c: Include <pthread.h>.
23068 * rt/tst-aio3.c: Likewise.
23069
1ccc2399
SE
230702012-09-27 Steve Ellcey <sellcey@mips.com>
23071
23072 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23073
31ed4153
L
230742012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23075
25f5f885
L
23076 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23077 contents on [SHARED].
31ed4153 23078
b7bfe116
MP
230792012-09-26 Marek Polacek <polacek@redhat.com>
23080
23081 [BZ #14530]
23082 [BZ #13741]
23083 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23084 for C++ and GCC <4.3 as well as for non GCC compilers.
23085
43c4edba
MT
230862012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23087
23088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23089
6a1bf82f
RM
230902012-09-25 Roland McGrath <roland@hack.frob.com>
23091
23092 * Makefile.in (all, install): Declare with .PHONY.
23093 Reported by Michael Hope <michael.hope@linaro.org>.
23094
8ad11b9a
TMQMF
230952012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23096
23097 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23098 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23099 system header.
23100 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23101 Likewise.
23102 (sydep_routines): Add the new and the internal functions.
23103 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23104 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23106 (GLIBC_2.17): Add the new function.
23107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23108 (GLIBC_2.17): Likewise.
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23110 (GLIBC_2.17): Likewise.
23111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23112 (GLIBC_2.17): Likewise.
23113 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23114
7e2fca8d
AM
231152012-09-25 Alan Modra <amodra@gmail.com>
23116
23117 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23118 Add release barrier before setting once_control to say
23119 initialisation is done. Add hints on lwarx. Use macro in
23120 place of isync.
23121 (clear_once_control): Add release barrier.
23122
b87c4b24
JM
231232012-09-25 Joseph Myers <joseph@codesourcery.com>
23124
d032e0d2
JM
23125 [BZ #13629]
23126 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23127 specially.
23128 * math/s_clog10.c (__clog10): Likewise.
23129 * math/s_clog10f.c (__clog10f): Likewise.
23130 * math/s_clog10l.c (__clog10l): Likewise.
23131 * math/s_clogf.c (__clogf): Likewise.
23132 * math/s_clogl.c (__clogl): Likewise.
23133 * math/Makefile (libm-calls): Add x2y2m1.
23134 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23135 (__x2y2m1): Likewise.
23136 (__x2y2m1l): Likewise.
23137 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23138 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23139 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23140 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23141 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23142 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23143 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23144 * sysdeps/i386/fpu/libm-test-ulps: Update.
23145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23146
b87c4b24
JM
23147 [BZ #14621]
23148 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23149 int as type of variable DEPTH.
23150 (glob): Use size_t instead of int as type of variables NEWCOUNT
23151 and OLD_PATHC.
23152
6d3bf199
LD
231532012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23154
22bf5c17
LD
23155 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23156 Add s_sincosf-sse2.
23157 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23158 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23159 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23160 macros for using routine as __sincosf_ia32.
23161 Use macro for function declaration and weak_alias.
23162 * sysdeps/i386/fpu/libm-test-ulps: Update.
23163
23164 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23166
23167 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23168 subnormal argument.
23169 * math/s_cexpf.c (__cexpf): Likewise.
23170 * math/s_csinf.c (__csinf): Likewise.
23171 * math/s_csinhf.c (__csinhf): Likewise.
23172 * math/s_ctanf.c (__ctanf): Likewise.
23173 * math/s_ctanhf.c (__ctanhf): Likewise.
23174 * math/s_ccosh.c (__ccoshf): Likewise.
23175 * math/s_cexp.c (__cexpl): Likewise.
23176 * math/s_csin.c (__csin): Likewise.
23177 * math/s_csinh.c (__csinh): Likewise.
23178 * math/s_ctan.c (__ctan): Likewise.
23179 * math/s_ctanh.c (ctanh): Likewise.
23180 * math/s_ccoshl.c (__ccoshl): Likewise.
23181 * math/s_cexpl.c (__cexpl): Likewise.
23182 * math/s_csinl.c (__csinl): Likewise.
23183 * math/s_csinhl.c (__csinhl): Likewise.
23184 * math/s_ctanl.c (__ctanl): Likewise.
23185 * math/s_ctanhl.c (__ctanhl): Likewise.
23186
203e5603
JM
231872012-09-25 Joseph Myers <joseph@codesourcery.com>
23188
23189 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23190 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23191 (_IO_off_t): Define to __off_t, not _G_off_t.
23192 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23193 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23194 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23195 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23196 type of __dummy and __dummy2 fields.
23197 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23198 (_G_ssize_t): Likewise.
23199 (_G_off_t): Likewise.
23200 (_G_pid_t): Likewise.
23201 (_G_uid_t): Likewise.
23202 (_G_wchar_t): Likewise.
23203 (_G_wint_t): Likewise.
23204 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23205 (_G_ssize_t): Likewise.
23206 (_G_off_t): Likewise.
23207 (_G_pid_t): Likewise.
23208 (_G_uid_t): Likewise.
23209 (_G_wchar_t): Likewise.
23210 (_G_wint_t): Likewise.
23211 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23212 (_G_ssize_t): Likewise.
23213 (_G_off_t): Likewise.
23214 (_G_pid_t): Likewise.
23215 (_G_uid_t): Likewise.
23216 (_G_wchar_t): Likewise.
23217 (_G_wint_t): Likewise.
23218
9fab36eb
SP
232192012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23220
23221 * malloc/arena.c: Include malloc-sysdep.h.
23222 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23223 is sufficient to shrink the heap or an unmap is needed.
23224 * sysdeps/generic/malloc-sysdep.h: New file. Define
23225 new function check_may_shrink_heap.
23226 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23227 new function check_may_shrink_heap.
23228
2b4f00d1
SP
232292012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23230
23231 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23232 comments.
23233
9a9028b1
DL
232342012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23235
57c69bef
DL
23236 * catgets/test-gencat.sh: Add "set -e".
23237 * elf/tst-pathopt.sh: Likewise.
23238 * grp/tst_fgetgrent.sh: Likewise.
23239 * iconvdata/run-iconv-test.sh: Likewise.
23240 * intl/tst-gettext.sh: Likewise.
23241 * intl/tst-gettext2.sh: Likewise.
23242 * intl/tst-gettext4.sh: Likewise.
23243 * intl/tst-gettext6.sh: Likewise.
23244 * intl/tst-translit.sh: Likewise.
23245 * io/ftwtest-sh: Likewise.
23246 * libio/test-freopen.sh: Likewise.
23247 * malloc/tst-mtrace.sh: Likewise.
23248 * posix/globtest.sh: Likewise.
23249 * posix/tst-getconf.sh: Likewise.
23250 * posix/wordexp-tst.sh: Likewise.
23251 * stdio-common/tst-printf.sh: Likewise.
23252 * stdio-common/tst-unbputc.sh: Likewise.
23253 * stdlib/tst-fmtmsg.sh: Likewise.
23254 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23255 * catgets/Makefile: Do not specify -e option when running
23256 testsuite shell scripts.
23257 * elf/Makefile: Likewise.
23258 * grp/Makefile: Likewise.
23259 * iconvdata/Makefile: Likewise.
23260 * intl/Makefile: Likewise.
23261 * io/Makefile: Likewise.
23262 * libio/Makefile: Likewise.
23263 * malloc/Makefile: Likewise.
23264 * posix/Makefile: Likewise.
23265 * stdio-common/Makefile: Likewise.
23266 * stdlib/Makefile: Likewise.
23267 * sysdeps/x86_64/Makefile: Likewise.
23268
9a9028b1
DL
23269 * io/ftwtest-sh: Add copyright header.
23270 * posix/globtest.sh: Likewise.
23271 * posix/tst-getconf.sh: Likewise.
23272 * posix/wordexp-tst.sh: Likewise.
23273 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23274
ced6f16e
L
232752012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23276
94b32c39
L
23277 [BZ #13679]
23278 * Makeconfig (+link): Defined as $(+link-static) if
23279 $(build-shared) isn't yes.
23280 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23281 isn't yes.
23282 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23283
189e935b
L
23284 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23285
ced6f16e
L
23286 [BZ #14562]
23287 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23288 new chunk size with MALLOC_ALIGN_MASK.
23289
a9f8e53a
JM
232902012-09-24 Joseph Myers <joseph@codesourcery.com>
23291
23292 [BZ #5044]
23293 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23294 <rounding-mode.h>.
23295 (__printf_fphex): Determine rounding using get_rounding_mode and
23296 round_away.
23297 * stdio-common/tst-printf-round.c (struct hex_test): New
23298 structure.
23299 (hex_tests): New variable.
23300 (test_hex_in_one_mode): New function.
23301 (do_test): Also run tests for hex float output.
23302
43153109
JM
233032012-09-21 Joseph Myers <joseph@codesourcery.com>
23304
23305 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23306 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23307 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23308 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23309 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23310 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23311 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23312 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23313
8a26625d
JM
233142012-09-20 Joseph Myers <joseph@codesourcery.com>
23315
23316 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23317 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23318 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23319 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23320
f3fd569c
DL
233212012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23322
23323 [BZ #14579]
23324 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23325 mode only.
23326 * elf/tst-rtld-load-self.sh: New test.
23327 * elf/Makefile: Run it.
23328
63bbedd4
JM
233292012-09-18 Joseph Myers <joseph@codesourcery.com>
23330
23331 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23332 (tst-writev-ENV): Remove.
23333 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23334
626f8b6a
CM
233352012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23336
23337 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23338
b7aaa4d6
JM
233392012-09-17 Joseph Myers <joseph@codesourcery.com>
23340
23341 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23342 unconditional.
23343 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23344 Likewise.
23345 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23346 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23347 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23348 Likewise.
23349
65513990
L
233502012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23351
23352 [BZ #14587]
23353 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23354 * config.make.in (have-cpp-asm-debuginfo): Removed.
23355 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23356 * configure: Regenerated.
23357
784761be
JM
233582012-09-14 Joseph Myers <joseph@codesourcery.com>
23359
23360 [BZ #5044]
23361 * stdio-common/printf_fp.c: Include <stdbool.h> and
23362 <rounding-mode.h>.
23363 (___printf_fp): Determine rounding using get_rounding_mode and
23364 round_away.
23365 * stdio-common/tst-printf-round.c: New file.
23366 * stdio-common/Makefile (tests): Add tst-printf-round.
23367 (link-libm): New variable.
23368 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23369
9503345f
L
233702012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23371
23372 [BZ #14576]
23373 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23374 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23375 Likewise.
23376 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23377 Likewise.
23378
ad35fc00
JM
233792012-09-13 Joseph Myers <joseph@codesourcery.com>
23380
23381 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23382 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23383 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23384 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23385
6c9b0f68
JM
233862012-09-12 Joseph Myers <joseph@codesourcery.com>
23387
23388 [BZ #14518]
23389 * include/rounding-mode.h: New file.
23390 * sysdeps/generic/get-rounding-mode.h: Likewise.
23391 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23392 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23393 (MAX_VALUE): New macro.
23394 (MIN_VALUE): Likewise.
23395 (overflow_value): New function.
23396 (underflow_value): Likewise.
23397 (round_and_return): Use overflow_value and underflow_value to
23398 determine return values in overflow and underflow cases. Use
23399 round_away to determine rounding depending on rounding mode.
23400 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23401 determine return values in overflow and underflow cases.
23402 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23403 (struct test_results): New structure.
23404 (struct test): Use struct test_results to store expected results
23405 for all rounding modes.
23406 (TEST): Include expected results for all rounding modes.
23407 (test_in_one_mode): New function.
23408 (do_test): Use test_in_one_mode to compute and check results.
23409 Check results for all rounding modes.
23410 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23411 $(link-libm).
23412
19fcedd5
AM
234132012-12-09 Allan McRae <allan@archlinux.org>
23414
1e9d84cd 23415 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23416
8bbfd2f1
JM
234172012-09-11 Joseph Myers <joseph@codesourcery.com>
23418
23419 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23420 (_G_int32_t): Likewise.
23421 (_G_uint16_t): Likewise.
23422 (_G_uint32_t): Likewise.
23423 (_G_HAVE_BOOL): Likewise.
23424 (_G_HAVE_ATEXIT): Likewise.
23425 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23426 (_G_HAVE_IO_FILE_OPEN): Likewise.
23427 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23428 (_G_int32_t): Likewise.
23429 (_G_uint16_t): Likewise.
23430 (_G_uint32_t): Likewise.
23431 (_G_HAVE_BOOL): Likewise.
23432 (_G_HAVE_ATEXIT): Likewise.
23433 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23434 (_G_HAVE_IO_FILE_OPEN): Likewise.
23435 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23436 (_G_int32_t): Likewise.
23437 (_G_uint16_t): Likewise.
23438 (_G_uint32_t): Likewise.
23439 (_G_HAVE_BOOL): Likewise.
23440 (_G_HAVE_ATEXIT): Likewise.
23441 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23442 (_G_HAVE_IO_FILE_OPEN): Likewise.
23443
b1dc5912
L
234442012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23445
23446 * csu/libc-tls.c: Update copyright years.
23447
0e886ef9
JM
234482012-09-10 Joseph Myers <joseph@codesourcery.com>
23449
28361c5e
JM
23450 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23451 [!_G_USING_THUNKS]: Remove conditional code.
23452 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23453 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23454
0e886ef9
JM
23455 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23456 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23457 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23458 (_G_VTABLE_LABEL_PREFIX): Likewise.
23459 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23460 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23461 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23462 (_G_VTABLE_LABEL_PREFIX): Likewise.
23463 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23464 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23465 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23466 (_G_VTABLE_LABEL_PREFIX): Likewise.
23467 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23468
bcba7aa2
L
234692012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23470
23471 * libio/Makefile: Include ../Makeconfig before tests.
23472 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23473 only if $(build-shared) is yes.
23474
06585ee8
L
23475 * iconv/gconv_db.c: Update copyright years.
23476
80ccd52c
LD
234772012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23478
23479 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23480 unwind info if defined PIC. Fix special cases description.
23481 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23482
23483 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23484 DP_HI_MASK entry.
23485 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23486
691bc9c1
L
234872012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23488
3d9b46b3
L
23489 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23490
de2139a9
L
23491 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23492 is NULL.
23493
5ca78dd0
L
23494 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23495 (LDLIBS-tst-chk4): This.
23496 (LDFLAGS-tst-chk5): Renamed to ...
23497 (LDLIBS-tst-chk5): This.
23498 (LDFLAGS-tst-chk6): Renamed to ...
23499 (LDLIBS-tst-chk6): This.
23500 (LDFLAGS-tst-lfschk4): Renamed to ...
23501 (LDLIBS-tst-lfschk4): This.
23502 (LDFLAGS-tst-lfschk5): Renamed to ...
23503 (LDLIBS-tst-lfschk5): This.
23504 (LDFLAGS-tst-lfschk6): Renamed to ...
23505 (LDLIBS-tst-lfschk6): This.
23506
691bc9c1
L
23507 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23508 on $(common-objpfx)soversions.mk.
23509
65cafb1c
JM
235102012-09-07 Joseph Myers <joseph@codesourcery.com>
23511
23512 [BZ #10014]
23513 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23514 example host name.
23515
c78ab094
SP
235162012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23517
23518 * malloc/arena.c (arena_get_retry): New function that gets
23519 another arena for the caller to try its request on.
23520 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23521 current arena cannot fulfill the request.
23522 (__libc_memalign): Likewise.
23523 (__libc_memalign): Likewise.
23524 (__libc_pvalloc): Likewise.
23525 (__libc_calloc): Likewise.
23526
01f49f59
JT
235272012-09-05 John Tobey <john.tobey@gmail.com>
23528
23529 [BZ #13542]
23530 * manual/arith.texi (Operations on Complex): Fix description
23531 of carg branch cut.
23532
4c23fed5
JM
235332012-09-06 Joseph Myers <joseph@codesourcery.com>
23534
1d3c8572
JM
23535 [BZ #10014]
23536 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23537 host name.
23538
4c23fed5
JM
23539 [BZ #10038]
23540 * manual/memory.texi (Memory): Make order of menu items match
23541 order of sections.
23542
04570aaa
L
235432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23544
23545 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23546 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23547 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23548
b80af2f4
L
235492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23550
23551 * csu/libc-tls.c (static_dtv): Renamed to ...
23552 (_dl_static_dtv): This. Make it global.
23553 (_dl_initial_dtv): Removed.
23554 (__libc_setup_tls): Updated.
23555 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23556 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23557 DL_INITIAL_DTV.
23558
2abe9f15
PM
235592012-09-06 Petr Machata <pmachata@redhat.com>
23560
23561 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23562 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23563 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23564 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23565
0948c3af
L
235662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23567
23568 [BZ #14545]
23569 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23570 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23571 freeing dtv[-1].
23572
a5055ad1
L
235732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23574
23575 [BZ #14544]
23576 * Makeconfig (link-static-before-libc): Replace $(+prector)
23577 with $(+prectorT).
23578 (link-static-after-libc): Replace $(+postctor) with
23579 $(+postctorT).
23580 (link-bounded): Replace $(+prector)/$(+postctor) with
23581 $(+prectorT)/$(+postctorT).
23582 (+prectorT): New macro.
23583 (+postctorT): Likewise.
23584
ed8c2ecd
JM
235852012-09-06 Joseph Myers <joseph@codesourcery.com>
23586
23587 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23588 (round_str): Handle values above the maximum for IBM long double
23589 as inexact.
23590 * stdlib/tst-strtod-round.c (tests): Regenerated.
23591
14c996c8
AK
235922012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23593
23594 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23595 assembler flag.
23596 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23597 zarch_nohighgprs around the zarch optimized routines.
23598 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23599 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23600 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23601 for zarch.
23602
430d6ce6
DM
236032012-09-05 David S. Miller <davem@davemloft.net>
23604
23605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23606
ff04dda4
DM
23607 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23608 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23609 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23610 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23611 entries.
23612
24d4e01b
AO
236132012-09-05 Alexandre Oliva <aoliva@redhat.com>
23614
23615 * malloc/arena.c: Fold copyright years.
23616 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23617
61d58174
AO
236182012-09-05 Alexandre Oliva <aoliva@redhat.com>
23619
23620 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23621
20196a5e
AO
236222012-09-05 Alexandre Oliva <aoliva@redhat.com>
23623
23624 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23625
5c447383
AO
236262012-09-05 Alexandre Oliva <aoliva@redhat.com>
23627
23628 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23629 change internal state upon failure.
23630
fad64255
AO
236312012-09-05 Alexandre Oliva <aoliva@redhat.com>
23632
23633 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23634 * malloc/memusage.c (mmap): Likewise.
23635 (mmap64, mremap): Likewise. Adjust name in comment.
23636
1ffb8c90
SP
236372012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23638
23639 * libio/fileops.c: Fix typos in comments.
23640 * libio/oldfileops.c: Likewise.
23641 * libio/wfileops.c: Likewise.
23642
6ef9cc37
SP
236432012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23644
23645 [BZ #1349]
23646 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23647 (tst-malloc-usable-ENV): Set environment for test case.
23648 * malloc/hooks.c (malloc_check_get_size): New function to get
23649 requested size.
23650 * malloc/malloc.c (musable): Use malloc_check_get_size.
23651 * malloc/tst-malloc-usable.c: New test case.
23652
4d038ae3
AS
236532012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23654
23655 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23656
c4e85184
AM
236572012-09-05 Allan McRae <allan@archlinux.org>
23658
b9dafc56 23659 [BZ #13966]
c4e85184
AM
23660 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23661 determine header location.
23662 * configure: Regenerated.
23663
e1343020
AS
236642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23665
23666 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23667 float format.
23668 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23669 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23670 format.
e1343020
AS
23671 (test): Regenerate.
23672
0a9f1987
DM
236732012-09-04 David S. Miller <davem@davemloft.net>
23674
23675 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23676 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23677 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23678
29237804
FW
236792012-09-04 Florian Weimer <fweimer@redhat.com>
23680
23681 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23682 failures.
23683
edb3cb88
FW
23684 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23685
60160d83
JM
236862012-09-04 Joseph Myers <joseph@codesourcery.com>
23687
23688 [BZ #9914]
23689 * libio/iogetdelim.c: Include <limits.h>.
23690 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23691 + len + 1 would overflow.
23692
bcd6c8dc
AJ
236932012-09-03 Andreas Jaeger <aj@suse.de>
23694
23695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23696 * sysdeps/i386/fpu/libm-test-ulps: Update.
23697
4ffffbd2
LD
236982012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23699
23700 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23701 Add s_sinf-sse2, s_conf-sse2.
23702
23703 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23704 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23705 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23706 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23707
23708 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23709 for using routine as __sinf_ia32.
23710 Use macro for function declaration and weak_alias.
23711 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23712 for using routine as __cosf_ia32.
23713 Use macro for function declaration and weak_alias.
23714
23715 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23716 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23717
23718 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23719 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23721
23722 * math/libm-test.inc (cos_test): Add more test cases.
23723 (sin_test): Likewise.
23724 (sincos_test): Likewise.
23725
511fa286
AK
237262012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23727
23728 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23729 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23730 hidden.
23731 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23732
5f30cfec
L
237332012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23734
23735 [BZ #14538]
23736 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23737 first element of the GOT.
23738 (elf_machine_load_address): Return the difference between
23739 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23740
0786794f
AM
237412012-09-01 Allan McRae <allan@archlinux.org>
23742
5f30cfec
L
23743 [BZ #13412]
23744 * configure.in (AWK): Require gawk version 3.0 or later.
23745 * configure: Regenerated.
0786794f 23746
26889eac
JM
237472012-09-01 Joseph Myers <joseph@codesourcery.com>
23748
23749 * sysdeps/unix/sysv/linux/kernel-features.h
23750 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23751 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23752 [__NR_clock_getres]: Make code unconditional.
23753 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23754 (clock_getcpuclockid): Remove code left unreachable by removal of
23755 conditionals.
23756 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23757 code unconditional.
23758 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23759 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23760 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23761 Make code unconditional.
23762 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23763 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23764 * sysdeps/unix/sysv/linux/clock_settime.c
23765 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23766 conditional code.
23767 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23768 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23769
d22e28b0
L
237702012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23771
23772 [BZ #14476]
23773 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23774 scripts/test-installation.pl.
23775
23776 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23777 and $ld_so_version if it is set.
23778
050af9c4
SP
237792012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23780
23781 [BZ #14516]
23782 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23783 failure if reading from procfs failed.
23784 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23785
ad845c0b
JM
237862012-08-27 Joseph Myers <joseph@codesourcery.com>
23787
23788 * sysdeps/unix/sysv/linux/kernel-features.h
23789 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23790 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23791 Remove conditional code.
23792 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23793 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23794 Remove conditional code.
23795 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23796 * sysdeps/unix/sysv/linux/i386/fxstat.c
23797 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23798 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23799 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23800 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23801 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23802 * sysdeps/unix/sysv/linux/i386/lxstat.c
23803 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23804 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23805 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23806 Remove conditional code.
23807 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23808 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23809 Remove conditional code.
23810 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23811 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23812 <kernel-features.h>.
23813 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23814 Remove.
23815 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23816 Remove conditional code.
23817 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23818 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23819 Remove conditional.
23820
5dbf56af
MF
238212012-08-27 Mike Frysinger <vapier@gentoo.org>
23822
23823 [BZ #5400]
23824 * NEWS: Add fixed bug number.
23825
d6e70f43
JM
238262012-08-27 Joseph Myers <joseph@codesourcery.com>
23827
7efb4737
JM
23828 [BZ #14519]
23829 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23830 underflowing exponent in case of negative sign.
23831 * stdlib/tst-strtod-round-data: Add more tests.
23832 * stdlib/tst-strtod-round.c (tests): Regenerated.
23833
af92131a
JM
23834 [BZ #3479]
23835 * stdlib/strtod_l.c (NDIG): Remove.
23836 (HEXNDIG): Likewise.
23837 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23838 smallest representable value.
23839 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23840 lie within an exact representation of 1/2 ulp of the result.
23841 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23842 unconditionally.
23843 (TENS_P9_IDX): Define unconditionally.
23844 (TENS_P9_SIZE): Likewise.
23845 (TENS_P10_IDX): Likewise.
23846 (TENS_P10_SIZE): Likewise.
23847 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23848 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23849 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23850 entries for 10^2^13 and 10^2^14.
23851 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23852 (TENS_P13_IDX): Define.
23853 (TENS_P13_SIZE): Likewise.
23854 (TENS_P14_IDX): Likewise.
23855 (TENS_P14_SIZE): Likewise.
23856 (_fpioconst_pow10): Change array size to
23857 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23858 unconditional.
23859 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23860 1024]: Add entries for 10^2^13 and 10^2^14.
23861 [LAST_POW10 > _LAST_POW10]: Remove #error.
23862 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23863 (_fpioconst_pow10): Change array size to
23864 FPIOCONST_POW10_ARRAY_SIZE.
23865 * stdlib/gen-fpioconst.c: New file.
23866 * stdlib/gen-tst-strtod-round.c: Likewise.
23867 * stdlib/tst-strtod-round-data: Likewise.
23868 * stdlib/tst-strtod-round.c: Likewise.
23869 * stdlib/Makefile (tests): Add tst-strtod-round.
23870
d6e70f43
JM
23871 [BZ #14459]
23872 * stdlib/strtod_l.c: Include <stdint.h>.
23873 (NDEBUG): Do not define.
23874 (round_and_return): Change EXPONENT parameter to type intmax_t.
23875 Rearrange calculations to avoid internal overflow possibilities.
23876 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23877 Rearrange calculations to avoid internal overflow possibilities.
23878 Assert that number fits inside MPNSIZE limbs.
23879 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23880 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23881 calculations and add assertions to avoid internal overflow
23882 possibilities. Add casts to avoid signed/unsigned operations.
23883 * stdlib/tst-strtod-overflow.c: New file.
23884 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23885
1f529f7d
MP
238862012-08-25 Marek Polacek <polacek@redhat.com>
23887
23888 * time/time.h: Fix some typos in comments.
23889
59a629f1
RM
238902012-08-23 Roland McGrath <roland@hack.frob.com>
23891
23892 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23893 * posix/tst-rfc3484-2.c: Likewise.
23894 * posix/tst-rfc3484-3.c: Likewise.
23895
d3bafbc9
SM
238962012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23897
23898 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23899 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23900
4efcc022
JM
239012012-08-23 Joseph Myers <joseph@codesourcery.com>
23902
23903 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23904 #include of fxstatat64.c.
23905
3cc3ef96
RM
239062012-08-22 Roland McGrath <roland@hack.frob.com>
23907
f04e2132
RM
23908 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23909 * shadow/getspent_r.c: Likewise.
23910 * shadow/getspnam.c: Likewise.
23911 * shadow/getspnam_r.c: Likewise.
23912 * gshadow/getsgent.c: Likewise.
23913 * gshadow/getsgent_r.c: Likewise.
23914 * gshadow/getsgnam.c: Likewise.
23915 * gshadow/getsgnam_r.c: Likewise.
23916 * inet/getnetbyad.c: Likewise.
23917 * inet/getnetbyad_r.c: Likewise.
23918 * inet/getnetbynm.c: Likewise.
23919 * inet/getnetbynm_r.c: Likewise.
23920 * inet/getnetent.c: Likewise.
23921 * inet/getnetent_r.c: Likewise.
23922 * inet/getproto.c: Likewise.
23923 * inet/getproto_r.c: Likewise.
23924 * inet/getprtent.c: Likewise.
23925 * inet/getprtent_r.c: Likewise.
23926 * inet/getprtname.c: Likewise.
23927 * inet/getprtname_r.c: Likewise.
23928 * inet/getrpcbyname.c: Likewise.
23929 * inet/getrpcbyname_r.c: Likewise.
23930 * inet/getrpcbynumber.c: Likewise.
23931 * inet/getrpcbynumber_r.c: Likewise.
23932 * inet/getrpcent.c: Likewise.
23933 * inet/getrpcent_r.c: Likewise.
23934 * inet/getaliasent.c: Likewise.
23935 * inet/getaliasent_r.c: Likewise.
23936 * inet/getaliasname.c: Likewise.
23937 * inet/getaliasname_r.c: Likewise.
23938 * nscd/getgrgid_r.c: Likewise.
23939 * nscd/getgrnam_r.c: Likewise.
23940 * nscd/gethstbyad_r.c: Likewise.
23941 * nscd/gethstbynm3_r.c: Likewise.
23942 * nscd/getpwnam_r.c: Likewise.
23943 * nscd/getpwuid_r.c: Likewise.
23944 * nscd/getsrvbynm_r.c: Likewise.
23945 * nscd/getsrvbypt_r.c: Likewise.
23946 * nscd/gai.c: Likewise.
23947
c53d909c
RM
23948 * configure.in (build_nscd): New substituted variable, set
23949 by --disable-build-nscd and defaults to $use_nscd.
23950 * configure: Regenerated.
23951 * config.make.in (build-nscd): New substituted variable.
23952 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23953 Change conditional to require [$(build-nscd) = yes] as well.
23954 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23955
3cc3ef96
RM
23956 [BZ# 13696]
23957 * configure.in (use_nscd): New substituted variable, set by
23958 --disable-nscd. If enabled, define USE_NSCD.
23959 * configure: Regenerated.
23960 * config.h.in: Add USE_NSCD.
23961 * config.make.in (use-nscd): New substituted variable.
23962 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23963 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23964 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23965 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23966 (CFLAGS-getgrnam_r.c): Likewise.
23967 (CFLAGS-initgroups.c): Likewise.
23968 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23969 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23970 Variables removed.
23971 * inet/getnetgrent_r.c
23972 (nscd_setnetgrent): New function, broken out of ...
23973 (setnetgrent): ... here. Call it.
23974 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23975 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23976 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23977 * nscd/Makefile (routines, aux): Move definitions after include of
23978 Makeconfig. Conditionalize on [$(use-nscd) != no].
23979 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23980 Conditionalize on [USE_NSCD].
23981 (is_nscd, nscd_init_cb): Likewise.
23982 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23983 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23984 * nss/nss_db/db-init.c: Likewise.
23985 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23986 [USE_NSCD].
23987 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23988 (make_request): Use it.
23989 (cache_valid_p): New function.
23990 (__check_pf): Use it.
23991 * NEWS: Add item for --disable-nscd.
23992
07e51550
DL
239932012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23994
23995 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23996 to support sed >= 4.2.1-20-ga9bf076.
23997 * configure: Regenerated.
23998
35a5b08b
RM
239992012-08-22 Roland McGrath <roland@hack.frob.com>
24000
24001 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24002 Conditionalize whole body on [IREL].
24003
8479f23a
JL
240042012-08-22 Jeff Law <law@redhat.com>
24005
24006 [BZ #14505]
24007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24008 if the family is PF_UNSPEC.
24009
48da0b21
MF
240102012-08-22 Mike Frysinger <vapier@gentoo.org>
24011
24012 * Makerules (lib-version): Rename from V.
24013 (install-lib-nosubdir): Change V to lib-version.
24014
15d0da8c
WS
240152012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24016
24017 [BZ #14252]
24018 * powerpc32/power6/wcschr.c: New file.
24019 * powerpc32/power6/wcscpy.c: New file.
24020 * powerpc32/power6/wcsrchr.c: New file.
24021 * powerpc64/power6/wcschr.c: New file.
24022 * powerpc64/power6/wcscpy.c: New file.
24023 * powerpc64/power6/wcsrchr.c: New file.
24024
bcca0895
MK
240252012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24026
24027 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24028 (two_way_short_needle): Use it.
5a4aaa33
RM
24029 * string/strstr.c (AVAILABLE1_USES_J): Define.
24030 * string/strcasestr.c: Likewise.
99677e57
MK
24031
24032 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24033 array references.
24034 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24035
400726de
MK
24036 [BZ #11607]
24037 * NEWS: Add an entry.
24038 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24039 define their defaults.
24040 (two_way_short_needle): Detect end-of-string on-the-fly.
24041 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24042 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24043 * string/bug-strcasestr1.c: New test.
24044 * string/Makefile: Run it.
24045
20a71f2c
MK
240462012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24047
24048 [BZ #11607]
24049 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24050 the first character.
24051
21ad0558
RM
240522012-08-21 Roland McGrath <roland@hack.frob.com>
24053
24054 * csu/elf-init.c (__libc_csu_irel): Function removed.
24055 * csu/libc-start.c (apply_irel): New function.
24056 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24057
0e1d9911
JM
240582012-08-21 Joseph Myers <joseph@codesourcery.com>
24059
24060 * sysdeps/unix/sysv/linux/kernel-features.h
24061 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24062 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24063 <kernel-features.h>.
24064 [__NR_fadvise64_64]: Make code unconditional.
24065 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24066 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24067 !__NR_fadvise64_64)]: Likewise.
24068 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24069 !__NR_fadvise64_64))]: Likewise.
24070 [__NR_fadvise64]: Make code unconditional.
24071 [!__NR_fadvise64]: Remove conditional code.
24072 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24073 <kernel-features.h>.
24074 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24075 unconditional.
24076 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24077 conditional code.
24078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24079 not include <kernel-features.h>.
24080 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24081 unconditional.
24082 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24083 conditional code.
24084 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24085 include <kernel-features.h>.
24086 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24087 unconditional.
24088 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24089 conditional code.
24090
14a50c9d
WS
240912012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24092
24093 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24094 slight instruction rearrangements per scrollpipe analysis.
24095 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24096
c0f4faf0
RM
240972012-08-20 Roland McGrath <roland@hack.frob.com>
24098
696da859
RM
24099 * manual/syslog.texi (syslog; vsyslog, closelog):
24100 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24101 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24102
c0f4faf0
RM
24103 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24104 DSOCAPS to match condition on defining it.
24105
348363b2
JM
241062012-08-20 Joseph Myers <joseph@codesourcery.com>
24107
a35cbf28
JM
24108 * sysdeps/unix/sysv/linux/kernel-features.h
24109 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24111 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24112 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24114 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24115 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24117 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24118 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24119
445f7ecd
JM
24120 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24121 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24122
348363b2
JM
24123 * sysdeps/unix/sysv/linux/kernel-features.h
24124 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24125 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24126 unconditional.
24127 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24128 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24129 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24130 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24131 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24132 Make code unconditional.
24133 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24134 (__mmap64) [!__NR_mmap2]: Likewise.
24135 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24136 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24137 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24138 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24139 [__NR_mmap2]: Make code unconditional.
24140 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24141 (__mmap64) [!__NR_mmap2]: Likewise.
24142
bc5bc0e5
AK
241432012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24144
24145 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24146
88d506de
AJ
241472012-08-18 Andreas Jaeger <aj@suse.de>
24148
24149 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24150
493387d2
MF
241512012-08-18 Mike Frysinger <vapier@gentoo.org>
24152
24153 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24154 * include/unistd.h (__have_sock_cloexec): Likewise.
24155 (__have_pipe2): Likewise.
24156 (__have_dup3): Likewise.
24157
a277af22
MF
241582012-08-18 Mike Frysinger <vapier@gentoo.org>
24159
24160 [BZ #9685]
24161 * include/unistd.h (__have_pipe2): Change define into an extern int.
24162 (__have_dup3): Likewise.
24163 * socket/have_sock_cloexec.c: Include fcntl.h.
24164 (__have_pipe2): New variable.
24165 (__have_dup3): Likewise.
24166
fdab8fd3
MF
241672012-08-17 Mike Frysinger <vapier@gentoo.org>
24168
24169 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24170
31035e80
MP
241712012-08-17 Marek Polacek <polacek@redhat.com>
24172
24173 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24174 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24175
3bd9e993
RM
241762012-08-17 Roland McGrath <roland@hack.frob.com>
24177
c91c505f
RM
24178 * configure.in: Add AC_SUBST for sysheaders.
24179 * configure: Regenerated.
24180 * config.make.in (sysheaders): New substituted variable.
24181
7c6f9d53
RM
24182 * sysdeps/unix/mkfifo.c: Moved ...
24183 * sysdeps/posix/mkfifo.c: ... here.
24184 * sysdeps/unix/mkfifoat.c: Moved ...
24185 * sysdeps/posix/mkfifoat.c: ... here.
24186
24187 * sysdeps/unix/utime.c: Moved ...
24188 * sysdeps/posix/utime.c: ... here.
24189
24190 * sysdeps/unix/time.c: Moved ...
24191 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24192 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24193 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24194
24195 * sysdeps/unix/nice.c: Moved ...
24196 * sysdeps/posix/nice.c: ... here.
24197
24198 * sysdeps/unix/alarm.c: Moved ...
24199 * sysdeps/posix/alarm.c: ... here.
24200
3bd9e993
RM
24201 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24202
d1f09384
JL
242032012-08-17 Jeff Law <law@redhat.com>
24204
24205 * intl/Makefile (codeset_mo): New variable.
24206 ($(codeset_mo)): New target.
24207 (tst-codeset.out): Depend on that. Remove explicit rule.
24208 (tst-gettext3.out, tst-gettext5.out): Likewise.
24209 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24210 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24211 * intl/tst-codeset.sh: Remove.
24212 * intl/tst-gettext3.sh: Likewise.
24213 * intl/tst-gettext5.sh: Likewise.
24214
2ae1ae5c
RM
242152012-08-17 Roland McGrath <roland@hack.frob.com>
24216
c31fdb83
RM
24217 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24218 * sysdeps/unix/syscalls.list: ... here.
24219
a0844057
RM
24220 * sysdeps/posix/getaddrinfo.c
24221 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24222 (gaiconf_init, gaiconf_reload): Use them.
24223 [!_STATBUF_ST_NSEC]
24224 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24225 Define using time_t rather than struct timespec.
24226
750c1f2a
RM
24227 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24228 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24229 Macros removed.
24230 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24231 [!NO_THREADS].
24232 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24233 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24234 Likewise.
24235
2ae1ae5c
RM
24236 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24237 __libc_cleanup_push argument.
24238
e66a42f5
RM
24239 * bits/param.h: New file.
24240 * misc/sys/param.h: New file.
24241 * include/sys/param.h: New file.
24242 * misc/Makefile (headers): Add bits/param.h.
24243 * sysdeps/generic/sys/param.h: File removed.
24244 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24245 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24246 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24247 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24248
b7c08a66
RM
24249 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24250 last change.
24251
b2e1c562
RM
24252 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24253 [_IO_MTSAFE_IO].
24254 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24255 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24256 New macros.
24257
c75ccd4c
RM
24258 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24259 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24260 rather than -D_IO_MTSAFE_IO conditionally.
24261 * stdio-common/Makefile (CPPFLAGS): Likewise.
24262 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24263 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24264 Use $(libio-mtsafe).
24265 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24266 of -D_IO_MTSAFE_IO.
24267 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24268 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24269 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24270 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24271 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24272 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24273 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24274 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24275 (CFLAGS-fread_u_chk.c): Likewise.
24276 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24277 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24278 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24279 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24280 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24281 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24282 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24283 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24284 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24285
24286 * libio/Makefile: Test [$(libc-reentrant) = yes]
24287 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24288
24289 * Makeconfig
24290 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24291 * sysdeps/pthread/configure: File removed.
24292 * sysdeps/pthread/Makeconfig: New file.
24293 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24294 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24295
d9195db8
GB
242962012-08-16 Gary Benson <gbenson@redhat.com>
24297
24298 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24299 unmapping the first object in a namespace.
24300
86466cd9
RM
243012012-08-16 Roland McGrath <roland@hack.frob.com>
24302
24303 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24304 (__internal_setnetgrent): ... this. Add internal_function to
24305 definition. Add libc_hidden_def.
24306 (setnetgrent): Update caller.
24307 (internal_endnetgrent): Renamed to ...
24308 (__internal_endnetgrent): ... this. Add internal_function to
24309 definition. Add libc_hidden_def.
24310 (endnetgrent): Update caller.
24311 (internal_getnetgrent_r): Renamed to ...
24312 (__internal_getnetgrent_r): ... this. Add internal_function to
24313 definition. Add libc_hidden_def.
24314 (__getnetgrent_r): Update caller.
24315 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24316
c3c8283c
JM
243172012-08-16 Joseph Myers <joseph@codesourcery.com>
24318
24319 * stdlib/longlong.h: Update from GCC.
24320
db1ee0a8
RM
243212012-08-16 Roland McGrath <roland@hack.frob.com>
24322
24323 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24324 on _QL, which is set by umul_ppmm but never used.
24325 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24326 variables, which are set by GMP macros but never used.
24327 * stdio-common/_itowa.c (_itowa): Likewise.
24328 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24329 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24330
30f69637
CD
243312012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24332
24333 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24334 struct La_sh_regs is not constant.
24335 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24336 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24337 and struct La_sparc64_regs are not constant.
24338
93a78ac4
JM
243392012-08-16 Joseph Myers <joseph@codesourcery.com>
24340
24341 * sysdeps/unix/sysv/linux/kernel-features.h
24342 (__ASSUME_POSIX_TIMERS): Remove.
24343 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24344 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24345 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24346 Make code unconditional.
24347 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24348 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24349 Make code unconditional.
24350 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24351 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24352 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24353 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24354 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24355 Make code unconditional.
24356 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24357 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24358 (__libc_missing_posix_timers): Remove.
24359
dd924cd7
RM
243602012-08-15 Roland McGrath <roland@hack.frob.com>
24361
4b4f2771
RM
24362 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24363 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24364
601c888b
RM
24365 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24366
176790a7
RM
24367 * elf/dl-sym.c: Include <stdlib.h>.
24368
329bc018
RM
24369 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24370 constants, which avoids warnings in 32-bit builds.
24371
e04e272d
RM
24372 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24373 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24374
952bf94a
RM
24375 * misc/lseek.c: File moved to ...
24376 * io/lseek.c: ... here.
24377
7c99b50a
RM
24378 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24379
dd924cd7
RM
24380 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24381 shifting LEN more than 31 bits at once.
24382
b3f479a8
LD
243832012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24384
24385 [BZ #14195]
8c4ae0d4
RM
24386 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24387 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24388 * string/test-strncasecmp.c (check1): Renamed to...
24389 (bz12205): ...this.
24390 (bz14195): Add new testcase for two empty input strings and N > 0.
24391 (test_main): Call new testcase, adapt for renamed function.
24392
9c55864e
AJ
243932012-08-15 Andreas Jaeger <aj@suse.de>
24394
24395 [BZ #14090]
24396 * crypt/md5test2.c: New test, based on test supplied by Serge
24397 Belyshev <belyshev@depni.sinp.msu.ru>.
24398 * crypt/Makefile (xtests): Add md5test-giant..
24399 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24400
02dcb6c5
PE
244012012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24402
24403 [BZ #14090]
24404 * crypt/md5.c (md5_process_block): Don't assume the buffer
24405 length is less than 2**32.
24406 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24407 length is less than 2**64.
24408
a3f95dcc
RM
244092012-08-15 Roland McGrath <roland@hack.frob.com>
24410
be75d758
RM
24411 * string/str-two-way.h: Include <sys/param.h>.
24412 (MAX): Macro removed.
24413
7312ca90
RM
24414 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24415 Move #define and #undef of memmove to just before and after
24416 including <string.h>.
24417
9a0a5486
RM
24418 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24419 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24420 and after including <string.h>. Move declarations of
24421 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24422 to before #include "string/memmove.c".
24423
67cc348d
RM
24424 * include/dirent.h: Declare __getdirentries.
24425
a3f95dcc
RM
24426 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24427 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24428
ca98e171
MF
244292012-08-14 Mike Frysinger <vapier@gentoo.org>
24430
24431 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24432 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24433 * sysdeps/i386/configure: Regenerated.
24434 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24435 STABS_CURRENT_FILE, and STABS_FUN.
24436 (END): Remove call to STABS_FUN_END.
24437 (STABS_CURRENT_FILE1): Delete.
24438 (STABS_CURRENT_FILE): Likewise.
24439 (STABS_FUN): Likewise.
24440 (STABS_FUN_END): Likewise.
24441 (STABS_FUN2): Likewise.
24442 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24443 * sysdeps/x86_64/configure: Regenerated.
24444
5908bf46
RM
244452012-08-14 Roland McGrath <roland@hack.frob.com>
24446
24447 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24448 * elf/dl-lookup.c: Likewise.
5908bf46 24449
f2c05b9e
JM
244502012-08-14 Joseph Myers <joseph@codesourcery.com>
24451
24452 * sysdeps/unix/sysv/linux/kernel-features.h
24453 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24454 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24455 unconditionally.
24456 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24457 unconditionally.
24458 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24459 condition on __ASSUME_CLONE_THREAD_FLAGS.
24460
e11f5155
AJ
244612012-08-14 Andreas Jaeger <aj@suse.de>
24462
24463 * sysdeps/i386/fpu/libm-test-ulps: Update.
24464
51a9ba86
MK
244652012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24466
2fdd4f78
AJ
24467 * include/atomic.h (atomic_exchange_and_add): Split into ...
24468 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24469 New atomic macros.
51a9ba86 24470
ba6cba9e
MT
244712012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24472
24473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24474
42443a47
JL
244752012-08-13 Jeff Law <law@redhat.com>
24476
24477 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24478 null byte in the output string.
24479
121dce05
JM
244802012-08-10 Joseph Myers <joseph@codesourcery.com>
24481
24482 * sysdeps/unix/sysv/linux/kernel-features.h
24483 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24484 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24485 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24486 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24487 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24488 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24489 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24490
bf51f568
JL
244912012-08-09 Jeff Law <law@redhat.com>
24492
24493 [BZ #13939]
24494 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24495 When avoid_arena is set, don't retry in the that arena. Pick the
24496 next one, whatever it might be.
24497 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24498 (arena_lock): Pass in new parameter to arena_get2.
24499 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24500 arena_get2.
24501 (__libc_malloc): Unify retrying after main arena failure with
24502 __libc_memalign version.
24503 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24504
f85fa270
L
245052012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24506
24507 [BZ #14166]
24508 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24509 to __redirect_strstr.
24510 (__strstr_sse42): Use typeof __redirect_strstr.
24511 (__strstr_ia32): Likewise.
24512 (__libc_strstr): New prototype.
24513 (strstr): Renamed to ...
24514 (__libc_strstr): This.
24515 (strstr): New strong alias of __libc_strstr.
24516 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24517 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24518 __redirect_time.
24519 Include <time.h>.
24520 (__libc_time): New prototype.
24521 (time_ifunc): Replace time with __libc_time.
24522 (time): New strong alias and hidden definition of __libc_time.
24523 (__GI_time): Remove strong alias.
24524 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24525 Include <stddef.h>.
24526 (memmove): Redefined to __redirect_memmove.
24527 (__memmove_sse2): Use typeof __redirect_memmove.
24528 (__memmove_ssse3): Likewise.
24529 (__memmove_ssse3_back): Likewise.
24530 (__libc_memmove): New prototype.
24531 (memmove): Renamed to ...
24532 (__libc_memmove): This.
24533 (memmove): New strong alias of __libc_memmove.
24534
33b4a91e
MS
245352012-08-08 Mark Salter <msalter@redhat.com>
24536
24537 * elf/elf.h
24538 (R_MN10300_TLS_GD): Define.
24539 (R_MN10300_TLS_LD): Likewise.
24540 (R_MN10300_TLS_LDO): Likewise.
24541 (R_MN10300_TLS_GOTIE): Likewise.
24542 (R_MN10300_TLS_IE): Likewise.
24543 (R_MN10300_TLS_LE): Likewise.
24544 (R_MN10300_TLS_DTPMOD): Likewise.
24545 (R_MN10300_TLS_DTPOFF): Likewise.
24546 (R_MN10300_TLS_TPOFF): Likewise.
24547 (R_MN10300_SYM_DIFF): Likewise.
24548 (R_MN10300_ALIGN): Likewise.
24549 (R_MN10300_NUM): Update.
24550
b36137f1
JM
245512012-08-08 Joseph Myers <joseph@codesourcery.com>
24552
24553 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24554 Remove.
24555
cdd915fd
RM
245562012-08-08 Roland McGrath <roland@hack.frob.com>
24557
a2433aac
RM
24558 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24559
cdd915fd
RM
24560 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24561 sysdeps/unix -> sysdeps/posix move.
24562 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24563
bf9b740a
AM
245642012-08-07 Allan McRae <allan@archlinux.org>
24565
24566 [BZ #14303]
24567 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24568 (SUNOS_CPP): Likewise.
24569 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24570 not found.
24571 (open_input): Call CPP using execvp.
24572
93df14ee
JM
245732012-08-07 Joseph Myers <joseph@codesourcery.com>
24574
24575 * sysdeps/unix/sysv/linux/kernel-features.h
24576 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24577 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24578 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24579 (__ASSUME_WAITID_SYSCALL): Likewise.
24580 * sysdeps/unix/sysv/linux/dl-execstack.c
24581 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24582 code unconditional.
24583 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24584 conditional code.
24585 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24586 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24587 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24588 code.
24589 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24590 unconditional.
24591 [__ASSUME_WAITID_SYSCALL]: Likewise.
24592 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24593
d34689de
RM
245942012-08-07 Roland McGrath <roland@hack.frob.com>
24595
a281decc
RM
24596 * sysdeps/unix/closedir.c: Renamed to ...
24597 * sysdeps/posix/closedir.c: ... here.
24598 * sysdeps/unix/dirfd.c: Renamed to ...
24599 * sysdeps/posix/dirfd.c: ... here.
24600 * sysdeps/unix/dirstream.h: Renamed to ...
24601 * sysdeps/posix/dirstream.h: ... here.
24602 * sysdeps/unix/fdopendir.c: Renamed to ...
24603 * sysdeps/posix/fdopendir.c: ... here.
24604 * sysdeps/unix/opendir.c: Renamed to ...
24605 * sysdeps/posix/opendir.c: ... here.
24606 * sysdeps/unix/readdir.c: Renamed to ...
24607 * sysdeps/posix/readdir.c: ... here.
24608 * sysdeps/unix/readdir_r.c: Renamed to ...
24609 * sysdeps/posix/readdir_r.c: ... here.
24610 * sysdeps/unix/rewinddir.c: Renamed to ...
24611 * sysdeps/posix/rewinddir.c: ... here.
24612 * sysdeps/unix/seekdir.c: Renamed to ...
24613 * sysdeps/posix/seekdir.c: ... here.
24614 * sysdeps/unix/telldir.c: Renamed to ...
24615 * sysdeps/posix/telldir.c: ... here.
24616 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24617 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24618 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24619 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24620
22895b47
RM
24621 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24622 * bits/fcntl.h: ... here.
24623
707a53b6
RM
24624 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24625 not 0.
24626 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24627 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24628 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24629 (struct flock): Move l_start, l_len to the beginning.
24630 Use __pid_t for l_pid.
24631 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24632 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24633 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24634 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24635 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24636 [__USE_LARGEFILE64] (struct flock64): New type.
24637 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24638
f0bd3e25
RM
24639 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24640 * bits/dirent.h: ... here.
24641
d34689de
RM
24642 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24643 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24644
6dad2c06
JM
246452012-08-07 Joseph Myers <joseph@codesourcery.com>
24646
24647 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24648 Change from 2.6.0 to 2.6.16.
24649 * sysdeps/unix/sysv/linux/configure: Regenerated.
24650 * sysdeps/unix/sysv/linux/kernel-features.h
24651 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24652 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24653 version.
24654 (__ASSUME_UTIMES): Likewise.
24655 (__ASSUME_CLONE_STOPPED): Remove.
24656 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24657 architectures, not kernel version.
24658 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24659 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24660 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24661 (__ASSUME_WAITID_SYSCALL): Likewise.
24662 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24663 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24664 * README: State 2.6.16 as minimum Linux kernel version. Do not
24665 refer to older versions.
24666
03af9520
RM
246672012-08-06 Roland McGrath <roland@hack.frob.com>
24668
8e49df1d
RM
24669 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24670 Define alphasort64 as an alias.
24671 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24672 Define versionsort64 as an alias.
24673 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24674 Define scandir64 as an alias.
24675 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24676 Define scandirat64 as an alias.
24677 * dirent/alphasort64.c (alphasort64):
24678 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24679 * dirent/versionsort64.c: Likewise.
24680 * dirent/scandir64.c: Likewise.
24681 * dirent/scandirat64.c: Likewise.
24682 * sysdeps/wordsize-64/alphasort.c: File removed.
24683 * sysdeps/wordsize-64/alphasort64.c: File removed.
24684 * sysdeps/wordsize-64/scandir.c: File removed.
24685 * sysdeps/wordsize-64/scandir64.c: File removed.
24686 * sysdeps/wordsize-64/scandirat.c: File removed.
24687 * sysdeps/wordsize-64/scandirat64.c: File removed.
24688 * sysdeps/wordsize-64/versionsort.c: File removed.
24689 * sysdeps/wordsize-64/versionsort64.c: File removed.
24690 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24691 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24692 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24693 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24694 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24695 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24696 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24697 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24698
24699 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24700 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24701 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24703 [defined __arch64__ || defined __sparcv9]
24704 (__INO_T_MATCHES_INO64_T): New macro.
24705 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24706 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24707 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24708 * sysdeps/unix/sysv/linux/bits/dirent.h
24709 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24710 (_DIRENT_MATCHES_DIRENT64): New macro.
24711
03af9520
RM
24712 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24713 Define lockf64 as an alias.
24714 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24715 Define fseeko64 as an alias.
24716 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24717 Define ftello64 as an alias.
24718 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24719 Define _IO_fgetpos64 and fgetpos64 as aliases.
24720 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24721 Define _IO_fsetpos64 and fsetpos64 as aliases.
24722 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24723 Conditionalize body on this.
24724 * libio/fseeko64.c: Likewise.
24725 * libio/ftello64.c: Likewise.
24726 * libio/iofgetpos64.c: Likewise.
24727 * libio/iofsetpos64.c: Likewise.
24728 * sysdeps/wordsize-64/lockf.c: File removed.
24729 * sysdeps/wordsize-64/lockf64.c: File removed.
24730 * sysdeps/wordsize-64/fseeko.c: File removed.
24731 * sysdeps/wordsize-64/fseeko64.c: File removed.
24732 * sysdeps/wordsize-64/ftello.c: File removed.
24733 * sysdeps/wordsize-64/ftello64.c: File removed.
24734 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24735 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24736 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24737 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24738 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24739 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24740 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24741 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24742 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24743 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24744 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24745 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24746 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24747 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24748
24749 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24750 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24751 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24753 [defined __arch64__ || defined __sparcv9]
24754 (__OFF_T_MATCHES_OFF64_T): New macro.
24755 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24756 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24757 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24758 (__OFF_T_MATCHES_OFF64_T): New macro.
24759
c5757acd
L
247602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24761
24762 * stdlib/secure-getenv.c (__secure_getenv): Replace
24763 GLIBC_2_16 with GLIBC_2_17.
24764
3a31811e
L
247652012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24766
24767 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24768 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24769
faa2bccb
DM
247702012-08-03 David S. Miller <davem@davemloft.net>
24771
24772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24773
85fe1997
JM
247742012-08-03 Joseph Myers <joseph@codesourcery.com>
24775
24776 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24777 Remove.
24778 (__ASSUME_CORRECT_SI_PID): Likewise.
24779 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24780 (__ASSUME_TMPFS_NAME): Likewise.
24781 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24782 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24783 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24784 (HAVE_AUX_SECURE): Make definition unconditional.
24785 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24786 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24787
4f75b7a0
RM
247882012-08-03 Roland McGrath <roland@hack.frob.com>
24789
24790 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24791 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24792 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24793 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24794 __eloop_threshold instead of SYMLOOP_MAX.
24795
24796 * sysdeps/generic/eloop-threshold.h: New file.
24797 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24798 of MAXSYMLINKS.
24799 * elf/chroot_canon.c (chroot_canon): Likewise.
24800
7aab07e4
JM
248012012-08-03 Joseph Myers <joseph@codesourcery.com>
24802
24803 [BZ #13717]
24804 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24805 Change to 2.6.0 everywhere.
24806 * sysdeps/unix/sysv/linux/configure: Regenerated.
24807 * sysdeps/unix/sysv/linux/kernel-features.h
24808 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24809 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24810 kernel versions.
24811 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24812 (__ASSUME_FUTEX_REQUEUE): Remove.
24813 (__ASSUME_STATFS64): Define unconditionally.
24814 (__ASSUME_AT_SECURE): Likewise.
24815 (__ASSUME_CORRECT_SI_PID): Likewise.
24816 (__ASSUME_TGKILL): Define without depending on kernel version for
24817 i386.
24818 (__ASSUME_UTIMES): Likewise.
24819 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24820 kernel version.
24821 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24822 (__ASSUME_TMPFS_NAME): Likewise.
24823 * README: Update reference to Linux kernel versions.
24824
b67e9372
MP
248252012-08-02 Marek Polacek <polacek@redhat.com>
24826
1f529f7d 24827 [BZ# 14150]
b67e9372
MP
24828 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24829 libc_cv_asm_type_prefix with %.
24830 * configure: Regenerated.
d2441631
RM
24831 * include/libc-symbols.h: Remove comment about
24832 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24833 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24834 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24835 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24836 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24837 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24838 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24839 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24840 * elf/tst-unique2mod1.c: Likewise.
24841 * elf/tst-unique1mod2.c: Likewise.
24842 * elf/tst-unique1mod1.c: Likewise.
24843 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24844 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24845 Replace ASM_TYPE_DIRECTIVE with .type.
24846 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24847 * sysdeps/i386/sysdep.h: Likewise.
24848 * sysdeps/x86_64/sysdep.h: Likewise.
24849 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24851 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24852 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24853 * sysdeps/powerpc/powerpc32/sysdep.h:
24854 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24855 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24856 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24857 * sysdeps/i386/fpu/e_powf.S: Likewise.
24858 * sysdeps/i386/fpu/e_expl.S: Likewise.
24859 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24860 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24861 * sysdeps/i386/fpu/e_pow.S: Likewise.
24862 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24863 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24864 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24865 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24866 * sysdeps/i386/fpu/e_log2.S: Likewise.
24867 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24868 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24869 * sysdeps/i386/fpu/e_powl.S: Likewise.
24870 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24871 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24872 * sysdeps/i386/fpu/e_logl.S: Likewise.
24873 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24874 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24875 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24876 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24877 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24878 * sysdeps/i386/fpu/e_log.S: Likewise.
24879 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24880 * sysdeps/i386/fpu/e_logf.S: Likewise.
24881 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24882 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24883 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24884 * sysdeps/i386/fpu/e_log10.S: Likewise.
24885 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24886 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24887 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24888 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24889 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24890 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24891 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24892 * sysdeps/i386/i686/strtok.S: Likewise.
24893 * sysdeps/i386/i386-mcount.S: Likewise.
24894 * sysdeps/i386/strtok.S: Likewise.
24895 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24896 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24897 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24898 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24899 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24900 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24901 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24902 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24903 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24904 * sysdeps/x86_64/_mcount.S: Likewise.
24905 * sysdeps/x86_64/strtok.S: Likewise.
24906 * sysdeps/sh/_mcount.S: Likewise.
24907
2747bf9a
RM
249082012-08-01 Roland McGrath <roland@hack.frob.com>
24909
24910 * libio/iofopen.c: Include <fcntl.h>.
24911 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24912 (_IO_fopen64, fopen64): Define as aliases.
24913 * libio/iofopen64.c: Include <fcntl.h>.
24914 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24915 Conditionalize body on this.
24916 * sysdeps/wordsize-64/iofopen.c: File removed.
24917 * sysdeps/wordsize-64/iofopen64.c: File removed.
24918
3fb791b8
MP
249192012-08-01 Marek Polacek <polacek@redhat.com>
24920
24921 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24922 Use dlfcn directly instead of a variable.
24923 (binfmt-subdir): Do not define.
24924 (dlfcn): Likewise.
24925
a9f1039f
JM
249262012-08-01 Joseph Myers <joseph@codesourcery.com>
24927
23bddc06
JM
24928 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24929 Remove all definitions.
24930 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24931 <kernel-features.h>.
24932 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24933 (miss_F_GETOWN_EX): Remove all definitions.
24934 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24935 macro definition.
24936 [!__ASSUME_FCNTL64]: Remove conditional code.
24937 [__ASSUME_FCNTL64]: Make code unconditional.
24938 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24939 <kernel-features.h>.
24940 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24941 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24942 (lockf64) [__NR_fcntl64]: Make code unconditional.
24943 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24944
a9f1039f
JM
24945 * sysdeps/unix/sysv/linux/kernel-features.h
24946 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24947 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24948 Make code unconditional.
24949 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24950 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24952 [__NR_vfork]: Make code unconditional.
24953 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24954 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24956 [__NR_vfork]: Make code unconditional.
24957 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24958 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24959
09c0ee5f
RM
249602012-08-01 Roland McGrath <roland@hack.frob.com>
24961
48aec5b9
RM
24962 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24963 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24964
cd97c966
RM
24965 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24966 Define mkstemp64 as an alias.
3f55550c
RM
24967 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24968 Define mkstemps64 as an alias.
cd97c966
RM
24969 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24970 Define mkostemp64 as an alias.
b8625cfc
RM
24971 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24972 Define mkostemps64 as an alias.
cd97c966
RM
24973 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24974 Conditionalize body on this.
24975 * misc/mkostemp64.c: Likewise.
b8625cfc 24976 * misc/mkostemps64.c: Likewise.
3f55550c 24977 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24978 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24979 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24980 * sysdeps/wordsize-64/mkostemp.c: File removed.
24981 * sysdeps/wordsize-64/mkstemp.c: File removed.
24982 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24983 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24984 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24985 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24986
09c0ee5f
RM
24987 [BZ #14138]
24988 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24989 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24990 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24991 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24992
24993 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24994 compat_symbol macros from <shlib-compat.h> rather than the underlying
24995 default_symbol_version and symbol_version macros, so that DEFAULT
24996 lines in shlib-versions are respected.
24997 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24998
7e66ee51
FW
249992012-08-01 Florian Weimer <fweimer@redhat.com>
25000
25001 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25002 Declare with warn_unused_result.
25003 (setgid, setregid, setegid, setresgid): Likewise.
25004 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25005 Likewise.
25006 * WUR-REPORT: Remove set*id functions.
25007
d2a54255
PT
250082012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25009
25010 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25011
7ecdb005
RM
250122012-07-31 Roland McGrath <roland@hack.frob.com>
25013
b4180a5e 25014 [BZ #10191]
789bd351
RM
25015 * include/sys/socket.h (__libc_accept, __libc_accept4):
25016 Add attribute_hidden.
25017 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25018
40ce302d
RM
25019 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25020 use of PTR_MANGLE.
25021 * inet/getnetgrent_r.c (setup): Likewise.
25022
7ecdb005
RM
25023 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25024
e2eabb2c
DM
250252012-07-31 David S. Miller <davem@davemloft.net>
25026
25027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25028
d0419dbf
JM
250292012-07-31 Joseph Myers <joseph@codesourcery.com>
25030
25031 [BZ #13629]
25032 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25033 value between 1.0 and 2.0 and smaller part has absolute value less
25034 than 1.0.
25035 * math/s_clog10.c (__clog10): Likewise.
25036 * math/s_clog10f.c (__clog10f): Likewise.
25037 * math/s_clog10l.c (__clog10l): Likewise.
25038 * math/s_clogf.c (__clogf): Likewise.
25039 * math/s_clogl.c (__clogl): Likewise.
25040 * math/libm-test.inc (clog_test): Add more tests.
25041 (clog10_test): Likewise.
25042 * sysdeps/i386/fpu/libm-test-ulps: Update.
25043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25044
2bc13872
FW
250452012-07-31 Florian Weimer <fweimer@redhat.com>
25046
25047 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25048 Exit with zero in case no suitable GID is found, and write a
25049 message to standard error.
25050
bea9b193
RM
250512012-07-30 Roland McGrath <roland@hack.frob.com>
25052
25053 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25054 rather than to 1.
25055 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25056 (MAXPATHLEN): Removed.
25057 (NOGROUP, NODEV): New macros.
25058 (setbit, clrbit, isset, isclr): New macros.
25059 (howmany, roundup, powerof2): New macros.
25060 (DEV_BSIZE): New macro.
25061
25062 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25063 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25064
25065 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25066 definition on [!__NO_LONG_DOUBLE_MATH].
25067
25068 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25069 PTR_MANGLE and PTR_DEMANGLE.
25070
25071 * socket/accept4.c (accept4): Rename to __libc_accept4.
25072 Define accept4 as a weak alias.
25073
25074 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25075 on [_DIRENT_HAVE_D_TYPE].
25076 * io/ftw.c (ftw_dir): Likewise.
25077
25078 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25079
25080 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25081
25082 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25083 Use the BSD numbers rather than the arbitrary ones we had.
25084 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25085 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25086 (SIGXCPU, SIGXFSZ): New macros.
25087 (_NSIG): Now 32.
25088
25089 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25090 initializer on [_LIBC_REENTRANT].
25091
25092 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25093 definitions inside [_POSIX_MAPPED_FILES].
25094
25095 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25096
25097 * dirent/opendir.c: Include <fcntl.h>.
25098
25099 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25100 (__libc_getspecific): Likewise.
25101 (__libc_key_create): Likewise.
25102
25103 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25104 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25105 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25106 (tmpfile64): Define as alias.
25107 * sysdeps/wordsize-64/tmpfile.c: File removed.
25108 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25109 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25110 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25111
25112 * stdio-common/vfscanf.c: Include <stdbool.h>.
25113 * nss/makedb.c: Likewise.
25114 * stdio-common/_i18n_number.h: Likewise.
25115 * argp/argp-help.c: Likewise.
25116 * posix/wordexp.c: Likewise.
25117 * sysdeps/posix/spawni.c: Likewise.
25118 * nss/nss_files/files-initgroups.c: Likewise.
25119 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25120 * nss/nss_files/files-initgroups.c: Likewise.
25121 * nss/nss_db/db-netgrp.c: Likewise.
25122 * nss/nss_db/db-initgroups.c: Likewise.
25123 * io/fchmodat.c: Include <sys/stat.h>.
25124
25125 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25126 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25127
25128 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25129 [HAVE_MMAP].
25130
25131 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25132 Add multiple inclusion protection.
25133
e5abc686
DM
251342012-07-27 David S. Miller <davem@davemloft.net>
25135
25136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25137
815e6fa3
GB
251382012-07-27 Gary Benson <gbenson@redhat.com>
25139
25140 [BZ #14298]
25141 * elf/rtld.c: Include <stap-probe.h>.
25142 (dl_main): Added static probes "init_start" and "init_complete".
25143 * elf/dl-load.c: Include <stap-probe.h>.
25144 (lose): Take new parameter "nsid".
25145 Added static probe "map_failed".
25146 (_dl_map_object_from_fd): Pass namespace id to lose.
25147 Added static probe "map_start".
25148 (open_verify): Pass namespace id to lose.
25149 * elf/dl-open.c: Include <stap-probe.h>.
25150 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25151 and "reloc_complete".
25152 * elf/dl-close.c: Include <stap-probe.h>.
25153 (_dl_close_worker): Added static probes "unmap_start" and
25154 "unmap_complete".
25155 * elf/rtld-debugger-interface.txt: New file documenting the above.
25156
9f98c16c
RM
251572012-07-26 Roland McGrath <roland@hack.frob.com>
25158
25159 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25160 rather than a string variable.
25161 * sunrpc/rpc_main.c (h_output): Likewise.
25162 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25163
f3c22df3
PT
251642012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25165
25166 * inet/check_native.c: New file.
25167
3129cfc6
JM
251682012-07-26 Joseph Myers <joseph@codesourcery.com>
25169
da865e95
JM
25170 [BZ #13629]
25171 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25172 if larger part has absolute value 1.0.
25173 * math/s_clog10.c (__clog10): Likewise.
25174 * math/s_clog10f.c (__clog10f): Likewise.
25175 * math/s_clog10l.c (__clog10l): Likewise.
25176 * math/s_clogf.c (__clogf): Likewise.
25177 * math/s_clogl.c (__clogl): Likewise.
25178 * math/libm-test.inc (clog_test): Add more tests.
25179 (clog10_test): Likewise.
25180 * sysdeps/i386/fpu/libm-test-ulps: Update.
25181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25182
3129cfc6
JM
25183 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25184 (pltexit): Likewise.
25185 (La_regs): Likewise.
25186 (La_retval): Likewise.
25187 (int_retval): Likewise.
25188 Update #error for removed macros to refer only to definitions in
25189 tst-audit.h.
25190 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25191 macro.
25192 (pltexit): Likewise.
25193 (La_regs): Likewise.
25194 (La_retval): Likewise.
25195 (int_retval): Likewise.
25196 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25197 macro.
25198 (pltexit): Likewise.
25199 (La_regs): Likewise.
25200 (La_retval): Likewise.
25201 (int_retval): Likewise.
25202 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25203 macro.
25204 (pltexit): Likewise.
25205 (La_regs): Likewise.
25206 (La_retval): Likewise.
25207 (int_retval): Likewise.
25208 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25209 macro.
25210 (pltexit): Likewise.
25211 (La_regs): Likewise.
25212 (La_retval): Likewise.
25213 (int_retval): Likewise.
25214 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25215 macro.
25216 (pltexit): Likewise.
25217 (La_regs): Likewise.
25218 (La_retval): Likewise.
25219 (int_retval): Likewise.
25220 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25221 macro.
25222 (pltexit): Likewise.
25223 (La_regs): Likewise.
25224 (La_retval): Likewise.
25225 (int_retval): Likewise.
25226 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25227 macro definitions in tst-audit.h.
25228 * sysdeps/i386/tst-audit.h: New file.
25229 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25230 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25231 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25232 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25233 * sysdeps/sh/tst-audit.h: Likewise.
25234 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25235 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25236 * sysdeps/x86_64/tst-audit.h: Likewise.
25237
bfc07087
AJ
252382012-07-26 Andreas Jaeger <aj@suse.de>
25239
b1b2aaf8
AJ
25240 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25241 ptrace.
25242
25243 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25244 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25245 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25246 PTRACE_O_MASK.
25247 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25248 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25249 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25250
bfc07087
AJ
25251 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25252 value.
25253
25254 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25255 _sigsys.
25256 (si_call_addr, si_syscall, si_arch): Define new macro.
25257 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25258 _sigsys.
25259 (si_call_addr, si_syscall, si_arch): Define new marcro.
25260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25261 _sigsys.
25262 (si_call_addr, si_syscall, si_arch): Define new macro.
25263 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25264 _sigsys.
25265 (si_call_addr, si_syscall, si_arch): Define new macro.
25266
89b4b02f
JM
252672012-07-25 Joseph Myers <joseph@codesourcery.com>
25268
25269 [BZ #13717]
25270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25271 Change to 2.4.21 where previously 2.4.1.
25272 * sysdeps/unix/sysv/linux/configure: Regenerated.
25273 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25274 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25275 Linux kernel version.
25276 (__ASSUME_STD_AUXV): Remove.
25277 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25278 kernel version.
25279 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25280 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25281 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25282 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25283 (__ASSUME_NETLINK_SUPPORT): Likewise.
25284 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25285 (__no_netlink_support): Remove conditional definition.
25286 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25287 Remove.
25288 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25289 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25290 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25291 (if_nameindex_ioctl): Remove.
25292 (if_nameindex_netlink): Do not handle __no_netlink_support.
25293 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25294 code.
25295 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25296 Remove conditional code.
25297 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25298 code.
25299 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25300 unconditional.
25301 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25302 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25303 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25304 Remove.
25305 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25306 [!__ASSUME_STD_AUXV]: Remove conditional code.
25307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25308 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25309 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25311 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25312 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25313 code.
25314 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25316 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25317 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25318 conditional code.
25319 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25321 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25322 code.
25323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25324 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25325 conditional code.
25326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25327 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25328 code unconditional.
25329 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25330 conditional code.
25331 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25332 unconditional.
25333 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25334 conditional code.
25335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25336 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25337 unconditional.
25338 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25339 conditional code.
25340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25341 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25342 code unconditional.
25343 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25344 conditional code.
25345 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25346 unconditional.
25347 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25348 conditional code.
25349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25350 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25351 code unconditional.
25352 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25353 conditional code.
25354 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25355 unconditional.
25356 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25357 conditional code.
25358
842a39cd
AS
253592012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25360
25361 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25362 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25363 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25364 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25365 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25366 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25367 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25368 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25369 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25370 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25371 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25372 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25373 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25374 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25375 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25376 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25377 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25378 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25379 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25380 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25381 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25382 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25383 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25384
84b3fd84
FW
253852012-07-25 Florian Weimer <fweimer@redhat.com>
25386
25387 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25388 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25389 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25390 Introduce __libc_secure_getenv.
0c7936d5
FW
25391 * stdlib/Versions (2.17): Add secure_getenv
25392 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25393 * stdlib/secure-getenv.c: Rename __secure_getenv to
25394 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25395 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25396 * stdlib/tst-secure-getenv.c: New.
25397 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25398 * manual/startup.texi (Environment Access): Document
25399 secure_getenv.
84b3fd84
FW
25400 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25401 __libc_secure_getenv.
25402 * inet/ruserpass.c (ruserpass): Likewise.
25403 * malloc/mtrace.c (mtrace): Likewise.
25404 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25405 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25406 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25407 * sysdeps/posix/tempname.c: Likewise. Evaluate
25408 HAVE_SECURE_GETENV.
25409 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25410 __secure_getenv to __libc_secure_getenv.
84b3fd84 25411 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25413 Likewise.
25414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25415 Likewise.
25416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25423
56e49b71
JM
254242012-07-25 Joseph Myers <joseph@codesourcery.com>
25425
25426 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25427 (struct La_i86_retval): Likewise.
25428 (struct La_x86_64_regs): Likewise.
25429 (struct La_x86_64_retval): Likewise.
25430 (struct La_x32_regs): Likewise.
25431 (struct La_x32_retval): Likewise.
25432 (struct La_ppc32_regs): Likewise.
25433 (struct La_ppc32_retval): Likewise.
25434 (struct La_ppc64_regs): Likewise.
25435 (struct La_ppc64_retval): Likewise.
25436 (struct La_sh_regs): Likewise.
25437 (struct La_sh_retval): Likewise.
25438 (struct La_s390_32_regs): Likewise.
25439 (struct La_s390_32_retval): Likewise.
25440 (struct La_s390_64_regs): Likewise.
25441 (struct La_s390_64_retval): Likewise.
25442 (struct La_sparc32_regs): Likewise.
25443 (struct La_sparc32_retval): Likewise.
25444 (struct La_sparc64_regs): Likewise.
25445 (struct La_sparc64_retval): Likewise.
25446 (struct audit_ifaces): Remove architecture-specific pltenter and
25447 pltexit members.
25448 * sysdeps/i386/ldsodefs.h: New file.
25449 * sysdeps/powerpc/ldsodefs.h: Likewise.
25450 * sysdeps/s390/ldsodefs.h: Likewise.
25451 * sysdeps/sh/ldsodefs.h: Likewise.
25452 * sysdeps/sparc/ldsodefs.h: Likewise.
25453 * sysdeps/x86_64/ldsodefs.h: Likewise.
25454
354691b7
MP
254552012-07-25 Marek Polacek <polacek@redhat.com>
25456
25457 [BZ #6808]
25458 * math/libm-test.inc (yn_test): Add another test.
25459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25460 to ERANGE when the result is +-Inf.
25461 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25462 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25463 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25464 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25465
bf9e2071
JM
254662012-07-24 Joseph Myers <joseph@codesourcery.com>
25467
25468 * conform/data/time.h-data (NULL): Use macro-constant. Require
25469 equal to 0.
25470 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25471 clock_t.
25472 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25473
57633811
TS
254742012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25475
25476 * configure.in <sysdeps resolving>: Correct printing
25477 Implies_before.
25478 * configure: Regenerate.
25479
c23c33b0
TS
254802012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25481
25482 * math/w_ilogb.c: Include <limits.h>.
25483 * math/w_ilogbl.c: Likewise.
25484
b5982523
JM
254852012-07-20 Joseph Myers <joseph@codesourcery.com>
25486
25487 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25488 va_copy. Document allowing for unavailable va_copy only as
25489 pre-C99 compatibility.
25490 * manual/string.texi (Copying and Concatenation): Use va_copy
25491 instead of __va_copy in concat example.
25492
ac4ea442
PT
254932012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25494
25495 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25496 (__sendto): Use create_address_port. Initialize APORT and deallocate
25497 it if not null.
25498
f98eafbd
PT
25499 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25500 with O_NOLINK passed to __file_name_lookup.
25501
898c7aab
PT
25502 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25503 with O_NOLINK passed to __file_name_lookup.
25504
0ced335a
PT
25505 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25506 negative N or less than NGIDS.
25507
b3404dbd
PT
25508 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25509 type to string_t. Set ERANGE as errno and return it if NAME is not big
25510 enough. Use memcpy instead of strncpy.
25511
0f48659e
JM
255122012-07-20 Joseph Myers <joseph@codesourcery.com>
25513
25514 * elf/Makefile (check-data): Remove.
25515 (localplt.data): New vpath directive.
25516 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25517 instead of $(check-data).
25518 * scripts/data/localplt-generic.data: Move to ...
25519 * sysdeps/generic/localplt.data: ... here.
25520 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25521 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25522 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25524 ... here.
25525 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25527 ... here.
25528 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25530 ... here.
25531 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25533 ... here.
25534 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25536 ... here.
25537 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25539 ... here.
25540
d37cbdaa
AZ
255412012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25542
25543 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25544 PPC32 and PPC64 files.
25545 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25546 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25547
46f85fc2
AK
255482012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25549
25550 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25551 __makecontext_ret to ...
25552 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25553 ... here and call exit if uc_link is NULL. New file.
25554 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25555 __makecontext_ret.S.
25556 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25557 __makecontext_ret to ...
25558 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25559 ... here and call exit if uc_link is NULL. New file.
25560 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25561 __makecontext_ret.S.
25562
08f43f9b
AK
255632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25564
25565 * elf/elf.h (R_390_IRELATIVE): New definition.
25566 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25567 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25568 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25569 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25570 (elf_machine_lazy_rel): Likewise.
25571 * sysdeps/s390/dl-irel.h: New file.
25572 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25573 * sysdeps/s390/s390-64/memset.S: New asm code.
25574 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25575 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25576 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25577 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25578 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25579 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25580 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25581 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25582 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25583 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25584 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25585 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25586 * sysdeps/s390/s390-32/memset.S: New asm code.
25587 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25588
3b05db33
MP
255892012-07-17 Marek Polacek <polacek@redhat.com>
25590
25591 [BZ #14349]
25592 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25593 * sysdeps/s390/s390-64/configure.in: Likewise.
25594 * sysdeps/sparc/configure.in: Likewise.
25595 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25596 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25597 * sysdeps/i386/configure.in: Likewise.
25598 * sysdeps/x86_64/configure.in: Likewise.
25599 * sysdeps/sh/configure.in: Likewise.
25600 * sysdeps/s390/s390-32/configure: Regenerated.
25601 * sysdeps/s390/s390-64/configure: Likewise.
25602 * sysdeps/x86_64/configure: Likewise.
25603 * sysdeps/sh/configure: Likewise.
25604 * sysdeps/powerpc/powerpc64/configure: Likewise.
25605 * sysdeps/powerpc/powerpc32/configure: Likewise.
25606 * sysdeps/sparc/configure: Likwise.
25607 * sysdeps/i386/configure: Likewise.
25608
a66877c6
MP
25609 * elf/dl-open.c: Comment fixes.
25610
cfc82fd8
JM
256112012-07-17 Joseph Myers <joseph@codesourcery.com>
25612
bd29910a
JM
25613 * Makefile [CXX] (check-data): Remove.
25614 [CXX] (c++-types.data): New vpath directive.
25615 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25616 vpath. Do not allow for C++ type data being missing.
25617 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25618 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25619 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25620 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25621 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25622 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25623 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25625 ... here.
25626 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25628 ... here.
25629 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25631 ... here.
25632 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25634 ... here.
25635 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25637 ... here.
25638 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25640 ... here.
25641 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25643 ... here.
25644 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25646
cfc82fd8
JM
25647 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25648 definitions to architecture-specific files.
25649 (TLS_IE): Likewise.
25650 (TLS_LD): Likewise.
25651 (TLS_GD): Likewise.
25652 * sysdeps/i386/tls-macros.h: New file.
25653 * sysdeps/powerpc/tls-macros.h: Likewise.
25654 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25655 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25656 * sysdeps/sh/tls-macros.h: Likewise.
25657 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25658 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25659 * sysdeps/x86_64/tls-macros.h: Likewise.
25660
f7db3170
TS
256612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25662
07cbfc23
TS
25663 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25664 zero value for regular exit case.
25665
f7db3170
TS
25666 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25667 (__start_context): Preserve zero value for regular exit case.
25668
dc97c227
TS
256692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25670 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25671
25672 * manual/setjmp.texi (setcontext): Clarify normal process
25673 termination when uc_link is the null pointer.
25674 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25675 exit call.
25676
d0cd7d02
AS
256772012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25678
25679 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25680 preprocessor. Test for each exception mask separately.
25681
dd318934
AJ
256822012-07-16 Andreas Jaeger <aj@suse.de>
25683
25684 * po/ru.po: Update from translation team.
25685
8048311a
JM
256862012-07-15 Joseph Myers <joseph@codesourcery.com>
25687
25688 * conform/data/string.h-data (NULL): Use macro-constant. Require
25689 equal to 0.
25690 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25691 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25692 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25693 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25694 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25695
b637d46e
AJ
256962012-07-13 Andreas Jaeger <aj@suse.de>
25697
25698 * po/fr.po: Update from translation team.
25699
541428fe
MP
257002012-07-12 Marek Polacek <polacek@redhat.com>
25701
25702 [BZ #14173]
25703 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25704 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25705 loop condition.
25706
ec332e94
JM
257072012-07-12 Joseph Myers <joseph@codesourcery.com>
25708
25709 [BZ #13717]
25710 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25711 Change to 2.4.1 where previously 2.4.0.
25712 * sysdeps/unix/sysv/linux/configure: Regenerated.
25713 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25714 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25715 version.
25716 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25717 (__ASSUME_AT_CLKTCK): Remove.
25718 (__ASSUME_AT_PAGESIZE): Likewise.
25719 (__ASSUME_AT_XID): Likewise.
25720 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25721 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25722 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25723 unconditionally.
25724 (HAVE_AUX_PAGESIZE): Likewise.
25725 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25726 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25727 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25728
7b6e99be
JB
257292012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25730
25731 [BZ #14307]
25732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25733 the temporary buffer used to invoke __gethostbyname2_r,
25734 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25735 host_data / struct gaih_addrtuple.
25736 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25737 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25738 header file nss/nsswitch.h.
25739 * nss/nsswitch.h (global scope): Add definition of implementation
25740 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25741 resolv/nss_dns/dns-host.c).
25742
608404eb
AJ
257432012-07-11 Andreas Jaeger <aj@suse.de>
25744
25745 * po/fr.po: Update from translation team.
25746
71220aca
AJ
25747 * po/sv.po: Update from translation team
25748 * po/fr.po: Another update from translation team.
25749
28cfe843
AZ
257502012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25751
25752 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25753 for subnormals or multiply small sinh result by itself.
25754 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25756
6b90f981
DM
257572012-07-11 David S. Miller <davem@davemloft.net>
25758
25759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25760
c6825772
AS
257612012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25762
25763 [BZ #14347]
25764 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25765 (INTERNAL_MARK): Shift it here.
25766
7b8e0d49
MP
257672012-07-10 Marek Polacek <polacek@redhat.com>
25768
25769 [BZ #14151]
25770 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25771 libc_cv_asm_global_directive with .globl.
25772 * configure: Regenerated.
25773 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25774 with .globl.
25775 * sysdeps/i386/configure: Regenerated.
25776 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25777 with .globl.
25778 * sysdeps/x86_64/configure: Regenerated.
25779 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25780 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25781 * elf/tst-unique2mod2.c: Likewise.
25782 * elf/tst-unique2mod1.c: Likewise.
25783 * elf/tst-unique1mod2.c: Likewise.
25784 * elf/tst-unique1mod1.c: Likewise.
25785 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25786 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25788 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25789 * sysdeps/mach/sysdep.h: Likewise.
25790 * sysdeps/i386/sysdep.h: Likewise.
25791 * sysdeps/i386/i386-mcount.S: Likewise.
25792 * sysdeps/x86_64/_mcount.S: Likewise.
25793 * sysdeps/x86_64/sysdep.h: Likewise.
25794 * sysdeps/sh/_mcount.S: Likewise.
25795 * sysdeps/sh/sysdep.h: Likewise.
25796 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25797 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25798 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25799 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25800 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25801 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25802 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25803 * locale/localeinfo.h: Likewise.
25804 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25805 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25806
6c55cda3
RM
258072012-07-09 Roland McGrath <roland@hack.frob.com>
25808
25809 [BZ #14336]
25810 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25811 system".
25812 * manual/message.texi (The Uniforum approach): Likewise.
25813 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25814 (glibc iconv Implementation): Likewise.
25815
638a572e
JM
258162012-07-09 Joseph Myers <joseph@codesourcery.com>
25817
25818 [BZ #14337]
25819 * math/s_clog.c (__clog): Avoid scaling a value down where that
25820 could result in underflow.
25821 * math/s_clog10.c (__clog10): Likewise.
25822 * math/s_clog10f.c (__clog10f): Likewise.
25823 * math/s_clog10l.c (__clog10l): Likewise.
25824 * math/s_clogf.c (__clogf): Likewise.
25825 * math/s_clogl.c (__clogl): Likewise.
25826 * math/libm-test.inc (clog_test): Add more tests.
25827 (clog10_test): Likewise.
25828 * sysdeps/i386/fpu/libm-test-ulps: Update.
25829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25830
261f4859
AS
258312012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25832
0abaf3e4
AS
25833 [BZ #14283]
25834 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25835 by 7 not 8 to examine high bit of fractional part.
25836
261f4859
AS
25837 [BZ #14042]
25838 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25839 for call to __mcount_internal.
25840 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25841 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25842 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25843
f17ac40d
JM
258442012-07-06 Joseph Myers <joseph@codesourcery.com>
25845
9ad63c23
JM
25846 [BZ #14154]
25847 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25848 approximation for values within 0x1p-13f of an odd multiple of
25849 pi/4.
25850 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25851 exception. Add more tests.
25852 * sysdeps/i386/fpu/libm-test-ulps: Update.
25853
f17ac40d
JM
25854 [BZ #6778]
25855 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25856 inputs and return -1 for them. Do not check for +Inf in case not
25857 reachable for +Inf.
25858 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25859 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25861 and return -1 for them. Do not check for +Inf in case not
25862 reachable for +Inf.
25863 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25864 define.
25865 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25866 and return -1 for them. Do not check for +Inf in case not
25867 reachable for +Inf.
25868 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25869 spurious underflow.
25870 * sysdeps/i386/fpu/libm-test-ulps: Update.
25871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25872
fb21f89b
MF
258732012-07-06 Mike Frysinger <vapier@gentoo.org>
25874
25875 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25876
cdfe2c5e
JM
258772012-07-05 Joseph Myers <joseph@codesourcery.com>
25878
25879 [BZ #14157]
25880 [BZ #14331]
25881 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25882 could result in spurious underflow. Scale down values above
25883 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25884 * math/s_csqrtf.c (__csqrtf): Likewise.
25885 * math/s_csqrtl.c (__csqrtl): Likewise.
25886 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25887 spurious underflow.
25888 * sysdeps/i386/fpu/libm-test-ulps: Update.
25889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25890
70d35b67
AS
258912012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25892
704bc459
AS
25893 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25894 xopen-msg.sed.
25895 * catgets/xopen-msg.awk: New file.
25896 * catgets/xopen-msg.sed: Removed.
25897
70d35b67
AS
25898 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25899 po2text.sed.
25900 * intl/po2test.awk: New file.
25901 * intl/po2test.sed: Removed.
25902
ca61cf32
JM
259032012-07-04 Joseph Myers <joseph@codesourcery.com>
25904
25905 [BZ #14328]
25906 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25907 or multiply small sinh result by itself.
25908 * math/s_ctanf.c (__ctanf): Likewise.
25909 * math/s_ctanh.c (__ctanh): Likewise.
25910 * math/s_ctanhf.c (__ctanhf): Likewise.
25911 * math/s_ctanhl.c (__ctanhl): Likewise.
25912 * math/s_ctanl.c (__ctanl): Likewise.
25913 * math/libm-test.inc (ctan_test_tonearest): New function.
25914 (ctan_test_towardzero): Likewise.
25915 (ctan_test_downward): Likewise.
25916 (ctan_test_upward): Likewise.
25917 (ctanh_test_tonearest): Likewise.
25918 (ctanh_test_towardzero): Likewise.
25919 (ctanh_test_downward): Likewise.
25920 (ctanh_test_upward): Likewise.
25921 (main): Call these new functions.
25922 * sysdeps/i386/fpu/libm-test-ulps: Update.
25923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25924
ca48a46a
MF
259252012-07-03 Mike Frysinger <vapier@gentoo.org>
25926
25927 * .gitignore: Delete /ports entry.
25928
9d63d37d
AJ
259292012-07-03 Andreas Jaeger <aj@suse.de>
25930
25931 * po/bg.po: Update from translation team.
25932 * po/cs.po: Likewise.
25933 * po/de.po: Likewise.
25934 * po/hr.po: Likewise.
25935 * po/nl.pl: Likewise.
25936 * po/pl.po: Likewise.
25937 * po/vi.po: Likewise.
25938
370ca3d2
JM
259392012-07-03 Joseph Myers <joseph@codesourcery.com>
25940
95f5a9a8
JM
25941 * Makeconfig [!+link] (+link-before-libc): New variable.
25942 [!+link] (+link-after-libc): Likewise.
25943 [!+link] (+link-tests): Likewise.
25944 [!+link] (+link): Define in terms of $(+link-before-libc) and
25945 $(+link-after-libc).
25946 [!+link-static] (+link-static-before-libc): New variable.
25947 [!+link-static] (+link-static-after-libc): Likewise.
25948 [!+link-static] (+link-static-tests): Likewise.
25949 [!+link-static] (+link-static): Define in terms of
25950 $(+link-static-before-libc) and $(+link-static-after-libc).
25951 [build-shared] (link-libc-before-gnulib): New variable.
25952 [build-shared] (link-libc-tests): Likewise.
25953 [build-shared] (link-libc): Define in terms of
25954 $(link-libc-before-gnulib).
25955 [!build-shared] (link-libc-tests): New variable.
25956 (link-libc-static-tests): New variable.
25957 [!gnulib] (gnulib-arch): New variable.
25958 [!gnulib] (gnulib-tests): Likewise.
25959 [!gnulib] (static-gnulib-arch): Likewise.
25960 [!gnulib] (static-gnulib-tests): Likewise.
25961 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25962 Define with "=" instead of ":=".
25963 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25964 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25965 * Rules (binaries-all-notests): New variable.
25966 (binaries-all-tests): Likewise.
25967 (binaries-static-notests): Likewise.
25968 (binaries-static-tests): Likewise.
25969 (binaries-all): Define using $(binaries-all-notests) and
25970 $(binaries-all-tests).
25971 (binaries-static): Define using $(binaries-static-notests) and
25972 $(binaries-static-tests).
25973 (binaries-shared-tests): New variable.
25974 (binaries-shared-notests): Likewise.
25975 (binaries-shared): Remove variable.
25976 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25977 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25978 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25979 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25980 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25981 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25982 * elf/Makefile (sln-modules): New variable.
25983 (extra-objs): Add $(sln-modules:=.o).
25984 (ldconfig-modules): Add static-stubs.
25985 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25986 * elf/static-stubs.c: New file.
25987
7a845b2c
JM
25988 [BZ #14283]
25989 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25990 by 7 not 8 to examine high bit of fractional part. Use volatile
25991 variables when splitting into final array of floats if
25992 __FLT_EVAL_METHOD__ != 0.
25993 * math/libm-test.inc (cos_test): Add another test.
25994 (sin_test): Likewise.
25995 * sysdeps/i386/fpu/libm-test-ulps: Update.
25996
e2283f38
JM
25997 [BZ #14273]
25998 * math/libm-test.inc (cosh_test): Add more tests.
25999
370ca3d2
JM
26000 * version.h (RELEASE): Set to "development".
26001 (VERSION): Set to "2.16.90".
26002
ee9247c3
CD
260032012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26004
26005 * NEWS: Update copyright. Remove last-updated date.
26006 Mention math library bug fixes and timezone data changes.
26007 * README: Mention GNU/Hurd, x32, and HPPA support status.
26008
4648c381
TS
260092012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26010
26011 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26012
aac78a43
AJ
260132012-06-27 Andreas Jaeger <aj@suse.de>
26014
26015 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26016
ed3dbfad
AJ
260172012-06-25 Andreas Jaeger <aj@suse.de>
26018
26019 * sysdeps/s390/fpu/libm-test-ulps: Update.
26020
4d0ee855
AS
260212012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26022 Thomas Schwinge <thomas@codesourcery.com>
26023
26024 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26025 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26026 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26027 fanotify_mark.
26028
af1bce34
TS
260292012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26030
a9fa33ba
TS
26031 * sysdeps/mach/start.c: Remove file.
26032 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26033 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26034 * sysdeps/sh/init-first.c: Likewise.
26035
58f902b8
TS
26036 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26037 registers for frame unwinding purposes, add CFI directives.
26038 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26039 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26040 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26041 Likewise.
26042
1518f58b
TS
26043 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26044 __fortify_fail returning.
26045 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26046
db9b5059
TS
26047 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26048 sysdeps/sh/____longjmp_chk.S.
26049 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26050 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26051 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26052 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26053
967705fe
TS
26054 * sysdeps/sh/abort-instr.h: New file.
26055 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26056 process in case exit returns.
26057
a9def8c4
TS
26058 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26059 initialize the GOT register before use.
26060
2a649725
TS
26061 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26062 calculation of ARGC > 4.
26063
af1bce34
TS
26064 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26065 meaningful names to some local labels.
26066
d230f50a
KK
260672012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26068 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26069
26070 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26071 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26072 (__arch_compare_and_exchange_val_16_acq): Likewise.
26073 (__arch_compare_and_exchange_val_32_acq): Likewise.
26074 (atomic_exchange_and_add): Fix gUSA sequence.
26075 (atomic_add): Likewise.
26076 (atomic_add_negative): Likewise.
26077 (atomic_add_zero): Likewise.
26078 (atomic_bit_test_set): Likewise.
26079
0479b305
AS
260802012-06-22 Andreas Schwab <schwab@redhat.com>
26081
26082 [BZ #13579]
26083 * include/link.h (struct link_map): Add l_free_initfini.
26084 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26085 l_initfini.
26086 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26087 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26088 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26089 set.
26090
0e3933b9
CD
260912012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26092
26093 * configure.in: Use AC_LANG_SOURCE.
26094 * configure: Regenerate.
26095
4248b1b1
RM
260962012-06-22 Roland McGrath <roland@hack.frob.com>
26097
26098 * configure.in (libc_cv_localstatedir): New substituted variable.
26099 * configure: Regenerated.
26100 * config.make.in (localstatedir): New variable, substituted from
26101 libc_cv_localstatedir.
26102 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26103 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26104 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26105 * sysdeps/gnu/configure: Regenerated.
26106
006dd861
JL
261072012-06-21 Jeff Law <law@redhat.com>
26108
26109 [BZ #14277]
26110 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26111 free. Simplify list management for _LIBC case.
26112
79662d42
JM
261132012-06-21 Joseph Myers <joseph@codesourcery.com>
26114
b7abb4bf
JM
26115 [BZ #14273]
26116 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26117 Clear sign bit of 64-bit integer value before comparing against
26118 overflow value.
26119
79662d42
JM
26120 * sysdeps/mach/configure: Regenerated.
26121
1f150908
L
261222012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26123
26124 [BZ #14278]
26125 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26126
28363bbf
JL
261272012-06-21 Jeff Law <law@redhat.com>
26128
26129 [BZ #13882]
26130 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26131 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26132 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26133 * elf/dl-open.c (dl_open_worker): Likewise.
26134
09615db4
CD
261352012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26136
26137 * scripts/list-sources.sh: Scan PORTS for translations.
26138 * po/libc.pot: Regenerated.
26139
2174c6dd
AJ
261402012-06-21 Andreas Jaeger <aj@suse.de>
26141
26142 [BZ #12194]
26143 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26144 warning.
26145 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26146 * bits/byteswap-16.h (__bswap_16): Likewise.
26147 * bits/byteswap.h (__bswap_constant_16): Likewise.
26148
3ee947b1
L
261492012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26150
26151 [BZ #14117]
a2f34833
L
26152 * sysdeps/i386/fpu_control.h: Removed.
26153 * sysdeps/x86_64/fpu_control.h: Moved to ...
26154 * sysdeps/x86/fpu_control.h: Here.
26155
3ee947b1
L
26156 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26157 (_FPU_SETCW): Likewise.
26158
ed1825f8
L
261592012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26160
25f1282a
L
26161 [BZ #14117]
26162 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26163 * sysdeps/x86/fpu/bits/mathinline.h: This.
26164 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26165
ed1825f8
L
26166 [BZ #14050]
26167 [BZ #14117]
26168 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26169 functions if __x86_64__ is defined.
26170
36d54b74
CLT
261712012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26172
26173 * string/endian.h: Add !__ASSEMBLER__ condition for including
26174 conversion interfaces.
26175
10285c21
JM
261762012-06-15 Joseph Myers <joseph@codesourcery.com>
26177
26178 [BZ #14241]
26179 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26180 of ABS(x) in calculating zero to negative powers other than odd
26181 integers.
26182 * math/libm-test.inc (pow_test): Add more tests.
26183
06c5abbd
AJ
261842012-06-15 Andreas Jaeger <aj@suse.de>
26185
26186 * manual/contrib.texi (Contributors): Update entry of Liubov
26187 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26188 Machado Filho.
26189
a3aeac40
CH
261902012-06-15 Cyril Hrubis <metan@ucw.cz>
26191
26192 * string/string.h: Add __wur to GNU version of strerror_r.
26193
49bdf4c1
L
261942012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26195
26196 [BZ #14229]
26197 * string/Makefile (tests): Add tst-strtok_r.
26198 * string/tst-strtok_r.c: New file.
26199 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26200 RAX_LP/RDX_LP on SAVE_PTR.
26201
834f9b8d
RM
262022012-06-14 Roland McGrath <roland@hack.frob.com>
26203
26204 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26205
75fa1921
JM
262062012-06-14 Joseph Myers <joseph@codesourcery.com>
26207
26208 * libm_test.inc (csqrt_test): Allow more spurious underflow
26209 exceptions.
26210 (j0_test): Likewise.
26211 (j1_test): Likewise.
26212 (y0_test): Likewise.
26213 (y1_test): Likewise.
26214
771766df
CD
262152012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26216
26217 * po/Makefile (libc.pot): Use UTF-8 charset.
26218
ceb9e56b
PP
262192012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26220
26221 [BZ #14210]
26222 Suppress sign-conversion warning from FD_SET.
26223 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26224 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26225 not unsigned long int.
26226 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26227
ddb28975
L
262282012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26229
26230 [BZ #14050]
26231 [BZ #14117]
26232 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26233 __extern_always_inline instead of __extern_inline.
26234 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26235 (__signbit): Likewise.
26236 (__signbitl): Support C++ namespace.
26237 (lrintf): New inline function.
26238 (lrint): Likewise.
26239 (llrintf): Likewise.
26240 (llrint): Likewise.
26241 (fmaxf): Likewise.
26242 (fmax): Likewise.
26243 (fminf): Likewise.
26244 (fmin): Likewise.
26245 (rint): Likewise.
26246 (rintf): Likewise.
26247 (ceil): Likewise.
26248 (ceilf): Likewise.
26249 (floor): Likewise.
26250 (floorf): Likewise.
26251 (nearbyint): Likewise.
26252 (nearbyintf): Likewise.
26253
d7b4fb26
TS
262542012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26255
26256 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26257 non-default versions.
26258
eb55f5c2
RM
262592012-06-11 Roland McGrath <roland@hack.frob.com>
26260
26261 [BZ #14218]
26262 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26263
366af02c
TS
262642012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26265
99ff6e5c
TS
26266 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26267 (FE_UPWARD, FE_DOWNWARD): Don't define.
26268 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26269 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26270
366af02c
TS
26271 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26272 reading it.
26273 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26274 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26275
793ea851
KK
262762012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26277
26278 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26279 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26280 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26281 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26282
a728a38f
L
262832012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26284
26285 [BZ #14117]
c08010c7
L
26286 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26287 * sysdeps/i386/fpu/Implies: New file.
26288 * sysdeps/x86_64/fpu/Implies: Likewise.
26289 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26290 * sysdeps/x86/fpu/bits/fenv.h: This.
26291
a728a38f
L
26292 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26293 __SSE_MATH__.
26294
6e230d11
SP
262952012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26296
26297 [BZ #14134]
26298 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26299 character 0xffff that matches the last element of the
26300 conversion table.
26301
1b671feb
AZ
263022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26303
26304 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26305 fmodl commit.
26306
6043738b
AZ
263072012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26308
26309 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26310 values higher than 25.6283.
26311
34ae0b32
AZ
263122012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26313
26314 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26315 subnormal exponent extraction and add some __builtin_expect.
26316 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26317 Fix for subnormal mantissa calculation.
26318
1214ec8f
MF
263192012-06-04 Mike Frysinger <vapier@gentoo.org>
26320
26321 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26322 cpu2 is -1 and errno is not ENOSYS.
26323
f3d1f93c
L
263242012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26325
26326 [BZ #14117]
0e4a3cd7
L
26327 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26328 * sysdeps/x86/bits/string.h: This.
26329 * sysdeps/x86_64/bits/string.h: Removed.
26330
6704c645
L
26331 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26332 if not compiling for x86-64, but compiling for >= i486.
26333
48495318
L
26334 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26335 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26336
14adcbfc
L
26337 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26338 New macro from Linux kernel 3.4.0.
26339 (FP_XSTATE_MAGIC2): Likewise.
26340 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26341 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26342 (struct _fpx_sw_bytes): New struct.
26343 (struct _xsave_hdr): Likewise.
26344 (struct _ymmh_state): Likewise.
26345 (struct _xstate): Likewise.
26346
68e408ab
L
26347 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26348 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26349 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26350 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26351 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26352 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26353
f3d1f93c
L
26354 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26355 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26356 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26357 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26358 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26359 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26360
d9dc34cd
TMQMF
263612012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26362
26363 [BZ #13743]
26364 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26365 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26366 (sysdep_headers): Include sys/platform/ppc.h.
26367 * sysdeps/powerpc/test-gettimebase.c: Test for
26368 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26369 * manual/Makefile (appendices): Include platform.texi.
26370 * manual/contrib.texi (Contributors): Update @node pointers.
26371 * manual/maint.texi (Maintenance): Likewise.
26372 (Platform): New node.
26373 * manual/platform.texi: New file. Document the new features.
26374
4af3879c
SP
263752012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26376 Jakub Jelinek <jakub@redhat.com>
26377
26378 [BZ #14188]
26379 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26380 where __builtin_expect is unavailable.
26381
2fd6ff13
DM
263822012-06-03 David S. Miller <davem@davemloft.net>
26383
26384 * stdlib/longlong.h: Updated from GCC.
26385
173f7220
AS
263862012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26387
26388 [BZ #14042]
26389 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26390 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26391 __mcount_internal.
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26393 (GLIBC_2.16): Likewise.
26394
f34a1c6f
L
263952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26396
26397 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26398
88a4576f
JM
263992012-06-01 Joseph Myers <joseph@codesourcery.com>
26400
ea32bcdd
JM
26401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26402 (default-abi): New variable.
26403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26404 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26405 variable.
26406 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26407 Likewise.
26408 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26409 Likewise.
26410 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26411 Likewise.
26412
88a4576f
JM
26413 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26414 definition. Document in comment.
26415
402fe938
DM
264162012-06-01 David S. Miller <davem@davemloft.net>
26417
26418 * stdlib/longlong.h: Updated from GCC.
26419
3553723f
L
264202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26421
26422 [BZ #14117]
3bd872c4
L
26423 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26424 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26425 sys/debugreg.h sys/io.h here.
26426 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26427 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26428 sys/io.h.
26429 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26430 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26431 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26432 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26433 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26434 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26435
3553723f
L
26436 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26437 Define only if __x86_64__ is defined.
26438
4842e4fe
JM
264392012-06-01 Joseph Myers <joseph@codesourcery.com>
26440
c5bfe3d5
JM
26441 [BZ #14048]
26442 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26443 Use int64_t for variable i.
26444 * math/libm-test.inc (fmod_test): Add more tests.
26445
4842e4fe
JM
26446 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26447 z computation is not scheduled after fetestexcept.
26448 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26449 Use math_force_eval instead of asm to ensure calculation scheduled
26450 before exception test.
26451 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26452 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26453
efb73488
AJ
264542012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26455
26456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26457 computation is not scheduled after fetestexcept.
26458
29bcce7c
L
264592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26460
26461 [BZ #14117]
26462 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26463 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26464
73a68f94
AZ
264652012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26466
26467 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26468 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26469
67b6df78
L
264702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26471
edf2933a 26472 [BZ #14117]
ebc64a18
L
26473 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26474 <bits/wordsize.h>.
26475 (__WCHAR_MIN): Support __WORDSIZE == 64.
26476 (__WCHAR_MAX): Likewise.
26477
edf2933a
L
26478 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26479 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26480
57c6cf40
L
26481 [BZ #14183]
26482 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26483 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26484
67b6df78 26485 [BZ #14117]
8eb6281e
L
26486 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26487 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26488
aac639f4
L
26489 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26490 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26491
67b6df78
L
26492 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26493 Defined to 1 if __x86_64__ isn't defined.
26494 (_STAT_VER_LINUX_OLD): New.
26495 (st_atime): Remove duplicate.
26496 (st_mtime): Likewise.
26497 (st_ctime): Likewise.
26498
1c2cfe81
DM
264992012-05-31 David S. Miller <davem@davemloft.net>
26500
26501 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26502 entries.
26503
5be8418c
AS
265042012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26505
e7725326
AS
26506 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26507 gen-libm-test.pl.
26508
5be8418c
AS
26509 [BZ #14132]
26510 * elf/dl-reloc.c: Include <_itoa.h>.
26511 (_dl_reloc_bad_type): Remove use of INTUSE.
26512 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26513 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26514 * stdio-common/psiginfo.c (psiginfo): Likewise.
26515 * stdio-common/psignal.c (psignal): Likewise.
26516 * string/strsignal.c (strsignal): Likewise.
26517 * include/signal.h (_sys_siglist): Declare hidden proto.
26518 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26519 INTVARDEF with libc_hidden_data_def.
26520 * stdio-common/itoa-udigits.c: Likewise.
26521 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26522 (_itoa_lower_digits_internal): Remove declaration.
26523 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26524 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26525 (_sys_sigabbrev_internal): Remove aliases.
26526 (_sys_siglist): Define hidden alias.
26527
507352f1
MT
265282012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26529
26530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26531 bits/sysctl.h.
26532
42bbb1c3
L
265332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26534
26535 [BZ #14117]
6bd784b6
L
26536 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26537 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26538
8bca20f0
L
26539 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26540 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26541 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26542 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26543 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26544 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26545
f9e890a9
L
26546 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26547 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26548 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26549
471101a1
L
26550 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26551 with __addr.
26552 (insw): Likewise.
26553 (insl): Likewise.
26554 (outsb): Likewise.
26555 (outsw): Likewise.
26556 (outsl): Likewise.
26557
6451c862
L
26558 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26559 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26560 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26561
a254b8c9
L
26562 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26563 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26564 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26565 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26566 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26567 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26568
b8dfdd92
L
26569 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26570 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26571
578cd270
L
26572 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26573 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26574
de662f5f
L
26575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26576 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26577 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26578
25653439
L
26579 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26580 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26581 to ...
26582 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26583
6bad24a0
L
26584 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26585 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26586 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26587
42bbb1c3
L
26588 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26589 for x86-64.
26590 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26591
2d10d547
JM
265922012-05-31 Joseph Myers <joseph@codesourcery.com>
26593
26594 * math/math.h (M_El): Use two more decimal places.
26595 (M_LOG2El): Likewise.
26596 (M_LOG10El): Likewise.
26597 (M_LN2l): Likewise.
26598 (M_LN10l): Likewise.
26599 (M_PIl): Likewise.
26600 (M_PI_2l): Likewise.
26601 (M_PI_4l): Likewise.
26602 (M_1_PIl): Likewise.
26603 (M_2_PIl): Likewise.
26604 (M_2_SQRTPIl): Likewise.
26605 (M_SQRT2l): Likewise.
26606 (M_SQRT1_2l): Likewise.
26607
f230c29b
DM
266082012-05-31 David S. Miller <davem@davemloft.net>
26609
26610 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26611 values between float registers.
26612 * sysdeps/sparc/sparc64/memset.S: Likewise.
26613 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26614
fed806c3
MF
266152012-05-31 Mike Frysinger <vapier@gentoo.org>
26616
26617 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26618 -D_FORTIFY_SOURCE=1.
26619 (CPPFLAGS-tst-longjmp_chk.c): Define.
26620 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26621 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26622 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26623 CFLAGS-tst-wchar-h.c.
26624
30917259
MP
266252012-05-31 Marek Polacek <polacek@redhat.com>
26626
26627 [BZ #14132]
26628 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26629 __endmntent_internal): Remove declaration.
26630 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26631 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26632 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26633
1c58d5dc
DM
266342012-05-30 David S. Miller <davem@davemloft.net>
26635
26636 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26637 (___Q_simulate_exceptions): Use real FP ops rather than writing
26638 into the %fsr.
26639 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26640 Likewise.
26641
7dc00e0d
L
266422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26643
26644 [BZ #14117]
0bd53985
L
26645 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26646 * sysdeps/x86/bits/xtitypes.h: This.
26647
3a257e66
L
26648 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26649 * sysdeps/x86/bits/wordsize.h: This.
26650
62f62904
L
26651 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26652 * sysdeps/x86/bits/huge_vall.h: This.
26653
404fe9d9
L
26654 * sysdeps/i386/bits/select.h: Removed.
26655 * sysdeps/x86_64/bits/select.h: Renamed to ...
26656 * sysdeps/x86/bits/select.h: This.
26657
d48d0446
L
26658 * sysdeps/i386/bits/setjmp.h: Removed.
26659 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26660 * sysdeps/x86/bits/setjmp.h: This.
26661
7dc00e0d
L
26662 * sysdeps/i386/bits/mathdef.h: Removed.
26663 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26664 * sysdeps/x86/bits/mathdef.h: This.
26665
03277f8f
AS
266662012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26667
26668 [BZ #14132]
26669 * include/sys/socket.h (__connect_internal)
26670 (__libc_sa_len_internal): Remove declaration.
26671 (__connect, __libc_sa_len): Declare hidden_proto.
26672 (SA_LEN): Remove use of INTUSE.
26673 * socket/connect.c: Add libc_hidden_def.
26674 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26675 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26676 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26677 alias.
26678 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26679 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26680 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26681 of adding _internal alias.
26682
13764867
L
266832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26684
26685 [BZ #14117]
6bd97696
L
26686 * sysdeps/i386/bits/link.h: Removed.
26687 * sysdeps/i386/bits/linkmap.h: Likewise.
26688 * sysdeps/x86_64/bits/link.h: Renamed to ...
26689 * sysdeps/x86/bits/link.h: This.
26690 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26691 * sysdeps/x86/bits/linkmap.h: This.
26692
f726f0bb
L
26693 * sysdeps/i386/bits/endian.h: Removed.
26694 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26695 * sysdeps/x86/bits/endian.h: This.
26696
13764867
L
26697 * sysdeps/i386/bits/byteswap.h: Removed.
26698 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26699 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26700 * sysdeps/x86/bits/byteswap.h: This.
26701 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26702 * sysdeps/x86/bits/byteswap-16.h: This.
26703 * sysdeps/i386/Implies: Add x86.
26704 * sysdeps/x86_64/Implies: Likewise.
26705
ae251b0b
DM
267062012-05-30 David S. Miller <davem@davemloft.net>
26707
26708 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26709 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26710 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26711 (FP_TRAPPING_EXCEPTIONS): Define.
26712 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26713 (FP_TRAPPING_EXCEPTIONS): Define.
26714 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26715 subnormals only when inexact has been signalled or underflow
26716 exceptions are enabled.
26717 (_FP_PACK_CANONICAL): Likewise.
26718
d5c90867
L
267192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26720
26721 [BZ #14183]
26722 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26723 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26724
63f1549e
RH
267252012-05-30 Richard Henderson <rth@twiddle.net>
26726
8d8f2279
RH
26727 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26728 with #ifndef NOT_IN_libc.
26729
63f1549e
RH
26730 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26731 marked to avoid plt entry.
26732
0ab0291b
L
267332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26734
26735 [BZ #14112]
26736 * Makeconfig (default-abi): New macro.
26737 (abi-includes): Likewise.
26738 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26739 $(abi-$(default-abi)-lib-soname) for soname if defined.
26740 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26741 abi-variants.
26742 * Makefile (installed-stubs): Likewise.
26743 * include/stubs-biarch.h: Removed.
26744 * scripts/lib-names.awk: Only handle one library at a time.
26745 * scripts/soversions.awk: Remove WORDSIZE support.
26746 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26747 entries.
26748 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26749 Removed.
26750 (syscall-list-default-condition): Likewise.
26751 (syscall-list-default-condition): Likewise.
26752 (syscall-list-includes): Likewise.
26753 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26754 syscall-list-* with abi-*. Handle undefined abi-variants.
26755 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26756 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26757 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26758 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26759 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26760 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26761 Removed.
26762 (syscall-list-32-options): Likewise.
26763 (syscall-list-32-condition): Likewise.
26764 (syscall-list-64-options): Likewise.
26765 (syscall-list-64-condition): Likewise.
26766 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26767 macro.
26768 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26769 Renamed to ...
26770 (abi-*): This.
26771 (abi-64-ld-soname): New macro.
26772 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26773 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26774 Renamed to ...
26775 (abi-*): This.
26776 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26777 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26778
4da0431d
JM
267792012-05-30 Joseph Myers <joseph@codesourcery.com>
26780
3a85279c
JM
26781 * sysdeps/unix/sysv/linux/kernel-features.h
26782 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26783 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26784 include <kernel-features.h>.
26785 [!__NR_ftruncate64]: Remove conditional code.
26786 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26787 [__NR_ftruncate64]: Make code unconditional.
26788 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26789 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26790 include <kernel-features.h>.
26791 [!__NR_ftruncate64]: Remove conditional code.
26792 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26793 [__NR_ftruncate64]: Make code unconditional.
26794 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26796 include <kernel-features.h>.
26797 [!__NR_ftruncate64]: Remove conditional code.
26798 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26799 [__NR_ftruncate64]: Make code unconditional.
26800 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26802 include <kernel-features.h>.
26803 [!__NR_ftruncate64]: Remove conditional code.
26804 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26805 [__NR_ftruncate64]: Make code unconditional.
26806 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26807
4da0431d
JM
26808 * configure.in (libc_cv_fpie): Weaken to a compile test using
26809 LIBC_TRY_CC_OPTION.
26810 * configure: Regenerated.
26811
11ef492c
AK
268122012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26813
26814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26818 Refreshed.
26819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26825 Refreshed.
26826
d66ef399
DM
268272012-05-27 David S. Miller <davem@davemloft.net>
26828
26829 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26830 (___Q_zero): New.
26831 (__Q_simulate_exceptions): Return void. Change to simulate
26832 exceptions by writing into the %fsr.
26833 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26834 (__Qp_handle_exceptions): Likewise.
26835 (numbers): Delete.
26836 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26837 __Qp_handle_exceptions.
26838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26839 __Qp_handle_exceptions.
26840 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26841 as unused and give dummy FP_RND_NEAREST initializer.
26842 (FP_INHIBIT_RESULTS): Define.
26843 (___Q_simulate_exceptions): Update declaration.
26844 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26845 formatting.
26846 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26847 as unused and give dummy FP_RND_NEAREST initializer.
26848 (__Qp_handle_exceptions): Update declaration.
26849 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26850 formatting.
26851
04fb54b5
TS
268522012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26853
26854 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26855 the temporary FPU control word.
26856 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26857 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26858 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26859 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26860 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26861 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26862 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26863 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26864 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26865 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26866 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26867
3f99608f
KK
268682012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26869
26870 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26871 fields.
26872
65a4de4e
CLT
268732012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26874
26875 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26876 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26877 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26878 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26879 Likewise.
26880 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26881 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26882 Likewise.
26883
15749d40
UD
268842012-05-27 Ulrich Drepper <drepper@gmail.com>
26885
26886 * po/h.po: Update from translation team.
26887
25dbcb27
AS
268882012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26889
3d3f8e55
AS
26890 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26891
25dbcb27
AS
26892 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26893 handling of denormals.
26894 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26895 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26896 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26897 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26898 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26901 Likewise.
26902
7ad47a80 269032012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26904
26905 [BZ #14152]
26906 * math/libm-test.inc (fma_test): Don't always expect underflow
26907 exception.
26908
9c6ea9fa
SP
269092012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26910
26911 [BZ #12416]
26912 * elf/tst-execstack.c: Include stackinfo.h.
26913 (do_test): Adjust test case to ensure that pthread_getattr_np
26914 behaviour remains the same after marking stack executable.
26915
a8239222
JM
269162012-05-25 Joseph Myers <joseph@codesourcery.com>
26917
26918 * sysdeps/unix/sysv/linux/kernel-features.h
26919 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26920 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26921 kernel-features.h.
26922 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26923 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26924 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26925 kernel-features.h.
26926 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26927 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26928
918b5606
L
269292012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26930
26931 * configure.in: Define the default includes to being none.
26932 * configure: Regenerated.
26933
3a097cc7
RM
269342012-05-25 Roland McGrath <roland@hack.frob.com>
26935
8422c9a5
RM
26936 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26937 * sysdeps/x86_64/setjmp.S: Likewise.
26938 * sysdeps/i386/bsd-setjmp.S: Likewise.
26939 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26940 * sysdeps/i386/setjmp.S: Likewise.
26941 * sysdeps/i386/__longjmp.S: Likewise.
26942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26943 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26944
3a097cc7
RM
26945 * include/stap-probe.h: New file.
26946 * configure.in: Handle --enable-systemtap.
26947 * configure: Regenerated.
26948 * config.h.in (USE_STAP_PROBE): New #undef.
26949 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26950 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26951 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26952
21708942
JM
269532012-05-25 Joseph Myers <joseph@codesourcery.com>
26954
26955 [BZ #13717]
26956 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26957 to 2.4.0 where earlier.
26958 * sysdeps/unix/sysv/linux/configure: Regenerated.
26959 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26960 <kernel-features.h>.
26961 [__ASSUME_32BITUIDS]: Make code unconditional.
26962 [!__ASSUME_32BITUIDS]: Remove conditional code.
26963 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26964 <kernel-features.h>.
26965 [__ASSUME_32BITUIDS]: Make code unconditional.
26966 [!__ASSUME_32BITUIDS]: Remove conditional code.
26967 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26968 [__ASSUME_32BITUIDS]: Make code unconditional.
26969 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26970 * sysdeps/unix/sysv/linux/i386/getegid.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/i386/geteuid.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/i386/getgid.c: Do not include
26979 <kernel-features.h>.
26980 [__ASSUME_32BITUIDS]: Make code unconditional.
26981 [!__ASSUME_32BITUIDS]: Remove conditional code.
26982 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26983 <kernel-features.h>.
26984 [__ASSUME_32BITUIDS]: Make code unconditional.
26985 [!__ASSUME_32BITUIDS]: Remove conditional code.
26986 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26987 <kernel-features.h>.
26988 [__ASSUME_32BITUIDS]: Make code unconditional.
26989 [!__ASSUME_32BITUIDS]: Remove conditional code.
26990 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26991 <kernel-features.h>.
26992 [__ASSUME_32BITUIDS]: Make code unconditional.
26993 [!__ASSUME_32BITUIDS]: Remove conditional code.
26994 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26995 <kernel-features.h>.
26996 [__ASSUME_32BITUIDS]: Make code unconditional.
26997 [!__ASSUME_32BITUIDS]: Remove conditional code.
26998 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26999 <kernel-features.h>.
27000 [__ASSUME_32BITUIDS]: Make code unconditional.
27001 [!__ASSUME_32BITUIDS]: Remove conditional code.
27002 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27003 <kernel-features.h>.
27004 [__ASSUME_32BITUIDS]: Make code unconditional.
27005 [!__ASSUME_32BITUIDS]: Remove conditional code.
27006 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27007 <kernel-features.h>.
27008 [__ASSUME_32BITUIDS]: Make code unconditional.
27009 [!__ASSUME_32BITUIDS]: Remove conditional code.
27010 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27011 <kernel-features.h>.
27012 [__NR_setresgid] (__setresgid): Do not declare.
27013 [__ASSUME_32BITUIDS]: Make code unconditional.
27014 [!__ASSUME_32BITUIDS]: Remove conditional code.
27015 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27016 <kernel-features.h>.
27017 [__NR_setresuid] (__setresuid): Do not declare.
27018 [__ASSUME_32BITUIDS]: Make code unconditional.
27019 [!__ASSUME_32BITUIDS]: Remove conditional code.
27020 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27021 <kernel-features.h>.
27022 [__ASSUME_32BITUIDS]: Make code unconditional.
27023 [!__ASSUME_32BITUIDS]: Remove conditional code.
27024 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27025 <kernel-features.h>.
27026 [__ASSUME_32BITUIDS]: Make code unconditional.
27027 [!__ASSUME_32BITUIDS]: Remove conditional code.
27028 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27029 <kernel-features.h>.
27030 [__ASSUME_32BITUIDS]: Make code unconditional.
27031 [!__ASSUME_32BITUIDS]: Remove conditional code.
27032 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27033 <kernel-features.h>.
27034 [__ASSUME_32BITUIDS]: Make code unconditional.
27035 [!__ASSUME_32BITUIDS]: Remove conditional code.
27036 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27037 <kernel-features.h>.
27038 [__ASSUME_32BITUIDS]: Make code unconditional.
27039 [!__ASSUME_32BITUIDS]: Remove conditional code.
27040 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27041 <kernel-features.h>.
27042 [__ASSUME_32BITUIDS]: Make code unconditional.
27043 [!__ASSUME_32BITUIDS]: Remove conditional code.
27044 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27045 <kernel-features.h>.
27046 [__ASSUME_32BITUIDS]: Make code unconditional.
27047 [!__ASSUME_32BITUIDS]: Remove conditional code.
27048 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27049 <kernel-features.h>.
27050 [__ASSUME_32BITUIDS]: Make code unconditional.
27051 [!__ASSUME_32BITUIDS]: Remove conditional code.
27052 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27053 <kernel-features.h>.
27054 [__ASSUME_32BITUIDS]: Make code unconditional.
27055 [!__ASSUME_32BITUIDS]: Remove conditional code.
27056 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27057 <kernel-features.h>.
27058 [__ASSUME_32BITUIDS]: Make code unconditional.
27059 [!__ASSUME_32BITUIDS]: Remove conditional code.
27060 * sysdeps/unix/sysv/linux/kernel-features.h
27061 (__ASSUME_SETRESUID_SYSCALL): Remove.
27062 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27063 (__ASSUME_32BITUIDS): Likewise.
27064 (__ASSUME_LDT_WORKS): Likewise.
27065 (__ASSUME_O_DIRECTORY): Likewise.
27066 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27067 architecture but not kernel version.
27068 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27069 (__ASSUME_MMAP2_SYSCALL): Likewise.
27070 (__ASSUME_STAT64_SYSCALL): Likewise.
27071 (__ASSUME_IPC64): Likewise.
27072 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27073 <kernel-features.h>.
27074 [__ASSUME_32BITUIDS]: Make code unconditional.
27075 [!__ASSUME_32BITUIDS]: Remove conditional code.
27076 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27077 <kernel-features.h>.
27078 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27079 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27080 132096]: Remove conditional code.
27081 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27082 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27083 <kernel-features.h>.
27084 [__ASSUME_32BITUIDS]: Make code unconditional.
27085 [!__ASSUME_32BITUIDS]: Remove conditional code.
27086 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27087 <kernel-features.h>.
27088 [__ASSUME_32BITUIDS]: Make code unconditional.
27089 [!__ASSUME_32BITUIDS]: Remove conditional code.
27090 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27091 <kernel-features.h>.
27092 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27093 unconditional.
27094 (__setresgid): Do not declare.
27095 [__ASSUME_32BITUIDS]: Make code unconditional.
27096 [!__ASSUME_32BITUIDS]: Remove conditional code.
27097 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27098 <kernel-features.h>.
27099 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27100 unconditional.
27101 (__setresuid): Do not declare.
27102 [__ASSUME_32BITUIDS]: Make code unconditional.
27103 [!__ASSUME_32BITUIDS]: Remove conditional code.
27104 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27105 <kernel-features.h>.
27106 [__ASSUME_32BITUIDS]: Make code unconditional.
27107 [!__ASSUME_32BITUIDS]: Remove conditional code.
27108 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27109 <kernel-features.h>.
27110 [__ASSUME_32BITUIDS]: Make code unconditional.
27111 [!__ASSUME_32BITUIDS]: Remove conditional code.
27112
a386f1cc
RH
271132012-05-25 Richard Henderson <rth@twiddle.net>
27114
27115 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27116 dl_hwcap to ifunc resolver.
27117 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27118 elf_ifunc_invoke.
27119 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27120 dl_hwcap to ifunc resolver.
27121 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27122
b6550497
JM
271232012-05-24 Joseph Myers <joseph@codesourcery.com>
27124
27125 [BZ #14153]
27126 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27127 for |x| <= 2**-26, not 2**-57.
27128 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27129 exception.
27130
b0bc23a1
JL
271312012-05-24 Jeff Law <law@redhat.com>
27132
27133 * stdio-common/Makefile (tests): Add bug25.
27134 * stdio-common/bug25.c: New test.
27135
347c92e9
L
271362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27137
27138 [BZ #13576]
27139 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27140 multiple of MALLOC_ALIGNMENT in size.
27141 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27142
6bcc8b3f
JM
271432012-05-24 Joseph Myers <joseph@codesourcery.com>
27144
27145 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27146 Require >= 256.
27147 (FILENAME_MAX): Use macro-int-constant.
27148 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27149 (_IOFBF): Use macro-int-constant.
27150 (_IOLBF): Likewise.
27151 (_IONBF): Likewise.
27152 (SEEK_CUR): Likewise.
27153 (SEEK_END): Likewise.
27154 (SEEK_SET): Likewise.
27155 (TMP_MAX): Likewise.
27156 (EOF): Use macro-int-constant. Require < 0.
27157 (NULL): Use macro-constant. Require == 0.
27158 (stdin): Require type to be FILE *.
27159 (stdout): Likewise.
27160 (stderr): Likewise.
27161 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27162 macro-int-constant.
27163 (EXIT_SUCCESS): Likewise.
27164 (NULL): Use macro-constant. Require == 0.
27165 (RAND_MAX): Use macro-int-constant.
27166 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27167 [C99-based standards] (strtof): Require function.
27168 [C99-based standards] (strtold): Likewise.
27169 [C99-based standards] (strtoll): Likewise.
27170 [C99-based standards] (strtoull): Likewise.
27171 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27172 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27173 [ISO || ISO99 || ISO11] (math.h): Likewise.
27174 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27175 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27176 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27177
d18ea0c5
AS
271782012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27179
27180 [BZ #14132]
56d25bb8
AS
27181 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27182 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27183 * intl/dgettext.c (DCGETTEXT): Likewise.
27184 * intl/gettext.c (DCGETTEXT): Likewise.
27185 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27186 * posix/regex_internal.h (gettext): Likewise.
27187 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27188 Remove declaration.
27189 * include/argz.h (__argz_count_internal)
27190 (__argz_stringify_internal): Remove declaration.
27191 (__argz_count, __argz_stringify): Declare hidden proto.
27192 * intl/dcgettext.c: Remove use of INTDEF.
27193 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27194 * string/argz-stringify.c: Likewise.
27195 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27196 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27197 Declare hidden proto.
d18ea0c5
AS
27198 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27199 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27200 Declare hidden proto.
27201 * include/stdio.h (__asprintf_internal): Don't declare.
27202 (__asprintf): Don't define as macro. Declare hidden proto.
27203 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27204 (__fsetlocking): Declare hidden proto.
27205 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27206 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27207 hidden proto.
27208 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27209 (_IO_setlinebuf): Remove use of INTUSE.
27210 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27211 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27212 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27213 Remove declaration.
27214 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27215 (_IO_do_flush): Remove use of INTUSE.
27216 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27217 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27218 (_IO_adjust_column, _IO_least_wmarker)
27219 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27220 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27221 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27222 (_IO_default_doallocate, _IO_wdefault_doallocate)
27223 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27224 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27225 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27226 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27227 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27228 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27229 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27230 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27231 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27232 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27233 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27234 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27235 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27236 proto.
27237 (_IO_flush_all_internal, _IO_adjust_column_internal)
27238 (_IO_default_uflow_internal, _IO_default_finish_internal)
27239 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27240 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27241 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27242 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27243 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27244 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27245 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27246 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27247 (_IO_file_close_internal, _IO_file_close_it_internal)
27248 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27249 (_IO_file_init_internal, _IO_file_attach_internal)
27250 (_IO_file_fopen_internal, _IO_file_read_internal)
27251 (_IO_file_sync_internal, _IO_file_seek_internal)
27252 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27253 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27254 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27255 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27256 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27257 (_IO_list_all_internal, _IO_link_in_internal)
27258 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27259 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27260 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27261 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27262 (_IO_do_write_internal, _IO_padn_internal)
27263 (_IO_getline_info_internal, _IO_getline_internal)
27264 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27265 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27266 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27267 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27268 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27269 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27270 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27271 with libc_hidden_ver, remove use of INTUSE.
27272 * libio/genops.c: Likewise.
27273 * libio/freopen.c: Likewise.
27274 * libio/freopen64.c: Likewise.
27275 * libio/iofclose.c: Likewise.
27276 * libio/iofdopen.c: Likewise.
27277 * libio/iofflush.c: Likewise.
27278 * libio/iofflush_u.c: Likewise.
27279 * libio/iofgets.c: Likewise.
27280 * libio/iofgets_u.c: Likewise.
27281 * libio/iofopen.c: Likewise.
27282 * libio/iofopncook.c: Likewise.
27283 * libio/iofread.c: Likewise.
27284 * libio/iofread_u.c: Likewise.
27285 * libio/ioftell.c: Likewise.
27286 * libio/iofwrite.c: Likewise.
27287 * libio/iogetline.c: Likewise.
27288 * libio/iogets.c: Likewise.
27289 * libio/iogetwline.c: Likewise.
27290 * libio/iopadn.c: Likewise.
27291 * libio/iopopen.c: Likewise.
27292 * libio/ioseekoff.c: Likewise.
27293 * libio/ioseekpos.c: Likewise.
27294 * libio/iosetbuffer.c: Likewise.
27295 * libio/iosetvbuf.c: Likewise.
27296 * libio/ioungetc.c: Likewise.
27297 * libio/ioungetwc.c: Likewise.
27298 * libio/iovdprintf.c: Likewise.
27299 * libio/iovsprintf.c: Likewise.
27300 * libio/iovsscanf.c: Likewise.
27301 * libio/memstream.c: Likewise.
27302 * libio/obprintf.c: Likewise.
27303 * libio/oldfileops.c: Likewise.
27304 * libio/oldiofclose.c: Likewise.
27305 * libio/oldiofdopen.c: Likewise.
27306 * libio/oldiofopen.c: Likewise.
27307 * libio/oldiopopen.c: Likewise.
27308 * libio/oldstdfiles.c: Likewise.
27309 * libio/putc.c: Likewise.
27310 * libio/setbuf.c: Likewise.
27311 * libio/setlinebuf.c: Likewise.
27312 * libio/stdfiles.c: Likewise.
27313 * libio/strops.c: Likewise.
27314 * libio/vasprintf.c: Likewise.
27315 * libio/vscanf.c: Likewise.
27316 * libio/vsnprintf.c: Likewise.
27317 * libio/vswprintf.c: Likewise.
27318 * libio/wfiledoalloc.c: Likewise.
27319 * libio/wfileops.c: Likewise.
27320 * libio/wgenops.c: Likewise.
27321 * libio/wmemstream.c: Likewise.
27322 * libio/wstrops.c: Likewise.
27323 * libio/__fpurge.c: Likewise.
27324 * libio/__fsetlocking.c: Likewise.
27325 * assert/assert.c: Likewise.
27326 * debug/fgets_chk.c: Likewise.
27327 * debug/fgets_u_chk.c: Likewise.
27328 * debug/fread_chk.c: Likewise.
27329 * debug/fread_u_chk.c: Likewise.
27330 * debug/gets_chk.c: Likewise.
27331 * debug/obprintf_chk.c: Likewise.
27332 * debug/vasprintf_chk.c: Likewise.
27333 * debug/vdprintf_chk.c: Likewise.
27334 * debug/vsnprintf_chk.c: Likewise.
27335 * debug/vsprintf_chk.c: Likewise.
27336 * malloc/mtrace.c: Likewise.
27337 * misc/error.c: Likewise.
27338 * misc/syslog.c: Likewise.
27339 * stdio-common/asprintf.c: Likewise.
27340 * stdio-common/fxprintf.c: Likewise.
27341 * stdio-common/getw.c: Likewise.
27342 * stdio-common/isoc99_fscanf.c: Likewise.
27343 * stdio-common/isoc99_scanf.c: Likewise.
27344 * stdio-common/isoc99_vfscanf.c: Likewise.
27345 * stdio-common/isoc99_vscanf.c: Likewise.
27346 * stdio-common/isoc99_vsscanf.c: Likewise.
27347 * stdio-common/printf-prs.c: Likewise.
27348 * stdio-common/printf_fp.c: Likewise.
27349 * stdio-common/printf_fphex.c: Likewise.
27350 * stdio-common/printf_size.c: Likewise.
27351 * stdio-common/putw.c: Likewise.
27352 * stdio-common/scanf.c: Likewise.
27353 * stdio-common/sprintf.c: Likewise.
27354 * stdio-common/tmpfile.c: Likewise.
27355 * stdio-common/vfprintf.c: Likewise.
27356 * stdio-common/vfscanf.c: Likewise.
27357 * stdlib/strfmon_l.c: Likewise.
27358 * sunrpc/openchild.c: Likewise.
27359 * sunrpc/xdr_stdio.c: Likewise.
27360 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27361 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27362
d6c33fda
RM
273632012-05-24 Roland McGrath <roland@hack.frob.com>
27364
c1487492
RM
27365 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27366
27367 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27368 in the third column, to generate for the shared library an IFUNC
27369 that uses _dl_vdso_vsym.
27370 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27371 * Makeconfig (object-suffixes-noshared): New variable.
27372
27373 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27374 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27375 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27376 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27377
d6c33fda
RM
27378 [BZ #14132]
27379 * include/sys/time.h (__gettimeofday): Remove macro.
27380 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27381 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27382 Remove INTDEF.
27383 (__gettimeofday): Add libc_hidden_def.
27384 (gettimeofday): Add libc_hidden_weak.
27385 * sysdeps/mach/gettimeofday.c: Likewise.
27386 * sysdeps/posix/gettimeofday.c: Likewise.
27387 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27388 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27389 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27390 (__gettimeofday_internal): Remove strong_alias.
27391 (__gettimeofday): Add libc_hidden_def.
27392 (gettimeofday): Add libc_hidden_weak.
27393 * sysdeps/unix/syscalls.list (gettimeofday):
27394 Remove __gettimeofday_internal alias.
27395
b5a2bbe6
L
273962012-05-24 Daniel Jacobowitz <drow@false.org>
27397 H.J. Lu <hongjiu.lu@intel.com>
27398
27399 [BZ #12495]
27400 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27401 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27402 (largebin_index_32_big): New.
27403 (largebin_index): Use it for 16-byte alignment.
27404 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27405 correction with front_misalign.
27406
cfba4fda
L
274072012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27408
7f907421
L
27409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27411 Likewise.
27412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27413 Likewise.
27414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27415 Likewise.
27416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27417 Likewise.
27418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27419 Likewise.
27420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27421 Likewise.
27422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27423 Likewise.
27424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27425 Likewise.
27426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27427 Likewise.
27428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27429 Likewise.
27430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27431 Likewise.
27432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27433 Likewise.
27434
cfba4fda
L
27435 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27436 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27437
80bad0cc
JM
274382012-05-24 Joseph Myers <joseph@codesourcery.com>
27439
7a25eb06
JM
27440 [BZ #10846]
27441 [BZ #14036]
27442 * math/libm-test.inc (exp_test): Add test from bug 14036.
27443 (pow_test): Add test from bug 10846.
27444
795405f9
JM
27445 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27446 and other flags.
27447 (special_function): Do not include flags in test name.
27448 (parse_args): Likewise.
27449 * sysdeps/i386/fpu/libm-test-ulps: Update.
27450 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27451 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27452 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27454
80bad0cc
JM
27455 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27456 exceptions.
27457 * math/libm-test.inc ("Philosophy"): Update comment about
27458 exception testing.
27459 (UNDERFLOW_EXCEPTION): New macro.
27460 (UNDERFLOW_EXCEPTION_OK): Likewise.
27461 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27462 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27463 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27464 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27465 (INVALID_EXCEPTION_OK): Update value.
27466 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27467 (OVERFLOW_EXCEPTION_OK): Likewise.
27468 (IGNORE_ZERO_INF_SIGN): Likewise.
27469 (test_exceptions): Handle underflow exceptions.
27470 (acos_test): Update for underflow exception expectations.
27471 (cexp_test): Likewise.
27472 (clog_test): Likewise.
27473 (clog10_test): Likewise.
27474 (csqrt_test): Likewise.
27475 (ctan_test): Likewise.
27476 (ctanh_test): Likewise.
27477 (exp_test): Likewise.
27478 (exp10_test): Likewise.
27479 (exp2_test): Likewise.
27480 (expm1_test): Likewise.
27481 (fma_test): Likewise.
27482 (j0_test): Likewise.
27483 (jn_test): Likewise.
27484 (nexttoward_test): Likewise.
27485 (pow_test): Likewise.
27486 (scalbn_test): Likewise.
27487 (scalbln_test): Likewise.
27488 (tan_test): Likewise.
27489 (y1_test): Likewise.
27490 * sysdeps/i386/fpu/libm-test-ulps: Update.
27491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27492
9e0e3d0b
DM
274932012-05-23 David S. Miller <davem@davemloft.net>
27494
27495 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27496 (__libc_sigaction): Remove unused local variables.
27497
ccd0a08f
L
274982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27499
27500 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27501
62bdf9a6
PE
275022012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27503
f8591f80
PE
27504 mktime: avoid signed integer overflow
27505 * time/mktime.c (__mktime_internal): Do not mishandle the case
27506 where diff == INT_MIN.
27507
94c7d826
PE
27508 mktime: simplify computation of average
27509 * time/mktime.c (ranged_convert): Use new time_t_avg function
27510 instead of rolling our own (probably-slower) code.
27511
ce73d683
PE
27512 mktime: do not assume signed right shift propagates sign bit
27513 * time/mktime.c (isdst_differ): New static function.
27514 (__mktime_internal): No need to normalize tm_isdst now.
27515 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27516 tm_isdst values.
27517
72a22e59
PE
27518 mktime: merge another wrapv change from gnulib
27519 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27520 from some compilers.
27521
68605433
PE
27522 mktime: remove incorrect attempt at unusual arithmetics
27523 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27524 The code didn't really work on such machines anyway.
27525 (TYPE_MINIMUM): Assume two's complement.
27526 (twos_complement_arithmetic): Verify that long_int and time_t
27527 are two's complement (or unsigned, in the latter case).
27528
03cf7fe3
PE
27529 mktime: check signed shifts on long_int and time_t, too
27530 * time/mktime.c (SHR): Check that shifts work as desired
27531 on the types long_int and time_t too, as SHR is used on
27532 such types.
27533
f04dfbc2
PE
27534 mktime: do not assume 'long' is wide enough
27535 * time/mktime.c (verify): Move decl up.
27536 (long_int): New type.
27537 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27538 to remove assumption in the code that 'long' is wide enough to
27539 store year values. This assumption is not true on x32 and on
27540 some non-glibc platforms.
27541
62bdf9a6
PE
27542 mktime: merge wrapv change from gnulib
27543 * time/mktime.c (WRAPV): New macro.
27544 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27545 (guess_time_tm, __mktime_internal): Do not assume that signed
27546 integer overflow wraps around; modern compilers generate code
27547 where this assumption is no longer valid.
27548
5e292e4f
L
275492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27550
27551 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27552 Replace "jmp L(pseudo_end)" with "ret".
27553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27554 Likewise.
27555
8caf8c87
AJ
275562012-05-23 Andreas Jaeger <aj@suse.de>
27557
27558 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27559 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27560
1a09dc56
AJ
275612012-05-23 Andreas Jaeger <aj@suse.de>
27562 Maximilian Attems <max@stro.at>
27563
27564 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27565 New macros.
27566
1c87aba0
L
275672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27568
27569 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27570 code so that pseudo_end is just ret and the stack pointer is
27571 correct also for static library in error case.
27572
40e45bd5
JM
275732012-05-23 Joseph Myers <joseph@codesourcery.com>
27574
c2670533
JM
27575 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27576 move to syscalls.list.
27577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27581
40e45bd5
JM
27582 * manual/install.texi (Running make install): Do not mention Linux
27583 kernel version for which pt_chown is not needed.
27584 (Linux): Do not mention problems with nscd with 2.0 kernels.
27585 * INSTALL: Regenerated.
27586
be08eda5
AJ
275872012-05-23 Andreas Jaeger <aj@suse.de>
27588
27589 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27590 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27591 macro.
27592 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27593 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27594 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27595 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27596 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27597 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27598 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27599 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27600 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27601 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27602 * sysdeps/unix/sysv/linux/bits/in.h
27603 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27604
a6a056bb
RM
276052012-05-22 Roland McGrath <roland@hack.frob.com>
27606
27607 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27608 (PREPARE_VERSION): Just use assert instead, it will be elided
27609 under [NDEBUG] anyway.
27610
c9009328
L
276112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27612
27613 * sysdeps/unix/sysv/linux/Makefile: Include
27614 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27615 (sysdep_routines): Remove sysctl.
c9009328
L
27616 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27617 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27618 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27619 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27620 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27621
73338355
AJ
276222012-05-22 Andreas Jaeger <aj@suse.de>
27623
27624 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27625 that pseudo_end is just ret and the stack pointer is correct also
27626 for static library in error case.
27627
d44638b0
PP
276282012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27629
27630 [BZ #14122]
27631 * nss/nsswitch.c (defconfig_entries): New variable.
27632 (__nss_database_lookup): Don't leak defconfig entries.
27633 (nss_parse_service_list): Don't leak on error paths.
27634 (free_database_entries): New function.
27635 (free_defconfig): New function.
27636 (free_mem): Move common code to free_database_entries.
27637
31a39bd8
L
276382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27639
da0331a8
L
27640 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27641 Add arch_prctl.
27642 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27643
31a39bd8
L
27644 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27645 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27646 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27647 New macro.
27648 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27649 (INTERNAL_SYSCALL_TYPES): Likewise.
27650 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27651 (LOAD_REGS_TYPES_[1-6]): Likewise.
27652 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27653 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27654
45470df3
AZ
276552012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27656
27657 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27658 copysignl for GLIBC_2_0.
27659 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27660 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27661 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27662 logbl for GLIBC_2_0.
27663 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27664 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27665
98a61bcb
L
276662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27667
a4f6e481
L
27668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27669 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27670
f63d5db6
L
27671 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27672 Use "neg %eax".
27673
98a61bcb
L
27674 * time/mktime.c: Update copyright years.
27675
95770f14
PE
276762012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27677
6226efbd
PE
27678 mktime: merge comment-quoting-style change from gnulib
27679 * time/mktime.c: Quote 'like this' in comments.
27680 The GNU coding standards suggest that we no longer quote `like this',
27681 as "`" and "'" are typically rendered asymmetrically nowadays.
27682 The typical gnulib style is to quote 'like this' when quoting
27683 code, and "like this" when quoting English.
27684
b99e4f78
PE
27685 * time/mktime.c (compile-command): Add "-I.".
27686
643e01e6
PE
27687 mktime: merge mktime-internal.h change from gnulib
27688 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27689
2554247d
PE
27690 mktime: merge time_r change from gnulib
27691 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27692
826dd0ab
PE
27693 mktime: merge DEBUG change from gnulib
27694 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27695 case system <time.h> has a #define.
27696
bd83aabe
PE
27697 mktime: merge <sys/types.h> change from gnulib
27698 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27699 since <time.t> is now guaranteed to define time_t.
27700
95770f14
PE
27701 mktime: merge HAVE_CONFIG_H change from gnulib
27702 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27703
5e1a27a9
L
277042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27705
0e44a77e
L
27706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27707 Use "neg %eax".
27708
5e1a27a9
L
27709 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27710 __rlim_t cast.
27711 (struct rusage): Use anonymous union to pad each field to
27712 __syscall_slong_t.
27713
46259bec
DM
277142012-05-21 David S. Miller <davem@davemloft.net>
27715
27716 * Makefules (o-iterator): Remove .s cases.
27717 (compile-command.s): Delete.
27718 (COMPILE.s): Delete.
27719 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27720
59f0c22e
JM
277212012-05-21 Joseph Myers <joseph@codesourcery.com>
27722
27723 * configure.in (libc_cv_predef_stack_protector): Only consider
27724 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27725 * configure: Regenerated.
27726
20c07380
L
277272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27728
bbb3154b
L
27729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27730 New macro. Use R*LP on int and pointer.
27731 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27732 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27733 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27734 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27735
20c07380
L
27736 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27737 [__WORDSIZE_TIME64_COMPAT32] instead of
27738 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27739 (struct utmp): Likewise.
27740 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27741 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27742 Renamed to ...
27743 (__WORDSIZE_TIME64_COMPAT32): This.
27744 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27745 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27746 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27747 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27748 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27749 (__WORDSIZE_TIME64_COMPAT32): New macro.
27750
d8d1017e
AJ
277512012-05-21 Andreas Jaeger <aj@suse.de>
27752
27753 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27754 only if [SHARED]. Add prototype for __wcschr_ia32.
27755
6c7fb145
RM
277562012-05-21 Roland McGrath <roland@hack.frob.com>
27757
27758 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27759 of %rbp unmolested in the jmp_buf while mangling the low bits.
27760 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27761 unmolested high bits of %rbp while demangling the low bits.
27762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27763
66274218
AJ
277642012-05-21 Andreas Jaeger <aj@suse.de>
27765
07c58f8f
AJ
27766 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27767 * sunrpc/svc_simple.c: Use it for registerrpc.
27768 * sunrpc/xcrypt.c: Use it for passwd2des.
27769
66274218
AJ
27770 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27771
61f65140
L
277722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27773
27774 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27775 Don't define if [__SYSCALL_WORDSIZE != 32].
27776 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27777 New macro.
27778
5fefb436
AJ
277792012-05-21 Bruno Haible <bruno@clisp.org>
27780 Andreas Jaeger <aj@suse.de>
27781
27782 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27783 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27784 inptr and inend for must_buffer_ch.
27785 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27786 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27787 * stdio-common/Makefile (tests): Remove bug15.
27788 (bug15-ENV): Remove macro.
27789 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27790 anymore.
27791
d8e272ab
AJ
277922012-05-19 Andreas Jaeger <aj@suse.de>
27793 Roland McGrath <roland@hack.frob.com>
27794
27795 * manual/contrib.texi: Completely rewritten. It contains now an
27796 alphabetical list of contributors and their contributions.
27797
4a56a162
RH
277982012-05-21 Richard Henderson <rth@twiddle.net>
27799
27800 * misc/getauxval.c (__getauxval): Use unsigned long int.
27801 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27802 (getauxval): Use unsigned long int.
27803
d024d23c
L
278042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27805
27806 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27807
cbc00a03
RM
278082012-05-21 Roland McGrath <roland@hack.frob.com>
27809
27810 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27811 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27812 __alignof__ (long double).
27813
478143fa
AZ
278142012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27815
27816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27817
c7683a6d
RH
278182012-05-20 Richard Henderson <rth@twiddle.net>
27819
27820 * misc/getauxval.c: New file.
27821 * misc/sys/auxv.h: New file.
27822 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27823 (routines): Add getauxval.
27824 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27825 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27826 * elf/dl-sysdep.c (_dl_auxv): Remove.
27827 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27828 * elf/dl-support.c (_dl_auxv): New variable.
27829 (_dl_aux_init): Initialize it.
27830 * manual/startup.texi (Auxiliary Vector): New node.
27831 * sysdeps/generic/bits/hwcap.h: New file.
27832 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27833 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27834 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27835 * sysdeps/sparc/sysdep.h: ... here. Include it.
27836 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27837 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27839 Update.
c7683a6d
RH
27840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27843 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27848
a6f1845d
AZ
278492012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27850
27851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27852
cbcbe830
DM
278532012-05-19 David S. Miller <davem@davemloft.net>
27854
27855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27856
e0b16cc2
JM
278572012-05-19 Joseph Myers <joseph@codesourcery.com>
27858
27859 [BZ #14123]
27860 * math/s_ccosh.c: Include <float.h>
27861 (__ccosh): Avoid internal overflow calculating sinh and cosh
27862 values before multiplying by sin and cos values.
27863 * math/s_ccoshf.c: Likewise.
27864 * math/s_ccoshl.c: Likewise.
27865 * math/s_csin.c: Likewise.
27866 * math/s_csinf.c: Likewise.
27867 * math/s_csinl.c: Likewise.
27868 * math/s_csinh.c: Likewise.
27869 * math/s_csinhf.c: Likewise.
27870 * math/s_csinhl.c: Likewise.
27871 * math/libm-test.inc (ccos_test): Add more tests.
27872 (ccosh_test): Likewise.
27873 (csin_test): Likewise.
27874 (csinh_test): Likewise.
27875 * sysdeps/i386/fpu/libm-test-ulps: Update.
27876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27877
6ad13e08
L
278782012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27879
f66f0ce8
L
27880 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27881 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27882
6ad13e08
L
27883 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27884
b1d072a7
JM
278852012-05-19 Joseph Myers <joseph@codesourcery.com>
27886
27887 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27888 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27889 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27890 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27891 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27892 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27893 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27894 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27895 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27896 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27897 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27898 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27899 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27900 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27901 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27902 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27903 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27904 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27905 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27906 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27907 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27908 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27909 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27910 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27911 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27912 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27913 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27914 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27915 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27916 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27917 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27918
9eae47cb
AJ
279192012-05-18 Andreas Jaeger <aj@suse.de>
27920
27921 * csu/.gitignore: Delete.
27922
bb07f69f
L
279232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27924
27925 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27926 (timex): Use __syscall_slong_t.
27927
e6bdb741
AJ
279282012-05-18 Andreas Jaeger <aj@suse.de>
27929 Carlos O'Donell <carlos_odonell@mentor.com>
27930
27931 * manual/install.texi (Configuring and compiling): Update
27932 description about files modified in the source directory.
d6c33fda 27933 * INSTALL: Regenerated.
e6bdb741 27934
1b74487e
L
279352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27936
27937 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27938 value. Use "or" to set return value to -1.
27939 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27940 negate return value.
27941
a88b64b9
TMQMF
279422012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27943
27944 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27945 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27946 failure if the compiler has Graphite support disabled.
27947 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27948 Likewise.
27949 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27950 CFLAGS-memmove.c): Likewise.
27951 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27952 Likewise.
27953
3707636e
L
279542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27955
610b8622
L
27956 * sysdeps/x86_64/x32/_itoa.h: New file.
27957
7cd195df
L
27958 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27959 getdents system call only if kernel and user dirents have the
27960 same d_ino and d_off.
27961
94b07d20
L
27962 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27963 LLONG_MAX != LONG_MAX.
27964 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27965 (_fitoa_word): Likewise.
27966
18298070
L
27967 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27968 years.
27969 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27970 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27971 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27972
553c7ea4
L
27973 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27974 include <bits/wordsize.h>. Check __x86_64__ instead of
27975 __WORDSIZE.
27976 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27977 if __x86_64__ is defined. Use anonymous union on fpstate.
27978
3707636e
L
27979 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27980 anonymous union.
27981
b53ef01a
AS
279822012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27983
37fb1dc0
AS
27984 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27985 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27986 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27987 Refer to _rtld_local_ro instead of _rtld_global_ro.
27988 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27989 Likewise.
27990 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27991 Likewise.
27992 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27993 Likewise.
27994 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27995 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27996 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27997
b53ef01a
AS
27998 * sysdeps/powerpc/powerpc32/dl-machine.c
27999 (__elf_machine_runtime_setup) [PROF]: Don't reference
28000 _dl_prof_resolve.
28001
7a185db2
AJ
280022012-05-18 Andreas Jaeger <aj@suse.de>
28003
28004 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28005 function only available for GCCs before 3.4 since GCC 3.4
28006 introduced a builtin.
28007 (lrint): Likewise.
28008 (llrintf): Likewise.
28009 (llrint): Likewise.
28010 (fmaxf): Likewise.
28011 (fmax): Likewise.
28012 (fminf): Likewise.
28013 (fmin): Likewise.
28014 (rint): Likewise.
28015 (rintf): Likewise.
28016 (nearbyint): Likewise.
28017 (nearbyintf): Likewise.
28018 (ceil): Likewise.
28019 (ceilf): Likewise.
28020 (floor): Likewise.
28021 (floorf): Likewise.
28022
3e5aef87
L
280232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28024
428bd707
L
28025 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28026 on both fields and cast pointer to __syscall_ulong_t.
28027
3e5aef87
L
28028 * bits/types.h (__fsword_t): New type.
28029 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28030 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28032 (__FSWORD_T_TYPE): Likewise.
28033 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28034 (__FSWORD_T_TYPE): Likewise.
28035 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28036 (__FSWORD_T_TYPE): Likewise.
28037 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28038 (__FSWORD_T_TYPE): Likewise.
28039 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28040 __SWORD_TYPE with __fsword_t.
28041 (statfs64): Likewise.
28042
1ba7c3dc
DM
280432012-05-17 David S. Miller <davem@davemloft.net>
28044
28045 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28046
59910343
AJ
280472012-05-17 Andreas Jaeger <aj@suse.de>
28048
28049 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28050 warning.
28051
2e4c1e9e
L
280522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28053
28054 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28055
de7f5ce7
AJ
280562012-05-17 Andreas Jaeger <aj@suse.de>
28057
28058 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28059 when it is used.
28060
286abc3d
CM
280612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28062
28063 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28064
477cc68e
L
280652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28066
28067 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28068 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28069
1a0994f5
CD
280702012-05-17 Andreas Jaeger <aj@suse.de>
28071 Carlos O'Donell <carlos_odonell@mentor.com>
28072
28073 [BZ #14059]
28074 * sysdeps/x86_64/multiarch/init-arch.h
28075 (bit_YMM_Usable): Rename to...
28076 (bit_AVX_Usable): ... this.
28077 (bit_FMA4_Usable): New macro.
28078 (bit_XMM_state): New macro.
28079 (bit_YMM_state): New macro.
28080 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28081 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28082 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28083 (CPUID_OSXSAVE): New macro.
28084 (CPUID_AVX): New macro.
28085 (CPUID_FMA4): New macro.
28086 (index_YMM_Usable): Rename to...
28087 (index_AVX_Usable): ... this.
28088 (HAS_AVX): Use HAS_ARCH_FEATURE.
28089 (HAS_FMA4): Likewise.
28090 (HAS_YMM_USABLE): Remove.
28091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28092 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28093 are present.
28094 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28095 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28096 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28097 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28098 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28099
0af797de
CM
281002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28101
28102 * math/libm-test.c: Support platforms without multiple rounding modes.
28103 * math/bug-nextafter.c: Support platforms without FP exceptions.
28104 * math/bug-nexttoward.c: Likewise.
28105 * math/test-fenv.c: Likewise.
28106 * math/test-misc.c: Likewise.
28107 * stdlib/bug-getcontext.c: Likewise.
28108
e39745ff
AJ
281092012-05-17 Andreas Jaeger <aj@suse.de>
28110
28111 * manual/examples/search.c (critter_cmp): Change signature to
28112 avoid warnings.
28113 * manual/string.texi (Collation Functions): Likewise.
28114
48970aba
L
281152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28116
28117 * bits/types.h: Fold copyright years.
28118 * bits/typesizes.h: Likewise.
28119 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28120 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28121 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28122 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28123 * time/time.h: Likewise.
28124
bedee953
PP
281252012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28126
28127 [BZ #208]
28128 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28129 in instead of returning them. Return void.
28130 (__libc_mallinfo): Accumulate over all arenas.
28131 (__malloc_stats): Adjust for change in int_mallinfo interface.
28132
61653dfb
RM
281332012-05-16 Roland McGrath <roland@hack.frob.com>
28134
30b99d79
RM
28135 [BZ #10375]
28136 * configure.in (NM): Add AC_CHECK_TOOL for it.
28137 (libc_extra_cflags): New substituted variable.
28138 Check for -fstack-protector being used implicitly.
28139 * configure: Regenerated.
28140 * config.make.in (config-extra-cflags): New variable,
28141 gets @libc_extra_cflags@.
28142 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28143
61653dfb
RM
28144 [BZ #10375]
28145 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28146 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28147 * configure: Regenerated.
28148 * config.make.in (CPPUNDEFS): New substituted variable.
28149 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28150 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28151 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28152
661768bb
L
281532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28154
28155 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28156 (mq_attr): Use __syscall_slong_t.
28157
d4261567
L
281582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28159
28160 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28161 Check __x86_64__ instead of __WORDSIZE.
28162 (_STAT_VER_LINUX): Likewise.
28163 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28164 __syscall_ulong_t and __syscall_slong_t.
28165 (stat64): Likewise.
28166
cf3ff365
L
281672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28168
28169 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28170
76cf3e4d
L
281712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28172
28173 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28174
a637753a
L
281752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28176
28177 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28178 __syscall_ulong_t.
28179
d5e05119
L
28180 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28181 include <bits/wordsize.h>. Check __x86_64__ instead of
28182 __WORDSIZE.
28183 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28184 defined.
28185 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28186
f62ee380
L
28187 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28188 include <bits/wordsize.h>. Check __x86_64__ instead of
28189 __WORDSIZE.
28190 (user_regs_struct): Use "__extension__ unsigned long long"
28191 instead of "unsigned long" if __x86_64__ is defined.
28192 (user): Likewise. Pad after pointer field if __ILP32__ is
28193 defined.
28194
4e124ced
JM
281952012-05-16 Joseph Myers <joseph@codesourcery.com>
28196
6a3951a0
JM
28197 * configure.in (makeinfo): Require version 4.5 or later. Allow
28198 versions 5 to 9.
28199 * configure: Regenerated.
28200 * manual/install.texi (texinfo): Increase version requirement to
28201 4.5 or later.
28202 * INSTALL: Regenerated.
28203
4e124ced
JM
28204 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28205
953ca31a
L
282062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28207
28208 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28209
617aca05
L
28210 * sysdeps/x86_64/x32/ffs.c: New file.
28211
5762f7ae
L
28212 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28213 __syscall_ulong_t.
28214 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28215 defined. Use __syscall_ulong_t.
28216 (shminfo): Use __syscall_ulong_t.
28217 (shm_info): Likewise.
28218
a26b6856
L
28219 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28220 __syscall_ulong_t.
28221
cb2b9ef7
L
28222 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28223 <bits/wordsize.h>.
28224 (msgqnum_t): Use __syscall_ulong_t.
28225 (msglen_t): Likewise.
28226 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28227 __syscall_ulong_t.
28228
34683bb0
L
28229 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28230 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28231
84a68786
L
28232 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28233
48baa5f1
L
28234 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28235 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28236
180be88b
L
28237 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28238 __syscall_slong_t.
28239
5e90c8ad
L
28240 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28241 include <bits/wordsize.h>. Check __x86_64__ instead of
28242 __WORDSIZE.
28243
23dfb58b
L
28244 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28245 "unsigned long long int" if __x86_64__ is defined.
28246 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28247
ce5d54b0
L
28248 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28249 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28250 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28251
13dc9eac
L
28252 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28253 <stdint.h>.
28254 (GET_PC): Cast to uintptr_t first.
28255 (GET_FRAME): Likewise.
28256 (GET_STACK): Likewise.
28257
a7895d15
L
28258 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28259 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28260 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28261 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28262 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28263 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28264 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28265 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28266 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28267 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28268 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28269 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28270 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28271 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28272 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28273 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28274 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28275 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28276 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28277 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28278 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28279 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28280 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28281 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28282 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28283 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28284 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28285 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28286 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28287
656416c9
AS
282882012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28289
5bd66283
AS
28290 * Makerules (+depfiles): Also collect depfiles from .oS in
28291 $(extra-objs).
28292 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28293 .oS, $(libnldbl-routines)).
28294
656416c9
AS
28295 * Makerules (native-compile-mkdep-flags): Define.
28296 * sunrpc/Makefile (extra-objs): Add $(addprefix
28297 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28298 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28299 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28300 calling $(make-target-directory).
28301
a46f2169
L
283022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28303
28304 * bits/types.h (__snseconds_t): Removed.
28305 * time/time.h (struct timespec): Replace __snseconds_t with
28306 __syscall_slong_t.
28307 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28308 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28309 Likewise.
28310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28311 (__SNSECONDS_T_TYPE): Likewise.
28312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28313 (__SNSECONDS_T_TYPE): Likewise.
28314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28315 (__SNSECONDS_T_TYPE): Likewise.
28316
6af6528b
L
283172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28318
28319 * sysdeps/mach/hurd/bits/typesizes.h
28320 (__SYSCALL_SLONG_TYPE): New macro.
28321 (__SYSCALL_ULONG_TYPE): Likewise.
28322
de986b56
L
283232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28324
28325 * bits/types.h (__syscall_slong_t): New type.
28326 (__syscall_ulong_t): Likewise.
28327
28328 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28329 (__SYSCALL_ULONG_TYPE): Likewise.
28330 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28331 (__SYSCALL_SLONG_TYPE): Likewise.
28332 (__SYSCALL_ULONG_TYPE): Likewise.
28333 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28334 (__SYSCALL_SLONG_TYPE): Likewise.
28335 (__SYSCALL_ULONG_TYPE): Likewise.
28336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28337 (__SYSCALL_SLONG_TYPE): Likewise.
28338 (__SYSCALL_ULONG_TYPE): Likewise.
28339
85736dc7
L
283402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28341
28342 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28343 Add sigaltstack-offsets.sym.
28344 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28345 <sigaltstack-offsets.h>.
28346 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28347 longjmp_msg pointer.
28348 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28349 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28350 signal stack.
28351 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28352
cc03b296
JM
283532012-05-15 Joseph Myers <joseph@codesourcery.com>
28354
a9538892
JM
28355 * elf/stackguard-macros.h: Remove file.
28356 * sysdeps/generic/stackguard-macros.h: New file.
28357 * sysdeps/i386/stackguard-macros.h: Likewise.
28358 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28359 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28360 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28361 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28362 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28363 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28364 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28365 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28366 <elf/stackguard-macros.h>.
28367
cc03b296
JM
28368 [BZ #14109]
28369 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28370 __aligned__ in attribute.
28371 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28372 (gregset_t): Likewise.
28373
93171016
L
283742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28375
28376 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28377 * sysdeps/x86_64/64/Implies-after: Here. New file.
28378 * sysdeps/x86_64/x32/Implies-after: New file.
28379
d86813a0
L
283802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28381
28382 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28383 and access return value for _dl_profile_fixup. Use R10_LP to
28384 load frame size.
28385
2953ec75
L
283862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28387
28388 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28389
3b550e9e
L
283902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28391
28392 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28393 * sysdeps/x86_64/x32/sysdep.h: New file.
28394
eda41706
L
283952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28396
28397 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28398 * sysdeps/x86_64/setjmp.S: Likewise.
28399
9ea01d93
AZ
284002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28401
28402 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28403 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28404 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28405 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28406 remove unused global constant.
28407
02a91938
CM
284082012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28409
28410 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28411 include of <not-cancel.h>.
28412
6540185f
RM
284132012-05-15 Roland McGrath <roland@hack.frob.com>
28414
28415 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28416
509072a0
AJ
284172012-05-15 Jeff Law <law@redhat.com>
28418 Andreas Jaeger <aj@suse.de>
28419
28420 [BZ #13594]
28421 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28422 out from...
28423 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28424 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28425 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28426 code changing __hst_map_handle.map.
28427
ba75122d
RM
284282012-05-15 Roland McGrath <roland@hack.frob.com>
28429
28430 * configure.in (sysnames): Look for Implies-before and Implies-after
28431 files.
28432 * configure: Regenerated.
28433
890d8bd8
L
284342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28435
28436 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28437 8-byte data alignment with LP_SIZE alignment.
28438
f6ee6623
L
284392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28440
28441 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28442 into R10_LP.
28443
ea2626f6
L
284442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28445
28446 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28447
085f715e
L
284482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28449
28450 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28451 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28452 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28453 Likewise.
28454 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28455
be8498fc
L
284562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28457
28458 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28459 (stackinfo_sub_sp): Likewise.
28460
70bc83b9
L
284612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28462
28463 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28464 RAX_LP.
28465
9bc0b730
L
284662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28467
28468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28469 into R*_LP.
28470
6d2850e7
L
284712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28472
28473 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28474 sizes into R*_LP.
28475
3cb84561
L
284762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28477
28478 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28479
54e2ed81
L
284802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28481
28482 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28483 into R11_LP and load __x86_64_shared_cache_size_half into
28484 R8_LP.
28485
8a17f349
L
284862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28487
28488 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28489 R8_LP.
28490
777b1eea
AZ
284912012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28492
28493 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28494 logb for POWER7.
28495 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28496 logbf for POWER7.
28497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28498 logbl for POWER7.
28499 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28500 powerpc32/power7/fpu/s_logb.c via #include.
28501 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28502 powerpc32/power7/fpu/s_logbf.c via #include.
28503 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28504 powerpc32/power7/fpu/s_logbl.c via #include.
28505
d20d4ac2
JM
285062012-05-15 Joseph Myers <joseph@codesourcery.com>
28507
28508 * README.libm: Remove file.
28509
6cdef1ab
L
285102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28511
28512 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28513 count for x32. Use R*_LP and omit operand-size suffix.
28514
0b254d8f
L
285152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28516
28517 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28518 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28519 * sysdeps/x86_64/x32/shlib-versions: New file.
28520
ceb809dc
RM
285212012-05-14 Roland McGrath <roland@hack.frob.com>
28522
28523 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28524 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28525 Use _dl_fatal_printf instead.
28526
37f1abd4
JM
285272012-05-14 Joseph Myers <joseph@codesourcery.com>
28528
28529 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28530 set if not set by the user. Do not allow for being unset.
28531 * sysdeps/unix/sysv/linux/configure: Regenerated.
28532
11de3a33
L
285332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28534
28535 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28536 the `q' suffix from lea and replace .quad with ASM_ADDR.
28537
e02f153a
L
285382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28539
28540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28541 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28542 instead of $17.
28543 (PTR_DEMANGLE): Likewise.
28544
520ae0fd
L
285452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28546
28547 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28548 (LP_OP): Likewise.
28549 (ASM_ADDR): Likewise.
28550 (RAX_LP): Likewise.
28551 (RBP_LP): Likewise.
28552 (RBX_LP): Likewise.
28553 (RCX_LP): Likewise.
28554 (RDI_LP): Likewise.
28555 (RSI_LP): Likewise.
28556 (RSP_LP): Likewise.
28557 (R8_LP): Likewise.
28558 (R9_LP): Likewise.
28559 (R10_LP): Likewise.
28560 (R10_LP): Likewise.
28561 (R11_LP): Likewise.
28562 (R12_LP): Likewise.
28563 (R13_LP): Likewise.
28564 (R14_LP): Likewise.
28565 (R15_LP): Likewise.
28566
b985be81
L
285672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28568
28569 * sysdeps/x86_64/x32/dl-machine.h: New file.
28570
6a4888ff
AJ
285712012-05-14 Andreas Jaeger <aj@suse.de>
28572
28573 * manual/Makefile (subdir): Remove export of subdir.
28574 (all): Remove target.
28575 (.PHONY): Remove all from list.
28576 (mkinstalldirs): Remove.
28577 (.PHONY): Remove installdirs from list.
28578 ($(inst_infodir)/libc.info): Use make-target-directory.
28579 (installdirs): Remove.
28580 (subdir_%): Remove.
28581 (glibc-targets): Remove.
28582 (lib): Remove.
28583 (stubs): Remove.
28584 ($(objpfx)stubs ../po/manual.pot): Remove.
28585 ($(objpfx)stamp%): Remove.
28586 (make-target-directory): Remove.
28587 (subdir_install): Remove.
28588 (routines): Remove.
28589 (aux): Remove.
28590 (sources): Remove.
28591 (objects): Remove.
28592 (headers): Remove.
28593
28594 [BZ #13750]
28595 * manual/.gitignore: Remove, it's not needed anymore.
28596 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28597 all files in it.
28598 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28599 directory.
28600 (texis): Renamed to $(objpfx)texis.
28601 (texis-path): New, contains path to generated files.
28602 (chapters.%): Use texis-path for complete path, add extra argument
28603 libc-texinfo.sh.
28604 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28605 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28606 (summary,texi, stamp-summary): Use complete path of
28607 files. Generate files in build dir.
28608 (dir-add.texi): Build in build dir.
28609 (libm-err.texi,stamp-libm-err): Likewise.
28610 (version.texi, stamp-version): Likewise.
28611 (.%c.texi): Likewise.
28612 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28613 (mostlyclean): Remove target.
28614 (realclean): Remove target.
28615 (generated): Add new variable with contents from mostlyclean and
28616 realclean, remove entries duplicated in common-mostlyclean, add
28617 stamp-libm-err and stamp-version.
28618 (generated-dirs): Add libc directory.
28619 ($(inst_infodir)/libc.info): Install files from build dir.
28620
28621 * manual/install.texi (Configuring and compiling): Adjust since
28622 the info files are not part of the tar ball anymore.
28623
7ac77294
AJ
286242012-05-14 Andreas Jaeger <aj@suse.de>
28625
28626 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28627 variable.
28628
ffb7875d
JM
286292012-05-14 Joseph Myers <joseph@codesourcery.com>
28630
28631 [BZ #13717]
28632 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28633 to 2.2.0 where earlier.
28634 * sysdeps/unix/sysv/linux/configure: Regenerated.
28635 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28636 Remove conditional code.
28637 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28638 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28639 Remove conditional code.
28640 [!__NR_lchown]: Likewise.
28641 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28642 [__NR_lchown]: Likewise.
28643 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28644 comment referencing __ASSUME_LCHOWN_SYSCALL.
28645 * sysdeps/unix/sysv/linux/i386/sigaction.c
28646 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28647 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28648 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28649 Remove conditional code.
28650 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28651 (__protocol_available): Remove #if 0 code.
28652 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28653 conditional code.
28654 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28655 * sysdeps/unix/sysv/linux/kernel-features.h
28656 (__ASSUME_GETCWD_SYSCALL): Don't define.
28657 (__ASSUME_REALTIME_SIGNALS): Likewise.
28658 (__ASSUME_PREAD_SYSCALL): Likewise.
28659 (__ASSUME_PWRITE_SYSCALL): Likewise.
28660 (__ASSUME_POLL_SYSCALL): Likewise.
28661 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28662 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28663 non-SPARC.
28664 (__ASSUME_SIOCGIFNAME): Don't define.
28665 (__ASSUME_MSG_NOSIGNAL): Likewise.
28666 (__ASSUME_SENDFILE): Define unconditionally.
28667 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28668 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28669 conditional code.
28670 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28671 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28672 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28673 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28674 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28675 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28676 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28678 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28681 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28684 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28687 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28690 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28693 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28696 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28697 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28699 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28701 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28702 Remove conditional code.
28703 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28704 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28705 Remove conditional code.
28706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28707 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28708 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28709 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28710 Remove conditional code.
28711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28712 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28713 Remove conditional code.
28714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28715 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28716 Remove conditional code.
28717 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28718 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28719 Remove conditional code.
28720 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28721 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28722 Remove conditional code.
28723 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28724 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28725 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28727 * sysdeps/unix/sysv/linux/sigaction.c
28728 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28729 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28730 * sysdeps/unix/sysv/linux/sigpending.c
28731 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28732 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28733 * sysdeps/unix/sysv/linux/sigprocmask.c
28734 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28735 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28736 * sysdeps/unix/sysv/linux/sigsuspend.c
28737 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28738 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28739 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28740 (__libc_missing_rt_sigs): Remove.
28741 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28742 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28743 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28744 Remove conditional code.
28745 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28746 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28747 return 1.
28748 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28749 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28750 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28751 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28752
1bfb7291
AJ
287532012-05-14 Andreas Jaeger <aj@suse.de>
28754
caae5a81
AJ
28755 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28756 it's not used in glibc.
28757 (__coshm1): Likewise.
28758 (__acosh1p): Likewise.
28759 (__sgn): Likewise.
28760
1bfb7291
AJ
28761 * manual/string.texi (Copying and Concatenation): Add missing
28762 variable in concat example.
28763 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28764
c044d724
L
287652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28766
144c5467 28767 [BZ #14103]
c044d724
L
28768 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28769 __builtin_clzl with __builtin_clzll.
28770
2523c62b
L
287712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28772
28773 [BZ #14104]
28774 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28775 libc_freeres_ptr.
28776
d7bb4c42
LD
287772012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28778
28779 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28780 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28781 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28782 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28783
9dc4e1fb
MF
287842012-05-14 Mike Frysinger <vapier@gentoo.org>
28785
28786 * NEWS: Update ia64 info.
28787
c7df0112
AS
287882012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28789
28790 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28791 used as bcopy.
28792
dc70356c
TS
287932012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28794
28795 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28796 * sysdeps/unix/syscalls.list (dup3): Likewise.
28797 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28798 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28799
9fb1a21f
L
288002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28801
28802 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28803 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28804
4822a2a5
L
288052012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28806
28807 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28808 thread pointer.
28809 (TLS_IE): Use mov/add instead of movq/addq to load thread
28810 pointer.
28811 (TLS_GD_PREFIX): New.
28812 (TLS_GD): Use it.
28813
842b81d6
DM
288142012-05-11 David S. Miller <davem@davemloft.net>
28815
28816 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28817 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28818 (_FPU_SETCW): Likewise.
28819
1cf463cd
L
288202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28821
28822 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28823 is 32-byte aligned.
28824
60cc4a18
AS
288252012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28826
28827 [BZ #11837]
28828 * iconvdata/gb18030.c: Update tables.
28829 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28830 characters specially.
28831 (BODY for TO_LOOP): Add encoding of missing ranges.
28832
febb44a4
TS
288332012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28834
28835 [BZ #13673]
28836 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28837 * sysdeps/mach/hurd/dup3.c: Likewise.
28838 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28839 * sysdeps/powerpc/memmove.c:: Likewise.
28840
0a10fb9e
L
288412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28842
28843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28844 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28845
df8a552f
L
288462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28847
28848 * elf/elf.h (R_X86_64_RELATIVE64): New.
28849 (R_X86_64_NUM): Updated.
28850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28851 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28852 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28853 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28854 tst-quad1pie tst-quad2pie
28855 (modules-names): Add tst-quadmod1 tst-quadmod2.
28856 ($(objpfx)tst-quad1): New dependency.
28857 ($(objpfx)tst-quad2): Likewise.
28858 ($(objpfx)tst-quad1pie): Likewise.
28859 ($(objpfx)tst-quad2pie): Likewise.
28860 * sysdeps/x86_64/tst-quad1.c: New file.
28861 * sysdeps/x86_64/tst-quad1pie.c: New file.
28862 * sysdeps/x86_64/tst-quad2.c: Likewise.
28863 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28864 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28865 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28866 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28867 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28868
f34d6f84
ST
288692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28870
f42d41d1
ST
28871 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28872 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28873 * streams/stropts.h (t_scalar_t): Define type.
28874
3c3571fc
ST
28875 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28876 (_PATH_PRESERVE): Set to "/var/lib".
28877 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28878
61f06bd3
ST
28879 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28880 instead of int.
28881
918d4d71
ST
28882 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28883 if __dir_mkfile succeeded.
28884
f34d6f84
ST
28885 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28886 checking for _hurd_dtablesize. Unlock it right after having
28887 finished _hurd_dtable allocation.
28888
10589b4a
TS
288892012-05-10 Thomas Schwinge <thomas@schwinge.name>
28890
674cdbc7
TS
28891 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28892 * sysdeps/mach/hurd/configure: Regenerated.
28893 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28894 special-casing to...
28895 * sysdeps/gnu/configure.in: ... this new file.
28896 * sysdeps/unix/sysv/linux/configure: Regenerated.
28897 * sysdeps/gnu/configure: New generated file.
28898
8e41b99f
TS
28899 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28900 for Linux: use nsec instead of usec, as well as:
28901 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28902 members of type struct timespec.
28903 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28904 New macros.
28905 (struct stat64): Likewise.
28906 (_STATBUF_ST_NSEC): New macro.
28907 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28908
10589b4a
TS
28909 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28910 __strtoul_internal rather than strtoul.
28911
63643c85
PT
289122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28913
28914 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28915 and reject them.
28916
3faebe6a
ST
289172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28918
28919 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28920 which preserves existing values.
28921 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28922
c6474b07
PT
289232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28924
28925 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28926 TIMEOUT values. Return EINVAL for NFDS values either negative or
28927 greater than FD_SETSIZE.
28928
1043890b
ST
289292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28930
28931 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28932 allocated, call __vm_protect to finish enabling the existing space, and
28933 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28934 allocate the remainder.
28935
37ed8b9b
PT
289362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28937
28938 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28939 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28940
db653660
ST
289412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28942
37ed8b9b
PT
28943 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28944 sysdeps/mach/hurd/readlink.c.
b29d4053 28945
db653660
ST
28946 * posix/tst-sysconf.c (posix_options): Only use
28947 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28948 _POSIX_SYNCHRONIZED_IO when they are defined
28949 * sysdeps/mach/hurd/bits/posix_opt.h:
28950 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28951 (_XOPEN_REALTIME): Undefine macro.
28952 (_XOPEN_REALTIME_THREADS): Undefine macro.
28953 (_XOPEN_SHM): Undefine macro.
28954 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28955 macro to -1.
28956 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28957 macro to -1.
28958 (_POSIX_ASYNC_IO): Undefine macro.
28959 (_POSIX_PRIORITIZED_IO): Undefine macro.
28960 (_POSIX_SPIN_LOCKS): Define macro to -1.
28961
ee16e894
ST
28962 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28963 SA_NODEFER, SA_RESETHAND.
28964 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28965 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28966 F_DUPFD_CLOEXEC.
28967
6103ae3b
TS
289682012-05-10 Thomas Schwinge <thomas@schwinge.name>
28969
28970 * elf/Makefile (pldd-modules): Define unconditionally.
28971
80b4e5f3
TS
289722012-05-10 Thomas Schwinge <thomas@schwinge.name>
28973
28974 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28975
edadcbd6
ST
289762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28977
28978 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28979 Return ENOENT when name is empty.
28980 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28981
80694780
TS
289822012-05-10 Thomas Schwinge <thomas@schwinge.name>
28983
1792c087
TS
28984 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28985
80694780
TS
28986 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28987
6b645f0d
ST
289882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28989
80694780
TS
28990 Fix mlock in all cases except non-readable pages.
28991 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28992 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28993
6b645f0d
ST
28994 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28995 (__mkdir): When path is `/', just fail with EEXIST.
28996 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28997
e468f8a3
TS
289982012-05-10 Thomas Schwinge <thomas@schwinge.name>
28999
29000 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29001 <sys/uio.h> (for writev).
29002 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29003 and <sys/param.h> (for MIN).
29004
a4186cff
PT
290052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29006
29007 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29008 REQUESTED_TIME. Properly set the remaining time and return EINTR
29009 if interrupted.
29010
510bbf14
TS
290112012-05-10 Thomas Schwinge <thomas@schwinge.name>
29012
29013 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29014 Depend on against $(link-rpcuserlibs).
29015
5d5722e8
ST
290162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29017
a4186cff
PT
29018 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29019 (__libc_stack_end): Do not use attribute_relro.
29020 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29021 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29022 to libthread-provided value.
a4186cff
PT
29023 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29024 attribute_relro.
5d5722e8 29025
37233df9
TS
290262012-05-10 Thomas Schwinge <thomas@schwinge.name>
29027
be971a2b
TS
29028 [BZ #3748]
29029 * bits/libc-lock.h (__libc_once_get): New macro.
29030 * sysdeps/mach/bits/libc-lock.h: Likewise.
29031 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29032 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29033 instead of using implementation details.
29034
37233df9
TS
29035 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29036 * libio/freopen.c: Likewise.
29037 * libio/freopen64.c: Likewise.
29038 * misc/syslog.c: Likewise.
29039 * nscd/connections.c: Likewise.
29040 * nscd/netgroupcache.c: Likewise.
29041 * sysdeps/posix/getcwd.c: Likewise.
29042
38de94a5
RM
290432012-05-10 Roland McGrath <roland@hack.frob.com>
29044
29045 * math/w_ilogbf.c: Add #include <limits.h>.
29046
67530489
ST
290472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29048
a4186cff 29049 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29050 path instead of returning without unlocking.
29051
67530489
ST
29052 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29053 immediate-write ioctls.
29054 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29055
5aa3a74a
TS
290562012-05-10 Thomas Schwinge <thomas@schwinge.name>
29057
18bad2ae
TS
29058 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29059 __builtin_frame_address instead of making assumptions about the
29060 location of the return address relative to DATA. Force early load of
29061 the return address.
29062 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29063 __builtin_frame_address.
29064
5aa3a74a
TS
29065 dup3 for GNU Hurd.
29066 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29067 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29068 implement dup3 and do some further code clean-ups.
29069 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29070 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29071
ecd0de9a
ST
290722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29073
cd9fa985
ST
29074 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29075
a4186cff
PT
29076 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29077 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29078 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29079 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29080 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29081 d->port.lock.
802ca5a5 29082
a4186cff
PT
29083 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29084 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29085 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29086
bcf55240
TS
290872012-05-10 Thomas Schwinge <thomas@schwinge.name>
29088
6960eb42
TS
29089 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29090 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29091 definitions.
29092
eb43375f
TS
29093 accept4 for GNU Hurd.
29094 * include/sys/socket.h (__libc_accept4): New prototype.
29095 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29096 to implement __libc_accept4.
29097 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29098 __libc_accept4.
29099 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29100
bcf55240
TS
29101 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29102 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29103 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29104 signal-defines.sym.
29105
6178c55b
ST
291062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29107
a4186cff 29108 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29109
6f080c2f
TS
291102012-05-10 Thomas Schwinge <thomas@schwinge.name>
29111
29112 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29113 assertion on O_CLOEXEC flag.
29114 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29115 * hurd/intern-fd.c: Likewise.
29116 * hurd/port2fd.c: Likewise.
29117
bcfe3a54
ST
291182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29119
29120 [BZ #3906]
29121 * bits/in.h (IPV6_PKTINFO): Define new macro.
29122 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29123
89c9aa49
AZ
291242012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29125
29126 [BZ #13954]
29127 [BZ #13955]
29128 [BZ #13956]
29129 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29130 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29131 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29132 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29134 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29135 * math/libm-test.inc (logb_test) : Additional logb tests.
29136
021db4be
AJ
291372012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29138 Andreas Jaeger <aj@suse.de>
29139
29140 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29141 * configure: Regenerated.
29142 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29143 * config.make.in (link-obsolete-rpc): New substituted variable.
29144 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29145 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29146 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29147 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29148 so that libc.a contains the symbols.
29149 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29150 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29151 * sunrpc/auth_none.c: Likewise.
29152 * sunrpc/auth_unix.c: Likewise.
29153 * sunrpc/authdes_prot.c: Likewise.
29154 * sunrpc/authuxprot.c: Likewise.
29155 * sunrpc/clnt_gen.c: Likewise.
29156 * sunrpc/clnt_perr.c: Likewise.
29157 * sunrpc/clnt_raw.c: Likewise.
29158 * sunrpc/clnt_simp.c: Likewise.
29159 * sunrpc/clnt_tcp.c: Likewise.
29160 * sunrpc/clnt_udp.c: Likewise.
29161 * sunrpc/clnt_unix.c: Likewise.
29162 * sunrpc/des_crypt.c: Likewise.
29163 * sunrpc/des_soft.c: Likewise.
29164 * sunrpc/get_myaddr.c: Likewise.
29165 * sunrpc/key_call.c: Likewise.
29166 * sunrpc/key_prot.c: Likewise.
29167 * sunrpc/netname.c: Likewise.
29168 * sunrpc/pm_getmaps.c: Likewise.
29169 * sunrpc/pm_getport.c: Likewise.
29170 * sunrpc/pmap_clnt.c: Likewise.
29171 * sunrpc/pmap_prot.c: Likewise.
29172 * sunrpc/pmap_prot2.c: Likewise.
29173 * sunrpc/pmap_rmt.c: Likewise.
29174 * sunrpc/publickey.c: Likewise.
29175 * sunrpc/rpc_cmsg.c: Likewise.
29176 * sunrpc/rpc_common.c: Likewise.
29177 * sunrpc/rpc_dtable.c: Likewise.
29178 * sunrpc/rpc_prot.c: Likewise.
29179 * sunrpc/rpc_thread.c: Likewise.
29180 * sunrpc/rtime.c: Likewise.
29181 * sunrpc/svc.c: Likewise.
29182 * sunrpc/svc_auth.c: Likewise.
29183 * sunrpc/svc_raw.c: Likewise.
29184 * sunrpc/svc_run.c: Likewise.
29185 * sunrpc/svc_tcp.c: Likewise.
29186 * sunrpc/svc_udp.c: Likewise.
29187 * sunrpc/svc_unix.c: Likewise.
29188 * sunrpc/svcauth_des.c: Likewise.
29189 * sunrpc/xcrypt.c: Likewise.
29190 * sunrpc/xdr.c: Likewise.
29191 * sunrpc/xdr_array.c: Likewise.
29192 * sunrpc/xdr_float.c: Likewise.
29193 * sunrpc/xdr_intXX_t.c: Likewise.
29194 * sunrpc/xdr_mem.c: Likewise.
29195 * sunrpc/xdr_rec.c: Likewise.
29196 * sunrpc/xdr_ref.c: Likewise.
29197 * sunrpc/xdr_sizeof.c: Likewise.
29198 * sunrpc/xdr_stdio.c: Likewise.
29199
b5c086a2
RM
292002012-05-10 Roland McGrath <roland@hack.frob.com>
29201
29202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29203 change. Update copyright years.
29204
6d74dd09
JM
292052012-05-10 Joseph Myers <joseph@codesourcery.com>
29206
29207 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29208
28e72501
MK
292092012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29210 Joseph Myers <joseph@codesourcery.com>
29211 Paul Pluzhnikov <ppluzhnikov@google.com>
29212
29213 [BZ #14012]
29214 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29215 requiring rpcgen.
29216 [cross-compiling] (extra-libs): Likewise.
29217 [cross-compiling] (extra-libs-others): Likewise.
29218 [cross-compiling] (librpcsvc-routines): Likewise.
29219 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29220 [cross-compiling] (omit-deps): Likewise.
29221 (sunrpc-CPPFLAGS): New variable.
29222 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29223 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29224 (cross-rpcgen-objs): New variable.
29225 (extra-objs): Append $(cross-rpcgen-objs).
29226 ($(cross-rpcgen-objs)): New rule.
29227 ($(objpfx)cross-rpcgen): Likewise.
29228 (rpcgen-cmd): Define to use $(built-program-file). Expand
29229 comment.
29230 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29231 ($(objpfx)x%.stmp): Likewise.
29232 * sunrpc/proto.h [IS_IN_build] (_): Define.
29233 [IS_IN_build] (_libc_intl_domainname): Likewise.
29234
c8c59454
L
292352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29236
29237 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29238 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29239 and R_X86_64_TPOFF64.
29240
6f27cd16
JM
292412012-05-10 Joseph Myers <joseph@codesourcery.com>
29242
29243 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29244 sysdeps/unix/sysv/syscalls.list.
29245 (stime): Likewise.
29246 (utime): Likewise.
29247 * sysdeps/unix/sysv/syscalls.list: Remove file.
29248
02467e1c
PE
292492012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29250
29251 [BZ #3440]
29252 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29253 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29254 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29255 (__LC_IDENTIFICATION): Make these macros useful in #if
29256 expressions, as required by C99.
29257
da392631
AS
292582012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29259
29260 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29261 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29262 after this.
29263
8115f29b
L
292642012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29265
29266 * stdlib/longlong.h: Updated from GCC.
29267
bdd74070
AJ
292682012-05-09 Andreas Jaeger <aj@suse.de>
29269
edfe0dbe
AJ
29270 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29271 default is first entry.
29272 (run_mode): Set type.
29273 (main): Remove informal message about syslog.
29274 (options): Fix typo.
29275
bcfe3a54
ST
29276 [BZ #14053]
29277 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29278 to asm.
bcfe3a54
ST
29279 (lrint): Likewise.
29280 (llrintf): Likewise.
29281 (llrint): Likewise.
29282 (rint): Likewise.
29283 (rintf): Likewise.
29284 (nearbyint): Likewise.
29285 (nearbyintf): Likewise.
bdd74070 29286
91d8d69e
AJ
292872012-05-09 Andreas Jaeger <aj@suse.de>
29288 Pedro Alves <palves@redhat.com>
29289
29290 * nscd/nscd.c (run_mode): Use enum.
29291 (main): Cleanup coding style issue.
29292
bb90b80b
AJ
292932012-05-09 Alexandre Oliva <aoliva@redhat.com>
29294 Andreas Jaeger <aj@suse.de>
29295
bcfe3a54
ST
29296 * nscd/nscd.c (go_background): Replaced with...
29297 (run_mode): ... this.
bb90b80b 29298 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29299 (options): Add -F --foreground.
29300 (main): Implement it.
29301 (parse_opt): Parse it.
bb90b80b 29302
1a4b75a1
AJ
293032012-05-09 Andreas Jaeger <aj@suse.de>
29304
29305 [BZ #14083]
29306 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29307 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29308 -Wconversion warning.
29309 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29310 Likewise.
29311
b1cc2472
JM
293122012-05-09 Joseph Myers <joseph@codesourcery.com>
29313
29314 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29315 == 0.
29316 (LC_ALL): Use macro-int-constant.
29317 (LC_COLLATE): Likewise.
29318 (LC_CTYPE): Likewise.
29319 (LC_MESSAGES): Likewise.
29320 (LC_MONETARY): Likewise.
29321 (LC_NUMERIC): Likewise.
29322 (LC_TIME): Likewise.
29323 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29324 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29325 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29326 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29327 Specify type.
29328 [C99-based standards] (float_t): Expect type.
29329 [C99-based standards] (double_t): Expect type.
29330 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29331 type.
29332 [C99-based standards] (HUGE_VALL): Likewise.
29333 [C99-based standards] (INFINITY): Likewise.
29334 [C99-based standards] (NAN): Likewise.
29335 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29336 [C99-based standards] (FP_NAN): Likewise.
29337 [C99-based standards] (FP_NORMAL): Likewise.
29338 [C99-based standards] (FP_SUBNORMAL): Likewise.
29339 [C99-based standards] (FP_ZERO): Likewise.
29340 [C99-based standards] (FP_FAST_FMA): Use
29341 optional-macro-int-constant. Specify type. Require == 1.
29342 [C99-based standards] (FP_FAST_FMAF): Likewise.
29343 [C99-based standards] (FP_FAST_FMAL): Likewise.
29344 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29345 [C99-based standards] (FP_ILOGBNAN): Likewise.
29346 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29347 Specify type.
29348 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29349 [C99-based standards] (math_errhandling): Specify type.
29350 [ISO99 || ISO11] (signgam): Do not allow.
29351 [non-C99-based standards] (copysignf): Do not allow.
29352 [non-C99-based standards] (exp2f): Likewise.
29353 [non-C99-based standards] (log2f): Likewise.
29354 [non-C99-based standards] (modff): Allow.
29355 [non-C99-based standards] (erff): Do not allow.
29356 [non-C99-based standards] (erfcf): Likewise.
29357 [non-C99-based standards] (gammaf): Likewise.
29358 [non-C99-based standards] (hypotf): Likewise.
29359 [non-C99-based standards] (j0f): Likewise.
29360 [non-C99-based standards] (j1f): Likewise.
29361 [non-C99-based standards] (jnf): Likewise.
29362 [non-C99-based standards] (lgammaf): Likewise.
29363 [non-C99-based standards] (tgammaf): Likewise.
29364 [non-C99-based standards] (y0f): Likewise.
29365 [non-C99-based standards] (y1f): Likewise.
29366 [non-C99-based standards] (ynf): Likewise.
29367 [non-C99-based standards] (isnanf): Likewise.
29368 [non-C99-based standards] (acoshf): Likewise.
29369 [non-C99-based standards] (asinhf): Likewise.
29370 [non-C99-based standards] (atanhf): Likewise.
29371 [non-C99-based standards] (cbrtf): Likewise.
29372 [non-C99-based standards] (expm1f): Likewise.
29373 [non-C99-based standards] (ilogbf): Likewise.
29374 [non-C99-based standards] (log1pf): Likewise.
29375 [non-C99-based standards] (logbf): Likewise.
29376 [non-C99-based standards] (nextafterf): Likewise.
29377 [non-C99-based standards] (remainderf): Likewise.
29378 [non-C99-based standards] (rintf): Likewise.
29379 [non-C99-based standards] (scalbf): Likewise.
29380 [non-C99-based standards] (copysignl): Likewise.
29381 [non-C99-based standards] (exp2l): Likewise.
29382 [non-C99-based standards] (log2l): Likewise.
29383 [non-C99-based standards] (modfl): Allow.
29384 [non-C99-based standards] (erfl): Do not allow.
29385 [non-C99-based standards] (erfcl): Likewise.
29386 [non-C99-based standards] (gammal): Likewise.
29387 [non-C99-based standards] (hypotl): Likewise.
29388 [non-C99-based standards] (j0l): Likewise.
29389 [non-C99-based standards] (j1l): Likewise.
29390 [non-C99-based standards] (jnl): Likewise.
29391 [non-C99-based standards] (lgammal): Likewise.
29392 [non-C99-based standards] (tgammal): Likewise.
29393 [non-C99-based standards] (y0l): Likewise.
29394 [non-C99-based standards] (y1l): Likewise.
29395 [non-C99-based standards] (ynl): Likewise.
29396 [non-C99-based standards] (isnanl): Likewise.
29397 [non-C99-based standards] (acoshl): Likewise.
29398 [non-C99-based standards] (asinhl): Likewise.
29399 [non-C99-based standards] (atanhl): Likewise.
29400 [non-C99-based standards] (cbrtl): Likewise.
29401 [non-C99-based standards] (expm1l): Likewise.
29402 [non-C99-based standards] (ilogbl): Likewise.
29403 [non-C99-based standards] (log1pl): Likewise.
29404 [non-C99-based standards] (logbl): Likewise.
29405 [non-C99-based standards] (nextafterl): Likewise.
29406 [non-C99-based standards] (remainderl): Likewise.
29407 [non-C99-based standards] (rintl): Likewise.
29408 [non-C99-based standards] (scalbl): Likewise.
29409 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29410 [non-C99-based standards] (FP_*): Do not allow.
29411 [C99-based standards] (FP_*): Change to
29412 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29413 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29414 allow.
29415 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29416 (SIG_ERR): Likewise.
29417 [X/Open-based standards] (SIG_HOLD): Likewise.
29418 (SIG_IGN): Likewise.
29419 (SIGABRT): Use macro-int-constant. Specify type. Require
29420 positive value.
29421 (SIGFPE): Likewise.
29422 (SIGILL): Likewise.
29423 (SIGINT): Likewise.
29424 (SIGSEGV): Likewise.
29425 (SIGTER): Likewise.
29426 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29427 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29428 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29429 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29430 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29431 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29432 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29433 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29434 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29435 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29436 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29437 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29438 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29439 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29440 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29441 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29442 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29443 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29444 [X/Open-based standards] (SIGTRAP): Likewise.
29445 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29446 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29447 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29448 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29449 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29450 allow.
29451
b9f1922d
IW
294522012-05-08 Ian Wienand <ianw@vmware.com>
29453
29454 [BZ #14080]
29455 * time/tzset.c (__tzset_parse_tz): Update default rules for
29456 daylight time changes in the Energy Policy Act of 2005.
29457
1db86e88
AJ
294582012-05-09 Andreas Jaeger <aj@suse.de>
29459
29460 [BZ #13983]
29461 * elf/ldconfig.c (parse_conf): Change string to make clear that
29462 ldconfig only issued a warning if ld.so.conf does not exist.
29463
dee4a4e3
DM
294642012-05-08 David S. Miller <davem@davemloft.net>
29465
ee0db190
DM
29466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29467 movxtod instead of popping the value on the stack.
29468
dee4a4e3
DM
29469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29470
6a43ec98
CD
294712012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29472
29473 * config.h.in: Add HAVE_ARM_PCS_VFP.
29474
05c2c961
RMG
294752012-05-08 Roland Mc Grath <roland@hack.frob.com>
29476
bcfe3a54
ST
29477 [BZ #13979]
29478 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29479 checking but the checks are disabled for any reason.
05c2c961 29480
4b30f61a
L
294812012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29482
29483 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29484 and ELF64_R_TYPE with ELFW(R_TYPE).
29485
eee2bc67
JM
294862012-05-08 Joseph Myers <joseph@codesourcery.com>
29487
7ea5391a
JM
29488 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29489 (ulimit): Likewise.
29490
eee2bc67
JM
29491 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29492 (settimeofday): Likewise.
29493
abb66a67
MF
294942012-05-08 Mike Frysinger <vapier@gentoo.org>
29495
29496 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29497 a struct th_u2 inside the union, and move tu_block/tu_code into
29498 a new th_u3 union of tu_block/tu_code inside of that. Move
29499 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29500 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29501 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29502 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29503 (th_stuff): Change to th_u1.tu_stuff.
29504 (th_data): Define.
29505 (th_msg): Change to th_u1.th_u2.tu_data.
29506
7f18b530
DM
295072012-05-07 David S. Miller <davem@davemloft.net>
29508
05760585
DM
29509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29510
7f18b530
DM
29511 [BZ #14074]
29512 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29513 (SETUP_PIC_REG): Use it.
29514 (SETUP_PIC_REG_LEAF): Use it.
29515
495fd99f
JM
295162012-05-07 Joseph Myers <joseph@codesourcery.com>
29517
29518 [BZ #13885]
29519 [BZ #13923]
29520 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29521 USE_AS_EXPM1L.
29522 (EXPL_FINITE): Likewise.
29523 (FLDLOG): Likewise.
29524 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29525 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29526 e_expl.S.
29527 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29528 USE_AS_EXPM1L.
29529 (EXPL_FINITE): Likewise.
29530 (FLDLOG): Likewise.
29531 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29532 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29533 e_expl.S.
29534 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29535 test of -max_value argument for long double.
29536 * sysdeps/i386/fpu/libm-test-ulps: Update.
29537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29538
6693d694
DM
295392012-05-06 David S. Miller <davem@davemloft.net>
29540
29541 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29542 quad soft-float symbols whose references which are compiler
29543 generated.
29544 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29545
6c23e11c
JM
295462012-05-06 Joseph Myers <joseph@codesourcery.com>
29547
d8b82cad
JM
29548 [BZ #13884]
29549 [BZ #13914]
29550 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29551 USE_AS_EXP10L.
29552 (EXPL_FINITE): Likewise.
29553 (FLDLOG): Likewise.
29554 (c0): Likewise.
29555 (c1): Likewise.
29556 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29557 Adjust comments for base varying.
29558 (__expl_finite): Change alias to EXPL_FINITE.
29559 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29560 e_expl.S.
29561 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29562 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29563 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29564 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29565 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29566 USE_AS_EXP10L.
29567 (EXPL_FINITE): Likewise.
29568 (FLDLOG): Likewise.
29569 (c0): Likewise.
29570 (c1): Likewise.
29571 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29572 Adjust comments for base varying.
29573 (__expl_finite): Change alias to EXPL_FINITE.
29574 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29575 tests for bugs.
29576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29577
6c23e11c
JM
29578 [BZ #14064]
29579 * math/libm-test.inc (check_float_internal): Correct ulp
29580 calculation for subnormal expected results.
29581
29ba805c
AJ
295822012-05-06 Andreas Jaeger <aj@suse.de>
29583
29584 * Makeconfig (+math-flags): New, set to -frounding-math.
29585 (+cflags): Add +math-flags so that all of glibc gets compiled with
29586 it.
29587
29588 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29589
7b17aeda
JM
295902012-05-05 Joseph Myers <joseph@codesourcery.com>
29591
5779f134
JM
29592 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29593 Disable one test.
29594
41498f4d
JM
29595 [BZ #13787]
29596 [BZ #13922]
29597 [BZ #14036]
29598 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29599 (__ieee754_expl): Allow for and saturate large arguments.
29600 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29601 (u_threshold): Likewise.
29602 (__exp): Call __ieee754_exp before checking for overflow and
29603 underflow.
29604 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29605 (u_threshold): Likewise.
29606 (__expf): Call __ieee754_expf before checking for overflow and
29607 underflow.
29608 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29609 (u_threshold): Likewise.
29610 (__expl): Call __ieee754_expl before checking for overflow and
29611 underflow.
29612 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29613 (__ieee754_expl): Allow for and saturate large arguments.
29614 * math/libm-test.inc (exp_test): Add another test. Do not allow
29615 missing overflow exception on overflow.
29616 (expm1_test): Do not allow missing overflow exception on overflow.
29617
6698b8bf
JM
29618 * sysdeps/i386/fpu/e_expl.c: Move to ...
29619 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29620 rather than using inline asm.
29621 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29622 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29623 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29624
7b17aeda
JM
29625 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29626 (nice): Likewise.
29627 (poll): Likewise.
29628 (signal): Likewise.
29629 (time): Likewise.
29630 (times): Likewise.
29631
f7c85819
JM
296322012-05-04 Joseph Myers <joseph@codesourcery.com>
29633
29634 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29635 sysdeps/unix/common/syscalls.list.
29636 (fchmod): Likewise.
29637 (fchown): Likewise.
29638 (ftruncate): Likewise.
29639 (getrusage): Likewise.
29640 (gettimeofday): Likewise.
29641 (setpgid): Likewise.
29642 (setregid): Likewise.
29643 (setreuid): Likewise.
29644 (sigaction): Likewise.
29645 (truncate): Likewise.
29646 (vhangup): Likewise.
29647 * sysdeps/unix/common/syscalls.list: Remove file.
29648 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29649 * sysdeps/unix/sysv/linux/Implies: Likewise.
29650
336270d0
L
296512012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29652
29653 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29655 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29656 Moved to ...
29657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29658 Here.
29659 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29660 to ...
29661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29662 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29663 to ...
29664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29665 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29666 to ...
29667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29668 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29669 to ...
29670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29671 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29672 to ...
29673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29674 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29675 to ...
29676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29677 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29678 to ...
29679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29680 Here.
29681 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29682 to ...
29683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29684 Here.
29685 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29686 to ...
29687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29688 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29689 Moved to ...
29690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29691 Here.
29692 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29693 to ...
29694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29695
d128e450
JM
296962012-05-04 Joseph Myers <joseph@codesourcery.com>
29697
fa8ee516
JM
29698 * sysdeps/unix/common/bits/dirent.h: Remove file.
29699 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29700
d128e450
JM
29701 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29702 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29703 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29704 * sysdeps/unix/bsd/isatty.c: Likewise.
29705 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29706 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29707 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29708
ff8faaf0 297092012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29710
62881be4 29711 [BZ #13563]
31dc8730
AZ
29712 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29713 long double comparison inaccuracies.
29714 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29716
6fef930c
AS
297172012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29718
29719 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29720 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29721
8f203e6c
JM
297222012-05-04 Joseph Myers <joseph@codesourcery.com>
29723
29724 [BZ #14049]
29725 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29726 nonzero digits before rounding a hex value.
29727 * stdlib/tst-strtod.c (tests): Add another test.
29728
5197d9c2
AK
297292012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29730
29731 * sysdeps/s390/fpu/libm-test-ulps: Update.
29732
f0c1dedf
AJ
297332012-05-03 Andreas Jaeger <aj@suse.de>
29734
29735 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29736 does not get optimized out.
29737 (malloc_opt_barrier): New.
29738
a65ef2ae 297392012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29740 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29741
2b942cb7 29742 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29743 intermediate file deletion.
2b942cb7 29744 (generated): Add .symlist files.
a65ef2ae 29745
54b71e02
JM
297462012-05-03 Joseph Myers <joseph@codesourcery.com>
29747
29748 [BZ #13775]
29749 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29750 Redirect under this condition.
29751 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29752 [__USE_GNU] (__dprintf_chk): Not under this condition.
29753 [__USE_GNU] (__vdprintf_chk): Likewise.
29754 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29755 under this condition.
29756 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29757 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29758 [__USE_XOPEN2K8] (vdprintf): Likewise.
29759 [__USE_GNU] (__dprintf_chk): Not under this condition.
29760 [__USE_GNU] (__vdprintf_chk): Likewise.
29761 [__USE_GNU] (dprintf): Likewise.
29762 [__USE_GNU] (vdprintf): Likewise.
29763
d3dfcc41
RM
297642012-05-03 Roland McGrath <roland@hack.frob.com>
29765
29766 * elf/Makefile (common-generated): Set this instead of generated for
29767 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29768 $(all-built-dso)-derived lists.
29769
7ac30cc5
AJ
297702012-05-03 Andreas Jaeger <aj@suse.de>
29771
0c51e550
AJ
29772 * sysdeps/i386/fpu/libm-test-ulps: Update.
29773
7ac30cc5
AJ
29774 * FAQ: Removed.
29775 * FAQ.in: Likewise.
29776 * scripts/gen-FAQ.pl: Likewise.
29777 * manual/install.texi (Installation): Point to online location of
29778 FAQ.
29779 * Makefile (files-for-dist): Remove FAQ.
29780 (FAQ): Remove.
29781
d4c2917f
AM
297822012-05-02 Allan McRae <allan@archlinux.org>
29783
29784 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29785 (LDFLAGS-reldepmod5.so): Likewise.
29786 (LDFLAGS-reldep6mod1.so): Likewise.
29787 (LDFLAGS-reldep6mod4.so): Likewise.
29788 (LDFLAGS-reldep8mod3.so): Likewise.
29789 (LDFLAGS-unload4mod1.so): Likewise.
29790 (LDFLAGS-unload4mod2.so): Likewise.
29791 (LDFLAGS-tst-initorder): Likewise.
29792 (LDFLAGS-tst-initordera2.so): Likewise.
29793 (LDFLAGS-tst-initordera3.so): Likewise.
29794 (LDFLAGS-tst-initordera4.so): Likewise.
29795 (LDFLAGS-tst-initorderb2.so): Likewise.
29796 (LDFLAGS-noload): Likewise.
29797 (LDFLAGS-next): Likewise.
29798 (LDFLAGS-order2mod1.so): Likewise.
29799 (LDFLAGS-order2mod2.so): Likewise.
29800 (LDFLAGS-tst-initorder2): Likewise.
29801 (LDFLAGS-tst-initorder2a.so): Likewise.
29802 (LDFLAGS-tst-initorder2b.so): Likewise.
29803 (LDFLAGS-tst-initorder2c.so): Likewise.
29804 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29805
d77f993f
DM
298062012-05-02 David S. Miller <davem@davemloft.net>
29807
29808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29809
171a70b4
PP
298102012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29811
29812 [BZ #14055]
29813 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29814
0be196ad
AJ
298152012-05-02 Andreas Jaeger <aj@suse.de>
29816
29817 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29818 since we manipulate rounding mode.
29819 (CPPFLAGS-test-idouble.c): Likewise.
29820 (CPPFLAGS-test-ifloat.c): Likewise.
29821 (CFLAGS-test-ldouble.c): Likewise.
29822 (CFLAGS-test-double.c): Likewise.
29823 (CFLAGS-test-float.c): Likewise.
29824 (CFLAGS-test-misc.c): Likewise.
29825 (CFLAGS-test-test-fenv.c): Likewise.
29826
4f9d04aa
AZ
298272012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29828
2b942cb7
RM
29829 [BZ #2550]
29830 [BZ #2570]
29831 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29832 comparisons to determine direction to adjust input.
4f9d04aa 29833
82a79e7d
RM
298342012-05-01 Roland McGrath <roland@hack.frob.com>
29835
f5a01ca9
RM
29836 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29837 output to the target.
29838
90fe4186
RM
29839 * scripts/localplt.awk: New file.
29840 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29841 (check-localplt-CFLAGS): Variable removed.
29842 ($(all-built-dso:=.jmprel)): New static pattern rule.
29843 (generated): Add those targets.
29844 (localplt-built-dso): New variable.
29845 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29846
29847 * elf/check-localplt.c: File removed.
29848
82397ed6
RM
29849 * scripts/check-execstack.awk: New file.
29850 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29851 (check-execstack-CFLAGS): Variable removed.
29852 ($(objpfx)check-execstack.h): Target removed.
29853 ($(objpfx)execstack-default): New target.
29854 (generated): Add that instead of check-execstack.h.
29855 ($(all-built-dso:=.phdr)): New static pattern rule.
29856 (generated): Add those targets.
29857 * elf/check-execstack.c: File removed.
29858
82a79e7d
RM
29859 * scripts/check-textrel.awk: New file.
29860 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29861 (check-textrel-CFLAGS): Variable removed.
29862 (all-built-dso): Use := to define.o
29863 ($(all-built-dso:=.dyn)): New static pattern rule.
29864 (generated): Add those targets.
29865 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29866 * config.make.in (READELF): New substituted variable.
29867 * elf/check-textrel.c: File removed.
29868
62fde54f 298692012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29870
615605c9
JM
29871 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29872 allow.
29873 * conform/data/ctype.h-data [C99-based standards] (isblank):
29874 Expect function.
29875 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29876 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29878 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29879 Specify type. Require positive value.
29880 (EILSEQ): Likewise.
29881 (ERANGE): Likewise.
29882 [ISO || POSIX] (EILSEQ): Do not expect.
29883 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29884 Specify type. Require positive value.
29885 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29886 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29887 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29888 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29889 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29890 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29891 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29892 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29893 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29894 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29895 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29896 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29897 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29898 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29899 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29900 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29901 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29902 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29903 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29905 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29906 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29907 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29908 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29909 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29910 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29911 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29912 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29914 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29915 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29916 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29917 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29918 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29919 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29920 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29922 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29923 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29924 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29925 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29926 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29927 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29928 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29929 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29930 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29931 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29932 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29933 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29934 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29935 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29936 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29937 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29938 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29939 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29940 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29941 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29942 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29943 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29944 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29945 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29946 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29947 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29948 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29949 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29950 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29951 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29952 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29953 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29954 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29955 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29956 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29957 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29958 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29959 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29960 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29961 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29962 Require >= 2.
29963 (FLT_ROUNDS): Expect as macro, not constant.
29964 (FLT_MANT_DIG): Use macro-int-constant.
29965 (DBL_MANT_DIG): Likewise.
29966 (LDBL_MANT_DIG): Likewise.
29967 (FLT_DIG): Likewise.
29968 (DBL_DIG): Likewise.
29969 (LDBL_DIG): Likewise.
29970 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29971 (DBL_MIN_EXP): Likewise.
29972 (LDBL_MIN_EXP): Likewise.
29973 (FLT_MAX_EXP): Use macro-int-constant.
29974 (DBL_MAX_EXP): Likewise.
29975 (LDBL_MAX_EXP): Likewise.
29976 (FLT_MAX_10_EXP): Likewise.
29977 (DBL_MAX_10_EXP): Likewise.
29978 (LDBL_MAX_10_EXP): Likewise.
29979 (FLT_MAX): Use macro-constant.
29980 (DBL_MAX): Likewise.
29981 (LDBL_MAX): Likewise.
29982 (FLT_EPSILON): Use macro-constant. Give upper bound.
29983 (DBL_EPSILON): Likewise.
29984 (LDBL_EPSILON): Likewise.
29985 (FLT_MIN): Likewise.
29986 (DBL_MIN): Likewise.
29987 (LDBL_MIN): Likewise.
29988 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29989 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29990 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29991 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29992 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29993 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29994 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29995 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29996 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29997 [ISO11] (FLT_TRUE_MIN): Likewise.
29998 [ISO11] (LDBL_TRUE_MIN): Likewise.
29999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30000 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30001 (SCHAR_MIN): Use macro-int-constant. Specify type.
30002 (SCHAR_MAX): Likewise.
30003 (UCHAR_MAX): Likewise.
30004 (CHAR_MIN): Likewise.
30005 (CHAR_MAX): Likewise.
30006 (MB_LEN_MAX): Use macro-int-constant.
30007 (SHRT_MIN): Use macro-int-constant. Specify type.
30008 (SHRT_MAX): Likewise.
30009 (USHRT_MAX): Likewise.
30010 (INT_MAX): Likewise.
30011 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30012 bound negative.
30013 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30014 bound with "U".
30015 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30016 bound with "L".
30017 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30018 bound negative. Suffix upper bound with "L".
30019 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30020 bound with "UL".
30021 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30022 Specify type.
30023 [C99-based standards] (LLONG_MAX): Likewise.
30024 [C99-based standards] (ULLONG_MAX): Likewise.
30025 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30026 == 0.
30027 [ISO11] (max_align_t): Require type.
30028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30029
c9140a62
JM
30030 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30031 from $CFLAGS, without defining away __attribute__ calls.
30032 (checknamespace): Use $CFLAGS_namespace.
30033
9af0bf29
JM
30034 * conform/conformtest.pl (@keywords): Only include C99 keywords
30035 for standards based on C99 or C11.
30036
343222a2
JM
30037 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30038 Disable tests.
30039 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30040 UNIX98]: Likewise.
30041
661f8cf0
JM
30042 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30043 usability of symbols in #if.
30044
ee74b9cb
JM
30045 * conform/conformtest.pl: If macro or constant types start
30046 "promoted:", expect the symbol to be of the following type
30047 promoted by the integer promotions.
62fde54f 30048
aafc49b3
JM
30049 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30050 in one place. Also handle "macro-constant".
30051
fefdf574
JM
30052 * conform/conformtest.pl: Only accept expected macro values with
30053 "==". Parse all "macro" lines in one place.
30054 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30055
f2d922fe
JM
30056 * conform/conformtest.pl: Handle braced types on "constant" lines
30057 instead of handling "typed-constant".
30058 * conform/data/signal.h-data: Use "constant" instead of
30059 "typed-constant".
30060
d22956c9
JM
30061 * conform/conformtest.pl: Handle "optional-" at start of lines in
30062 one place rather than duplicating several cases. Handle each
30063 format of "macro" line with initial "optional-".
30064
028e2e38
JM
30065 * conform/conformtest.pl: Only accept expected constant or
30066 optional-constant values with "==". Parse all "constant" lines in
30067 one place. Parse all "optional-constant" lines in one place.
30068 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30069 * conform/data/fmtmsg.h-data: Likewise.
30070 * conform/data/netinet/in.h-data: Likewise.
30071 * conform/data/tar.h-data: Likewise.
30072 * conform/data/limits.h-data: Use "==" form on "constant" and
30073 "optional-constant" lines.
30074
1b8f2850
JM
30075 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30076 Use -std=c99 for XOPEN2K.
30077 (@knownproblems): Remove.
30078 (newtoken): Don't check %isknown.
30079
a05a144b
JM
30080 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30081 Do not expect macro.
30082 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30083 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30084 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30085 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30086 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30087 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30088 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30089 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30090 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30091 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30092 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30093 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30094 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30095 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30096 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30097 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30098 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30099 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30100 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30101 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30102 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30103 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30104 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30105 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30106 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30107 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30108 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30109 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30110 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30111 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30112 [XPG3] (acosh): Likewise.
30113 [XPG3] (asinh): Likewise.
30114 [XPG3] (atanh): Likewise.
30115 [XPG3] (cbrt): Likewise.
30116 [XPG3] (expm1): Likewise.
30117 [XPG3] (ilogb): Likewise.
30118 [XPG3] (log1p): Likewise.
30119 [XPG3] (logb): Likewise.
30120 [XPG3] (nextafter): Likewise.
30121 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30123 [XPG3] (remainder): Likewise.
30124 [XPG3] (rint): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30128 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30129 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30130 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30131 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30132 [UNIX98 || XOPEN2K] (scalb): Expect.
30133 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30134 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30135 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30136 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30137 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30138 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30139 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30140 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30153 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30154 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30158 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30159 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30162 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30163 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30168 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30169 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30170 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30171 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30172 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30173 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30174 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30175 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30176 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30177 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30178 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30179 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30180 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30181 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30182 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30183 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30184 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30185 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30186 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30187 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30188 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30189 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30190 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30191 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30192 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30193 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30194 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30195 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30196 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30197 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30198 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30199 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30200 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30201 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30202 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30203 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30204 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30205 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30206 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30207 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30208 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30209 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30210 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30211 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30212 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30213 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30214 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30215 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30216 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30217 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30218 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30219 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30220 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30221 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30222 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30223 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30224 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30225 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30226 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30227 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30228 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30229 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30230 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30231 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30232 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30233 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30234 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30235 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30236 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30237 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30238 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30239 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30240 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30241 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30242 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30243 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30244 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30245 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30246 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30247 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30248 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30249 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30250 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30251 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30252 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30253 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30254 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30255 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30256 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30257 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30258 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30259 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30260 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30261 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30262 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30263 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30264 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30265 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30266 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30267 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30268 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30269 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30270
73c5ebe3
JM
30271 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30272 _XOPEN_SOURCE_EXTENDED for XPG4.
30273
39c33b6c
JM
30274 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30275
62fde54f
JM
30276 * Makeconfig (localtime): Remove variable.
30277 (inst_localtime-file): Likewise.
30278
0741d64c
AS
302792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30280
30281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30282 Update.
30283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30284 Update.
30285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30286 Update.
30287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30288 Update.
30289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30290 Update.
30291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30292 Update.
30293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30294 Update.
30295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30296 Update.
30297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30298 Update.
30299
7cb029ee
JM
303002012-05-01 Joseph Myers <joseph@codesourcery.com>
30301
30302 [BZ #2550]
30303 [BZ #2570]
30304 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30305 comparisons to determine direction to adjust input.
30306 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30307 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30308 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30309 Likewise.
30310 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30311 Likewise.
30312 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30313 Likewise.
30314 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30315 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30316 Likewise.
30317 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30318 Likewise.
30319 * math/libm-test.inc (nexttoward_test): Add more tests.
30320
412bd966
AS
303212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30322
30323 [BZ #14040]
30324 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30325 in version GLIBC_2.1, not GLIBC_2.0.
30326 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30327 Likewise.
30328
9568c0c2
JM
303292012-04-30 Joseph Myers <joseph@codesourcery.com>
30330
adfbc8ac
JM
30331 [BZ #13942]
30332 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30333 (1 - x) * (1 + x).
30334 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30335 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30336 * math/libm-test.inc (acos_test): Add more tests.
30337 (asin_test): Likewise.
30338 * sysdeps/i386/fpu/libm-test-ulps: Update.
30339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30340
5ba3cc69
JM
30341 [BZ #14034]
30342 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30343 of square root.
30344 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30345 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30346 * math/libm-test.inc (acos_test_tonearest): New function.
30347 (acos_test_towardzero): Likewise.
30348 (acos_test_downward): Likewise.
30349 (acos_test_upward): Likewise.
30350 (asin_test_tonearest): Likewise.
30351 (asin_test_towardzero): Likewise.
30352 (asin_test_downward): Likewise.
30353 (asin_test_upward): Likewise.
30354 (main): Call the new functions.
30355 * sysdeps/i386/fpu/libm-test-ulps: Update.
30356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30357
9568c0c2
JM
30358 [BZ #13884]
30359 [BZ #13924]
30360 * math/e_exp10.c: Include <float.h>.
30361 (__ieee754_exp10): Handle underflow here rather than multiplying
30362 large negative argument by M_LN10.
30363 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30364 of __ieee754_expf.
30365 * math/e_exp10l.c: Include <float.h>.
30366 (__ieee754_exp10l): Handle underflow here rather than multiplying
30367 large negative argument by M_LN10l.
30368 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30369 spurious overflow exception on underflow.
30370
5ac3ea17
MP
303712012-04-29 Marek Polacek <polacek@redhat.com>
30372
30373 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30374 (__fortify_function): New macro.
30375 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30376 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30377 __extern_always_inline.
30378 * libio/bits/stdio2.h: Likewise.
30379 * libio/bits/stdio.h: Likewise.
30380 * string/string.h: Likewise.
30381 * string/bits/string3.h: Likewise.
30382 * include/stdio.h: Likewise.
30383 * stdlib/bits/stdlib.h: Likewise.
30384 * stdlib/stdlib.h: Likewise.
30385 * rt/bits/mqueue2.h: Likewise.
30386 * rt/mqueue.h: Likewise.
30387 * posix/bits/unistd.h: Likewise.
30388 * posix/unistd.h: Likewise.
30389 * io/bits/poll2.h: Likewise.
30390 * io/bits/fcntl2.h: Likewise.
30391 * io/fcntl.h: Likewise.
30392 * io/sys/poll.h: Likewise.
30393 * misc/bits/syslog.h: Likewise.
30394 * misc/bits/syslog-ldbl.h: Likewise.
30395 * misc/sys/syslog.h: Likewise.
30396 * socket/bits/socket2.h: Likewise.
30397 * socket/sys/socket.h: Likewise.
30398 * debug/tst-chk1.c: Likewise.
30399 * wcsmbs/bits/wchar2.h: Likewise.
30400 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30401 * wcsmbs/wchar.h: Likewise.
30402
ecf0ebfb
AJ
304032012-04-29 Andreas Jaeger <aj@suse.de>
30404
30405 * Makerules (tests): Remove enable-check-abi protection.
30406 (check-abi-warn): Remove.
30407 (check-abi-%): Remove check-abi-warn usage.
30408
30409 * configure.in: Remove check-abi configure option.
30410 * configure: Regenerated.
30411 * config.make.in (enable-check-abi): Remove.
30412
6d5c57fa
AS
304132012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30414
24c5d07e 30415 [BZ #14033]
ded5180a
AS
30416 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30417 double functions to double *_finite functions.
30418
7e0d315d
AS
30419 [BZ #13941]
30420 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30421 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30422 LDBL_MIN_EXP.
30423 * stdio-common/Makefile (tests): Add tst-sprintf3.
30424 * stdio-common/tst-sprintf3.c: New file.
30425
6d5c57fa
AS
30426 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30427 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30428
0749ff8b
JM
304292012-04-28 Joseph Myers <joseph@codesourcery.com>
30430
30431 * conform/conformtest.pl: Remove duplicate typed-constant
30432 handling.
30433
8dbd5d7b
DM
304342012-04-28 David S. Miller <davem@davemloft.net>
30435
30436 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30437 (check-abi-%): Remove AWK script prerequisite and explicit
30438 abilist directory.
30439 (check-abi): Rewrite to just diff the symlist with the abilist.
30440 (config-tls, config-abi-config): Delete, no longer used.
30441 (update-abi-%): Remove AWK script and explicit abilist directory.
30442 (update-abi): Rewrite to simply compare and conditionally copy the
30443 symlist and the sysdep abilist file. Remove update-abi-config
30444 checks.
30445 * abilist/ld.abilist: Remove.
30446 * abilist/libBrokenLocale.abilist: Remove.
30447 * abilist/libanl.abilist: Remove.
30448 * abilist/libcrypt.abilist: Remove.
30449 * abilist/libdl.abilist: Remove.
30450 * abilist/librt.abilist: Remove.
30451 * abilist/libthread_db.abilist: Remove.
30452 * abilist/libutil.abilist: Remove.
30453 * scripts/extract-abilist.awk: Remove.
30454 * scripts/merge-abilist.awk: Remove.
30455 * sysdeps/generic/libcidn.abilist: New file.
30456 * sysdeps/generic/libnss_compat.abilist: New file.
30457 * sysdeps/generic/libnss_db.abilist: New file.
30458 * sysdeps/generic/libnss_dns.abilist: New file.
30459 * sysdeps/generic/libnss_files.abilist: New file.
30460 * sysdeps/generic/libnss_hesiod.abilist: New file.
30461 * sysdeps/generic/libnss_nis.abilist: New file.
30462 * sysdeps/generic/libnss_nisplus.abilist: New file.
30463 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30464 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30465 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30466 file.
30467 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30468 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30469 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30470 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30471 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30472 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30473 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30474 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30475 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30476 file.
30477 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30478 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30479 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30480 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30481 file.
30482 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30483 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30484 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30485 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30486 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30487 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30488 file.
30489 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30490 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30491 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30492 file.
30493 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30495 New file.
30496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30497 New file.
30498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30499 New file.
30500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30501 New file.
30502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30503 New file.
30504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30505 New file.
30506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30507 New file.
30508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30509 New file.
30510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30511 New file.
30512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30513 New file.
30514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30515 New file.
30516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30517 New file.
30518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30519 New file.
30520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30521 file.
30522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30523 New file.
30524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30525 New file.
30526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30527 file.
30528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30529 New file.
30530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30531 New file.
30532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30533 file.
30534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30535 New file.
30536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30537 New file.
30538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30539 New file.
30540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30541 New file.
30542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30543 New file.
30544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30545 New file.
30546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30548 file.
30549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30550 New file.
30551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30552 file.
30553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30554 file.
30555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30556 file.
30557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30558 file.
30559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30560 file.
30561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30562 New file.
30563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30564 file.
30565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30566 file.
30567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30568 New file.
30569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30570 file.
30571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30573 file.
30574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30575 New file.
30576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30577 file.
30578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30579 file.
30580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30581 file.
30582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30583 file.
30584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30585 file.
30586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30587 New file.
30588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30589 file.
30590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30591 file.
30592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30593 New file.
30594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30595 file.
30596 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30597 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30598 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30599 file.
30600 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30601 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30602 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30603 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30604 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30605 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30606 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30607 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30608 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30609 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30612 file.
30613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30614 New file.
30615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30616 file.
30617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30618 file.
30619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30620 file.
30621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30622 file.
30623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30624 file.
30625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30626 New file.
30627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30628 New file.
30629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30630 file.
30631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30632 New file.
30633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30634 file.
30635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30637 file.
30638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30639 New file.
30640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30641 file.
30642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30643 file.
30644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30645 file.
30646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30647 file.
30648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30649 file.
30650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30651 New file.
30652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30653 New file.
30654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30655 file.
30656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30657 New file.
30658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30659 file.
30660
41d73a1b
JM
306612012-04-28 Joseph Myers <joseph@codesourcery.com>
30662
30663 * conform/conformtest.pl: Fix typo in handling typed-constant from
30664 allow-header.
30665
28aeeda4
JM
306662012-04-27 Joseph Myers <joseph@codesourcery.com>
30667
adae8f5e
JM
30668 * README: Cut down references to pre-2.6 Linux kernels and
30669 Linuxthreads. Update lists of configurations in libc and ports
30670 and sort alphabetically. Say "or newer" with Linux kernel version
30671 requirements.
30672
28aeeda4
JM
30673 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30674
a462cb63
RA
306752012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30676
30677 [BZ #887]
30678 * math/libm-test.inc (logb_test_downward): New test to expose
30679 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30680 rounding mode.
30681
6ad3493e
JM
306822012-04-27 Joseph Myers <joseph@codesourcery.com>
30683
30684 [BZ #14027]
30685 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30686 to be done.
30687 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30688 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30689
2ce4f015
JM
306902012-04-26 Joseph Myers <joseph@codesourcery.com>
30691
5aeb141a
JM
30692 * sysdeps/unix/i386/brk.S: Remove file.
30693 * sysdeps/unix/i386/dl-brk.S: Likewise.
30694 * sysdeps/unix/i386/pipe.S: Likewise.
30695 * sysdeps/unix/i386/sigreturn.S: Likewise.
30696 * sysdeps/unix/i386/syscall.S: Likewise.
30697 * sysdeps/unix/i386/vfork.S: Likewise.
30698 * sysdeps/unix/i386/wait.S: Likewise.
30699
7143acae
JM
30700 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30701 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30702
2ce4f015
JM
30703 * configure.in (arm*-none*): Do not allow without
30704 --enable-hacker-mode.
30705 (netbsd*): Remove case setting base_os.
30706 (386bsd*): Likewise.
30707 (freebsd*): Likewise.
30708 (bsdi*): Likewise.
30709 (osf*): Likewise.
30710 (sunos*): Likewise.
30711 (ultrix*): Likewise.
30712 (newsos*): Likewise.
30713 (dynix*): Likewise.
30714 (*bsd*): Likewise.
30715 (sysv*): Likewise.
30716 (isc*): Likewise.
30717 (esix*): Likewise.
30718 (sco*): Likewise.
30719 (minix*): Likewise.
30720 (irix4*): Likewise.
30721 (irix6*): Likewise.
30722 (solaris[2-9]*): Likewise.
30723 (none): Likewise.
30724 * configure: Regenerated.
30725
0ac229c8
AZ
307262012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30727
30728 [BZ #11521]
30729 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30730 overflow or cancellation in calculating denominator.
30731 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30732 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30733 down expression to avoid unexpected rounding in newer GCCs.
30734 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30735
33f244f4
DM
307362012-04-26 David S. Miller <davem@davemloft.net>
30737
30738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30739 long-double compat symbols.
30740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30753
cfa1f3e8
DM
307542012-04-25 David S. Miller <davem@davemloft.net>
30755
30756 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30757 HWCAP_* values only after the memory barriers have been defined.
30758 (atomic_full_barrier): Define.
30759 (atomic_read_barrier): Define.
30760 (atomic_write_barrier): Define.
30761
6e236b92
SP
307622012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30763
30764 * shlib-versions: Add libgcc_s version information.
30765 * sysdeps/generic/libgcc_s.h: Remove.
30766 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30767 libgcc_s.h.
30768 * sysdeps/gnu/unwind-resume.c: Likewise.
30769 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30770
aab39a09
DM
307712012-04-25 David S. Miller <davem@davemloft.net>
30772
30773 * sysdeps/unix/sparc/brk.S: Delete.
30774 * sysdeps/unix/sparc/dl-brk.S: Delete.
30775 * sysdeps/unix/sparc/pipe.S: Delete.
30776 * sysdeps/unix/sparc/sysdep.S: Delete.
30777 * sysdeps/unix/sparc/sysdep.h: Delete.
30778 * sysdeps/unix/sparc/vfork.S: Delete.
30779 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30780 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30781 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30782 ret_ERRVAL, r0, r1, MOVE): Define.
30783 (JUMPTARGET): Remove.
30784 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30785 sysdeps/unix/sparc/sysdep.h
30786 (ENTRY, END): Remove.
30787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30788
a3cc4f48
JM
307892012-04-25 Joseph Myers <joseph@codesourcery.com>
30790
2ed8cda2
JM
30791 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30792 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30793 -DIS_IN_build.
30794
35d76d59
JM
30795 * timezone/README: Update upstream location and email address for
30796 tzcode and tzdata.
30797 * timezone/zdump.c: Update from tzcode 2012b.
30798 * timezone/zic.c: Likewise.
30799
a3cc4f48
JM
30800 * configure.in (libc_cv_as_needed): Remove test.
30801 * configure: Regenerated.
30802 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30803 conditional definition.
30804 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30805 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30806 * config.make.in (have-as-needed): Remove variable.
30807
ceab42c3
SP
308082012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30809 Paul Pluzhnikov <ppluzhnikov@google.com>
30810
30811 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30812 strings correctly.
30813
3ce2865f
CLT
308142012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30815
30816 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30817 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30818 * sysdeps/sh/strlen.S: Likewise.
30819
f37e0d68
JM
308202012-04-24 Joseph Myers <joseph@codesourcery.com>
30821
ae186e9a
JM
30822 * sysdeps/unix/fork.S: Remove file.
30823 * sysdeps/unix/i386/fork.S: Likewise.
30824 * sysdeps/unix/sparc/fork.S: Likewise.
30825
b96914af
JM
30826 * sysdeps/unix/system.c: Remove file.
30827 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30828
f37e0d68
JM
30829 * sysdeps/unix/getegid.S: Remove file.
30830 * sysdeps/unix/geteuid.S: Likewise.
30831
87ef29ca
RM
308322012-04-24 Roland McGrath <roland@hack.frob.com>
30833
83bcd236
RM
30834 * scripts/check-localplt.awk: New file.
30835 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30836 of diff.
30837 * scripts/data/localplt-generic.data: Add a comment.
30838
87ef29ca
RM
30839 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30840 NODE when __dir_mkfile failed.
30841 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30842 Reported by Ludovic Courtès <ludo@gnu.org>.
30843
e5a6e567
AJ
308442012-04-24 Andreas Jaeger <aj@suse.de>
30845
30846 * Makerules (common-clean): Also remove gen-as-const-headers
30847 files.
30848
c1820385
JM
308492012-04-24 Joseph Myers <joseph@codesourcery.com>
30850
30851 * Makerules (native-compile): Do not change working directory for
30852 build. Use $(OUTPUT_OPTION) in command.
30853 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30854
94e02fc4
AZ
308552012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30856
30857 [BZ #13886]
30858 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30859 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30860 * math/libm-test.inc (floor_test): Add more tests.
30861 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30862
3a533ca3
JM
308632012-04-24 Joseph Myers <joseph@codesourcery.com>
30864
940ab4b3
JM
30865 * sysdeps/unix/getdents.c: Remove file.
30866 * sysdeps/unix/sysv/getdents.c: Likewise.
30867 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30868
90e037bd
JM
30869 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30870 sysdeps/unix/mman/syscalls.list.
30871 (mmap): Likewise.
30872 (mprotect): Likewise.
30873 (msync): Likewise.
30874 (munmap): Likewise.
30875 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30876 * sysdeps/unix/mman/syscalls.list: Remove.
30877 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30878
3a533ca3
JM
30879 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30880 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30881 * configure: Regenerated.
30882 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30883 $(libgcc_s_suffix).
30884 * config.make.in (libgcc_s_suffix): Remove variable.
30885
1ad743de
JM
308862012-04-23 Joseph Myers <joseph@codesourcery.com>
30887
4ad451e2
JM
30888 * sysdeps/unix/sysv/gethostname.c: Move to ...
30889 * sysdeps/posix/gethostname.c: ... here.
30890
5e37ce39
JM
30891 * sysdeps/unix/execve.S: Remove file.
30892
1ad743de
JM
30893 * sysdeps/unix/_exit.S: Remove file.
30894
4e681b5b
AJ
308952012-04-23 Andreas Jaeger <aj@suse.de>
30896
30897 [BZ #13739]
30898 * manual/Makefile: Remove make dist support, there's no
30899 need for a stand-alone documentation tar ball.
30900 (TEXI2DVI): Define always, it's not in Makeconfig.
30901 (dist): Removed.
30902 (tar-it): Removed.
30903 (edition): Removed.
30904 (glibc-doc-$(edition).tar): Removed
30905 (%.Z): Removed.
30906 (%.gz): Removed.
30907 (%.uu): Removed.
30908 (ETAGS): Remove, it's in Makeconfig.
30909 (move-if-change): Remove, it's in Makeconfig.
30910
38686a03 309112012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30912
30913 [BZ #13970]
30914 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30915 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30916 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30917 (strtod_l, strtof_l, strtold_l): Remove __wur.
30918 It is not necessarily an error to ignore strtol's return value.
30919 One can reliably look at the stored endptr to decide whether
30920 the number had valid syntax.
30921
7c0616fa
AJ
309222012-04-21 Andreas Jaeger <aj@suse.de>
30923
803cb6b7 30924 [BZ #13739]
7c0616fa
AJ
30925 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30926
b0fe253f
JM
309272012-04-21 Joseph Myers <joseph@codesourcery.com>
30928
30929 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30930 * sysdeps/unix/sysv/Versions: Remove file.
30931
8280f22d
MT
309322012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30933
30934 [BZ #13927]
30935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30936
75ce411f 309372012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30938
30939 [BZ #7064]
30940 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30941 version from __vm86.
30942
097d59fa
JM
309432012-04-20 Joseph Myers <joseph@codesourcery.com>
30944
a90f3bcb
JM
30945 * sysdeps/unix/common/lxstat.c: Remove file.
30946 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30947
edc7ea78
JM
30948 * sysdeps/unix/sysv/Makefile: Remove file.
30949
cb78c221
JM
30950 * sysdeps/unix/sysv/direct.h: Remove file.
30951
efa6a45f
JM
30952 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30953 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30954 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30955 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30956 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30957 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30958 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30959
9c9f2d0c
JM
30960 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30961
4541c83b
JM
30962 * sysdeps/unix/xmknod.c: Remove file.
30963 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30964
f5d153a0
JM
30965 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30966
aa746595
JM
30967 * sysdeps/unix/sysv/i386/time.S: Remove file.
30968
cce5905e
JM
30969 * sysdeps/unix/fxstat.c: Remove file.
30970 * sysdeps/unix/xstat.c: Likewise.
30971 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30972
37fa3841
JM
30973 * sysdeps/unix/sysv/sigaction.c: Remove file.
30974
ff1962a3
JM
30975 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30976 (sysdep_headers): Remove variable.
30977 [termio.h not in sysdep_headers] (generated): Likewise.
30978 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30979 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30980 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30981 * sysdeps/unix/sysv/tcflow.c: Likewise.
30982 * sysdeps/unix/sysv/tcflush.c: Likewise.
30983 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30984 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30985 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30986 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30987 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30988
e7740d31
JM
30989 * sysdeps/unix/siglist.c: Remove file.
30990
ee06f18b
JM
30991 * sysdeps/unix/getppid.S: Remove file.
30992
097d59fa
JM
30993 * sysdeps/unix/mkdir.c: Remove file.
30994 * sysdeps/unix/rmdir.c: Likewise.
30995
ff3d51ec
AS
309962012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30997
30998 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30999 ERR_MAX value.
31000 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31001 errlist-compat value.
31002
50f81fd7
DM
310032012-04-18 David S. Miller <davem@davemloft.net>
31004
31005 * sysdeps/generic/memcopy.h (reg_char): Delete.
31006 * debug/strcat_chk.c: Use char, not reg_char.
31007 * debug/strcpy_chk.c: Likewise.
31008 * debug/strncat_chk.c: Likewise.
31009 * debug/strncpy_chk.c: Likewise.
31010 * string/memchr.c: Likewise.
31011 * string/memrchr.c: Likewise.
31012 * string/rawmemchr.c: Likewise.
31013 * string/strcat.c: Likewise.
31014 * string/strchr.c: Likewise.
31015 * string/strchrnul.c: Likewise.
31016 * string/strcmp.c: Likewise.
31017 * string/strcpy.c: Likewise.
31018 * string/strncat.c: Likewise.
31019 * string/strncmp.c: Likewise.
31020 * string/strncpy.c: Likewise.
31021
8ff41c46
WS
310222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31023
31024 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31025 __builtin_memcopy is called when src and dest ranges are known to not
31026 overlap.
31027
6b652f46
WS
310282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31029
31030 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31031 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31032 fwd_align_merge macro call.
31033 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31034 bwd_align_merge macro call.
31035 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31036
b282631e
WS
310372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31038
31039 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31040 bwd_align_merge macros.
31041 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31042 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31043 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31044
95aa737c
DM
310452012-04-18 David S. Miller <davem@davemloft.net>
31046
31047 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31048
7a99a614
AJ
310492012-04-18 Andreas Jaeger <aj@suse.de>
31050
31051 [BZ# 6794]
31052 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31053 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31054 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31055
31056 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31057 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31058 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31059
31060 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31061 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31062 Adjust for changed ldbl-128 files.
31063
31064 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31065 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31066 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31067
e5270c23
DM
310682012-04-17 David S. Miller <davem@davemloft.net>
31069
31070 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31071
fb5e92c9
AS
310722012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31073
31074 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31075 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31076 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31077 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31078 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31079 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31080
76da7265
AZ
310812012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31082
31083 [BZ #6794]
31084 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31085 * math/libm-test.inc: Add ilogb errno and exception tests.
31086 * math/w_ilogb.c: New file: ilogb wrapper.
31087 * math/w_ilogbf.c: New file: ilogbf wrapper.
31088 * math/w_ilogbl.c: New file: ilogbl wrapper.
31089 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31090 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31091 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31092 exception being thrown with 0.0 as argument.
31093 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31094 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31095 exception being thrown with 0.0 as argument.
31096 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31097 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31098 exception being thrown with 0.0 as argument.
31099 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31100 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31101 exception being thrown with 0.0 as argument.
31102 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31103 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31104 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31105 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31106 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31107 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31108 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31109 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31110 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31111
0396e69d
PB
311122012-04-17 Petr Baudis <pasky@ucw.cz>
31113
31114 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31115 with altivec.
31116
750b5926
MP
311172012-04-16 Marek Polacek <polacek@redhat.com>
31118
31119 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31120
751728a1
MP
311212012-04-16 Marek Polacek <polacek@redhat.com>
31122
31123 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31124 operands of fdivp instruction.
31125
34a27407
L
311262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31127
31128 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31129 * elf/tst-auditmod3b.c: Likewise.
31130 * elf/tst-auditmod4b.c: Likewise.
31131 * elf/tst-auditmod5b.c: Likewise.
31132 * elf/tst-auditmod6b.c: Likewise.
31133 * elf/tst-auditmod6c.c: Likewise.
31134 * elf/tst-auditmod7b.c: Likewise.
31135 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31136 * sysdeps/x86_64/preconfigure.in: Likewise.
31137 * sysdeps/x86_64/preconfigure: Regenerated.
31138
7e73e17d
L
311392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31140
31141 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31142 __ILP32__.
31143
c7a6ab72
AB
311442012-04-13 Antoine Balestrat <merkil33@gmail.com>
31145
31146 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31147 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31148
a9e8e0e0
CL
311492012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31150
31151 [BZ #13973]
31152 * locale/iso-639.def: Fix gl language name. Spotted by
31153 Yaron Shahrabani.
31154
ec98af7d
RM
311552012-04-12 Roland McGrath <roland@hack.frob.com>
31156
31157 [BZ #2074]
31158 * libio/libio.h (__io_write_fn): Update comment.
31159
247c3ede
PB
311602012-04-12 Petr Baudis <pasky@ucw.cz>
31161
31162 [BZ #2074]
31163 * stdio.texi (Hook Functions): The user provided writer function
31164 is not allowed to return -1.
31165
55939d6d
DM
311662012-04-11 David S. Miller <davem@davemloft.net>
31167
31168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31169
90020f5a
MF
311702012-04-11 Mike Frysinger <vapier@gentoo.org>
31171
31172 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31173 Add a leading slash to rtkaio.
31174
288f9098
JM
311752012-04-11 Jim Meyering <meyering@redhat.com>
31176
90020f5a
MF
31177 [BZ #11959]
31178 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31179 It is not necessarily an error to ignore fwrite's return
31180 value. One can reliably use ferror to test for errors after
31181 the fact.
288f9098 31182
4be2b570
L
311832012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31184
31185 * bits/types.h (__snseconds_t): New type.
31186 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31187
31188 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31190 (__SNSECONDS_T_TYPE): Likewise.
31191 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31192 (__SNSECONDS_T_TYPE): Likewise.
31193 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31194 (__SNSECONDS_T_TYPE): Likewise.
31195
288f9098 311962012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31197
31198 [BZ #2636]
31199 * manual/time.texi (Processor Time): Return type of times is
31200 elapsed real time since an arbitrary point in the past.
31201 (CPU Time): Move CLK_TCK from here...
31202 (Processor Time): ...to here. Correct description.
31203 * manual/conf.texi (Constants for Sysconf): Correct description of
31204 _SC_CLK_TCK.
31205
d7dd4413
DM
312062012-04-10 David S. Miller <davem@davemloft.net>
31207
31208 [BZ #13967]
31209 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31210 where the is a gap between DT_REL(A) and DT_JMPREL.
31211
b46068fc
L
312122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31213
31214 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31215 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31216 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31217
73d65cc3
SP
312182012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31219
31220 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31221 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31222 (dl_main): Handle --inhibit-cache.
31223 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31224 _dl_inhibit_cache.
31225 * elf/dl-load.c (_dl_map_object): Use it.
31226 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31227
bcc8d661
JM
312282012-04-09 Joseph Myers <joseph@codesourcery.com>
31229
8f9a2fae
JM
31230 [BZ #13872]
31231 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31232 (__ieee754_powl): Saturate large exponents rather than testing for
31233 overflow of y*log2(x).
31234 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31235 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31236 exceptions.
31237
bcc8d661
JM
31238 [BZ #11521]
31239 * math/s_ctan.c: Include <float.h>.
31240 (__ctan): Avoid internal overflow or cancellation in calculating
31241 denominator.
31242 * math/s_ctanf.c: Likewise.
31243 * math/s_ctanl.c: Likewise.
31244 * math/s_ctanh.c: Likewise.
31245 * math/s_ctanhf.c: Likewise.
31246 * math/s_ctanhl.c: Likewise.
31247 * math/libm-test.inc (ctan_test): Add more tests.
31248 (ctanh_test): Likewise.
31249 * sysdeps/i386/fpu/libm-test-ulps: Update.
31250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31251
823fbbb4
AJ
312522012-04-09 Andreas Jaeger <aj@suse.de>
31253
03879793
AJ
31254 [BZ #6894]
31255 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31256 is an optional BSD extension.
31257
823fbbb4
AJ
31258 [BZ #10254]
31259 * manual/stdio.texi (Opening Streams): Document additional fopen
31260 parameters.
31261
8de131cb
RM
312622012-04-09 Roland McGrath <roland@hack.frob.com>
31263
31264 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31265 %eax without telling the compiler.
31266
c0ed9d7d
CD
312672012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31268
31269 [BZ # 13963]
31270 * manual/install.texi: Use sourceware.org.
31271
c483f6b4
JM
312722012-04-09 Joseph Myers <joseph@codesourcery.com>
31273
d7dd9453
JM
31274 [BZ #13873]
31275 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31276 (__ieee754_pow): Generate overflow and underflow using huge*huge
31277 and tiny*tiny rather than just returning constant infinity or zero
31278 for large exponents.
31279 * math/libm-test.inc (pow_test): Require overflow exceptions for
31280 applicable cases of large exponents.
31281
c483f6b4
JM
31282 [BZ #706]
31283 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31284 (__ieee754_pow): Use iterative multiplication algorithm only for
31285 integer exponents with absolute value below 1024. Check for odd
31286 integer exponents when using algorithm for real exponents.
31287 * math/libm-test.inc (pow_test): Add more tests.
31288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31289
d2de7579
JM
312902012-04-08 Joseph Myers <joseph@codesourcery.com>
31291
31292 [BZ #13705]
31293 * math/libm-test.inc (exp_test): Do not allow overflow exception
31294 on underflow test.
31295
f77f1232
AJ
312962012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31297
31298 [BZ #13705]
31299 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31300 instead of __kernel_standard_f.
31301
3884932b
MF
313022012-04-08 Mike Frysinger <vapier@gentoo.org>
31303
31304 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31305 * sysdeps/x86_64/memset_chk.S: Likewise.
31306
54472e9c
AJ
313072012-04-08 Andreas Jaeger <aj@suse.de>
31308
6ab0fbfc
AJ
31309 [BZ #10153]
31310 * manual/startup.texi (Environment Access): Describe return value
31311 for putenv and setenv.
31312
61efba8c
AJ
31313 [BZ #6895]
31314 * manual/filesys.texi (Directory Entries): Add description for
31315 DT_LNK.
31316
95c3f29a
AJ
31317 [BZ #6890]
31318 * manual/filesys.texi (Directory Entries): Clarify that it's file
31319 system not operating system in the description of DT_UNKNOWN.
31320
54472e9c
AJ
31321 [BZ #6578]
31322 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31323
624254b1
SC
313242012-04-08 Stephen Compall <s11@member.fsf.org>
31325
31326 [BZ #6649]
31327 * manual/llio.texi (Opening and Closing Files): Add cross
31328 reference to explain mode argument.
31329
1e4920e0
MF
313302012-04-07 Mike Frysinger <vapier@gentoo.org>
31331
31332 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31333 * sysdeps/x86_64/memset_chk.S: Likewise.
31334
5ed848f3
DM
313352012-04-07 David S. Miller <davem@davemloft.net>
31336
31337 * elf/elf.h (R_SPARC_WDISP10): Define.
31338 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31339 R_SPARC_SIZE32.
31340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31341 R_SPARC_SIZE64 and R_SPARC_H34.
31342
96154cd8
CD
313432012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31344
31345 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31346 conditions and remove no longer applicable assertion.
31347
9904dc47
L
313482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31349
31350 * bits/byteswap.h: Include <features.h>.
31351 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31352 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31353
f8887d0a
L
313542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31355
31356 * bits/byteswap.h (__bswap_16): Removed.
31357 Include <bits/byteswap-16.h> to get __bswap_16.
31358 * sysdeps/i386/bits/byteswap.h: Likewise.
31359 * sysdeps/s390/bits/byteswap.h: Likewise.
31360 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31361 * bits/byteswap-16.h: New file.
31362 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31363 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31364 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31365 * string/Makefile (headers): Add bits/byteswap-16.h.
31366
62470f60
PP
313672012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31368
31369 [BZ #13895]
31370 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31371 extra indirection.
31372 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31373 * nss/tst-nss-static.c: New.
31374
4dad7bab
RM
313752012-04-06 Robert Millan <rmh@gnu.org>
31376
31377 [BZ #6486]
31378 * manual/llio.texi (File Position Primitive): lseek
31379 refers to WHENCE when it really means OFFSET.
31380
e9142a17
AJ
313812012-04-06 Andreas Jaeger <aj@suse.de>
31382
2c040eff
AJ
31383 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31384 strncmp declarations.
31385
e9142a17
AJ
31386 * abilist/libc.abilist: Add __poll and __ppoll.
31387
ff9f1c5f
DM
313882012-04-05 David S. Miller <davem@davemloft.net>
31389
dcd2ae90
DM
31390 * scripts/check-local-headers.sh: Accept a host triplet in the
31391 path matched by the exclude regexp.
31392
993eb054
DM
31393 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31394 definition.
31395 * sysdeps/powerpc/powerpc32/dl-machine.h
31396 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31397 * sysdeps/s390/s390-32/dl-machine.h
31398 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31399 * sysdeps/sparc/sparc32/dl-machine.h
31400 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31401 * sysdeps/sparc/sparc64/dl-machine.h
31402 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31403
ff9f1c5f
DM
31404 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31405 lazy binding.
48e2e132 31406 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31407 undefined symbol errors.
31408
48e2e132 31409 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31410 DT_NEEDED entries.
31411
e80d6f94
MM
314122012-04-05 Michael Matz <matz@suse.de>
31413
31414 [BZ #13592]
31415 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31416
349fa79f
AJ
314172012-04-05 Andreas Jaeger <aj@suse.de>
31418
31419 [BZ #13908]
31420 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31421 comment.
31422
f402708f
KK
314232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31424
31425 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31426 which ROUND is no valid rounding mode.
31427
2ecccfc9
KK
314282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31429
31430 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31431 read again.
31432 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31433
8a53f50f
KK
314342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31435
31436 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31437 an exception using FPU order intentionally.
31438
314392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31440
31441 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31442 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31443 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31444 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31445
d653abb7
SJ
314462012-04-05 Simon Josefsson <simon@josefsson.org>
31447
31448 [BZ #12340]
31449 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31450 EINVAL when BUFLEN is too smal.
31451
c3b1bf7d
TS
314522012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31453
31454 [BZ #13553]
31455 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31456 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31457
b1aa60f3
AJ
314582012-04-03 Andreas Jaeger <aj@suse.de>
31459
c3b1bf7d 31460 [BZ #13938]
67f60a26
AJ
31461 * manual/setjmp.texi (System V contexts): Fix sentence.
31462
b1aa60f3
AJ
31463 [BZ #13926]
31464 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31465 New macro for this case.
31466 [!__GNUC__] (__bswap_64): New inline function for this case.
31467 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31468 * bits/byteswap.h: Likewise.
31469 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31470 ull, guard with __GLIBC_HAVE_LONG_LONG.
31471
31472 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31473 __GLIBC_HAVE_LONG_LONG.
31474
31475 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31476 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31477
39c59c35
TMQMF
314782012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31479
31480 [BZ #13691]
31481 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31482 inptr and inend, rather than using last_ch.
31483
135ffda8
DM
314842012-04-02 David S. Miller <davem@davemloft.net>
31485
31486 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31487 * stdio-common/printf-parse.h (read_int): Change return type to
31488 'int', return -1 on INT_MAX overflow.
31489 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31490 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31491 overflows INT_MAX. Check for overflow of in-format-string precision
31492 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31493 SIZE_MAX not INT_MAX for integer overflow test.
31494 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31495 skip the construct in the format string but do not record anything.
31496 * stdio-common/bug22.c: Adjust to test both width/prevision
31497 INT_MAX overflow as well as total length INT_MAX overflow. Check
31498 explicitly for proper errno values.
31499
228c019e
TS
315002012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31501
302cadd3
TS
31502 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31503 CHAR_MAX.
31504 * string/test-strcmp.c [! WIDE]: Likewise.
31505 * time/tst-mktime2.c: Likewise for INT_MAX.
31506 * string/test-string.h: #include <sys/param.h> for MIN.
31507
228c019e
TS
31508 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31509 * sysdeps/i386/init-first.c (init): Likewise.
31510 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31511 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31512 * sysdeps/sh/init-first.c (init): Likewise.
31513
cfa633f5
UD
315142012-04-01 Ulrich Drepper <drepper@gmail.com>
31515
31516 * po/ru.po: Update from translation team.
d1635ef8 31517 * po/vi.po: Likewise.
cfa633f5 31518
6cd0a5ea
SP
315192012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31520
31521 * resolv/nss_dns/dns-host.c: Merge copyright years.
31522
4b43400f
LD
315232012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31524
31525 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31526 Optimize memcpy with prefetch if
31527 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31528 src, dst pointers have unequal 16 byte alignments.
31529
48c41d04
SP
315302012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31531
31532 [BZ #13928]
31533 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31534 from a CNAME entry and return the minimum ttl for the query.
31535 (gaih_getanswer_slice): Likewise.
31536
b8dc394d
JL
315372012-03-30 Jeff Law <law@redhat.com>
31538
31539 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31540 due to long keys.
31541 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31542 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31543
2f5a5ed0
JL
31544 * resolv/nss_dns/dns-host.c: Update copyright year.
31545
1d39e359
UD
315462012-03-30 Ulrich Drepper <drepper@gmail.com>
31547
c030f70c 31548 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31549 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31550
1d39e359
UD
31551 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31552 comments for sendmmsg.
31553
315542012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31555
31556 [BZ #13691]
31557 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31558 with only 1 character between 0x0041 and 0x01b0.
31559 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31560 * wcsmbs/tst-mbsnrtowcs.c: New file.
31561
20fde227
DM
315622012-03-29 David S. Miller <davem@davemloft.net>
31563
31564 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31565 small copies by hand.
31566
984a4237
JL
315672012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31568
31569 [BZ #13761]
31570 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31571 _nss_compat_initgroups_dyn): Fall back to malloc/free
31572 for large group memberships.
31573
18c9d62b
DM
315742012-03-28 David S. Miller <davem@davemloft.net>
31575
88d85d4f
DM
31576 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31577 that branches into memcpy.
31578 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31579 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31580 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31581 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31583 bits.
31584 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31585 implementation too.
31586 * sysdeps/sparc/mempcpy.S: New file.
31587
e5aa83e1
DM
31588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31589 the IFUNC routine in the libc case.
31590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31591
88570753
DM
31592 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31593 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31594 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31595 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31596 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31597 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31598 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31599 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31600
249d7567
DM
31601 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31602 loop to 256 bytes instead of 64 bytes and fix test signedness.
31603
18c9d62b
DM
31604 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31605 * sysdeps/sparc/sparc32/Makefile: rather than here...
31606 * sysdeps/sparc/sparc64/Makefile: and here.
31607
05f3d1f6
UD
316082012-03-28 Ulrich Drepper <drepper@gmail.com>
31609
31610 * malloc/mallocbug.c: Avoid warnings about unused variables.
31611
86ae07a8
JL
316122012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31613
31614 [BZ #13760]
31615 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31616 in the right place. Discard and retry query if response is
31617 larger than input buffer size.
31618
41bf21a1
JM
316192012-03-28 Joseph Myers <joseph@codesourcery.com>
31620
d6270972
JM
31621 [BZ #369]
31622 [BZ #2678]
31623 [BZ #3866]
31624 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31625 x for large integer exponent.
31626 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31627 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31628 sign of result as needed afterwards.
31629 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31630 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31631 result for underflowing pow the same as for overflow.
31632 (__kernel_standard_l): Handle powl overflow and underflow here
31633 rather than calling __kernel_standard.
31634 * math/libm-test.inc (pow_test): Add more tests.
31635
414fca03 31636 [BZ #3868]
41bf21a1
JM
31637 [BZ #13879]
31638 [BZ #13910]
31639 [BZ #13911]
31640 [BZ #13912]
31641 [BZ #13913]
31642 [BZ #13915]
31643 [BZ #13916]
31644 [BZ #13917]
31645 [BZ #13918]
31646 [BZ #13919]
31647 [BZ #13920]
31648 [BZ #13921]
31649 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31650 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31651 (__kernel_standard_l): New function.
31652 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31653 __kernel_standard.
31654 * math/w_acosl.c (__acosl): Likewise.
31655 * math/w_asinl.c (__asinl): Likewise.
31656 * math/w_atan2l.c (__atan2l): Likewise.
31657 * math/w_atanhl.c (__atanhl): Likewise.
31658 * math/w_coshl.c (__coshl): Likewise.
31659 * math/w_exp10l.c (__exp10l): Likewise.
31660 * math/w_exp2l.c (__exp2l): Likewise.
31661 * math/w_fmodl.c (__fmodl): Likewise.
31662 * math/w_hypotl.c (__hypotl): Likewise.
31663 * math/w_j0l.c (__j0l, __y0l): Likewise.
31664 * math/w_j1l.c (__j1l, __y1l): Likewise.
31665 * math/w_jnl.c (__jnl, __ynl): Likewise.
31666 * math/w_lgammal.c (__lgammal): Likewise.
31667 * math/w_log10l.c (__log10l): Likewise.
31668 * math/w_log2l.c (__log2l): Likewise.
31669 * math/w_logl.c (__logl): Likewise.
31670 * math/w_powl.c (__powl): Likewise.
31671 * math/w_remainderl.c (__remainderl): Likewise.
31672 * math/w_scalbl.c (sysv_scalbl): Likewise.
31673 * math/w_sinhl.c (__sinhl): Likewise.
31674 * math/w_sqrtl.c (__sqrtl): Likewise.
31675 * math/w_tgammal.c (__tgammal): Likewise.
31676 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31677 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31678 * math/libm-test.inc (acos_test): Add more tests.
31679 (acosh_test): Likewise.
31680 (asin_test): Likewise.
31681 (atanh_test): Likewise.
31682 (exp_test): Likewise.
31683 (exp10_test): Likewise.
31684 (exp2_test): Likewise.
31685 (expm1_test): Likewise.
31686 (lgamma_test): Likewise.
31687 (log_test): Likewise.
31688 (log10_test): Likewise.
31689 (log1p_test): Likewise.
31690 (log2_test): Likewise.
31691 (pow_test): Do not allow some spurious overflow exceptions.
31692 (sqrt_test): Add more tests.
31693 (tgamma_test): Likewise.
31694 (y0_test): Likewise.
31695 (y1_test): Likewise.
31696 (yn_test): Likewise.
31697
dd62fda6
AB
316982012-03-27 Anton Blanchard <anton@samba.org>
31699
31700 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31701 MAP_HUGETLB.
31702 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31703 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31704 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31705
1e3cdfda
AJ
317062012-03-27 David S. Miller <davem@davemloft.net>
31707
b855ab85
DM
31708 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31709
1e3cdfda
AJ
31710 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31711 have-as-vis3 check.
31712
317132012-03-27 Andreas Jaeger <aj@suse.de>
31714
31715 * sysdeps/x86_64/elf/configure.in: Moved to ...
31716 * sysdeps/x86_64/configure.in: ... here.
31717 * sysdeps/x86_64/elf/start.S: Moved to ...
31718 * sysdeps/x86_64/start.S: ... here.
31719 * sysdeps/x86_64/elf/configure: Delete.
31720
31721 * sysdeps/x86_64/configure.in: Merge contents from
31722 sysdeps/i386/configure.in (without i686 check).
31723
31724 * sysdeps/i386/elf/Versions: Merge into ...
31725 * sysdeps/i386/Versions: ... this.
31726 * sysdeps/i386/elf/Versions: Delete file.
31727 * sysdeps/i386/elf/start.S: Moved to ...
31728 * sysdeps/i386/start.S: ...here.
31729 * sysdeps/i386/elf/configure.in: Merge into...
31730 * sysdeps/i386/configure.in: ...here.
31731 * sysdeps/i386/elf/configure.in: Delete file.
31732 * sysdeps/i386/elf/configure: Delete file.
31733
31734 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31735 * debug/backtracesyms.c: ... here.
31736 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31737 * debug/backtracesymsfd.c: ... here.
31738 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31739 * sysdeps/generic/ifunc-sel.h: ... here.
31740
31741 * sysdeps/unix/i386/start.c: Delete file.
31742 * sysdeps/unix/sparc/start.c: Delete file.
31743 * sysdeps/unix/start.c: Delete file.
31744
31745 * sysdeps/sh/elf/configure.in: Moved to ...
31746 * sysdeps/sh/configure.in: ... here.
31747 * sysdeps/sh/elf/start.S: Moved to ...
31748 * sysdeps/sh/start.S: ... here.
31749 * sysdeps/sh/elf/configure: Delete file.
31750
31751 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31752 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31753 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31754 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31755 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31756 * sysdeps/powerpc/powerpc64/start.S: here.
31757 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31758 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31759 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31760 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31761 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31762
31763 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31764 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31765 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31766 * sysdeps/powerpc/powerpc32/start.S: ... here.
31767 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31768 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31769 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31770
31771 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31772 * sysdeps/powerpc/ifunc-sel.h: ... here.
31773 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31774 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31775
31776 * sysdeps/sparc/elf/configure.in: Moved to ...
31777 * sysdeps/sparc/configure.in: ... here.
31778 * sysdeps/sparc/elf/configure: Delete file.
31779 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31780 * sysdeps/sparc/sparc32/start.S: ... here.
31781 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31782 * sysdeps/sparc/sparc64/start.S: ... here.
31783 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31784 * sysdeps/sparc/sparc32/Makefile: ... this.
31785 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31786 * sysdeps/sparc/sparc64/Makefile: ... this.
31787
31788 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31789 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31790 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31791 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31792 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31793 * sysdeps/s390/s390-32/setjmp.S: ... here.
31794 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31795 * sysdeps/s390/s390-32/configure.in: ... here.
31796 * sysdeps/s390/s390-32/elf/configure: Delete file.
31797 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31798 * sysdeps/s390/s390-32/start.S: ... here.
31799
31800 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31801 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31802 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31803 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31804 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31805 * sysdeps/s390/s390-64/setjmp.S: ... here.
31806 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31807 * sysdeps/s390/s390-64/configure.in: ... here
31808 * sysdeps/s390/s390-64/elf/configure: Delete file.
31809 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31810 * sysdeps/s390/s390-64/start.S: ... here.
31811 * sysdeps/s390/s390-64/elf/configure: Delete.
31812
31813 * configure.in: Remove support for elf directories in sysdeps.
31814
31815 * configure: Regenerated.
31816 * sysdeps/i386/configure: Regenerated.
31817 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31818 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31819 * sysdeps/s390/s390-32/configure: Regenerated.
31820 * sysdeps/s390/s390-64/configure: Regenerated.
31821 * sysdeps/sh/configure: Regenerated.
31822 * sysdeps/sparc/configure: Regenerated.
31823 * sysdeps/x86_64/configure: Regenerated.
31824
a3f61311
AS
318252012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31826
c876e002
AS
31827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31828
a3f61311
AS
31829 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31830 denormal result into account.
31831
ac4c54f0
RM
318322012-03-25 Roland McGrath <roland@hack.frob.com>
31833
31834 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31835 Reported by Allan McRae <allan@archlinux.org>.
31836
6a9b9c02
JL
318372012-03-23 Jeff Law <law@redhat.com>
31838
31839 * nss/getnssent.c (__nss_getent): Fix typo.
31840
4c42a0c1
DM
318412012-03-23 David S. Miller <davem@davemloft.net>
31842
31843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31844
1532c7ac
L
318452012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31846
31847 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31848 to pad to uint64_t for each field.
31849 (dl_tls_index): Replace unsigned long with uint64_t.
31850
3ff42526
PP
318512012-03-23 Daniel Jacobowitz <dmj@google.com>
31852 Paul Pluzhnikov <ppluzhnikov@google.com>
31853
31854 [BZ #6528]
31855 * grp/Makefile (otherlibs): Don't set it.
31856 * inet/Makefile (otherlibs): Likewise.
31857 * login/Makefile (otherlibs): Likewise.
31858 * nscd/Makefile (otherlibs): Likewise.
31859 * posix/Makefile (otherlibs): Likewise.
31860 * pwd/Makefile (otherlibs): Likewise.
31861 * rt/Makefile (otherlibs): Likewise.
31862 * sunrpc/Makefile (otherlibs): Likewise.
31863 * nss/Makefile (otherlibs): Likewise.
31864 Add libnss_files to routines and static-only-routines.
31865 ($(objpfx)getent): Remove rule.
31866 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31867 static-only-routines.
31868
7c69cd14
JM
318692012-03-22 Joseph Myers <joseph@codesourcery.com>
31870
31871 [BZ #13892]
31872 * math/s_cexp.c: Include <float.h>.
31873 (__cexp): Handle exp result overflowing not necessarily
31874 overflowing both real and imaginary parts of result.
31875 * math/s_cexpf.c: Likewise.
31876 * math/s_cexpl.c: Likewise.
31877 * math/libm-test.inc (cexp_test): Add more tests.
31878 * sysdeps/i386/fpu/libm-test-ulps: Update.
31879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31880
81b035fe
L
318812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31882
31883 * include/link.h (ELFW): New macro.
31884 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31885 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31886
1da7940c
L
318872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31888
31889 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31890 with uint64_t.
31891
b749dbb9
L
318922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31893
31894 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31895 declaration.
31896 (struct La_x32_retval): Likewise.
31897
2ff87f3f
L
318982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31899
31900 * sysdeps/x86_64/preconfigure.in: New file.
31901 * sysdeps/x86_64/preconfigure: New generated file.
31902
c0df8e69
JM
319032012-03-22 Joseph Myers <joseph@codesourcery.com>
31904
48e44791
JM
31905 [BZ #13824]
31906 * math/e_exp2l.c: Include <float.h>.
31907 (__ieee754_exp2l): Handle overflow and underflow cases
31908 separately. Only pass fractional part of argument to
31909 __ieee754_expl.
31910 * math/libm-test.inc (exp2_test): Add more tests.
31911
c0df8e69
JM
31912 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31913 negating x to take absolute value.
31914 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31915 Likewise.
31916 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31917 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31918 Likewise.
31919 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31920 computing low part if x was negated.
31921 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31922
c8e43ba7
L
319232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31924
31925 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31926 la_x32_gnu_pltexit.
31927 (pltexit): Cast int_retval to ptrdiff_t.
31928 * elf/tst-auditmod3b.c: Likewise.
31929 * elf/tst-auditmod4b.c: Likewise.
31930 * elf/tst-auditmod5b.c: Likewise.
31931 * elf/tst-auditmod6b.c: Likewise.
31932 * elf/tst-auditmod6c.c: Likewise.
31933 * elf/tst-auditmod7b.c: Likewise.
31934
31935 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31936 and x32_gnu_pltexit.
31937
31938 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31939 __ELF_NATIVE_CLASS.
31940 (La_x32_regs): New macro.
31941 (La_x32_retval): Likewise.
31942 (la_x32_gnu_pltenter): New function prototype.
31943 (la_x32_gnu_pltexit): Likewise.
31944
7998fa78
AS
319452012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31946
dcb33988
AS
31947 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31948 exponent.
31949
233fc563
AS
31950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31951
7998fa78
AS
31952 * configure.in (libc_cv_cc_nofma): Check for option to disable
31953 generation of FMA instructions.
31954 * configure: Regenerate.
31955 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31956 * sysdeps/ieee754/dbl-64/Makefile: New file.
31957 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31958 Remove brandred-fma4.
31959 (CFLAGS-brandred-fma4.c): Remove.
31960 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31961 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31962 define.
31963 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31964 define.
31965
8e95c99a
L
319662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31967
31968 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31969 LLONG_MAX != LONG_MAX.
31970 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31971 (_fitoa_word): Likewise.
31972 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31973 LLONG_MAX != LONG_MAX.
31974 * stdio-common/_itowa.h: Include <_itoa.h>.
31975 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31976 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31977 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31978 only if not defined.
31979 (_ITOA_WORD_TYPE): Likewise.
31980 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31981 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31982
6f4db457
DM
319832012-03-21 David S. Miller <davem@davemloft.net>
31984
31985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31986
7785fe5a
L
319872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31988
31989 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31990 of x86_64 when setting libc_cv_slibdir, libdir and
31991 libc_cv_localedir.
31992 * sysdeps/unix/sysv/linux/configure: Regenerated.
31993
4535cd55
JM
319942012-03-21 Joseph Myers <joseph@codesourcery.com>
31995
31996 * manual/lang.texi (Old Varargs): Remove section.
31997 (How Variadic): Update menu.
31998 (va_start): Do not mention varargs.h.
31999
17228132
TS
320002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32001 Joseph Myers <joseph@codesourcery.com>
32002
32003 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32004 link test.
32005 * configure: Regenerated.
32006
8149f976
TS
320072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32008
05f3d1f6
UD
32009 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32010 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32011 conformtest.pl
8149f976 32012
1a4ac776
JM
320132012-03-21 Joseph Myers <joseph@codesourcery.com>
32014
be22ce65
JM
32015 * NOTES: Remove.
32016 * Makefile (files-for-dist): Remove NOTES.
32017 (NOTES): Remove rule.
32018 * README: Don't refer to NOTES.
32019 * manual/creature.texi: Don't include macros.texi.
32020 * manual/intro.texi (creature.texi): Remove comment referring to
32021 NOTES.
32022
40b601fb
JM
32023 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32024 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32025 * configure: Regenerated.
32026 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32027 LIBC_TRY_CC_OPTION.
32028 (libc_cv_as_i686): Likewise.
32029 (libc_cv_cc_avx): Likewise.
32030 (libc_cv_cc_sse2avx): Likewise.
32031 (libc_cv_cc_fma4): Likewise.
32032 (libc_cv_cc_novzeroupper): Likewise.
32033 * sysdeps/i386/configure: Regenerated.
32034
1a4ac776
JM
32035 [BZ #13883]
32036 * sysdeps/i386/fpu/s_cexp.S: Remove.
32037 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32038 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32039 * math/libm-test.inc (cexp_test): Add more tests.
32040 * sysdeps/i386/fpu/libm-test-ulps: Update.
32041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32042
a458e7fe
AM
320432012-03-21 Allan McRae <allan@archlinux.org>
32044
32045 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32046
0cb7efc5
JM
320472012-03-21 Joseph Myers <joseph@codesourcery.com>
32048
32049 [BZ #13871]
32050 * math/w_exp2.c: Do not include <float.h>.
32051 (o_threshold, u_threshold): Remove.
32052 (__exp2): Calculate result before checking finiteness and calling
32053 __kernel_standard.
32054 * math/w_exp2f.c: Likewise.
32055 * math/w_exp2l.c: Likewise.
32056 * math/libm-test.inc (exp2_test): Require overflow exception for
32057 1e6 input.
2460d3aa
JM
32058
32059 [BZ #3866]
32060 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32061 range of signed 64-bit integers before using fistpll. Remove
32062 checks for whether integers fit in mantissa bits.
32063 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32064 the range of signed 32-bit integers before using fistpl. Remove
32065 checks for whether integers fit in mantissa bits.
32066 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32067 (__ieee754_powl): Test for y outside the range of signed 64-bit
32068 integers before using fistpll. Reduce 64-bit values to 63-bit
32069 ones as needed.
32070 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32071 divide-by-zero is raised for zero to large negative powers.
32072 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32073 (__ieee754_powl): Test for y outside the range of signed 64-bit
32074 integers before using fistpll. Reduce 64-bit values to 63-bit
32075 ones as needed.
32076 * math/libm-test.inc (pow_test): Add more tests.
32077
eb96ffb0
L
320782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32079
32080 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32081 <stdio-common/_itoa.h>.
32082 * debug/segfault.c: Likewise.
32083 * elf/dl-cache.c: Likewise.
32084 * elf/dl-minimal.c: Likewise.
32085 * elf/dl-misc.c: Likewise.
32086 * elf/dl-sysdep.c: Likewise.
32087 * elf/dl-version.c: Likewise.
32088 * elf/rtld.c: Likewise.
32089 * hurd/hurdsock.c: Likewise.
32090 * hurd/lookup-retry.c: Likewise.
32091 * malloc/malloc.c: Likewise.
32092 * malloc/mtrace.c: Likewise.
32093 * nscd/nscd_getgr_r.c: Likewise.
32094 * nscd/nscd_getpw_r.c: Likewise.
32095 * nscd/nscd_getserv_r.c: Likewise.
32096 * posix/getopt_init.c: Likewise.
32097 * posix/wordexp.c: Likewise.
32098 * stdio-common/_itoa.c: Likewise.
32099 * stdio-common/printf_fphex.c: Likewise.
32100 * stdio-common/vfprintf.c: Likewise.
32101 * string/_strerror.c: Likewise.
32102 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32103 * sysdeps/i386/i686/hp-timing.h: Likewise.
32104 * sysdeps/mach/_strerror.c: Likewise.
32105 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32106 * sysdeps/mach/hurd/sethostid.c: Likewise.
32107 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32108 * sysdeps/mach/xpg-strerror.c: Likewise.
32109 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32110 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32111 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32112 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32113 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32114 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32115 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32116 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32117 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32118 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32119 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32120 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32121 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32122 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32123 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32124 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32125 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32126 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32127 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32128 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32129 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32130
32131 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32132
32133 * stdio-common/_itoa.h: Moved to ...
32134 * sysdeps/generic/_itoa.h: Here.
32135
32136 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32137
32138 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32139 instead of "_itoa.h" and "_itowa.h".
32140 * stdio-common/vfprintf.: Likewise.
32141
d1af992d
L
321422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32143
32144 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32145 <bits/wordsize.h>.
32146 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32147 (__signbit): Likwise.
32148 (llrintf): Likwise.
32149 (llrint): Likwise.
32150
114883e0
L
321512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32152
32153 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32154 __WORDSIZE != 64.
32155
c135cc1b
JM
321562012-03-20 Joseph Myers <joseph@codesourcery.com>
32157
32158 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32159 OVERFLOW_EXCEPTION_OK.
32160 * math/libm-test.inc ("Philosophy"): Update comment about
32161 exception testing.
32162 (OVERFLOW_EXCEPTION): Define.
32163 (OVERFLOW_EXCEPTION_OK): Likewise.
32164 (INVALID_EXCEPTION_OK): Renumber.
32165 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32166 (IGNORE_ZERO_INF_SIGN): Likewise.
32167 (test_exceptions): Handle FE_OVERFLOW.
32168 (exp10_test): Expect overflow exceptions.
32169 (exp2_test): Likewise.
32170 (expm1_test): Likewise.
32171 (nextafter_test): Likewise.
32172 (pow_test): Likewise.
32173 (scalbn_test): Likewise.
32174 (scalbln_test): Likewise.
32175
95443d88
L
321762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32177
32178 * sysdeps/x86_64/bits/atomic.h
32179 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32180 64bit integer.
32181 (atomic_exchange_acq): Likewise.
32182 (__arch_exchange_and_add_body): Likewise.
32183 (__arch_add_body): Likewise.
32184 (atomic_add_negative): Likewise.
32185 (atomic_add_zero): Likewise.
32186
490df6c4
L
321872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32188
c2722551 32189 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32190 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32191
5e52b189
L
321922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32193
32194 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32195 Check __x86_64__ instead of __WORDSIZE.
32196
a9879d4c
L
321972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32198
32199 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32200
5df98260
DM
322012012-03-19 David S. Miller <davem@davemloft.net>
32202
e1497744
DM
32203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32204
5df98260
DM
32205 * sysdeps/sparc/fpu/fenv_private.h: New file.
32206 * sysdeps/sparc/fpu/math_private.h: Use it.
32207 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32208 Remove.
32209 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32210 (libc_feholdexcept_setroundl): Remove.
32211 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32212 Remove.
32213 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32214 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32215
b4c35121
L
322162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32217
32218 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32219 int64_t instead of long int.
32220 (INSERT_WORDS64): Likwise.
32221
56965fd7
L
322222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32223
32224 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32225 _Unwind_GetCFA return to _Unwind_Ptr first.
32226
83d1aec8
JM
322272012-03-19 Joseph Myers <joseph@codesourcery.com>
32228
1897ad44
JM
32229 [BZ #13629]
32230 * math/s_clog.c: Include <float.h>.
32231 (__clog): Scale large or subnormal inputs.
32232 * math/s_clogf.c: Likewise.
32233 * math/s_clogl.c: Likewise.
32234 * math/s_clog10.c: Include <float.h>.
32235 (M_LOG10_2): Define.
32236 (__clog10): Scale large or subnormal inputs.
32237 * math/s_clog10f.c: Likewise.
32238 * math/s_clog10l.c: Likewise.
32239 * math/libm-test.inc (clog_test): Add more tests.
32240 (clog10_test): Likewise.
32241 * sysdeps/i386/fpu/libm-test-ulps: Update.
32242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32243
7726d6a9
JM
32244 [BZ #11451]
32245 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32246 x and y.
32247 * math/libm-test.inc (atan2_test): Add another test.
32248
83d1aec8
JM
32249 * Makerules (common-objdir-compile): Remove.
32250 * sysdeps/unix/Makefile (config-generated): Do not add
32251 $(unix-generated) to variable.
32252 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32253 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32254 Remove rule.
32255 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32256 Likewise.
32257 [generic bits/local_lim.h] (before-compile): Do not append to
32258 variable.
32259 [generic bits/local_lim.h] (common-generated): Likewise.
32260 [generic sys/param.h] (before-compile): Do not append to variable.
32261 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32262 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32263 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32264 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32265 include.
32266 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32267 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32268 [generic sys/param.h] ($(addprefix
32269 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32270 [generic sys/param.h] (common-generated): Do not append to
32271 variable.
32272 [generic sys/param.h] (sysdep_headers): Likewise.
32273 [generic bits/errno.h] (before-compile): Do not append to
32274 variable.
32275 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32276 rule.
32277 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32278 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32279 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32280 [generic bits/errno.h] (common-generated): Do not append to
32281 variable.
32282 [generic bits/ioctls.h] (before-compile): Do not append to
32283 variable.
32284 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32285 rule.
32286 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32287 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32288 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32289 rule.
32290 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32291 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32292 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32293 [generic bits/ioctls.h] (common-generated): Do not append to
32294 variable.
32295 [generic sys/syscall.h] (syscall.h): Remove variable.
32296 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32297 rule.
32298 [generic sys/syscall.h] (before-compile): Do not append to
32299 variable.
32300 [generic sys/syscall.h] (common-generated): Likewise.
32301 * sysdeps/unix/errnos-tmpl.c: Remove file.
32302 * sysdeps/unix/errnos.awk: Likewise.
32303 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32304 * sysdeps/unix/ioctls.awk: Likewise.
32305 * sysdeps/unix/mk-local_lim.c: Likewise.
32306 * sysdeps/unix/snarf-ioctls: Likewise.
32307
4851a949
RH
323082012-03-19 Richard Henderson <rth@twiddle.net>
32309
bd37f2ee
RH
32310 * sysdeps/i386/fpu/fenv_private.h: New file.
32311 * sysdeps/i386/fpu/math_private.h: Use it.
32312 (math_opt_barrier, math_force_eval): Remove.
32313 (libc_feholdexcept_setround_53bit): Remove.
32314 (libc_feupdateenv_53bit): Remove.
32315 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32316 (math_opt_barrier, math_force_eval): Remove.
32317 (libc_feholdexcept): Remove.
32318 (libc_feholdexcept_setround): Remove.
32319 (libc_fetestexcept, libc_fesetenv): Remove.
32320 (libc_feupdateenv_test): Remove.
32321 (libc_feupdateenv, libc_feholdsetround): Remove.
32322 (libc_feresetround): Remove.
32323
d0adc922
RH
32324 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32325 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32326
0fe0f1f8
RH
32327 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32328 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32329 (libc_feupdateenv_testl): New.
32330 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32331 (libc_feupdateenv_testf): New.
32332 (libc_feupdateenv): Use libc_feupdateenv_test.
32333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32334 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32335
eb92c487
RH
32336 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32337 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32338 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32339 (libc_feresetround_noex): New.
32340 (libc_feresetround_noexf): New.
32341 (libc_feresetround_noexl): New.
32342 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32343 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32344 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32345 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32346 SET_RESTORE_ROUND.
32347 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32348 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32349 (__cos): Likewise.
32350 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32351 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32352 SET_RESTORE_ROUND_NOEX.
32353 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32354 SET_RESTORE_ROUND_NOEXF.
32355 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32356 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32357 (libc_feholdsetroundf): New.
32358 (libc_feresetround, libc_feresetroundf): New.
32359
7d2e8012
RH
32360 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32361 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32362 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32363
b4dabbb4
RH
32364 * sysdeps/generic/math_private.h: Include <fenv.h>.
32365 (default_libc_feholdexcept): New.
32366 (default_libc_feholdexcept_setround): New.
32367 (default_libc_fesetenv, default_libc_feupdateenv): New.
32368 (libc_feholdexcept): Only define if undefined.
32369 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32370 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32371 (libc_feholdexcept_setroundl): Likewise.
32372 (libc_feholdexcept_setround_53bit): Likewise.
32373 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32374 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32375 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32376 (libc_feupdateenv_53bit): Likewise.
32377 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32378 (libc_feholdexcept): Convert from macro to inline function.
32379 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32380 (libc_fesetenv, libc_feupdateenv): Likewise.
32381
4851a949
RH
32382 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32383 not previously defined.
32384 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32385 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32386 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32387 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32388 * sysdeps/ieee754/flt-32/math_private.h: New file.
32389 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32390 math_private.h below SET_FLOAT_WORD.
32391 (__isnan, __isinf_ns, __finite): Remove.
32392 (__isnanf, __isinf_nsf, __finitef): Remove.
32393
e79d442e
AS
323942012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32395
32396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32397
90b80344
DM
323982012-03-17 David S. Miller <davem@davemloft.net>
32399
32400 [BZ #6471]
32401 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32402 for 2.16.
32403
edc21804
DM
324042012-03-16 David S. Miller <davem@davemloft.net>
32405
77e927af
DM
32406 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32407 warnings.
32408
374976dd
DM
32409 [BZ #6471]
32410 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32411 properly.
32412 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32413 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32414 sysdep_routines when subdir is sysvipc.
32415 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32416 __getshmlba helper.
32417
edc21804
DM
32418 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32419
473c3ef3
L
324202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32421
32422 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32423 [__LP64__].
32424
eb0f39b6
L
324252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32426
32427 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32428 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32429 (__lround): Renamed to ...
32430 (__llround): This. Replace long int with long long int.
32431 Define lround functions as aliases of llround functions.
32432 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32433
6b6cd74b
L
324342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32435
32436 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32437 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32438 adresses to uintptr_t. Replace "long int" and "unsigned long
32439 int" with "greg_t" on va_arg.
32440
f1a77b01
L
324412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32442
32443 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32444 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32445
32446 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32447 Move e_machine check before EI_CLASS check. Handle x32
32448 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32449 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32450 SKIP_EM_IA_64 and include
32451 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32452
32453 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32454 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32455 (add_system_dir): New macro.
32456
32457 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32458 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32459
11b90b9f
JM
324602012-03-16 Joseph Myers <joseph@codesourcery.com>
32461
c36e1d23
JM
32462 [BZ #2551]
32463 [BZ #2552]
32464 [BZ #2553]
32465 [BZ #2554]
32466 [BZ #2562]
32467 [BZ #2563]
32468 [BZ #2565]
32469 [BZ #2566]
32470 [BZ #2576]
32471 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32472 (y0): Likewise.
32473 * math/w_j0f.c (j0f): Likewise.
32474 (y0f): Likewise.
32475 * math/w_j0l.c (__j0l): Likewise.
32476 (__y0l): Likewise.
32477 * math/w_j1.c (j1): Likewise.
32478 (y1): Likewise.
32479 * math/w_j1f.c (j1f): Likewise.
32480 (y1f): Likewise.
32481 * math/w_j1l.c (__j1l): Likewise.
32482 (__y1l): Likewise.
32483 * math/w_jn.c (jn): Likewise.
32484 (yn): Likewise.
32485 * math/w_jnf.c (jnf): Likewise.
32486 (ynf): Likewise.
32487 * math/w_jnl.c (__jnl): Likewise.
32488 (__ynl): Likewise.
32489 * math/libm-test.inc (j0_test): Add more tests.
32490 (j1_test): Likewise.
32491 (jn_test): Likewise. Add trailing semicolon to existing test.
32492 (y0_test): Likewise.
32493 (y1_test): Likewise.
32494 * sysdeps/i386/fpu/libm-test-ulps: Update.
32495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32496
11b90b9f
JM
32497 [BZ #13851]
32498 [BZ #13854]
32499 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32500 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32501 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32502 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32503 (__tanl): Set errno for infinite argument.
32504 * sysdeps/i386/fpu/mptan.c: Remove.
32505 * sysdeps/i386/fpu/s_tan.S: Likewise.
32506 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32507 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32508 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32509 * math/libm-test.inc (tan_test): Add more tests and enable more
32510 tests for double and long double.
32511 * sysdeps/i386/fpu/libm-test-ulps: Update.
32512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32513
6a1bd2a1
JK
325142012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32515
32516 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32517 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32518
10a803e0
RM
325192012-03-16 Roland McGrath <roland@hack.frob.com>
32520
32521 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32522 * configure.in: Use it for both main tree and add-ons.
32523 * configure: Regenerated.
32524
f196c7f7
L
325252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32526
32527 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32528
8848d99d
JM
325292012-03-16 Joseph Myers <joseph@codesourcery.com>
32530
96cbe7f4
JM
32531 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32532 in comment.
32533
8848d99d
JM
32534 [BZ #13851]
32535 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32536 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32537 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32538 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32539 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32540 infinite argument.
32541 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32542 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32543 != 0 for prec == 2.
32544 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32545 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32546 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32547 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32548 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32549 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32550 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32551 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32552 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32553 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32554 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32555 * math/libm-test.inc (cos_test): Add more tests and enable more
32556 tests for long double.
32557 (sin_test): Likewise.
32558 (sincos_test): Likewise.
32559 * sysdeps/i386/fpu/libm-test-ulps: Update.
32560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32561
dd7f4703
DM
325622012-03-16 David S. Miller <davem@davemloft.net>
32563
32564 * sysdeps/sparc/fpu/math_private.h: New file.
32565
006f1daa
DM
325662012-03-15 David S. Miller <davem@davemloft.net>
32567
c0c83bc8
DM
32568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32569 file.
e6a62e18 32570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32572 file.
e6a62e18
DM
32573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32578 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32579 sysdep routines.
32580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32581
88cb87d9
DM
32582 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32583 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32584
006f1daa 32585 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32587 sparc-ifunc.h
006f1daa 32588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32590 Likewise.
32591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32592 Likewise.
006f1daa
DM
32593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32597 Likewise.
006f1daa
DM
32598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32603 Likewise.
32604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32605 Likewise.
006f1daa
DM
32606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32624 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32625 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32628 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32630
11e0098e
AS
326312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32632
32633 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32634 scaling.
32635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32636
e85b09d0
AJ
326372012-03-15 Andreas Jaeger <aj@suse.de>
32638
32639 [BZ #13852]
32640 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32641 ieee754/flt-32 implementation for sin, cos and sincos.
32642 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32643 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32644 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32645 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32646 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32647 ieee754/flt-32 implementation for tan.
32648
32649 * math/libm-test.inc (cos_test): Enable some large input tests for
32650 float as well
32651 (sin_test): Likewise.
32652 (sincos_test): Likewise.
32653 (tan_test): Add tests for large input.
32654
32655 * sysdeps/i386/fpu/libm-test-ulps: Update.
32656
81c64153
AJ
326572012-03-15 Andreas Jaeger <aj@suse.de>
32658
32659 [BZ #13658]
32660 * math/libm-test.inc (cos_test): Add more test cases.
32661 (sin_test): Likewise.
32662 (sincos_test): Likewise.
32663
7bbfa5c6
AJ
326642012-03-15 Andreas Jaeger <aj@suse.de>
32665
32666 [BZ #13837]
32667 * math/libm-test.inc (cos_test): Add a test case for large input
32668 value.
32669 (sin_test): Likewise.
32670 (sincos_test): Likewise.
32671
326722012-03-15 Andreas Jaeger <aj@suse.de>,
32673 Joseph Myers <joseph@codesourcery.com>
32674
32675 [BZ #13658]
0671f479 32676 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32677 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32678 * sysdeps/i386/fpu/branred.c: Likewise.
32679 * sysdeps/i386/fpu/dosincos.c: Likewise.
32680 * sysdeps/i386/fpu/mpa.c: Likewise.
32681 * sysdeps/i386/fpu/s_cos.S: Likewise.
32682 * sysdeps/i386/fpu/s_sin.S: Likewise.
32683 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32684 * sysdeps/i386/fpu/sincos32.c: Likewise.
32685
32686 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32687 Define.
32688 (libc_feupdateenv_53bit): Define.
32689 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32690 Define.
32691 (libc_feupdateenv_53bit): Define.
32692
32693 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32694 53 bit (without extend i386 double precision).
32695
32696 * math/libm-test.inc (sincos_test): Add tests for large input.
32697 (sin): Likewise.
32698 (cos): Likewise.
32699
32700 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32701
9cad04ea
AS
327022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32703
32704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32705
f7062b9a
DM
327062012-03-15 David S. Miller <davem@davemloft.net>
32707
32708 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32709 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32710 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32711 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32724 file.
f7062b9a 32725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32727 file.
f7062b9a 32728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32730 file.
f7062b9a 32731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32733 file.
f7062b9a
DM
32734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32736 fmin/fmax sysdep routines.
32737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32738
7bd951ff
DM
327392012-03-14 David S. Miller <davem@davemloft.net>
32740
559398ab
DM
32741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32748 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32767 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32768 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32769 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32770 routines.
32771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32772 file.
559398ab 32773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32775 file.
559398ab 32776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32778 file.
559398ab 32779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32781 file.
559398ab 32782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32784 file.
559398ab 32785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32787 file.
32788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32789 file.
32790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32791 file.
32792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32793 file.
32794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32795 New file.
32796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32797 file.
32798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32799 file.
559398ab 32800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32802 file.
559398ab 32803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32805 file.
559398ab 32806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32808 file.
559398ab 32809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32811 VIS3 routines.
559398ab
DM
32812
32813 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32814 New file.
32815
5a1c1e32
DM
32816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32817
eae47a36
DM
32818 * sysdeps/sparc/configure.in: New file.
32819 * sysdeps/sparc/configure: Generate.
32820 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32821 * configure: Regenerate.
32822 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32823 * config.make.in (have-as-vis3): New.
32824 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32825 available use -Av9d instead of -Av9a.
32826 * sysdeps/sparc/sparc64/Makefile: Likewise.
32827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32829 New file.
32830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32831 file.
32832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32833 New file.
32834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32835 file.
eae47a36
DM
32836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32840 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32841
c0c83bc8
DM
32842 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32843 fzeros/fnegs to load 0x80000000 into a float register instead of
32844 using the stack.
7bd951ff
DM
32845 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32846
bd951ccb
JM
328472012-03-14 Joseph Myers <joseph@codesourcery.com>
32848
32849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32850 bits/syscall.h.
32851 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32852 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32853 ($(inst_includedir)/bits/syscall.h): Remove rule.
32854 ($(objpfx)bits/syscall.d): Include instead of
32855 $(objpfx)syscall-list.d.
32856 (generated): Change syscall-list.h and syscall-list.d to
32857 bits/syscall.h and bits/syscall.d.
32858
bb4e6db2
RM
328592012-03-14 Roland McGrath <roland@hack.frob.com>
32860
32861 [BZ #13846]
32862 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32863
aa4a2ae1
JM
328642012-03-14 Joseph Myers <joseph@codesourcery.com>
32865
e456826d
JM
32866 [BZ #13841]
32867 * math/s_csqrt.c: Include <float.h>.
32868 (__csqrt): Scale large or subnormal inputs.
32869 * math/s_csqrtf.c: Likewise.
32870 * math/s_csqrtl.c: Likewise.
32871 * math/libm-test.inc (csqrt_test): Add more tests.
32872 * sysdeps/i386/fpu/libm-test-ulps: Update.
32873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32874
aa4a2ae1
JM
32875 [BZ #13840]
32876 * math/libm-test.inc (hypot_test): Add more tests.
32877
7c10fd35
DM
328782012-03-13 David S. Miller <davem@davemloft.net>
32879
32880 [BZ #13840]
32881 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32882 double-precision for the calculation instead of scaling.
32883
f453b98b
JM
328842012-03-13 Joseph Myers <joseph@codesourcery.com>
32885
32886 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32887 manipulate bits before adding and subtracting TWO52[sx].
32888 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32889 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32890 Likewise.
32891 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32892
09a3453f
DM
328932012-03-13 David S. Miller <davem@davemloft.net>
32894
8e59da90
DM
32895 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32896 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32898 rtld-global-offsets.h
32899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32900
2a8ab7f2
DM
32901 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32902 large parameters.
32903
10f62770
DM
32904 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32905
5f0bdb18
DM
32906 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32907 'err' in the ifdef scope in which it is actually used.
32908
09a3453f
DM
32909 * nss/nss_db/db-init.c: Include string.h
32910
b4b2eb5e
DM
329112012-03-12 David S. Miller <davem@davemloft.net>
32912
98bb2f1c
DM
32913 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32914 masking out of the most significant byte of random value used.
32915 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32916 Fix coding style in previous change.
32917
b4b2eb5e
DM
32918 * sysdeps/unix/sysv/linux/kernel-features.h
32919 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32920 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32921 expression.
32922 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32923 later.
32924
6e226b09
DM
329252012-03-11 David S. Miller <davem@davemloft.net>
32926
a1bcbd40
DM
32927 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32928 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32929 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32930 for 'resultvar' otherwise things get truncated on 64-bit.
32931
cb9d6174
DM
32932 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32933 Fix masking out of the most significant byte of random value used.
32934
6e226b09
DM
32935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32936
058c132d
AS
329372012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32938
32939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32940
2d2cd515
DM
329412012-03-09 David S. Miller <davem@davemloft.net>
32942
32943 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32944 variables with appropriate CPP guards.
32945 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32946 frame pointer, not the stack pointer. Correct layout comments. Fix test
32947 on resulting framesize and the management of the outregs buffer for pltexit.
32948 Preserve floating point return values across _dl_call_pltexit call.
32949 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32950 framesize and the management of the outregs buffer for pltexit.
32951 Preserve floating point return values across _dl_call_pltexit
32952 call.
32953 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32954 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32955 (print_exit): Fix format string for return register value.
32956
9a07f9d0
JM
329572012-03-10 Joseph Myers <joseph@codesourcery.com>
32958
32959 * sunrpc/Makefile (others): Add rpcgen.
32960 ($(objpfx)rpcgen): Remove special build rule and dependency on
32961 libc.
32962 * sunrpc/rpcgen.c: New file.
32963
547b5e30
PE
329642012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32965
c524201a
PE
32966 [BZ #13673]
32967 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32968 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32969 * sysdeps/i386/crti.S: Likewise.
32970 * sysdeps/i386/crtn.S: Likewise.
32971 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32972 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32973 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32974 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32975 * sysdeps/sh/crti.S: Likewise.
32976 * sysdeps/sh/crtn.S: Likewise.
32977 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32978
7b6235f2
PE
32979 [BZ #13673]
32980 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32981 with URL.
32982 * locale/programs/locfile-kw.gperf: Likewise.
32983 * locale/programs/charmap-kw.h: Regenerated.
32984 * locale/programs/locfile-kw.h: Likewise.
32985
547b5e30
PE
32986 [BZ #13673]
32987 * intl/plural.y: Replace FSF snail mail address with URL.
32988 * intl/plural.c: Regenerated.
32989
5f0a5dae
RH
329902012-03-09 Richard Henderson <rth@twiddle.net>
32991
32992 * include/math_private.h: Remove file.
32993 * math/math_private.h: Move file ...
32994 * sysdeps/generic/math_private.h: ... here.
32995
b8c03620
RH
32996 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32997 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32998 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32999
4e234f5d 33000 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33001 and <math_private.h>.
33002 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33003 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33004 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33005 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33006 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33023 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33029 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33031 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33032 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33033 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33034 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33037 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33038 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33039 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33040 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33041 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33042 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33043 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33044 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33045 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33046 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33047 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33048 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33049 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33050 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33061 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33062 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33063 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33065 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33066 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33067 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33068 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33069 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33070 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33071 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33072 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33073 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33074 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33075 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33076 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33077 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33079 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33080 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33081 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33082 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33083 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33084 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33085 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33086 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33087 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33089 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33090 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33091 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33092 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33093 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33094 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33095 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33096 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33097 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33098 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33099 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33100 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33101 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33102 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33103 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33104 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33105 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33106 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33107 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33108 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33109 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33110 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33111 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33112 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33113 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33114 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33115 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33116 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33117 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33118 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33119 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33120 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33121 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33122 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33123 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33124 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33125 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33126 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33127 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33128 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33129 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33130 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33131 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33132 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33133 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33134 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33135 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33136 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33137 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33138 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33139 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33140 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33141 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33142 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33143 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33144 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33145 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33146 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33147 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33148 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33149 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33150 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33151 * sysdeps/ieee754/k_standard.c: Likewise.
33152 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33153 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33154 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33157 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33158 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33159 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33162 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33164 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33165 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33166 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33243 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33245 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33248 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33252 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33253 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33255 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33256 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33261 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33262 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33263 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33264 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33265 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33266 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33267 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33268 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33269 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33270 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33271 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33272 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33273 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33274 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33275 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33276 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33277 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33278 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33279 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33280 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33281 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33282 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33283 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33284 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33285 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33286 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33287 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33288 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33289 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33290 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33291 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33292 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33293 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33294 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33295 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33296 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33297 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33298 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33299 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33300 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33301 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33302 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33303 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33304 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33305 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33306 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33307 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33308 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33309 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33310 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33311 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33312 * sysdeps/ieee754/s_lib_version.c: Likewise.
33313 * sysdeps/ieee754/s_matherr.c: Likewise.
33314 * sysdeps/ieee754/s_signgam.c: Likewise.
33315 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33316 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33317 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33318 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33319 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33320 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33321 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33322 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33323 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33324 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33325 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33326 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33327 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33328 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33329 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33330 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33331 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33332 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33333 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33334 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33336
1991fa03
JM
333372012-03-09 Joseph Myers <joseph@codesourcery.com>
33338
33339 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33340 * sunrpc/rpc_main.c: Likewise.
33341 * sunrpc/rpc_svcout.c: Likewise.
33342
60d6f5a6
DM
333432012-03-09 David S. Miller <davem@davemloft.net>
33344
33345 * include/math_private.h: New file.
33346
4962050e
JM
333472012-03-09 Joseph Myers <joseph@codesourcery.com>
33348
02a6f887
JM
33349 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33350 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33351 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33352 from <bits/socket_type.h>.
33353 (enum __socket_type): Don't define here.
33354 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33356 bits/socket_type.h.
33357
c6e013c1
JM
33358 [BZ #13566]
33359 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33360 checking __USE_GNU.
33361
4962050e
JM
33362 * Makerules ($(inst_includedir)/%.h): New rule.
33363 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33364 (install-others): Remove variable setting.
33365 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33366
38842f45
RH
333672012-03-08 Richard Henderson <rth@twiddle.net>
33368
67bb6da6
RH
33369 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33370 from macro to inline function; merge with the
33371 !__LIBC_INTERNAL_MATH_INLINES version.
33372 (__ieee754_sqrtf): Likewise.
33373
15194b4b
RH
33374 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33375 to inline function.
33376 (__rintf, __floor, __floorf): Likewise.
33377
64e21ede
RH
33378 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33379 macro to inline function.
33380 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33381
38842f45
RH
33382 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33383 not <math/math_private.h>.
33384
c64bf5fe
DM
333852012-03-08 David S. Miller <davem@davemloft.net>
33386
33387 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33388 copyright year.
33389 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33390
82d86f28
TS
333912012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33392
33393 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33394 normalization.
33395 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33396 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33397
aea5d727
UD
333982012-03-08 Ulrich Drepper <drepper@gmail.com>
33399
33400 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33401 be defined individually, they must be defined as a block. Define
33402 S for printing a string instead of hidint the different by using a
33403 macro for adding the 'l'.
33404 * stdio-common/tst-fphex-wide.c: Adjust.
33405
70bca0a3
MP
334062012-03-07 Marek Polacek <polacek@redhat.com>
33407
33408 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33409
65b81130
MP
334102012-03-08 Marek Polacek <polacek@redhat.com>
33411
33412 [BZ #13806]
33413 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33414 * stdio-common/tst-fphex.c: Define a few macros to make the
33415 test reusable. Use them.
33416 * stdio-common/tst-fphex-wide.c: New file.
33417
07037eeb
JM
334182012-03-08 Joseph Myers <joseph@codesourcery.com>
33419
a7a93d50
JM
33420 [BZ #6911]
33421 * manual/macros.texi (gnusystems): New macro.
33422 (nongnusystems): Likewise.
33423 (gnulinuxhurdsystems): Likewise.
33424 (gnuhurdsystems): Likewise..
33425 (gnulinuxsystems): Likewise.
33426 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33427 variants of the GNU system, not "GNU system".
33428 * manual/conf.texi: Likewise.
33429 * manual/errno.texi: Likewise. Update example of errno macro
33430 expansion.
33431 * manual/filesys.texi: Likewise.
33432 (getumask): Document as specific to GNU/Hurd.
33433 * manual/install.texi: Likewise. Reword some references to
33434 GNU/Linux.
33435 * manual/intro.texi: Likewise.
33436 * manual/io.texi: Likewise.
33437 (File Name Portability): Detail which constraints are inapplicable
33438 to all GNU systems and which are only inapplicable to GNU/Hurd.
33439 * manual/job.texi: Likewise.
33440 * manual/llio.texi: Likewise.
33441 (O_NOCTTY): Document as present on GNU/Linux.
33442 * manual/maint.texi: Likewise.
33443 * manual/memory.texi: Likewise.
33444 * manual/pattern.texi: Likewise.
33445 * manual/pipe.texi: Likewise.
33446 * manual/process.texi: Likewise.
33447 * manual/resource.texi: Likewise.
33448 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33449 child on GNU/Hurd.
33450 * manual/setjmp.texi: Likewise.
33451 * manual/signal.texi: Likewise.
33452 * manual/startup.texi: Likewise.
33453 * manual/stdio.texi: Likewise.
33454 * manual/terminal.texi: Likewise.
33455 (ONLCR): Document as POSIX.
33456 (OXTABS): Document availability on GNU/Linux as XTABS.
33457 (ONOEOT): Document availability separately from other bits.
33458 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33459 * manual/time.texi: Likewise.
33460 * manual/users.texi: Likewise.
33461 * INSTALL: Regenerated.
33462 * sysdeps/gnu/errlist.c: Regenerated.
33463
07037eeb
JM
33464 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33465 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33466 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33467 puts.
33468 * configure: Regenerated.
33469
d1d3431a
JM
334702012-03-07 Joseph Myers <joseph@codesourcery.com>
33471
af6a1e37
JM
33472 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33473 default includes instead of AC_HEADER_CHECK.
33474 * sysdeps/i386/configure: Regenerated.
33475
d1d3431a
JM
33476 [BZ #10716]
33477 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33478 * math/s_cacoshf.c (__cacoshf): Likewise.
33479 * math/s_cacoshl.c (__cacoshl): Likewise.
33480 * math/s_casinh.c (__casinh): Set signs of result from argument.
33481 * math/s_casinhf.c (__casinhf): Likewise.
33482 * math/s_casinhl.c (__casinhl): Likewise.
33483 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33484 (casinh_test): Add more tests.
33485 * sysdeps/i386/fpu/libm-test-ulps: Update.
33486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33487
482ff4da
UD
334882012-03-07 Ulrich Drepper <drepper@gmail.com>
33489
872fda05
UD
33490 * po/zh_TW.po: Update from translation team.
33491
a4300c7a
UD
33492 * login/Makefile (distribute): Remove variable.
33493 * catgets/Makefile: Likewise.
33494 * mach/Makefile: Likewise.
33495 * malloc/Makefile: Likewise.
33496 * misc/Makefile: Likewise.
33497 * iconv/Makefile: Likewise.
33498 * nscd/Makefile: Likewise.
33499 * hurd/Makefile: Likewise.
33500 * manual/Makefile: Likewise.
33501 * locale/Makefile: Likewise.
33502 * intl/Makefile: Likewise.
33503 * conform/Makefile: Likewise.
33504 * nss/Makefile: Likewise.
33505 * time/Makefile: Likewise.
33506 * soft-fp/Makefile: Likewise.
33507 * dirent/Makefile: Likewise.
33508 * gmon/Makefile: Likewise.
33509 * po/Makefile: Likewise.
33510 * rt/Makefile: Likewise.
33511 * socket/Makefile: Likewise.
33512 * math/Makefile: Likewise.
33513 * signal/Makefile: Likewise.
33514 * debug/Makefile: Likewise.
33515 * elf/Makefile: Likewise.
33516 * timezone/Makefile: Likewise.
33517 * stdlib/Makefile: Likewise.
33518 * iconvdata/Makefile: Likewise.
33519 * sunrpc/Makefile: Likewise.
33520 * io/Makefile: Likewise.
33521 * argp/Makefile: Likewise.
33522 * inet/Makefile: Likewise.
33523 * hesiod/Makefile: Likewise.
33524 * grp/Makefile: Likewise.
33525 * csu/Makefile: Likewise.
33526 * wctype/Makefile: Likewise.
33527 * crypt/Makefile: Likewise.
33528 * libio/Makefile: Likewise.
33529 * string/Makefile: Likewise.
33530 * nis/Makefile: Likewise.
33531 * resolv/Makefile: Likewise.
33532 * stdio-common/Makefile: Likewise.
33533 * wcsmbs/Makefile: Likewise.
33534 * dlfcn/Makefile: Likewise.
33535 * posix/Makefile: Likewise.
33536
3b7c4e74 33537 [BZ #6959]
482ff4da
UD
33538 * timezone/Makefile: Don't install timezone files, just the programs
33539 and scripts.
33540
f72ed77d
UD
335412012-03-06 Ulrich Drepper <drepper@gmail.com>
33542
a000466f
UD
33543 * nss/databases.def: Add missing gshadow entry.
33544
f72ed77d
UD
33545 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33546
a53b7a4e
MP
335472012-03-06 Marek Polacek <polacek@redhat.com>
33548
33549 [BZ #13726]
33550 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33551 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33552 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33553 * stdio-common/tst-long-dbl-fphex.c: New file.
33554
e9258400
DM
335552012-03-06 David S. Miller <davem@davemloft.net>
33556
33557 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33558 (set_obp_int): New function.
33559 (get_obp_int): New function.
33560 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33561 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33562 Avoid unused variable warnings on 'val' and use builtin_expect.
33563 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33564 __builtin_expect.
e9258400
DM
33565 (INLINE_CLONE_SYSCALL): Likewise.
33566
3bd2c723
DM
335672012-03-05 David S. Miller <davem@davemloft.net>
33568
33569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33570
bbb78d03
AS
335712012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33572
884c5db4
AS
33573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33574
bbb78d03
AS
33575 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33576 only for |x| >= 40.
33577 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33578
1c9f702a 335792012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33580
33581 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33582 Replace gettimeofday with __vdso_gettimeofday.
33583
7be16f82
RM
33584 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33585 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33586 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33587
33588 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33589 time with __vdso_time.
33590
ed58a00f
JM
335912012-03-05 Joseph Myers <joseph@codesourcery.com>
33592
33593 * manual/lang.texi (size_t): Note types to which size_t may be
33594 equivalent with the GNU C Library, but do not describe when
33595 differences between them are significant.
33596
30ee4ced
AJ
335972012-03-05 Andreas Jaeger <aj@suse.de>
33598
33599 * sysdeps/i386/fpu/libm-test-ulps: Update.
33600
b7cd39e8
JM
336012012-03-05 Joseph Myers <joseph@codesourcery.com>
33602
33603 [BZ #3976]
33604 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33605 (__ieee754_pow): Save and restore rounding mode and use
33606 round-to-nearest for main computations.
33607 * math/libm-test.inc (pow_test_tonearest): New function.
33608 (pow_test_towardzero): Likewise.
33609 (pow_test_downward): Likewise.
33610 (pow_test_upward): Likewise.
33611 (main): Call the new functions.
33612 * sysdeps/i386/fpu/libm-test-ulps: Update.
33613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33614
33615 [BZ #3976]
33616 * math/libm-test.inc (cosh_test_tonearest): New function.
33617 (cosh_test_towardzero): Likewise.
33618 (cosh_test_downward): Likewise.
33619 (cosh_test_upward): Likewise.
33620 (sinh_test_tonearest): Likewise.
33621 (sinh_test_towardzero): Likewise.
33622 (sinh_test_downward): Likewise.
33623 (sinh_test_upward): Likewise.
33624 (main): Call the new functions.
33625 * sysdeps/i386/fpu/libm-test-ulps: Update.
33626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33627
6c6a98c9
TV
336282012-03-05 Tom de Vries <tom@codesourcery.com>
33629
33630 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33631 default stack guard is set in last bytes.
33632 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33633
21bb2d2e 336342012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33635
21bb2d2e 33636 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33637
21bb2d2e
AJ
33638 [BZ #13656]
33639 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33640 possibly allocate from heap instead of stack.
33641 * stdio-common/bug-vfprintf-nargs.c: New file.
33642 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33643
c6922934
AS
336442012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33645
33646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33647
bc957d53
MP
336482012-03-03 Marek Polacek <polacek@redhat.com>
33649
33650 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33651 * math/math_private.h: Likewise.
33652 * stdlib/tst-strtod.c: Likewise.
33653 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33654 * sysdeps/x86_64/bits/atomic.h: Likewise.
33655
6358490d
DM
336562012-03-02 David S. Miller <davem@davemloft.net>
33657
33658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33662 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33663 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33664 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33665 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33666
01ae168d
RM
336672012-03-02 Roland McGrath <roland@hack.frob.com>
33668
d9a17c07
RM
33669 [BZ #13792]
33670 * manual/examples/README: New file, says the example source files
33671 can be used under GPL>=2.
33672 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33673 line containing just "*/".
33674 * manual/examples/add.c: Add copyright header (GPL>=2).
33675 * manual/examples/argp-ex1.c: Likewise.
33676 * manual/examples/argp-ex2.c: Likewise.
33677 * manual/examples/argp-ex3.c: Likewise.
33678 * manual/examples/argp-ex4.c: Likewise.
33679 * manual/examples/atexit.c: Likewise.
33680 * manual/examples/db.c: Likewise.
33681 * manual/examples/dir.c: Likewise.
33682 * manual/examples/dir2.c: Likewise.
33683 * manual/examples/execinfo.c: Likewise.
33684 * manual/examples/filecli.c: Likewise.
33685 * manual/examples/filesrv.c: Likewise.
33686 * manual/examples/fmtmsgexpl.c: Likewise.
33687 * manual/examples/genpass.c: Likewise.
33688 * manual/examples/inetcli.c: Likewise.
33689 * manual/examples/inetsrv.c: Likewise.
33690 * manual/examples/isockad.c: Likewise.
33691 * manual/examples/longopt.c: Likewise.
33692 * manual/examples/memopen.c: Likewise.
33693 * manual/examples/memstrm.c: Likewise.
33694 * manual/examples/mkfsock.c: Likewise.
33695 * manual/examples/mkisock.c: Likewise.
33696 * manual/examples/mygetpass.c: Likewise.
33697 * manual/examples/pipe.c: Likewise.
33698 * manual/examples/popen.c: Likewise.
33699 * manual/examples/rprintf.c: Likewise.
33700 * manual/examples/search.c: Likewise.
33701 * manual/examples/select.c: Likewise.
33702 * manual/examples/setjmp.c: Likewise.
33703 * manual/examples/sigh1.c: Likewise.
33704 * manual/examples/sigusr.c: Likewise.
33705 * manual/examples/stpcpy.c: Likewise.
33706 * manual/examples/strdupa.c: Likewise.
33707 * manual/examples/strftim.c: Likewise.
33708 * manual/examples/strncat.c: Likewise.
33709 * manual/examples/subopt.c: Likewise.
33710 * manual/examples/swapcontext.c: Likewise.
33711 * manual/examples/termios.c: Likewise.
33712 * manual/examples/testopt.c: Likewise.
33713 * manual/examples/testpass.c: Likewise.
33714 * manual/examples/timeval_subtract.c: Likewise.
33715
01ae168d
RM
33716 [BZ #13792]
33717 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33718 function to ...
33719 * manual/timeval_subtract.c.texi: ... here, new file.
33720
49efa33d
DM
337212012-03-02 David S. Miller <davem@davemloft.net>
33722
33723 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33724
28afd92d
JM
337252012-03-02 Joseph Myers <joseph@codesourcery.com>
33726
804360ed
JM
33727 [BZ #3976]
33728 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33729 (__sin): Save and restore rounding mode and use round-to-nearest
33730 for all computations.
33731 (__cos): Save and restore rounding mode and use round-to-nearest
33732 for all computations.
33733 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33734 <fenv.h>.
33735 (tan): Save and restore rounding mode and use round-to-nearest for
33736 all computations.
33737 * math/libm-test.inc (cos_test_tonearest): New function.
33738 (cos_test_towardzero): Likewise.
33739 (cos_test_downward): Likewise.
33740 (cos_test_upward): Likewise.
33741 (sin_test_tonearest): Likewise.
33742 (sin_test_towardzero): Likewise.
33743 (sin_test_downward): Likewise.
33744 (sin_test_upward): Likewise.
33745 (tan_test_tonearest): Likewise.
33746 (tan_test_towardzero): Likewise.
33747 (tan_test_downward): Likewise.
33748 (tan_test_upward): Likewise.
33749 (main): Call the new functions.
33750 * sysdeps/i386/fpu/libm-test-ulps: Update.
33751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33752
a6d06d7b
JM
33753 [BZ #10135]
33754 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33755 small n, then large n, before computing and testing k+n.
33756 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33758 Likewise.
33759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33760 Likewise.
33761 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33762 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33763 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33764 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33765 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33766 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33767 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33768 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33769 * math/libm-test.inc (scalbn_test): Add more tests.
33770 (scalbln_test): Likewise.
33771
07e12bb3
JM
33772 * manual/filesys.texi (mode_t): Describe constraints on size and
33773 signedness, not exact equivalence to a particular type.
33774 (ino_t): Likewise.
33775 (ino64_t): Likewise.
33776 (dev_t): Likewise.
33777 (nlink_t): Likewise.
33778 (blkcnt_t): Likewise.
33779 (blkcnt64_t): Likewise.
33780 * manual/llio.texi (off_t): Likewise.
33781
28afd92d
JM
33782 [BZ #3976]
33783 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33784 (__ieee754_exp): Save and restore rounding mode and use
33785 round-to-nearest for all computations.
33786 * math/libm-test.inc (exp_test_tonearest): New function.
33787 (exp_test_towardzero): Likewise.
33788 (exp_test_downward): Likewise.
33789 (exp_test_upward): Likewise.
33790 (main): Call the new functions.
33791 * sysdeps/i386/fpu/libm-test-ulps: Update.
33792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33793
b1eeb65d
CD
337942012-03-01 Chris Demetriou <cgd@google.com>
33795
33796 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33797 have predictable order.
33798
53362a4b
DM
337992012-03-01 David S. Miller <davem@davemloft.net>
33800
3c969083
DM
33801 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33802
759707de
DM
33803 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33804 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33805 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33806 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33807
dfdb8ff2
DM
33808 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33809 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33810 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33812 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33813 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33814 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33815 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33816 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33817
ead89f96
DM
33818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33819
7f66bd07
DM
33820 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33821 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33822 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33823
53362a4b
DM
33824 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33825 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33826 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33827 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33828 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33830 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33831 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33832 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33833 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33834 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33835 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33836 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33837 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33838 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33839 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33840 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33841 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33842 * sysdeps/sparc/elf/configure: Regenerated.
33843
7b1902cb
JM
338442012-03-01 Joseph Myers <joseph@codesourcery.com>
33845
bec039bc
JM
33846 * configure.in (AS, LD): Require binutils 2.20 or later.
33847 * configure: Regenerated.
33848 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33849 as required minimum version.
33850 * INSTALL: Regenerated.
33851
7b1902cb
JM
33852 [BZ #2541]
33853 [BZ #4108]
33854 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33855 before squaring exponent.
33856 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33857 bottom long double and 27 bits of top long double before squaring
33858 exponent.
33859 * math/libm-test.inc (erfc_test): Add more tests.
33860 * sysdeps/i386/fpu/libm-test-ulps: Update.
33861 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33863
f775c276
KT
338642012-03-01 Kai Tietz <ktietz@redhat.com>
33865
33866 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33867 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33868 containing bit-fields.
33869 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33870 * soft-fp/single.h (_FP_UNION_S): Likewise.
33871 * soft-fp/double.h (_FP_UNION_D): Likewise.
33872
5b8a4d4a
JM
338732012-02-29 Joseph Myers <joseph@codesourcery.com>
33874
0bab47b6
JM
33875 [BZ #13786]
33876 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33877 not include ../strcmp.S.
33878 [USE_AS_STRNCASECMP_L]: Likewise.
33879 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33880 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33881 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33882 (__strncasecmp_l_ia32): Define as alias to
33883 __strncasecmp_l_nonascii.
33884
0fcad3e2
JM
33885 [BZ #5794]
33886 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33887 * sysdeps/i386/fpu/libm-test-ulps: Update.
33888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33889
5b8a4d4a
JM
33890 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33892
8fdceb2e
JL
338932012-02-29 Jeff Law <law@redhat.com>
33894
33895 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33896 out of bounds read.
33897
1f393a11
MP
338982012-02-29 Marek Polacek <polacek@redhat.com>
33899
33900 [BZ #13706]
33901 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33902 * elf/Makefile: Add rules to run tst-unused-dep.out.
33903
8847f037
DM
339042012-02-28 David S. Miller <davem@davemloft.net>
33905
33906 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33907 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33908 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33909 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33910 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33911 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33912
169d7f11
JM
339132012-02-29 Joseph Myers <joseph@codesourcery.com>
33914
33915 * math/libm-test.inc (llround_test): Move one test from
33916 lround_test. Use TEST_f_L in moved test.
33917 (lround_test): Move misplaced test to llround_test. Add testcase
33918 from bug 2561.
33919
39adf059
UD
339202012-02-28 Ulrich Drepper <drepper@gmail.com>
33921
33922 * sysdeps/x86_64/fpu/e_expf.S: New file.
33923 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33924
71b5d1c5
SB
339252012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33926
33927 [BZ #13637]
33928 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33929 of remain_len that may cause incomplete multi-byte character and
33930 false match.
33931 * posix/bug-regex33.c: New file.
33932 * posix/Makefile (tests): Add bug-regex33.
33933
1f77f049
JM
339342012-02-28 Joseph Myers <joseph@codesourcery.com>
33935
33936 * manual/macros.texi: New file.
33937 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33938 * manual/libc.texinfo: Include macros.texi.
33939 * manual/creatute.texi: Likewise.
33940 * manual/install.texi: Likewise.
33941 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33942 @glibcadj{} in references to the GNU C Library.
33943 * manual/charset.texi: Likewise.
33944 * manual/conf.texi: Likewise.
33945 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33946 when not using those macros.
33947 * manual/creature.texi: Likewise.
33948 * manual/crypt.texi: Likewise.
33949 * manual/errno.texi: Likewise.
33950 * manual/filesys.texi: Likewise.
33951 * manual/header.texi: Likewise.
33952 * manual/install.texi: Likewise.
33953 * manual/intro.texi: Likewise.
33954 * manual/io.texi: Likewise.
33955 * manual/job.texi: Likewise.
33956 * manual/lang.texi: Likewise.
33957 * manual/libc.texiinfo: Likewise.
33958 * manual/llio.texi: Likewise.
33959 * manual/locale.texi: Likewise.
33960 * manual/maint.texi: Likewise.
33961 * manual/math.texi: Likewise.
33962 * manual/memory.texi: Likewise.
33963 * manual/message.texi: Likewise.
33964 * manual/nss.texi: Likewise.
33965 * manual/pattern.texi: Likewise.
33966 * manual/process.texi: Likewise.
33967 * manual/resource.texi: Likewise.
33968 * manual/search.texi: Likewise.
33969 * manual/setjmp.texi: Likewise.
33970 * manual/signal.texi: Likewise.
33971 * manual/socket.texi: Likewise.
33972 * manual/startup.texi: Likewise.
33973 * manual/stdio.texi: Likewise.
33974 * manual/string.texi: Likewise.
33975 * manual/sysinfo.texi: Likewise.
33976 * manual/syslog.texi: Likewise.
33977 * manual/terminal.texi: Likewise.
33978 * manual/time.texi: Likewise.
33979 * manual/users.texi: Likewise.
33980 * INSTALL: Regenerated.
33981 * NOTES: Regenerated.
d40c5d54 33982 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33983
450bf206
AS
339842012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33985
33986 * include/dirent.h: Include <dirstream.h> before
33987 <dirent/dirent.h>.
33988
741a235b
DM
339892012-02-28 David S. Miller <davem@davemloft.net>
33990
33991 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33992 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33993 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33994 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33995
d6b5aa58
DM
339962012-02-27 David S. Miller <davem@davemloft.net>
33997
1aff59a3
DM
33998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34000 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34001 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34002
d6b5aa58
DM
34003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34004 frame pointer instead of stack pointer relative arg slot.
34005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34006 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34007 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34008
433f48bf
CD
340092012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34010
34011 [BZ #3992]
34012 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34013
d674b76d
DM
340142012-02-27 David S. Miller <davem@davemloft.net>
34015
34016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34020 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34021 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34022 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34023 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34024
0e7727f7
JM
340252012-02-27 Joseph Myers <joseph@codesourcery.com>
34026
34027 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34028 later. Allow versions 5-9.
43be4ca2 34029 * configure: Regenerated.
0e7727f7
JM
34030 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34031 required minimum version and 4.6 as recommended version. Do not
34032 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34033 * INSTALL: Regenerated.
0e7727f7 34034
a78bc654
DM
340352012-02-27 David S. Miller <davem@davemloft.net>
34036
428d5830
DM
34037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34041 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34042 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34043 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34044 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34045
a78bc654
DM
34046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34047 manipulate bits before adding and subtracting TWO112[sx].
34048 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34049
4579f81c
RM
340502012-02-27 Roland McGrath <roland@hack.frob.com>
34051
36c8acb4
RM
34052 [BZ #13775]
34053 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34054 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34055 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34056 being in POSIX, because they are in 1003.1-2008.
34057
84ad622b
RM
34058 * rt/tst-aio.c: Include <fcntl.h>.
34059 * rt/tst-aio7.c: Likewise.
34060 * rt/tst-aio64.c: Likewise.
34061
4579f81c
RM
34062 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34063
abd923db
JM
340642012-02-27 Joseph Myers <joseph@codesourcery.com>
34065
34066 * manual/install.texi (--with-headers): Describe headers as
34067 interface headers, not private headers.
34068 (Specific advice for GNU/Linux systems): Describe use of headers
34069 from "make headers_install", not private headers from older
34070 kernels.
43be4ca2 34071 * INSTALL: Regenerated.
abd923db
JM
34072 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34073 Change to 2.6.19.
34074 * sysdeps/unix/sysv/linux/configure: Regenerated.
34075
6664049b
JM
34076 * manual/llio.texi (fclean): Remove documentation.
34077
bb8b6697
JM
34078 * manual/Makefile (libc-texi-generated): New variable. Include
34079 version.texi.
34080 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34081 $(libc-texi-generated), not duplicated list of files.
34082 (version.texi, stamp-version): New rules.
34083 (realclean): Remove $(libc-texi-generated), not individual files
34084 from that list. Do not remove dir-add.texinfo.
34085 * manual/libc.texinfo: Comment out uses of edition numbers and
34086 references to printed manual. Remove last-updated dates.
34087 (EDITION): Comment out.
34088 (ISBN): Likewise.
34089 (VERSION, UPDATED): Remove.
34090 (version.texi): Include.
34091
12e5c3b9
AS
340922012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34093
34094 * sysdeps/posix/spawni.c: Include <signal.h>.
34095 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34096 * sysdeps/pthread/aio_fsync.c: Likewise.
34097
4efeffc1 340982012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34099
ba63ba08
UD
34100 * conform/Makefile (tests): Run only when not cross-compiling and
34101 when fast-check is not defined.
34102
d94a4670
UD
34103 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34104 * conform/data/limits.h-data: Fixes for POSIX2008.
34105 * conform/run-conformtest.sh: Run all tests.
34106 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34107 headers.
34108 * include/bits/dlfcn.h: Likewise.
34109 * include/langinfo.h: Likewise.
34110 * include/monetary.h: Likewise.
34111 * include/sys/poll.h: Likewise.
34112
34113 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34114 for __USE_GNU.
34115 * posix/spawn.h: Define __need_sigset_t.
34116 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34117 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34118 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34119 to get sigevent_t only.
34120 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34121 only for __USE_GNU.
34122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34123 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34124 process_vm_writev only for __USE_GNU.
34125 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34126
34127 * conform/Makefile: For now ignore errors from run-conformtest.
34128 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34129 POSIX to avoid namespace pollution. Don't prepend headers.
34130 * conform/data/aio.h-data: Fixes for POSIX testing.
34131 * conform/data/fcntl.h-data: Likewise.
34132 * conform/data/glob.h-data: Likewise.
34133 * conform/data/grp.h-data: Likewise.
34134 * conform/data/pthread.h-data: Likewise.
34135 * conform/data/pwd.h-data: Likewise.
34136 * conform/data/signal.h-data: Likewise.
34137 * conform/data/spawn.h-data: Likewise.
34138 * conform/data/stdio.h-data: Likewise.
34139 * conform/data/stdlib.h-data: Likewise.
34140 * conform/data/stropts.h-data: Likewise.
34141 * conform/data/sys/mman.h-data: Likewise.
34142 * conform/data/sys/stat.h-data: Likewise.
34143 * conform/data/sys/types.h-data: Likewise.
34144 * conform/data/sys/wait.h-data: Likewise.
34145 * conform/data/time.h-data: Likewise.
34146 * conform/data/unistd.h-data: Likewise.
34147 * conform/data/utime.h-data: Likewise.
34148
34149 * io/sys/stat.h: fchmod was always in POSIX.
34150 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34151 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34152 * rt/aio.h: Define __need_timespec before including <time.h>.
34153 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34154 struct. Add forward declaration of pthread_attr_t and use it in
34155 sigevent.
34156 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34157 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34158 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34159 always remove CLK_TCK definition.
34160
c20105c3
AS
341612012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34162
34163 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34164
7a270350
UD
341652012-02-25 Ulrich Drepper <drepper@gmail.com>
34166
31341567
UD
34167 * conform/run-conformtest.sh: New file.
34168 * conform/Makefile: Run run-conformtest for tests.
34169 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34170 support.
34171
34172 * conform/data/uchar.h-data: New file.
34173 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34174 * conform/data/arpa/inet.h-data: Likewise.
34175 * conform/data/assert.h-data: Likewise.
34176 * conform/data/complex.h-data: Likewise.
34177 * conform/data/cpio.h-data: Likewise.
34178 * conform/data/ctype.h-data: Likewise.
34179 * conform/data/dirent.h-data: Likewise.
34180 * conform/data/dlfcn.h-data: Likewise.
34181 * conform/data/errno.h-data: Likewise.
34182 * conform/data/fcntl.h-data: Likewise.
34183 * conform/data/float.h-data: Likewise.
34184 * conform/data/fmtmsg.h-data: Likewise.
34185 * conform/data/fnmatch.h-data: Likewise.
34186 * conform/data/ftw.h-data: Likewise.
34187 * conform/data/glob.h-data: Likewise.
34188 * conform/data/grp.h-data: Likewise.
34189 * conform/data/iconv.h-data: Likewise.
34190 * conform/data/inttypes.h-data: Likewise.
34191 * conform/data/langinfo.h-data: Likewise.
34192 * conform/data/libgen.h-data: Likewise.
34193 * conform/data/limits.h-data: Likewise.
34194 * conform/data/locale.h-data: Likewise.
34195 * conform/data/math.h-data: Likewise.
34196 * conform/data/monetary.h-data: Likewise.
34197 * conform/data/mqueue.h-data: Likewise.
34198 * conform/data/ndbm.h-data: Likewise.
34199 * conform/data/net/if.h-data: Likewise.
34200 * conform/data/netdb.h-data: Likewise.
34201 * conform/data/netinet/in.h-data: Likewise.
34202 * conform/data/nl_types.h-data: Likewise.
34203 * conform/data/poll.h-data: Likewise.
34204 * conform/data/pthread.h-data: Likewise.
34205 * conform/data/pwd.h-data: Likewise.
34206 * conform/data/regex.h-data: Likewise.
34207 * conform/data/sched.h-data: Likewise.
34208 * conform/data/search.h-data: Likewise.
34209 * conform/data/semaphore.h-data: Likewise.
34210 * conform/data/setjmp.h-data: Likewise.
34211 * conform/data/signal.h-data: Likewise.
34212 * conform/data/spawn.h-data: Likewise.
34213 * conform/data/stdarg.h-data: Likewise.
34214 * conform/data/stdio.h-data: Likewise.
34215 * conform/data/stdlib.h-data: Likewise.
34216 * conform/data/string.h-data: Likewise.
34217 * conform/data/strings.h-data: Likewise.
34218 * conform/data/stropts.h-data: Likewise.
34219 * conform/data/sys/ipc.h-data: Likewise.
34220 * conform/data/sys/mman.h-data: Likewise.
34221 * conform/data/sys/msg.h-data: Likewise.
34222 * conform/data/sys/resource.h-data: Likewise.
34223 * conform/data/sys/select.h-data: Likewise.
34224 * conform/data/sys/sem.h-data: Likewise.
34225 * conform/data/sys/shm.h-data: Likewise.
34226 * conform/data/sys/socket.h-data: Likewise.
34227 * conform/data/sys/stat.h-data: Likewise.
34228 * conform/data/sys/statvfs.h-data: Likewise.
34229 * conform/data/sys/time.h-data: Likewise.
34230 * conform/data/sys/timeb.h-data: Likewise.
34231 * conform/data/sys/times.h-data: Likewise.
34232 * conform/data/sys/types.h-data: Likewise.
34233 * conform/data/sys/uio.h-data: Likewise.
34234 * conform/data/sys/un.h-data: Likewise.
34235 * conform/data/sys/utsname.h-data: Likewise.
34236 * conform/data/sys/wait.h-data: Likewise.
34237 * conform/data/syslog.h-data: Likewise.
34238 * conform/data/tar.h-data: Likewise.
34239 * conform/data/termios.h-data: Likewise.
34240 * conform/data/utime.h-data: Likewise.
34241 * conform/data/utmpx.h-data: Likewise.
34242 * conform/data/varargs.h-data: Likewise.
34243 * conform/data/wchar.h-data: Likewise.
34244 * conform/data/wctype.h-data: Likewise.
34245 * conform/data/wordexp.h-data: Likewise.
34246
34247 * include/stropts.h: New file.
34248 * include/uchar.h: New file.
34249 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34250 * include/assert.h: Likewise.
34251 * include/ctype.h: Likewise.
34252 * include/dirent.h: Likewise.
34253 * include/dlfcn.h: Likewise.
34254 * include/fcntl.h: Likewise.
34255 * include/fnmatch.h: Likewise.
34256 * include/glob.h: Likewise.
34257 * include/grp.h: Likewise.
34258 * include/libio.h: Likewise.
34259 * include/locale.h: Likewise.
34260 * include/math.h: Likewise.
34261 * include/net/if.h: Likewise.
34262 * include/netdb.h: Likewise.
34263 * include/netinet/in.h: Likewise.
34264 * include/pthread.h: Likewise.
34265 * include/pwd.h: Likewise.
34266 * include/regex.h: Likewise.
34267 * include/sched.h: Likewise.
34268 * include/search.h: Likewise.
34269 * include/setjmp.h: Likewise.
34270 * include/signal.h: Likewise.
34271 * include/stdio.h: Likewise.
34272 * include/stdlib.h: Likewise.
34273 * include/string.h: Likewise.
34274 * include/sys/cdefs.h: Likewise.
34275 * include/sys/mman.h: Likewise.
34276 * include/sys/msg.h: Likewise.
34277 * include/sys/resource.h: Likewise.
34278 * include/sys/select.h: Likewise.
34279 * include/sys/socket.h: Likewise.
34280 * include/sys/stat.h: Likewise.
34281 * include/sys/statvfs.h: Likewise.
34282 * include/sys/time.h: Likewise.
34283 * include/sys/times.h: Likewise.
34284 * include/sys/uio.h: Likewise.
34285 * include/sys/utsname.h: Likewise.
34286 * include/sys/wait.h: Likewise.
34287 * include/termios.h: Likewise.
34288 * include/time.h: Likewise.
34289 * include/ulimit.h: Likewise.
34290 * include/unistd.h: Likewise.
34291 * include/utime.h: Likewise.
34292 * include/wchar.h: Likewise.
34293 * include/wctype.h: Likewise.
34294 * include/wordexp.h: Likewise.
34295
34296 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34297
7a270350
UD
34298 * time/time.h: TIME_UTC must be a macro.
34299 Make timespec_get available for ISO C11 only as well.
34300
7724defc
UD
343012012-02-24 Ulrich Drepper <drepper@gmail.com>
34302
34303 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34304 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34305
6b1d1d46
JM
343062012-02-24 Joseph Myers <joseph@codesourcery.com>
34307
34308 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34309
0f8bbd69
JM
343102012-02-24 Joseph Myers <joseph@codesourcery.com>
34311
34312 * manual/texinfo.tex: Update to version 2012-01-19.16.
34313
66ab80bc
JM
343142012-02-24 Joseph Myers <joseph@codesourcery.com>
34315
34316 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34317
74981cc5
RM
343182012-02-24 Roland McGrath <roland@hack.frob.com>
34319
ee968201
RM
34320 [BZ #13738]
34321 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34322 * manual/fdl-1.3.texi: New file.
34323 * manual/fdl-1.1.texi: File removed.
34324
74981cc5
RM
34325 [BZ #13738]
34326 * manual/libc.texinfo (FDL_VERSION): New @set.
34327 Use it for mention of FDL in cover text.
34328 (Documentation License): Use it in @include file name.
34329
7bb764bc
JM
343302012-02-22 Joseph Myers <joseph@codesourcery.com>
34331 Roland McGrath <roland@hack.frob.com>
34332
34333 [BZ #5461]
34334 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34335 not LONG_LONG_MAX and LONG_LONG_MIN.
34336 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34337 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34338 name.
34339 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34340
6cbeae47
JM
343412012-02-22 Joseph Myers <joseph@codesourcery.com>
34342
34343 [BZ #2547]
34344 [BZ #11365]
34345 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34346 manipulate bits before adding and subtracting TWO23[sx].
34347 * math/libm-test.inc (nearbyint_test): Add more tests.
34348
fe45ce09
JM
343492012-02-22 Joseph Myers <joseph@codesourcery.com>
34350
34351 [BZ #2548]
34352 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34353 bits before adding and subtracting TWO23[sx].
34354 * math/libm-test.inc (rint_test): Add more tests.
34355 (rint_test_tonearest): Likewise.
34356 (rint_test_towardzero): Likewise.
34357 (rint_test_downward): Likewise.
34358 (rint_test_upward: Likewise.
34359
ff3b3d82
JM
343602012-02-22 Joseph Myers <joseph@codesourcery.com>
34361
34362 [BZ #10110]
34363 * include/stdc-predef.h: New file. Extracted from features.h.
34364 * include/features.h: Include stdc-predef.h.
34365 * Makefile (headers): Add stdc-predef.h.
34366 * CONFORMANCE (Compiler limitations): Update.
34367
ef0aab35
JM
343682012-02-22 Joseph Myers <joseph@codesourcery.com>
34369
34370 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34371
58639409
DM
343722012-02-21 David S. Miller <davem@davemloft.net>
34373
34374 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34375 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34376
c0e70b25
DM
343772012-02-20 David S. Miller <davem@davemloft.net>
34378
34379 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34380 using a normal save/restore sequence, rather than allocating a
34381 dummy stack frame just to store a frame pointer and restore.
34382 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34383
fb06851d
JM
343842012-02-21 Joseph Myers <joseph@codesourcery.com>
34385
34386 * manual/install.texi: Fix stray word in line-wrapped comment.
34387
7a8b71c3
DM
343882012-02-20 David S. Miller <davem@davemloft.net>
34389
d510c123
DM
34390 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34391 both binutils and gcc support GOTDATA.
34392
0722d7c2
DM
34393 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34394 "rd %pc" in the PIC register setup sequences.
34395
3d2b3019
DM
34396 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34397 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34398 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34399 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34400 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34402 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34403 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34404 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34405 (SYSCALL_ERROR_HANDLER): Likewise.
34406 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34407 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34408 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34409 (SYSCALL_ERROR_HANDLER): Likewise.
34410
c80098a9
DM
34411 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34412 (HAVE_GCC_GOTDATA): New.
34413 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34414 relocation support in both binutils and gcc.
34415 * sysdeps/sparc/elf/configure: Regenerate.
34416
3a2545a0
DM
34417 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34418 * sysdeps/sparc/sparc32/elf/configure: Delete.
34419 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34420 * sysdeps/sparc/sparc64/elf/configure: Delete.
34421 * sysdeps/sparc/elf/configure.in: New file.
34422 * sysdeps/sparc/elf/configure: Generate.
34423
7a8b71c3
DM
34424 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34425 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34426 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34427 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34428 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34429
f1e86fca
JM
344302012-02-21 Joseph Myers <joseph@codesourcery.com>
34431
34432 * manual/install.texi: Do not mention specific glibc version
34433 numbers.
34434 * manual/libc.texinfo (VERSION, UPDATED): Update.
34435 (@copying): Use @copyright{} and range of years.
34436
0e7dfaef
JM
344372012-02-21 Joseph Myers <joseph@codesourcery.com>
34438
34439 [BZ #13695]
34440 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34441 [crti.S not in sysdirs] (generated): Do not append.
34442 [crti.S not in sysdirs] (omit-deps): Likewise.
34443 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34444 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34445 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34446 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34447 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34448 Likewise.
34449 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34450 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34451 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34452 * csu/defs.awk: Remove file.
34453 * sysdeps/generic/initfini.c: Likewise.
34454 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34455 variable.
34456 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34457 Likewise.
34458
599af3ca
JM
344592012-02-20 Joseph Myers <joseph@codesourcery.com>
34460
34461 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34462 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34463 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34464 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34465 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34466 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34467 <bits/epoll.h>.
34468 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34469 (__EPOLL_PACKED): Define to empty if not defined by
34470 <bits/epoll.h>.
34471 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34473 bits/epoll.h.
34474
0e499750
JM
344752012-02-20 Joseph Myers <joseph@codesourcery.com>
34476
34477 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34478 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34479 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34480 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34481 <bits/timerfd.h>.
34482 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34484 bits/timerfd.h.
34485
5ad91f6e
JM
344862012-02-20 Joseph Myers <joseph@codesourcery.com>
34487
34488 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34489 in C locale.
34490 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34491 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34492 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34494
06b99b02
AJ
344952012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34496
34497 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34498 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34499
7638c0fd
AS
345002012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34501
34502 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34503 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34504 defined.
34505 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34506 Likewise.
34507 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34508 entry for 2.16.
34509
92221550
AJ
345102012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34511
34512 * math/w_acos.c: Use non-signaling floating-point comparisons.
34513 * math/w_acosf.c: Likewise.
34514 * math/w_acosh.c: Likewise.
34515 * math/w_acoshf.c: Likewise.
34516 * math/w_acoshl.c: Likewise.
34517 * math/w_acosl.c: Likewise.
34518 * math/w_asin.c: Likewise.
34519 * math/w_asinf.c: Likewise.
34520 * math/w_asinl.c: Likewise.
34521 * math/w_atanh.c: Likewise.
34522 * math/w_atanhf.c: Likewise.
34523 * math/w_atanhl.c: Likewise.
34524 * math/w_exp2.c: Likewise.
34525 * math/w_exp2f.c: Likewise.
34526 * math/w_exp2l.c: Likewise.
34527 * math/w_j0.c: Likewise.
34528 * math/w_j0f.c: Likewise.
34529 * math/w_j0l.c: Likewise.
34530 * math/w_j1.c: Likewise.
34531 * math/w_j1f.c: Likewise.
34532 * math/w_j1l.c: Likewise.
34533 * math/w_jn.c: Likewise.
34534 * math/w_jnf.c: Likewise.
34535 * math/w_log.c: Likewise.
34536 * math/w_log10.c: Likewise.
34537 * math/w_log10f.c: Likewise.
34538 * math/w_log10l.c: Likewise.
34539 * math/w_log2.c: Likewise.
34540 * math/w_log2f.c: Likewise.
34541 * math/w_log2l.c: Likewise.
34542 * math/w_logf.c: Likewise.
34543 * math/w_logl.c: Likewise.
34544 * math/w_sqrt.c: Likewise.
34545 * math/w_sqrtf.c: Likewise.
34546 * math/w_sqrtl.c: Likewise.
34547 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34548 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34549 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34550 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34551 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34552
ebaf36eb
JM
345532012-02-19 Joseph Myers <joseph@codesourcery.com>
34554
34555 [BZ #9739]
34556 * manual/string.texi (strnlen): Use correct parameter name in
34557 equivalent expression.
34558
71c254a6
JM
345592012-02-19 Joseph Myers <joseph@codesourcery.com>
34560
34561 [BZ #11174]
34562 * manual/users.texi (seteuid): Consistently use neweuid for
34563 argument name.
34564
16d2c631
JM
345652012-02-19 Joseph Myers <joseph@codesourcery.com>
34566
34567 [BZ #13704]
34568 * manual/nss.texi (Services in the NSS configuration): Correct
34569 list of services in example configuration file.
34570
cd837b09
NB
345712012-02-19 Nick Bowler <nbowler@draconx.ca>
34572
34573 [BZ #11322]
34574 * manual/arith.texi: Remove statements about negative zero
34575 behaving identically to zero.
34576
02c4bbad
JM
345772012-02-18 Joseph Myers <joseph@codesourcery.com>
34578
34579 [BZ #5993]
34580 * manual/install.texi: Do not document upgrading from libc5.
34581
366842e7
JM
345822012-02-18 Joseph Myers <joseph@codesourcery.com>
34583
34584 [BZ #4596]
34585 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34586
dd54084d
DM
345872012-02-18 David S. Miller <davem@davemloft.net>
34588
34589 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34590 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34591 %o7 across the call.
34592 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34593 instead.
34594 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34595 SETUP_PIC_REG_LEAF.
34596 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34597 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34598 * sysdeps/sparc/crtn.S: Likewise.
34599
2bcc53a3
UD
346002012-02-17 Ulrich Drepper <drepper@gmail.com>
34601
34602 * aout/Makefile: Remove.
34603
09c093b5
RK
346042012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34605
34606 [BZ #13058]
34607 * manual/examples/argp-ex1.c (main): Format definition in GNU
34608 style.
34609 * manual/examples/argp-ex2.c (main): Likewise.
34610 * manual/examples/argp-ex3.c (main): Likewise.
34611 * manual/examples/argp-ex4.c (main): Likewise.
34612 * manual/examples/longopt.c (main): Use new-style prototype
34613 definition.
34614 * manual/examples/strncat.c (main): Specify return type and use
34615 (void) for arguments.
34616 * manual/examples/subopt.c (main): Use char **argv argument.
34617
2ee633a2
JM
346182012-02-17 Joseph Myers <joseph@codesourcery.com>
34619
34620 [BZ #5077]
34621 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34622 rounding modes.
34623
0520adde
FB
346242012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34625
34626 [BZ #6907]
34627 * manual/string.texi (strchr): Change when strchrnul is
34628 recommended.
34629
3f4081cd
DGM
346302012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34631
34632 [BZ #174]
34633 * manual/locale.texi (setlocale): Document LOCPATH.
34634
d1b10e78
JM
346352012-02-17 Joseph Myers <joseph@codesourcery.com>
34636
34637 [BZ #10210]
34638 * manual/process.texi (execle): Move @dots{} before last argument.
34639
79c6869c
PB
346402012-02-17 Paul Bolle <pebolle@tiscali.nl>
34641
34642 [BZ #12047]
34643 * manual/charset.texi (Generic Charset Conversion): Fix typo
34644 (LC_TYPE -> LC_CTYPE).
34645
cc6e48bc
NB
346462012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34647
34648 [BZ #5805]
34649 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34650 (scalbnf): Likewise.
34651 (scalbnl): Likewise.
34652 (scalbln): Likewise.
34653 (scalblnf): Likewise.
34654 (scalblnl): Likewise.
34655 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34656 (vwarnx): Likewise.
34657 (verr): Likewise.
34658 (verrx): Likewise.
34659 * manual/filesys.texi (telldir): Use braces around return type.
34660 * manual/llio.texi (mmap): Add space after comma.
34661 (mmap64): Likewise.
34662 * manual/math.texi (jn): Use @var{} on parameter names.
34663 (jnf): Likewise.
34664 (jnl): Likewise.
34665 (yn): Likewise.
34666 (ynf): Likewise.
34667 (ynl): Likewise.
34668 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34669 line.
34670 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34671 "...".
34672 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34673 (sched_get_priority_max): Likewise.
34674 * manual/signal.texi (sigvec): Add space after comma.
34675 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34676 names.
34677 (if_indextoname): Likewise.
34678 (if_freenameindex): Likewise.
34679 (sendto): Use ',' instead of '.' in prototype.
34680 * manual/startup.texi (syscall): Use @dots{} instead of literal
34681 "...".
34682 * manual/stdio.texi (__fpending): Separate initial words of
34683 paragraph from @deftypefun line.
34684 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34685 "...".
34686 (vsyslog): Use @var{} on parameter names.
34687 * manual/terminal.texi (stty): Use @var{} on parameter names.
34688 * manual/users.texi (getutmp): Use @var{} on parameter names.
34689 (getutmpx): Likewise.
34690
5b23062f
JM
346912012-02-17 Joseph Myers <joseph@codesourcery.com>
34692
34693 [BZ #6884]
34694 * manual/stdio.texi (fopen): Fix typos in description of
34695 ",ccs=STRING".
34696
8dee4833
AJ
346972012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34698
34699 [BZ #4026]
34700 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34701 get clock_id definition.
34702
9078ce93
TS
347032012-02-17 Thomas Schwinge <thomas@schwinge.name>
34704
34705 [BZ #4822]
34706 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34707 (madvise): Cast every argument to void on its own.
34708
3835c55f
JM
347092012-02-17 Joseph Myers <joseph@codesourcery.com>
34710
34711 [BZ #9902]
34712 * manual/startup.texi (Exit Status): Fix typo.
34713
35c47e37
JM
347142012-02-17 Joseph Myers <joseph@codesourcery.com>
34715
34716 [BZ #10140]
34717 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34718 * manual/examples/argp-ex2.c: Likewise.
34719 * manual/examples/argp-ex3.c: Likewise.
34720
e3b69ca7
RH
347212012-02-16 Richard Henderson <rth@redhat.com>
34722
34723 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34724 * sysdeps/s390/s390-32/initfini.c: Remove.
34725 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34726 * sysdeps/s390/s390-64/initfini.c: Remove.
34727
df83af67
KK
347282012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34729
34730 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34731 compiler output for sysdeps/generic/initfini.c.
34732 * sysdeps/sh/elf/initfini.c: Remove file.
34733
f63f3380
DM
347342012-02-16 David S. Miller <davem@davemloft.net>
34735
fb59b3a4
DM
34736 [BZ #11494]
34737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34738
f63f3380
DM
34739 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34740 * sysdeps/sparc/crti.S: New file.
34741 * sysdeps/sparc/crtn.S: New file.
34742 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34743 * sysdeps/sparc/sparc64/Makefile: Likewise.
34744
df6a4a4a
MF
347452012-02-15 Mike Frysinger <vapier@gentoo.org>
34746
6dd8f3dc 34747 [BZ #3335]
df6a4a4a
MF
34748 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34749
1cac7236
RM
347502012-02-15 Roland McGrath <roland@hack.frob.com>
34751
d2c736f8
RM
34752 [BZ #4822]
34753 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34754
1cac7236
RM
34755 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34756 (write, read, close): Likewise.
34757 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34758
8e475601
JM
347592012-02-15 Joseph Myers <joseph@codesourcery.com>
34760
34761 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34762 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34763 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34764 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34765 <bits/signalfd.h>.
34766 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34768 bits/signalfd.h.
34769
ed656b40
MP
347702012-02-14 Marek Polacek <polacek@redhat.com>
34771
34772 * sysdeps/x86_64/crti.S: New file.
34773 * sysdeps/x86_64/crtn.S: New file.
34774 * sysdeps/x86_64/elf/initfini.c: Remove file.
34775
2a979d3a
JM
347762012-02-13 Joseph Myers <joseph@codesourcery.com>
34777
34778 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34779 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34780 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34781 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34782 <bits/inotify.h>.
34783 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34785 bits/inotify.h.
34786
2a418ac3
JM
347872012-02-13 Joseph Myers <joseph@codesourcery.com>
34788
34789 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34790 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34791 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34792 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34793 <bits/eventfd.h>.
34794 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34796 bits/eventfd.h.
34797
fb779be7
TS
347982012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34799
e19e83c5
RM
34800 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34801 __feraiseexcept instead of feraiseexcept.
7c35ffed 34802
fb779be7
TS
34803 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34804 nanosleep invocations.
34805 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34806 strings, and add error checking for a nanosleep invocations.
34807
59ba27a6
PE
348082012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34809
34810 Replace FSF snail mail address with URLs, as per GNU coding standards.
34811 Most of the snail mail addresses were wrong anyway, and omitting
34812 them makes the source code easier to maintain. Almost all of the
34813 changes are to license notices and to locale LC_IDENTIFICATION
34814 addresses, except for this one:
34815 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34816 not its snail mail address.
34817
57b957eb
RH
348182012-02-09 Richard Henderson <rth@twiddle.net>
34819
af850b1c
RH
34820 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34821 of kernel-features.h.
34822
57b957eb
RH
34823 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34824
6b73181a
MP
348252012-02-08 Marek Polacek <polacek@redhat.com>
34826
34827 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34828 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34829 * sysdeps/gnu/_G_config.h: Likewise.
34830 * sysdeps/generic/_G_config.h: Likewise.
34831
26ecc33a
AS
348322012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34833
6c6dbc63
AS
34834 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34835 tests.
34836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34837
e216c012
AS
34838 * sysdeps/powerpc/powerpc32/crti.S: New file.
34839 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34840 * sysdeps/powerpc/powerpc64/crti.S: New file.
34841 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34842
26ecc33a
AS
34843 * Makeconfig (have-initfini): Don't set.
34844 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34845 * configure.in (nopic_initfini): Don't substitute.
34846 * config.h.in (HAVE_INITFINI): Don't #undef.
34847 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34848 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34849
3add8e13
JM
348502012-02-08 Joseph Myers <joseph@codesourcery.com>
34851
34852 Support crti.S and crtn.S provided directly by architectures.
34853 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34854 [crti.S in sysdirs] (omit-deps): Likewise.
34855 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34856 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34857 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34858 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34859 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34860 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34861 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34862 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34863 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34864 compiler output for sysdeps/generic/initfini.c.
34865 * sysdeps/i386/elf/Makefile: Remove file.
34866 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34867
a22f12b4
MP
348682012-02-07 Marek Polacek <polacek@redhat.com>
34869
34870 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34871 * sysdeps/gnu/_G_config.h: Likewise.
34872 * sysdeps/mach/hurd/_G_config.h: Likewise.
34873
148cf100
MP
348742012-02-07 Marek Polacek <polacek@redhat.com>
34875
34876 * math/Makefile (tests): Add tst-CMPLX2.
34877 * math/tst-CMPLX2.c: New file.
34878
cfdc0dd7
AS
348792012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34880
84ba42c4
AS
34881 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34882
cfdc0dd7
AS
34883 * math/libm-test.inc (jn_test): Add missing L suffix.
34884
622c86f4
MP
348852012-02-06 Marek Polacek <polacek@redhat.com>
34886
34887 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34888 * sysdeps/i386/fpu/e_powf.S: Likewise.
34889 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34890 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34891 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34892 * sysdeps/i386/fpu/e_pow.S: Likewise.
34893 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34894 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34895 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34896 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34897 * sysdeps/i386/fpu/e_log2.S: Likewise.
34898 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34899 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34900 * sysdeps/i386/fpu/e_powl.S: Likewise.
34901 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34902 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34903 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34904 * sysdeps/i386/fpu/e_logl.S: Likewise.
34905 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34906 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34907 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34908 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34909 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34910 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34911 * sysdeps/i386/fpu/e_log.S: Likewise.
34912 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34913 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34914 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34915 * sysdeps/i386/fpu/e_logf.S: Likewise.
34916 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34917 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34918 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34919 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34920 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34921 * sysdeps/i386/fpu/e_log10.S: Likewise.
34922 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34923 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34924 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34925 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34926 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34927 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34928 * sysdeps/i386/asm-syntax.h: Likewise.
34929 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34930 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34931 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34932 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34933 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34934 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34935 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34936 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34937 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34938 * sysdeps/powerpc/sysdep.h: Likewise.
34939 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34940 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34941
d4a54ac6
JM
349422012-02-06 Joseph Myers <joseph@codesourcery.com>
34943
34944 [BZ #411]
34945 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34946
314054ea
JM
349472012-02-06 Joseph Myers <joseph@codesourcery.com>
34948
34949 * sysdeps/i386/sysdep.h: Include <features.h>.
34950 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34951 version.
34952
d8e0ca50
JM
349532012-02-05 Joseph Myers <joseph@codesourcery.com>
34954
34955 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34956 Define.
34957 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34958 LOAD_PIC_REG_STR.
34959
b1da7dd9
JM
349602012-02-03 Joseph Myers <joseph@codesourcery.com>
34961
34962 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34963 (SETUP_PIC_REG): Use GET_PC_THUNK.
34964 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34965 macro.
34966
9a1d9254
JM
349672012-02-03 Joseph Myers <joseph@codesourcery.com>
34968
34969 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34970 for non-PIC compilation.
34971 (SETUP_PIC_REG): Add .p2align directive.
34972 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34973 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34974 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34975 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34976 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34977 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34978 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34979 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34980 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34981 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34982 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34983 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34984 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34985 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34986 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34987 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34988 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34989 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34990 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34991 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34992 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34993 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34994 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34995 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34996 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34998 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34999 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35000 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35001 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35002 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35003 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35004 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35005 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35006 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35007 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35008 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35009 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35010 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35011 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35012 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35013
65dc3b75
JM
350142012-02-03 Joseph Myers <joseph@codesourcery.com>
35015
35016 * math/tst-CMPLX.c: Include <stdio.h>.
35017
d55bf177
JM
350182012-01-31 Joseph Myers <joseph@codesourcery.com>
35019
35020 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35021 float.
35022 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35023 * sysdeps/sparc/bits/mathdef.h: Likewise.
35024
69db4f8f
MP
350252012-01-31 Marek Polacek <polacek@redhat.com>
35026
35027 * libio/libio.h: Don't define _PARAMS.
35028 * locale/programs/config.h: Don't define PARAMS.
35029 * stdlib/strtol_l.c: Likewise.
35030 (__strtol_l): Remove PARAMS from the prototype.
35031
41b81892
UD
350322012-01-31 Ulrich Drepper <drepper@gmail.com>
35033
3b49edc0
UD
35034 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35035 names. Just use the correct names. Remove unnecessary wrapper
35036 functions.
35037 * malloc/arena.c: Likewise.
35038 * malloc/hooks.c: Likewise.
35039
41b81892
UD
35040 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35041 ARENA_TEST says not to. Simplify test for creation of a new arena.
35042 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35043
27a25b6e
UD
350442012-01-30 Ulrich Drepper <drepper@gmail.com>
35045
35046 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35047 into tail calls.
35048 (update_get_addr): New function.
35049 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35050 GET_ADDR_MODULE parameter.
35051
c8a89e7d
JM
350522012-01-30 Joseph Myers <joseph@codesourcery.com>
35053
35054 * crypt/cert.c: Remove __STDC__ conditionals.
35055 * crypt/crypt-entry.c: Likewise.
35056 * crypt/crypt_util.c: Likewise.
35057 * libio/filedoalloc.c: Likewise.
35058 * libio/fileops.c: Likewise.
35059 * libio/genops.c: Likewise.
35060 * libio/iofclose.c: Likewise.
35061 * libio/iofdopen.c: Likewise.
35062 * libio/iofopen.c: Likewise.
35063 * libio/iofopen64.c: Likewise.
35064 * libio/iogetdelim.c: Likewise.
35065 * libio/iopopen.c: Likewise.
35066 * libio/obprintf.c: Likewise.
35067 * libio/oldfileops.c: Likewise.
35068 * libio/oldiofclose.c: Likewise.
35069 * libio/oldiofdopen.c: Likewise.
35070 * libio/oldiofopen.c: Likewise.
35071 * libio/oldiopopen.c: Likewise.
35072 * libio/wfiledoalloc.c: Likewise.
35073 * libio/wgenops.c: Likewise.
35074 * locale/programs/xmalloc.c: Likewise.
35075 * misc/syslog.c: Likewise.
35076 * stdio-common/xbug.c: Likewise.
35077 * string/memchr.c: Likewise.
35078 * string/memcmp.c: Likewise.
35079 * string/memrchr.c: Likewise.
35080 * string/rawmemchr.c: Likewise.
35081 * sysdeps/posix/getcwd.c: Likewise.
35082 * time/strftime_l.c: Likewise.
35083
3b100462
JM
350842012-01-30 Joseph Myers <joseph@codesourcery.com>
35085
35086 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35087 * config.make.in (config-cflags-sse2avx): Define.
35088 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35089 Fix typo.
35090
607998af
CM
350912012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35092
35093 * scripts/config.guess: Update from upstream config git repository.
35094 * scripts/config.sub: Likewise.
35095
3601428f
CM
350962012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35097
3ac8b282
CM
35098 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35099 (EM_NUM): Update.
35100 (R_TILEPRO_*, R_TILEGX_*): New macros.
35101
e034841e
CM
35102 * scripts/firstversions.awk: Fix bug in version range handling.
35103
540d7568
CM
35104 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35105
3601428f
CM
35106 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35107
463de862
CM
35108 * include/sys/epoll.h: New file.
35109 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35110 libc_hidden_def.
35111
73139a76
UD
351122012-01-28 Ulrich Drepper <drepper@gmail.com>
35113
96bc5b45
UD
35114 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35115 Avoid unnecessary __WORDSIZE == 64 test.
35116 (fmaxf): Use VEX format if possible.
35117 (fmax): Likewise.
35118 (fminf): Likewise.
35119 (fmin): Likewise.
35120
56f6f6a2
UD
35121 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35122 * math/math_private.h: Remove libc_fegetround* and
35123 libc_fesetround*.
35124 * sysdeps/i386/configure.in: Check for -msse2avx.
35125 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35126 also if SSE2AVX is defined.
35127 Remove libc_fegetround* and libc_fesetround*.
35128 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35129 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35130 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35131 of HAS_YMM_USABLE.
35132 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35133 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35134 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35135 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35136 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35137
73139a76
UD
35138 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35139
d73f93a4
AZ
351402012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35141
35142 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35143 size is not set.
35144 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35145
6ee65ed6
UD
351462012-01-27 Ulrich Drepper <drepper@gmail.com>
35147
35148 [BZ #13618]
35149 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35150 relocation.
35151 * Makeconfig (libm): Define.
35152 * elf/Makefile: Add rules to build and run tst-relsort1.
35153 * elf/tst-relsort1.c: New file.
35154 * elf/tst-relsort1mod1.c: New file.
35155 * elf/tst-relsort1mod2.c: New file.
35156
8db21882
JM
351572012-01-27 Joseph Myers <joseph@codesourcery.com>
35158
35159 * math/s_ldexp.c: Remove __STDC__ conditionals.
35160 * math/s_ldexpf.c: Likewise.
35161 * math/s_ldexpl.c: Likewise.
35162 * math/s_nextafter.c: Likewise.
35163 * math/s_nexttowardf.c: Likewise.
35164 * math/s_significand.c: Likewise.
35165 * math/s_significandf.c: Likewise.
35166 * math/s_significandl.c: Likewise.
35167 * math/w_jnl.c: Likewise.
35168 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35169 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35170 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35171 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35172 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35173 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35174 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35175 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35176 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35177 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35178 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35179 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35180 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35181 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35182 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35183 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35184 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35185 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35186 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35187 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35188 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35189 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35190 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35191 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35192 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35193 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35194 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35195 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35196 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35197 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35198 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35199 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35200 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35201 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35202 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35203 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35204 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35205 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35206 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35207 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35208 * sysdeps/ieee754/k_standard.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35217 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35218 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35221 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35222 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35224 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35227 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35228 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35229 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35230 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35231 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35232 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35233 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35234 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35235 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35237 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35238 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35239 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35240 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35241 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35242 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35243 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35244 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35245 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35246 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35247 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35248 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35249 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35250 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35251 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35252 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35253 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35254 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35255 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35256 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35257 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35258 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35259 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35260 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35261 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35262 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35263 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35264 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35265 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35266 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35267 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35268 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35269 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35270 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35271 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35272 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35273 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35274 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35275 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35276 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35277 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35278 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35279 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35280 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35281 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35282 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35283 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35284 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35285 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35286 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35287 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35288 * sysdeps/ieee754/s_matherr.c: Likewise.
35289 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35290 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35291 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35292 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35293
965a54a4
JM
352942012-01-26 Joseph Myers <joseph@codesourcery.com>
35295
35296 * crypt/md5.h: Remove __STDC__ conditionals.
35297 * libio/libioP.h: Likewise.
35298 * locale/programs/config.h: Likewise.
35299 * sysdeps/generic/sysdep.h: Likewise.
35300 * sysdeps/i386/asm-syntax.h: Likewise.
35301 * sysdeps/s390/asm-syntax.h: Likewise.
35302 * sysdeps/unix/sysdep.h: Likewise.
35303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35305
7071ad79
JM
353062012-01-26 Joseph Myers <joseph@codesourcery.com>
35307
35308 * libio/libio.h: Remove __STDC__ conditionals.
35309 * malloc/obstack.h: Likewise.
35310 * math/complex.h: Likewise.
35311 * math/math.h: Likewise.
35312 * sysdeps/generic/_G_config.h: Likewise.
35313 * sysdeps/gnu/_G_config.h: Likewise.
35314 * sysdeps/mach/hurd/_G_config.h: Likewise.
35315 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35316 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35317 * sysdeps/sparc/bits/mathdef.h: Likewise.
35318
afc5ed09
UD
353192012-01-26 Ulrich Drepper <drepper@gmail.com>
35320
35321 [BZ #13583]
35322 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35323 Clean up HAS_* macros.
afc5ed09 35324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35325 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35326 possible.
35327 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35328 HAS_AVX.
35329 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35330 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35331 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35332 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35333 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35334
bdb6de1d
JM
353352012-01-25 Joseph Myers <joseph@codesourcery.com>
35336
35337 * elf/tst-unique3.cc (gets): Remove declaration.
35338 * elf/tst-unique3lib.cc (gets): Likewise.
35339 * elf/tst-unique3lib2.cc (gets): Likewise.
35340 * elf/tst-unique4.cc (gets): Likewise.
35341
b15549e6
UD
353422012-01-24 Ulrich Drepper <drepper@gmail.com>
35343
35344 * include/stdio.h: Add C++ protection. Add gets declarations and
35345 definitions.
35346 * debug/tst-chk1.c: Don't declare gets here.
35347 * stdio-common/tst-gets.c: Likewise.
35348
a037381f
JM
353492012-01-24 Joseph Myers <joseph@codesourcery.com>
35350
35351 * posix/glob: Remove directory.
35352
f1d4aa75
JM
353532012-01-24 Joseph Myers <joseph@codesourcery.com>
35354
35355 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35356
81c0c964
PT
353572012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35358
35359 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35360 of the non-standard EPFNOSUPPORT.
35361
0ea698ae
ST
353622011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35363
35364 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35365 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35366 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35367
d220b117
UD
353682012-01-21 Ulrich Drepper <drepper@gmail.com>
35369
35370 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35371
3e1aa84e
UD
353722012-01-20 Ulrich Drepper <drepper@gmail.com>
35373
35374 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35375 transient errors.
35376 * nscd/grpcache.c (cache_addgr): Likewise.
35377 * nscd/hstcache.c (cache_addhst): Likewise.
35378 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35379 * nscd/pwdcache.c (cache_addpw): Likewise.
35380 * nscd/servicescache.c (cache_addserv): Likewise.
35381
400aa020
UD
353822012-01-16 Ulrich Drepper <drepper@gmail.com>
35383
d77e7869
UD
35384 * malloc/malloc.c: Various cleanups.
35385 * malloc/hooks.c: Likewise.
35386
400aa020
UD
35387 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35388 * stdlib/bug-fmtmsg1.c: New file.
35389
35390 * stdlib/fmtmsg.c (init): Add missing unlock.
35391 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35392
e0a309cf
MP
353932012-01-12 Marek Polacek <polacek@redhat.com>
35394
35395 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35396 and _GNU_SOURCE.
35397
929d11c7
WS
353982012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35399
35400 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35401 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35402 macro to ensure uniqueness of label name.
35403 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35404 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35405
41d0e869
UD
354062012-01-11 Ulrich Drepper <drepper@gmail.com>
35407
0cc5ed3b
UD
35408 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35409
41d0e869
UD
35410 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35411 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35412 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35413 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35414
a47a831a
UD
354152012-01-10 Ulrich Drepper <drepper@gmail.com>
35416
daa891c0
UD
35417 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35418
35419 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35420 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35421 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35422
e58ef0f2
UD
35423 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35424
a47a831a 35425 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35426 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35427 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35428 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35429
35430 * math/bits/math-finite.h: Add ldexp support.
35431
a0bfc9c7
MP
354322012-01-10 Marek Polacek <polacek@redhat.com>
35433
35434 * locale/programs/localedef.h (show_archive_content): Add noreturn
35435 attribute.
35436
d6e97a1d
UD
354372012-01-09 Ulrich Drepper <drepper@gmail.com>
35438
35439 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35440
d5835c26
UD
354412012-01-08 Ulrich Drepper <drepper@gmail.com>
35442
e5f484c6
UD
35443 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35444
d5835c26
UD
35445 * io/Makefile (headers): Add bits/poll2.h.
35446
d1f741e9
WS
354472011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35448
35449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35450 typo #include statement.
35451
ec09c1c4
UD
354522012-01-08 Ulrich Drepper <drepper@gmail.com>
35453
35454 * include/sys/cdefs.h: Define __attribute_alloc_size.
35455 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35456 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35457 * elf/pldd.c: Likewise.
35458 * iconv/iconv_charmap.c: Likewise.
35459 * iconv/iconvconfig.c: Likewise.
35460 * iconv/strtab.c: Likewise.
35461 * locale/programs/locale.c: Likewise.
35462 * locale/programs/localedef.h: Likewise.
35463 * locale/programs/simple-hash.c: Likewise.
35464 * nscd/nscd.h: Likewise.
35465 * nss/makedb.c: Likewise.
35466 * sysdeps/generic/ldconfig.h: Likewise.
35467 * locale/programs/localedef.c: Remove xmalloc prototype.
35468 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35469
20b38e03
PP
354702012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35471
35472 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35473 appropriate.
35474
a0da5fe1
UD
354752012-01-08 Ulrich Drepper <drepper@gmail.com>
35476
1d5a644a 35477 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35478 * math/tst-CMPLX.c: New file.
1d5a644a 35479
8784a6db
UD
35480 * math/complex.h (CMPLXL): Fix typo.
35481
d9a216c0
UD
35482 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35483 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35484 GLIBC_2.16.
35485 * debug/tst-chk1.c: Add poll and ppoll tests.
35486 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35487 * include/sys/poll.h: Add hidden proto for ppoll.
35488 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35489 * sysdeps/mach/hurd/ppoll.c: Likewise.
35490 * io/ppoll.c: Likewise.
35491 * debug/poll_chk.c: New file.
35492 * debug/ppoll_chk.c: New file.
35493 * include/bits/poll2.h: New file.
35494 * io/bits/poll2.h: New file.
35495
ac097f5c
UD
35496 [BZ #1350]
35497 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35498
2119dcfa
UD
35499 * configure.in: static is always set to yes. Remove.
35500 * config.make.in: Don't set build-static.
35501 * Makeconfig: Remove use of build-static.
35502 * dlfcn/Makefile: Likewise.
35503 * elf/Makefile: Likewise.
35504 * math/Makefile: Likewise.
35505 * misc/Makefile: Likewise.
35506 * nptl/Makefile: Likewise.
35507 * sysdeps/mach/hurd/Makefile: Likewise.
35508
121766a9
UD
35509 * configure.in: PWD_P is not used anymore.
35510 * config.make.in: Remove PWD_P entry.
35511
51a1d39c 35512 * configure.in: Remove last remnants of RANLIB.
8720d066 35513 No need to check for signed size_t anymore.
215f4bdc
UD
35514 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35515 and IA-64.
3857022a 35516 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35517 * aclocal.m4: Likewise.
35518
d3ed7225
UD
35519 * wcsmbs/mbrtoc16.c: Implement using towc function.
35520 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35521 * wcsmbs/wcsmbsload.c: Likewise.
35522 * iconv/gconv_simple.c: Likewise.
35523 * iconv/gconv_int.h: Likewise.
35524 * iconv/gconv_builtin.h: Likewise.
35525 * iconv/iconv_prog.c: Remove CHAR16 handling.
35526
35527 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35528
35529 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35530
a0da5fe1
UD
35531 * configure.in: Remove --with-elf and --enable-bounded options.
35532 Dont set base_machine for ia64. More non-ELF conditions removed.
35533 Remove testing and setting of leading underscore information.
35534 * config.make.in (build-bounded): Set to no.
35535 * config.h.in: Remove NO_UNDERSCORES entry.
35536 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35537 them.
35538 * csu/start.c: Remove !NO_UNDERSCORE code.
35539 * locale/localeinfo.h: Likewise.
35540 * sysdeps/generic/machine-gmon.h: Likewise.
35541 * sysdeps/generic/sysdep.h: Likewise.
35542 * sysdeps/i386/sysdep.h: Likewise.
35543 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35544 * sysdeps/mach/sysdep.h: Likewise.
35545 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35546 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35547 * sysdeps/sh/sysdep.h: Likewise.
35548 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35549 * sysdeps/unix/i386/sysdep.S: Likewise.
35550 * sysdeps/unix/sparc/start.c: Likewise.
35551 * sysdeps/unix/sparc/sysdep.S: Likewise.
35552 * sysdeps/unix/sparc/sysdep.h: Likewise.
35553 * sysdeps/unix/start.c: Likewise.
35554 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35555 * sysdeps/x86_64/sysdep.h: Likewise.
35556
df78418a
UD
355572012-01-07 Ulrich Drepper <drepper@gmail.com>
35558
a784e502
UD
35559 [BZ #13553]
35560 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35561 for non-gcc.
35562 * argp/argp-fmtstream.h: Use const instead __const.
35563 * argp/argp.h: Likewise.
35564 * assert/assert.h: Likewise.
35565 * bits/fenv.h: Likewise.
35566 * bits/sched.h: Likewise.
35567 * bits/sigset.h: Likewise.
35568 * bits/sigthread.h: Likewise.
35569 * catgets/nl_types.h: Likewise.
35570 * conform/data/pthread.h-data: Likewise.
35571 * crypt/crypt-private.h: Likewise.
35572 * crypt/crypt.h: Likewise.
35573 * crypt/crypt_util.c: Likewise.
35574 * ctype/ctype.h: Likewise.
35575 * debug/execinfo.h: Likewise.
35576 * debug/mbsnrtowcs_chk.c: Likewise.
35577 * debug/mbsrtowcs_chk.c: Likewise.
35578 * debug/wcsnrtombs_chk.c: Likewise.
35579 * debug/wcsrtombs_chk.c: Likewise.
35580 * debug/wcstombs_chk.c: Likewise.
35581 * dirent/dirent.h: Likewise.
35582 * dlfcn/dlfcn.h: Likewise.
35583 * elf/neededtest4.c: Likewise.
35584 * grp/grp.h: Likewise.
35585 * gshadow/gshadow.h: Likewise.
35586 * iconv/gconv.h: Likewise.
35587 * iconv/gconv_int.h: Likewise.
35588 * iconv/gconv_simple.c: Likewise.
35589 * iconv/iconv.h: Likewise.
35590 * iconv/loop.c: Likewise.
35591 * iconv/skeleton.c: Likewise.
35592 * include/aio.h: Likewise.
35593 * include/aliases.h: Likewise.
35594 * include/argz.h: Likewise.
35595 * include/arpa/inet.h: Likewise.
35596 * include/assert.h: Likewise.
35597 * include/dirent.h: Likewise.
35598 * include/dlfcn.h: Likewise.
35599 * include/execinfo.h: Likewise.
35600 * include/fcntl.h: Likewise.
35601 * include/fenv.h: Likewise.
35602 * include/glob.h: Likewise.
35603 * include/grp.h: Likewise.
35604 * include/libintl.h: Likewise.
35605 * include/mntent.h: Likewise.
35606 * include/netdb.h: Likewise.
35607 * include/pwd.h: Likewise.
35608 * include/rpc/netdb.h: Likewise.
35609 * include/sched.h: Likewise.
35610 * include/search.h: Likewise.
35611 * include/shadow.h: Likewise.
35612 * include/signal.h: Likewise.
35613 * include/stdio.h: Likewise.
35614 * include/stdlib.h: Likewise.
35615 * include/string.h: Likewise.
35616 * include/sys/socket.h: Likewise.
35617 * include/sys/stat.h: Likewise.
35618 * include/sys/statfs.h: Likewise.
35619 * include/sys/statvfs.h: Likewise.
35620 * include/sys/syslog.h: Likewise.
35621 * include/sys/time.h: Likewise.
35622 * include/sys/uio.h: Likewise.
35623 * include/time.h: Likewise.
35624 * include/unistd.h: Likewise.
35625 * include/utmp.h: Likewise.
35626 * include/wchar.h: Likewise.
35627 * include/wctype.h: Likewise.
35628 * inet/aliases.h: Likewise.
35629 * inet/arpa/inet.h: Likewise.
35630 * inet/netinet/ether.h: Likewise.
35631 * inet/netinet/in.h: Likewise.
35632 * intl/libintl.h: Likewise.
35633 * io/bits/fcntl2.h: Likewise.
35634 * io/fcntl.h: Likewise.
35635 * io/ftw.h: Likewise.
35636 * io/sys/poll.h: Likewise.
35637 * io/sys/stat.h: Likewise.
35638 * io/sys/statfs.h: Likewise.
35639 * io/sys/statvfs.h: Likewise.
35640 * io/utime.h: Likewise.
35641 * libio/bits/stdio.h: Likewise.
35642 * libio/bits/stdio2.h: Likewise.
35643 * libio/libio.h: Likewise.
35644 * libio/libioP.h: Likewise.
35645 * libio/stdio.h: Likewise.
35646 * locale/lc-ctype.c: Likewise.
35647 * locale/locale.h: Likewise.
35648 * login/utmp.h: Likewise.
35649 * malloc/arena.c: Likewise.
35650 * malloc/malloc.c: Likewise.
35651 * malloc/malloc.h: Likewise.
35652 * malloc/mcheck.c: Likewise.
35653 * malloc/mtrace.c: Likewise.
35654 * math/bits/mathcalls.h: Likewise.
35655 * math/fenv.h: Likewise.
35656 * math/math_private.h: Likewise.
35657 * misc/bits/error.h: Likewise.
35658 * misc/bits/syslog.h: Likewise.
35659 * misc/err.h: Likewise.
35660 * misc/error.h: Likewise.
35661 * misc/fstab.h: Likewise.
35662 * misc/mntent.h: Likewise.
35663 * misc/regexp.h: Likewise.
35664 * misc/search.h: Likewise.
35665 * misc/sgtty.h: Likewise.
35666 * misc/sys/mman.h: Likewise.
35667 * misc/sys/syslog.h: Likewise.
35668 * misc/sys/uio.h: Likewise.
35669 * misc/sys/xattr.h: Likewise.
35670 * misc/ttyent.h: Likewise.
35671 * nis/rpcsvc/ypclnt.h: Likewise.
35672 * nss/nss.h: Likewise.
35673 * posix/bits/unistd.h: Likewise.
35674 * posix/fnmatch.h: Likewise.
35675 * posix/glob.h: Likewise.
35676 * posix/sched.h: Likewise.
35677 * posix/spawn.h: Likewise.
35678 * posix/sys/wait.h: Likewise.
35679 * posix/unistd.h: Likewise.
35680 * posix/wordexp.h: Likewise.
35681 * pwd/pwd.h: Likewise.
35682 * resolv/netdb.h: Likewise.
35683 * resource/sys/resource.h: Likewise.
35684 * rt/aio.h: Likewise.
35685 * rt/bits/mqueue2.h: Likewise.
35686 * rt/mqueue.h: Likewise.
35687 * shadow/shadow.h: Likewise.
35688 * signal/signal.h: Likewise.
35689 * socket/send.c: Likewise.
35690 * socket/sendto.c: Likewise.
35691 * socket/sys/socket.h: Likewise.
35692 * stdio-common/printf.h: Likewise.
35693 * stdlib/bits/stdlib.h: Likewise.
35694 * stdlib/fmtmsg.h: Likewise.
35695 * stdlib/monetary.h: Likewise.
35696 * stdlib/stdlib.h: Likewise.
35697 * stdlib/ucontext.h: Likewise.
35698 * streams/stropts.h: Likewise.
35699 * string/argz.h: Likewise.
35700 * string/bits/string2.h: Likewise.
35701 * string/string.h: Likewise.
35702 * string/strings.h: Likewise.
35703 * sunrpc/rpc/auth.h: Likewise.
35704 * sunrpc/rpc/auth_des.h: Likewise.
35705 * sunrpc/rpc/clnt.h: Likewise.
35706 * sunrpc/rpc/netdb.h: Likewise.
35707 * sunrpc/rpc/pmap_clnt.h: Likewise.
35708 * sunrpc/rpc/xdr.h: Likewise.
35709 * sysdeps/generic/inttypes.h: Likewise.
35710 * sysdeps/generic/net/if.h: Likewise.
35711 * sysdeps/generic/sys/swap.h: Likewise.
35712 * sysdeps/gnu/net/if.h: Likewise.
35713 * sysdeps/gnu/utmpx.h: Likewise.
35714 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35715 * sysdeps/i386/i486/bits/string.h: Likewise.
35716 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35717 * sysdeps/s390/bits/string.h: Likewise.
35718 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35719 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35720 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35721 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35722 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35723 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35724 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35725 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35726 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35727 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35728 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35729 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35730 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35731 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35732 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35733 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35734 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35735 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35736 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35737 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35738 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35739 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35740 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35741 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35742 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35743 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35744 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35745 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35746 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35747 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35748 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35749 * sysvipc/sys/ipc.h: Likewise.
35750 * sysvipc/sys/msg.h: Likewise.
35751 * sysvipc/sys/sem.h: Likewise.
35752 * sysvipc/sys/shm.h: Likewise.
35753 * termios/termios.h: Likewise.
35754 * time/sys/time.h: Likewise.
35755 * time/time.h: Likewise.
35756 * wcsmbs/bits/wchar2.h: Likewise.
35757 * wcsmbs/uchar.h: Likewise.
35758 * wcsmbs/wchar.h: Likewise.
35759 * wctype/wctype.h: Likewise.
35760
0269750c
UD
35761 [BZ #13551]
35762 * Makeconfig: Remove all but ELF support including AIX support.
35763 * Makerules: Likewise.
35764 * config.h.in: Likewise.
35765 * config.make.in: Likewise.
35766 * configure: Likewise.
35767 * configure.in: Likewise.
35768 * csu/Makefile: Likewise.
35769 * csu/version.c: Likewise.
35770 * debug/Makefile: Likewise.
35771 * dlfcn/Makefile: Likewise.
35772 * elf/Makefile: Likewise.
35773 * extra-lib.mk: Likewise.
35774 * iconv/Makefile: Likewise.
35775 * include/libc-symbols.h: Likewise.
35776 * include/shlib-compat.h: Likewise.
35777 * resolv/Makefile: Likewise.
35778 * resolv/res_libc.c: Likewise.
35779 * rt/Makefile: Likewise.
35780 * sysdeps/i386/asm-syntax.h: Likewise.
35781 * sysdeps/i386/sysdep.h: Likewise.
35782 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35783 * sysdeps/mach/sysdep.h: Likewise.
35784 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35785 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35786 * sysdeps/s390/asm-syntax.h: Likewise.
35787 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35789 * sysdeps/sh/sysdep.h: Likewise.
35790 * sysdeps/unix/sparc/sysdep.h: Likewise.
35791 * sysdeps/wordsize-32/divdi3.c: Likewise.
35792 * sysdeps/x86_64/sysdep.h: Likewise.
35793
00bbd29b
UD
35794 * argp/Versions: Remove _argp_unlock_xxx.
35795
35796 [BZ #13559]
35797 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35798 * abilist/libBrokenLocale.abilist: Likewise.
35799 * abilist/libanl.abilist: Likewise.
35800 * abilist/libc.abilist: Likewise.
35801 * abilist/libcrypt.abilist: Likewise.
35802 * abilist/libdl.abilist: Likewise.
35803 * abilist/libm.abilist: Likewise.
35804 * abilist/libnsl.abilist: Likewise.
35805 * abilist/libpthread.abilist: Likewise.
35806 * abilist/libresolv.abilist: Likewise.
35807 * abilist/librt.abilist: Likewise.
35808 * abilist/libthread_db.abilist: Likewise.
35809 * abilist/libutil.abilist: Likewise.
35810 * abilist/libnss_db.abilist: New file.
35811
35812 * scripts/abilist.awk: Add support for indirect functions.
35813
a2693a0e
UD
35814 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35815
3f05895f
UD
35816 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35817
ecb6fb48
UD
35818 * shlib-versions: Remove entries for ports architectures.
35819
664f8cb9
UD
35820 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35821 files in ports.
35822 * elf/stackguard-macros.h: Remove support for IA-64.
35823 * elf/tst-auditmod1.c: Likewise.
35824 * sysdeps/generic/ldsodefs.h: Likewise.
35825
7ae81d88
UD
35826 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35827 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35828 configure files.
35829
bdeba135
UD
35830 [BZ #13552]
35831 * configure.in: Remove --enable-omitfp support.
35832 * FAQ.in: Adjust.
35833 * config.make.in: Likewise.
35834 * Makeconfig: Likewise.
35835 * manual/install.texi: Likewise.
35836
d75a0a62
UD
35837 In case anyone cares, the IA-64 architecture could move to ports.
35838 * sysdeps/ia64/*: Removed.
35839 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35840 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35841
dcc9756b
UD
35842 [BZ #13555]
35843 * configure.in: Remove entries for unsupported architectures.
35844
d3761ebc 35845 [BZ #13533]
9954432e
UD
35846 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35847 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35848 routines.
35849 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35850 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35851 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35852 fall back to using wcrtomb.
35853 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35854 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35855 renaming.
35856 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35857 * wcsmbs/tst-c16c32-1.c: New file.
35858
35859 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35860 local variable.
35861
c3a87236
UD
35862 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35863
28926a1b
UD
35864 * elf/tst-unique3.cc: Add explicit declaration of gets.
35865 * elf/tst-unique3lib.cc: Likewise.
35866 * elf/tst-unique3lib2.cc: Likewise.
35867 * elf/tst-unique4.cc: Likewise.
35868
df78418a
UD
35869 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35870
8ecd6b2a
JM
358712012-01-06 Joseph Myers <joseph@codesourcery.com>
35872
35873 [BZ #13566]
35874 * assert/assert.h (static_assert): Don't define for C++.
35875 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35876 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35877
9f115170
UD
358782012-01-03 Ulrich Drepper <drepper@gmail.com>
35879
5e0d0300
UD
35880 * iconv/loop.c (single loop): Fix assertion in storing of
35881 remaining bytes.
35882
9f115170
UD
35883 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35884
81fb02b0
UD
358852012-01-01 Ulrich Drepper <drepper@gmail.com>
35886
35887 * posix/getconf.c: Update copyright year.
35888 * nss/getent.c: Likewise.
a316c1f6 35889 * nss/makedb.c: Likewise.
81fb02b0
UD
35890 * iconv/iconvconfig.c: Likewise.
35891 * iconv/iconv_prog.c: Likewise.
35892 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35893 * elf/pldd.c: Likewise.
35894 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35895 * catgets/gencat.c: Likewise.
35896 * csu/version.c: Likewise.
35897 * elf/ldd.bash.in: Likewise.
35898 * elf/sprof.c (print_version): Likewise.
35899 * locale/programs/locale.c: Likewise.
35900 * locale/programs/localedef.c: Likewise.
a316c1f6 35901 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35902 * nscd/nscd.c (print_version): Likewise.
35903 * debug/xtrace.sh: Likewise.
35904 * malloc/memusage.sh: Likewise.
35905 * malloc/mtrace.pl: Likewise.
35906 * debug/catchsegv.sh: Likewise.
35907
2ba92745
JJ
359082011-12-30 Jakub Jelinek <jakub@redhat.com>
35909
35910 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35911 pure attribute.
35912
dadebdae
UD
359132011-12-24 Ulrich Drepper <drepper@gmail.com>
35914
d3761ebc 35915 [BZ #13533]
db6af3eb
UD
35916 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35917 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35918 transformations.
35919 * iconv/gconv_int.h: Likewise.
35920 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35921 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35922 from libc for GLIBC_2.16.
35923 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35924 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35925 * wcsmbs/uchar.h: Really define mbstate_t.
35926 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35927 * wcsmbs/c16rtomb.c: New file.
35928 * wcsmbs/mbrtoc16.c: New file.
35929 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35930 for C/POSIX locale.
35931 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35932 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35933
dadebdae
UD
35934 * wcsmbs/wchar.h: Add missing __restrict.
35935
67371b56
UD
359362011-12-23 Ulrich Drepper <drepper@gmail.com>
35937
74033a25
UD
35938 [BZ #13532]
35939 * time/Makefile (routines): Add timespec_get.
35940 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35941 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35942 timespec for ISO C11.
35943 * time/timespec_get.c: New file.
35944 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35945 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35946
380d7e87
UD
35947 [BZ #13531]
35948 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35949 * stdlib/stdlib.h: Declare aligned_alloc.
35950 * Versions.def: Add GLIBC_2.16 for libc.
35951 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35952
4e9e7a35
UD
35953 [BZ 13527]
35954 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35955 ISO C11.
35956
380d7e87 35957 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35958 code.
35959
03a71829
UD
35960 [BZ #13528]
35961 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35962
839e283e
UD
35963 [BZ #13529]
35964 * assert/assert.h (static_assert): Define.
35965
ce5294e2 35966 * version.h: Update for 2.16 development version.
90fa7312 35967
8d44e150 35968 [BZ #13526]
d7809905
UD
35969 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35970 _ISOC11_SOURCE.
35971
c0da14cd
UD
35972 * version.h (RELEASE): Bump for 2.15 release.
35973 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35974
530a3249
MP
35975 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35976 Patch by Marek Polacek <mpolacek@redhat.com>.
35977
67371b56
UD
35978 * bits/byteswap.h: Protect long long constants with __extension__.
35979 * sysdeps/i386/bits/byteswap.h: Likewise.
35980 * sysdeps/ia64/bits/byteswap.h: Likewise.
35981 * sysdeps/s390/bits/byteswap.h: Likewise.
35982 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35983
15db4de1
LD
359842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35985
35986 [BZ #13540]
bbe315ea
LD
35987 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35988 destination buffer.
15db4de1
LD
35989 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35990
2b2596b1
MP
359912011-12-23 Marek Polacek <polacek@redhat.com>
35992
35993 * elf/dl-addr.c (determine_info): Add inline keyword.
35994 * elf/tst-auditmod4b.c (check_avx): Likewise.
35995 * elf/tst-auditmod6b.c (check_avx): Likewise.
35996 * elf/tst-auditmod6c.c (check_avx): Likewise.
35997 * elf/tst-auditmod7b.c (check_avx): Likewise.
35998
70c6c246
UD
359992011-12-23 Ulrich Drepper <drepper@gmail.com>
36000
36001 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36002 !__SSE_MATH__.
36003
c044cf14
LD
360042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36005
15db4de1 36006 [BZ #13540]
c044cf14
LD
36007 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36008 processing for last bytes.
36009
6b13d9d9
BH
360102011-08-06 Bruno Haible <bruno@clisp.org>
36011
d455f537
BH
36012 [BZ #13061]
36013 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36014 U+0385, not to U+1FEE.
36015
6b13d9d9
BH
36016 [BZ #13062]
36017 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36018 entry for U+00A5 U+0301.
36019
db910efd
UD
360202011-12-22 Ulrich Drepper <drepper@gmail.com>
36021
27deeafc
UD
36022 [BZ #13166]
36023 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36024 buffer for the output is too small.
36025
aed9d171
UD
36026 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36027 optimization.
36028
db910efd
UD
36029 [BZ #13185]
36030 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36031 SSE flags if possible.
36032
2bd779ae
LD
360332011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36034
e7f9dac3 36035 [BZ #13540]
2bd779ae
LD
36036 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36037 processing for last bytes.
36038
154bfc16
JM
360392011-12-22 Joseph Myers <joseph@codesourcery.com>
36040
36041 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36042 (syscall-list-default-options, syscall-list-default-condition)
36043 (syscall-list-includes): Define.
36044 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36045 list of ABIs and options and #if conditions for each ABI. Do not
36046 handle common syscalls between ABIs specially.
36047 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36048 Remove.
36049 (syscall-list-variants, syscall-list-32bit-options)
36050 (syscall-list-32bit-condition, syscall-list-64bit-options)
36051 (syscall-list-64bit-condition): Define.
36052 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36053 (syscall-list-variants, syscall-list-32bit-options)
36054 (syscall-list-32bit-condition, syscall-list-64bit-options)
36055 (syscall-list-64bit-condition): Define.
36056 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36057 Remove.
36058 (syscall-list-variants, syscall-list-32bit-options)
36059 (syscall-list-32bit-condition, syscall-list-64bit-options)
36060 (syscall-list-64bit-condition): Define.
36061 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36062 Remove.
36063 (syscall-list-variants, syscall-list-32bit-options)
36064 (syscall-list-32bit-condition, syscall-list-64bit-options)
36065 (syscall-list-64bit-condition): Define.
36066
21eaf3a5
UD
360672011-12-22 Ulrich Drepper <drepper@gmail.com>
36068
16c6f992
UD
36069 * locale/iso-639.def: Add brx entry.
36070
41043168
UD
36071 [BZ #13328]
36072 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36073 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36074
21eaf3a5
UD
36075 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36076 __feraiseexcept_renamed.
36077
e3a851a2
UD
360782011-12-21 Ulrich Drepper <drepper@gmail.com>
36079
4920765e
UD
36080 [BZ #13538]
36081 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36082 EPOLLET with unsigned values.
36083 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36084 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36085
e3a851a2
UD
36086 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36087 to large cancellation.
36088 * math/s_cacoshf.c: Likewise.
36089 * math/s_cacoshl.c: Likewise.
36090
b27e24b8
RK
360912011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36092
36093 [BZ #13305]
aebefeee 36094 [BZ #12786]
b27e24b8
RK
36095 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36096 * math/s_cacoshf.c: Likewise.
36097 * math/s_cacoshl.c: Likewise.
36098
ee190f67
UD
360992011-12-21 Ulrich Drepper <drepper@gmail.com>
36100
36101 [BZ #13439]
36102 * iconv/gconv.h: Define __GCONV_SWAP.
36103 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36104 * iconvdata/utf-16.c: Likewise.
36105 * iconvdata/utf-32.c: Likewise.
36106
707f25df
AS
361072011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36108
36109 [BZ #13524]
36110 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36111 numerator after shifting it by one limb.
36112
d2daaa1e
RÁE
361132011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36114
36115 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36116 under [__USE_EXTERN_INLINES].
36117
a4647e72
UD
361182011-12-17 Ulrich Drepper <drepper@gmail.com>
36119
36120 [BZ #13446]
36121 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36122
f0b264f1
AZ
361232011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36124
36125 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36126 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36127 optimized code.
36128 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36129 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36130 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36131 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36132 for strncasecmp/strncasecmp_l compilation.
36133 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36134 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36135
8ef4f244
MP
361362011-12-08 Marek Polacek <mpolacek@redhat.com>
36137
36138 [BZ #13484]
36139 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36140 of __asm__.
36141
97ac2654
UD
361422011-12-17 Ulrich Drepper <drepper@gmail.com>
36143
36144 [BZ #13506]
36145 * time/tzfile.c (__tzfile_read): Check values from file header.
36146
91d2a845
WS
361472011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36148
36149 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36150 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36151 * powerpc/powerpc32/dl-start.S: Likewise.
36152 * powerpc/powerpc32/elf/start.S: Likewise.
36153 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36154 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36155 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36156 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36157 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36158 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36159 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36160 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36161 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36162 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36163 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36164 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36165 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36166 * powerpc/powerpc32/memset.S: Likewise.
36167 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36168 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36169 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36170 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36171 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36172 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36173 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36174 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36175 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36176 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36177 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36178 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36179 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36180
a1267ba1
AZ
361812011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36182
36183 * math/libm-test.inc: Added more nearbyint tests.
36184 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36185 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36186 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36187 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36188
ad8ac1bd
RL
361892011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36190
36191 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36192 FD_CLOEXEC.
36193
1d3e4b61
UD
361942011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36195
36196 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36197 Add wcscpy-ssse3 wcscpy-c.
36198 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36199 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36200 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36201 * sysdeps/x86_64/wcschr.S: New file.
36202 * sysdeps/x86_64/wcsrchr.S: New file.
36203 * string/test-strcmp.c: Remove checking of wcscmp function for
36204 wrong alignments.
36205 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36206 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36207 wcsrchr-sse2 wcsrchr-c.
36208 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36209 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36210 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36211 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36212 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36213 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36214 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36215 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36216 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36217 * wcsmbc/wcschr.c (WCSCHR): New macro.
36218
5b330a2d
UD
362192011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36220
36221 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36222 * wcsmbs/test-wcsrchr.c: New file.
36223 * string/test-strrchr.c: Add wcsrchr support.
36224 (WIDE): New macro.
36225 * wcsmbs/test-wcscpy.c: New file.
36226 * string/test-strcpy.c: Add wcscpy support.
36227 (WIDE): New macro.
26428b7c 36228
f039c043
UD
362292011-12-10 Ulrich Drepper <drepper@gmail.com>
36230
36231 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36232 the inner loop.
36233
850fb039
AS
362342011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36235
36236 [BZ #13472]
36237 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36238
4efbd5cb
UD
362392011-12-04 Ulrich Drepper <drepper@gmail.com>
36240
52ff5dd0 36241 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36242 Minor optimizations.
52ff5dd0 36243
4efbd5cb
UD
36244 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36245 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36246 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36247
8a426e12
UD
362482011-12-03 Ulrich Drepper <drepper@gmail.com>
36249
aff2453d
UD
36250 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36251 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36252 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36253 for gcc to avoid warnings.
36254 * inet/Makefile (tests): Add tst-checks.
36255 * inet/tst-checks.c: New file.
36256
36257 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36258 warning.
36259
36260 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36261 __wmemcmp_sse2.
36262
36263 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36264 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36265
8a426e12
UD
36266 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36267
9bea3473
UD
362682011-12-02 Ulrich Drepper <drepper@gmail.com>
36269
3a965496
UD
36270 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36271 problem.
36272
9bea3473
UD
36273 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36274
f101631b
UD
362752011-11-29 Joseph Myers <joseph@codesourcery.com>
36276
36277 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36278 conditional on GCC version.
36279 (__arch_compare_and_exchange_val_8_acq)
36280 (__arch_compare_and_exchange_val_16_acq)
36281 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36282 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36283 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36284
a98275aa
UD
362852011-12-02 Joseph Myers <joseph@codesourcery.com>
36286
36287 * sysdeps/sh/backtrace.c: New file.
36288
d4cc29a2
AS
362892011-12-02 Andreas Schwab <schwab@redhat.com>
36290
36291 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36292 parenthesis.
36293
6257af2d
AS
362942011-12-01 Andreas Schwab <schwab@redhat.com>
36295
36296 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36297 falling back to utime.
36298
b5f44c1a
AS
362992011-11-30 Andreas Schwab <schwab@redhat.com>
36300
36301 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36302 expectations for float.
36303
f3a6cc0a
AS
363042011-11-29 Andreas Schwab <schwab@redhat.com>
36305
36306 * locale/weight.h (findidx): Add parameter len.
36307 * locale/weightwc.h (findidx): Likewise.
36308 * posix/fnmatch_loop.c (FCT): Adjust caller.
36309 * posix/regcomp.c (build_equiv_class): Likewise.
36310 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36311 * posix/regexec.c (check_node_accept_bytes): Likewise.
36312 * string/strcoll_l.c (STRCOLL): Likewise.
36313 * string/strxfrm_l.c (STRXFRM): Likewise.
36314
9d65ea3a
UD
363152011-11-17 Ulrich Drepper <drepper@gmail.com>
36316
36317 * Makefile.in: Remove CVSOPT handling.
36318 * configure.in: Remove use of AC_REVISION.
36319 * iconvdata/Makefile (distribute): No need to filter out CVS.
36320 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36321 handling.
36322
5583a086
AS
363232011-11-16 Andreas Schwab <schwab@redhat.com>
36324
36325 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36326 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36327 [USE_AS_STRNCASECMP_L]: Likewise.
36328 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36329 NO_TLS_DIRECT_SEG_REFS.
36330 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36331 Fix argument offsets for non-PIC.
36332 [USE_AS_STRNCASECMP_L]: Likewise.
36333 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36334 NO_TLS_DIRECT_SEG_REFS.
36335
d62a8200
UD
363362011-11-15 Ulrich Drepper <drepper@gmail.com>
36337
9d65ea3a 36338 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36339 O_CLOEXEC.
36340 * locale/loadlocale.c (_nl_load_locale): Likewise.
36341
09f93bd3
AS
363422011-11-15 Andreas Schwab <schwab@redhat.com>
36343
446514f9
AS
36344 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36345 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36346 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36347 (SYSCALL_GETTIME): Set errno on error.
36348
09f93bd3
AS
36349 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36350 count references to noai6ai_cached.
36351
312be3f9
UD
363522011-11-15 Ulrich Drepper <drepper@gmail.com>
36353
36354 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36355
36356 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36357 FD_CLOEXEC for /proc/self/maps.
36358
36359 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36360 FD_CLOEXEC for /proc/meminfo.
36361
36362 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36363 gai.conf.
36364
36365 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36366 FD_CLOEXEC for given file.
36367
36368 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36369
36370 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36371 FD_CLOEXEC for /etc/hosts.
36372 (_gethtent): Likewise.
36373
36374 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36375
36376 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36377 cancellation and set FD_CLOEXEC for /etc/netgroup.
36378
36379 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36380 reading /etc/publickey.
36381
36382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36383 allow cancellation when reading /etc/group.
36384
36385 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36386 cancellation.
36387 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36388
36389 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36390 when using data file.
36391
36392 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36393
36394 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36395 (write_nis_obj): Use "c" and "e" in fopen.
36396
36397 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36398
36399 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36400
36401 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36402
36403 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36404
36405 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36406 locale.alias.
36407
36408 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36409
36410 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36411
36412 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36413
36414 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36415 file parsing and set FD_CLOEXEC.
36416
82af0fa8
UD
364172011-11-14 Ulrich Drepper <drepper@gmail.com>
36418
36419 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36420
a5fb313c
AS
364212011-11-14 Andreas Schwab <schwab@redhat.com>
36422
36423 * malloc/arena.c (arena_get2): Don't call reused_arena when
36424 _int_new_arena failed.
36425
6abf3465
UD
364262011-11-14 Ulrich Drepper <drepper@gmail.com>
36427
36428 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36429 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36430 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36431 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36432 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36433 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36434 to compile strcasecmp and strncasecmp.
36435 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36436 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36437
36438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36439
76e3966e
UD
364402011-11-13 Ulrich Drepper <drepper@gmail.com>
36441
36442 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36443 locale-defines.sym to gen-as-const-headers.
36444 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36445 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36446 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36447 to compile strcasecmp and strncasecmp.
36448 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36449 strcasecmp_l and strncasecmp_l.
36450 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36451 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36452 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36453 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36454 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36455 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36456 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36457 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36458 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36459 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36460 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36461
ab26144e
UD
364622011-11-12 Ulrich Drepper <drepper@gmail.com>
36463
7edb22ef
UD
36464 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36465 result of SYSDEP_GETTIME_CPU to retval.
36466 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36467 parameter list to macro. Remove trailing semicolon. Adjust users.
36468
9694fc44
UD
36469 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36470 variable.
36471
8ad89ef8
UD
36472 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36473 mantissa words.
36474 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36475
0c822ef9
UD
36476 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36477 from unused variable.
36478
874e0564
UD
36479 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36480 DWARF definitions.
36481 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36482 for assembling.
36483
3a2edc79
UD
36484 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36485 over namespaces.
36486
f3c2577f
UD
36487 * sunrpc/rpc_prot.c (rejected): Fix case value.
36488
294ce126
UD
36489 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36490 unsigned long long int to avoid warnings in shift.
36491
5e2b63c6
UD
36492 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36493 of use of trans.
36494 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36495 variable tmp.
36496
e7f4b08e
UD
36497 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36498 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36499 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36500
ab26144e
UD
36501 * nis/nis_table.c (nis_list): Use variable of correct type for
36502 result of __follow_path call.
36503
8a6d5255
AZ
365042011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36505
36506 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36507 of math functions ceil, trunc, floor, round, and sqrt, when
36508 avaliable on the platform.
36509 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36510 name clash.
36511 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36512 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36513 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36514
aaddc98c
MP
365152011-10-30 Marek Polacek <mpolacek@redhat.com>
36516
36517 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36518 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36519
95b7042b
RM
365202011-11-11 Roland McGrath <roland@hack.frob.com>
36521
36522 * include/unistd.h: Fix __readlink return type.
36523 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36524
57769839
UD
365252011-11-11 Ulrich Drepper <drepper@gmail.com>
36526
36527 * stdlib/ucontext.h: Undo last change for makecontext.
36528
edc5984d
AS
365292011-11-11 Andreas Schwab <schwab@redhat.com>
36530
98591e58
AS
36531 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36532
edc5984d
AS
36533 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36534 * setjmp/setjmp.h: Mark functions as non-leaf.
36535 * setjmp/bits/setjmp2.h: Likewise.
36536 * stdlib/ucontext.h: Likewise.
36537
77cdc054
AS
365382011-11-10 Andreas Schwab <schwab@redhat.com>
36539
36540 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36541 (reused_arena): Don't check arena limit.
36542 (arena_get2): Atomically check arena limit.
36543
fe72eebd
UD
365442011-11-08 Ulrich Drepper <drepper@gmail.com>
36545
5f078c32
UD
36546 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36547 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36548
fe72eebd
UD
36549 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36550 instructions.
36551
ae1bc2fa
AS
365522011-11-07 Andreas Schwab <schwab@redhat.com>
36553
7583a88d
AS
36554 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36555 handler when locking.
36556
ae1bc2fa
AS
36557 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36558 Fix size of allocated buffer.
36559
10fb0bfa
AS
365602011-11-04 Andreas Schwab <schwab@redhat.com>
36561
998832a4
AS
36562 [BZ #10103]
36563 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36564 declarations for long double functions.
36565 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36566
10fb0bfa
AS
36567 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36568
3d7ba52b
AS
365692011-11-03 Andreas Schwab <schwab@redhat.com>
36570
a9ae54a1
AS
36571 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36572 installed.
36573
3d7ba52b
AS
36574 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36575 is disabled.
36576
bc8db248
ST
365772011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36578
36579 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36580
45b96dd6
AS
365812011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36582
647776f6
AS
36583 * include/alloca.h (stackinfo_alloca_round): Define.
36584 (extend_alloca): Use it.
36585 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36586 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36587 here.
36588
d91a8b93
AS
36589 * scripts/check-local-headers.sh: Ignore libaudit.h.
36590
45b96dd6
AS
36591 * nscd/Makefile (extra-objs): Make recursively expanded.
36592
432d41ce
UD
365932011-11-01 Ulrich Drepper <drepper@gmail.com>
36594
34372fc6
UD
36595 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36596 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36597
fadb59f8
UD
36598 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36599 * posix/tst-rfc3484-2.c: Likewise.
36600 * posix/tst-rfc3484-3.c: Likewise.
36601
78239589
UD
36602 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36603 process_vm_writev.
36604 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36605 process_vm_writev.
36606 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36607 process_vm_writev from libc using GLIBC_2.15 version.
36608
432d41ce
UD
36609 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36610
02f9c6cf
PP
366112011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36612
36613 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36614 stack usage.
36615
3a2c0242
UD
366162011-10-31 Ulrich Drepper <drepper@gmail.com>
36617
f4ec4833
UD
36618 [BZ #13367]
36619 * nss/getent.c (initgroups_keys): Show error message in case no group
36620 names are given.
36621
3a2c0242
UD
36622 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36623 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36624 __bump_nl_timestamp.
36625 * nscd/connections (nscd_init): When host database is served open
36626 netlink socket and request notification about configuration changes.
36627 (main_loop_poll): Track netlink file descriptor and bump timestamp
36628 in case data becomes available.
36629 (main_loop_epoll): Likewise.
36630 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36631 (database_pers_head): Add extra_data fileds.
36632 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36633 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36634 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36635 Adjust caller.
36636 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36637 in6ai data, call __free_in6ai.
36638 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36639 Add -DHAVE_NETLINK.
36640 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36641 interface information. Reuse previous data if netlink timestamp
36642 is not changed.
36643 (__bump_nl_timestamp): New function.
36644 (__free_in6ai): New function.
36645
636064eb
UD
366462011-10-30 Ulrich Drepper <drepper@gmail.com>
36647
36648 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36649 close_not_cancel_no_status here.
36650 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36651
9beb2334
UD
366522011-10-29 Ulrich Drepper <drepper@gmail.com>
36653
6ef76f3b
UD
36654 [BZ #13276]
36655 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36656 return value.
36657
0ffc4f3e 36658 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36659 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36660 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36661
cb95113e
UD
366622011-07-03 Andreas Jaeger <aj@suse.de>
36663
36664 [BZ #10709]
36665 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36666 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36667 * math/libm-test.inc (sin_test): Add test case.
36668
a1b560ff
UD
366692011-10-29 Ulrich Drepper <drepper@gmail.com>
36670
c9aaface
UD
36671 [BZ #13337]
36672 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36673 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36674
d272e7f1
UD
36675 * elf/chroot_canon.c (chroot_canon): Cleanups.
36676
1bc33071
UD
36677 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36678
1760874d
TJ
36679 [BZ #13335]
36680 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36681 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36682
51d91b18
UD
36683 * string/test-strchr.c: Make usable for strchrnul testing.
36684 * string/test-strchrnul.c: New file.
36685 * string/Makefile (strop-tests): Add strchrnul.
36686
a1b560ff 36687 * po/it.po: Update from translation team.
b611fb81 36688 * po/es.po: Likewise.
a1b560ff 36689
a5b81e1f
UD
366902011-10-28 Ulrich Drepper <drepper@gmail.com>
36691
fd52bc6d
UD
36692 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36693 the three constants needed as parameters. Drop the others.
36694 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36695 __m128i_strloadu_tolower.
52e4b9eb
UD
36696 Create and initialize variable zero and use it in all the places
36697 where _mm_setzero_si128 was used.
fd52bc6d 36698
a5b81e1f
UD
36699 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36700 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36701 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36702 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36703 anymore.
36704 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36705 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36706 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36707 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36708 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36709 __mpranred, __mptan.
36710 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36711 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36712 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36713 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36714 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36715 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36716 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36717 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36718 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36719
b4343346
AS
367202011-10-28 Andreas Schwab <schwab@redhat.com>
36721
0c92d8a8
AS
36722 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36723 redefine if SHARED.
36724 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36725
b4343346
AS
36726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36727 wide char related routines to wcsmbs subdir.
36728
3871f58f
AS
367292011-10-27 Andreas Schwab <schwab@redhat.com>
36730
36731 [BZ #13344]
36732 * misc/sys/cdefs.h (__THROWNL): Define.
36733 * posix/unistd.h: Use __THREADNL instead of __THREAD
36734 for memory synchronization functions.
36735
94d44d9f
RM
367362011-10-26 Roland McGrath <roland@hack.frob.com>
36737
21b64b15 36738 [BZ #13349]
94d44d9f
RM
36739 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36740 doesn't exist.
36741 * manual/stdio.texi (Obstack Streams): Node removed.
36742
f6ce9294
AS
367432011-10-26 Andreas Schwab <schwab@redhat.com>
36744
80479147
AS
36745 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36746 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36747 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36748
f6ce9294
AS
36749 * math/math_private.h (math_force_eval): Allow non-addressable
36750 arguments.
36751 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36752
618280a1
UD
367532011-10-25 Ulrich Drepper <drepper@gmail.com>
36754
e0016b11
UD
36755 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36756 file is not needed.
36757
36758 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36759 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36760 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36761 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36763 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36764 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36765 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36766 Add AVX variants.
36767 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36768 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36769 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36770 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36771 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36772 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36773 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36774 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36775 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36776 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36777 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36778 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36779 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36780 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36781 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36782 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36783 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36784 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36785 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36786
36787 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36788 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36789
618280a1
UD
36790 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36791 place. Use VEX encoding when compiling for AVX.
36792
37822576
AS
367932011-10-25 Andreas Schwab <schwab@redhat.com>
36794
1f1e1947
AS
36795 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36796 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36797
37822576
AS
36798 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36799
31ea014d
UD
368002011-10-25 Ulrich Drepper <drepper@gmail.com>
36801
d7826aa1 36802 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36803 useless if() expression.
d7826aa1
UD
36804 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36806 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36808 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36809 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36810 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36811 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36812 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36813 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36814 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36815 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36816 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36817 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36818 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36819 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36820 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36821 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36822 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36823
31ea014d
UD
36824 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36825
16437fec
AS
368262011-10-25 Andreas Schwab <schwab@redhat.com>
36827
36828 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36829 condition.
36830 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36831
31d3cc00
UD
368322011-10-25 Ulrich Drepper <drepper@gmail.com>
36833
36834 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36835 .text section. Avoid duplicate constants.
36836 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36837 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36838 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36840 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36841 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36842 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36844 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36845 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36846 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36847 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36848 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36849 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36850 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36851 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36852 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36853 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36854 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36855 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36856 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36857 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36858 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36859 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36860 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36861 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36862 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36863 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36865 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36866 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36867 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36868 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36869 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36870 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36871 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36872 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36873 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36874 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36875 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36876 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36877 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36878 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36879 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36880 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36881
58985aa9
UD
368822011-10-24 Ulrich Drepper <drepper@gmail.com>
36883
202c9deb
UD
36884 * sysdeps/x86_64/dla.h: Move to ...
36885 * sysdeps/x86_64/fpu/dla.h: ...here.
36886 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36887 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36888
af968f62
UD
36889 * config.make.in: Add have-mfma4 entry.
36890 * configure.in: Substitute libc_cv_cc_fma4.
36891 * math/Makefile (dbl-only-routines): Add sincostab.
36892 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36893 Use __sincostab not sincos.
36894 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36895 name is a macro.
36896 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36897 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36898 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36900 using __copysign.
36901 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36902 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36903 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36904 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36905 and __inv.
36906 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36907 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36908 __copysign.
36909 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36910 define aliases when function name is a macro.
36911 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36912 sysdeps/ieee754/dbl-64/sincos.tbl.
36913 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36914 fma4-enabled routines.
36915 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36916 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36917 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36918 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36919 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36920 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36921 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36922 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36923 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36924 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36925 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36926 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36927 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36928 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36929 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36930 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36931 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36932 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36933 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36934 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36935 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36936 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36937 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36938 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36939 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36940 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36941 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36942 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36943 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36944 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36945
58985aa9
UD
36946 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36947 rename.
36948 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36951 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36952 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36953 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36954 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36955 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36956
a201fbcf
AS
369572011-10-24 Andreas Schwab <schwab@redhat.com>
36958
36959 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36960
fc2ee42a
LD
369612011-10-23 Ulrich Drepper <drepper@gmail.com>
36962
bb3129bd
UD
36963 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36964
0275fff8
UD
36965 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36966 prediction.
36967 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36968
2fa2ae85
UD
36969 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36970 Remove unused variable magic_bits.
36971 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36972
fc2ee42a
LD
36973 * string/strnlen.c: Define and use STRNLEN macro.
36974 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36975 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36976 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36977 * wcsmbs/wcslen.c: Define and use WCSLEN.
36978 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36979 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36980 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36981 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36982 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36983 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36984 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36985
ce7dd29f
LD
369862011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36987
36988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36989 strnlen-sse2-no-bsf.
36990 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36992 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36993 Add strnlen support.
36994 (USE_AS_STRNLEN): New macro.
36995 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36996 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36997 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36998 * sysdeps/x86_64/wcslen.S: New file.
36999
979c70a3
MZ
370002011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37001
37002 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37003 XMM-moves are used for copying on small sizes.
37004
2d09f82f
LD
370052011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37006
37007 * wcsmbs/Makefile (strop-tests): Add wcschr.
37008 * wcsmbs/test-wcschr.c: New file.
37009 * string/test-strchr.c: Update.
37010 Add wcschr support.
37011 (WIDE): New macro.
37012
619fccca
LD
370132011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37014
2d09f82f 37015 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37016 * wcsmbs/test-wcslen.c: New file.
37017 * string/test-strlen.c: Update.
37018 Add wcslen support.
37019 (WIDE): New macro.
37020
09f699ea
UD
370212011-10-23 Ulrich Drepper <drepper@gmail.com>
37022
37023 * po/it.po: Update from translation team.
37024
95584d3b
LD
370252011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37026
37027 * sysdeps/x86_64/wcscmp.S: Update.
37028 Fix wrong comparison semantics.
37029 wcscmp shall use signed comparison not unsigned.
37030 Don't use substraction to avoid overflow bug.
37031 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37032 * wcsmbc/wcscmp.c: Likewise.
37033 * string/test-strcmp.c: Likewise.
37034 Add new tests to check cases with negative values.
37035
c8b3296b
UD
370362011-10-23 Ulrich Drepper <drepper@gmail.com>
37037
37038 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37039 * sysdeps/x86_64/dla.h: ...here. New file.
37040 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37045 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37046 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37047 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37048 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37049
246ad57a
AS
370502011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37051
37052 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37053 __ynl_finite aliases.
37054
a1a87169
UD
370552011-10-22 Ulrich Drepper <drepper@gmail.com>
37056
0d355eb7
UD
37057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37058
a1a87169
UD
37059 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37060 define DLA_FMA.
37061 [DLA_FMA] (EMULV): Use DLA_FMA.
37062 [DLA_FMA] (MUL12): Use EMULV.
37063 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37064 that are not needed.
37065 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37066 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37068 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37069 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37070 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37071 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37072
ee2aafe0
AS
370732011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37074
37075 * math/s_nan.c: Undef __nan.
37076 * math/s_nanf.c: Undef __nanf.
37077 * math/s_nanl.c: Undef __nanl.
37078 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37079 "math_private.h".
37080
bc62c2fb
UD
370812011-10-22 Ulrich Drepper <drepper@gmail.com>
37082
77425c63
UD
37083 * math/s_catan.c: Add branch predictions.
37084 * math/s_catanf.c: Likewise.
37085 * math/s_catanh.c: Likewise.
37086 * math/s_catanhf.c: Likewise.
37087 * math/s_catanhl.c: Likewise.
37088 * math/s_catanl.c: Likewise.
37089 * math/s_cexp.c: Likewise.
37090 * math/s_cexpf.c: Likewise.
37091 * math/s_cexpl.c: Likewise.
37092 * math/s_clog.c: Likewise.
37093 * math/s_clog10.c: Likewise.
37094 * math/s_clog10f.c: Likewise.
37095 * math/s_clog10l.c: Likewise.
37096 * math/s_clogf.c: Likewise.
37097 * math/s_clogl.c: Likewise.
37098 * math/s_csqrt.c: Likewise.
37099 * math/s_csqrtf.c: Likewise.
37100 * math/s_csqrtl.c: Likewise.
37101 * math/s_ctanf.c: Likewise.
37102 * math/s_ctanh.c: Likewise.
37103 * math/s_ctanhf.c: Likewise.
37104 * math/s_ctanhl.c: Likewise.
37105 * math/s_ctanl.c: Likewise.
37106
bc62c2fb
UD
37107 * math/math_private.h: Define __nan, __nanf, __nanl.
37108 * math/s_cacosh.c: Include <math_private.h>.
37109 * math/s_cacoshl.c: Likewise.
37110 * math/s_casinh.c: Likewise.
37111 * math/s_casinhf.c: Likewise.
37112 * math/s_casinhl.c: Likewise.
37113 * math/s_ccos.c: Rely entire on ccosh.
37114 * math/s_ccosf.c: Rely entire on ccoshf.
37115 * math/s_ccosl.c: Rely entirely on ccoshl.
37116 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37117 Remove tests for FE_INVALID.
37118 * math/s_ccoshf.c: Likewise.
37119 * math/s_ccoshl.c: Likewise.
37120 * math/s_csin.c: Likewise.
37121 * math/s_csinf.c: Likewise.
37122 * math/s_csinh.c Likewise.
37123 * math/s_csinhf.c: Likewise.
37124 * math/s_csinhl.c: Likewise.
37125 * math/s_csinl.c: Likewise.
37126 * math/s_ctan.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37128 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37129 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37130
8ec250a4
UD
371312011-10-21 Ulrich Drepper <drepper@gmail.com>
37132
c196fed8
UD
37133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37134 compilation problems.
37135
8ec250a4
UD
37136 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37137 __builtin_expect.
37138
8d4f46c6
UD
371392011-10-20 Ulrich Drepper <drepper@gmail.com>
37140
ed72b654
UD
37141 * sysdeps/i386/configure.in: Test for -mfma4 option.
37142 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37143 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37144 COMMON_CPUID_INDEX_80000001.
37145 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37146 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37147 use it if FMA3 is not supported.
37148 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37149
8d4f46c6
UD
37150 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37151 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37152
d45c60c2
AS
371532011-10-20 Andreas Schwab <schwab@redhat.com>
37154
37155 [BZ #12892]
37156 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37157 it would create a cycle with a link time dependency.
37158
d9a4d2ab
UD
371592011-10-19 Ulrich Drepper <drepper@gmail.com>
37160
855d1560
UD
37161 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37162 instruction.
37163 * string/Makefile (strop-tests): Add rawmemchr.
37164 * string/test-rawmemchr.c: New file.
37165
d9a4d2ab
UD
37166 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37167 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37168 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37169 when compiling str{,n}casecmp and when AVX is available. Hook up
37170 new optimized code in initializers.
37171
8f3b1ffe
AS
371722011-10-19 Andreas Schwab <schwab@redhat.com>
37173
37174 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37175 __feraiseexcept instead of feraiseexcept.
37176
d38f1dba
UD
371772011-10-18 Ulrich Drepper <drepper@gmail.com>
37178
d9a8d0ab
UD
37179 * math/math_private.h: Define defaults for libc_fetestexcept and
37180 libc_feupdateenv.
37181 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37182 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37183 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37184 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37185 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37186 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37187 libc_fetestexcept and libc_feupdateenv.
37188
4855e3dd
UD
37189 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37190 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37191 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37192 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37193 libc_feholdexcept_setround.
37194
581d30e3
UD
37195 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37196 Add s_nearbyint-c and s_nearbyintf-c.
37197 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37198 nearbyintf inlines.
37199 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37200 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37201 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37202 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37203
d38f1dba
UD
37204 * math/math_private.h: Define defaults for libc_fegetround,
37205 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37206 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37207 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37208 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37209 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37210 standard functions.
37211 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37212 Remove comments and hacks for old compiler versions.
37213 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37214 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37215 libc_feholdexceptl.
37216
caa6c9d8
AS
372172011-10-18 Andreas Schwab <schwab@redhat.com>
37218
37219 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37220 (__feraiseexcept_renamed): Add __NTH.
37221 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37222 namespace violations.
37223
97c066e6
UD
372242011-10-17 Ulrich Drepper <drepper@gmail.com>
37225
99ce7b04
UD
37226 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37227
1004d182
UD
37228 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37229
228a984d
UD
37230 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37231 recently added interfaces.
37232 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37233
c8553a6a
UD
37234 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37235 about macro parameter expansion.
37236
ed22dcf6
UD
37237 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37238 __NO_MATH_INLINES is defined. Cleanups.
37239
37240 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37241 and __floorf is target has SSE4.1.
37242 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37243 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37244 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37245 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37246
b171c137
UD
37247 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37248 name.
37249 (floorf): Likewise.
37250
97c066e6
UD
37251 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37252
629f62ef
AS
372532011-10-17 Andreas Schwab <schwab@redhat.com>
37254
49a43d80
AS
37255 * misc/sys/cdefs.h: Fix last change.
37256
629f62ef
AS
37257 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37258 database lookup.
37259
e453f6cd
UD
372602011-10-16 Ulrich Drepper <drepper@gmail.com>
37261
aa78043a
UD
37262 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37263
ad0f5cad
UD
37264 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37265 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37266 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37267 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37268 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37269 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37270 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37271 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37272 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37273 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37274 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37275 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37276 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37277 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37278 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37279 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37280 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37281 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37282 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37283 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37284 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37285 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37286
37287 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37288 ceil, ceilf, floor, floorf.
37289
37290 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37291 Perform IRELATIVE relocations last.
37292
e453f6cd
UD
37293 * elf/do-rel.h: Add another parameter nrelative, replacing the
37294 local variable with the same name. Change name of the function
37295 to end in Rel or Rela (uppercase).
37296 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37297 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37298 elf_dynamic_do_##reloc function.
37299
fd5bdc09
UD
373002011-10-15 Ulrich Drepper <drepper@gmail.com>
37301
79b195b5
UD
37302 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37303 is sufficient, at least on modern CPUs.
37304
d4a28569
UD
37305 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37306
b61099b5
UD
37307 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37308 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37309
bcf01e6d
UD
37310 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37311 __expl_finite.
37312 * math/bits/math-finite.h: Add entries for exp.
37313 * math/e_expl.c: Add __*_finite alias.
37314 * sysdeps/i386/fpu/e_exp.S: Likewise.
37315 * sysdeps/i386/fpu/e_expf.S: Likewise.
37316 * sysdeps/i386/fpu/e_expl.c: Likewise.
37317 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37318 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37319 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37321 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37322 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37323 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37324
ba1a0d59
UD
37325 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37326 is sufficient, at least on modern CPUs.
37327
fd5bdc09
UD
37328 * ctype/ctype-info.c (__ctype_init): Define.
37329 * include/ctype.h (__ctype_init): Declare.
37330 (__ctype_b_loc): The variable is always initialized.
37331 (__ctype_toupper_loc): Likewise.
37332 (__ctype_tolower_loc): Likewise.
37333 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37334 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37335
7872cfb0
AS
373362011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37337
b468825a
AS
37338 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37339
7872cfb0
AS
37340 * configure.in: Also look in $cxxmachine/include for C++ system
37341 headers.
37342
be13f7bf
LD
373432011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37344
37345 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37346 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37347 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37348 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37349 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37350 (USE_AS_WMEMCMP): New macro.
37351 Fixing indents.
37352 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37353 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37354 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37355 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37356 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37357 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37358 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37359 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37360 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37361 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37362 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37363 (USE_AS_WMEMCMP): New macro.
37364 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37365 * sysdeps/string/test-memcmp.c: Update.
37366 Fix simple_wmemcmp.
37367 Add new tests.
37368 * wcsmbs/wmemcmp.c: Update.
37369 (WMEMCMP): New macro.
37370 Fix overflow bug.
37371
556a2007
AJ
373722011-10-12 Andreas Jaeger <aj@suse.de>
37373
37374 [BZ #13268]
37375 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37376
538faaa7
UD
373772011-10-15 Ulrich Drepper <drepper@gmail.com>
37378
ab6737ff
UD
37379 * libio/iofwide.c (do_length): Avoid warning.
37380
538faaa7
UD
37381 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37382
396a21b1
UD
373832011-10-14 Ulrich Drepper <drepper@gmail.com>
37384
cdf2901f
UD
37385 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37386
38ad40ce
UD
37387 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37388 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37389 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37390 * sysdeps/i386/i686/fpu/e_log.S: New file.
37391 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37392 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37393
396a21b1
UD
37394 * ctype/ctype.h: Add support for inlined isXXX functions when
37395 compiling C++ code.
37396
6b1f68c9
AS
373972011-10-14 Andreas Schwab <schwab@redhat.com>
37398
349290c0
AS
37399 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37400
6b1f68c9
AS
37401 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37402
f2282d42
RM
374032011-10-13 Roland McGrath <roland@hack.frob.com>
37404
37405 [BZ #13291]
37406 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37407
5298ffa8
AS
374082011-10-13 Andreas Schwab <schwab@redhat.com>
37409
714fad23
AS
37410 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37411 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37412 feraiseexcept.
37413
81dcc7fb
AS
37414 * sysdeps/x86_64/memrchr.S: Check for zero size.
37415
5298ffa8
AS
37416 * string/stratcliff.c: Add memrchr tests.
37417
951fbcec
LD
374182011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37419
37420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37421 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37422 rawmemchr-sse2 rawmemchr-sse2-bsf.
37423 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37424 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37425 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37426 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37427 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37428 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37429 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37430 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37431 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37432 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37433 * string/memrchr.c (MEMRCHR): New macro.
37434
0ac5ae23
UD
374352011-10-12 Ulrich Drepper <drepper@gmail.com>
37436
37437 Add integration with gcc's -ffinite-math-only and optimize wrapper
37438 functions in libm.
37439 * Versions.def: Define GLIBC_2.15 version for libm.
37440 * math/Makefile (headers): Add bits/math-finite.h.
37441 * math/bits/math-finite.h: New file.
37442 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37443 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37444 * math/e_acoshl.c: Add __*_finite alias.
37445 * math/e_acosl.c: Likewise.
37446 * math/e_asinl.c: Likewise.
37447 * math/e_atan2l.c: Likewise.
37448 * math/e_atanhl.c: Likewise.
37449 * math/e_coshl.c: Likewise.
37450 * math/e_exp10.c: Likewise.
37451 * math/e_exp10f.c: Likewise.
37452 * math/e_exp10l.c: Likewise.
37453 * math/e_exp2l.c: Likewise.
37454 * math/e_fmodl.c: Likewise.
37455 * math/e_gammal_r.c: Likewise.
37456 * math/e_hypotl.c: Likewise.
37457 * math/e_j0l.c: Likewise.
37458 * math/e_j1l.c: Likewise.
37459 * math/e_jnl.c: Likewise.
37460 * math/e_lgammal_r.c: Likewise.
37461 * math/e_log10l.c: Likewise.
37462 * math/e_log2l.c: Likewise.
37463 * math/e_logl.c: Likewise.
37464 * math/e_powl.c: Likewise.
37465 * math/e_sinhl.c: Likewise.
37466 * math/e_sqrtl.c: Likewise.
37467 * math/e_scalb.c: Completely rewritten and optimized.
37468 * math/e_scalbf.c: Likewise.
37469 * math/e_scalbl.c: Likewise.
37470 * math/w_acos.c: Likewise.
37471 * math/w_acosf.c: Likewise.
37472 * math/w_acosl.c: Likewise.
37473 * math/w_acosh.c: Likewise.
37474 * math/w_acoshf.c: Likewise.
37475 * math/w_acoshl.c: Likewise.
37476 * math/w_asin.c: Likewise.
37477 * math/w_asinf.c: Likewise.
37478 * math/w_asinl.c: Likewise.
37479 * math/w_atan2.c: Likewise.
37480 * math/w_atan2f.c: Likewise.
37481 * math/w_atan2l.c: Likewise.
37482 * math/w_atanh.c: Likewise.
37483 * math/w_atanhf.c: Likewise.
37484 * math/w_atanhl.c: Likewise.
37485 * math/w_exp10.c: Likewise.
37486 * math/w_exp10f.c: Likewise.
37487 * math/w_exp10l.c: Likewise.
37488 * math/w_fmod.c: Likewise.
37489 * math/w_fmodf.c: Likewise.
37490 * math/w_fmodl.c: Likewise.
37491 * math/w_j0.c: Likewise.
37492 * math/w_j0f.c: Likewise.
37493 * math/w_j0l.c: Likewise.
37494 * math/w_j1.c: Likewise.
37495 * math/w_j1f.c: Likewise.
37496 * math/w_j1l.c: Likewise.
37497 * math/w_jn.c: Likewise.
37498 * math/w_jnf.c: Likewise.
37499 * math/w_log.c: Likewise.
37500 * math/w_logf.c: Likewise.
37501 * math/w_logl.c: Likewise.
37502 * math/w_log10.c: Likewise.
37503 * math/w_log10f.c: Likewise.
37504 * math/w_log10l.c: Likewise.
37505 * math/w_log2.c: Likewise.
37506 * math/w_log2f.c: Likewise.
37507 * math/w_log2l.c: Likewise.
37508 * math/w_pow.c: Likewise.
37509 * math/w_powf.c: Likewise.
37510 * math/w_powl.c: Likewise.
37511 * math/w_remainder.c: Likewise.
37512 * math/w_remainderf.c: Likewise.
37513 * math/w_remainderl.c: Likewise.
37514 * math/w_scalb.c: Likewise.
37515 * math/w_scalbf.c: Likewise.
37516 * math/w_scalbl.c: Likewise.
37517 * math/w_sqrt.c: Likewise.
37518 * math/w_sqrtf.c: Likewise.
37519 * math/w_sqrtl.c: Likewise.
37520 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37521 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37522 used.
37523 * math/math_private.h: Declare __kernel_standard_f.
37524 * math/w_cosh.c: Remove cruft and optimize a bit.
37525 * math/w_coshf.c: Likewise.
37526 * math/w_coshl.c: Likewise.
37527 * math/w_exp2.c: Likewise.
37528 * math/w_exp2f.c: Likewise.
37529 * math/w_exp2l.c: Likewise.
37530 * math/w_hypot.c: Likewise.
37531 * math/w_hypotf.c: Likewise.
37532 * math/w_hypotl.c: Likewise.
37533 * math/w_lgamma.c: Likewise.
37534 * math/w_lgamma_r.c: Likewise.
37535 * math/w_lgammaf.c: Likewise.
37536 * math/w_lgammaf_r.c: Likewise.
37537 * math/w_lgammal.c: Likewise.
37538 * math/w_lgammal_r.c: Likewise.
37539 * math/w_sinh.c: Likewise.
37540 * math/w_sinhf.c: Likewise.
37541 * math/w_sinhl.c: Likewise.
37542 * math/w_tgamma.c: Likewise.
37543 * math/w_tgammaf.c: Likewise.
37544 * math/w_tgammal.c: Likewise.
37545 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37547 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37548 Minor optimizations. Pretty printing. Remove cruft.
37549 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37550 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37551 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37552 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37553 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37554 * sysdeps/i386/fpu/e_asin.S: Likewise.
37555 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37556 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37557 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37558 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37559 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37560 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37561 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37562 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37563 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37564 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37565 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37566 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37567 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37568 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37569 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37570 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37571 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37572 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37573 * sysdeps/i386/fpu/e_log.S: Likewise.
37574 * sysdeps/i386/fpu/e_log10.S: Likewise.
37575 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37576 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37577 * sysdeps/i386/fpu/e_log2.S: Likewise.
37578 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37579 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37580 * sysdeps/i386/fpu/e_logf.S: Likewise.
37581 * sysdeps/i386/fpu/e_logl.S: Likewise.
37582 * sysdeps/i386/fpu/e_pow.S: Likewise.
37583 * sysdeps/i386/fpu/e_powf.S: Likewise.
37584 * sysdeps/i386/fpu/e_powl.S: Likewise.
37585 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37586 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37587 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37588 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37589 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37590 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37591 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37592 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37593 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37595 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37597 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37605 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37607 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37608 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37610 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37612 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37613 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37614 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37615 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37616 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37617 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37618 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37619 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37620 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37621 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37622 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37623 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37624 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37625 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37626 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37627 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37628 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37629 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37630 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37631 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37632 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37633 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37634 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37635 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37636 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37637 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37638 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37639 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37640 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37641 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37642 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37643 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37644 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37645 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37646 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37647 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37648 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37649 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37650 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37651 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37652 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37653 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37654 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37655 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37656 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37657 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37658 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37659 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37660 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37661 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37662 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37663 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37664 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37665 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37666 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37667 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37668 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37669 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37670 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37672 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37673 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37674 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37675 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37677 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37678 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37679 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37680 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37681 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37682 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37683 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37684 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37685 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37686 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37687 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37688 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37689 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37690 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37691 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37692 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37693 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37694 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37695 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37696 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37697 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37698 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37699 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37700 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37701 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37702 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37703 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37704 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37705 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37706 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37707 (__isnanf): Likewise.
37708 (__isinf_ns): Likewise.
37709 (__isinf_nsf): Likewise.
37710 (__finite): Likewise.
37711 (__finitef): Likewise.
37712 (__ieee754_sqrt): Define as macro.
37713 (__ieee754_sqrtf): Define as macro.
37714 (__ieee754_sqrtl): Define as macro.
37715 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37716 inlined copy.
37717 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37718 __FINITE_MATH_ONLY__ consistent.
37719 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37720
12cc2fcd
AS
377212011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37722
a843a204
AS
37723 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37724 of rawmemchr.
37725
12cc2fcd
AS
37726 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37727
c853acd5
UD
377282011-10-09 Ulrich Drepper <drepper@gmail.com>
37729
37730 * po/ja.po: Update from translation team.
37731
c658d255
RM
377322011-10-08 Roland McGrath <roland@hack.frob.com>
37733
110946e4
RM
37734 * locale/programs/locarchive.c (prepare_address_space): New function.
37735 (create_archive, enlarge_archive, open_archive): Use it.
37736
50604220
RM
37737 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37738 inside [SHARED], where it is used.
37739
c658d255
RM
37740 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37741
37742 * nss/getent.c (netgroup_keys): Remove unused variable.
37743 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37744
6a621eb7
UD
377452011-10-08 Ulrich Drepper <drepper@gmail.com>
37746
7edb55ce
UD
37747 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37748 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37750 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37751 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37752 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37753 * math/Makefile (libm-calls): Add s_isinf_ns.
37754 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37755 * math/multc3.c: Likewise.
37756 * math/s_casin.c: Likewise.
37757 * math/s_casinf.c: Likewise.
37758 * math/s_casinl.c: Likewise.
37759 * math/s_ccos.c: Likewise.
37760 * math/s_ccosf.c: Likewise.
37761 * math/s_ccosl.c: Likewise.
37762 * math/s_ctan.c: Likewise.
37763 * math/s_ctanf.c: Likewise.
37764 * math/s_ctanh.c: Likewise.
37765 * math/s_ctanhf.c: Likewise.
37766 * math/s_ctanhl.c: Likewise.
37767 * math/s_ctanl.c: Likewise.
37768 * math/w_fmod.c: Likewise.
37769 * math/w_fmodf.c: Likewise.
37770 * math/w_fmodl.c: Likewise.
37771 * math/w_remainder.c: Likewise.
37772 * math/w_remainderf.c: Likewise.
37773 * math/w_remainderl.c: Likewise.
37774 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37775 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37776 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37778 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37779 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37780 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37781 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37782
187da0ae
UD
37783 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37784 of the number.
37785 * stdio-common/printf_fphex.c: Likewise.
37786 * stdio-common/printf_size.c: Likewise.
37787
9277c064
UD
37788 * math/e_exp10.c: Include math_private.h using <...> not "...".
37789 * math/e_exp10f.c: Likewise.
37790 * math/e_exp10l.c: Likewise.
37791 * math/e_exp2l.c: Likewise.
37792 * math/e_j0l.c: Likewise.
37793 * math/e_j1l.c: Likewise.
37794 * math/e_jnl.c: Likewise.
37795 * math/e_lgammal_r.c: Likewise.
37796 * math/e_rem_pio2l.c: Likewise.
37797 * math/e_scalb.c: Likewise.
37798 * math/e_scalbf.c: Likewise.
37799 * math/e_scalbl.c: Likewise.
37800 * math/k_cosl.c: Likewise.
37801 * math/k_sinl.c: Likewise.
37802 * math/k_tanl.c: Likewise.
37803 * math/s_cacoshf.c: Likewise.
37804 * math/s_catan.c: Likewise.
37805 * math/s_catanf.c: Likewise.
37806 * math/s_catanh.c: Likewise.
37807 * math/s_catanhf.c: Likewise.
37808 * math/s_catanhl.c: Likewise.
37809 * math/s_catanl.c: Likewise.
37810 * math/s_ccosh.c: Likewise.
37811 * math/s_ccoshf.c: Likewise.
37812 * math/s_ccoshl.c: Likewise.
37813 * math/s_cexp.c: Likewise.
37814 * math/s_cexpf.c: Likewise.
37815 * math/s_cexpl.c: Likewise.
37816 * math/s_clog.c: Likewise.
37817 * math/s_clog10.c: Likewise.
37818 * math/s_clog10f.c: Likewise.
37819 * math/s_clog10l.c: Likewise.
37820 * math/s_clogf.c: Likewise.
37821 * math/s_clogl.c: Likewise.
37822 * math/s_csin.c: Likewise.
37823 * math/s_csinf.c: Likewise.
37824 * math/s_csinh.c: Likewise.
37825 * math/s_csinhf.c: Likewise.
37826 * math/s_csinhl.c: Likewise.
37827 * math/s_csinl.c: Likewise.
37828 * math/s_csqrt.c: Likewise.
37829 * math/s_csqrtf.c: Likewise.
37830 * math/s_csqrtl.c: Likewise.
37831 * math/s_ctan.c: Likewise.
37832 * math/s_ctanf.c: Likewise.
37833 * math/s_ctanh.c: Likewise.
37834 * math/s_ctanhf.c: Likewise.
37835 * math/s_ctanhl.c: Likewise.
37836 * math/s_ctanl.c: Likewise.
37837 * math/s_ldexp.c: Likewise.
37838 * math/s_ldexpf.c: Likewise.
37839 * math/s_ldexpl.c: Likewise.
37840 * math/s_significand.c: Likewise.
37841 * math/s_significandf.c: Likewise.
37842 * math/s_significandl.c: Likewise.
37843 * math/w_acos.c: Likewise.
37844 * math/w_acosf.c: Likewise.
37845 * math/w_acosh.c: Likewise.
37846 * math/w_acoshf.c: Likewise.
37847 * math/w_acoshl.c: Likewise.
37848 * math/w_acosl.c: Likewise.
37849 * math/w_asin.c: Likewise.
37850 * math/w_asinf.c: Likewise.
37851 * math/w_asinl.c: Likewise.
37852 * math/w_atan2.c: Likewise.
37853 * math/w_atan2f.c: Likewise.
37854 * math/w_atan2l.c: Likewise.
37855 * math/w_atanh.c: Likewise.
37856 * math/w_atanhf.c: Likewise.
37857 * math/w_atanhl.c: Likewise.
37858 * math/w_cosh.c: Likewise.
37859 * math/w_coshf.c: Likewise.
37860 * math/w_coshl.c: Likewise.
37861 * math/w_dremf.c: Likewise.
37862 * math/w_exp10.c: Likewise.
37863 * math/w_exp10f.c: Likewise.
37864 * math/w_exp10l.c: Likewise.
37865 * math/w_exp2.c: Likewise.
37866 * math/w_exp2f.c: Likewise.
37867 * math/w_fmod.c: Likewise.
37868 * math/w_fmodf.c: Likewise.
37869 * math/w_fmodl.c: Likewise.
37870 * math/w_hypot.c: Likewise.
37871 * math/w_hypotf.c: Likewise.
37872 * math/w_hypotl.c: Likewise.
37873 * math/w_j0.c: Likewise.
37874 * math/w_j0f.c: Likewise.
37875 * math/w_j0l.c: Likewise.
37876 * math/w_j1.c: Likewise.
37877 * math/w_j1f.c: Likewise.
37878 * math/w_j1l.c: Likewise.
37879 * math/w_jn.c: Likewise.
37880 * math/w_jnf.c: Likewise.
37881 * math/w_jnl.c: Likewise.
37882 * math/w_lgamma.c: Likewise.
37883 * math/w_lgamma_r.c: Likewise.
37884 * math/w_lgammaf.c: Likewise.
37885 * math/w_lgammaf_r.c: Likewise.
37886 * math/w_lgammal.c: Likewise.
37887 * math/w_lgammal_r.c: Likewise.
37888 * math/w_log.c: Likewise.
37889 * math/w_log10.c: Likewise.
37890 * math/w_log10f.c: Likewise.
37891 * math/w_log10l.c: Likewise.
37892 * math/w_log2.c: Likewise.
37893 * math/w_log2f.c: Likewise.
37894 * math/w_log2l.c: Likewise.
37895 * math/w_logf.c: Likewise.
37896 * math/w_logl.c: Likewise.
37897 * math/w_pow.c: Likewise.
37898 * math/w_powf.c: Likewise.
37899 * math/w_powl.c: Likewise.
37900 * math/w_remainder.c: Likewise.
37901 * math/w_remainderf.c: Likewise.
37902 * math/w_remainderl.c: Likewise.
37903 * math/w_scalb.c: Likewise.
37904 * math/w_scalbf.c: Likewise.
37905 * math/w_scalbl.c: Likewise.
37906 * math/w_sinh.c: Likewise.
37907 * math/w_sinhf.c: Likewise.
37908 * math/w_sinhl.c: Likewise.
37909 * math/w_sqrt.c: Likewise.
37910 * math/w_sqrtf.c: Likewise.
37911 * math/w_sqrtl.c: Likewise.
37912 * math/w_tgamma.c: Likewise.
37913 * math/w_tgammaf.c: Likewise.
37914 * math/w_tgammal.c: Likewise.
37915
6a621eb7
UD
37916 * po/ja.po: Update from translation team.
37917
bf582445
AJ
379182011-09-29 Andreas Jaeger <aj@suse.de>
37919
f9efbf3a
AJ
37920 [BZ #13179]
37921 * sunrpc/netname.c (netname2host): Fix logic.
37922
bf582445
AJ
37923 [BZ #6779]
37924 [BZ #6783]
37925 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37926 correctly.
37927 * math/w_remainder.c (__remainder): Likewise.
37928 * math/w_remainderf.c (__remainderf): Likewise.
37929 * math/libm-test.inc (remainder_test): Add test cases.
37930
48693bea
AK
379312011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37932
37933 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37934 sdiv_qrnnd.
37935
42622229
LD
379362011-10-07 Ulrich Drepper <drepper@gmail.com>
37937
37938 * string/test-memcmp.c: Avoid unncessary #defines.
37939 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37940
093ecf92
LD
379412011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37942
37943 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37944 Use new sse2 version for core i3 - i7 as it's faster
37945 than sse42 version.
37946 (bit_Prefer_PMINUB_for_stringop): New.
37947 * sysdeps/x86_64/rawmemchr.S: Update.
37948 Replace with faster SSE2 version.
37949 * sysdeps/x86_64/memrchr.S: New file.
37950 * sysdeps/x86_64/memchr.S: Update.
37951 Replace with faster SSE2 version.
37952
fde56e5c
MP
379532011-09-12 Marek Polacek <mpolacek@redhat.com>
37954
37955 * elf/dl-load.c (lose): Add cast to avoid warning.
37956
21fd49a9
UD
379572011-10-07 Ulrich Drepper <drepper@gmail.com>
37958
5a06e643
UD
37959 * po/ca.po: Update from translation team.
37960
684ae515
UD
37961 * inet/getnetgrent_r.c: Hook up nscd.
37962 * nscd/Makefile (routines): Add nscd_netgroup.
37963 (nscd-modules): Add netgroupcache.
37964 (CFLAGS-netgroupcache.c): Define.
37965 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37966 (cache_search): Add const to second parameter.
37967 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37968 INNETGR.
37969 (dbs): Add netgrdb entry.
37970 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37971 (verify_persistent_db): Handle netgrdb.
37972 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37973 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37974 GETFDNETGR.
37975 (netgroup_response_header): Define.
37976 (innetgroup_response_header): Define.
37977 (datahead): Add netgroup_response_header and innetgroup_response_header
37978 elements.
37979 * nscd/nscd.conf: Add entries for netgroup cache.
37980 * nscd/nscd.h (dbtype): Add netgrdb.
37981 (_PATH_NSCD_NETGROUP_DB): Define.
37982 (netgroup_iov_disabled): Declare.
37983 (xmalloc, xcalloc, xrealloc): Move declarations here.
37984 (cache_search): Adjust prototype.
37985 Add netgroup-related prototypes.
37986 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37987 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37988 (__nscd_innetgr): Declare.
37989 * nscd/selinux.c (perms): Use access_vector_t as element type and
37990 add netgroup-related initializers.
37991 * nscd/netgroupcache.c: New file.
37992 * nscd/nscd_netgroup.c: New file.
37993 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37994 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37995 For four parameters use innetgr.
37996 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37997 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37998 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37999 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38000
21fd49a9
UD
38001 * nscd/connections.c (register_traced_file): Don't register file
38002 for disabled databases.
38003
054c0457
UD
380042011-10-06 Ulrich Drepper <drepper@gmail.com>
38005
32b63198
UD
38006 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38007
054c0457
UD
38008 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38009 from tree and freeing node.
38010
64031225
JO
380112011-09-25 Jiri Olsa <jolsa@redhat.com>
38012
38013 * nss/nsswitch.c (__nss_database_lookup): Handle
38014 nss_parse_service_list out of memory case.
38015
0490345c
JO
380162011-09-15 Jiri Olsa <jolsa@redhat.com>
38017
38018 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38019 out of memory case.
38020
3a62d00d
AS
380212011-10-04 Andreas Schwab <schwab@redhat.com>
38022
38023 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38024 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38025 pass it down.
38026 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38027 elf_machine_rela, elf_machine_lazy_rel.
38028 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38029 (ELF_DYNAMIC_DO_REL): Likewise.
38030 (ELF_DYNAMIC_DO_RELA): Likewise.
38031 (ELF_DYNAMIC_RELOCATE): Likewise.
38032 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38033 to ELF_DYNAMIC_DO_REL.
38034 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38035 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38036 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38037 elf_machine_rela.
38038 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38039 skip_ifunc, don't call ifunc function if non-zero.
38040 (elf_machine_rela): Likewise.
38041 (elf_machine_lazy_rel): Likewise.
38042 (elf_machine_lazy_rela): Likewise.
38043 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38044 (elf_machine_lazy_rel): Likewise.
38045 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38046 Likewise.
38047 (elf_machine_lazy_rel): Likewise.
38048 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38049 Likewise.
38050 (elf_machine_lazy_rel): Likewise.
38051 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38052 (elf_machine_lazy_rel): Likewise.
38053 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38054 (elf_machine_lazy_rel): Likewise.
38055 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38056 (elf_machine_lazy_rel): Likewise.
38057 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38058 (elf_machine_lazy_rel): Likewise.
38059 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38060 (elf_machine_lazy_rel): Likewise.
38061 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38062 (elf_machine_lazy_rel): Likewise.
38063
68577918
UD
380642011-09-28 Ulrich Drepper <drepper@gmail.com>
38065
38066 * nss/nss_files/files-init.c (_nss_files_init): Use static
38067 initialization for all the *_traced_file variables.
38068
68822d74
AS
380692011-09-28 Andreas Schwab <schwab@redhat.com>
38070
38071 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38072
2056100b
RM
380732011-09-27 Roland McGrath <roland@hack.frob.com>
38074
38075 [BZ #13226]
38076 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38077
32c76b63
AS
380782011-09-27 Andreas Schwab <schwab@redhat.com>
38079
38080 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38081 Reread the line before reparsing it.
38082
bf972c9d
AS
380832011-09-26 Andreas Schwab <schwab@redhat.com>
38084
38085 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38086
e057a1b5
JM
380872011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38088 Maxim Kuvyrkov <maxim@codesourcery.com>
38089 Joseph Myers <joseph@codesourcery.com>
38090
38091 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38092 if needed for __stack_chk_guard.
38093
bc7e1c36
RM
380942011-09-19 Roland McGrath <roland@hack.frob.com>
38095
ecb1482f
RM
38096 * sysdeps/posix/spawni.c (script_execute): Always define it.
38097 It will be optimized away if unused.
38098 (maybe_script_execute): New function.
38099 (__spawni): Call it.
38100
bc7e1c36
RM
38101 * Makerules: Don't include tls.make.
38102 (config-tls): Always set to thread.
38103 * tls.make.c: File removed.
38104
1c3b002b
MF
381052011-09-19 Mike Frysinger <vapier@gentoo.org>
38106
38107 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38108 * config.make.in (CPPFLAGS-config): New substituted variable.
38109
2840865d
UD
381102011-09-15 Ulrich Drepper <drepper@gmail.com>
38111
88738eb6
UD
38112 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38113
cbf645a6 38114 [BZ #13192]
2840865d
UD
38115 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38116 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38117
b402e91a
RM
381182011-09-15 Roland McGrath <roland@hack.frob.com>
38119
38120 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38121 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38122 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38123 (CALL_FAIL): Likewise.
38124 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38125 (CALL_FAIL): Macro removed.
38126 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38127
4c1a1f71
UD
381282011-09-15 Ulrich Drepper <drepper@gmail.com>
38129
38130 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38131 for __FINITE_MATH_ONLY__ == 1.
38132
edc121be
AS
381332011-09-15 Andreas Schwab <schwab@redhat.com>
38134
38135 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38136 __ieee754_sqrt instead of sqrt.
38137 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38138 __ieee754_sqrtf instead of sqrtf.
38139 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38140 __floorf instead of floorf.
38141 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38142 __floorf, __truncf instead of floorf, truncf.
38143
cd205654
UD
381442011-09-14 Ulrich Drepper <drepper@gmail.com>
38145
ee4d0315
UD
38146 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38147
cd205654
UD
38148 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38149 __extern_always_inline.
38150 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38151 32-bit.
38152
48b67d71
AS
381532011-09-14 Andreas Schwab <schwab@redhat.com>
38154
38155 * elf/rtld.c (dl_main): Also relocate in dependency order when
38156 doing symbol dependency testing.
38157
1ae12c75
AS
381582011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38159
38160 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38161 Always define `refsym'.
38162
995a80df
AS
381632011-09-13 Andreas Schwab <schwab@redhat.com>
38164
e529793b
AS
38165 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38166 (__FD_ELT): Renamed from __FDELT.
38167 * misc/bits/select2.h (__FD_ELT): Likewise.
38168 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38169 __FD_MASK instead of __FDELT, __FDMASK.
38170 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38171 Likewise.
38172 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38173 Likewise.
38174
52d4fef8
AS
38175 * elf/Makefile (gen-ldd): Fix pattern.
38176
995a80df
AS
38177 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38178 (init_tls): Likewise.
38179
8682f8b0
UD
381802011-09-12 Ulrich Drepper <drepper@gmail.com>
38181
38182 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38183
de82006d
AS
381842011-09-12 Andreas Schwab <schwab@redhat.com>
38185
a7c8e6a1
AS
38186 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38187 `struct cmsghdr *' instead of `void *'.
38188 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38189 Likewise.
38190
0f31fe77
AS
381912011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38192
38193 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38194 if non-absolute.
38195 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38196 ldd_rewrite_script.
0f31fe77 38197
32b4c839
UD
381982011-09-11 Ulrich Drepper <drepper@gmail.com>
38199
83cd1420
UD
38200 * configure.in: Remove --with-tls option.
38201 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38202 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38203 out in case it is missing.
38204 * sysdeps/ia64/elf/configure.in: Likewise.
38205 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38206 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38207 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38208 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38209 * sysdeps/sh/elf/configure.in: Likewise.
38210 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38211 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38212 * sysdeps/x86_64/elf/configure.in: Likewise.
38213 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38214 * sysdeps/mach/hurd/tls.h: Likewise.
38215
633f745d
UD
38216 [BZ #13067]
38217 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38218
f318beb8
UD
38219 [BZ #13090]
38220 * configure.in: Fix use of AC_INIT.
38221
32b4c839
UD
38222 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38223
3ce1f295
UD
382242011-09-10 Ulrich Drepper <drepper@gmail.com>
38225
bb016596
UD
38226 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38227 __set_errno.
8e58439c
UD
38228 * malloc/hooks.c: Likewise.
38229
aebae053 38230 [BZ #11929]
02d46fc4
UD
38231 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38232 variables statically.
38233 (narenas): Initialize.
38234 (list_lock): Initialize.
bb016596
UD
38235 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38236 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38237 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38238 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38239 Add initializers to main_arena and mp_.
38240 (malloc_state): Remove pagesize member. Change all users to use
38241 GLRO(dl_pagesize).
38242
38243 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38244 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38245 is always initialized.
38246
22a89187
UD
38247 * malloc/malloc.c: Removed unused configurations and dead code.
38248 * malloc/arena.c: Likewise.
38249 * malloc/hooks.c: Likewise.
02d46fc4 38250 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38251
d063d164
UD
38252 * include/tls.h: Removed. USE___THREAD must always be defined.
38253 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38254 * elf/dl-libc.c: Likewise.
38255 * elf/dl-tsd.c: Likewise.
38256 * include/errno.h: Likewise.
38257 * include/netdb.h: Likewise.
38258 * include/resolv.h: Likewise.
38259 * inet/herrno-loc.c: Likewise.
38260 * inet/herrno.c: Likewise.
38261 * malloc/arena.c: Likewise.
38262 * malloc/hooks.c: Likewise.
38263 * malloc/malloc.c: Likewise.
38264 * resolv/res-state.c: Likewise.
38265 * resolv/res_libc.c: Likewise.
38266 * sysdeps/i386/dl-machine.h: Likewise.
38267 * sysdeps/ia64/dl-machine.h: Likewise.
38268 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38269 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38270 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38271 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38272 * sysdeps/sh/dl-machine.h: Likewise.
38273 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38274 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38275 * sysdeps/unix/i386/sysdep.S: Likewise.
38276 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38277 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38279 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38280 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38282 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38283 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38285 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38286 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38287 * sysdeps/x86_64/dl-machine.h: Likewise.
38288 * tls.make.c: Likewise.
38289
3ce1f295
UD
38290 * configure.in: Remove --with-__thread option. Make tests for
38291 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38292 tls_model attribute fail if no support is available. Remove
38293 USE_IN_LIBIO.
38294 * Makeconfig: Adjust for dropped configure option. All features are
38295 now mandatory.
38296 * Makerules: Likewise.
38297 * Versions.def: Likewise.
38298 * argp/argp-fmtstream.c: Likewise.
38299 * argp/argp-fmtstream.h: Likewise.
38300 * argp/argp-help.c: Likewise.
38301 * assert/assert.c: Likewise.
38302 * config.h.in: Likewise.
38303 * config.make.in: Likewise.
38304 * configure: Likewise.
38305 * configure.in: Likewise.
38306 * csu/Versions: Likewise.
38307 * csu/init.c: Likewise.
38308 * elf/tst-audit2.c: Likewise.
38309 * elf/tst-tls10.c: Likewise.
38310 * elf/tst-tls10.h: Likewise.
38311 * elf/tst-tls11.c: Likewise.
38312 * elf/tst-tls12.c: Likewise.
38313 * elf/tst-tls14.c: Likewise.
38314 * elf/tst-tlsmod11.c: Likewise.
38315 * elf/tst-tlsmod12.c: Likewise.
38316 * elf/tst-tlsmod13.c: Likewise.
38317 * elf/tst-tlsmod13a.c: Likewise.
38318 * elf/tst-tlsmod14a.c: Likewise.
38319 * elf/tst-tlsmod15b.c: Likewise.
38320 * elf/tst-tlsmod16a.c: Likewise.
38321 * elf/tst-tlsmod16b.c: Likewise.
38322 * elf/tst-tlsmod7.c: Likewise.
38323 * elf/tst-tlsmod8.c: Likewise.
38324 * elf/tst-tlsmod9.c: Likewise.
38325 * gmon/gmon.c: Likewise.
38326 * grp/fgetgrent_r.c: Likewise.
38327 * grp/putgrent.c: Likewise.
38328 * hurd/fopenport.c: Likewise.
38329 * include/libc-symbols.h: Likewise.
38330 * include/tls.h: Likewise.
38331 * intl/gettextP.h: Likewise.
38332 * intl/loadinfo.h: Likewise.
38333 * locale/global-locale.c: Likewise.
38334 * locale/localeinfo.h: Likewise.
38335 * mach/devstream.c: Likewise.
38336 * malloc/arena.c: Likewise.
38337 * malloc/set-freeres.c: Likewise.
38338 * misc/err.c: Likewise.
38339 * misc/getttyent.c: Likewise.
38340 * misc/mntent_r.c: Likewise.
38341 * posix/getopt.c: Likewise.
38342 * posix/wordexp.c: Likewise.
38343 * pwd/fgetpwent_r.c: Likewise.
38344 * resolv/Versions: Likewise.
38345 * resolv/res_hconf.c: Likewise.
38346 * shadow/fgetspent_r.c: Likewise.
38347 * shadow/putspent.c: Likewise.
38348 * stdio-common/printf_fphex.c: Likewise.
38349 * stdio-common/tmpfile.c: Likewise.
38350 * stdlib/abort.c: Likewise.
38351 * stdlib/fmtmsg.c: Likewise.
38352 * sunrpc/auth_unix.c: Likewise.
38353 * sunrpc/clnt_perr.c: Likewise.
38354 * sunrpc/clnt_tcp.c: Likewise.
38355 * sunrpc/clnt_udp.c: Likewise.
38356 * sunrpc/clnt_unix.c: Likewise.
38357 * sunrpc/openchild.c: Likewise.
38358 * sunrpc/svc_simple.c: Likewise.
38359 * sunrpc/svc_tcp.c: Likewise.
38360 * sunrpc/svc_udp.c: Likewise.
38361 * sunrpc/svc_unix.c: Likewise.
38362 * sunrpc/xdr.c: Likewise.
38363 * sunrpc/xdr_array.c: Likewise.
38364 * sunrpc/xdr_rec.c: Likewise.
38365 * sunrpc/xdr_ref.c: Likewise.
38366 * sunrpc/xdr_stdio.c: Likewise.
38367
1248c1c4
PB
383682011-09-09 Ulrich Drepper <drepper@gmail.com>
38369
38370 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38371
383722011-07-03 Andreas Jaeger <aj@suse.de>
38373
38374 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38375 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38376 regenerate with gen-libm-tests.pl.
38377
383782010-05-12 Petr Baudis <pasky@suse.cz>
38379
38380 [BZ #11589]
38381 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38382 around j0() zero points by switching to j1().
38383 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38384 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38386 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38387
f22e1074
UD
383882011-09-09 Ulrich Drepper <drepper@gmail.com>
38389
f19009c1
UD
38390 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38391 instead of 0.
38392 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38393 instead of 0.
f19009c1
UD
38394 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38395 Patch in part by Pavel Roskin <proski@gnu.org>.
38396
3f8cc204
UD
38397 [BZ #13138]
38398 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38399 realloc.
38400 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38401 Free memory block if necessary.
38402
f22e1074
UD
38403 [BZ #12847]
38404 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38405 be NULL. Don't lock in this case.
38406
0a2349f9
RM
384072011-09-09 Roland McGrath <roland@hack.frob.com>
38408
38409 * elf/elf.h (ELFOSABI_GNU): New macro.
38410 (ELFOSABI_LINUX): Define to that.
38411
f3cdd467
DZ
384122011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38413
38414 * string/strncat.c (strncat): Undef the symbol in case it has been
38415 defined in bits/string.h.
38416
74718d13
UD
384172011-09-09 Ulrich Drepper <drepper@gmail.com>
38418
633e9e0f
UD
38419 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38420
0a2349f9 38421 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38422 link map.
38423
f9924780
AJ
384242011-08-17 Andreas Jaeger <aj@suse.de>
38425
38426 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38427
7f5517aa
PP
384282011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38429 Ian Lance Taylor <iant@google.com>
38430
38431 * math/libm-test.inc (lround_test): New testcase.
38432 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38433
762011fe
UD
384342011-09-08 Ulrich Drepper <drepper@gmail.com>
38435
92963737
UD
38436 * Makefile: Remove support for automatic cvs check-ins.
38437 * Makerules: Likewise.
38438 * config.make.in: Likewise.
38439 * configure.in: Likewise.
38440 * intl/Makefile: Likewise.
38441 * locale/Makefile: Likewise.
38442 * po/Makefile: Likewise.
38443 * posix/Makefile: Likewise.
38444 * sysdeps/gnu/Makefile: Likewise.
38445 * sysdeps/mach/hurd/Makefile: Likewise.
38446 * sysdeps/sparc/sparc32/Makefile: Likewise.
38447
b0727fd8
JS
38448 [BZ #13118]
38449 * posix/Makefile (bug-regex32-ENV): Define.
38450 Patch by John Stanley <jpsinthemix@verizon.net>.
38451
a0f33f99
UD
38452 * misc/Makefile (headers): Add bits/select2.h.
38453 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38454 * misc/bits/select2.h: New file.
38455 * include/bits/select2.h: New file.
38456 * debug/Makefile (routines): Add fdelt_chk.
38457 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38458 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38459 FD_ISSET.
38460 * debug/fdelt_chk.c: New file.
38461
762011fe
UD
38462 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38463 * wcsmbs/test-wmemcmp.c: Likewise.
38464 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38465 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38466
384672011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38468
38469 * string/Makefile (strop-tests): Add memcmp.
38470 * string/test-wmemcmp.c: New file.
38471 * string/test-memcmp.c: Add wmemcmp support.
38472
7f513ec8
RM
384732011-09-08 Roland McGrath <roland@hack.frob.com>
38474
0442afb4
RM
38475 [BZ #13153]
38476 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38477 2011-07-19 change.
38478
7f513ec8
RM
38479 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38480 garbage value in a __mach_port_mod_refs call in the cases of the
38481 task-self and thread-self ports.
38482
a12b2239
ST
384832011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38484
38485 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38486
610f9ab4
AS
384872011-09-08 Andreas Schwab <schwab@redhat.com>
38488
7f513ec8 38489 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38490
48882a1a
LD
384912011-09-07 Ulrich Drepper <drepper@gmail.com>
38492
b49865be
UD
38493 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38494
fdc86bc9
UD
38495 * elf/dl-libc.c (dlerror_run): Pass back error code from
38496 dl_catch_error.
38497
c966526a
UD
38498 [BZ #13123]
38499 * elf/dl-load.c (lose): Free l_origin if it is valid.
38500
48882a1a
LD
38501 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38502 names.
38503 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38504 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38505 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38506 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38507 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38508 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38509
77a2a8b4
AZ
385102011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38511
38512 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38513 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38514 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38515 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38516 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38517 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38518 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38519 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38520 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38521 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38522
24f579d8
AM
385232011-08-15 Alan Modra <amodra@gmail.com>
38524
38525 [BZ #13092]
38526 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38527 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38528 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38529 ppc_mcount to static-only-routines.
38530 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38531 __mcount_internal.
38532 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38533 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38534
3d4837df
UD
385352011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38536
38537 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38538 for finite and infinity parameters.
38539
22700377
WS
385402011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38541
38542 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38543 and add nop instructions for throughput optimization.
38544 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38545
5025581e
WS
385462011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38547
38548 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38549 aligned copy for power7 with vector-scalar instructions.
38550 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38551
08a300c9
L
385522011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38553
38554 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38555 AVX check.
38556
59178ef9
AS
385572011-09-07 Andreas Schwab <schwab@redhat.com>
38558
38559 [BZ #13144]
38560 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38561 last change.
38562
e38ba7ab
UD
385632011-09-07 Ulrich Drepper <drepper@gmail.com>
38564
38565 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38566 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38567 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38568 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38569 clock_gettime.
38570
d53a73ac
UD
385712011-09-06 Ulrich Drepper <drepper@gmail.com>
38572
fc8bffcc
UD
38573 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38574 Forgot to demangle the pointer.
38575
ceaa0c5d
UD
38576 * sysdeps/i386/sysdep.h: Define atom_text_section.
38577 * sysdeps/x86_64/sysdep.h: Likewise.
38578 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38579 section with atom_text_section.
38580 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38581 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38582 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38583 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38584 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38585
a77d3c17
UD
38586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38587 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38588 already be defined. Change to take two parameters and don't assign
38589 result to variable. Adjust all users.
38590 Define INTERNAL_GETTIME if not already defined.
38591 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38592 call.
38593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38594 HAVE_CLOCK_GETTIME_VSYSCALL.
38595 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38596
d53a73ac
UD
38597 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38598 gettimeofday vsyscall, just use time.
38599
a8f84144
AS
386002011-09-06 Andreas Schwab <schwab@redhat.com>
38601
38602 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38603 <errno.h>.
38604
ef606249
UD
386052011-09-06 Ulrich Drepper <drepper@gmail.com>
38606
38607 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38608 syscall on x86-64.
38609 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38610 syscall.
38611 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38612 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38613 syscall if possible.
38614
6585cb60
UD
386152011-09-05 Ulrich Drepper <drepper@gmail.com>
38616
38617 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38618 e_ident. Don't pass to find_mapsXX.
38619 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38620
a5f524e4
LD
386212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38622
38623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38624 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38625 * sysdeps/x86_64/multiarch/strchr.S: Update.
38626 Check bit_slow_BSF bit.
38627 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38628 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38629 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38630
554881ef
UD
386312011-09-05 Ulrich Drepper <drepper@gmail.com>
38632
d96de963
UD
38633 [BZ #13134]
38634 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38635 before glibc 2.15.
38636 (tryshell): Define.
38637 (__spawni): Change last parameter to be flag. Test
38638 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38639 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38640 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38641 * posix/spawni.c: Likewise.
38642 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38643 * posix/spawnp.c: Likewise. Change normal version to use
38644 SPAWN_XFLAGS_USE_PATH.
38645 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38646 SPAWN_XFLAGS_TRY_SHELL.
38647
d48e5868
UD
38648 [BZ #13150]
38649 * posix/glob.h: Remove gcc 1.x support.
38650
554881ef
UD
38651 [BZ #13068]
38652 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38653
693fb948
LD
386542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38655
38656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38657 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38658 strrchr-sse2-bsf
38659 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38660 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38661 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38662 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38663 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38664 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38665
1b48c537
UD
386662011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38667
49d42c37
UD
38668 * sysdeps/x86_64/wcscmp.S: New file.
38669
1b48c537
UD
38670 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38671 wcscmp-c wcscmp-sse2
38672 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38673 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38674 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38675 * wcsmbs/wcscmp.c: Allow renaming.
38676
15c95c5d
DM
386772011-09-05 David S. Miller <davem@davemloft.net>
38678
38679 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38680 stack slot, rather than the struct return pointer slot.
38681 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38682 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38684 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38685
2f0ad8f3
UD
386862011-09-05 Ulrich Drepper <drepper@gmail.com>
38687
d88ae418
UD
38688 * po/ja.po: Update from translation team.
38689
2f0ad8f3
UD
38690 [BZ #13144]
38691 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38692 kernel in 64-bit binaries.
38693
5f4318d1
DM
386942011-09-01 David S. Miller <davem@davemloft.net>
38695
38696 * elf/elf.h (HWCAP_SPARC_*): Move to..
38697 * sysdeps/sparc/sysdep.h: this new file and add new values.
38698 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38699 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38700 _DL_HWCAP_COUNT to 24.
38701 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38702 entries.
38703 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38704 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38705 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38707 instead of magic constants.
38708 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38709
3ba57516
DM
387102011-08-31 David S. Miller <davem@davemloft.net>
38711
38712 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38713 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38714 Reimplement to do errno handling inline.
38715 (SYSCALL_ERROR_HANDLER): New macro.
38716 (__SYSCALL_STRING): Do not do errno handling in asm.
38717 (__CLONE_SYSCALL_STRING): Delete.
38718 (__INTERNAL_SYSCALL_STRING): Delete.
38719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38720 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38721 (PSEUDO): Reimplement to do errno handling inline.
38722 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38723 (SYSCALL_ERROR_HANDLER): New macro.
38724 (__SYSCALL_STRING): Do not do errno handling in asm.
38725 (__CLONE_SYSCALL_STRING): Delete.
38726 (__INTERNAL_SYSCALL_STRING): Delete.
38727 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38728 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38729 i386.
38730 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38731 (inline_syscall*): Add 'err' argument.
38732 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38733 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38734 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38735 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38736
38737 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38738 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38739
2bc17433
AS
387402011-08-30 Andreas Schwab <schwab@redhat.com>
38741
38742 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38743
fbeb5f4d
JO
387442011-08-29 Jiri Olsa <jolsa@redhat.com>
38745
38746 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38747 directive.
38748
ad69cc26
DM
387492011-08-24 David S. Miller <davem@davemloft.net>
38750
38751 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38752
39dd69df
AS
387532011-08-24 Andreas Schwab <schwab@redhat.com>
38754
38755 * elf/Makefile: Add rules to build and run unload8 test.
38756 * elf/unload8.c: New file.
38757 * elf/unload8mod1.c: New file.
38758 * elf/unload8mod1x.c: New file.
38759 * elf/unload8mod2.c: New file.
38760 * elf/unload8mod3.c: New file.
38761
38762 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38763 it wasn't used.
38764
2c0b250a
DM
387652011-08-23 David S. Miller <davem@davemloft.net>
38766
38767 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38768 subtract stack bias.
38769 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38770 %sp not %fp in calculations.
38771 (_JMPBUF_UNWINDS_ADJ): Likewise.
38772
22044b48
DM
38773 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38774 (aio_suspend): Call it to force an exception region around the
38775 AIO_MISC_WAIT() invocation.
38776
2cae4995
AS
387772011-08-23 Andreas Schwab <schwab@redhat.com>
38778
38779 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38780 backslash.
38781
873a772e
AJ
387822011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38783
38784 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38785 protection macro.
38786 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38787 and <dl-machine.h>.
38788 (Elf64_FuncDesc): Remove.
38789
25ad0df1
DM
387902011-08-22 David S. Miller <davem@davemloft.net>
38791
38792 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38793 sigaltstack check, add missing cfi directives.
38794 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38795 missing cfi directives, and sigaltstack handling.
38796
e888bcbe
AS
387972011-08-16 Andreas Schwab <schwab@redhat.com>
38798
38799 [BZ #11724]
38800 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38801 object is seen twice.
38802 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38803
38804 * elf/Makefile (distribute): Add tst-initorder2.c.
38805 (tests): Add tst-initorder2.
38806 (modules-names): Add tst-initorder2a tst-initorder2b
38807 tst-initorder2c tst-initorder2d. Add rules to build them.
38808 ($(objpfx)tst-initorder2.out): New rule.
38809 * elf/tst-initorder2.c: New file.
38810 * elf/tst-initorder2.exp: New file.
38811
87162f46
AS
388122011-08-22 Andreas Schwab <schwab@redhat.com>
38813
70538b7f
AS
38814 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38815
f55ffe58
AS
38816 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38817 dependencies back to end of function.
38818
87162f46
AS
38819 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38820 $(elfobjdir)/ld.so.
38821
91b392a4
UD
388222011-08-21 Ulrich Drepper <drepper@gmail.com>
38823
38824 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38825 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38826 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38827 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38828 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38829 of __vdso_gettimeofday.
38830 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38831 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38832 attribute_hidden.
38833 (_libc_vdso_platform_setup): Remove initialization of
38834 __vdso_gettimeofday and __vdso_time.
38835
5c43483f
UD
388362011-08-20 Ulrich Drepper <drepper@gmail.com>
38837
775a77e7
UD
38838 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38839 and fgetc_unlocked.
38840 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38841 getc_unlocked.
89f447ed 38842
49c74ba9
UD
38843 * elf/dl-open.c (add_to_global): Report additions to the global scope
38844 for LD_DEBUG=scopes.
38845 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38846 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38847
5c43483f
UD
38848 [BZ #13114]
38849 * stdio-common/Makefile (tests): Add bug24.
38850 * stdio-common/bug24.c: New file.
38851
a101b025
AJ
388522011-08-19 Andreas Jaeger <aj@suse.de>
38853
38854 [BZ #13114]
38855 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38856 non-existant file when using close-on-exec mode.
38857
c88f1766
UD
388582011-08-20 Ulrich Drepper <drepper@gmail.com>
38859
0276a718
UD
38860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38861 the very first instruction.
38862
c88f1766
UD
38863 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38864 the CFI state in the end.
38865 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38866 inclusion of dl-trampoline.h.
38867 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38868
51ccffa0
AS
388692011-08-19 Andreas Schwab <schwab@redhat.com>
38870
94d7165f
AS
38871 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38872 expectations for long double.
38873
51ccffa0
AS
38874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38875 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38876
fd708658 388772011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38878
38879 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38880 artificual limit depends upon the system page size.
38881
44f0a71e
UD
388822011-08-17 Ulrich Drepper <drepper@gmail.com>
38883
38884 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38885 * resolv/Makefile: Define CFLAGS-libresolv.
38886
8de79a24
AS
388872011-08-17 Andreas Schwab <schwab@redhat.com>
38888
38889 * nss/makedb.c (compute_tables): Make variables used in nested
38890 function static.
38891
27724598
UD
388922011-08-17 Ulrich Drepper <drepper@gmail.com>
38893
c5305d88
UD
38894 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38895 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38896 if buffer was too small.
38897
27724598
UD
38898 * elf/pldd.c (main): Attach to all threads in the process.
38899 Rewrite /proc handling to use *at functions.
38900
076fe015
UD
389012011-08-16 Ulrich Drepper <drepper@gmail.com>
38902
174baab3
UD
38903 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38904 specifies first scope to show.
38905 (dl_open_worker): Update callers. Move printing scope of new
38906 object to before the relocation.
44f0a71e 38907 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38908 * sysdeps/generic/ldsodefs.h: Update declaration.
38909
076fe015
UD
38910 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38911 string for the scope number.
38912
a60df2c3
UD
389132011-08-14 Ulrich Drepper <drepper@gmail.com>
38914
38915 * nscd/servicescache.c (cache_addserv): Make sure written is always
38916 initialized.
38917
5e4287d1
RM
389182011-08-14 Roland McGrath <roland@hack.frob.com>
38919
85ae0589
RM
38920 * sysdeps/i386/i486/bits/atomic.h
38921 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38922 statement expression, so as to suppress "set but not used" warning.
38923 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38924
69f63097
RM
38925 * string/strncat.c (STRNCAT): Use prototype definition.
38926
675456ef
RM
38927 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38928 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38929 -Iprograms here.
38930 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38931 (localedef-modules): Add localedef.
38932 (locale-modules): Add locale.
38933
5e4287d1
RM
38934 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38935 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38936 to avoid a warning.
38937
9c96ff23
DM
389382011-08-14 David S. Miller <davem@davemloft.net>
38939
38940 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38941 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38942
f9ddf089
UD
389432011-08-13 Ulrich Drepper <drepper@gmail.com>
38944
44f0a71e 38945 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38946 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38947 * elf/rtld.c (dl_main): Set l_name of vDSO.
38948 Call _dl_show_scope when DL_DEBUG_SCOPES.
38949 (process_dl_debug): Recognize scopes flag and also set it for all.
38950 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38951 Declare _dl_show_scope.
38952
1dc27704
UD
38953 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38954 (do_dlopen): Pass caller_dlopen to dl_open.
38955 (__libc_dlopen_mode): Initialize caller_dlopen.
38956
f9ddf089
UD
38957 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38958 of libc. Make tolower call locale-independent. Optimize a bit by
38959 using isdigit instead of isalnum.
38960 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38961
9ac533d3
UD
389622011-08-12 Ulrich Drepper <drepper@gmail.com>
38963
38964 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38965 was a dependency or dynamically loaded.
38966
89edf2e9
UD
389672011-08-11 Ulrich Drepper <drepper@gmail.com>
38968
8e999d29
UD
38969 * intl/l10nflist.c: Allow architecture-specific pop function.
38970 * sysdeps/x86_64/l10nflist.c: New file.
38971
89edf2e9
UD
38972 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38973 classification.
38974
14d96785
AS
389752011-08-10 Andreas Schwab <schwab@redhat.com>
38976
38977 * include/dirent.h: Add libc_hidden_proto for scandirat and
38978 scandirat64. Don't declare __scandirat64.
38979 * dirent/scandirat.c: Add libc_hidden_def.
38980 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38981 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38982
6761ac04
DM
389832011-08-10 David S. Miller <davem@davemloft.net>
38984
38985 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38986 enum.
38987 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38989 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38990
c55fbd1e
UD
389912011-08-09 Ulrich Drepper <drepper@gmail.com>
38992
38993 * Versions.def [libc]: Add GLIBC_2.15.
38994 * dirent/Makefile (routines): Add scandirat and scandirat64.
38995 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38996 GLIBC_2.15.
38997 * dirent/dirent.h: Declare scandirat and scandirat64.
38998 * dirent/scandirat.c: New file.
38999 * dirent/scandirat64.c: New file.
39000 * sysdeps/wordsize-64/scandirat.c: New file.
39001 * sysdeps/wordsize-64/scandirat64.c: New file.
39002 * dirent/opendir.c: Define opendirat.
39003 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39004 using scandirat.
39005 * dirent/scandir64.c: Adjust for scandir.c change.
39006 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39007 __scandirat64, and __scandir_cancel_handler.
39008 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39009 additional parameter and use openat instead of open (outside of ld.so).
39010 Add new __opendir as wrapper around __opendirat.
39011 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39012 here without requiring old scandirat implementation.
39013
879165f2
UD
390142011-08-08 Ulrich Drepper <drepper@gmail.com>
39015
39016 * dirent/scandir.c (cancel_handler): Renamed to
39017 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39018 defined. Adjust users.
39019 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39020 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39021
cb7e923b
UD
390222011-08-04 Ulrich Drepper <drepper@gmail.com>
39023
16292edd
UD
39024 * string/test-string.h (IMPL): Use __STRING to expand name and then
39025 stringify it.
39026
cb7e923b
UD
39027 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39028 of cleanups.
39029
cff82933
LD
390302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39031
39032 * string/Makefile: Update.
39033 (strop-tests): Append strncat.
39034 * string/test-wcscmp.c: New file.
39035 New comprehensive test for wcscmp.
39036 * string/test-strcmp.c: Update.
39037 (WIDE): New define.
39038
9be9bfcc
AS
390392011-07-22 Andreas Schwab <schwab@redhat.com>
39040
39041 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39042 line.
39043
2e96f1c7
AS
390442011-07-26 Andreas Schwab <schwab@redhat.com>
39045
39046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39047 encoding to ACE if AI_IDN.
39048
85188888
JJ
390492011-08-01 Jakub Jelinek <jakub@redhat.com>
39050
39051 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39052 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39053
5fa16e9b
LD
390542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39055
39056 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39057 Fix overflow bug in strncat.
39058 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39059
39060 * string/test-strncat.c: Update.
39061 Add new tests for checking overflow bugs.
39062
390632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39064
39065 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39066 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39067 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39068 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39069 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39070 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39071 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39072 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39073 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39074
39075 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39076 (USE_AS_STRCAT): Define.
39077 Add strcat and strncat support.
39078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39079
8c1a459f
AS
390802011-07-25 Andreas Schwab <schwab@redhat.com>
39081
39082 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39083 __n bigger than INT_MAX+1.
39084 (__strncmp_g): Likewise.
39085
bba33c28
UD
390862011-07-23 Ulrich Drepper <drepper@gmail.com>
39087
798be72d
UD
39088 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39089 * libio/stido.h: Likewise.
39090
8accd4dc
UD
39091 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39092 (AF_NFC): Define.
39093 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39094 (AF_NFC): Define.
39095
cbff0d96
UD
39096 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39097 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39098 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39099 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39100 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39101
9191c04a
UD
39102 [BZ #13021]
39103 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39104 installed.
39105
bba33c28
UD
39106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39107 typo.
39108 (_dl_x86_64_save_sse): Likewise.
39109
90f139dd
UD
391102011-07-22 Ulrich Drepper <drepper@gmail.com>
39111
1aae088a
UD
39112 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39113 OSXSAVE.
39114 (_dl_x86_64_save_sse): Likewise.
39115
8e2045f5
UD
39116 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39117
90f139dd
UD
39118 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39119
1d002f25
AS
391202011-07-21 Andreas Schwab <schwab@redhat.com>
39121
39122 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39123 change.
39124 (_dl_x86_64_save_sse): Use correct AVX check.
39125
21137f89
UD
391262011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39127
39128 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39129 bug in strncpy/strncat.
39130 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39131
a65c0b7a
UD
391322011-07-21 Ulrich Drepper <drepper@gmail.com>
39133
39134 * string/tester.c (test_strcat): Add tests for different alignments
39135 of source and destination.
39136 (test_strncat): Likewise.
39137
6986b98a
UD
391382011-07-20 Ulrich Drepper <drepper@gmail.com>
39139
90bb2039
UD
39140 [BZ #12852]
39141 * posix/glob.c (glob): Check passed in values before using them in
39142 expressions to avoid some overflows.
39143 (glob_in_dir): Likewise.
39144
5644ef54
UD
39145 [BZ #13007]
39146 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39147 check for AVX enablement so that we don't crash with old kernels and
39148 new hardware.
39149 * elf/tst-audit4.c: Add same checks here.
39150 * elf/tst-audit6.c: Likewise.
39151
39152 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39153
bfc9dc9b
AS
391542011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39155
39156 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39157
702e64bb
UD
391582011-07-20 Ulrich Drepper <drepper@gmail.com>
39159
39160 * po/cs.po: Update from translation team.
39161 * po/bg.po: Likewise.
39162
295e904f
MP
391632011-07-12 Marek Polacek <mpolacek@redhat.com>
39164
39165 * misc/sys/cdefs.h: Add support for const attribute.
39166 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39167 to gnu_dev_{major,minor,makedev} functions.
39168
3ff94596
MP
391692011-07-20 Marek Polacek <mpolacek@redhat.com>
39170
39171 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39172
28b59fca
AS
391732011-07-20 Andreas Schwab <schwab@redhat.com>
39174
39175 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39176 strlen results.
39177
19df733e
AK
391782011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39179
39180 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39181 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39182 register in order to avoid conflicts with the soft frame pointer
39183 being held in r11 when necessary.
39184 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39185 (INTERNAL_VSYSCALL_NCS): Likewise.
39186
c8835729
MP
391872011-07-14 Marek Polacek <mpolacek@redhat.com>
39188
39189 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39190 * elf/dl-fini.c (_dl_fini): Adjust caller.
39191 * elf/dl-close.c (_dl_close_worker): Likewise.
39192 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39193
b902330c
MP
391942011-07-15 Marek Polacek <mpolacek@redhat.com>
39195
8991e135
MP
39196 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39197 "aux_cache->nlibs < 0".
39198
b902330c
MP
39199 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39200 in the reload-count case.
39201
99710781
LD
392022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39203
39204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39205 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39206 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39207 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39208 * sysdeps/x86_64/multiarch/strcat.S: New file.
39209 * sysdeps/x86_64/multiarch/strncat.S: New file.
39210 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39211 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39212 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39213 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39214 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39215 (USE_AS_STRCAT): Define.
39216 Add strcat and strncat support.
39217 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39218 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39219 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39220 * string/strncat.c: Update.
39221 (USE_AS_STRNCAT): Define.
39222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39223 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39224 and i7.
39225 * sysdeps/x86_64/multiarch/init-arch.h
39226 (bit_Prefer_PMINUB_for_stringop): New.
39227 (index_Prefer_PMINUB_for_stringop): Likewise.
39228 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39229 bit_Prefer_PMINUB_for_stringop.
39230
7dc6bd90
UD
392312011-07-19 Ulrich Drepper <drepper@gmail.com>
39232
39233 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39234 buffer64.
39235 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39236 of casting of buffer.
39237 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39238 buffer32 and buffer64.
39239 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39240 writes instead of casting of buffer.
39241 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39242 buffer32.
39243 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39244 casting of buffer.
39245
e0e72284
AS
392462011-07-19 Andreas Schwab <schwab@redhat.com>
39247
39248 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39249
feb1eb0b
UD
392502011-07-19 Ulrich Drepper <drepper@gmail.com>
39251
39252 * nscd/nscd.c (termination_handler): Don't do anything for a database
39253 if it has not yet been initialized.
39254
298711ff
UD
392552011-07-18 Ulrich Drepper <drepper@gmail.com>
39256
39257 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39258
392592011-07-15 Marek Polacek <mpolacek@redhat.com>
39260
39261 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39262
f9d68389
UD
392632011-07-18 Ulrich Drepper <drepper@gmail.com>
39264
39265 * po/nl.po: Update from translation team.
39266 * po/sv.po: Likewise.
39267
db290cf5
RM
392682011-07-16 Roland McGrath <roland@hack.frob.com>
39269
39270 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39271 now disallowed by GCC.
5c550700 39272
fd5e21c7
RM
39273 * configure.in (use-default-link): Default to yes if a test -shared
39274 link meets our qualifications.
39275 * configure: Regenerated.
39276
5c550700
RM
39277 * config.make.in (output-format): New variable.
39278 * configure.in: Check for ld --print-output-format support.
39279 * configure: Regenerated.
39280 * Makerules ($(common-objpfx)format.lds)
39281 [$(output-format) != unknown]: Just use $(output-format),
39282 instead of the linker-script munging.
39283
9fa2c032
RM
392842011-07-14 Roland McGrath <roland@hack.frob.com>
39285
a6928d51
RM
39286 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39287 of $(common-objpfx)shlib.lds.
39288 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39289
661607b3
RM
39290 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39291 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39292
9fa2c032
RM
39293 * configure.in (-z relro check): Adjust test code to add a large
39294 writable data section after it.
39295 * configure: Regenerated.
39296
defe9061
RM
392972011-07-11 Roland McGrath <roland@hack.frob.com>
39298
39299 * configure.in (-z relro check): Fix test code to make the variable
39300 truly const.
39301 * configure: Regenerated.
39302
319b9ad4
UD
393032011-07-11 Ulrich Drepper <drepper@gmail.com>
39304
39305 * nscd/nscd.h (struct traced_file): Define.
39306 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39307 elements. Add traced_files.
39308 (inotify_fd): Declare.
39309 (register_traced_file): Declare.
39310 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39311 (inotify_fd): Export.
39312 (resolv_conf_descr): Remove.
39313 (nscd_init): Move inotify descriptor creation to main.
39314 Don't register files for notification here.
39315 (register_traced_file): New function.
39316 (invalidate_cache): Don't use reset_res to determine whether to call
39317 res_init, go through the list of registered files.
39318 (main_loop_poll): The inotify descriptors are now stored in the
39319 structures for the traced files.
39320 (main_loop_epoll): Likewise
39321 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39322 to __nss_disable_nscd.
39323 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39324 for a database anymore. Check the records for all the registered
39325 files instead.
39326 * nss/Makefile (libnss_files-routines): Add files-init.
39327 (libnss_db-routines): Add db-init.
39328 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39329 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39330 * nss/nss_db/db-init.c: New file.
39331 * nss/nss_files/files-init.c: New file.
39332 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39333 __nss_lookup_function.
39334 (__nss_lookup_function): Call nss_load_library.
39335 (nss_load_all_libraries): New function.
39336 (__nss_disable_nscd): Take parameter with callback function for files
39337 to register. Set is_nscd. Load all the DSOs for the NSS modules
39338 used for the cached services.
39339 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39340 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39341 options for features to all the files in nscd.
39342
39343 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39344
23bee3e8
RM
393452011-07-10 Roland McGrath <roland@hack.frob.com>
39346
39347 * csu/elf-init.c (__libc_csu_init): Comment typo.
39348
46a5b7f0
UD
393492011-07-09 Ulrich Drepper <drepper@gmail.com>
39350
39351 * po/pl.po: Update from translation team.
39352 * po/ja.po: Likewise.
39353 * po/ru.po: Likewise.
39354 * po/ko.po: Likewise.
39355 * po/fr.po: Likewise.
39356
d30cf5bb
RM
393572011-07-09 Roland McGrath <roland@hack.frob.com>
39358
113ddea4
RM
39359 * configure.in (.ctors/.dtors header and trailer check):
39360 Use an empirical test on a built program.
39361 * configure: Regenerated.
39362
574920b4
RM
39363 * configure.in (-z relro check): Use an empirical test on a built DSO.
39364 Detect, but do not require, on ia64.
39365 * configure: Regenerated.
39366
d30cf5bb
RM
39367 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39368 Update tests that use readelf to use $READELF instead.
39369 * configure: Regenerated.
39370
8538fdb3
UD
393712011-07-08 Ulrich Drepper <drepper@gmail.com>
39372
39373 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39374 if the result is not used.
39375
04d08991
AJ
393762011-07-05 Andreas Jaeger <aj@suse.de>
39377
39378 [BZ#9696]
39379 * stdlib/tst-strtod.c: Add testcase.
39380
de283087
AD
393812011-07-07 Ulrich Drepper <drepper@gmail.com>
39382
4e5f31c8 39383 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39384 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39385 The latter has a higher limit. Take additional parameter to pass to
39386 the new function.
39387 (__pathconf): Pass file to __statfs_link_max.
39388 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39389 __statfs_link_max.
39390 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39391 __statfs_link_max.
39392
de283087
AD
39393 [BZ #12868]
39394 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39395 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39396 Handle Lustre.
39397 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39398 (__statfs_filesize_max): Likewise.
39399 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39400
c75fa153
AJ
394012011-07-05 Andreas Jaeger <aj@suse.de>
39402
39403 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39404
1a544854
UD
394052011-07-06 Marek Polacek <mpolacek@redhat.com>
39406
39407 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39408 `status' variable.
39409 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39410 Likewise.
39411
6f0eec67
UD
394122011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39413
39414 * Makefile (strop-tests): Add strncat.
39415 * string/test-strncat.c: New file.
39416
aae30307
UD
394172011-06-30 Marek Polacek <mpolacek@redhat.com>
39418
39419 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39420
c0cfb5eb
UD
394212011-06-21 Andreas Jaeger <aj@suse.de>
39422
39423 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39424 Copy rule from iconvdata/Makefile.
39425
01636b21
UD
394262011-07-06 Ulrich Drepper <drepper@gmail.com>
39427
39428 [BZ #12922]
39429 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39430 but no long options are defined, just return 'W'.
39431
9895c8bc
UD
394322011-06-22 Marek Polacek <mpolacek@redhat.com>
39433
39434 [BZ #9696]
39435 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39436
5d4cf042
UD
394372011-07-06 Ulrich Drepper <drepper@gmail.com>
39438
39439 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39440 netgroups to read.
960e5535 39441 (innetgr): Likewise.
5d4cf042 39442
751eb97e
RM
394432011-07-05 Roland McGrath <roland@hack.frob.com>
39444
39445 * config.make.in (install_root): Default to $(DESTDIR).
39446
f15f1e45
UD
394472011-07-05 Ulrich Drepper <drepper@gmail.com>
39448
39449 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39450
4e34ac6a
RM
394512011-07-02 Roland McGrath <roland@hack.frob.com>
39452
5e9b6af4
RM
39453 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39454
84f9ea0f
RM
39455 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39456 containing directory rather than embedding absolute directory names.
39457
ea5ee9f7
RM
39458 * scripts/check-local-headers.sh: Rewritten using awk.
39459 Match by word, not by line. Print error messages for matches.
39460 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39461
1b74661a
RM
39462 * Makerules [shlib-lds-flags empty]:
39463 ($(common-objpfx)libc_pic.opts): New target.
39464 ($(common-objpfx)libc_pic.os.clean): New target.
39465 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39466
39467 * config.make.in (OBJCOPY): New variable.
39468 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39469 * configure: Regenerated.
39470
f781ef40
RM
39471 * config.make.in (use-default-link): New variable.
39472 * configure.in (use_default_link): Grok --with-default-link to set it.
39473 * configure: Regenerated.
39474 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39475 (shlib-lds, shlib-lds-flags): Define to empty.
39476
2d4fa81e
RM
39477 * Makerules (shlib-lds): New variable.
39478 (shlib-lds-flags): New variable.
39479 (build-shlib, build-moduile, build-module-asneeded): Use it.
39480 ($(common-objpfx)libc.so): Use $(shlib-lds).
39481 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39482 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39483
31fffa6b
RM
39484 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39485 DT_FLAGS/DT_FLAGS_1 with zero flags.
39486
4e34ac6a
RM
39487 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39488 linker script munging.
39489
fcfc776b
UD
394902011-07-02 Ulrich Drepper <drepper@gmail.com>
39491
39492 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39493 as 128-bit value.
39494 * crypt/sha512.c (sha512_process_block): Perform total addition using
39495 128-bit if possible.
39496 (__sha512_finish_ctx): Likewise.
39497 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39498 as 64-bit value.
39499 * crypt/sha256.c (SWAP64): Define.
39500 (sha256_process_block): Perform total addition using 64-bit if
39501 possible.
39502 (__sha256_finish_ctx): Likewise.
39503
99231d9a
UD
395042011-07-01 Ulrich Drepper <drepper@gmail.com>
39505
39506 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39507 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39508 * nscd/hstcache.c (cache_addhst): Likewise.
39509 * nscd/grpcache.c (cache_addgr): Likewise.
39510 * nscd/aicache.c (addhstaiX): Likewise
39511 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39512
445b4a53
TK
395132011-07-01 Thorsten Kukuk <kukuk@suse.de>
39514
39515 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39516 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39517 * nscd/hstcache.c (cache_addhst): Likewise.
39518 * nscd/grpcache.c (cache_addgr): Likewise.
39519 * nscd/aicache.c (addhstaiX): Likewise
39520
6d4d8e8e
AS
395212011-07-01 Andreas Schwab <schwab@redhat.com>
39522
39523 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39524 domain only when needed.
39525
89f654c5
AS
395262011-06-30 Andreas Schwab <schwab@redhat.com>
39527
39528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39529 is always restored.
39530
cf3b23ff
UD
395312011-06-29 Ulrich Drepper <drepper@gmail.com>
39532
39533 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39534 are re-adding the entry.
39535 * nscd/servicescache.c (cache_addserv): Likewise.
39536
751626f9
AJ
395372011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39538
39539 * sysdeps/generic/dl-irel.h: fix protection against multiple
39540 inclusions.
39541 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39542
9113ea1f
UD
395432011-06-28 Ulrich Drepper <drepper@gmail.com>
39544
5c0b8d90
UD
39545 [BZ #12935]
39546 * malloc/memusage.sh: Fix quoting in message.
39547 * debug/xtrace.sh: Likewise.
39548
9113ea1f
UD
39549 * configure.in: Remove support for --experimental-malloc option, make
39550 it the default.
39551 * config.make.in: Likewise.
39552 * malloc/Makefile: Likewise.
39553
a4172181
AS
395542011-06-27 Andreas Schwab <schwab@redhat.com>
39555
39556 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39557 two-byte characters.
39558
78a7eee7
RM
395592011-06-27 Roland McGrath <roland@hack.frob.com>
39560
62bede13
RM
39561 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39562 AC_CACHE_CHECK invocation.
39563 * configure: Regenerated.
39564
78a7eee7
RM
39565 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39566
5ce33a62
UD
395672011-06-27 Ulrich Drepper <drepper@gmail.com>
39568
034807a9
UD
39569 [BZ #12350]
39570 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39571 bit from old_res_options.
39572
4902da17
UD
39573 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39574
5ce33a62
UD
39575 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39576 value type for setfct.
39577
c2344f56
L
395782011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39579
39580 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39581 __gettimeofday instead of gettimeofday.
39582
68468076
UD
395832011-06-26 Ulrich Drepper <drepper@gmail.com>
39584
39585 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39586
acb0d739
L
395872011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39588
39589 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39590
39591 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39592 info.
39593
8912479f
L
395942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39595
39596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39597 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39598 strcpy-sse2-unaligned strncpy-sse2-unaligned
39599 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39600 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39601 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39602 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39603 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39604 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39605 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39606 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39607 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39608 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39609 (STRCPY): Support SSE2 and SSSE3 versions.
39610
d5495a11
UD
396112011-06-24 Ulrich Drepper <drepper@gmail.com>
39612
39613 [BZ #12874]
39614 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39615 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39616 kernels which artificially limit size of requests.
39617
0b1cbaae
L
396182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39619
39620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39621 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39622 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39623 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39624 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39625 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39626 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39627 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39628 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39629 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39630 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39631 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39632 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39633 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39634 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39636 Enable unaligned load optimization for Intel Core i3, i5 and i7
39637 processors.
39638 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39639 Define.
39640 (index_Fast_Unaligned_Load): Define.
39641 (HAS_FAST_UNALIGNED_LOAD): Define.
39642
07f494a0
MP
396432011-06-23 Marek Polacek <mpolacek@redhat.com>
39644
39645 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39646
fa3fc0fe
UD
396472011-06-22 Ulrich Drepper <drepper@gmail.com>
39648
39649 [BZ #12907]
39650 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39651 until it is clear that the information is realy needed.
39652 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39653
e12df166
AS
396542011-06-22 Andreas Schwab <schwab@redhat.com>
39655
39656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39657
852eb34d
UD
396582011-06-22 Ulrich Drepper <drepper@gmail.com>
39659
84e2a551
UD
39660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39661 /sys/devices/system/cpu/online if it is usable.
39662
852eb34d
UD
39663 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39664 reading the information from the /proc filesystem to once a second.
39665
6e502e19
UD
396662011-06-21 Andreas Jaeger <aj@suse.de>
39667
39668 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39669 NULL after inclusion of kernel headers.
39670
75d39ff2
UD
396712011-06-21 Ulrich Drepper <drepper@gmail.com>
39672
51f9aa6a
UD
39673 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39674 calls to internal_setent.
39675
c0244a9d
UD
39676 [BZ #12885]
39677 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39678 addresses using gethostbyname4_r ignore IPv4 addresses.
39679
c5e3c2ae
UD
39680 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39681 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39682
75d39ff2
UD
39683 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39684
42675c6f
DM
396852011-06-20 David S. Miller <davem@davemloft.net>
39686
39687 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39688 inclusions.
39689 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39690
39691 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39692 (elf_irel): Use it.
39693 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39694 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39695 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39696 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39697 * sysdeps/x86_64/dl-irel.h: Likewise.
39698
39699 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39700 * elf/dl-sym.c: Likewise.
39701
57912a71
UD
397022011-06-15 Ulrich Drepper <drepper@gmail.com>
39703
39704 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39705 need to dereference resplen2.
39706
ee22793d
AS
397072011-06-14 Andreas Schwab <schwab@redhat.com>
39708
39709 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39710
a9e836b0
UD
397112011-06-15 Ulrich Drepper <drepper@gmail.com>
39712
77fb9117
UD
39713 * Makeconfig: Define vardbdir and inst_vardbdir.
39714 * nss/Makefile: Add rules to install db-Makefile.
39715
40c1b22c
UD
39716 * nss/nss_db/db-XXX.c: Cleanup.
39717
9f2da732
UD
39718 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39719 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39720 GLIBC_PRIVATE.
39721 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39722 * nss/makedb.c: Implement -g option to specify that value strings
39723 are generated and should not be added to table iterated over for
39724 get*ent calls.
39725 * nss/nss_db/db-initgroups.c: New file.
39726
82e9a1f7
UD
39727 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39728 interface.
39729
c41af17e
UD
39730 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39731 (internal_getgrouplist): Adjust to name change.
39732 Update use_initgroups_entry if this is not the first call.
39733 * nss/databases.def: Add initgroups entry.
39734
a9e836b0
UD
39735 * nss/makedb.c (compute_tables): Check result of multiple hash table
39736 sizes to minimize maximum chain length.
39737
2666d441
UD
397382011-06-14 Ulrich Drepper <drepper@gmail.com>
39739
39740 * Versions.def: Add entry for libnss_db.
39741 * shlib-versions: Likewise.
39742 * nss/Makefile: Add rules to build libnss_db.
39743 * nss/Versions: Add libnss_db information. Organize libnss_files
39744 entries better.
39745 * nss/db-Makefile: Add gshadow support. Change rules for the new
39746 makedb progra. Some minor improvements to generate smaller files.
39747 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39748 here from...
39749 * nss/makedb.c: ...here.
39750 Improve database format to be smaller and require less memory at
39751 runtime.
39752 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39753 db anymore.
39754 * nss/nss_db/db-netgrp.c: Likewise.
39755 * nss/nss_db/db-open.c: Likewise.
39756 * nss/nss_files/flies-XXX.x: Adjust comments.
39757 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39758 * nss/nss_files/files-grp.c: Likewise.
39759 * nss/nss_files/files-hosts.c: Likewise.
39760 * nss/nss_files/files-network.c: Likewise.
39761 * nss/nss_files/files-proto.c: Likewise.
39762 * nss/nss_files/files-pwd.c: Likewise.
39763 * nss/nss_files/files-rpc.c: Likewise.
39764 * nss/nss_files/files-service.c: Likewise.
39765 * nss/nss_files/files-sgrp.c: Likewise.
39766 * nss/nss_files/files-spwd.c: Likewise.
39767 * nss/nss_db/db-alias.c: Removed.
39768 * nss/nss_db/dummy-db.h: Removed.
39769
9ee76b5a
UD
397702011-06-02 Ulrich Drepper <drepper@gmail.com>
39771
39772 * nss/makedb.c: Rewritten to not use database library.
39773 * nss/Makefile: Update to build new makedb program.
39774
c71ca1f8
AJ
397752011-06-14 Andreas Jaeger <aj@suse.de>
39776
39777 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39778 memset declaration.
39779
3154bfb8
UD
397802011-06-10 Andreas Schwab <schwab@redhat.com>
39781
39782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39783 tmpbuf.
39784
b350afab
RM
397852011-06-10 Roland McGrath <roland@hack.frob.com>
39786
decd4e50
RM
39787 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39788 * elf/Makefile ($(objpfx)ld.so): Likewise.
39789
5615eaf2
RM
39790 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39791 Don't list ld.so twice in dependencies.
39792
39793 * posix/bug-regex31.c: Include <stdlib.h>.
39794
39795 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39796
39797 * nis/nss_compat/compat-spwd.c
39798 (getspent_next_nss_netgr): Remove unused variable.
39799 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39800
39801 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39802 nonmembers" output to use the right array.
39803
39804 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39805
39806 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39807
39808 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39809 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39810 * catgets/gencat.c (read_input_file): Likewise.
39811 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39812
39813 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39814 variable definition inside #if's controlling its use.
39815
39816 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39817
39818 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39819
39820 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39821
39822 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39823 unreachable code.
39824
39825 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39826
b68e08db
RM
39827 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39828 * configure: Regenerated.
39829
b350afab
RM
39830 * Makerules: Revert last change.
39831 * elf/Makefile: Likewise.
39832
28368601
RM
398332011-06-09 Roland McGrath <roland@hack.frob.com>
39834
39835 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39836 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39837 (reloc-link): Likewise.
39838
11988f8f
UD
398392011-06-09 Ulrich Drepper <drepper@gmail.com>
39840
39841 * elf/Makefile: Add rules to build pldd.
39842 * elf/pldd.c: New file.
39843 * elf/pldd-xx.c: New file.
39844
e80fab37
UD
398452011-06-07 Ulrich Drepper <drepper@gmail.com>
39846
39847 * version.h: Update for 2.15 development version.
39848
9b849836
DM
398492011-06-07 David S. Miller <davem@davemloft.net>
39850
39851 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39852 ifuncs.
39853 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39854 elf_machine_lazy_rel): Likewise.
39855 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39857 elf_machine_lazy_rel): Likewise.
39858 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39859 dl_hwcap via passed in argument.
39860 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39861 Likewise.
39862
5a31b283
AK
398632011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39864
39865 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39866
069e52f8
RM
398672011-06-06 Roland McGrath <roland@hack.frob.com>
39868
39869 [BZ #12849]
39870 * manual/fdl-1.1.texi: New file, verbatim from:
39871 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39872 * manual/lgpl-2.1.texi: New file, verbatim from:
39873 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39874 * manual/Makefile (licenses): New variable, list those new file names.
39875 (texis): Use it.
39876 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39877
39878 * manual/fdl.texi: File removed.
39879 * manual/lesser.texi: File removed.
39880 * manual/libc.texinfo (Copying, Documentation License):
39881 Use new @include file names, put @appendix directive before @include.
39882
f16846a5
JJ
398832011-06-04 Jakub Jelinek <jakub@redhat.com>
39884
39885 [BZ #12841]
39886 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39887 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39888 (mq_open): Add __NTH.
39889
3d29045b
L
398902011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39891
39892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39893 Assume Intel Core i3/i5/i7 processor if AVX is available.
39894
8c297311
UD
398952011-05-31 Ulrich Drepper <drepper@gmail.com>
39896
39897 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39898 typo.
39899
c8fc0c91
UD
399002011-05-31 Andreas Schwab <schwab@redhat.com>
39901
39902 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39903 memory. Use alloca_account. Fix memory leak when retrying.
39904
5b27a807
UD
399052011-05-31 Ulrich Drepper <drepper@gmail.com>
39906
356f8bc6
UD
39907 * version.h (RELEASE): Bump for 2.14 release.
39908 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39909
5b27a807
UD
39910 * config.make.in (RANLIB): Remove entry.
39911
01f16ab0
UD
399122011-05-30 Ulrich Drepper <drepper@gmail.com>
39913
41fce8bd
UD
39914 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39915 (libc.pot): Work around missing support for .ksh extension in xgettext.
39916
4769ae77
UD
39917 [BZ #12684]
39918 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39919 if both request failed.
39920 (send_dg): In case of server errors clear resplen or *resplen2.
39921
6b1e7d19
UD
39922 [BZ #12454]
39923 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39924 when there are multiple maps.
39925 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39926 (_dl_fini): Remove test here.
39927
01f16ab0
UD
39928 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39929
b1ebd700
UD
399302011-05-29 Ulrich Drepper <drepper@gmail.com>
39931
7ae22829
UD
39932 [BZ #12350]
39933 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39934 bit from old_res_options.
39935 (gaih_inet): Likewise.
39936
553149f6 39937 [BZ #11099]
18a84741 39938 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39939 as signed.
39940
652ffab1
UD
39941 * resolv/res_init.c (res_setoptions): Make the code more compact.
39942
16985fd0
UD
39943 [BZ #11558]
39944 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39945 set RES_USEVC.
39946
0464f746
UD
39947 [BZ #11634]
39948 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39949
7d17596c
UD
39950 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39951
cf6bbbd7
UD
39952 [BZ #11781]
39953 * malloc/malloc.h: Declare malloc hook variables as volatile.
39954
13f1ab36
UD
39955 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39956 in last patch.
39957
b1ebd700
UD
39958 [BZ #11799]
39959 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39960 raise in the comment.
80e2212d
UD
39961 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39962 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39963 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39964
ce67228d
UD
399652011-05-28 Ulrich Drepper <drepper@gmail.com>
39966
8887a920
UD
39967 [BZ #12811]
39968 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39969 grow the buffers more if it already has to be sufficient.
39970 (build_wcs_upper_buffer): Likewise.
39971 * posix/regexec.c (check_matching): Likewise.
39972 (clean_state_log_if_needed): Likewise.
39973 (extend_buffers): Don't enlarge buffers beyond size of the input
39974 buffer.
39975 Patches mostly by Emil Wojak <emil@wojak.eu>.
39976 * posix/bug-regex32.c: New file.
39977 * posix/Makefile (tests): Add bug-regex32.
39978
4f031072
UD
39979 * locale/findlocale.c (_nl_find_locale): Return right away if
39980 _nl_explode_name failed.
39981 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39982
d0478f0c
UD
39983 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39984
de81b246
UD
39985 * debug/xtrace.sh: Unify messages.
39986 * malloc/memusage.sh: Likewise.
39987
c738465a
UD
39988 [BZ #12813]
39989 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39990 time symbol from vDSO. Substitute with vsyscall if not available.
39991 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39992 __vdso_time.
39993
f1f929d7
UD
39994 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39995 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39996 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39997 Add sendmmsg and internal_sendmmsg.
39998 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39999 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40000 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40001
ce67228d
UD
40002 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40003 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40004 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40005
e57420c6
UD
400062011-05-27 Ulrich Drepper <drepper@gmail.com>
40007
a8509ca5
UD
40008 [BZ #12813]
40009 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40010 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40011 available.
40012 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40013 __vdso_getcpu.
40014
e57420c6
UD
40015 [BZ #12814]
40016 * iconvdata/Makefile (tests): Add bug-iconv9.
40017 * iconvdata/bug-iconv9.c: New file.
40018
4d07db15
AS
400192011-05-27 Andreas Schwab <schwab@redhat.com>
40020
40021 [BZ #12814]
40022 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40023
ea486f69
JJ
400242011-05-25 Jakub Jelinek <jakub@redhat.com>
40025
40026 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40027 (struct user_regs_struct): Change intcs field back to cs.
40028
6f038433
UD
400292011-05-25 Ulrich Drepper <drepper@gmail.com>
40030
40031 * po/ja.po: Update from translation team.
40032
67f86a25
UD
400332011-05-23 Ulrich Drepper <drepper@gmail.com>
40034
40035 [BZ #12795]
40036 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40037 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40038
def7fbd6
AS
400392011-05-20 Andreas Schwab <schwab@redhat.com>
40040
40041 * stdlib/longlong.h: Update from GCC.
40042
f50ef8f1
AS
400432011-05-23 Andreas Schwab <schwab@redhat.com>
40044
40045 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40046 parameter name.
40047 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40048 Add parameter name.
40049 (__sysconf): Pass it down.
40050
de7ce8f1
UD
400512011-05-22 Ulrich Drepper <drepper@gmail.com>
40052
f2962a71
UD
40053 [BZ #12671]
40054 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40055 some situations.
40056 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40057 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40058 add in in __libc_use_alloca calls. Adjust callers.
40059 (glob): Use malloc in some situations.
40060
de7ce8f1
UD
40061 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40062 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40063 pltexit.
40064
aec84f53
UD
400652011-05-21 Ulrich Drepper <drepper@gmail.com>
40066
05bb4a68
UD
40067 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40068 and CLOCK_BOOTTIME_ALARM.
40069
7ea72f99
UD
40070 [BZ #12782]
40071 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40072 is returned.
40073
7e4afad5
UD
40074 * string/_strerror.c (__strerror_r): Print negative errors as signed
40075 numbers.
40076
8e211fec
UD
40077 [BZ #12777]
40078 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40079 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40080 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40081
f7d82dc9
UD
40082 * configure.in: Fix typo in redirection and correct removal of test
40083 files in two cases.
40084
cc9e536d
UD
40085 [BZ #12788]
40086 * locale/setlocale.c (new_composite_name): Fix test to check for
40087 identical name of all categories.
40088
aec84f53
UD
40089 [BZ #12792]
40090 * libio/filedoalloc.c (local_isatty): New function.
40091 (_IO_file_doallocate): Use local_isatty.
40092 * stdio-common/perror.c (perror): In case a new stream is used
40093 forward the stream error.
40094 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40095 error flag.
40096
78e64fdc
RT
400972011-05-20 Ulrich Drepper <drepper@gmail.com>
40098
34a9094f
UD
40099 [BZ #11869]
40100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40101 alloca.
40102 * include/alloca.h (extend_alloca_account): Define.
40103
78e64fdc
RT
40104 [BZ #11857]
40105 * posix/regex.h: Fix comments with documentation of user-accessible
40106 fields after compilation and describe correct free'ing of pattern
40107 after re_compile_pattern.
40108 Patch by Reuben Thomas <rrt@sc3d.org>.
40109
457bddfc
RA
401102011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40111
40112 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40113 and -mno-altivec to prevent the compiler from using Altivec and/or
40114 VSX instructions when the corresponding registers are not available.
40115
a4527b51
AS
401162011-05-19 Andreas Schwab <schwab@redhat.com>
40117
40118 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40119
ed690b2f
UD
401202011-05-19 Ulrich Drepper <drepper@gmail.com>
40121
40122 * libio/freopen.c (freopen): Use __dup2, not dup2.
40123 * libio/freopen64.c (freopen64): Likewise.
40124
8db73634
L
401252011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40126
40127 [BZ #12775]
40128 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40129 * math/Makefile (tests): Add test-powl.
40130 (CFLAGS-test-powl.c): Define.
40131 * math/test-powl.c: New file.
40132
0a197a9d
L
401332011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40134
40135 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40136
ee30c380
UD
401372011-05-17 Ulrich Drepper <drepper@gmail.com>
40138
40139 [BZ #11837]
40140 * iconvdata/gb18030.c: Update to GB18020-2005.
40141
6ce75379
UD
401422011-05-16 Ulrich Drepper <drepper@gmail.com>
40143
a4b89fd8
AR
40144 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40145 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40146 Patch by Aharon Robbins <arnold@skeeve.com>.
40147
ea389b12
UD
40148 [BZ #11892]
40149 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40150 on the stack.
40151
68a3f91f
UD
40152 [BZ #11895]
40153 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40154 through underflows.
40155
15cc7dd1
UD
40156 [BZ #12766]
40157 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40158 point to strings before performing equality test for error_one_per_line
40159 mode.
40160
f3799213
UD
40161 [BZ #11697]
40162 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40163
d79a9c94
UD
40164 [BZ #11820]
40165 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40166 (struct user_fpregs_struct): Avoid __uint*_t types.
40167
56e5eb46
UD
40168 [BZ #6420]
40169 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40170 symbol info. Use it instead of calling _dl_addr locally.
40171 (lock_and_info): New function.
40172 (tr_freehook): Call lock_and_info and pass symbol info as additional
40173 parameter to tr_where.
40174 (tr_mallochook): Likewise.
40175 (tr_reallochook): Likewise.
40176 (tr_memalignhook): Likewise.
40177
6ce75379
UD
40178 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40179 used and couldn't be at all thread-safe.
40180
f8a3b5bf
UD
401812011-05-15 Ulrich Drepper <drepper@gmail.com>
40182
94b7cc37
UD
40183 * libio/freopen.c (freopen): Don't close old file descriptor
40184 before the new one is opened. Instead dup the new file descriptor
40185 to the old one after the new stream is created.
40186 * libio/freopen64.c (freopen64): Likewise.
40187 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40188 * libio/fileops.c (_IO_new_file_close_it): Handle new
40189 _IO_FLAGS2_NOCLOSE flag.
40190 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40191 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40192 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40193 _IO_FLAGS2_NOCLOSE flag.
40194 * include/unistd.h: Add hidden_proto for dup3.
40195 Define __have_dup3.
40196 * io/dup3.c: Define hidden symbol.
40197 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40198
bd25564e
UD
40199 [BZ #7101]
40200 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40201 when an incomplete long option is used.
40202 * posix/tst-getopt_long1.c: New file.
40203 * posix/Makefile (tests): Add tst-getopt_long1.
40204
c84cfef4
UD
40205 [BZ #10138]
40206 * scripts/config.guess: Update from autoconf-2.68.
40207 * scripts/config.sub: Likewise.
40208
3b85df27
UD
40209 [BZ #10157]
40210 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40211 tests into ...
40212 (has_cpuclock): ...this. New function.
40213 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40214 macro here based on has_cpuclock code.
40215
15a856b1
UD
40216 [BZ #10149]
40217 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40218 First byte (not low byte) is now always NUL.
40219 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40220
05f399e6
UD
40221 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40222 Use non-cancelable interfaces.
40223
10a52685 40224 [BZ #9809]
94ecc67d
UD
40225 * locale/iso-639.def: Add entry for Sorani.
40226
f8a3b5bf
UD
40227 [BZ #11901]
40228 * include/stdlib.h: Move include protection to the right place.
40229 Define abort_msg_s. Declare __abort_msg with it.
40230 * stdlib/abort.c (__abort_msg): Adjust type.
40231 * assert/assert.c (__assert_fail_base): New function. Majority
40232 of code from __assert_fail. Allocate memory for __abort_msg with
40233 mmap.
40234 (__assert_fail): Now call __assert_fail_base.
40235 * assert/assert-perr.c: Remove bulk of implementation. Use
40236 __assert_fail_base.
40237 * include/assert.hL Declare __assert_fail_base.
40238 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40239 mmap.
40240 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40241
1af4e298
UD
402422011-05-14 Ulrich Drepper <drepper@gmail.com>
40243
f8a3b5bf 40244 [BZ #11952]
d26dfc60
MG
40245 [BZ #12453]
40246 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40247 until all modules are registered in the DTV.
40248 * elf/Makefile: Add rules to build and run tst-tls19.
40249 * elf/tst-tls19.c: New file.
40250 * elf/tst-tls19mod1.c: New file.
40251 * elf/tst-tls19mod2.c: New file.
40252 * elf/tst-tls19mod3.c: New file.
40253 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40254
2fc54d6f
UD
40255 [BZ #12083]
40256 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40257 correctly.
40258
98d76b46
UD
40259 [BZ #12601]
40260 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40261 two-byte sequence errors.
40262 * iconvdata/Makefile (tests): Add bug-iconv8.
40263 * iconvdata/bug-iconv8.c: New file.
40264
da3c19ef
UD
40265 [BZ #12626]
40266 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40267 buf2 definition.
40268
ca408c15
UD
40269 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40270
d6f67f7d
UD
40271 [BZ #12432]
40272 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40273 (dummy_getcfa): New function.
40274 (init): Get _Unwind_GetCFA address, use dummy if not found.
40275 (backtrace_helper): In recursion check, also check whether CFA changes.
40276 (__backtrace): Completely initialize arg.
40277
1af4e298 40278 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40279 storing incomplete byte sequence in state object. Avoid testing for
40280 guaranteed too small input if we know there is enough data available.
1af4e298 40281
da62f81b
AS
402822011-05-11 Andreas Schwab <schwab@redhat.com>
40283
40284 * Makeconfig (+link-pie): Indent.
40285 * Rules (binaries-pie): Define if $(have-fpie) and
40286 $(build-shared).
40287 (binaries-shared): Also filter out $(binaries-pie).
40288 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40289 * nscd/Makefile (others-pie): Add nscd.
40290 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40291 ($(objpfx)nscd): Remove command override.
40292 * login/Makefile (others-pie): Add pt_chown.
40293 ($(objpfx)pt_chown): Remove command override.
40294 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40295 remove command overrides.
40296
fcabc0f8
UD
402972011-05-13 Ulrich Drepper <drepper@gmail.com>
40298
20030ae6
UD
40299 * libio/tst_putwc.c: Fix error messages.
40300
fcabc0f8
UD
40301 [BZ #12724]
40302 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40303 currently writing and seek to current position when not.
40304 * libio/Makefile (tests): Add bug-fclose1.
40305 * libio/bug-fclose1.c: New file.
40306
320a5dc0
PB
403072011-05-12 Ulrich Drepper <drepper@gmail.com>
40308
40309 [BZ #12511]
40310 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40311 don't set DF_1_NODELETE here.
40312 (do_lookup_x): When entering new entry test for copy relocation
40313 and if necessary set DF_1_NODELETE flag.
40314 * elf/tst-unique4.cc: New file.
40315 * elf/tst-unique4.h: New file.
40316 * elf/tst-unique4lib.cc: New file.
40317 * elf/Makefile: Add rules to build and run tst-unique4.
40318 Patch by Piotr Bury <pbury@goahead.com>.
40319
22836f52
UD
403202011-05-11 Ulrich Drepper <drepper@gmail.com>
40321
f574184a
UD
40322 [BZ #12052]
40323 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40324
e1fb097f
UD
40325 [BZ #12625]
40326 * misc/mntent_r.c (addmntent): Flush the stream after the output
40327
22836f52
UD
40328 [BZ #12393]
40329 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40330 (is_trusted_path_normalize): Skip initial colon. Append slash
40331 to empty buffer. Duplicate is_trusted_path code but allow
40332 constructed patch to be prefix.
40333 (is_dst): Allow $ORIGIN followed by /.
40334 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40335 Correct testing of result of is_trusted_path_normalize
40336 (decompose_rpath): Fix warning.
40337
7b3b0b2a
UD
403382011-05-10 Ulrich Drepper <drepper@gmail.com>
40339
40340 [BZ #11257]
40341 * grp/initgroups.c (internal_getgrouplist): When we found the service
40342 list through the initgroups entry in nsswitch.conf do not always
40343 continue on a successful lookup. Don't always use the
eac80ce2 40344 __nss_group_database value if it is set.
7b3b0b2a
UD
40345 * nss/nsswitch.conf (initgroups): Change action for successful db
40346 lookup to continue for compatibility.
40347
2a81eaa5
UD
403482011-05-09 Ulrich Drepper <drepper@gmail.com>
40349
be97a69e
UD
40350 [BZ #11532]
40351 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40352 and CP774 modules.
40353 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40354 and CP774 modules.
40355 * iconvdata/tst-tables.sh: Likewise.
40356 * iconvdata/cp770.c: New file.
40357 * iconvdata/cp771.c: New file.
40358 * iconvdata/cp772.c: New file.
40359 * iconvdata/cp773.c: New file.
40360 * iconvdata/cp774.c: New file.
40361 * iconvdata/testdata/CP770: New file.
40362 * iconvdata/testdata/CP770..UTF8: New file.
40363 * iconvdata/testdata/CP771: New file.
40364 * iconvdata/testdata/CP771..UTF8: New file.
40365 * iconvdata/testdata/CP772: New file.
40366 * iconvdata/testdata/CP772..UTF8: New file.
40367 * iconvdata/testdata/CP773: New file.
40368 * iconvdata/testdata/CP773..UTF8: New file.
40369 * iconvdata/testdata/CP774: New file.
40370 * iconvdata/testdata/CP774..UTF8: New file.
40371
40372 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40373 END CHARMAP line.
40374 * iconvdata/gen-8bit-gap.sh: Likewise.
40375 * iconvdata/gen-8bit.sh: Likewise.
40376
c1e9e399
UD
40377 * locale/iso-639.def: Add ary entry.
40378
24c55fb3 40379 [BZ #11258]
96b4b1b0
UD
40380 * locale/C-translit.h.in: Add U20A1 transliteration.
40381
bdc2f971
KB
40382 [BZ #12178]
40383 * locale/iso-639.def: Add wae entry.
40384 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40385
2952b117
UD
40386 [BZ #12545]
40387 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40388 for n.
40389
2a81eaa5
UD
40390 [BZ #12711]
40391 * locale/C-translit.h.in: Add entry for U20B9.
40392 Patch by pravin.d.s@gmail.com.
40393
28377d1b
UD
403942011-05-08 Ulrich Drepper <drepper@gmail.com>
40395
7fb90fb8
UD
40396 [BZ #12713]
40397 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40398 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40399 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40400 in rtld. Use *stat64.
7fb90fb8 40401 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40402 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40403 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40404 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40405 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40406 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40407 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40408 __fstatat64 macros.
7fb90fb8
UD
40409 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40410 * dirent/rewinddir.c: Add libc_hidden_def.
40411 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40412 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40413
28377d1b
UD
40414 * include/dirent.h (__alloc_dir): Add flags parameter.
40415 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40416 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40417 __alloc_dir.
40418 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40419 from fdopendir if O_CLOEXEC is already set.
40420
66bdbaa4
AM
404212011-03-15 Alan Modra <amodra@gmail.com>
40422
40423 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40424 l_tls_firstbyte_offset non-zero. Save padding offset in
40425 l_tls_firstbyte_offset for later use.
40426 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40427 freeing static tls block.
40428
95721191
JN
404292011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40430
40431 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40432 where #ifdef was intended. The intent is to prevent ARG_MAX from
40433 being defined by the kernel headers.
40434
f87dfb1f
UD
404352011-05-07 Ulrich Drepper <drepper@gmail.com>
40436
40437 [BZ #12734]
40438 * resolv/resolv.h: Define RES_NOTLDQUERY.
40439 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40440 no-tld-query and set RES_NOTLDQUERY.
40441 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40442 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40443 modern BIND to search name as TLD unless forbidden.
40444
47c3cd7a
UD
404452011-05-07 Petr Baudis <pasky@suse.cz>
40446 Ulrich Drepper <drepper@gmail.com>
40447
40448 [BZ #12393]
40449 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40450 (is_trusted_path): ...to here.
c1e9ea35 40451 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40452 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40453 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40454
8a35c912
PP
404552011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40456
40457 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40458 __BEGIN/__END_DECLS.
40459
acd41f47
UD
404602011-05-06 Ulrich Drepper <drepper@gmail.com>
40461
40462 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40463 NSS_STATUS_NOTFOUND if no record was found.
40464
597df647
AS
404652011-05-05 Andreas Schwab <schwab@redhat.com>
40466
40467 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40468 (headers-not-in-tirpc): Remove rpc/netdb.h
40469 * resolv/netdb.h: Revert last change.
40470
b9af1301
PP
404712011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40472
40473 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40474 circular dependency between libgcc.a and libc.a.
40475
4e34d5f5
AS
404762011-05-05 Andreas Schwab <schwab@redhat.com>
40477
40478 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40479 * nis/Makefile: Don't install rpcsvc/*.
40480 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40481 instead of <rpc/types.h>.
40482 (MAXHOSTNAMELEN): Define.
40483
00ee369c
AS
404842011-05-03 Andreas Schwab <schwab@redhat.com>
40485
40486 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40487
0b592a30
MB
404882011-04-28 Maciej Babinski <mbabinski@google.com>
40489
40490 [BZ #12714]
40491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40492 gethostbyname4_r when IPv6 results are possible.
40493
6e04cbbe
UD
404942011-05-02 Ulrich Drepper <drepper@gmail.com>
40495
40496 [BZ #12723]
40497 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40498 _PC_PIPE_BUF handling.
40499
e4ecafe0
BH
405002011-04-30 Bruno Haible <bruno@clisp.org>
40501
40502 [BZ #12717]
40503 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40504 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40505 to 'int'.
40506 * inet/getnameinfo.c (getnameinfo): Likewise.
40507
125ee683
UD
405082011-04-29 Ulrich Drepper <drepper@gmail.com>
40509
40510 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40511 to groups setting in database lookup.
40512 * nss/nsswitch.conf: Add initgroups entry.
40513
b722481a
EB
405142011-04-22 Ulrich Drepper <drepper@gmail.com>
40515
40516 [BZ #12685]
40517 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40518 mode string.
40519 Patch by Eric Blake <eblake@redhat.com>.
40520
4df46dbd
L
405212011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40522
40523 * sunrpc/Makefile (need-export-routines): Add svc_run.
40524 (routines): Remove svc_run.
40525 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40526 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40527 * sunrpc/svc_run.c (svc_run): Likewise.
40528 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40529
e84142d2
UD
405302011-04-21 Ulrich Drepper <drepper@gmail.com>
40531
40532 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40533 problem in reallocation in last patch.
40534
877175d8
UD
405352011-04-20 Ulrich Drepper <drepper@gmail.com>
40536
40537 * sunrpc/Makefile: Move inclusion of Rules.
40538
ab8eed78
UD
405392011-04-19 Ulrich Drepper <drepper@gmail.com>
40540
40541 * nss/nss_files/files-initgroups.c: New file.
40542 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40543 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40544 _nss_files_initgroups_dyn.
40545
e3d8f584
RS
405462011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40547
40548 * elf/elf.h (R_ARM_IRELATIVE): Define.
40549
af190f45
UD
405502011-04-19 Ulrich Drepper <drepper@gmail.com>
40551
40552 * po/ru.po: Update from translation team.
40553
53cf59ef
UD
405542011-04-17 Ulrich Drepper <drepper@gmail.com>
40555
40556 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40557 dependencies.
40558
4c559bcd
MF
405592011-02-06 Mike Frysinger <vapier@gentoo.org>
40560
40561 [BZ #12653]
40562 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40563 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40564 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40565 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40566 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40567
4420675c
AS
405682011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40569
40570 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40571 differing bytes.
40572 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40573 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40574 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40575
75ea32ab
UD
405762011-04-17 Ulrich Drepper <drepper@gmail.com>
40577
40578 [BZ #12420]
40579 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40580 storing it.
40581 * stdlib/bug-getcontext.c: New file.
40582 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40583
27390476
AK
405842011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40585
40586 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40587 instructions into .machine "z9-109".
40588 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40589 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40590
10442705
AK
405912011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40592
40593 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40594 between environment variables and auxiliary vector.
40595
7b57bfe5
UD
405962011-04-16 Ulrich Drepper <drepper@gmail.com>
40597
40598 * Makefile: Add rules to build linkobj/libc.so.
40599 * include/libc-symbols.h: Define libc_hidden_nolink.
40600 * include/rpc/auth.h: Mark functions which are to be hidden.
40601 * include/rpc/auth_des.h: Likewise.
40602 * include/rpc/auth_unix.h: Likewise.
40603 * include/rpc/clnt.h: Likewise.
40604 * include/rpc/des_crypt.h: Likewise.
40605 * include/rpc/key_prot.h: Likewise.
40606 * include/rpc/pmap_clnt.h: Likewise.
40607 * include/rpc/pmap_prot.h: Likewise.
40608 * include/rpc/pmap_rmt.h: Likewise.
40609 * include/rpc/rpc_msg.h: Likewise.
40610 * include/rpc/svc.h: Likewise.
40611 * include/rpc/svc_auth.h: Likewise.
40612 * include/rpc/xdr.h: Likewise.
40613 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40614 * nss/Makefile: Likewise.
40615 * sunrpc/Makefile: Don't install headers. Build library with normal
40616 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40617 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40618 for the compat linking library. Remove use of INTDEF/INTUSE.
40619 * sunrpc/auth_none.c: Likewise.
40620 * sunrpc/auth_unix.c: Likewise.
40621 * sunrpc/authdes_prot.c: Likewise.
40622 * sunrpc/authuxprot.c: Likewise.
40623 * sunrpc/clnt_gen.c: Likewise.
40624 * sunrpc/clnt_perr.c: Likewise.
40625 * sunrpc/clnt_raw.c: Likewise.
40626 * sunrpc/clnt_simp.c: Likewise.
40627 * sunrpc/clnt_tcp.c: Likewise.
40628 * sunrpc/clnt_udp.c: Likewise.
40629 * sunrpc/clnt_unix.c: Likewise.
40630 * sunrpc/des_crypt.c: Likewise.
40631 * sunrpc/des_soft.c: Likewise.
40632 * sunrpc/get_myaddr.c: Likewise.
40633 * sunrpc/key_call.c: Likewise.
40634 * sunrpc/key_prot.c: Likewise.
40635 * sunrpc/netname.c: Likewise.
40636 * sunrpc/pm_getmaps.c: Likewise.
40637 * sunrpc/pm_getport.c: Likewise.
40638 * sunrpc/pmap_clnt.c: Likewise.
40639 * sunrpc/pmap_prot.c: Likewise.
40640 * sunrpc/pmap_prot2.c: Likewise.
40641 * sunrpc/pmap_rmt.c: Likewise.
40642 * sunrpc/publickey.c: Likewise.
40643 * sunrpc/rpc_cmsg.c: Likewise.
40644 * sunrpc/rpc_common.c: Likewise.
40645 * sunrpc/rpc_dtable.c: Likewise.
40646 * sunrpc/rpc_prot.c: Likewise.
40647 * sunrpc/rpc_thread.c: Likewise.
40648 * sunrpc/rtime.c: Likewise.
40649 * sunrpc/svc.c: Likewise.
40650 * sunrpc/svc_auth.c: Likewise.
40651 * sunrpc/svc_authux.c: Likewise.
40652 * sunrpc/svc_raw.c: Likewise.
40653 * sunrpc/svc_run.c: Likewise.
40654 * sunrpc/svc_simple.c: Likewise.
40655 * sunrpc/svc_tcp.c: Likewise.
40656 * sunrpc/svc_udp.c: Likewise.
40657 * sunrpc/svc_unix.c: Likewise.
40658 * sunrpc/svcauth_des.c: Likewise.
40659 * sunrpc/xcrypt.c: Likewise.
40660 * sunrpc/xdr.c: Likewise.
40661 * sunrpc/xdr_array.c: Likewise.
40662 * sunrpc/xdr_float.c: Likewise.
40663 * sunrpc/xdr_intXX_t.c: Likewise.
40664 * sunrpc/xdr_mem.c: Likewise.
40665 * sunrpc/xdr_rec.c: Likewise.
40666 * sunrpc/xdr_ref.c: Likewise.
40667 * sunrpc/xdr_sizeof.c: Likewise.
40668 * sunrpc/xdr_stdio.c: Likewise.
40669
e6c61494
UD
406702011-04-10 Ulrich Drepper <drepper@gmail.com>
40671
40672 [BZ #12650]
40673 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40674 * sysdeps/ia64/dl-tls.h: Likewise.
40675 * sysdeps/powerpc/dl-tls.h: Likewise.
40676 * sysdeps/s390/dl-tls.h: Likewise.
40677 * sysdeps/sh/dl-tls.h: Likewise.
40678 * sysdeps/sparc/dl-tls.h: Likewise.
40679 * sysdeps/x86_64/dl-tls.h: Likewise.
40680 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40681
34fe483e
AS
406822011-03-14 Andreas Schwab <schwab@redhat.com>
40683
40684 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40685 rpath element also skip the following colon.
40686 (expand_dynamic_string_token): Add is_path parameter and pass
40687 down to DL_DST_REQUIRED and _dl_dst_substitute.
40688 (decompose_rpath): Call expand_dynamic_string_token with
40689 non-zero is_path. Ignore empty rpaths.
40690 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40691 with zero is_path.
40692
f12a32e6
AS
406932011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40694
40695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40696 Make cancelable.
40697
38a7d692
UD
406982011-04-09 Ulrich Drepper <drepper@gmail.com>
40699
40700 [BZ #12655]
40701 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40702 Patch by Filipe David Manana <fdmanana@apache.org>.
40703
e451d22b
AS
407042011-04-07 Andreas Schwab <schwab@redhat.com>
40705
40706 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40707 Maintain aligned stack.
40708 (CHECK_RSP): Remove unused macro.
40709
dedc7c7b
UD
407102011-04-03 Ulrich Drepper <drepper@gmail.com>
40711
40712 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40713 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40714
94521213
UD
407152011-04-02 Ulrich Drepper <drepper@gmail.com>
40716
40717 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40718
8cb700c0 40719 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40720
0354e355
L
407212011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40722
40723 [BZ #12518]
40724 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40725 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40726 * sysdeps/x86_64/memmove.c: New file.
40727 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40728 (memcpy): Renamed to ...
40729 (__new_memcpy): This.
40730 (memcpy): Provide GLIBC_2_14 memcpy.
40731 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40732 (memcpy): Provide GLIBC_2_2_5 memcpy.
40733
8593482f
UD
407342011-04-01 Ulrich Drepper <drepper@gmail.com>
40735
40736 [BZ #12631]
40737 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40738
81a5726b
AS
407392011-03-30 Andreas Schwab <schwab@redhat.com>
40740
40741 * misc/syncfs.c: New file.
40742 * misc/Makefile (routines): Add syncfs.
40743 * posix/unistd.h: Declare syncfs.
40744 * sysdeps/unix/syscalls.list: Add syncfs.
40745
00e5419f
AS
407462011-04-01 Andreas Schwab <schwab@redhat.com>
40747
40748 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40749 open_by_handle_at.
40750 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40751 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40753 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40755 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40756 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40757
748876bf
UD
407582011-04-01 Ulrich Drepper <drepper@gmail.com>
40759
658e451d
UD
40760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40761 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40762 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40763 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40764 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40766 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40767
748876bf
UD
40768 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40769 sync_file_range.c with -fexceptions.
40770 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40771 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40772 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40773 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40774 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40775 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40776 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40777 sync_file_range as cancellation point
40778 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40779 now a wrapper around __call_sync_file_range with cancellation handling.
40780 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40781 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40782 function name to __call_sync_file_range.
40783 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40784 Add call_sync_file_range.
748876bf 40785
6e63d5e1
AS
407862011-04-01 Andreas Schwab <schwab@redhat.com>
40787
40788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40789 bits/timex.h.
6e63d5e1 40790
46998f74
UD
407912011-04-01 Ulrich Drepper <drepper@gmail.com>
40792
4c1423ed
UD
40793 * iconv/iconv.h: Fix typo in comment.
40794 * io/fcntl.h: Likewise.
40795 * libio/stdio.h: Likewise.
40796 * posix/spawn.h: Likewise.
40797 * posix/unistd.h: Likewise.
40798 * stdlib/stdlib.h: Likewise.
40799 * time/time.h: Likewise.
40800 * wcsmbs/wchar.h: Likewise.
40801
158648c0
UD
40802 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40803 open_by_handle): Add.
40804 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40805 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40806 Augment a few comments.
40807 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40809 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40810 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40811 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40812 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40813 open_by_handle.
40814
46998f74
UD
40815 * io/fcntl.h (AT_EMPTY_PATH): Define.
40816
83fe108b
UD
408172011-03-30 Ulrich Drepper <drepper@gmail.com>
40818
40819 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40820 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40821 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40822 to...
40823 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40824 * Versions.def: Add GLIBC_2.14.
40825 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40826 Export.
83fe108b 40827
bb242059
UD
408282011-03-22 Ulrich Drepper <drepper@gmail.com>
40829
40830 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40831 round counter.
40832 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40833
c97a1282
L
408342011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40835
40836 [BZ #12597]
40837 * string/test-strncmp.c (do_page_test): New function.
40838 (check2): Likewise.
40839 (test_main): Call check2.
40840 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40841
2a115601
UD
408422011-03-20 Ulrich Drepper <drepper@gmail.com>
40843
40844 [BZ #12587]
40845 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40846 Handle cache information in CPU leaf 4.
40847 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40848
8126d904
UD
408492011-03-18 Ulrich Drepper <drepper@gmail.com>
40850
042c49c6 40851 [BZ #12583]
8126d904
UD
40852 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40853 character representation.
40854 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40855
ccfe366e
RA
408562011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40857
40858 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40859 END(__isnan) to END(__isnanf) to match function entry point/label
40860 EALIGN(__isnanf,...).
40861
c6e13027
JJ
408622011-03-10 Jakub Jelinek <jakub@redhat.com>
40863
40864 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40865
33f85a3f
UD
408662011-03-10 Ulrich Drepper <drepper@gmail.com>
40867
028478fa
UD
40868 [BZ #12510]
40869 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40870 copy from the symbol referenced in the relocation to initialize the
40871 used variable.
40872 Patch by Piotr Bury <pbury@goahead.com>.
40873 * elf/Makefile: Add rules to build and tst-unique3.
40874 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40875 * elf/tst-unique3.cc: New file.
40876 * elf/tst-unique3.h: New file.
40877 * elf/tst-unique3lib.cc: New file.
40878 * elf/tst-unique3lib2.cc: New file.
40879
33f85a3f
UD
40880 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40881
03592fc7
MF
408822011-03-10 Mike Frysinger <vapier@gentoo.org>
40883
40884 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40885 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40886 to _start.
03592fc7 40887
6a5ee102
UD
408882011-03-06 Ulrich Drepper <drepper@gmail.com>
40889
40890 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40891 to-be-loaded object along a path to loader is ld.so.
40892
7e4ba49c
HJ
408932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40894 Ulrich Drepper <drepper@gmail.com>
40895
40896 * sysdeps/x86_64/memset.S: After aligning destination, code
40897 branches to different locations depending on the value of
40898 misalignment, when multiarch is enabled. Fix this.
40899
409002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40901
40902 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40903 Set _x86_64_preferred_memory_instruction for AMD processsors.
40904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40905 Set bit_Prefer_SSE_for_memop for AMD processors.
40906
13a804de
UD
409072011-03-04 Ulrich Drepper <drepper@gmail.com>
40908
40909 * libio/fmemopen.c (fmemopen): Optimize a bit.
40910
9d25c392
AS
409112011-03-03 Andreas Schwab <schwab@redhat.com>
40912
40913 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40914
a5543c6a
RM
409152011-03-03 Roland McGrath <roland@redhat.com>
40916
40917 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40918
012d35f7
DM
409192011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40920
7e4ba49c 40921 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40922 __bzero_ultra1 instead of __memset_ultra1.
40923
4bff6e01
AS
409242011-02-23 Andreas Schwab <schwab@redhat.com>
40925 Ulrich Drepper <drepper@gmail.com>
40926
40927 [BZ #12509]
40928 * include/link.h (struct link_map): Add l_orig_initfini.
40929 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40930 returning unsuccessfully.
40931 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40932 close of a file loaded at startup, restore the original l_initfini
40933 list.
40934 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40935 list, store the pointer.
40936 * elf/Makefile ($(objpfx)noload-mem): New rule.
40937 (noload-ENV): Define.
40938 (tests): Add $(objpfx)noload-mem.
40939 * elf/noload.c: Include <memcheck.h>.
40940 (main): Call mtrace. Close all opened handles.
40941
f2092faf
AS
409422011-02-17 Andreas Schwab <schwab@redhat.com>
40943
40944 [BZ #12454]
40945 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40946 dependencies are missing.
40947
6c8a2e88
ST
409482011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40949
f2092faf 40950 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40951 Hurd needs munmap.
40952 * sysdeps/mach/hurd/ifreq.h: New file.
40953
84a42118
PB
409542011-01-27 Petr Baudis <pasky@suse.cz>
40955 Ulrich Drepper <drepper@gmail.com>
40956
071f805e 40957 [BZ 12445]#
84a42118
PB
40958 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40959 to extend_alloca().
40960 * stdio-common/bug23.c: New file.
40961 * stdio-common/Makefile (tests): Add bug23.
40962
e23fe25b
AS
409632010-09-28 Andreas Schwab <schwab@redhat.com>
40964 Ulrich Drepper <drepper@gmail.com>
40965
40966 [BZ #12489]
40967 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40968 before performing relro protection. At old place add assertion
40969 to make sure nothing changed.
40970
d3f02e10
NS
409712011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40972 Glauber de Oliveira Costa <glommer@gmail.com>
40973
40974 * elf/elf.h: Add new ARM TLS relocs.
40975
d55fd7a5
RA
409762011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40977
40978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40979 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40980 cast from r3.
40981 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40982 'tests' variable.
40983 * sysdeps/wordsize-64/tst-writev.c: New file.
40984
2206397e
RA
409852011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40986
40987 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40988 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40989 insns in _dl_start to prevent a TOC reference before relocs are
40990 resolved.
40991
e9433893
UD
409922011-02-15 Ulrich Drepper <drepper@gmail.com>
40993
40994 [BZ #12469]
40995 * Makeconfig: Remove RANLIB definition.
40996 * Makerules: Don't use RANLIB.
40997 * aclocal.m4: Remove ranlib test.
40998 * configure.in: No need to check for ranlib.
40999 * elf/rtld-Rules: Don't use RANLIB.
41000
f75286c6
ST
410012011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41002
8e31c82d
ST
41003 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41004 protection macro.
41005 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41006 inclusion protection macro.
41007
f75286c6
ST
41008 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41009 SIGRTMIN and SIGRTMAX and print information in that case only when
41010 SIGRTMIN is defined.
41011
c1d0e639
JJ
410122011-02-11 Jakub Jelinek <jakub@redhat.com>
41013
41014 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41015 arginfo fn returning -1.
41016
41017 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41018 and thousands string is zero terminated.
41019
edf9294e
AS
410202011-02-03 Andreas Schwab <schwab@redhat.com>
41021
41022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41023 sysdeps/unix/sysv/linux/bits/socket.h.
41024
2b7e92df
ST
410252011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41026
edf9294e
AS
41027 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41028 (__CPU_COUNT): Remove old macros.
41029 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41030 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41031 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41032 (__sched_cpualloc, __sched_cpufree): Add declarations.
41033
a4c7ea7b
UD
410342011-02-05 Ulrich Drepper <drepper@gmail.com>
41035
41036 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41037 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41038 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41039 (readdhstai): Return value of addhstaiX call.
41040 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41041 (addgrbyX): Return value returned by cache_addgr.
41042 (readdgrbyname): Return value returned by addgrbyX.
41043 (readdgrbygid): Likewise.
41044 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41045 (addpwbyX): Return value returned by cache_addpw.
41046 (readdpwbyname): Return value returned by addhstbyX.
41047 (readdpwbyuid): Likewise.
41048 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41049 (addservbyX): Return value returned by cache_addserv.
41050 (readdservbyname): Return value returned by addservbyX:
41051 (readdservbyport): Likewise.
41052 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41053 (addhstbyX): Return value returned by cache_addhst.
41054 (readdhstbyname): Return value returned by addhstbyX.
41055 (readdhstbyaddr): Likewise.
41056 (readdhstbynamev6): Likewise.
41057 (readdhstbyaddrv6): Likewise.
41058 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41059 (readdinitgroups): Return value returned by addinitgroupsX.
41060 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41061 (prune_cache): Keep track of timeout value of re-added entries.
41062 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41063 * nscd/nscd.h: Adjust prototypes of readd* functions.
41064
a0bf67cc
RM
410652011-02-04 Roland McGrath <roland@redhat.com>
41066
41067 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41068 (nis_stats): Likewise.
41069 * nis/nis_modify.c (nis_modify): Likewise.
41070 * nis/nis_remove.c (nis_remove): Likewise.
41071 * nis/nis_add.c (nis_add): Likewise.
41072
41073 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41074
41075 * posix/fnmatch_loop.c: Add some consts.
41076
41077 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41078
435b95eb
L
410792011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41080
41081 [BZ #12460]
41082 * config.make.in (config-cflags-novzeroupper): Define.
41083 * configure.in: Substitute libc_cv_cc_novzeroupper.
41084 * elf/Makefile (AVX-CFLAGS): Define.
41085 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41086 (CFLAGS-tst-auditmod4a.c): Likewise.
41087 (CFLAGS-tst-auditmod4b.c): Likewise.
41088 (CFLAGS-tst-auditmod6b.c): Likewise.
41089 (CFLAGS-tst-auditmod6c.c): Likewise.
41090 (CFLAGS-tst-auditmod7b.c): Likewise.
41091 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41092
8517b15e
UD
410932011-02-02 Ulrich Drepper <drepper@gmail.com>
41094
41095 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41096 function to the callback.
41097 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41098
10a656fe
AS
410992011-02-02 Andreas Schwab <schwab@redhat.com>
41100
41101 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41102 of errno.
41103
968dad0a
UD
411042011-01-19 Ulrich Drepper <drepper@gmail.com>
41105
9f94d2ea 41106 [BZ #11724]
968dad0a
UD
41107 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41108 of constructors.
41109 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41110 of destructors.
41111 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41112
41113 [BZ #11724]
41114 * elf/Makefile: Add rules to build and run new test.
41115 * elf/tst-initorder.c: New file.
41116 * elf/tst-initorder.exp: New file.
41117 * elf/tst-initordera1.c: New file.
41118 * elf/tst-initordera2.c: New file.
41119 * elf/tst-initordera3.c: New file.
41120 * elf/tst-initordera4.c: New file.
41121 * elf/tst-initorderb1.c: New file.
41122 * elf/tst-initorderb2.c: New file.
41123 * elf/tst-order-a1.c: New file.
41124 * elf/tst-order-a2.c: New file.
41125 * elf/tst-order-a3.c: New file.
41126 * elf/tst-order-a4.c: New file.
41127 * elf/tst-order-b1.c: New file.
41128 * elf/tst-order-b2.c: New file.
41129 * elf/tst-order-main.c: New file.
41130 New test case by George Gensure <werkt0@gmail.com>.
41131
86e92359
UD
411322010-10-01 Andreas Schwab <schwab@redhat.com>
41133
41134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41135 decoding ACE if AI_CANONIDN.
41136
5d5732b0
UD
411372011-01-18 Ulrich Drepper <drepper@gmail.com>
41138
41139 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41140
a77e8cbc
UD
411412011-01-17 Ulrich Drepper <drepper@gmail.com>
41142
6392473f
UD
41143 * version.h (RELEASE): Bump for 2.13 release.
41144 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41145
620a0529
UD
41146 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41147
18ba70a5
UD
41148 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41149 MADV_NOHUGEPAGE.
32465c3e
UD
41150 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41151 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41152 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41153 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41154 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41155 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41156
c0dafcf1
UD
41157 * posix/getconf.c: Update copyright year.
41158 * catgets/gencat.c: Likewise.
41159 * csu/version.c: Likewise.
41160 * debug/catchsegv.sh: Likewise.
41161 * debug/xtrace.sh: Likewise.
41162 * elf/ldconfig.c: Likewise.
41163 * elf/ldd.bash.in: Likewise.
41164 * elf/sprof.c (print_version): Likewise.
41165 * iconv/iconv_prog.c: Likewise.
41166 * iconv/iconvconfig.c: Likewise.
41167 * locale/programs/locale.c: Likewise.
41168 * locale/programs/localedef.c: Likewise.
41169 * malloc/memusage.sh: Likewise.
41170 * malloc/mtrace.pl: Likewise.
41171 * nscd/nscd.c (print_version): Likewise.
41172 * nss/getent.c: Likewise.
41173
a77e8cbc
UD
41174 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41175 PF_CAIF, and PF_ALG.
41176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41177
77e8bddf
AS
411782011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41179
1f20b93a
AS
41180 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41181 (modules-names): Use them.
41182 (ifunc-test-modules, ifunc-pie-tests): Define.
41183 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41184 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41185 (test-extras): Likewise.
41186 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41187 $(compile-command.c).
41188 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41189 (all-built-dso): Define.
41190 (check-textrel.out, check-execstack.out): Depend on it.
41191
77e8bddf
AS
41192 * configure.in: Don't override --enable-multi-arch.
41193
bc425b33
UD
411942011-01-15 Ulrich Drepper <drepper@gmail.com>
41195
41196 [BZ #6812]
41197 * nscd/hstcache.c (tryagain): Define.
41198 (cache_addhst): Return tryagain not notfound for temporary errors.
41199 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41200 failed.
41201
794c3ad3
UD
412022011-01-14 Ulrich Drepper <drepper@gmail.com>
41203
70181fdd
UD
41204 [BZ #10563]
41205 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41206 to make the syscall.
41207 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41208
794c3ad3
UD
41209 [BZ #12378]
41210 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41211 and fall back to matching as normal character if the string ends before
41212 the matching ']' is found. This is what POSIX requires.
41213 * posix/testfnm.c: Adjust test result.
41214 * posix/globtest.sh: Adjust test result. Add new test.
41215 * posix/tst-fnmatch.input: Likewise.
41216 * posix/tst-fnmatch2.c: Add new test.
41217
68dc9497
AS
412182010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41219
41220 * elf/Makefile (check-execstack): Revert last change. Depend on
41221 check-execstack.h.
41222 (check-execstack.h): New target.
41223 (generated): Add check-execstack.h.
41224 * elf/check-execstack.c: Include "check-execstack.h".
41225 (main): Revert last change.
41226 (handle_file): Return zero if GNU_STACK is absent and
41227 DEFAULT_STACK_PERMS doesn't include PF_X.
41228
451f001b
UD
412292011-01-13 Ulrich Drepper <drepper@gmail.com>
41230
cfa28e56
UD
41231 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41232 in child fails because the descriptor is already closed.
8cf8ce17
UD
41233 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41234 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41235 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41236
1086d70d
UD
41237 [BZ #12397]
41238 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41239 syscall.
41240
451f001b
UD
41241 [BZ #10484]
41242 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41243 temporary buffer used to handle multi lookups locally.
a85b5cb4 41244 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41245
08769175
UD
412462011-01-12 Ulrich Drepper <drepper@gmail.com>
41247
41248 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41249 loader is ld.so.
41250
5e49c52e
UD
412512011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41252
41253 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41254 alignment for SSE2.
41255
60522a5f
UD
412562011-01-12 Ulrich Drepper <drepper@gmail.com>
41257
41258 [BZ #12394]
41259 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41260 characters. When rounding increased number of integer digits recompute
41261 number of groups.
41262 * stdio-common/tst-grouping.c: New file.
41263 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41264
f257bbd7
UD
412652011-01-09 Ulrich Drepper <drepper@gmail.com>
41266
41267 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41268 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41269
41270 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41271 void.
41272 * bits/select.h: Likewise.
41273
fa9c15cb
UD
412742011-01-08 Ulrich Drepper <drepper@gmail.com>
41275
41276 * po/ja.po: Update from translation team.
41277
16c2895f
DM
412782011-01-04 David S. Miller <davem@sunset.davemloft.net>
41279
41280 [BZ #11155]
41281 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41282 implementation just like for lxstat, fxstatat, et al.
41283
2543fef2
JM
412842010-12-27 Jim Meyering <meyering@redhat.com>
41285
41286 [BZ #12348]
41287 * posix/regexec.c (build_trtable): Return failure indication upon
41288 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41289
98727dbe
UD
412902010-12-25 Ulrich Drepper <drepper@gmail.com>
41291
5bd6dc5c
UD
41292 [BZ #12201]
41293 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41294 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41295 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41296 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41297
97983464
UD
41298 [BZ #12207]
41299 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41300
98727dbe
UD
41301 [BZ #12204]
41302 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41303 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41304
4a531bb0
L
413052010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41306
41307 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41308 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41309 script has SORT_BY_INIT_PRIORITY.
41310 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41311 NO_CTORS_DTORS_SECTIONS is defined.
41312 * elf/soinit.c: Likewise.
41313 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41314 NO_CTORS_DTORS_SECTIONS is defined.
41315 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41316 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41317 * sysdeps/sh/init-first.c: Likewise.
41318 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41319
07eb4b71
UD
413202010-12-24 Ulrich Drepper <drepper@gmail.com>
41321
41322 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41323 always use the slow path.
41324
30950a5f
RA
413252010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41326
41327 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41328 similar rule which adds the sysdep directories to the header search in
41329 order to pick up the correct platform stackinfo.h.
41330 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41331 perform test if it is, otherwise return successfully without testing.
41332 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41333 DEFAULT_STACK_PERMS define in stackinfo.h.
41334 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41335 defined in stackinfo.h.
41336 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41337 DEFAULT_STACK_PERMS defined in stackinfo.h.
41338 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41339 * sysdeps/ia64/stackinfo.h: Likewise.
41340 * sysdeps/s390/stackinfo.h: Likewise.
41341 * sysdeps/sh/stackinfo.h: Likewise.
41342 * sysdeps/sparc/stackinfo.h: Likewise.
41343 * sysdeps/x86_64/stackinfo.h: Likewise.
41344 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41345 PF_X for powerpc64. Retain PF_X for powerpc32.
41346
db753e2c
UD
413472010-12-19 Ulrich Drepper <drepper@gmail.com>
41348
14b697f7
UD
41349 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41350 accurately.
db753e2c
UD
41351 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41352 GETDENTS_64BIT_ALIGNED.
41353
28300719
UD
413542010-12-14 Ulrich Drepper <dreper@gmail.com>
41355
14b697f7 41356 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41357
4f197237
AS
413582010-12-10 Andreas Schwab <schwab@redhat.com>
41359
dbb0472f
AS
41360 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41361 _GNU_SOURCE.
41362
4f197237
AS
41363 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41364 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41365 Remove __restrict.
41366 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41367 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41368
fb88ac72
UD
413692010-12-09 Ulrich Drepper <drepper@gmail.com>
41370
41371 [BZ #11655]
41372 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41373 are initialized.
41374
42acbb92
JJ
413752010-12-09 Jakub Jelinek <jakub@redhat.com>
41376
41377 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41378
c038d98d
UD
413792010-12-03 Ulrich Drepper <drepper@gmail.com>
41380
41381 * po/it.po: Update from translation team.
41382
3a4a2499
L
413832010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41384
41385 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41386 unused codes.
41387
1e24cf6e
UD
413882010-11-30 Ulrich Drepper <drepper@gmail.com>
41389
41390 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41391
a7690819
AS
413922010-11-24 Andreas Schwab <schwab@redhat.com>
41393
41394 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41395 specially.
41396 (gaih_getanswer_slice): Likewise.
41397
3bf8d1b1
JJ
413982010-10-20 Jakub Jelinek <jakub@redhat.com>
41399
41400 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41401
6db52fbb
PB
414022010-05-31 Petr Baudis <pasky@suse.cz>
41403
41404 [BZ #11149]
41405 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41406 silently even in the chroot mode.
41407
eaca7569
UD
414082010-11-22 Ulrich Drepper <drepper@gmail.com>
41409
41410 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41411 last patch a bit. Pretty printing
41412
3056dcdb
UD
414132010-05-31 Petr Baudis <pasky@suse.cz>
41414
41415 [BZ #10085]
41416 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41417 initialization of skip_initgroups_dyn.
41418
cf7c9078
UD
414192010-11-19 Ulrich Drepper <drepper@gmail.com>
41420
41421 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41422 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41423
a1fb5e3e
UD
414242010-11-16 Ulrich Drepper <drepper@gmail.com>
41425
41426 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41427
3540d66b
AS
414282010-11-11 Andreas Schwab <schwab@redhat.com>
41429
41430 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41431 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41432 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41433 ($(objpfx)tst-fnmatch-mem): New rule.
41434 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41435 * posix/tst-fnmatch.c (main): Call mtrace.
41436
13b69574
L
414372010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41438
41439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41440 Support Intel processor model 6 and model 0x2c.
41441
da93d214
LM
414422010-11-10 Luis Machado <luisgpm@br.ibm.com>
41443
41444 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41445 signed comparison.
41446
8ca52c6e
L
414472010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41448
41449 [BZ #12205]
41450 * string/test-strncasecmp.c (check_result): New function.
41451 (do_one_test): Use it.
41452 (check1): New function.
41453 (test_main): Use it.
41454 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41455 Support strcasecmp and strncasecmp.
41456
69da074d
UD
414572010-11-08 Ulrich Drepper <drepper@gmail.com>
41458
41459 [BZ #12194]
41460 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41461 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41462
ff02d528
L
414632010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41464
41465 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41466 IFUNC support.
41467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41468 memset-x86-64.
41469 * sysdeps/x86_64/multiarch/bzero.S: New file.
41470 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41471 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41472 * sysdeps/x86_64/multiarch/memset.S: New file.
41473 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41475 Set bit_Prefer_SSE_for_memop for Intel processors.
41476 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41477 Define.
41478 (index_Prefer_SSE_for_memop): Define.
41479 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41480
344d0b54
LM
414812010-11-04 Luis Machado <luisgpm@br.ibm.com>
41482
41483 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41484 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41485
c0dde15b
UD
414862010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41487
41488 [BZ #12191]
41489 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41490 (__x86_64_raw_data_cache_size_half): Likewise.
41491 (__x86_64_raw_shared_cache_size): Likewise.
41492 (__x86_64_raw_shared_cache_size_half): Likewise.
41493
41494 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41495 (__x86_64_raw_data_cache_size_half): Likewise.
41496 (__x86_64_raw_shared_cache_size): Likewise.
41497 (__x86_64_raw_shared_cache_size_half): Likewise.
41498 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41499 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41500 and __x86_64_raw_shared_cache_size_half. Round
41501 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41502 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41503 to multiple of 256 bytes.
41504
0e516e0e
MS
415052010-11-03 Ulrich Drepper <drepper@gmail.com>
41506
41507 [BZ #12167]
41508 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41509 of inacessible symlinks. Verify result of symlink before returning it.
41510 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41511 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41512
0e012e87
ER
415132010-10-28 Erich Ritz <erichritz@gmail.com>
41514
41515 * math/math.h (isinf): Fix typo in comment.
41516
de0ff7bc
UD
415172010-11-01 Ulrich Drepper <drepper@gmail.com>
41518
41519 * po/da.po: Update from translation team.
41520
fa41c84d
UD
415212010-10-26 Ulrich Drepper <drepper@gmail.com>
41522
41523 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41524 is added to the list.
41525
f0967738
AK
415262010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41527 Ulrich Drepper <drepper@gmail.com>
41528
41529 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41530 the global list here. Move code to...
41531 (_dl_add_to_namespace_list): ...here. New function.
41532 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41533 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41534 * elf/dl-load.c (lose): Don't remove the element from the list.
41535 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41536 (_dl_map_object): Likewise.
41537
415382010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41539
41540 [BZ #12159]
41541 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41542 into all bytes of SSE register.
41543 Patch by Richard Li <richardpku@gmail.com>.
41544
f0967738 415452010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41546
41547 [BZ #12140]
41548 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41549 perturbing.
41550
d0b9e94f
MB
415512010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41552
41553 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41554 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41555 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41556 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41558 submachine.
41559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41560
8e9f92e9
AS
415612010-10-22 Andreas Schwab <schwab@redhat.com>
41562
41563 * include/dlfcn.h (__RTLD_SECURE): Define.
41564 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41565 mode & __RTLD_SECURE instead.
41566 (open_path): Rename preloaded parameter to secure.
41567 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41568 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41569 * elf/dl-deps.c (openaux): Likewise.
41570 * elf/rtld.c (struct map_args): Remove is_preloaded.
41571 (map_doit): Don't use it.
41572 (dl_main): Likewise.
41573 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41574 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41575
bc96fbda
AS
415762010-09-09 Andreas Schwab <schwab@redhat.com>
41577
41578 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41579 (sysd-rules-targets): Remove duplicates.
41580 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41581 rtld-%.$o dependency.
41582
22cd1c9b
AS
415832010-10-18 Andreas Schwab <schwab@redhat.com>
41584
41585 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41586 _dl_map_object do it.
41587
18edac48
UD
415882010-10-19 Ulrich Drepper <drepper@gmail.com>
41589
41590 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41591 fast fma builtins, define the macros in the C99 standard.
41592 (FP_FAST_FMAF): Likewise.
41593 (FP_FAST_FMAL): Likewise.
41594 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41595
41596 * bits/mathdef.h: Update copyright year.
41597 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41598
d2050124
MM
415992010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41600
41601 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41602 builtins, define the macros in the C99 standard.
41603 (FP_FAST_FMAF): Likewise.
41604 (FP_FAST_FMAL): Likewise.
41605 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41606 multiply/add.
41607 (FP_FAST_FMAF): Likewise.
41608
475facd1
JJ
416092010-10-15 Jakub Jelinek <jakub@redhat.com>
41610
41611 [BZ #3268]
41612 * math/libm-test.inc (fma_test): Some new testcases.
41613 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41614 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41615 y and infinite z. Do multiplication by C already in long double.
41616 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41618 y and infinite z. Do bitwise or of inexact bit into u.d.
41619 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41620 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41621 * sysdeps/i386/fpu/s_fma.S: Removed.
41622 * sysdeps/i386/fpu/s_fmal.S: Removed.
41623
7c08a05c
JJ
416242010-10-16 Jakub Jelinek <jakub@redhat.com>
41625
41626 [BZ #3268]
41627 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41629 computation is not scheduled after fetestexcept. Fix value
41630 of minimum denormal long double.
41631
f3f7372d
JJ
416322010-10-14 Jakub Jelinek <jakub@redhat.com>
41633
41634 [BZ #3268]
41635 * math/libm-test.inc (fma_test): Add some more tests.
41636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41637 correctly.
41638
14d43591
AS
416392010-10-15 Andreas Schwab <schwab@redhat.com>
41640
41641 * scripts/data/localplt-s390-linux-gnu.data: New file.
41642 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41643
5e908464
JJ
416442010-10-13 Jakub Jelinek <jakub@redhat.com>
41645
41646 [BZ #3268]
41647 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41648 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41649 instead of dbl-64.
41650 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41651 inlines.
41652 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41654 if one of x and y is very large and the other is subnormal.
41655 * sysdeps/s390/fpu/s_fmaf.c: New file.
41656 * sysdeps/s390/fpu/s_fma.c: New file.
41657 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41658 * sysdeps/powerpc/fpu/s_fma.S: New file.
41659 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41660 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41661 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41662
416632010-10-12 Jakub Jelinek <jakub@redhat.com>
41664
41665 [BZ #3268]
41666 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41667 fma tests.
41668 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41669 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41670 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41671 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41672 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41673 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41674 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41675
b833d51f
UD
416762010-10-12 Ulrich Drepper <drepper@redhat.com>
41677
41678 [BZ #12078]
41679 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41680 * posix/bug-regex31.input: Add test case.
41681
1751705d
UD
416822010-10-11 Ulrich Drepper <drepper@gmail.com>
41683
e9b9cbf5
UD
41684 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41685 * posix/bug-regex31.input: New file.
41686
41687 [BZ #12078]
41688 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41689 (parse_sub_exp): Fix last change, use postorder.
41690
ef06edbe
UD
41691 * posix/bug-regex31.c: New file.
41692 * posix/Makefile: Add rules to build and run bug-regex31.
41693
a129c80d
UD
41694 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41695
41696 [BZ #12078]
41697 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41698
b76b818e
UD
41699 [BZ #12108]
41700 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41701 to have entries in sys_siglist.
41702
1751705d
UD
41703 [BZ #12093]
41704 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41705 be NULL.
41706
9ff8d36f
JJ
417072010-10-07 Jakub Jelinek <jakub@redhat.com>
41708
41709 [BZ #3268]
41710 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41711 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41712 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41713 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41714 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41715 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41716 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41717 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41718 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41719 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41720 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41721 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41722 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41723 * math/ftestexcept.c (fetestexcept): Likewise.
41724 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41725 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41726 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41727 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41728 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41729 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41730 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41731
af325969
UD
417322010-10-11 Ulrich Drepper <drepper@gmail.com>
41733
c579b202 41734 [BZ #12107]
af325969
UD
41735 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41736 newline.
41737
67a67b95
UD
417382010-10-06 Ulrich Drepper <drepper@gmail.com>
41739
41740 * string/bug-strstr1.c: New file.
41741 * string/Makefile: Add rules to build and run bug-strstr1.
41742
5fb308bc
EB
417432010-10-05 Eric Blake <eblake@redhat.com>
41744
41745 [BZ #12092]
41746 * string/str-two-way.h (two_way_long_needle): Always clear memory
41747 when skipping input due to the shift table.
41748
45db99c7
UD
417492010-10-03 Ulrich Drepper <drepper@gmail.com>
41750
3b111893
UD
41751 [BZ #12005]
41752 * malloc/mcheck.c: Handle large requests.
41753
45db99c7
UD
41754 [BZ #12077]
41755 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41756 for strncmp and strncasecmp.
41757 * string/stratcliff.c: Add tests for strcmp and strncmp.
41758 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41759
cf7a1eb8
NI
417602010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41761
41762 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41763 __set_fpscr.
41764
6484ba5e
AJ
417652010-09-30 Andreas Jaeger <aj@suse.de>
41766
41767 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41768 (CGROUP_SUPER_MAGIC): Define.
41769 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41770 Handle btrfs and cgroup file systems.
41771 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41772 Likewise.
41773
91c42559
LM
417742010-09-27 Luis Machado <luisgpm@br.ibm.com>
41775
41776 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41777 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41778
87a97932
AK
417792010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41780
41781 [BZ #12067]
41782 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41783 trying to locate the ELF header.
41784
c21cc9bc
AS
417852010-09-27 Andreas Schwab <schwab@redhat.com>
41786
41787 [BZ #11611]
41788 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41789 Mask out sign-bit copies when constructing f_fsid.
41790
315970f6
PB
417912010-09-24 Petr Baudis <pasky@suse.cz>
41792
41793 * debug/stack_chk_fail_local.c: Add missing licence exception.
41794 * debug/warning-nop.c: Likewise.
41795
1ac7a2c7
JM
417962010-09-15 Joseph Myers <joseph@codesourcery.com>
41797
41798 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41799 implementing getdents64 using getdents syscall, set d_type if
41800 __ASSUME_GETDENTS32_D_TYPE.
41801
56801c50
AS
418022010-09-16 Andreas Schwab <schwab@redhat.com>
41803
41804 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41805 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41806
dda51327
UD
418072010-09-21 Ulrich Drepper <drepper@redhat.com>
41808
41809 [BZ #12037]
41810 * posix/unistd.h: Undo change of feature selection for ftruncate from
41811 2010-01-11.
41812
8ffcee4a
UD
418132010-09-20 Ulrich Drepper <drepper@redhat.com>
41814
a545ecd9 41815 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41816 detection.
41817
e24f0a8b
AS
418182010-09-20 Andreas Schwab <schwab@redhat.com>
41819
41820 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41821 fanotify_mark.
41822 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41823
7291c56f
AS
418242010-09-14 Andreas Schwab <schwab@redhat.com>
41825
41826 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41827 variables after CHECK_SP call.
41828 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41829
bc5fb037
AS
418302010-09-13 Andreas Schwab <schwab@redhat.com>
41831 Ulrich Drepper <drepper@redhat.com>
41832
41833 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41834 re-relocationg ld.so.
41835 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41836 _dl_init_paths call.
41837 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41838 here anymore.
41839
e66e7419
UD
418402010-09-14 Ulrich Drepper <drepper@redhat.com>
41841
41842 * resolv/res_init.c (__res_vinit): Count the default server we added.
41843
c044aa75
CLT
418442010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41845 Ulrich Drepper <drepper@redhat.com>
41846
41847 [BZ #11968]
41848 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41849 (____longjmp_chk): Use %ebx for saving value across system call.
41850 Add unwind info.
41851
32cf4069
AS
418522010-09-06 Andreas Schwab <schwab@redhat.com>
41853
41854 * manual/Makefile: Don't mix pattern rules with normal rules.
41855
817328ee
AS
418562010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41857
41858 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41859 operation.
41860 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41861 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41862 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41863 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41865 Likewise.
41866
29fddf61
UD
418672010-09-04 Ulrich Drepper <drepper@redhat.com>
41868
41869 [BZ #11979]
41870 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41871 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41872
0959ffc9
UD
418732010-09-02 Ulrich Drepper <drepper@redhat.com>
41874
41875 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41876 * sysdeps/x86_64/addmul_1.S: Likewise.
41877 * sysdeps/x86_64/lshift.S: Likewise.
41878 * sysdeps/x86_64/mul_1.S: Likewise.
41879 * sysdeps/x86_64/rshift.S: Likewise.
41880 * sysdeps/x86_64/sub_n.S: Likewise.
41881 * sysdeps/x86_64/submul_1.S: Likewise.
41882
ece29840
ST
418832010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41884
0959ffc9
UD
41885 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41886 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41887 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41888 * bits/sched.h [__need_schedparam]
ece29840 41889 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41890 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41891 (__defined_schedparam): Define to 1.
ece29840
ST
41892 (__sched_param): New structure, identical to sched_param.
41893 (__need_schedparam): Undefine.
41894
e53a31fe
MF
418952010-08-31 Mike Frysinger <vapier@gentoo.org>
41896
fdc0c10d
MF
41897 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41898 (epoll_create1): Declare.
41899
e53a31fe
MF
41900 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41901
a726d796
AS
419022010-08-31 Andreas Schwab <schwab@redhat.com>
41903
41904 [BZ #7066]
41905 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41906 shifting retval into place.
41907
2f3e3dc7
UD
419082010-09-01 Ulrich Drepper <drepper@redhat.com>
41909
f2933da9
UD
41910 * nis/rpcsvc/nis.h: Update copyright notice.
41911 * nis/rpcsvc/nis.x: Likewise.
41912 * nis/rpcsvc/nis_callback.h: Likewise.
41913 * nis/rpcsvc/nis_callback.x: Likewise.
41914 * nis/rpcsvc/nis_object.x: Likewise.
41915 * nis/rpcsvc/nis_tags.h: Likewise.
41916 * nis/rpcsvc/yp.h: Likewise.
41917 * nis/rpcsvc/yp.x: Likewise.
41918 * nis/rpcsvc/ypupd.h: Likewise.
41919 * nis/yp_xdr.c: Likewise.
41920 * nis/ypupdate_xdr.c: Likewise.
41921
2f3e3dc7
UD
41922 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41923 mainly the body of pmap_getport. Add parameters to specify timeouts.
41924 (pmap_getport): Use __libc_rpc_getport.
41925 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41926 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41927 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41928
f3dcc2f9
AS
419292010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41930
41931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41932 fanotify_mark.
41933
6d34eb5b
RM
419342010-08-27 Roland McGrath <roland@redhat.com>
41935
41936 * sysdeps/i386/i686/multiarch/Makefile
41937 (CFLAGS-varshift.c): New variable.
41938
9ea3de11
UD
419392010-08-27 Ulrich Drepper <drepper@redhat.com>
41940
c96d23fc
UD
41941 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41942 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41943
9ea3de11
UD
41944 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41945
41946 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41947
623aac7f
L
419482010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41949
41950 * sysdeps/x86_64/strlen.S: Unroll the loop.
41951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41952 strlen-sse2 strlen-sse2-bsf.
41953 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41954 __strlen_no_bsf if bit_Slow_BSF is set.
41955 (__strlen_sse42): Removed.
41956 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41957 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41958
8b2b7715
RM
419592010-08-25 Roland McGrath <roland@redhat.com>
41960
41961 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41962 * sysdeps/x86_64/multiarch/varshift.c: New file.
41963 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41964 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41965 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41966 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41967
e73015f2
L
419682010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41969
41970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41971 strlen-sse2 strlen-sse2-bsf.
41972 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41973 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41974 (__strlen_sse2): Removed.
41975 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41976 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41978 bit_Slow_BSF for Atom.
41979 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41980 (index_Slow_BSF): Define.
41981 (HAS_SLOW_BSF): Define.
41982
df24a73e
UD
419832010-08-25 Ulrich Drepper <drepper@redhat.com>
41984
41985 [BZ #10851]
41986 * resolv/res_init.c (__res_vinit): When no server address at all
41987 is given default to loopback.
41988
f2ac4868
RM
419892010-08-24 Roland McGrath <roland@redhat.com>
41990
09055553
RM
41991 * configure.in: Remove config-name.h generation.
41992 * configure: Regenerated.
41993 * config-name.in: File removed.
41994 * scripts/config-uname.sh: New file.
41995 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41996 ($(objdir)config-name.h): New target.
41997
f2ac4868
RM
41998 * sunrpc/rpc_parse.h: Avoid nested comment.
41999
73f27d5e
RH
420002010-08-24 Richard Henderson <rth@redhat.com>
42001 Ulrich Drepper <drepper@redhat.com>
42002 H.J. Lu <hongjiu.lu@intel.com>
42003
42004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42006 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42007 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42008 _mm_alignr_epi8 with _mm_loadu_si128.
42009 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42010 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42011 (__m128i_shift_right): Removed.
42012 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42013 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42014 * sysdeps/x86_64/multiarch/varshift.h: New file.
42015 * sysdeps/x86_64/multiarch/varshift.S: New file.
42016
84b9230c
MF
420172010-08-21 Mike Frysinger <vapier@gentoo.org>
42018
42019 * configure.in: Move assembler checks to before sysdep dir checking.
42020
9bbd0ddc
PB
420212010-08-20 Petr Baudis <pasky@suse.cz>
42022
42023 * LICENSES: Sync the sunrpc license.
42024
9da4bb31
UD
420252010-08-19 Ulrich Drepper <drepper@redhat.com>
42026
a7ab6ec8
UD
42027 * sunrpc/auth_des.c: Update copyright notice once again.
42028 * sunrpc/auth_none.c: Likewise.
42029 * sunrpc/auth_unix.c: Likewise.
42030 * sunrpc/authdes_prot.c: Likewise.
42031 * sunrpc/authuxprot.c: Likewise.
42032 * sunrpc/bindrsvprt.c: Likewise.
42033 * sunrpc/clnt_gen.c: Likewise.
42034 * sunrpc/clnt_perr.c: Likewise.
42035 * sunrpc/clnt_raw.c: Likewise.
42036 * sunrpc/clnt_simp.c: Likewise.
42037 * sunrpc/clnt_tcp.c: Likewise.
42038 * sunrpc/clnt_udp.c: Likewise.
42039 * sunrpc/clnt_unix.c: Likewise.
42040 * sunrpc/des_crypt.c: Likewise.
42041 * sunrpc/des_soft.c: Likewise.
42042 * sunrpc/get_myaddr.c: Likewise.
42043 * sunrpc/getrpcport.c: Likewise.
42044 * sunrpc/key_call.c: Likewise.
42045 * sunrpc/key_prot.c: Likewise.
42046 * sunrpc/openchild.c: Likewise.
42047 * sunrpc/pm_getmaps.c: Likewise.
42048 * sunrpc/pm_getport.c: Likewise.
42049 * sunrpc/pmap_clnt.c: Likewise.
42050 * sunrpc/pmap_prot.c: Likewise.
42051 * sunrpc/pmap_prot2.c: Likewise.
42052 * sunrpc/pmap_rmt.c: Likewise.
42053 * sunrpc/rpc/auth.h: Likewise.
42054 * sunrpc/rpc/auth_unix.h: Likewise.
42055 * sunrpc/rpc/clnt.h: Likewise.
42056 * sunrpc/rpc/des_crypt.h: Likewise.
42057 * sunrpc/rpc/key_prot.h: Likewise.
42058 * sunrpc/rpc/netdb.h: Likewise.
42059 * sunrpc/rpc/pmap_clnt.h: Likewise.
42060 * sunrpc/rpc/pmap_prot.h: Likewise.
42061 * sunrpc/rpc/pmap_rmt.h: Likewise.
42062 * sunrpc/rpc/rpc.h: Likewise.
42063 * sunrpc/rpc/rpc_des.h: Likewise.
42064 * sunrpc/rpc/rpc_msg.h: Likewise.
42065 * sunrpc/rpc/svc.h: Likewise.
42066 * sunrpc/rpc/svc_auth.h: Likewise.
42067 * sunrpc/rpc/types.h: Likewise.
42068 * sunrpc/rpc/xdr.h: Likewise.
42069 * sunrpc/rpc_clntout.c: Likewise.
42070 * sunrpc/rpc_cmsg.c: Likewise.
42071 * sunrpc/rpc_common.c: Likewise.
42072 * sunrpc/rpc_cout.c: Likewise.
42073 * sunrpc/rpc_dtable.c: Likewise.
42074 * sunrpc/rpc_hout.c: Likewise.
42075 * sunrpc/rpc_main.c: Likewise.
42076 * sunrpc/rpc_parse.c: Likewise.
42077 * sunrpc/rpc_parse.h: Likewise.
42078 * sunrpc/rpc_prot.c: Likewise.
42079 * sunrpc/rpc_sample.c: Likewise.
42080 * sunrpc/rpc_scan.c: Likewise.
42081 * sunrpc/rpc_scan.h: Likewise.
42082 * sunrpc/rpc_svcout.c: Likewise.
42083 * sunrpc/rpc_tblout.c: Likewise.
42084 * sunrpc/rpc_util.c: Likewise.
42085 * sunrpc/rpc_util.h: Likewise.
42086 * sunrpc/rpcinfo.c: Likewise.
42087 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42088 * sunrpc/rpcsvc/key_prot.x: Likewise.
42089 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42090 * sunrpc/rpcsvc/mount.x: Likewise.
42091 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42092 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42093 * sunrpc/rpcsvc/rex.x: Likewise.
42094 * sunrpc/rpcsvc/rstat.x: Likewise.
42095 * sunrpc/rpcsvc/rusers.x: Likewise.
42096 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42097 * sunrpc/rpcsvc/spray.x: Likewise.
42098 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42099 * sunrpc/rtime.c: Likewise.
42100 * sunrpc/svc.c: Likewise.
42101 * sunrpc/svc_auth.c: Likewise.
42102 * sunrpc/svc_authux.c: Likewise.
42103 * sunrpc/svc_raw.c: Likewise.
42104 * sunrpc/svc_run.c: Likewise.
42105 * sunrpc/svc_simple.c: Likewise.
42106 * sunrpc/svc_tcp.c: Likewise.
42107 * sunrpc/svc_udp.c: Likewise.
42108 * sunrpc/svc_unix.c: Likewise.
42109 * sunrpc/svcauth_des.c: Likewise.
42110 * sunrpc/xcrypt.c: Likewise.
42111 * sunrpc/xdr.c: Likewise.
42112 * sunrpc/xdr_array.c: Likewise.
42113 * sunrpc/xdr_float.c: Likewise.
42114 * sunrpc/xdr_mem.c: Likewise.
42115 * sunrpc/xdr_rec.c: Likewise.
42116 * sunrpc/xdr_ref.c: Likewise.
42117 * sunrpc/xdr_sizeof.c: Likewise.
42118 * sunrpc/xdr_stdio.c: Likewise.
42119
9da4bb31
UD
42120 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42121 handling.
42122
bdaa77bc
AS
421232010-08-19 Andreas Schwab <schwab@redhat.com>
42124
42125 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42126
fe2f79db
LM
421272010-08-19 Luis Machado <luisgpm@br.ibm.com>
42128
42129 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42130 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42131 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42132 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42133 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42134 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42135 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42136 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42137 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42138 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42139 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42140 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42141 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42142 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42143
b9b42ee0
AB
421442010-07-26 Anton Blanchard <anton@samba.org>
42145
42146 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42147 * malloc/arena.c (heap_trim): Likewise.
42148
1c06ba31
UD
421492010-08-16 Ulrich Drepper <drepper@redhat.com>
42150
42151 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42152 here. Not...
42153 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42154 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42155
f8392f40
L
421562010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42157
42158 * sysdeps/i386/elf/Makefile: New file.
42159
3162f12e
AS
421602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42161
42162 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42163 from fanotify_init.
42164 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42165 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42166
28c90b2c
UD
421672010-08-15 Ulrich Drepper <drepper@redhat.com>
42168
42169 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42170 of strncasecmp_l.
1feccb6c 42171 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42172
ca6bb004
UD
421732010-08-14 Ulrich Drepper <drepper@redhat.com>
42174
e9f82e0d
UD
42175 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42176 strncase_l-nonascii.
42177 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42178 Add strncase_l-ssse3.
42179 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42180 * sysdeps/x86_64/strcmp.S: Likewise.
42181 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42182 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42183 * sysdeps/x86_64/strncase.S: New file.
42184 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42185 * sysdeps/x86_64/strncase_l.S: New file.
42186 * string/Makefile (strop-tests): Add strncasecmp.
42187 * string/test-strncasecmp.c: New file.
42188
42189 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42190 warning.
42191
ca6bb004
UD
42192 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42193 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42194
052fa7b3
AS
421952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42196
42197 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42198
962dba78
UD
421992010-08-12 Ulrich Drepper <drepper@redhat.com>
42200
42201 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42202 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42203 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42204
bebff237
AM
422052010-05-01 Alan Modra <amodra@gmail.com>
42206
42207 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42208 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42209 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42210 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42211 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42212 tidying. Don't tail-call __sigjmp_save for static lib.
42213 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42214 save location.
42215 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42216 (CALL_MCOUNT): Add eh info, and nop after bl.
42217 (TAIL_CALL_SYSCALL_ERROR): New macro.
42218 (PSEUDO_RET): Use it.
42219 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42220 Correct save location of integer regs and cr.
42221 (_dl_profile_resolve): Correct cr save location. Delete nops
42222 after bl when SHARED. Reduce cfi size a little by better
42223 placement of cfi directives.
42224 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42225 make a stack frame. Instead use parm save area as a temp.
42226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42227 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42229 Don't make a stack frame for parent, use parm save area.
42230 Increase child stack frame to 112 bytes. Don't save unused reg,
42231 and adjust reg usage. Set up cfi on error recovery and
42232 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42234 (__makecontext): Add dummy nop after jump to exit.
42235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42236 Use correct parm save area and cr save, reduce stack frame.
42237 Correct cfi for possible PSEUDO_RET frame setup.
42238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42239 Branch to local label emitted by PSEUDO_RET rather than
42240 __syscall_error.
42241
02637374
AS
422422010-08-12 Andreas Schwab <schwab@redhat.com>
42243
42244 [BZ #11904]
42245 * locale/programs/locale.c (print_assignment): New function.
42246 (show_locale_vars): Use it.
42247
c3e2f19b
UD
422482010-08-11 Ulrich Drepper <drepper@redhat.com>
42249
3cdaa6ad
UD
42250 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42251 field.
42252 (struct statfs64): Likewise.
42253 (_STATFS_F_FLAGS): Define.
42254 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42255 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42256 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42257 (ST_VALID): Define locally.
42258 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42259 __statvfs_getflags, use the provided value.
42260 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42261 __ASSUME_STATFS_F_FLAGS.
42262
754f7da3
UD
42263 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42264
10b3bedc
UD
42265 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42266 Add sys/fanotify.h.
42267 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42268 fanotify_mask for GLIBC_2.13.
42269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42270 fanotify_init and fanotify_mark.
42271 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42272 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42273
c08fb0d7
UD
42274 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42275 Add prlimit.
42276 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42277 prlimit64 for GLIBC_2.13.
42278 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42279 prlimit64.
42280 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42281 syscall.
42282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42283 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42284 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42285 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42287 add prlimit alias.
42288 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42289
15bac72b
UD
42290 [BZ #11903]
42291 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42292 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42293
c3e2f19b
UD
42294 * nss/Makefile: Add rules to build and run tst-nss-test1.
42295 * shlib-versions: Add entry for libnss_test1.
42296 * nss/nss_test1.c: New file.
42297 * nss/tst-nss-test1.c: New file.
42298
42299 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42300 (__nss_configure_lookup): Set appropriate entry in
42301 __nss_configure_lookup to true.
42302 * nss/nsswitch.h: Define enum with indeces of databases in
42303 databases and __nss_database_custom arrays. Declare
42304 __nss_database_custom.
42305 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42306 to avoid using nscd when custom rules are installed.
42307 * nss/getXXbyYY_r.c: Likewise.
42308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42309
42310 * nss/nss_files/files-parse.c: Whitespace fixes.
42311
f15ce4d8
UD
423122010-08-09 Ulrich Drepper <drepper@redhat.com>
42313
42314 [BZ #11883]
42315 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42316 * posix/fnmatch_loop.c: Likewise.
42317
d22e4cc9
AK
423182010-07-17 Andi Kleen <ak@linux.intel.com>
42319
42320 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42321 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42322 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42323 * Versions.def [GLIBC_2.13]: Add.
42324
805bc17d
UD
423252010-08-06 Ulrich Drepper <drepper@redhat.com>
42326
42327 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42328 Also fail if tpwd after pwuid call is NULL.
42329
5a42321d
ST
423302010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42331
42332 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42333 when converting to ms.
42334
fd3ebeda
ST
423352010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42336
42337 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42338 EOPNOTSUPP errors with ENOTTY.
42339 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42340 EOPNOTSUPP errors with ENOTTY.
42341
73507d3a
UD
423422010-07-31 Ulrich Drepper <drepper@redhat.com>
42343
42344 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42345 Add strcasecmp_l-ssse3.
42346 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42347 strcasecmp.
42348 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42349 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42350 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42351
fe36dd02
UD
423522010-07-30 Ulrich Drepper <drepper@redhat.com>
42353
66f6765a
UD
42354 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42355
42e08a54
UD
42356 * string/Makefile (strop-tests): Add strcasecmp.
42357 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42358 strcasecmp_l-nonascii.
42359 (gen-as-const-headers): Add locale-defines.sym.
42360 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42361 * sysdeps/x86_64/strcasecmp.S: New file.
42362 * sysdeps/x86_64/strcasecmp_l.S: New file.
42363 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42364 * sysdeps/x86_64/locale-defines.sym: New file.
42365 * string/test-strcasecmp.c: New file.
42366
fe36dd02
UD
42367 * string/test-strcasestr.c: Test both ends of the range of characters.
42368 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42369
48cbc0d6
RM
423702010-07-29 Roland McGrath <roland@redhat.com>
42371
76e6d6bc 42372 [BZ #11856]
48cbc0d6
RM
42373 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42374
880113d9
UD
423752010-07-27 Ulrich Drepper <drepper@redhat.com>
42376
42377 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42378 for ld.so.
42379
deb9cabb
AS
423802010-07-27 Andreas Schwab <schwab@redhat.com>
42381
42382 * manual/memory.texi (Malloc Tunable Parameters): Document
42383 M_PERTURB.
42384
1c7570ff
RM
423852010-07-26 Roland McGrath <roland@redhat.com>
42386
42387 [BZ #11840]
42388 * configure.in (-fgnu89-inline check): Set and substitute
42389 gnu89_inline, not libc_cv_gnu89_inline.
42390 * configure: Regenerated.
42391 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42392
24fb0f88
UD
423932010-07-26 Ulrich Drepper <drepper@redhat.com>
42394
42395 * string/test-strnlen.c: New file.
42396 * string/Makefile (strop-tests): Add strnlen.
42397 * string/tester.c (test_strnlen): Add a few more test cases.
42398 * string/tst-strlen.c: Better error reporting.
42399
42400 * sysdeps/x86_64/strnlen.S: New file.
42401
8e96b93a
UD
424022010-07-24 Ulrich Drepper <drepper@redhat.com>
42403
42404 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42405 lower-latency instructions.
42406
dbc676d4
UD
424072010-07-23 Ulrich Drepper <drepper@redhat.com>
42408
42409 * string/test-strcasestr.c: New file.
42410 * string/test-strstr.c: New file.
42411 * string/Makefile (strop-tests): Add strstr and strcasestr.
42412 * string/str-two-way.h: Don't undefine MAX.
42413 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42414
f6a31e0e
AS
424152010-07-21 Andreas Schwab <schwab@redhat.com>
42416
42417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42418 strcasestr-nonascii.
42419 (CFLAGS-strcasestr-nonascii.c): Define.
42420 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42421 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42422 Remove unused attribute.
42423
5dbc3b6c
RM
424242010-07-20 Roland McGrath <roland@redhat.com>
42425
42426 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42427 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42428 ld.so.cache was broken. With it, there is no way to disable dsocaps
42429 like LD_HWCAP_MASK can disable hwcaps.
42430
23d101d8
EPM
424312010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42432
42433 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42434
cc9f2e47
UD
424352010-07-16 Ulrich Drepper <drepper@redhat.com>
42436
42437 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42438 call in strcasestr.
42439 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42440 __strcasestr_sse42_nonascii.
42441 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42442 strcasestr-nonascii.c.
42443 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42444
77c1b069
LM
424452010-06-15 Luis Machado <luisgpm@br.ibm.com>
42446
42447 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42448 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42449 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42450 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42451
440566c3
UD
424522010-07-09 Ulrich Drepper <drepper@redhat.com>
42453
42454 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42455 fcntl.
42456
5be9d05d
AS
424572010-07-06 Andreas Schwab <schwab@redhat.com>
42458
c30b7ee2 42459 [BZ #11577]
5be9d05d
AS
42460 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42461 dl_signal_cerror.
42462
8a492a67
UD
424632010-07-06 Ulrich Drepper <drepper@redhat.com>
42464
42465 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42466 _PC_PIPE_BUF using F_GETPIPE_SZ.
42467
713df3d5
RM
424682010-07-05 Roland McGrath <roland@redhat.com>
42469
42470 * manual/arith.texi (Rounding Functions): Fix rint description
42471 implicit in round description.
42472
702e8f14
UD
424732010-07-02 Ulrich Drepper <drepper@redhat.com>
42474
42475 * elf/Makefile: Fix linking for a few tests to make recent linker
42476 happy.
42477
52ed8be9
AS
424782010-06-30 Andreas Schwab <schwab@redhat.com>
42479
42480 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42481 $(common-objpfx)libc_nonshared.a.
42482
f47c9a11
LM
424832010-06-21 Luis Machado <luisgpm@br.ibm.com>
42484
42485 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42486 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42487 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42488 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42489 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42490 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42491 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42492 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42507 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42508 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42509 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42510 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42511 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42512 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42513 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42514 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42515 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42516 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42517 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42518 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42533
6fb8cbcb
L
425342010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42535
42536 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42537 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42538 * string/memmove.c (memmove): Renamed to ...
42539 (MEMMOVE): ...this. Default to memmove.
42540 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42541 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42542 (END_CHK): Define.
42543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42544 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42545 mempcpy-ssse3-back memmove-ssse3-back.
42546 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42547 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42548 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42549 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42550 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42551 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42552 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42553 * sysdeps/x86_64/multiarch/memmove.c: New file.
42554 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42555 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42556 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42557 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42558 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42559 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42560 Define.
42561 (index_Fast_Copy_Backward): Define.
42562 (HAS_ARCH_FEATURE): Define.
42563 (HAS_FAST_REP_STRING): Define.
42564 (HAS_FAST_COPY_BACKWARD): Define.
42565
4e733bac 425662010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42567
42568 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42569 Restore proper fallback handling.
42570
63c4ed22
UD
425712010-06-19 Ulrich Drepper <drepper@redhat.com>
42572
ac2b484c
UD
42573 [BZ #11701]
42574 * posix/group_member.c (__group_member): Correct checking loop.
42575
63c4ed22
UD
42576 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42577 OOM in getpwuid_r correctly. Return error number when the caller
42578 should return, otherwise -1.
42579 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42580 call returning > 0 value.
42581 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42582
765ade4b
AS
425832010-06-07 Andreas Schwab <schwab@redhat.com>
42584
42585 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42586 libc_nonshared.a from targets in modules-names.
42587
80da2e09
KS
425882010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42589
42590 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42591 requires it.
42592
158db122
LM
425932010-06-10 Luis Machado <luisgpm@br.ibm.com>
42594
42595 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42596 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42597 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42598 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42599
caa78cf8
AS
426002010-06-02 Andreas Schwab <schwab@redhat.com>
42601
42602 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42603
b2ef2c01
UD
426042010-06-14 Ulrich Drepper <drepper@redhat.com>
42605
42606 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42607 and F_GETPIPE_SZ.
42608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42609 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42612 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42613 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42614
fbd643b6
RM
426152010-06-14 Roland McGrath <roland@redhat.com>
42616
42617 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42618
f32f2869
JJ
426192010-06-07 Jakub Jelinek <jakub@redhat.com>
42620
42621 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42622 __REDIRECT followed by __THROW.
42623 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42624 * posix/getopt.h (getopt): Likewise.
42625
2a50c078
EPM
426262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42627
42628 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42629 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42630 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42631 in AT_FLAGS.
42632 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42633 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42634
eb5ad2eb
LM
426352010-05-28 Luis Machado <luisgpm@br.ibm.com>
42636
42637 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42638
3c88fe1e
L
426392010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42640
42641 [BZ #11640]
42642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42643 Properly check family and model.
42644
d2f73151
TY
426452010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42646
42647 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42648
ebd2e13d
LM
426492010-05-24 Luis Machado <luisgpm@br.ibm.com>
42650
42651 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42652
b32b8b45
UD
426532010-05-21 Ulrich Drepper <drepper@redhat.com>
42654
42655 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42656 symbol reference.
42657
9acbe24d
AS
426582010-05-19 Andreas Schwab <schwab@redhat.com>
42659
42660 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42661 symbol reference.
42662
f0ccf6ea
AS
426632010-05-21 Andreas Schwab <schwab@redhat.com>
42664
3d04ff3a
AS
42665 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42666 and internal_recvmmsg.
42667 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42668 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42669 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42670 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42671
f0ccf6ea
AS
42672 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42673 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42674 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42675
5b08ac57
AS
426762010-05-20 Andreas Schwab <schwab@redhat.com>
42677
42678 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42679
4828935d
LM
426802010-05-17 Luis Machado <luisgpm@br.ibm.com>
42681
42682 POWER7 optimizations.
42683 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42684 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42685
373d545e
UD
426862010-05-19 Ulrich Drepper <drepper@redhat.com>
42687
42688 * version.h: Update for 2.13 development version.
42689
21a2b1ae
AS
426902010-05-12 Andrew Stubbs <ams@codesourcery.com>
42691
42692 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42693 exceptions. Return 0.
42694
3f7dcb2b
RM
426952010-05-07 Roland McGrath <roland@redhat.com>
42696
42697 * elf/ldconfig.c (main): Add a const.
42698
5f24d53a 426992010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42700
a160f8d8
UD
42701 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42702 (args_options): Add no-idn option.
42703 (ahosts_keys_int): Add idn_flags to ai_flags.
42704 (parse_option): Handle 'i' option to clear idn_flags.
42705
5f24d53a
UD
42706 * malloc/malloc.c (_int_free): Possible race in the most recently
42707 added check. Only act on the data if no current modification
42708 happened.
265bb1ce
UD
42709
42710See ChangeLog.17 for earlier changes.