]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix x86/x86_64 expl/exp10l spurious underflows (bug 16348).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
03a7091f
JM
12014-03-27 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #16348]
4 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5 1+x for argument with exponent below -67.
6 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7 Likewise.
8 * math/auto-libm-test-in: Add more tests of exp.
9 * math/auto-libm-test-out: Regenerated.
10
ea7d8b95
SP
112014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12
dd3022d7
SP
13 [BZ #16759]
14 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15 (nscd_getnetgrent): Use it.
16
ea7d8b95
SP
17 [BZ #16760]
18 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19 of stpcpy.
20
df5b85da
AK
212014-03-27 Andi Kleen <ak@linux.intel.com>
22
23 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
24 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
25 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
26 Remove out of line section. Use cfi intrinsics.
27 (LLL_STUB_UNWIND_INFO*): Remove.
28 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
29 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
30 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
31 Remove out of line section. Use cfi intrinsics.
32 (LLL_STUB_UNWIND_INFO*): Remove.
33
fbd6b5a4
SP
342014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35
36 [BZ #16758]
37 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38 blank values.
39
1b26b855
PP
402014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
41
42 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43
9be36fb8
JM
442014-03-26 Joseph Myers <joseph@codesourcery.com>
45
46 [BZ #16198]
47 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
48 fnstenv.
49 * math/test-fenv-preserve.c: New file.
50 * math/Makefile (tests): Add test-fenv-preserve.
51
60a2f3c1
WN
522014-03-26 Will Newton <will.newton@linaro.org>
53
54 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
55
a5e5f1e2
RM
562014-03-25 Roland McGrath <roland@hack.frob.com>
57
58 * scripts/versionlist.awk: Partition the version sets and emit all
59 GLIBC_* (sorted) before all others (sorted).
60
00f4012a
JM
612014-03-25 Joseph Myers <joseph@codesourcery.com>
62
63 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
64 GLIBC_2.2.5 version.
65
7bc5a741
AZ
662014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67
68 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
69 calls.
70
7578473b
AZ
712014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72
73 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
74 previous change.
75
f3f1dab3
AZ
762014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77
78 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79
6da36183
AS
802014-03-25 Andreas Schwab <schwab@suse.de>
81
82 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
83 label to be used after in6ailist is initialized.
84
f3f1dab3 852014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 86
7578473b 87 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
88 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
89
046651c1
JM
902014-03-25 Joseph Myers <joseph@codesourcery.com>
91
92 [BZ #16357]
93 [BZ #16599]
94 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
95 min_plus_half.
96 (fp_formats): Update initializers.
97 (init_fp_formats): Initialize new field.
98 (output_for_one_input_case): Allow underflow for results up to
99 min_plus_half.
100 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
101 * math/auto-libm-test-in: Don't mark some underflows from asin and
102 atanh as spurious.
103 * math/auto-libm-test-out: Regenerated.
104 * sysdeps/i386/fpu/libm-test-ulps: Update.
105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
106
003e49ed
AS
1072014-03-25 Andreas Schwab <schwab@suse.de>
108
109 * libio/Makefile (tst-ftell-partial-wide-ENV)
110 (tst-ftell-active-handler-ENV): Define.
111
de031874
SL
1122014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
113
114 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
115
55a81e3b
PP
1162014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
117
118 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
119
f3426898
JM
1202014-03-24 Joseph Myers <joseph@codesourcery.com>
121
122 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
123 * sysdeps/x86_64/fpu/multiarch/e_exp.c
124 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
125
a42faf59
PP
1262014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
127
128 [BZ #16634]
a42faf59
PP
129 * elf/dl-load.c (open_verify): Add mode parameter.
130 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
131 (open_path): Change from boolean 'secure' to complete flag 'mode'
132 (_dl_map_object): Adjust.
133 * elf/Makefile (tests): Add tst-dlopen-aout.
134 * elf/tst-dlopen-aout.c: New test.
135
50936127
SL
1362014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
137
138 [BZ #16714]
139 * sysdeps/unix/sysv/linux/s390/bits/stat.h
140 (struct stat): Rename member pad0 to __glibc_reserved0.
141
26011b5c
SL
1422014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
143
144 [BZ #16712]
145 * sysdeps/s390/s390-32/bits/wordsize.h
146 (__WORDSIZE32_SIZE_ULONG): New define.
147 * sysdeps/s390/s390-64/bits/wordsize.h
148 (__WORDSIZE32_SIZE_ULONG): Likewise.
149 * sysdeps/generic/stdint.h (SIZE_MAX):
150 Define as UL if __WORDSIZE32_SIZE_ULONG.
151
a2d86bf1
SL
1522014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
153
154 [BZ #16713]
155 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
156 (__glibc_reserved0): New variable.
157 (sa_flags): Change type to int.
158
78b6eebc
SL
1592014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
160
161 * posix/Makefile (before-compile): Use += before-compile instead
162 of a :=.
163
f1399b5a
SL
1642014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
165
166 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
167 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
168
a071766e
AS
1692014-03-20 Andreas Schwab <schwab@suse.de>
170
171 [BZ #16743]
172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
173 non-matching result from nscd.
174
27c673b8
SP
1752014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
176
177 * scripts/bench.py: Moved to ...
178 * benchtests/scripts/bench.py: ... here.
179 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
180
44152e4b
AS
1812014-03-24 Andreas Schwab <schwab@suse.de>
182
183 [BZ #16002]
184 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
185 alloca_account and account alloca use for struct in6ailist.
186
b376a11a
JM
1872014-03-24 Joseph Myers <joseph@codesourcery.com>
188
189 [BZ #16284]
190 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
191 rounding mode to recompute results that overflow to infinity or
192 underflow to zero.
193 * math/auto-libm-test-in: Don't mark tests as expected to fail for
194 bug 16284.
195 * math/auto-libm-test-out: Regenerated.
196 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
197 (ccosh_test): Likewise.
198 (csin_test_data): Use plus_oflow.
199 (csin_test): Use ALL_RM_TEST.
200 (csinh_test_data): Use plus_oflow.
201 (csinh_test): Use ALL_RM_TEST.
202 * sysdeps/i386/fpu/libm-test-ulps: Update.
203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
204
f7be7376
JM
2052014-03-21 Joseph Myers <joseph@codesourcery.com>
206
1ca2d03e
JM
207 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
208 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
209 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
210
f7be7376
JM
211 [BZ #16731]
212 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
213 when x - 1 is zero.
214 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
215 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
216 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
217 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
218 argument is 1.
219 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
220 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
221 zero.
222 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
223 * sysdeps/i386/fpu/libm-test-ulps: Update.
224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
225
fdf4534d
SP
2262014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
227
df26ea53
SP
228 * scripts/bench.pl: Remove file.
229 * scripts/bench.py: New benchmark script.
230 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
231 * benchtests/README: Mention python dependency.
232 * scripts/pylintrc: New file.
233 * scripts/pylint: New file.
234
fdf4534d
SP
235 * bits/mathdef.h: Use #ifdef instead of #if.
236 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
237 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
238 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
239 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
240 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
241 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
242
6f23d093
AZ
2432014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
244 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
245
246 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
248 and strpbrk-ppc64 objects.
249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
250 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
251 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
252 multiarch strpbrk for POWER7.
253 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
254 multiarch strpbrk for PPC64.
255 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
256 ifunc selector.
257 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
258 strpbrk for POWER7.
259
8c92dfff
JM
2602014-03-20 Joseph Myers <joseph@codesourcery.com>
261
262 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
263 (atan_test): Likewise.
264 (atanh_test_data): Use NO_TEST_INLINE for two tests.
265 (atanh_test): Use ALL_RM_TEST.
266 (atan2_test_data): Likewise.
267 (cabs_test): Likewise.
268 (cacosh_test): Likewise.
269 (carg_test): Likewise.
270 (casin_test): Likewise.
271 (casinh_test): Likewise.
272 (cbrt_test): Likewise.
273 (csqrt_test): Likewise.
274 (erf_test): Likewise.
275 (erfc_test): Likewise.
276 (pow10_test): Likewise.
277 (exp2_test): Likewise.
278 (hypot_test): Likewise.
279 (j0_test): Likewise.
280 (j1_test): Likewise.
281 (lgamma_test): Likewise.
282 (gamma_test): Likewise.
283 (sincos_test): Likewise.
284 (tanh_test): Likewise.
285 (y0_test): Likewise.
286 (y1_test): Likewise.
287 * sysdeps/i386/fpu/libm-test-ulps: Update.
288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
289
6eaf95cb
AZ
2902014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
291
a387428c
SP
292 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
294 and strcspn-ppc64 objects.
295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
296 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
297 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
298 multiarch strcspn for POWER7.
299 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
300 multiarch strcspn for PPC64.
301 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
302 ifunc selector.
303 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
304 strcspn for POWER7.
305
ae3a5dff
JM
3062014-03-20 Joseph Myers <joseph@codesourcery.com>
307
308 * math/gen-libm-test.pl (generate_testfile): Expect only function
309 name as argument to AUTO_TESTS_* and pass results for all rounding
310 modes to parse_args.
311 (parse_auto_input): Separate inputs of automatic tests from
312 outputs before storing in %auto_tests.
313 * math/libm-test.inc (acos_test_data): Update call to
314 AUTO_TESTS_f_f.
315 (acos_test): Use ALL_RM_TEST.
316 (acos_tonearest_test_data): Remove.
317 (acos_test_tonearest): Likewise.
318 (acos_towardzero_test_data): Likewise.
319 (acos_test_towardzero): Likewise.
320 (acos_downward_test_data): Likewise.
321 (acos_test_downward): Likewise.
322 (acos_upward_test_data): Likewise.
323 (acos_test_upward): Likewise.
324 (acosh_test_data): Update call to AUTO_TESTS_f_f.
325 (asin_test_data): Likewise.
326 (asin_test): Use ALL_RM_TEST.
327 (asin_tonearest_test_data): Remove.
328 (asin_test_tonearest): Likewise.
329 (asin_towardzero_test_data): Likewise.
330 (asin_test_towardzero): Likewise.
331 (asin_downward_test_data): Likewise.
332 (asin_test_downward): Likewise.
333 (asin_upward_test_data): Likewise.
334 (asin_test_upward): Likewise.
335 (asinh_test_data): Update call to AUTO_TESTS_f_f.
336 (atan_test_data): Likewise.
337 (atanh_test_data): Likewise.
338 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
339 (cabs_test_data): Update call to AUTO_TESTS_c_f.
340 (carg_test_data): Likewise.
341 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
342 (ccos_test_data): Update call to AUTO_TESTS_c_c.
343 (ccosh_test_data): Likewise.
344 (cexp_test_data): Likewise.
345 (clog_test_data): Likewise.
346 (clog10_test_data): Likewise.
347 (cos_test_data): Update call to AUTO_TESTS_f_f.
348 (cos_test): Use ALL_RM_TEST.
349 (cos_tonearest_test_data): Remove.
350 (cos_test_tonearest): Likewise.
351 (cos_towardzero_test_data): Likewise.
352 (cos_test_towardzero): Likewise.
353 (cos_downward_test_data): Likewise.
354 (cos_test_downward): Likewise.
355 (cos_upward_test_data): Likewise.
356 (cos_test_upward): Likewise.
357 (cosh_test_data): Update call to AUTO_TESTS_f_f.
358 (cosh_test): Use ALL_RM_TEST.
359 (cosh_tonearest_test_data): Remove.
360 (cosh_test_tonearest): Likewise.
361 (cosh_towardzero_test_data): Likewise.
362 (cosh_test_towardzero): Likewise.
363 (cosh_downward_test_data): Likewise.
364 (cosh_test_downward): Likewise.
365 (cosh_upward_test_data): Likewise.
366 (cosh_test_upward): Likewise.
367 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
368 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
369 (ctan_test_data): Likewise.
370 (ctan_test): Use ALL_RM_TEST.
371 (ctan_tonearest_test_data): Remove.
372 (ctan_test_tonearest): Likewise.
373 (ctan_towardzero_test_data): Likewise.
374 (ctan_test_towardzero): Likewise.
375 (ctan_downward_test_data): Likewise.
376 (ctan_test_downward): Likewise.
377 (ctan_upward_test_data): Likewise.
378 (ctan_test_upward): Likewise.
379 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
380 (ctanh_test): Use ALL_RM_TEST.
381 (ctanh_tonearest_test_data): Remove.
382 (ctanh_test_tonearest): Likewise.
383 (ctanh_towardzero_test_data): Likewise.
384 (ctanh_test_towardzero): Likewise.
385 (ctanh_downward_test_data): Likewise.
386 (ctanh_test_downward): Likewise.
387 (ctanh_upward_test_data): Likewise.
388 (ctanh_test_upward): Likewise.
389 (erf_test_data): Update call to AUTO_TESTS_f_f.
390 (erfc_test_data): Likewise.
391 (exp_test_data): Likewise.
392 (exp_test): Use ALL_RM_TEST.
393 (exp_tonearest_test_data): Remove.
394 (exp_test_tonearest): Likewise.
395 (exp_towardzero_test_data): Likewise.
396 (exp_test_towardzero): Likewise.
397 (exp_downward_test_data): Likewise.
398 (exp_test_downward): Likewise.
399 (exp_upward_test_data): Likewise.
400 (exp_test_upward): Likewise.
401 (exp10_test_data): Update call to AUTO_TESTS_f_f.
402 (exp10_test): Use ALL_RM_TEST.
403 (exp10_tonearest_test_data): Remove.
404 (exp10_test_tonearest): Likewise.
405 (exp10_towardzero_test_data): Likewise.
406 (exp10_test_towardzero): Likewise.
407 (exp10_downward_test_data): Likewise.
408 (exp10_test_downward): Likewise.
409 (exp10_upward_test_data): Likewise.
410 (exp10_test_upward): Likewise.
411 (exp2_test_data): Update call to AUTO_TESTS_f_f.
412 (expm1_test_data): Likewise.
413 (expm1_test): Use ALL_RM_TEST.
414 (expm1_tonearest_test_data): Remove.
415 (expm1_test_tonearest): Likewise.
416 (expm1_towardzero_test_data): Likewise.
417 (expm1_test_towardzero): Likewise.
418 (expm1_downward_test_data): Likewise.
419 (expm1_test_downward): Likewise.
420 (expm1_upward_test_data): Likewise.
421 (expm1_test_upward): Likewise.
422 (fma_test_data): Update call to AUTO_TESTS_fff_f.
423 (fma_test): Use ALL_RM_TEST.
424 (fma_towardzero_test_data): Remove.
425 (fma_test_towardzero): Likewise.
426 (fma_downward_test_data): Likewise.
427 (fma_test_downward): Likewise.
428 (fma_upward_test_data): Likewise.
429 (fma_test_upward): Likewise.
430 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
431 (j0_test_data): Update call to AUTO_TESTS_f_f.
432 (j1_test_data): Likewise.
433 (jn_test_data): Update call to AUTO_TESTS_if_f.
434 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
435 (log_test_data): Update call to AUTO_TESTS_f_f.
436 (log10_test_data): Likewise.
437 (log1p_test_data): Likewise.
438 (log2_test_data): Likewise.
439 (pow_test_data): Update call to AUTO_TESTS_ff_f.
440 (pow_tonearest_test_data): Likewise.
441 (sin_test_data): Update call to AUTO_TESTS_f_f.
442 (sin_test): Use ALL_RM_TEST.
443 (sin_tonearest_test_data): Remove.
444 (sin_test_tonearest): Likewise.
445 (sin_towardzero_test_data): Likewise.
446 (sin_test_towardzero): Likewise.
447 (sin_downward_test_data): Likewise.
448 (sin_test_downward): Likewise.
449 (sin_upward_test_data): Likewise.
450 (sin_test_upward): Likewise.
451 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
452 (sinh_test_data): Update call to AUTO_TESTS_f_f.
453 (sinh_test): Use ALL_RM_TEST.
454 (sinh_tonearest_test_data): Remove.
455 (sinh_test_tonearest): Likewise.
456 (sinh_towardzero_test_data): Likewise.
457 (sinh_test_towardzero): Likewise.
458 (sinh_downward_test_data): Likewise.
459 (sinh_test_downward): Likewise.
460 (sinh_upward_test_data): Likewise.
461 (sinh_test_upward): Likewise.
462 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
463 (sqrt_test): Use ALL_RM_TEST.
464 (sqrt_tonearest_test_data): Remove.
465 (sqrt_test_tonearest): Likewise.
466 (sqrt_towardzero_test_data): Likewise.
467 (sqrt_test_towardzero): Likewise.
468 (sqrt_downward_test_data): Likewise.
469 (sqrt_test_downward): Likewise.
470 (sqrt_upward_test_data): Likewise.
471 (sqrt_test_upward): Likewise.
472 (tan_test_data): Update call to AUTO_TESTS_f_f.
473 (tan_test): Use ALL_RM_TEST.
474 (tan_tonearest_test_data): Remove.
475 (tan_test_tonearest): Likewise.
476 (tan_towardzero_test_data): Likewise.
477 (tan_test_towardzero): Likewise.
478 (tan_downward_test_data): Likewise.
479 (tan_test_downward): Likewise.
480 (tan_upward_test_data): Likewise.
481 (tan_test_upward): Likewise.
482 (tanh_test_data): Update call to AUTO_TESTS_f_f.
483 (tgamma_test_data): Likewise.
484 (y0_test_data): Likewise.
485 (y1_test_data): Likewise.
486 (yn_test_data): Update call to AUTO_TESTS_if_f.
487 (main): Do not call removed functions.
488
d71aeee8
JM
4892014-03-19 Joseph Myers <joseph@codesourcery.com>
490
491 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
492 (ldexp_test_data): Remove.
493 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
494 scalbn_test_data.
495 (scalb_test): Use ALL_RM_TEST.
496
baaf1ded
AS
4972014-03-19 Andreas Schwab <schwab@suse.de>
498
499 * nscd/nscd.service: Also invalidate netgroup cache on reload.
500
b1115e91
JM
5012014-03-19 Joseph Myers <joseph@codesourcery.com>
502
503 [BZ #16649]
504 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
505 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
506 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
507 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
508 (__ASSUME_PREADV): Undefine.
509 (__ASSUME_PWRITEV): Likewise.
510
0283ecca
RM
5112014-03-18 Roland McGrath <roland@hack.frob.com>
512
7d375303
RM
513 * bits/mman-linux.h: Add comment about non-Linux use.
514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
515 bits/mman-linux.h resting place.
516
0283ecca
RM
517 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
518 * bits/mman-linux.h: ... here.
519
aebe1003
AZ
5202014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
521
522 * conform/conformtest.pl: Add standard definition when calling C
523 preprocessor on data files.
524 (checknamespace): Remove unused variable.
525
b29b6bb8
JM
5262014-03-18 Joseph Myers <joseph@codesourcery.com>
527
528 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
529 minus_oflow, plus_uflow and minus_uflow in expected results.
530 * math/libm-test.inc (scalbn_test_data): Add more tests of
531 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
532 minus_uflow.
533 (scalbn_test): Use ALL_RM_TEST.
534 (scalbln_test_data): Add more tests of negative arguments. Use
535 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
536 (scalbln_test): Use ALL_RM_TEST.
537
c8f8fa15
RM
5382014-03-18 Roland McGrath <roland@hack.frob.com>
539
540 * scripts/abilist.awk: Ignore symbols marked with .hidden.
541
fede7a5f
WN
5422014-03-18 Will Newton <will.newton@linaro.org>
543
544 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
545 inaccurate comment.
546
80cf0a58
JM
5472014-03-18 Joseph Myers <joseph@codesourcery.com>
548
549 * Makerules [!subdir] (check-abi): Exit with error status if a
550 test failed.
551
b3620862
JM
5522014-03-17 Joseph Myers <joseph@codesourcery.com>
553
554 * math/libm-test.inc (nearbyint_test_data): Include all tests used
555 for rint. Include results for all rounding modes.
556 (nearbyint_test): Use ALL_RM_TEST.
557 (rint_test_data): Include all tests used for nearbyint.
558
788bba36
WN
5592014-03-17 Will Newton <will.newton@linaro.org>
560
04ec140a
WN
561 * nptl/sysdeps/pthread/pthread.h: Revert previous
562 change.
563
7579d8d5
WN
564 * sysdeps/generic/ldsodefs.h: Revert previous
565 change.
566
c15cf13a
WN
567 * libio/genops.c: Revert previous change.
568 * libio/libioP.h: Likewise.
569 * stdio-common/vfprintf.c: Likewise.
570
d0ac1324
WN
571 * sysdeps/generic/math_private.h: Revert previous
572 change.
573
9290130a
WN
574 * sysdeps/generic/math_private.h: Check whether
575 HAVE_RM_CTX is defined with #ifdef rather
576 than #if.
577
afb466fc
WN
578 * argp/argp-fmtstream.h: Check whether
579 __STRICT_ANSI__ is defined with #ifdef rather
580 than #if.
581 * argp/argp.h: Likewise.
582
f7efd7c3
WN
583 * libio/genops.c: Check whether
584 _IO_JUMPS_OFFSET is defined with #ifdef rather
585 than #if.
586 * libio/libioP.h: Likewise.
587 * stdio-common/vfprintf.c: Likewise.
588
53f1bed3
WN
589 * sysdeps/generic/ldsodefs.h: Check whether
590 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
591 than #if.
592
788bba36
WN
593 * nptl/sysdeps/pthread/pthread.h: Check
594 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
595 its value.
596
fcd89ebe
SP
5972014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
598
ae42bbc5
SP
599 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
600 setting O_APPEND.
601 * libio/tst-ftell-active-handler.c (do_append_test): Add a
602 test case.
603
ea33158c
SP
604 [BZ #16680]
605 * libio/fileops.c (_IO_file_open): Seek to end of file but
606 don't cache the offset.
607 (get_file_offset): Remove function.
608 (do_ftell): Use cached offset when available.
609 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
610 don't cache the offset.
611 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
612 case.
613 (do_one_test): Call it.
614 (do_ftell_test): Fix up expected old offset for a+ mode.
615 * libio/wfileops.c (do_ftell_wide): Used cached offset when
616 available.
617
b1dbb426
SP
618 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
619 up test status with function return status.
620 (do_write_test): Likewise.
621 (do_append_test): Likewise.
622
fcd89ebe
SP
623 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
624 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
625 Remove.
626
9962a2d3
JM
6272014-03-17 Joseph Myers <joseph@codesourcery.com>
628
629 * math/gen-libm-test.pl (parse_args): Handle results specified for
630 each rounding mode separately.
631 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
632 tests and results from lrint_tonearest_test_data,
633 lrint_towardzero_test_data, lrint_downward_test_data and
634 lrint_upward_test_data.
635 (lrint_test): Use ALL_RM_TEST.
636 (lrint_tonearest_test_data): Remove.
637 (lrint_test_tonearest): Likewise.
638 (lrint_towardzero_test_data): Likewise.
639 (lrint_test_towardzero): Likewise.
640 (lrint_downward_test_data): Likewise.
641 (lrint_test_downward): Likewise.
642 (lrint_upward_test_data): Likewise.
643 (lrint_test_upward): Likewise.
644 (llrint_test_data): Merge in per-rounding-mode tests and results
645 from llrint_tonearest_test_data, llrint_towardzero_test_data,
646 llrint_downward_test_data and llrint_upward_test_data.
647 (llrint_test): Use ALL_RM_TEST.
648 (llrint_tonearest_test_data): Remove.
649 (llrint_test_tonearest): Likewise.
650 (llrint_towardzero_test_data): Likewise.
651 (llrint_test_towardzero): Likewise.
652 (llrint_downward_test_data): Likewise.
653 (llrint_test_downward): Likewise.
654 (llrint_upward_test_data): Likewise.
655 (llrint_test_upward): Likewise.
656 (rint_test_data): Merge in per-rounding-mode tests and results
657 from rint_tonearest_test_data, rint_towardzero_test_data,
658 rint_downward_test_data and rint_upward_test_data. Add
659 per-rounding-mode results for tests not in those arrays.
660 (rint_test): Use ALL_RM_TEST.
661 (rint_tonearest_test_data): Remove.
662 (rint_test_tonearest): Likewise.
663 (rint_towardzero_test_data): Likewise.
664 (rint_test_towardzero): Likewise.
665 (rint_downward_test_data): Likewise.
666 (rint_test_downward): Likewise.
667 (rint_upward_test_data): Likewise.
668 (rint_test_upward): Likewise.
669 (main): Don't call removed functions.
670
5006148e
RM
6712014-03-14 Roland McGrath <roland@hack.frob.com>
672
673 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
674 "Compiled on ..." crapola. It is anti-useful.
675
d6fe5e58
JM
6762014-03-14 Joseph Myers <joseph@codesourcery.com>
677
678 * scripts/evaluate-test.sh: Handle fourth argument to determine
679 whether test run should stop on failure.
680 * Makeconfig (stop-on-test-failure): New variable.
681 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
682 $(stop-on-test-failure).
683 * Makefile (tests): Give a summary of results from testing and
684 exit with failure status if they include an ERROR or FAIL.
685 (xtests): Likewise.
686 * manual/install.texi (Configuring and compiling): Mention
687 stop-on-test-failure=y.
688 * INSTALL: Regenerated.
689
498a2233
RM
6902014-03-14 Roland McGrath <roland@hack.frob.com>
691
22dbc19d
RM
692 * scripts/versionlist.awk: New file.
693 * Makerules [$(build-shared) = yes]
694 (postclean-generated): Add Versions.def, not Versions.def.v and
695 Versions.def.v.i.
696 ($(common-objpfx)Versions.def.v.i): Target removed.
697 ($(common-objpfx)Versions.def): New target.
698 ($(common-objpfx)Versions.all): Depend on that rather that
699 $(common-objpfx)Versions.def.v.
700 * Versions.def: File removed.
701
498a2233
RM
702 * Makeconfig (+gccwarn): Add -Wundef.
703 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
704 a dl-sysdep.h breaking its contract.
705 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
706 * include/stackinfo.h: New file.
707 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
708 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
709 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
710 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
711 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
712 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
713 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
714 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
715 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
716 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
717 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
718 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
719 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
720 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
721 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
722
c7de5025
AZ
7232014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
724
725 [BZ #16707]
726 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
727 implementation.
728 * math/libm-test.inc (round_test_data): Add more tests.
729
98fb27a3
AZ
7302014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
731
732 [BZ #16706]
733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
734 implementation.
735 * math/libm-test.inc (nearbyint_test_data): Add more tests.
736
374f7f61
AZ
7372014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
738
739 [BZ #16701]
740 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
741 implementation.
742 * math/libm-test.inc (ceil_test_data): Add more tests.
743
4655c291
AZ
7442014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
745
746 * math/libm-test.inc (trunc_test_data): Add more tests related to
747 BZ#16414.
748
d7329d4b
RM
7492014-03-14 Roland McGrath <roland@hack.frob.com>
750
751 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
752 with #if rather than #ifdef.
753 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
754
aa4de9ce
L
7552014-03-14 H.J. Lu <hongjiu.lu@intel.com>
756
757 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
758 first. Disable AVX-512 GCC support if assembler doesn't support
759 it.
760 * sysdeps/x86_64/configure: Regenerated.
761
2e03fae7
CD
7622014-03-13 Carlos O'Donell <carlos@redhat.com>
763
764 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
765 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
766 (__old_pthread_attr_setstack): Likewise.
767 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
768 [!_STACK_GROWS_DOWN]: Likewise.
769
43ca83ec
MF
7702014-03-13 Mike Frysinger <vapier@gentoo.org>
771
772 * config.make.in (have-bash2): Delete.
773 * configure.ac (libc_cv_have_bash2): Delete.
774 * configure: Regenerate.
775 * elf/Makefile (common-ldd-rewrite): Rename to ...
776 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
777 (sh-ldd-rewrite): Delete.
778 (bash-ldd-rewrite): Delete.
779 (have-bash2): Delete checks.
780 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
781
c66e48b4
MF
7822014-03-13 Mike Frysinger <vapier@gentoo.org>
783
784 * config.make.in (have-ksh): Delete.
785 (KSH): Delete.
786 * configure.ac (libc_cv_have_ksh): Delete.
787 * configure: Regenerate.
788
b93834ef
MF
7892014-03-13 Mike Frysinger <vapier@gentoo.org>
790
791 * elf/Makefile: Delete $(have-ksh) check.
792 ($(objpfx)sotruss): Change KSH to BASH.
793 * elf/sotruss.ksh: Rename to ...
794 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
795 function style to match POSIX. Drop ksh vim mode setting.
796
f3a4632a
MF
7972014-03-13 Mike Frysinger <vapier@gentoo.org>
798
799 * manual/time.texi (Specifying the Time Zone with TZ): Change
800 Tuesday to Thursday.
801
5896c8bd
MF
8022014-03-13 Mike Frysinger <vapier@gentoo.org>
803
804 * debug/tst-longjmp_chk2.c: Update header comment.
805 (stackoverflow_handler): Add comment. Call assert on pass value.
806
2d63a517
IZ
8072014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
808
809 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
810 (HAVE_AVX512_ASM_SUPPORT): Likewise.
811 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
812 (La_x86_64_vector): Add zmm.
813 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
814 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
815 ($(objpfx)tst-audit10): New target.
816 ($(objpfx)tst-audit10.out): Likewise.
817 (tst-audit10-ENV): New.
818 (AVX512-CFLAGS): Likewise.
819 (CFLAGS-tst-audit10.c): Likewise.
820 (CFLAGS-tst-auditmod10a.c): Likewise.
821 (CFLAGS-tst-auditmod10b.c): Likewise.
822 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
823 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
824 * sysdeps/x86_64/configure: Regenerated.
825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
826 AVX-512 zmm register support.
827 (_dl_x86_64_save_sse): Likewise.
828 (_dl_x86_64_restore_sse): Likewise.
829 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
830 size vector registers.
831 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
832 (ZMM_SIZE): Likewise.
833 * sysdeps/x86_64/tst-audit10.c: New file.
834 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
835 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
836
44c4e5d5
RM
8372014-03-13 Roland McGrath <roland@hack.frob.com>
838
839 * configure.ac (HAVE_EHDR_START): New check.
840 * configure: Regenerated.
841 * config.h.in (HAVE_EHDR_START): New #undef.
842 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
843 assuming the lowest-addressed segment maps the start of the file.
844
acd6e389
JM
8452014-03-13 Joseph Myers <joseph@codesourcery.com>
846
847 * INSTALL: Regenerated.
848
6f918f36
WN
8492014-03-13 Will Newton <will.newton@linaro.org>
850
851 * manual/setjmp.texi (System V contexts): Improve
852 clarity and grammar of documentation.
853
798212a0
PP
8542014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
855
856 [BZ #16381]
798212a0 857 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 858 (tests-pie): Add tst-pie2.
798212a0
PP
859 * elf/tst-pie2.c: New file.
860 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
861 for ET_EXEC.
862 * elf/rtld.c (map_doit): Load executable as lt_executable.
863 (dl_main): Likewise.
864
abe6d90c
JM
8652014-03-12 Joseph Myers <joseph@codesourcery.com>
866
867 [BZ #16642]
868 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
869 (__ASSUME_PSELECT): Undefine.
870
dd3946c6
AZ
8712014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
872
873 [BZ #16689]
874 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
875 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
876 static build.
877 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
878 selector for static builds.
879
c44496df
SP
8802014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
881
882 [BZ #16695]
883 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
884 key in the buffer.
885
27c7220a
AZ
8862014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887
888 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
889 selector for static builds.
890
600fa361
JM
8912014-03-11 Joseph Myers <joseph@codesourcery.com>
892
76c96cf7
JM
893 * sysdeps/mips/math_private.h [__mips_hard_float]
894 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
895 libc_feresetround_mips_ctx.
896 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
897 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
898 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
899
600fa361
JM
900 [BZ #16677]
901 * math/s_nextafter.c (__nextafter): Do not return value from
902 overflowing computation.
903 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
904 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
905 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
906 Likewise.
907 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
908 Likewise.
909 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
910 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
911
d7706c32
RM
9122014-03-11 Roland McGrath <roland@hack.frob.com>
913
914 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
915 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
916 Move sfi_sp use from the load-multiple (that no longer sets sp) to
917 the new mov targetting sp.
918
4facea47
AZ
9192014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
920
921 [BZ #16683]
922 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
923 Define it for static builds as well.
924 (NO_BZERO_IMPL): Likewise.
925
e65caf1f
VR
9262014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
927
928 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
929 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
930 multiarch strspn for PPC64.
931 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
932 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
934 (__libc_ifunc_impl_list): Likewise.
935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
936 multiarch optimizations
937 * string/strspn.c (strspn): Using macro to redefine symbol name.
938
ba9cc071
AZ
9392014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
940 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
941
942 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
943 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
944 multiarch strncat for PPC64.
945 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
946 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
948 (__libc_ifunc_impl_list): Likewise.
949 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
950 multiarch optimizations
951
8b4ff974
SP
9522014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
953
954 [BZ #16639]
955 * nscd/nscd.service: Make service type forking.
956
54b46a4b
AZ
9572014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
958
959 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
960 sign in non default rounding modes.
961 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
962
e9996ef7
JM
9632014-03-08 Joseph Myers <joseph@codesourcery.com>
964
965 * math/libm-test.inc (ALL_RM_TEST): New macro.
966 (ceil_test): Use ALL_RM_TEST.
967 (cimag_test): Likewise.
968 (conj_test): Likewise.
969 (copysign_test): Likewise.
970 (cproj_test): Likewise.
971 (creal_test): Likewise.
972 (fabs_test): Likewise.
973 (floor_test): Likewise.
974 (fmax_test): Likewise.
975 (fmin_test): Likewise.
976 (fmod_test): Likewise.
977 (fpclassify_test): Likewise.
978 (frexp_test): Likewise.
979 (ilogb_test): Likewise.
980 (isfinite_test): Likewise.
981 (finite_test): Likewise.
982 (isgreater_test): Likewise.
983 (isgreaterequal_test): Likewise.
984 (isinf_test): Likewise.
985 (isless_test): Likewise.
986 (islessequal_test): Likewise.
987 (islessgreater_test): Likewise.
988 (isnan_test): Likewise.
989 (isnormal_test): Likewise.
990 (issignaling_test): Likewise.
991 (isunordered_test): Likewise.
992 (logb_test): Likewise.
993 (logb_downward_test_data): Remove.
994 (logb_test_downward): Likewise.
995 (lround_test): Use ALL_RM_TEST.
996 (llround_test): Likewise.
997 (modf_test): Likewise.
998 (nexttoward_test): Likewise.
999 (remainder_test): Likewise.
1000 (drem_test): Likewise.
1001 (remainder_tonearest_test_data): Likewise.
1002 (remainder_test_tonearest): Likewise.
1003 (drem_test_tonearest): Likewise.
1004 (remainder_towardzero_test_data): Likewise.
1005 (remainder_test_towardzero): Likewise.
1006 (drem_test_towardzero): Likewise.
1007 (remainder_downward_test_data): Likewise.
1008 (remainder_test_downward): Likewise.
1009 (drem_test_downward): Likewise.
1010 (remainder_upward_test_data): Likewise.
1011 (remainder_test_upward): Likewise.
1012 (drem_test_upward): Likewise.
1013 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1014 (round_test): Use ALL_RM_TEST.
1015 (signbit_test): Likewise.
1016 (trunc_test): Likewise.
1017 (significand_test): Likewise.
1018 (main): Don't call removed functions.
1019
bc61d27c
JM
10202014-03-07 Joseph Myers <joseph@codesourcery.com>
1021
5c780849
JM
1022 [BZ #16674]
1023 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1024 || __USE_XOPEN2K8].
1025 (ILL_ILLOPN): Likewise.
1026 (ILL_ILLADR): Likewise.
1027 (ILL_ILLTRP): Likewise.
1028 (ILL_PRVOPC): Likewise.
1029 (ILL_PRVREG): Likewise.
1030 (ILL_COPROC): Likewise.
1031 (ILL_BADSTK): Likewise.
1032 (FPE_INTDIV): Likewise.
1033 (FPE_INTOVF): Likewise.
1034 (FPE_FLTDIV): Likewise.
1035 (FPE_FLTOVF): Likewise.
1036 (FPE_FLTUND): Likewise.
1037 (FPE_FLTRES): Likewise.
1038 (FPE_FLTINV): Likewise.
1039 (FPE_FLTSUB): Likewise.
1040 (SEGV_MAPERR): Likewise.
1041 (SEGV_ACCERR): Likewise.
1042 (BUS_ADRALN): Likewise.
1043 (BUS_ADRERR): Likewise.
1044 (BUS_OBJERR): 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/alpha/bits/siginfo.h (ILL_ILLOPC):
1061 Likewise.
1062 (ILL_ILLOPN): Likewise.
1063 (ILL_ILLADR): Likewise.
1064 (ILL_ILLTRP): Likewise.
1065 (ILL_PRVOPC): Likewise.
1066 (ILL_PRVREG): Likewise.
1067 (ILL_COPROC): Likewise.
1068 (ILL_BADSTK): Likewise.
1069 (FPE_INTDIV): Likewise.
1070 (FPE_INTOVF): Likewise.
1071 (FPE_FLTDIV): Likewise.
1072 (FPE_FLTOVF): Likewise.
1073 (FPE_FLTUND): Likewise.
1074 (FPE_FLTRES): Likewise.
1075 (FPE_FLTINV): Likewise.
1076 (FPE_FLTSUB): Likewise.
1077 (SEGV_MAPERR): Likewise.
1078 (SEGV_ACCERR): Likewise.
1079 (BUS_ADRALN): Likewise.
1080 (BUS_ADRERR): Likewise.
1081 (BUS_OBJERR): Likewise.
1082 (BUS_MCEERR_AR): Likewise.
1083 (BUS_MCEERR_AO): Likewise.
1084 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1085 (TRAP_TRACE): Likewise.
1086 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1087 __USE_XOPEN2K8].
1088 (CLD_KILLED): Likewise.
1089 (CLD_DUMPED): Likewise.
1090 (CLD_TRAPPED): Likewise.
1091 (CLD_STOPPED): Likewise.
1092 (CLD_CONTINUED): Likewise.
1093 (POLL_IN): Likewise.
1094 (POLL_OUT): Likewise.
1095 (POLL_MSG): Likewise.
1096 (POLL_ERR): Likewise.
1097 (POLL_PRI): Likewise.
1098 (POLL_HUP): Likewise.
1099 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): 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 (FPE_INTDIV): Likewise.
1108 (FPE_INTOVF): Likewise.
1109 (FPE_FLTDIV): Likewise.
1110 (FPE_FLTOVF): Likewise.
1111 (FPE_FLTUND): Likewise.
1112 (FPE_FLTRES): Likewise.
1113 (FPE_FLTINV): Likewise.
1114 (FPE_FLTSUB): Likewise.
1115 (SEGV_MAPERR): Likewise.
1116 (SEGV_ACCERR): Likewise.
1117 (BUS_ADRALN): Likewise.
1118 (BUS_ADRERR): Likewise.
1119 (BUS_OBJERR): Likewise.
1120 (BUS_MCEERR_AR): Likewise.
1121 (BUS_MCEERR_AO): Likewise.
1122 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1123 (TRAP_TRACE): Likewise.
1124 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1125 __USE_XOPEN2K8].
1126 (CLD_KILLED): Likewise.
1127 (CLD_DUMPED): Likewise.
1128 (CLD_TRAPPED): Likewise.
1129 (CLD_STOPPED): Likewise.
1130 (CLD_CONTINUED): Likewise.
1131 (POLL_IN): Likewise.
1132 (POLL_OUT): Likewise.
1133 (POLL_MSG): Likewise.
1134 (POLL_ERR): Likewise.
1135 (POLL_PRI): Likewise.
1136 (POLL_HUP): Likewise.
1137 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1138 Likewise.
1139 (ILL_ILLOPN): Likewise.
1140 (ILL_ILLADR): Likewise.
1141 (ILL_ILLTRP): Likewise.
1142 (ILL_PRVOPC): Likewise.
1143 (ILL_PRVREG): Likewise.
1144 (ILL_COPROC): Likewise.
1145 (ILL_BADSTK): Likewise.
1146 (ILL_BADIADDR): Likewise.
1147 (ILL_BREAK): Likewise.
1148 (FPE_INTDIV): Likewise.
1149 (FPE_INTOVF): Likewise.
1150 (FPE_FLTDIV): Likewise.
1151 (FPE_FLTOVF): Likewise.
1152 (FPE_FLTUND): Likewise.
1153 (FPE_FLTRES): Likewise.
1154 (FPE_FLTINV): Likewise.
1155 (FPE_FLTSUB): Likewise.
1156 (FPE_DECOVF): Likewise.
1157 (FPE_DECDIV): Likewise.
1158 (FPE_DECERR): Likewise.
1159 (FPE_INVASC): Likewise.
1160 (FPE_INVDEC): Likewise.
1161 (SEGV_MAPERR): Likewise.
1162 (SEGV_ACCERR): Likewise.
1163 (SEGV_PSTKOVF): Likewise.
1164 (BUS_ADRALN): Likewise.
1165 (BUS_ADRERR): Likewise.
1166 (BUS_OBJERR): Likewise.
1167 (BUS_MCEERR_AR): Likewise.
1168 (BUS_MCEERR_AO): Likewise.
1169 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1170 (TRAP_TRACE): Likewise.
1171 (TRAP_BRANCH): Likewise.
1172 (TRAP_HWBKPT): Likewise.
1173 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1174 __USE_XOPEN2K8].
1175 (CLD_KILLED): Likewise.
1176 (CLD_DUMPED): Likewise.
1177 (CLD_TRAPPED): Likewise.
1178 (CLD_STOPPED): Likewise.
1179 (CLD_CONTINUED): Likewise.
1180 (POLL_IN): Likewise.
1181 (POLL_OUT): Likewise.
1182 (POLL_MSG): Likewise.
1183 (POLL_ERR): Likewise.
1184 (POLL_PRI): Likewise.
1185 (POLL_HUP): Likewise.
1186 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1187 (ILL_ILLOPN): Likewise.
1188 (ILL_ILLADR): Likewise.
1189 (ILL_ILLTRP): Likewise.
1190 (ILL_PRVOPC): Likewise.
1191 (ILL_PRVREG): Likewise.
1192 (ILL_COPROC): Likewise.
1193 (ILL_BADSTK): Likewise.
1194 (FPE_INTDIV): Likewise.
1195 (FPE_INTOVF): Likewise.
1196 (FPE_FLTDIV): Likewise.
1197 (FPE_FLTOVF): Likewise.
1198 (FPE_FLTUND): Likewise.
1199 (FPE_FLTRES): Likewise.
1200 (FPE_FLTINV): Likewise.
1201 (FPE_FLTSUB): Likewise.
1202 (SEGV_MAPERR): Likewise.
1203 (SEGV_ACCERR): Likewise.
1204 (BUS_ADRALN): Likewise.
1205 (BUS_ADRERR): Likewise.
1206 (BUS_OBJERR): Likewise.
1207 (BUS_MCEERR_AR): Likewise.
1208 (BUS_MCEERR_AO): Likewise.
1209 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1210 (TRAP_TRACE): Likewise.
1211 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1212 __USE_XOPEN2K8].
1213 (CLD_KILLED): Likewise.
1214 (CLD_DUMPED): Likewise.
1215 (CLD_TRAPPED): Likewise.
1216 (CLD_STOPPED): Likewise.
1217 (CLD_CONTINUED): Likewise.
1218 (POLL_IN): Likewise.
1219 (POLL_OUT): Likewise.
1220 (POLL_MSG): Likewise.
1221 (POLL_ERR): Likewise.
1222 (POLL_PRI): Likewise.
1223 (POLL_HUP): Likewise.
1224 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1225 (ILL_ILLOPN): Likewise.
1226 (ILL_ILLADR): Likewise.
1227 (ILL_ILLTRP): Likewise.
1228 (ILL_PRVOPC): Likewise.
1229 (ILL_PRVREG): Likewise.
1230 (ILL_COPROC): Likewise.
1231 (ILL_BADSTK): Likewise.
1232 (FPE_INTDIV): Likewise.
1233 (FPE_INTOVF): Likewise.
1234 (FPE_FLTDIV): Likewise.
1235 (FPE_FLTOVF): Likewise.
1236 (FPE_FLTUND): Likewise.
1237 (FPE_FLTRES): Likewise.
1238 (FPE_FLTINV): Likewise.
1239 (FPE_FLTSUB): Likewise.
1240 (SEGV_MAPERR): Likewise.
1241 (SEGV_ACCERR): Likewise.
1242 (BUS_ADRALN): Likewise.
1243 (BUS_ADRERR): Likewise.
1244 (BUS_OBJERR): Likewise.
1245 (BUS_MCEERR_AR): Likewise.
1246 (BUS_MCEERR_AO): Likewise.
1247 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1248 (TRAP_TRACE): Likewise.
1249 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1250 __USE_XOPEN2K8].
1251 (CLD_KILLED): Likewise.
1252 (CLD_DUMPED): Likewise.
1253 (CLD_TRAPPED): Likewise.
1254 (CLD_STOPPED): Likewise.
1255 (CLD_CONTINUED): Likewise.
1256 (POLL_IN): Likewise.
1257 (POLL_OUT): Likewise.
1258 (POLL_MSG): Likewise.
1259 (POLL_ERR): Likewise.
1260 (POLL_PRI): Likewise.
1261 (POLL_HUP): Likewise.
1262 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1263 (ILL_ILLOPN): Likewise.
1264 (ILL_ILLADR): Likewise.
1265 (ILL_ILLTRP): Likewise.
1266 (ILL_PRVOPC): Likewise.
1267 (ILL_PRVREG): Likewise.
1268 (ILL_COPROC): Likewise.
1269 (ILL_BADSTK): Likewise.
1270 (FPE_INTDIV): Likewise.
1271 (FPE_INTOVF): Likewise.
1272 (FPE_FLTDIV): Likewise.
1273 (FPE_FLTOVF): Likewise.
1274 (FPE_FLTUND): Likewise.
1275 (FPE_FLTRES): Likewise.
1276 (FPE_FLTINV): Likewise.
1277 (FPE_FLTSUB): Likewise.
1278 (SEGV_MAPERR): Likewise.
1279 (SEGV_ACCERR): Likewise.
1280 (BUS_ADRALN): Likewise.
1281 (BUS_ADRERR): Likewise.
1282 (BUS_OBJERR): Likewise.
1283 (BUS_MCEERR_AR): Likewise.
1284 (BUS_MCEERR_AO): Likewise.
1285 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1286 (TRAP_TRACE): Likewise.
1287 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1288 __USE_XOPEN2K8].
1289 (CLD_KILLED): Likewise.
1290 (CLD_DUMPED): Likewise.
1291 (CLD_TRAPPED): Likewise.
1292 (CLD_STOPPED): Likewise.
1293 (CLD_CONTINUED): Likewise.
1294 (POLL_IN): Likewise.
1295 (POLL_OUT): Likewise.
1296 (POLL_MSG): Likewise.
1297 (POLL_ERR): Likewise.
1298 (POLL_PRI): Likewise.
1299 (POLL_HUP): Likewise.
1300 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1301 (ILL_ILLOPN): Likewise.
1302 (ILL_ILLADR): Likewise.
1303 (ILL_ILLTRP): Likewise.
1304 (ILL_PRVOPC): Likewise.
1305 (ILL_PRVREG): Likewise.
1306 (ILL_COPROC): Likewise.
1307 (ILL_BADSTK): Likewise.
1308 (ILL_DBLFLT): Likewise.
1309 (ILL_HARDWALL): Likewise.
1310 (FPE_INTDIV): Likewise.
1311 (FPE_INTOVF): Likewise.
1312 (FPE_FLTDIV): Likewise.
1313 (FPE_FLTOVF): Likewise.
1314 (FPE_FLTUND): Likewise.
1315 (FPE_FLTRES): Likewise.
1316 (FPE_FLTINV): Likewise.
1317 (FPE_FLTSUB): Likewise.
1318 (SEGV_MAPERR): Likewise.
1319 (SEGV_ACCERR): Likewise.
1320 (BUS_ADRALN): Likewise.
1321 (BUS_ADRERR): Likewise.
1322 (BUS_OBJERR): Likewise.
1323 (BUS_MCEERR_AR): Likewise.
1324 (BUS_MCEERR_AO): Likewise.
1325 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1326 (TRAP_TRACE): Likewise.
1327 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1328 __USE_XOPEN2K8].
1329 (CLD_KILLED): Likewise.
1330 (CLD_DUMPED): Likewise.
1331 (CLD_TRAPPED): Likewise.
1332 (CLD_STOPPED): Likewise.
1333 (CLD_CONTINUED): Likewise.
1334 (POLL_IN): Likewise.
1335 (POLL_OUT): Likewise.
1336 (POLL_MSG): Likewise.
1337 (POLL_ERR): Likewise.
1338 (POLL_PRI): Likewise.
1339 (POLL_HUP): Likewise.
1340 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1341 (ILL_ILLOPN): Likewise.
1342 (ILL_ILLADR): Likewise.
1343 (ILL_ILLTRP): Likewise.
1344 (ILL_PRVOPC): Likewise.
1345 (ILL_PRVREG): Likewise.
1346 (ILL_COPROC): Likewise.
1347 (ILL_BADSTK): Likewise.
1348 (FPE_INTDIV): Likewise.
1349 (FPE_INTOVF): Likewise.
1350 (FPE_FLTDIV): Likewise.
1351 (FPE_FLTOVF): Likewise.
1352 (FPE_FLTUND): Likewise.
1353 (FPE_FLTRES): Likewise.
1354 (FPE_FLTINV): Likewise.
1355 (FPE_FLTSUB): Likewise.
1356 (SEGV_MAPERR): Likewise.
1357 (SEGV_ACCERR): Likewise.
1358 (BUS_ADRALN): Likewise.
1359 (BUS_ADRERR): Likewise.
1360 (BUS_OBJERR): Likewise.
1361 (BUS_MCEERR_AR): Likewise.
1362 (BUS_MCEERR_AO): Likewise.
1363 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1364 (TRAP_TRACE): Likewise.
1365 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1366 __USE_XOPEN2K8].
1367 (CLD_KILLED): Likewise.
1368 (CLD_DUMPED): Likewise.
1369 (CLD_TRAPPED): Likewise.
1370 (CLD_STOPPED): Likewise.
1371 (CLD_CONTINUED): Likewise.
1372 (POLL_IN): Likewise.
1373 (POLL_OUT): Likewise.
1374 (POLL_MSG): Likewise.
1375 (POLL_ERR): Likewise.
1376 (POLL_PRI): Likewise.
1377 (POLL_HUP): Likewise.
1378 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1379 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1380
bc61d27c
JM
1381 [BZ #16670]
1382 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1383 before #include of <time.h>.
1384 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1385 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1386 (test-xfail-UNIX98/sched.h/conform): Likewise.
1387
302949e2
MS
13882014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1389
1390 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1391 error absence of trapping exception support.
1392 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1393
a00f522a
JM
13942014-03-07 Joseph Myers <joseph@codesourcery.com>
1395
6f99f280
JM
1396 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1397 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1398 * timezone/Makefile (testdata): Move definition above include of
1399 Rules.
1400 (test-zones): New variable.
1401 (tests-special): Add zone files.
1402 (build-testdata): Use $(evaluate-test).
1403
0b20a9e8
JM
1404 * elf/Makefile (tests-special): Rename tests to end with .out.
1405 ($(objpfx)noload-mem): Likewise.
1406 ($(objpfx)tst-leaks1-mem): Likewise.
1407 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1408 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1409 $(objpfx)test-iconvconfig.out.
1410 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1411 set -e inside subshell and redirect output to file.
1412 * iconvdata/Makefile (generated): Rename tests to end with .out.
1413 Correct type.
1414 (tests-special): Rename tests to end with .out.
1415 ($(objpfx)mtrace-tst-loading): Likewise.
1416 * intl/Makefile (generated): Likewise.
1417 (tests-special): Likewise.
1418 ($(objpfx)mtrace-tst-gettext): Likewise.
1419 * misc/Makefile (generated): Likewise.
1420 (tests-special): Likewise.
1421 ($(objpfx)tst-error1-mem): Likewise.
1422 * nptl/Makefile (tests-special): Likewise.
1423 ($(objpfx)tst-stack3-mem): Likewise.
1424 (generated): Likewise.
1425 * posix/Makefile (generated): Likewise.
1426 (tests-special): Likewise.
1427 (xtests-special): Likewise.
1428 ($(objpfx)tst-fnmatch-mem): Likewise.
1429 ($(objpfx)bug-regex2-mem): Likewise.
1430 ($(objpfx)bug-regex14-mem): Likewise.
1431 ($(objpfx)bug-regex21-mem): Likewise.
1432 ($(objpfx)bug-regex31-mem): Likewise.
1433 ($(objpfx)tst-vfork3-mem): Likewise.
1434 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1435 ($(objpfx)tst-pcre-mem): Likewise.
1436 ($(objpfx)tst-boost-mem): Likewise.
1437 ($(objpfx)bug-ga2-mem): Likewise.
1438 ($(objpfx)bug-glob2-mem): Likewise.
1439 * resolv/Makefile (generate): Likewise.
1440 (tests-special): Likewise.
1441 (xtests-special): Likewise.
1442 (generated): Likewise.
1443 ($(objpfx)mtrace-tst-leaks): Likewise.
1444 ($(objpfx)mtrace-tst-leaks2): Likewise.
1445
265d52ab
JM
1446 * scripts/merge-test-results.sh: New file.
1447 * Makefile (tests-special-notdir): New variable.
1448 (tests): Run merge-test-results.sh.
1449 (xtests): Likewise.
1450 * Rules (tests-special-notdir): New variable.
1451 (xtests-special-notdir): Likewise.
1452 (tests): Run merge-test-results.sh
1453 (xtests): Likewise.
1454
54ee292d
JM
1455 * Makeconfig (test-xfail-name): New variable.
1456 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1457 compute variable name for expected failures.
1458 * conform/Makefile (conformtest-headers-data): New variable.
1459 (conformtest-standards): Likewise.
1460 (conformtest-headers-ISO): Likewise.
1461 (conformtest-headers-ISO99): Likewise.
1462 (conformtest-headers-ISO11): Likewise.
1463 (conformtest-headers-POSIX): Likewise.
1464 (conformtest-headers-XPG3): Likewise.
1465 (conformtest-headers-XPG4): Likewise.
1466 (conformtest-headers-UNIX98): Likewise.
1467 (conformtest-headers-XOPEN2K): Likewise.
1468 (conformtest-headers-POSIX2008): Likewise.
1469 (conformtest-headers-XOPEN2K8): Likewise.
1470 (conformtest-header-list-base): Likewise.
1471 (conformtest-header-list-tests): Likewise.
1472 (conformtest-header-base): Likewise.
1473 (conformtest-header-tests): Likewise.
1474 (tests-special): Add $(conformtest-header-list-tests). If
1475 [$(fast-check) && !$(cross-compiling)], add
1476 $(conformtest-header-tests) instead of
1477 $(objpfx)run-conformtest.out.
1478 (generated): Add $(conformtest-header-list-base). If
1479 [$(fast-check) && !$(cross-compiling)], add
1480 $(conformtest-header-base). Remove previous setting.
1481 ($(conformtest-header-list-tests)): New target.
1482 (test-xfail-run-conformtest): Remove variable.
1483 ($(objpfx)run-conformtest.out): Remove target.
1484 (test-xfail-ISO11/complex.h/conform): New variable.
1485 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1486 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1487 (test-xfail-XPG3/varargs.h/conform): Likewise.
1488 (test-xfail-XPG4/varargs.h/conform): Likewise.
1489 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1490 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1491 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1492 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1493 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1494 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1495 (test-xfail-XPG3/ftw.h/conform): Likewise.
1496 (test-xfail-XPG3/grp.h/conform): Likewise.
1497 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1498 (test-xfail-XPG3/limits.h/conform): Likewise.
1499 (test-xfail-XPG3/pwd.h/conform): Likewise.
1500 (test-xfail-XPG3/search.h/conform): Likewise.
1501 (test-xfail-XPG3/signal.h/conform): Likewise.
1502 (test-xfail-XPG3/stdio.h/conform): Likewise.
1503 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1504 (test-xfail-XPG3/string.h/conform): Likewise.
1505 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1506 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1507 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1508 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1509 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1510 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1511 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1512 (test-xfail-XPG3/termios.h/conform): Likewise.
1513 (test-xfail-XPG3/time.h/conform): Likewise.
1514 (test-xfail-XPG3/unistd.h/conform): Likewise.
1515 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1516 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1517 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1518 (test-xfail-XPG4/netdb.h/conform): Likewise.
1519 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1520 (test-xfail-XPG4/signal.h/conform): Likewise.
1521 (test-xfail-XPG4/stdio.h/conform): Likewise.
1522 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1523 (test-xfail-XPG4/stropts.h/conform): Likewise.
1524 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1525 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1526 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1527 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1528 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1529 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1530 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1531 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1532 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1533 (test-xfail-XPG4/termios.h/conform): Likewise.
1534 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1535 (test-xfail-XPG4/unistd.h/conform): Likewise.
1536 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1537 (test-xfail-POSIX/sched.h/conform): Likewise.
1538 (test-xfail-POSIX/signal.h/conform): Likewise.
1539 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1540 (test-xfail-POSIX/tar.h/conform): Likewise.
1541 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1542 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1543 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1544 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1545 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1546 (test-xfail-UNIX98/sched.h/conform): Likewise.
1547 (test-xfail-UNIX98/signal.h/conform): Likewise.
1548 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1549 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1550 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1551 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1552 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1553 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1554 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1555 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1556 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1557 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1558 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1559 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1560 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1561 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1562 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1563 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1564 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1565 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1566 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1567 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1568 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1569 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1570 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1571 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1572 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1573 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1574 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1575 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1576 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1577 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1578 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1579 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1580 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1581 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1582 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1583 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1584 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1585 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1586 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1587 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1588 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1589 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1590 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1591 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1592 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1593 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1594 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1595 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1596 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1597 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1598 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1599 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1600 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1601 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1602 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1603 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1604 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1605 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1606 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1607 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1608 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1609 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1610 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1611 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1612 (conformtest-cc-flags): Likewise.
1613 ($(conformtest-header-tests): New target.
1614 * conform/check-header-lists.sh: New file.
1615 * conform/run-conformtest.sh: Remove.
1616
a00f522a
JM
1617 * conform/conformtest.pl: Allow ' and \ in values given for
1618 constants.
1619 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1620 inclusion.
1621 [POSIX] (sys/types.h): Likewise.
1622 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1623 inclusion.
1624 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1625 inclusion.
1626 * conform/data/signal.h-data (SIGIO): Remove expectation.
1627 [XPG3] (SIGBUS): Do not expect.
1628 [POSIX || XPG3] (SIGPOLL): Likewise.
1629 [POSIX || XPG3] (SIGPROF): Likewise.
1630 [POSIX || XPG3] (SIGSYS): Likewise.
1631 [XPG3] (SIGTRAP): Likewise.
1632 [POSIX || XPG3] (SIGURG): Likewise.
1633 [POSIX || XPG3] (SIGVTALRM): Likewise.
1634 [POSIX || XPG3] (SIGXCPU): Likewise.
1635 [POSIX || XPG3] (SIGXFSZ): Likewise.
1636 [POSIX] (SA_SIGINFO): Expect.
1637 [XPG3] (siginfo_t): Do not expect type or contents.
1638 [POSIX] (si_pid): Do not expect element.
1639 [POSIX] (si_uid): Likewise.
1640 [POSIX] (si_addr): Likewise.
1641 [POSIX] (si_status): Likewise.
1642 [POSIX] (si_band): Likewise.
1643 [XPG4] (si_value): Likewise.
1644 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1645 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1646 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1647 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1648 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1649 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1650 [POSIX || XPG3] (ILL_COPROC): Likewise.
1651 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1652 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1653 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1654 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1655 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1656 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1657 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1658 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1659 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1660 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1661 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1662 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1663 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1664 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1665 [POSIX || XPG3] (CLD_EXITED): Likewise.
1666 [POSIX || XPG3] (CLD_KILLED): Likewise.
1667 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1668 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1669 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1670 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1671 [POSIX || XPG3] (POLL_IN): Likewise.
1672 [POSIX || XPG3] (POLL_OUT): Likewise.
1673 [POSIX || XPG3] (POLL_MSG): Likewise.
1674 [POSIX || XPG3] (POLL_ERR): Likewise.
1675 [POSIX || XPG3] (POLL_PRI): Likewise.
1676 [POSIX || XPG3] (POLL_HUP): Likewise.
1677 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1678 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1679 (SIG*): Do not allow.
1680 [XPG3] (si_*): Likewise.
1681 [XPG3] (SI_*): Likewise.
1682 [XPG3 || XPG4] (sigev_*): Likewise.
1683 [XPG3 || XPG4] (SIGEV_*): Likewise.
1684 [XPG3 || XPG4] (sival_*): Likewise.
1685 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1686 [POSIX || XPG3] (BUS_*): Likewise.
1687 [POSIX || XPG3] (CLD_*): Likewise.
1688 [POSIX || XPG3] (FPE_*): Likewise.
1689 [POSIX || XPG3] (ILL_*): Likewise.
1690 [POSIX || XPG3] (POLL_*): Likewise.
1691 [POSIX || XPG3] (SEGV_*): Likewise.
1692 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1693 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1694 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1695 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1696 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1697 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1698 Specify type and value.
1699 (TVERSLEN): Likewise.
1700 (REGTYPE): Likewise.
1701 (AREGTYPE): Likewise.
1702 (LNKTYPE): Likewise.
1703 (SYMTYPE): Likewise.
1704 (CHRTYPE): Likewise.
1705 (BLKTYPE): Likewise.
1706 (DIRTYPE): Likewise.
1707 (FIFOTYPE): Likewise.
1708 (CONTTYPE): Likewise.
1709 (TSUID): Likewise.
1710 (TSGID): Likewise.
1711 (TSVTX): Likewise.
1712 (TUREAD): Likewise.
1713 (TUWRITE): Likewise.
1714 (TUEXEC): Likewise.
1715 (TGREAD): Likewise.
1716 (TGWRITE): Likewise.
1717 (TGEXEC): Likewise.
1718 (TOREAD): Likewise.
1719 (TOWRITE): Likewise.
1720 (TOEXEC): Likewise.
1721 [POSIX] (TSVTX): Expect constant.
1722
aa97dee1
JM
17232014-03-06 Joseph Myers <joseph@codesourcery.com>
1724
f214606a
JM
1725 * Makefile (tests): Change dependencies to ....
1726 (tests-special): ... additions to this variable.
1727 (tests): Depend on $(tests-special).
1728 * Makerules (check-abi-list): New variable.
1729 (check-abi): Depend on $(check-abi-list).
1730 [$(subdir) = elf] (tests-special): Add
1731 $(objpfx)check-abi-libc.out.
1732 [$(build-shared) = yes && subdir] (tests-special): Add
1733 $(check-abi-list).
1734 [$(build-shared) = yes && subdir] (tests): Do not depend on
1735 check-abi.
1736 * Rules (tests): Depend on $(tests-special).
1737 (xtests): Depend on $(xtests-special).
1738 * catgets/Makefile (tests): Change dependencies to ....
1739 (tests-special): ... additions to this variable.
1740 * conform/Makefile (tests): Change dependencies to ....
1741 (tests-special): ... additions to this variable.
1742 * elf/Makefile (tests): Change dependencies to ....
1743 (tests-special): ... additions to this variable.
1744 * grp/Makefile (tests): Change dependencies to ....
1745 (tests-special): ... additions to this variable.
1746 * iconv/Makefile (xtests): Change dependencies to ....
1747 (xtests-special): ... additions to this variable.
1748 * iconvdata/Makefile (tests): Change dependencies to ....
1749 (tests-special): ... additions to this variable.
1750 * intl/Makefile (tests): Change dependencies to ....
1751 (tests-special): ... additions to this variable. Also add
1752 $(objpfx)tst-gettext.out.
1753 * io/Makefile (tests): Change dependencies to ....
1754 (tests-special): ... additions to this variable.
1755 * libio/Makefile (tests): Change dependencies to ....
1756 (tests-special): ... additions to this variable.
1757 * malloc/Makefile (tests): Change dependencies to ....
1758 (tests-special): ... additions to this variable.
1759 * misc/Makefile (tests): Change dependencies to ....
1760 (tests-special): ... additions to this variable.
1761 * nptl/Makefile (tests): Change dependencies to ....
1762 (tests-special): ... additions to this variable.
1763 * nptl_db/Makefile (tests): Change dependencies to ....
1764 (tests-special): ... additions to this variable.
1765 * posix/Makefile (tests): Change dependencies to ....
1766 (tests-special): ... additions to this variable.
1767 (xtests): Change dependencies to ....
1768 (xtests-special): ... additions to this variable.
1769 * resolv/Makefile (tests): Change dependencies to ....
1770 (tests-special): ... additions to this variable.
1771 (xtests): Change dependencies to ....
1772 (xtests-special): ... additions to this variable.
1773 * stdio-common/Makefile (tests): Change dependencies to ....
1774 (tests-special): ... additions to this variable.
1775 (do-tst-unbputc): Remove target.
1776 (do-tst-printf): Likewise.
1777 * stdlib/Makefile (tests): Change dependencies to ....
1778 (tests-special): ... additions to this variable.
1779 * string/Makefile (tests): Change dependencies to ....
1780 (tests-special): ... additions to this variable.
1781 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1782 (tests-special): ... additions to this variable.
1783
81700b53
JM
1784 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1785 whole file.
1786 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1787 whole file.
1788 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1789 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1790
2ea18461
JM
1791 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1792 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1793 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1794 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1795 * conform/data/libgen.h-data [XPG3]: Likewise.
1796 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1797 * conform/data/ndbm.h-data [XPG3]: Likewise.
1798 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1799 * conform/data/netdb.h-data [XPG3]: Likewise.
1800 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1801 * conform/data/poll.h-data [XPG3]: Likewise.
1802 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1803 * conform/data/strings.h-data [XPG3]: Likewise.
1804 * conform/data/stropts.h-data [XPG3]: Likewise.
1805 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1806 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1807 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1808 Likewise.
1809 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1810 * conform/data/sys/time.h-data [XPG3]: Likewise.
1811 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1812 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1813 * conform/data/sys/un.h-data [XPG3]: Likewise.
1814 * conform/data/syslog.h-data [XPG3]: Likewise.
1815 * conform/data/ucontext.h-data [XPG3]: Likewise.
1816 * conform/data/utmpx.h-data [XPG3]: Likewise.
1817 * conform/data/varargs.h-data [UNIX98]: Enable file.
1818
355bc986
JM
1819 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1820
215db402
JM
1821 * math/libm-test.inc (struct test_f_f_data): Move expected results
1822 into structure for each rounding mode.
1823 (struct test_ff_f_data): Likewise.
1824 (struct test_ff_f_data_nexttoward): Likewise.
1825 (struct test_fi_f_data): Likewise.
1826 (struct test_fl_f_data): Likewise.
1827 (struct test_if_f_data): Likewise.
1828 (struct test_fff_f_data): Likewise.
1829 (struct test_c_f_data): Likewise.
1830 (struct test_f_f1_data): Likewise.
1831 (struct test_fF_f1_data): Likewise.
1832 (struct test_ffI_f1_data): Likewise.
1833 (struct test_c_c_data): Likewise.
1834 (struct test_cc_c_data): Likewise.
1835 (struct test_f_i_data): Likewise.
1836 (struct test_ff_i_data): Likewise.
1837 (struct test_f_l_data): Likewise.
1838 (struct test_f_L_data): Likewise.
1839 (struct test_fFF_11_data): Likewise.
1840 (RM_): New macro.
1841 (RM_FE_DOWNWARD): Likewise.
1842 (RM_FE_TONEAREST): Likewise.
1843 (RM_FE_TOWARDZERO): Likewise.
1844 (RM_FE_UPWARD): Likewise.
1845 (RUN_TEST_LOOP_f_f): Update references to expected results.
1846 (RUN_TEST_LOOP_2_f): Likewise.
1847 (RUN_TEST_LOOP_fff_f): Likewise.
1848 (RUN_TEST_LOOP_c_f): Likewise.
1849 (RUN_TEST_LOOP_f_f1): Likewise.
1850 (RUN_TEST_LOOP_fF_f1): Likewise.
1851 (RUN_TEST_LOOP_fI_f1): Likewise.
1852 (RUN_TEST_LOOP_ffI_f1): Likewise.
1853 (RUN_TEST_LOOP_c_c): Likewise.
1854 (RUN_TEST_LOOP_cc_c): Likewise.
1855 (RUN_TEST_LOOP_f_i): Likewise.
1856 (RUN_TEST_LOOP_f_i_tg): Likewise.
1857 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1858 (RUN_TEST_LOOP_f_b): Likewise.
1859 (RUN_TEST_LOOP_f_b_tg): Likewise.
1860 (RUN_TEST_LOOP_f_l): Likewise.
1861 (RUN_TEST_LOOP_f_L): Likewise.
1862 (RUN_TEST_LOOP_fFF_11): Likewise.
1863 * math/gen-libm-test.pl (parse_args): Output four copies of
1864 expected results for each test.
1865
67737b8f
JM
1866 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1867 (__ASSUME_UTIMES): Remove.
1868 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1869 (__ASSUME_UTIMES): Likewise.
1870
aa97dee1
JM
1871 * math/gen-auto-libm-tests.c: Update comment on output format.
1872 (output_for_one_input_case): Generate before-rounding and
1873 after-rounding information as conditions on output flags not
1874 floating-point format.
1875 * math/auto-libm-test-out: Regenerated.
1876 * math/gen-libm-test.pl (cond_value): New function.
1877 (or_cond_value): Use cond_value.
1878 (generate_testfile): Handle conditional exceptions.
1879
e6b6a857
JM
18802014-03-05 Joseph Myers <joseph@codesourcery.com>
1881
2f0a0f44
JM
1882 * math/libm-test.inc (max_valid_error): New variable.
1883 (init_max_error): Take new argument specifying whether function
1884 results are exactly determined. Set max_valid_error and bound
1885 other variables for errors based on this argument.
1886 (set_max_error): Do not record results above max_valid_error.
1887 (check_float_internal): Only accept errors of up to 0.5ulps if
1888 also at most max_valid_error.
1889 (START): Take new argument EXACT and pass it to init_max_error.
1890 (acos_test): Update call to START.
1891 (acos_test_tonearest): Likewise.
1892 (acos_test_towardzero): Likewise.
1893 (acos_test_downward): Likewise.
1894 (acos_test_upward): Likewise.
1895 (acosh_test): Likewise.
1896 (asin_test): Likewise.
1897 (asin_test_tonearest): Likewise.
1898 (asin_test_towardzero): Likewise.
1899 (asin_test_downward): Likewise.
1900 (asin_test_upward): Likewise.
1901 (asinh_test): Likewise.
1902 (atan_test): Likewise.
1903 (atanh_test): Likewise.
1904 (atan2_test): Likewise.
1905 (cabs_test): Likewise.
1906 (cacos_test): Likewise.
1907 (cacosh_test): Likewise.
1908 (carg_test): Likewise.
1909 (casin_test): Likewise.
1910 (casinh_test): Likewise.
1911 (catan_test): Likewise.
1912 (catanh_test): Likewise.
1913 (cbrt_test): Likewise.
1914 (ccos_test): Likewise.
1915 (ccosh_test): Likewise.
1916 (ceil_test): Likewise.
1917 (cexp_test): Likewise.
1918 (cimag_test): Likewise.
1919 (clog_test): Likewise.
1920 (clog10_test): Likewise.
1921 (conj_test): Likewise.
1922 (copysign_test): Likewise.
1923 (cos_test): Likewise.
1924 (cos_test_tonearest): Likewise.
1925 (cos_test_towardzero): Likewise.
1926 (cos_test_downward): Likewise.
1927 (cos_test_upward): Likewise.
1928 (cosh_test): Likewise.
1929 (cosh_test_tonearest): Likewise.
1930 (cosh_test_towardzero): Likewise.
1931 (cosh_test_downward): Likewise.
1932 (cosh_test_upward): Likewise.
1933 (cpow_test): Likewise.
1934 (cproj_test): Likewise.
1935 (creal_test): Likewise.
1936 (csin_test): Likewise.
1937 (csinh_test): Likewise.
1938 (csqrt_test): Likewise.
1939 (ctan_test): Likewise.
1940 (ctan_test_tonearest): Likewise.
1941 (ctan_test_towardzero): Likewise.
1942 (ctan_test_downward): Likewise.
1943 (ctan_test_upward): Likewise.
1944 (ctanh_test): Likewise.
1945 (ctanh_test_tonearest): Likewise.
1946 (ctanh_test_towardzero): Likewise.
1947 (ctanh_test_downward): Likewise.
1948 (ctanh_test_upward): Likewise.
1949 (erf_test): Likewise.
1950 (erfc_test): Likewise.
1951 (exp_test): Likewise.
1952 (exp_test_tonearest): Likewise.
1953 (exp_test_towardzero): Likewise.
1954 (exp_test_downward): Likewise.
1955 (exp_test_upward): Likewise.
1956 (exp10_test): Likewise.
1957 (exp10_test_tonearest): Likewise.
1958 (exp10_test_towardzero): Likewise.
1959 (exp10_test_downward): Likewise.
1960 (exp10_test_upward): Likewise.
1961 (pow10_test): Likewise.
1962 (exp2_test): Likewise.
1963 (expm1_test): Likewise.
1964 (expm1_test_tonearest): Likewise.
1965 (expm1_test_towardzero): Likewise.
1966 (expm1_test_downward): Likewise.
1967 (expm1_test_upward): Likewise.
1968 (fabs_test): Likewise.
1969 (fdim_test): Likewise.
1970 (floor_test): Likewise.
1971 (fma_test): Likewise.
1972 (fma_test_towardzero): Likewise.
1973 (fma_test_downward): Likewise.
1974 (fma_test_upward): Likewise.
1975 (fmax_test): Likewise.
1976 (fmin_test): Likewise.
1977 (fmod_test): Likewise.
1978 (fpclassify_test): Likewise.
1979 (frexp_test): Likewise.
1980 (hypot_test): Likewise.
1981 (ilogb_test): Likewise.
1982 (isfinite_test): Likewise.
1983 (finite_test): Likewise.
1984 (isgreater_test): Likewise.
1985 (isgreaterequal_test): Likewise.
1986 (isinf_test): Likewise.
1987 (isless_test): Likewise.
1988 (islessequal_test): Likewise.
1989 (islessgreater_test): Likewise.
1990 (isnan_test): Likewise.
1991 (isnormal_test): Likewise.
1992 (issignaling_test): Likewise.
1993 (isunordered_test): Likewise.
1994 (j0_test): Likewise.
1995 (j1_test): Likewise.
1996 (jn_test): Likewise.
1997 (ldexp_test): Likewise.
1998 (lgamma_test): Likewise.
1999 (gamma_test): Likewise.
2000 (lrint_test): Likewise.
2001 (lrint_test_tonearest): Likewise.
2002 (lrint_test_towardzero): Likewise.
2003 (lrint_test_downward): Likewise.
2004 (lrint_test_upward): Likewise.
2005 (llrint_test): Likewise.
2006 (llrint_test_tonearest): Likewise.
2007 (llrint_test_towardzero): Likewise.
2008 (llrint_test_downward): Likewise.
2009 (llrint_test_upward): Likewise.
2010 (log_test): Likewise.
2011 (log10_test): Likewise.
2012 (log1p_test): Likewise.
2013 (log2_test): Likewise.
2014 (logb_test): Likewise.
2015 (logb_test_downward): Likewise.
2016 (lround_test): Likewise.
2017 (llround_test): Likewise.
2018 (modf_test): Likewise.
2019 (nearbyint_test): Likewise.
2020 (nextafter_test): Likewise.
2021 (nexttoward_test): Likewise.
2022 (pow_test): Likewise.
2023 (pow_test_tonearest): Likewise.
2024 (pow_test_towardzero): Likewise.
2025 (pow_test_downward): Likewise.
2026 (pow_test_upward): Likewise.
2027 (remainder_test): Likewise.
2028 (drem_test): Likewise.
2029 (remainder_test_tonearest): Likewise.
2030 (drem_test_tonearest): Likewise.
2031 (remainder_test_towardzero): Likewise.
2032 (drem_test_towardzero): Likewise.
2033 (remainder_test_downward): Likewise.
2034 (drem_test_downward): Likewise.
2035 (remainder_test_upward): Likewise.
2036 (drem_test_upward): Likewise.
2037 (remquo_test): Likewise.
2038 (rint_test): Likewise.
2039 (rint_test_tonearest): Likewise.
2040 (rint_test_towardzero): Likewise.
2041 (rint_test_downward): Likewise.
2042 (rint_test_upward): Likewise.
2043 (round_test): Likewise.
2044 (scalb_test): Likewise.
2045 (scalbn_test): Likewise.
2046 (scalbln_test): Likewise.
2047 (signbit_test): Likewise.
2048 (sin_test): Likewise.
2049 (sin_test_tonearest): Likewise.
2050 (sin_test_towardzero): Likewise.
2051 (sin_test_downward): Likewise.
2052 (sin_test_upward): Likewise.
2053 (sincos_test): Likewise.
2054 (sinh_test): Likewise.
2055 (sinh_test_tonearest): Likewise.
2056 (sinh_test_towardzero): Likewise.
2057 (sinh_test_downward): Likewise.
2058 (sinh_test_upward): Likewise.
2059 (sqrt_test): Likewise.
2060 (sqrt_test_tonearest): Likewise.
2061 (sqrt_test_towardzero): Likewise.
2062 (sqrt_test_downward): Likewise.
2063 (sqrt_test_upward): Likewise.
2064 (tan_test): Likewise.
2065 (tan_test_tonearest): Likewise.
2066 (tan_test_towardzero): Likewise.
2067 (tan_test_downward): Likewise.
2068 (tan_test_upward): Likewise.
2069 (tanh_test): Likewise.
2070 (tgamma_test): Likewise.
2071 (trunc_test): Likewise.
2072 (y0_test): Likewise.
2073 (y1_test): Likewise.
2074 (yn_test): Likewise.
2075 (significand_test): Likewise.
2076
e6b6a857
JM
2077 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2078 individual tests in comment.
2079 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2080 (prev_max_error): New variable.
2081 (prev_real_max_error): Likewise.
2082 (prev_imag_max_error): Likewise.
2083 (compare_ulp_data): Don't refer to test names in comment.
2084 (find_test_ulps): Remove function.
2085 (find_function_ulps): Likewise.
2086 (find_complex_function_ulps): Likewise.
2087 (init_max_error): Take function name as argument. Look up ulps
2088 for that function.
2089 (print_ulps): Remove function.
2090 (print_max_error): Use prev_max_error instead of calling
2091 find_function_ulps.
2092 (print_complex_max_error): Use prev_real_max_error and
2093 prev_imag_max_error instead of calling find_complex_function_ulps.
2094 (check_float_internal): Take max_ulp parameter instead of calling
2095 find_test_ulps. Don't call print_ulps.
2096 (check_float): Update call to check_float_internal.
2097 (check_complex): Update calls to check_float_internal.
2098 (START): Pass argument to init_max_error.
2099 * math/gen-libm-test.pl (%results): Don't include "kind"
2100 information.
2101 (parse_ulps): Don't handle ulps of individual tests.
2102 (print_ulps_file): Likewise.
2103 (output_ulps): Likewise.
2104 * math/README.libm-test: Update.
2105 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2106 individual tests.
2107 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2108 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2109 * sysdeps/arm/libm-test-ulps: Likewise.
2110 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2111 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2112 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2113 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2114 * sysdeps/microblaze/libm-test-ulps: Likewise.
2115 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2116 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2117 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2118 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2119 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2120 * sysdeps/sh/libm-test-ulps: Likewise.
2121 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2122 * sysdeps/tile/libm-test-ulps: Likewise.
2123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2124
45adef3c
JM
21252014-03-04 Joseph Myers <joseph@codesourcery.com>
2126
2127 * math/libm-test.inc (print_complex_max_error): Check separately
2128 whether real and imaginary errors are within allowed range and
2129 pass 0 to print_complex_function_ulps instead of value within
2130 allowed range.
2131
000232b9
SP
21322014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2133
d4b17258
SP
2134 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2135 formatting.
2136 (get_handles_fopen): Likewise.
2137 (do_write_test): Likewise.
2138
091eff71
SP
2139 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2140
fa3cd248
SP
2141 * libio/fileops.c (do_ftell): Use cached offset when
2142 available.
2143 * libio/iofwide.c (do_ftell_wide): Likewise.
2144 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2145 _IO_file_attach.
2146 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2147
000232b9
SP
2148 [BZ #16532]
2149 * libio/libioP.h (get_file_offset): New function.
2150 * libio/fileops.c (get_file_offset): Likewise.
2151 (do_ftell): Likewise.
2152 (_IO_new_file_seekoff): Split out ftell logic.
2153 * libio/wfileops.c (do_ftell_wide): Likewise.
2154 (_IO_wfile_seekoff): Split out ftell logic.
2155 * libio/tst-ftell-active-handler.c: New test case.
2156 * libio/Makefile (tests): Add it.
2157
116f4d1a
RM
21582014-03-03 Roland McGrath <roland@hack.frob.com>
2159
2160 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2161 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2162
532a6035
SP
21632014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2164
2165 [BZ #16639]
2166 * nscd/connections.c (nscd_init): Call do_exit.
2167 (start_threads): Call do_exit and notify_parent.
2168 (begin_drop_privileges): Call do_exit.
2169 (finish_drop_privileges): Likewise.
2170 * nscd/selinux.c (preserve_capabilities): Likewise.
2171 (install_real_capabilities): Likewise.
2172 (nscd_selinux_enabled): Likewise.
2173 (avc_create_thread): Likewise.
2174 (avc_alloc_lock): Likewise.
2175 (nscd_avc_init): Likewise.
2176 * nscd/nscd.c (parent_fd): New static variable.
2177 (main): Create a pipe between parent and child processes.
2178 Skip closing parent_fd.
2179 (monitor_child): New function.
2180 (do_exit): Likewise.
2181 (notify_parent): Likewise.
2182 * nscd/nscd.h (notify_parent): Likewise.
2183 (do_exit): Likewise.
2184
d6285c9f
CD
21852014-03-03 Carlos O'Donell <carlos@redhat.com>
2186
2187 * malloc/malloc.c (__libc_calloc): Revert last change.
2188
2b85d2a0
AZ
21892014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2190
2191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2192
c7debbdf
RS
21932014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2194
2195 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2197 implementation.
2198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2199 (__libc_ifunc_impl_list): Likewise.
2200 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2201 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2202 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2203 * string/strrchr.c: Define STRRCHR.
2204
235eed86
OB
22052014-02-28 Ondřej Bílka <neleai@seznam.cz>
2206
2207 * benchtest/bench-strtok.c (simple_strtok): Delete.
2208 (strtok_string): Use as benchmark.
2209 * string/strtok (STRTOK): New macro.
2210
8e25d1e7
CD
22112014-02-28 Carlos O'Donell <carlos@redhat.com>
2212
ef563f92
CD
2213 * manual/threads.texi: Add header and standard comments to all
2214 functions.
2215
8e25d1e7
CD
2216 * elf/dl-lookup.c (check_match): New function.
2217 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2218 (do_lookup_x): Remove nested function check_match. Use non-nested
2219 function check_match.
2220
ff71cc37
RM
22212014-02-28 Roland McGrath <roland@hack.frob.com>
2222
f08e9a26
RM
2223 * csu/Makefile (generated, before-compile): Use += rather than =.
2224 * catgets/Makefile (generated, generated-dirs): Likewise.
2225 * debug/Makefile (generated): Likewise.
2226 * dlfcn/Makefile (generated): Likewise.
2227 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2228 * iconvdata/Makefile (before-compile, generated): Likewise.
2229 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2230 * libio/Makefile (generated): Likewise.
2231 * malloc/Makefile (generated): Likewise.
2232 * manual/Makefile (generated, generated-dirs): Likewise.
2233 * misc/Makefile (generated): Likewise.
2234 * posix/Makefile (generated): Likewise.
2235 * resolv/Makefile (generated): Likewise.
2236 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2237 * timezone/Makefile (generated, generated-dirs): Likewise.
2238
ff71cc37
RM
2239 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2240
fe13a20c
AZ
22412014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2242
2243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2244 implementation.
2245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2246 POWER8 llround ifunc implementation.
2247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2248 POWER8 implementation.
2249 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2250 POWER8 llround implementation.
2251
1ad8950a
AZ
22522014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2253
2254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2255 implementation.
2256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2257 POWER8 llrint ifunc implementation.
2258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2259 POWER8 implementation.
2260 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2261 POWER8 llrint implementation.
2262
cac626d6
AZ
22632014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2264
2265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2266 implementation.
2267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2268 POWER8 finite ifunc implementation.
2269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2270 POWER8 implementation.
2271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2272 Likewise.
2273 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2274 POWER8 finite implementation.
2275 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2276
4393fc11
AZ
22772014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2278
2279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2280 implementation.
2281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2282 POWER8 isinf ifunc implementation.
2283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2284 POWER8 implementation.
2285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2286 Likewise.
2287 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2288 POWER8 isinf implementation.
2289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2290
487972ae
AZ
22912014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2292
2293 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2294 Add hwcap2 initialization.
2295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2296 implementation.
2297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2298 POWER8 isnan ifunc implementation.
2299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2300 POWER8 implementation.
2301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2302 Likewise.
2303 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2304 POWER8 isnan implementation.
2305 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2306
7d92b787
JY
23072014-02-27 Joey Ye <joey.ye@arm.com>
2308
2309 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2310 (_FP_NANFRAC_Q): Set to zero.
2311
1cadc858
SP
23122014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2313
2314 [BZ #16623]
2315 * math/auto-libm-test-in: New test inputs.
2316 * math/auto-libm-test-out: Regenerate.
2317 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2318 and DA.
2319 (__cos): Likewise.
2320 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2321
f8c17e79
JM
23222014-02-27 Joseph Myers <joseph@codesourcery.com>
2323
2324 * scripts/evaluate-test.sh: Take new argument indicating whether
2325 failure is expected.
2326 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2327 indicating whether failure is expected.
2328 * conform/Makefile (test-xfail-run-conformtest): New variable.
2329 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2330 level.
2331 * posix/Makefile (test-xfail-annexc): New variable.
2332 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2333
a5f891ac
JM
23342014-02-26 Joseph Myers <joseph@codesourcery.com>
2335
2336 * argp/Makefile: Include Makeconfig immediately after defining
2337 subdir.
2338 * assert/Makefile: Likewise.
2339 * benchtests/Makefile: Likewise.
2340 * catgets/Makefile: Likewise.
2341 * conform/Makefile: Likewise.
2342 * crypt/Makefile: Likewise.
2343 * csu/Makefile: Likewise.
2344 (all): Remove target.
2345 * ctype/Makefile: Include Makeconfig immediately after defining
2346 subdir.
2347 * debug/Makefile: Likewise.
2348 * dirent/Makefile: Likewise.
2349 * dlfcn/Makefile: Likewise.
2350 * gmon/Makefile: Likewise.
2351 * gnulib/Makefile: Likewise.
2352 * grp/Makefile: Likewise.
2353 * gshadow/Makefile: Likewise.
2354 * hesiod/Makefile: Likewise.
2355 * hurd/Makefile: Likewise.
2356 (all): Remove target.
2357 * iconvdata/Makefile: Include Makeconfig immediately after
2358 defining subdir.
2359 * inet/Makefile: Likewise.
2360 * intl/Makefile: Likewise.
2361 * io/Makefile: Likewise.
2362 * libio/Makefile: Likewise.
2363 (all): Remove target.
2364 * locale/Makefile: Include Makeconfig immediately after defining
2365 subdir.
2366 * login/Makefile: Likewise.
2367 * mach/Makefile: Likewise.
2368 (all): Remove target.
2369 * malloc/Makefile: Include Makeconfig immediately after defining
2370 subdir.
2371 (all): Remove target.
2372 * manual/Makefile: Include Makeconfig immediately after defining
2373 subdir.
2374 * math/Makefile: Likewise.
2375 * misc/Makefile: Likewise.
2376 * nis/Makefile: Likewise.
2377 * nss/Makefile: Likewise.
2378 * po/Makefile: Likewise.
2379 (all): Remove target.
2380 * posix/Makefile: Include Makeconfig immediately after defining
2381 subdir.
2382 * pwd/Makefile: Likewise.
2383 * resolv/Makefile: Likewise.
2384 * resource/Makefile: Likewise.
2385 * rt/Makefile: Likewise.
2386 * setjmp/Makefile: Likewise.
2387 * shadow/Makefile: Likewise.
2388 * signal/Makefile: Likewise.
2389 * socket/Makefile: Likewise.
2390 * soft-fp/Makefile: Likewise.
2391 * stdio-common/Makefile: Likewise.
2392 * stdlib/Makefile: Likewise.
2393 * streams/Makefile: Likewise.
2394 * string/Makefile: Likewise.
2395 * sunrpc/Makefile: Likewise.
2396 (all): Remove target.
2397 * sysvipc/Makefile: Include Makeconfig immediately after defining
2398 subdir.
2399 * termios/Makefile: Likewise.
2400 * time/Makefile: Likewise.
2401 * timezone/Makefile: Likewise.
2402 (all): Remove target.
2403 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2404 subdir.
2405 * wctype/Makefile: Likewise.
2406
5b456e9d
SE
24072014-02-26 Steve Ellcey <sellcey@mips.com>
2408
2409 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2410 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2411 (libc_feholdexcept_setround_mips): Ditto.
2412 (libc_feholdsetround): New.
2413 (libc_feholdsetroundf): New.
2414 (libc_feholdsetroundl): New.
2415 (libc_feupdateenv_test_mips): New.
2416 (libc_feupdateenv_test): New.
2417 (libc_feupdateenv_testf): New.
2418 (libc_feupdateenv_testl): New.
2419 (libc_feresetround): New.
2420 (libc_feresetroundf): New.
2421 (libc_feresetroundl): New.
2422 (libc_fetestexcept_mips): New.
2423 (libc_fetestexcept): New.
2424 (libc_fetestexceptf): New.
2425 (libc_fetestexceptl): New.
2426 (HAVE_RM_CTX): New.
2427 (libc_feholdexcept_setround_mips_ctx): New.
2428 (libc_feholdexcept_setround_ctx): New.
2429 (libc_feholdexcept_setroundf_ctx): New.
2430 (libc_feholdexcept_setroundl_ctx): New.
2431 (libc_fesetenv_mips_ctx): New.
2432 (libc_fesetenv_ctx): New.
2433 (libc_fesetenv_ctxf): New.
2434 (libc_fesetenv_ctxl): New.
2435 (libc_feupdateenv_mips_ctx): New.
2436 (libc_feupdateenv_ctx): New.
2437 (libc_feupdateenvf_ctx): New.
2438 (libc_feupdateenvl_ctx): New.
2439 (libc_feholdsetround_mips_ctx): New.
2440 (libc_feholdsetround_ctx): New.
2441 (libc_feholdsetroundf_ctx): New.
2442 (libc_feholdsetroundl_ctx): New.
2443 (libc_feresetround_mips_ctx): New.
2444 (libc_feresetround_ctx): New.
2445 (libc_feresetroundf_ctx): New.
2446 (libc_feresetroundl_ctx): New.
2447
085d0e35
CD
24482014-02-26 Carlos O'Donell <carlos@redhat.com>
2449
f067bf1f
CD
2450 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2451
085d0e35
CD
2452 * manual/ipc.texi: New file.
2453 * manual/Makefile (chapters): Add ipc.
2454 * manual/job.texi: Add "Inter-Process Communication" to next.
2455 * manual/process.texi: Add "Inter-Process Communication" to prev.
2456
86e58c08
AZ
24572014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2458
2459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2460
4248f0da
OB
24612014-02-26 Ondřej Bílka <neleai@seznam.cz>
2462
2463 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2464
cf822e3c
OB
2465 * manual/arith.texi: Fix spaces after sentences.
2466 * manual/charset.texi: Likewise.
2467 * manual/errno.texi: Likewise.
2468 * manual/install.texi: Likewise.
2469 * manual/llio.texi: Likewise.
2470 * manual/locale.texi: Likewise.
2471 * manual/maint.texi: Likewise.
2472 * manual/math.texi: Likewise.
2473 * manual/memory.texi: Likewise.
2474 * manual/message.texi: Likewise.
2475 * manual/probes.texi: Likewise.
2476 * manual/resource.texi: Likewise.
2477 * manual/signal.texi: Likewise.
2478 * manual/socket.texi: Likewise.
2479 * manual/stdio.texi: Likewise.
2480 * manual/string.texi: Likewise.
2481 * manual/time.texi: Likewise.
2482 * manual/users.texi: Likewise.
2483
ade40b10
CD
24842014-02-25 Carlos O'Donell <carlos@redhat.com>
2485
2486 [BZ #16632]
2487 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2488 _DEFAULT_SOURCE is defined.
2489
d0503676
CD
24902014-02-25 Ulrich Drepper <drepper@gmail.com>
2491 Carlos O'Donell <carlos@redhat.com>
2492
2493 [BZ #16613]
2494 * elf/dl-tls.c (_dl_count_modids): New function.
2495 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2496 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2497 audit library and increment generation counter.
2498 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2499 * elf/tst-audit9.c: New file.
2500 * elf/tst-auditmod9a.c: New file.
2501 * elf/tst-auditmod9b.c: New file.
2502 * elf/Makefile: Add rules to build and run tst-audit9.
2503
4cbf380c
FW
25042014-02-25 Florian Weimer <fweimer@redhat.com>
2505
2506 [BZ #15347]
2507 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2508
80a56cc3
WN
25092014-02-25 Will Newton <will.newton@linaro.org>
2510
2511 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2512 (__longjmp): Restore sp and lr before restoring callee
2513 saved registers. Add longjmp and longjmp_target
2514 SystemTap probe point.
2515 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2516 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2517 Define to zero to match jmpbuf layout.
2518 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2519 (__sigsetjmp): Save sp and lr before saving callee
2520 saved registers. Add setjmp SystemTap probe point.
2521
3ea0f74e
SL
25222014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2523
2524 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2525
b04acb26
AS
25262014-02-24 Andreas Schwab <schwab@suse.de>
2527
2528 [BZ #15804]
2529 * elf/pldd.c (wait_for_ptrace_stop): New function.
2530 (main): Call it after attaching.
2531
098ad55c
RM
25322014-02-22 Roland McGrath <roland@hack.frob.com>
2533
d4ec6ae1
RM
2534 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2535 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2536 Versions files is now verboten.
2537 * hurd/Versions (libc: GLIBC_2.0):
2538 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2539 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2540 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2541 * mach/Versions: Likewise.
2542
098ad55c
RM
2543 * csu/Versions: Remove unused %include.
2544 * resolv/Versions: Likewise.
2545
acd7f096
JM
25462014-02-21 Joseph Myers <joseph@codesourcery.com>
2547
f0881698
JM
2548 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2549 ($(objpfx)check-local-headers.out): Likewise.
2550 ($(objpfx)begin-end-check.out): Likewise.
2551 * Makerules (check-abi-%.out): Likewise.
2552 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2553 ($(objpfx)test2.cat): Likewise.
2554 ($(objpfx)de/libc.cat): Likewise.
2555 ($(objpfx)test-gencat.out): Likewise.
2556 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2557 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2558 ($(objpfx)noload-mem): Likewise.
2559 ($(objpfx)tst-pathopt.out): Likewise.
2560 ($(objpfx)tst-rtld-load-self.out): Likewise.
2561 ($(objpfx)tst-array1-cmp.out): Likewise.
2562 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2563 ($(objpfx)tst-array2-cmp.out): Likewise.
2564 ($(objpfx)tst-array3-cmp.out): Likewise.
2565 ($(objpfx)tst-array4-cmp.out): Likewise.
2566 ($(objpfx)tst-array5-cmp.out): Likewise.
2567 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2568 ($(objpfx)check-textrel.out): Likewise.
2569 ($(objpfx)check-execstack.out): Likewise.
2570 ($(objpfx)check-localplt.out): Likewise.
2571 ($(objpfx)order2-cmp.out): Likewise.
2572 ($(objpfx)tst-leaks1-mem): Likewise.
2573 ($(objpfx)tst-leaks1-static-mem): Likewise.
2574 ($(objpfx)tst-initorder-cmp.out): Likewise.
2575 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2576 ($(objpfx)tst-unused-dep.out): Likewise.
2577 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2578 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2579 * iconv/Makefile (test-iconvconfig): Likewise.
2580 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2581 ($(objpfx)iconv-test.out): Likewise.
2582 ($(objpfx)tst-tables.out): Likewise.
2583 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2584 ($(objpfx)tst-gettext.out): Likewise.
2585 ($(objpfx)tst-translit.out): Likewise.
2586 ($(objpfx)tst-gettext2.out): Likewise.
2587 ($(objpfx)tst-gettext4.out): Likewise.
2588 ($(objpfx)tst-gettext6.out): Likewise.
2589 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2590 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2591 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2592 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2593 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2594 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2595 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2596 ($(objpfx)wordexp-tst.out): Likewise.
2597 ($(objpfx)annexc.out): Likewise.
2598 ($(objpfx)tst-fnmatch-mem): Likewise.
2599 ($(objpfx)bug-regex2-mem): Likewise.
2600 ($(objpfx)bug-regex14-mem): Likewise.
2601 ($(objpfx)bug-regex21-mem): Likewise.
2602 ($(objpfx)bug-regex31-mem): Likewise.
2603 ($(objpfx)tst-vfork3-mem): Likewise.
2604 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2605 ($(objpfx)tst-pcre-mem): Likewise.
2606 ($(objpfx)tst-boost-mem): Likewise.
2607 ($(objpfx)tst-getconf.out): Likewise.
2608 ($(objpfx)bug-ga2-mem): Likewise.
2609 ($(objpfx)bug-glob2-mem): Likewise.
2610 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2611 ($(objpfx)mtrace-tst-leaks2): Likewise.
2612 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2613 ($(objpfx)tst-printf.out): Likewise.
2614 ($(objpfx)tst-setvbuf1.out): Likewise.
2615 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2616 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2617 ($(objpfx)tst-fmtmsg.out): Likewise.
2618 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2619 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2620
acd7f096
JM
2621 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2622 * bits/sigaction.h [__USE_MISC]: Likewise.
2623 * bits/waitstatus.h: Update #endif comments.
2624 * ctype/ctype.h: Likewise.
2625 * dirent/dirent.h: Likewise.
2626 [__USE_MISC]: Remove redundant conditionals.
2627 * grp/grp.h: Update #endif comments.
2628 [__USE_GNU]: Remove redundant conditionals.
2629 [__USE_MISC]: Likewise.
2630 * inet/netinet/in.h [__USE_GNU]: Likewise.
2631 * io/sys/stat.h [__USE_MISC]: Likewise.
2632 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2633 * libio/bits/stdio.h: Update #endif comments.
2634 [__USE_MISC]: Remove redundant conditionals.
2635 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2636 * libio/stdio.h: Update #endif comments.
2637 [__USE_MISC]: Remove redundant conditionals.
2638 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2639 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2640 * math/math.h: Update #else and #endif comments.
2641 [__USE_MISC]: Remove redundant conditionals.
2642 * misc/sys/uio.h: Update #endif comments.
2643 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2644 * posix/glob.h [__USE_MISC]: Likewise.
2645 * posix/sys/types.h: Update #endif comments.
2646 [__USE_MISC]: Remove redundant conditionals.
2647 * posix/sys/wait.h: Update #endif comments.
2648 [__USE_MISC]: Remove redundant conditionals.
2649 * posix/unistd.h: Update #endif comments.
2650 [__USE_MISC]: Remove redundant conditionals.
2651 * pwd/pwd.h [__USE_GNU]: Likewise.
2652 [__USE_MISC]: Likewise.
2653 * resolv/netdb.h [__USE_GNU]: Likewise.
2654 * signal/signal.h: Update #endif comments.
2655 [__USE_MISC]: Remove redundant conditionals.
2656 * stdlib/stdlib.h: Update #else and #endif comments.
2657 [__USE_MISC]: Remove redundant conditionals.
2658 [__USE_GNU]: Likewise.
2659 * string/bits/string2.h [__USE_MISC]: Likewise.
2660 * string/string.h: Update #endif comments.
2661 [__USE_MISC]: Remove redundant conditionals.
2662 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2663 Likewise.
2664 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2665 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2666 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2667 Likewise.
2668 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2669 Likewise.
2670 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2671 comments.
2672 [__USE_MISC]: Remove redundant conditionals.
2673 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2674 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2675 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2676 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2677 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2678 Likewise.
2679 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2680 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2681 Likewise.
2682 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2683 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2684 Likewise.
2685 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2686 Likewise.
2687 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2688 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2689 Likewise.
2690 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2691 Likewise.
2692 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2693 * sysdeps/x86/bits/string.h: Update #endif comments.
2694 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2695 conditionals.
2696 * time/sys/time.h: Update #endif comments.
2697 * time/time.h: Likewise.
2698 [__USE_MISC]: Remove redundant conditionals.
2699
a5d82e4e
YG
27002014-02-21 Yury Gribov <y.gribov@samsung.com>
2701
2702 [BZ #16600]
2703 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2704
9a80491d
AS
27052014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2706
2707 * Versions.def (librt): Add GLIBC_2.17.
2708
105fa381
AC
27092014-02-21 Adam Conrad <adconrad@0c3.net>
2710
2711 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2712 synonym for _SYS_AUXV_H to allow direct inclusion.
2713 * sysdeps/sparc/bits/hwcap.h: Likewise.
2714 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2715 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2716 * sysdeps/sparc/sysdep.h: Likewise.
2717
b8cd1c4e
SP
27182014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2719
2720 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2721
bd939d23
RS
27222014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2723
2724 * benchtests/bench-strrchr.c: Print length instead of position.
2725
5d7b57ca
JM
27262014-02-20 Joseph Myers <joseph@codesourcery.com>
2727
bc688c10
JM
2728 [BZ #16611]
2729 * sysdeps/unix/sysv/linux/kernel-features.h
2730 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2731 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2732 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2733 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2734 Likewise.
2735 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2736 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2737 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2738 (__ASSUME_SENDMMSG): Define instead of using previous
2739 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2740 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2741 (__ASSUME_SENDMMSG_SYSCALL): Define.
2742 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2743 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2744 Likewise.
2745 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2746 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2747 Likewise.
2748 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2749 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2750 Likewise.
2751 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2752 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2753 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2754 [__ASSUME_SENDMMSG]: Change conditionals to
2755 [__ASSUME_SENDMMSG_SOCKETCALL].
2756 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2757 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2758 Define.
2759 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2760 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2761 Likewise.
2762 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2763 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2764 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2765 [!__ASSUME_SENDMMSG]: Change conditional to
2766 [!__ASSUME_SENDMMSG_SOCKETCALL].
2767 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2768 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2769 Define.
2770
0e31b18c
JM
2771 [BZ #16610]
2772 * sysdeps/unix/sysv/linux/kernel-features.h
2773 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2774 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2775 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2776 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2777 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2778 [__i386__ || __sparc__]
2779 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2780 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2781 (__ASSUME_RECVMMSG): Define instead of using previous
2782 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2783 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2784 (__ASSUME_RECVMMSG_SYSCALL): Define.
2785 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2786 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2787 Likewise.
2788 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2789 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2790 Likewise.
2791 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2792 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2793 Likewise.
2794 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2795 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2796 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2797 [__ASSUME_RECVMMSG]: Change condition to
2798 [__ASSUME_RECVMMSG_SOCKETCALL].
2799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2800 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2801 Define.
2802 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2803 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2804 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2805 Likewise.
2806 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2807 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2808 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2809 [!__ASSUME_RECVMMSG]: Change condition to
2810 [!__ASSUME_RECVMMSG_SOCKETCALL].
2811 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2812 (__ASSUME_RECVMMSG_SYSCALL): Define.
2813
dd481ccf
JM
2814 [BZ #16609]
2815 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2816 __powerpc__ || __s390__ || __sh__ || __sparc__]
2817 (__ASSUME_SOCKETCALL): Define.
2818 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2819 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2820 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2821 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2822 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2823 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2824 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2825 (__ASSUME_ACCEPT4): Define instead of using previous
2826 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2827 __powerpc__ || __sparc__ || __s390__)] condition.
2828 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2829 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2830 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2831 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2832 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2833 [!__ASSUME_ACCEPT4]: Change condition to
2834 [!__ASSUME_ACCEPT4_SOCKETCALL].
2835 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2836 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2837 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2838 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2839 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2840 __ASSUME_ACCEPT4_SYSCALL.
2841 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2842 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2843 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2844 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2845 __ASSUME_ACCEPT4_SYSCALL.
2846 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2847 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2848 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2849 [__ASSUME_ACCEPT4]: Change condition to
2850 [__ASSUME_ACCEPT4_SOCKETCALL].
2851 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2852 (__ASSUME_SOCKETCALL): Define.
2853 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2855 (__ASSUME_SOCKETCALL): Define.
2856 (__ASSUME_ACCEPT4): Remove.
2857 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2858 Define.
2859 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2860 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2861 Likewise.
2862 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2863 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2864
5d7b57ca
JM
2865 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2866 macro.
2867 (HWCAP_ARM_LPAE): Likewise.
2868 (HWCAP_ARM_EVTSTRM): Likewise.
2869 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2870 Add vpfd32, lpae and evtstrm.
2871 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2872 Increase to 22.
2873
63689d61
JM
28742014-02-19 Joseph Myers <joseph@codesourcery.com>
2875
2876 * math/auto-libm-test-in: Add tests of clog10.
2877 * math/auto-libm-test-out: Regenerated.
2878 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2879 * sysdeps/i386/fpu/libm-test-ulps: Update.
2880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2881
ab09bf61
AS
28822014-02-18 Andreas Schwab <schwab@suse.de>
2883
2884 [BZ #16574]
2885 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2886 Store non-zero if the second buffer was newly allocated.
2887 (send_dg): Likewise.
2888 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2889 to send_vc and send_dg.
2890 (res_nsend): Pass NULL for ansp2_malloced.
2891 * resolv/res_query.c (__libc_res_nquery): Add parameter
2892 answerp2_malloced and pass it down to __libc_res_nsend.
2893 (res_nquery): Pass additional NULL to __libc_res_nquery.
2894 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2895 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2896 second answer buffer if answerp2_malloced was set.
2897 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2898 (__libc_res_nquerydomain): Add parameter
2899 answerp2_malloced and pass it down to __libc_res_nquery.
2900 (res_nquerydomain): Pass additional NULL to
2901 __libc_res_nquerydomain.
2902 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2903 additional NULL to __libc_res_nsend and __libc_res_nquery.
2904 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2905 additional NULL to __libc_res_nsearch.
2906 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2907 parameter of __libc_res_nsearch to check for separately allocated
2908 second buffer.
2909 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2910 __libc_res_nquery.
2911 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2912 additional NULL to __libc_res_nquery.
2913 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2914 __libc_res_nsearch.
2915 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2916 * include/resolv.h: Update prototypes of __libc_res_nquery,
2917 __libc_res_nsearch, __libc_res_nsend.
2918
a4fb7861
JM
29192014-02-18 Joseph Myers <joseph@codesourcery.com>
2920
c6af2d89
JM
2921 * math/auto-libm-test-in: Add tests of fma.
2922 * math/auto-libm-test-out: Regenerated.
2923 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2924 (fma_towardzero_test_data): Likewise.
2925 (fma_downward_test_data): Likewise.
2926 (fma_upward_test_data): Likewise.
2927 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2928 mpc_mode.
2929 (rounding_modes): Add values for new field.
2930 (func_calc_method): Add value mpfr_fff_f.
2931 (func_calc_desc): Add mpfr_fff_f union field.
2932 (test_function): Add field exact_args.
2933 (FUNC): Add macro argument EXACT_ARGS.
2934 (FUNC_mpfr_f_f): Update call to FUNC.
2935 (FUNC_mpfr_f_f): Likewise.
2936 (FUNC_mpfr_ff_f): Likewise.
2937 (FUNC_mpfr_if_f): Likewise.
2938 (FUNC_mpc_c_f): Likewise.
2939 (FUNC_mpc_c_c): Likewise.
2940 (test_functions): Add fma. Update calls to FUNC.
2941 (handle_input_arg): Add argument exact_args.
2942 (add_test): Update call to handle_input_arg.
2943 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2944 (output_for_one_input_case): Update call to calc_generic_results.
2945 Recalculate exact zero results in each rounding mode.
2946
a4fb7861
JM
2947 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2948 non-negative before setting low bit.
2949 * math/auto-libm-test-in: Mark one asin test possibly having
2950 spurious underflow.
2951 * math/auto-libm-test-out: Regenerated.
2952 * sysdeps/i386/fpu/libm-test-ulps: Update.
2953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2954
ef114eaf
DH
29552014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2956
2b7f4f2c
SP
2957 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2958 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2959 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2960 * README: Add missing listing for microblaze*-*-linux-gnu.
2961
c70a4b1d
MF
29622014-02-16 Mike Frysinger <vapier@gentoo.org>
2963
2964 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2965 * sysdeps/unix/sysv/linux/ia64: Move directory from
2966 ports/sysdeps/unix/sysv/linux/ia64.
2967 * README: Update listing for ia64-*-linux-gnu.
2968
591aeaf7
TD
29692014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2970 Joseph Myers <joseph@codesourcery.com>
2971
2972 * Makeconfig (test-name): New variable.
2973 (evaluate-test): Likewise.
2974 * Makerules (do-test-clean): Remove .test-result files.
2975 (common-mostlyclean): Likewise.
2976 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2977 * scripts/evaluate-test.sh: New file.
2978
6e89caf1
JM
29792014-02-14 Joseph Myers <joseph@codesourcery.com>
2980
7f98f180
JM
2981 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2982 separate $(objpfx)tst-fopenloc-cmp.out and
2983 $(objpfx)tst-fopenloc-mem.out targets.
2984 (tests): Update dependencies.
2985 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2986 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2987 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2988 (tst-rxspencer-no-utf8-ARGS): New variable.
2989 (tst-rxspencer-no-utf8-ENV): Likewise.
2990 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2991 instead of $(objpfx)tst-rxspencer-mem.
2992 ($(objpfx)tst-rxspencer-mem): Change target to
2993 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2994 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2995 * posix/tst-rxspencer-no-utf8.c: New file.
2996
6e89caf1
JM
2997 * elf/Makefile ($(objpfx)order.out): Remove rule.
2998 [$(run-built-tests) = yes] (tests): Depend on
2999 $(objpfx)order-cmp.out.
3000 ($(objpfx)order-cmp.out): New rule.
3001 [$(run-built-tests) = yes] (tests): Depend on
3002 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3003 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3004 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3005 $(objpfx)tst-array5-static-cmp.out.
3006 ($(objpfx)tst-array1.out): Remove rule.
3007 ($(objpfx)tst-array1-cmp.out): New rule.
3008 ($(objpfx)tst-array1-static.out): Remove rule.
3009 ($(objpfx)tst-array1-static-cmp.out): New rule.
3010 ($(objpfx)tst-array2.out): Remove rule.
3011 ($(objpfx)tst-array2-cmp.out): New rule.
3012 ($(objpfx)tst-array3.out): Remove rule.
3013 ($(objpfx)tst-array3-cmp.out): New rule.
3014 ($(objpfx)tst-array4.out): Remove rule.
3015 ($(objpfx)tst-array4-cmp.out): New rule.
3016 ($(objpfx)tst-array5.out): Remove rule.
3017 ($(objpfx)tst-array5-cmp.out): New rule.
3018 ($(objpfx)tst-array5-static.out): Remove rule.
3019 ($(objpfx)tst-array5-static-cmp.out): New rule.
3020 [$(run-built-tests) = yes] (tests): Depend on
3021 $(objpfx)order2-cmp.out.
3022 ($(objpfx)order2.out): Remove rule.
3023 ($(objpfx)order2-cmp.out): New rule.
3024 ($(objpfx)tst-initorder.out): Remove rule.
3025 [$(run-built-tests) = yes] (tests): Depend on
3026 $(objpfx)tst-initorder-cmp.out.
3027 ($(objpfx)tst-initorder-cmp.out): New rule.
3028 ($(objpfx)tst-initorder2.out): Remove rule.
3029 [$(run-built-tests) = yes] (tests): Depend on
3030 $(objpfx)tst-initorder2-cmp.out.
3031 ($(objpfx)tst-initorder2-cmp.out): New rule.
3032 [$(run-built-tests) = yes] (tests): Depend on
3033 $(objpfx)tst-unused-dep-cmp.out.
3034 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3035 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3036 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3037 on $(objpfx)tst-setvbuf1-cmp.out.
3038 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3039 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3040 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3041 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3042 ($(objpfx)tst-svc.out): Remove rule.
3043 ($(objpfx)tst-svc-cmp.out): New rule.
3044
ed9a38e2
JM
30452014-02-13 Joseph Myers <joseph@codesourcery.com>
3046
3047 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3048 * ctype/ctype.h [__USE_MISC]: Likewise.
3049 * dirent/dirent.h [__USE_MISC]: Likewise.
3050 * grp/grp.h [__USE_MISC]: Likewise.
3051 * io/fcntl.h [__USE_MISC]: Likewise.
3052 * io/sys/stat.h [__USE_MISC]: Likewise.
3053 * libio/stdio.h [__USE_MISC]: Likewise.
3054 * posix/unistd.h [__USE_MISC]: Likewise.
3055 * pwd/pwd.h [__USE_MISC]: Likewise.
3056 * stdlib.h [__USE_MISC]: Likewise.
3057 * string/bits/string2.h [__USE_MISC]: Likewise.
3058 * string/string.h [__USE_MISC]: Likewise.
3059 * time/time.h [__USE_MISC]: Likewise.
3060
d6680619
AS
30612014-02-13 Andreas Schwab <schwab@suse.de>
3062
3063 [BZ #16574]
3064 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3065 second answer buffer if it was separately allocated.
3066
ace614b8
JM
30672014-02-12 Joseph Myers <joseph@codesourcery.com>
3068
743151ae
JM
3069 * sysdeps/mips/math-tests.h: Include <features.h>.
3070 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3071 (ROUNDING_TESTS_long_double): Do not define.
3072 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3073 (EXCEPTION_TESTS_long_double): Likewise.
3074 * sysdeps/mips/mips64/libm-test-ulps: Update.
3075
498afc54
JM
3076 * include/features.h (__USE_BSD): Remove macro definitions.
3077 (__USE_SVID): Likewise.
3078 (_BSD_SOURCE): Likewise.
3079 (_SVID_SOURCE): Likewise.
3080 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3081 from definition of _DEFAULT_SOURCE.
3082 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3083 [_DEFAULT_SOURCE].
3084 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3085 * bits/mman.h [__USE_BSD]: Likewise.
3086 * bits/termios.h [__USE_BSD]: Likewise.
3087 * bits/waitstatus.h [__USE_BSD]: Likewise.
3088 * ctype/ctype.h [__USE_SVID]: Likewise.
3089 * dirent/dirent.h [__USE_BSD]: Likewise.
3090 * grp/grp.h [__USE_SVID]: Likewise.
3091 [__USE_BSD]: Likewise.
3092 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3093 * io/fcntl.h [__USE_BSD]: Likewise.
3094 * io/ftw.h [__USE_BSD]: Likewise.
3095 * io/sys/stat.h [__USE_BSD]: Likewise.
3096 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3097 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3098 * libio/stdio.h [__USE_SVID]: Likewise.
3099 [__USE_BSD]: Likewise.
3100 * math/math.h [__USE_SVID]: Likewise.
3101 [__USE_BSD]: Likewise.
3102 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3103 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3104 * misc/search.h [__USE_SVID]: Likewise.
3105 * misc/sys/mman.h [__USE_BSD]: Likewise.
3106 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3107 * misc/sys/uio.h [__USE_BSD]: Likewise.
3108 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3109 * posix/glob.h [__USE_BSD]: Likewise.
3110 * posix/regex.h [__USE_BSD]: Likewise.
3111 * posix/sys/types.h [__USE_BSD]: Likewise.
3112 [__USE_SVID]: Likewise.
3113 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3114 * posix/sys/wait.h [__USE_BSD]: Likewise.
3115 [__USE_SVID]: Likewise.
3116 * posix/unistd.h [__USE_BSD]: Likewise.
3117 [__USE_SVID]: Likewise.
3118 * pwd/pwd.h [__USE_SVID]: Likewise.
3119 * resolv/netdb.h [__USE_BSD]: Likewise.
3120 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3121 * signal/signal.h [__USE_BSD]: Likewise.
3122 [__USE_SVID]: Likewise.
3123 * socket/sys/socket.h [__USE_BSD]: Likewise.
3124 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3125 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3126 [__USE_SVID]: Likewise.
3127 * string/bits/string2.h [__USE_BSD]: Likewise.
3128 [__USE_SVID]: Likewise.
3129 * string/bits/string3.h [__USE_BSD]: Likewise.
3130 * string/endian.h [__USE_BSD]: Likewise.
3131 * string/string.h [__USE_SVID]: Likewise.
3132 [__USE_BSD]: Likewise.
3133 * string/strings.h [__USE_BSD]: Likewise.
3134 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3135 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3136 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3137 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3138 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3139 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3140 Likewise.
3141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3142 Likewise.
3143 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3144 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3145 Likewise.
3146 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3147 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3148 Likewise.
3149 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3150 Likewise.
3151 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3152 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3153 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3154 Likewise.
3155 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3156 Likewise.
3157 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3158 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3159 * termios/termios.h [__USE_BSD]: Likewise.
3160 * time/sys/time.h [__USE_BSD]: Likewise.
3161 * time/time.h [__USE_BSD]: Likewise.
3162 [__USE_SVID]: Likewise.
3163
dd7b064c
JM
3164 * Makefile (subdir_targets): Remove subdir_lint.out.
3165
a2c4c199
JM
3166 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3167 (do-tst-printf): Likewise.
3168 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3169 $(objpfx)tst-printf.out.
3170
8756f740
JM
3171 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3172
1b6dd3f1
JM
3173 * Makerules (check-abi-%): Change target to
3174 $(objpfx)check-abi-%.out.
3175 (check-abi target): Update dependencies.
3176 (check-abi-pattern variable): Redirect output of diff to $@.
3177 (check-abi variable): Likewise.
3178 * elf/Makefile (check-abi): Update dependencies.
3179
ace614b8
JM
3180 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3181 unused.
3182 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3183 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3184 subnormal range.
3185 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3186 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3187 value has largest subnormal exponent.
3188 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3189 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3190 * sysdeps/aarch64/soft-fp/sfp-machine.h
3191 (_FP_TININESS_AFTER_ROUNDING): New macro.
3192 * sysdeps/alpha/soft-fp/sfp-machine.h
3193 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3194 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3195 Likewise.
3196 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3198 * sysdeps/mips/soft-fp/sfp-machine.h
3199 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3200 * sysdeps/powerpc/soft-fp/sfp-machine.h
3201 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3202 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3203 Likewise.
3204 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3205 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3206 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3207 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3208 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3209 Likewise.
3210
fbfdf9cb
DAS
32112014-02-12 Dylan Alex Simon <dylan@dylex.net>
3212
3213 [BZ #16545]
3214 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3215 model 1.
3216
68b7efaa
RH
32172014-02-12 Richard Henderson <rth@redhat.com>
3218
c70a4b1d 3219 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3220 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3221 * sysdeps/unix/sysv/linux/alpha: Move directory from
3222 ports/sysdeps/unix/sysv/linux/alpha.
3223 * README: Update listing for alpha-*-linux-gnu.
3224
cb4a2928
JM
32252014-02-11 Joseph Myers <joseph@codesourcery.com>
3226
c941736c
JM
3227 * include/features.h: Update comment documenting feature test
3228 macros.
3229 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3230 _DEFAULT_SOURCE.
3231 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3232 (_SVID_SOURCE): Likewise.
3233 (_DEFAULT_SOURCE): Update description of default features.
3234 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3235 with _GNU_SOURCE.
3236 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3237 (S_ISVTX): Likewise.
3238 * manual/math.texi (Mathematical Constants): Likewise.
3239 * manual/signal.texi (Interrupted Primitives): Likewise.
3240 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3241 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3242 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3243 Don't refer to _SVID_SOURCE in warning text.
3244
e8d8d7ec
JM
3245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3246
cb4a2928
JM
3247 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3248 already defined.
3249 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3250 * sysdeps/mips/dl-lookup.c: Remove.
3251 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3252
7e6424e3
AK
32532014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3254
3255 [BZ #16447]
3256 * math/auto-libm-test-in: Add testcase for expl.
3257 * math/auto-libm-test-out: Regenerate.
3258 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3259 calculation of unsafe.
3260 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3261
75eff3fe
MS
32622014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3263
3264 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3265 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3266 ports/sysdeps/unix/sysv/linux/aarch64.
3267 * README: Update listing for aarch64*-*-linux-gnu.
3268
d35f1e80
WN
32692014-02-11 Will Newton <will.newton@linaro.org>
3270
3271 * manual/probes.texi (Mathematical Function Probes): Use
3272 "triggered" instead of "hit".
3273
7b3436d4
WN
32742014-02-11 Will Newton <will.newton@linaro.org>
3275
3276 * manual/probes.texi (Internal Probes): Add documentation
3277 of setjmp, longjmp and longjmp_target probes.
3278
b4f12ca3
WN
32792014-02-11 Will Newton <will.newton@linaro.org>
3280
3281 * include/stap-probe.h: Add comment about probe argument
3282 format.
3283
c13a72b7
WN
32842014-02-11 Will Newton <will.newton@linaro.org>
3285
3286 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3287 definition. (tr_where, tr_freehook, tr_mallochook,
3288 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3289
195b8165
DM
32902014-02-11 David S. Miller <davem@davemloft.net>
3291
3292 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3293 processing int_tests.
3294
2ad7600b
JM
32952014-02-10 Joseph Myers <joseph@codesourcery.com>
3296
3297 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3298 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3299 * sysdeps/unix/sysv/linux/mips: Move directory from
3300 ports/sysdeps/unix/sysv/linux/mips.
3301 * README: Update listing for mips-*-linux-gnu and
3302 mips64-*-linux-gnu.
3303
73588a72
AS
33042014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3305
3306 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3307 * sysdeps/unix/sysv/linux/m68k: Move directory from
3308 ports/sysdeps/unix/sysv/linux/m68k.
3309 * README: Update listing for m68k-*-linux-gnu.
3310
4372980f
CM
33112014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3312
3313 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3314 * sysdeps/unix/sysv/linux/generic: Move directory from
3315 ports/sysdeps/unix/sysv/linux/generic.
3316 * sysdeps/unix/sysv/linux/tile: Move directory from
3317 ports/sysdeps/unix/sysv/linux/tile.
3318 * README: Update listing for tile*-*-linux-gnu.
3319
a1ffb40e
OB
33202014-02-10 Ondřej Bílka <neleai@seznam.cz>
3321
3322 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3323 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3324 * catgets/open_catalog.c (__open_catalog): Likewise.
3325 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3326 * debug/confstr_chk.c: Likewise.
3327 * debug/fread_chk.c (__fread_chk): Likewise.
3328 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3329 * debug/getgroups_chk.c: Likewise.
3330 * debug/mbsnrtowcs_chk.c: Likewise.
3331 * debug/mbsrtowcs_chk.c: Likewise.
3332 * debug/mbstowcs_chk.c: Likewise.
3333 * debug/memcpy_chk.c: Likewise.
3334 * debug/memmove_chk.c: Likewise.
3335 * debug/mempcpy_chk.c: Likewise.
3336 * debug/memset_chk.c: Likewise.
3337 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3338 * debug/strcat_chk.c (__strcat_chk): Likewise.
3339 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3340 * debug/strncat_chk.c (__strncat_chk): Likewise.
3341 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3342 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3343 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3344 * debug/wcpncpy_chk.c: Likewise.
3345 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3346 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3347 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3348 * debug/wcsncpy_chk.c: Likewise.
3349 * debug/wcsnrtombs_chk.c: Likewise.
3350 * debug/wcsrtombs_chk.c: Likewise.
3351 * debug/wcstombs_chk.c: Likewise.
3352 * debug/wmemcpy_chk.c: Likewise.
3353 * debug/wmemmove_chk.c: Likewise.
3354 * debug/wmempcpy_chk.c: Likewise.
3355 * debug/wmemset_chk.c: Likewise.
3356 * dirent/scandirat.c (SCANDIRAT): Likewise.
3357 * dlfcn/dladdr1.c (dladdr1): Likewise.
3358 * dlfcn/dladdr.c (dladdr): Likewise.
3359 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3360 * dlfcn/dlerror.c (__dlerror): Likewise.
3361 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3362 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3363 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3364 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3365 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3366 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3367 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3368 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3369 Likewise.
3370 * elf/dl-conflict.c: Likewise.
3371 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3372 * elf/dl-dst.h: Likewise.
3373 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3374 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3375 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3376 * elf/dl-init.c (call_init, _dl_init): Likewise.
3377 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3378 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3379 _dl_map_object_from_fd, open_verify, open_path,
3380 _dl_map_object): Likewise.
3381 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3382 Likewise.
3383 * elf/dl-minimal.c (__libc_memalign): Likewise.
3384 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3385 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3386 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3387 * elf/dl-sym.c (do_sym): Likewise.
3388 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3389 _dl_tls_get_addr_soft): Likewise.
3390 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3391 * elf/dl-writev.h (_dl_writev): Likewise.
3392 * elf/ldconfig.c (search_dir): Likewise.
3393 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3394 dl_main): Likewise.
3395 * elf/setup-vdso.h (setup_vdso): Likewise.
3396 * grp/compat-initgroups.c (compat_call): Likewise.
3397 * grp/fgetgrent.c (fgetgrent): Likewise.
3398 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3399 * grp/putgrent.c (putgrent): Likewise.
3400 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3401 Likewise.
3402 * hurd/hurdinit.c: Likewise.
3403 * iconvdata/8bit-gap.c (struct): Likewise.
3404 * iconvdata/ansi_x3.110.c : Likewise.
3405 * iconvdata/big5.c : Likewise.
3406 * iconvdata/big5hkscs.c : Likewise.
3407 * iconvdata/cp1255.c: Likewise.
3408 * iconvdata/cp1258.c : Likewise.
3409 * iconvdata/cp932.c : Likewise.
3410 * iconvdata/euc-cn.c: Likewise.
3411 * iconvdata/euc-jisx0213.c : Likewise.
3412 * iconvdata/euc-jp.c: Likewise.
3413 * iconvdata/euc-jp-ms.c : Likewise.
3414 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3415 * iconvdata/gb18030.c : Likewise.
3416 * iconvdata/gbbig5.c (const): Likewise.
3417 * iconvdata/gbgbk.c: Likewise.
3418 * iconvdata/gbk.c : Likewise.
3419 * iconvdata/ibm1364.c : Likewise.
3420 * iconvdata/ibm930.c : Likewise.
3421 * iconvdata/ibm932.c: Likewise.
3422 * iconvdata/ibm933.c : Likewise.
3423 * iconvdata/ibm935.c : Likewise.
3424 * iconvdata/ibm937.c : Likewise.
3425 * iconvdata/ibm939.c : Likewise.
3426 * iconvdata/ibm943.c: Likewise.
3427 * iconvdata/iso_11548-1.c: Likewise.
3428 * iconvdata/iso-2022-cn.c : Likewise.
3429 * iconvdata/iso-2022-cn-ext.c : Likewise.
3430 * iconvdata/iso-2022-jp-3.c: Likewise.
3431 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3432 * iconvdata/iso-2022-kr.c : Likewise.
3433 * iconvdata/iso646.c (gconv_end): Likewise.
3434 * iconvdata/iso_6937-2.c : Likewise.
3435 * iconvdata/iso_6937.c : Likewise.
3436 * iconvdata/iso8859-1.c: Likewise.
3437 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3438 * iconvdata/shift_jisx0213.c : Likewise.
3439 * iconvdata/sjis.c : Likewise.
3440 * iconvdata/t.61.c : Likewise.
3441 * iconvdata/tcvn5712-1.c : Likewise.
3442 * iconvdata/tscii.c: Likewise.
3443 * iconvdata/uhc.c : Likewise.
3444 * iconvdata/unicode.c (gconv_end): Likewise.
3445 * iconvdata/utf-16.c (gconv_end): Likewise.
3446 * iconvdata/utf-32.c (gconv_end): Likewise.
3447 * iconvdata/utf-7.c (base64): Likewise.
3448 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3449 * iconv/gconv_close.c (__gconv_close): Likewise.
3450 * iconv/gconv_open.c (__gconv_open): Likewise.
3451 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3452 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3453 internal_ucs4le_loop_single, ucs4le_internal_loop,
3454 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3455 * iconv/iconv.c (iconv): Likewise.
3456 * iconv/iconv_close.c: Likewise.
3457 * iconv/loop.c (SINGLE): Likewise.
3458 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3459 * include/atomic.h: Likewise.
3460 * inet/inet6_option.c (option_alloc): Likewise.
3461 * intl/bindtextdom.c (set_binding_values): Likewise.
3462 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3463 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3464 * intl/localealias.c (read_alias_file): Likewise.
3465 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3466 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3467 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3468 * libio/fmemopen.c (fmemopen): Likewise.
3469 * libio/iofgets.c (_IO_fgets): Likewise.
3470 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3471 * libio/iofgetws.c (fgetws): Likewise.
3472 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3473 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3474 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3475 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3476 * locale/findlocale.c (_nl_find_locale): Likewise.
3477 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3478 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3479 Likewise.
3480 * locale/setlocale.c (setlocale): Likewise.
3481 * login/programs/pt_chown.c (main): Likewise.
3482 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3483 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3484 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3485 mmap, mmap64, mremap, munmap): Likewise.
3486 * math/e_exp2l.c: Likewise.
3487 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3488 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3489 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3490 * math/s_catan.c (__catan): Likewise.
3491 * math/s_catanf.c (__catanf): Likewise.
3492 * math/s_catanh.c (__catanh): Likewise.
3493 * math/s_catanhf.c (__catanhf): Likewise.
3494 * math/s_catanhl.c (__catanhl): Likewise.
3495 * math/s_catanl.c (__catanl): Likewise.
3496 * math/s_ccosh.c (__ccosh): Likewise.
3497 * math/s_ccoshf.c (__ccoshf): Likewise.
3498 * math/s_ccoshl.c (__ccoshl): Likewise.
3499 * math/s_cexp.c (__cexp): Likewise.
3500 * math/s_cexpf.c (__cexpf): Likewise.
3501 * math/s_cexpl.c (__cexpl): Likewise.
3502 * math/s_clog10.c (__clog10): Likewise.
3503 * math/s_clog10f.c (__clog10f): Likewise.
3504 * math/s_clog10l.c (__clog10l): Likewise.
3505 * math/s_clog.c (__clog): Likewise.
3506 * math/s_clogf.c (__clogf): Likewise.
3507 * math/s_clogl.c (__clogl): Likewise.
3508 * math/s_csin.c (__csin): Likewise.
3509 * math/s_csinf.c (__csinf): Likewise.
3510 * math/s_csinh.c (__csinh): Likewise.
3511 * math/s_csinhf.c (__csinhf): Likewise.
3512 * math/s_csinhl.c (__csinhl): Likewise.
3513 * math/s_csinl.c (__csinl): Likewise.
3514 * math/s_csqrt.c (__csqrt): Likewise.
3515 * math/s_csqrtf.c (__csqrtf): Likewise.
3516 * math/s_csqrtl.c (__csqrtl): Likewise.
3517 * math/s_ctan.c (__ctan): Likewise.
3518 * math/s_ctanf.c (__ctanf): Likewise.
3519 * math/s_ctanh.c (__ctanh): Likewise.
3520 * math/s_ctanhf.c (__ctanhf): Likewise.
3521 * math/s_ctanhl.c (__ctanhl): Likewise.
3522 * math/s_ctanl.c (__ctanl): Likewise.
3523 * math/w_pow.c: Likewise.
3524 * math/w_powf.c: Likewise.
3525 * math/w_powl.c: Likewise.
3526 * math/w_scalb.c (sysv_scalb): Likewise.
3527 * math/w_scalbf.c (sysv_scalbf): Likewise.
3528 * math/w_scalbl.c (sysv_scalbl): Likewise.
3529 * misc/error.c (error_tail): Likewise.
3530 * misc/pselect.c (__pselect): Likewise.
3531 * nis/nis_callback.c (__nis_create_callback): Likewise.
3532 * nis/nis_call.c (__nisfind_server): Likewise.
3533 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3534 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3535 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3536 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3537 * nis/nis_lookup.c (nis_lookup): Likewise.
3538 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3539 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3540 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3541 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3542 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3543 internal_getgrgid_r): Likewise.
3544 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3545 Likewise.
3546 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3547 internal_getpwuid_r): Likewise.
3548 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3549 internal_getspnam_r): Likewise.
3550 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3551 _nss_nis_getaliasbyname_r): Likewise.
3552 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3553 _nss_nis_getntohost_r): Likewise.
3554 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3555 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3556 Likewise.
3557 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3558 internal_nis_gethostent_r, internal_gethostbyname2_r,
3559 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3560 _nss_nis_gethostbyname4_r): Likewise.
3561 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3562 initgroups_netid): Likewise.
3563 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3564 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3565 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3566 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3567 _nss_nis_getprotobynumber_r): Likewise.
3568 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3569 _nss_nis_getsecretkey): Likewise.
3570 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3571 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3572 Likewise.
3573 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3574 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3575 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3576 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3577 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3578 _nss_nis_getspnam_r): Likewise.
3579 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3580 Likewise.
3581 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3582 _nss_nisplus_getntohost_r): Likewise.
3583 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3584 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3585 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3586 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3587 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3588 Likewise.
3589 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3590 _nss_nisplus_getnetbyaddr_r): Likewise.
3591 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3592 _nss_nisplus_getprotobynumber_r): Likewise.
3593 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3594 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3595 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3596 Likewise.
3597 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3598 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3599 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3600 _nss_nisplus_getspnam_r): Likewise.
3601 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3602 * nscd/aicache.c (addhstaiX): Likewise.
3603 * nscd/cache.c (cache_search, prune_cache): Likewise.
3604 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3605 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3606 * nscd/grpcache.c (addgrbyX): Likewise.
3607 * nscd/hstcache.c (addhstbyX): Likewise.
3608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3609 * nscd/mem.c (gc, mempool_alloc): Likewise.
3610 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3611 Likewise.
3612 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3613 Likewise.
3614 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3615 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3616 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3617 Likewise.
3618 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3619 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3620 * nscd/nscd_helper.c (__readvall, open_socket,
3621 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3622 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3623 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3624 * nscd/pwdcache.c (addpwbyX): Likewise.
3625 * nscd/selinux.c (preserve_capabilities): Likewise.
3626 * nscd/servicescache.c (addservbyX): Likewise.
3627 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3628 * posix/fnmatch.c (fnmatch): Likewise.
3629 * posix/getopt.c (_getopt_internal_r): Likewise.
3630 * posix/glob.c (glob, glob_in_dir): Likewise.
3631 * posix/wordexp.c (exec_comm_child): Likewise.
3632 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3633 gaih_getanswer_slice): Likewise.
3634 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3635 * resolv/res_init.c: Likewise.
3636 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3637 * resolv/res_query.c (__libc_res_nquery): Likewise.
3638 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3639 Likewise.
3640 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3641 * stdio-common/perror.c (perror): Likewise.
3642 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3643 * stdio-common/tmpnam.c (tmpnam): Likewise.
3644 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3645 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3646 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3647 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3648 * stdlib/putenv.c (putenv): Likewise.
3649 * stdlib/setenv.c (__add_to_environ): Likewise.
3650 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3651 * stdlib/strtol_l.c (INTERNAL): Likewise.
3652 * string/memmem.c (memmem): Likewise.
3653 * string/strerror.c (strerror): Likewise.
3654 * string/strnlen.c (__strnlen): Likewise.
3655 * string/test-memmem.c (simple_memmem): Likewise.
3656 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3657 * sunrpc/pm_getport.c (__get_socket): Likewise.
3658 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3659 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3660 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3661 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3662 Likewise.
3663 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3664 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3665 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3666 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3667 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3668 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3669 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3670 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3671 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3672 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3673 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3674 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3676 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3677 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3678 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3679 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3680 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3681 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3682 Likewise.
3683 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3684 Likewise.
3685 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3686 Likewise.
3687 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3688 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3689 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3690 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3691 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3692 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3693 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3695 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3696 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3697 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3699 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3700 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3702 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3703 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3704 Likewise.
3705 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3706 Likewise.
3707 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3708 Likewise.
3709 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3710 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3711 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3712 Likewise.
3713 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3714 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3715 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3716 * sysdeps/posix/sleep.c: Likewise.
3717 * sysdeps/posix/tempname.c: Likewise.
3718 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3719 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3720 Likewise.
3721 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3722 elf_machine_rela): Likewise.
3723 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3724 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3725 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3726 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3727 Likewise.
3728 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3729 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3730 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3731 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3732 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3733 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3734 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3735 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3736 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3737 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3738 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3739 elf_machine_lazy_rel): Likewise.
3740 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3741 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3742 elf_machine_lazy_rel): Likewise.
3743 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3744 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3745 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3746 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3747 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3748 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3749 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3750 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3751 Likewise.
3752 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3753 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3754 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3755 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3756 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3757 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3758 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3759 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3760 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3761 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3762 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3763 Likewise.
3764 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3765 (__posix_fallocate64_l64): Likewise.
3766 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3767 (posix_fallocate): Likewise.
3768 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3769 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3770 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3771 getifaddrs_internal): Likewise.
3772 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3773 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3774 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3775 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3776 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3777 (__posix_fallocate64_l64): Likewise.
3778 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3779 Likewise.
3780 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3781 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3782 Likewise.
3783 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3784 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3785 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3786 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3787 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3788 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3789 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3790 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3791 Likewise.
3792 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3793 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3794 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3795 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3796 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3797 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3798 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3799 Likewise.
3800 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3801 (posix_fallocate): Likewise.
3802 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3803 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3804 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3805 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3806 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3807 Likewise.
3808 * time/asctime.c (asctime_internal): Likewise.
3809 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3810 * time/tzset.c (__tzset_parse_tz): Likewise.
3811 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3812 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3813 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3814 * wcsmbs/wcsmbsload.h: Likewise.
3815
f3d338c9
OB
38162014-02-10 Ondřej Bílka <neleai@seznam.cz>
3817
3818 [BZ #15894]
3819 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3820
bdfe308a
OB
38212014-02-10 Ondřej Bílka <neleai@seznam.cz>
3822
3823 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3824 arena_get2): Remove THREAD_STATS conditionals.
3825 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3826 __malloc_stats, int): Likewise.
3827
d674667c
MF
38282014-02-08 Mike Frysinger <vapier@gentoo.org>
3829
3830 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3831 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3832
6349768c
MF
38332014-02-08 Mike Frysinger <vapier@gentoo.org>
3834
3835 * manual/setjmp.texi: Fix typos/grammar errors.
3836
0b7c7473
MF
38372014-02-08 Mike Frysinger <vapier@gentoo.org>
3838
3839 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3840 Only return early when n is <= 0. Delete unused return statement.
3841
ac8cc9e3
MF
38422014-02-08 Mike Frysinger <vapier@gentoo.org>
3843
3844 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3845 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3846 * debug/tst-longjmp_chk3.c: New file.
3847
c5bb8e23
MF
38482014-02-08 Mike Frysinger <vapier@gentoo.org>
3849
3850 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3851 (test_main): Replace code with set_fortify_handler call.
3852 * debug/test-strcpy_chk.c: Likewise.
3853 * debug/tst-chk1.c: Likewise.
3854 * debug/tst-longjmp_chk.c: Likewise.
3855 * test-skeleton.c: Include fcntl.h & paths.h
3856 (set_fortify_handler): Define.
3857
10444e42
MF
38582014-02-08 Mike Frysinger <vapier@gentoo.org>
3859
3860 * debug/tst-longjmp_chk.c: Add header comment and include
3861 ../test-skeleton.c.
3862 (do_test): Mark static.
3863 (TEST_FUNCTION): Define.
3864
1e805e8d
MF
38652014-02-08 Mike Frysinger <vapier@gentoo.org>
3866
3867 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3868 (IP_PMTUDISC_INTERFACE): Likewise.
3869 (IP_MULTICAST_IF): Likewise.
3870 (IP_MULTICAST_TTL): Likewise.
3871 (IP_MULTICAST_LOOP): Likewise.
3872 (IP_ADD_MEMBERSHIP): Likewise.
3873 (IP_DROP_MEMBERSHIP): Likewise.
3874 (IP_UNBLOCK_SOURCE): Likewise.
3875 (IP_BLOCK_SOURCE): Likewise.
3876 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3877 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3878 (IP_MSFILTER): Likewise.
3879 (MCAST_JOIN_GROUP): Likewise.
3880 (MCAST_BLOCK_SOURCE): Likewise.
3881 (MCAST_UNBLOCK_SOURCE): Likewise.
3882 (MCAST_LEAVE_GROUP): Likewise.
3883 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3884 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3885 (MCAST_MSFILTER): Likewise.
3886 (IP_MULTICAST_ALL): Likewise.
3887 (IP_UNICAST_IF): Likewise.
3888
73f79bb7
MF
38892014-02-08 Mike Frysinger <vapier@gentoo.org>
3890
3891 * timezone/Makefile: Delete $(have-ksh) check.
3892 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3893 * timezone/tzselect.ksh: Add +x mode bits.
3894
8da79b60
MF
38952014-02-08 Mike Frysinger <vapier@gentoo.org>
3896
3897 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3898 (ANON_INODE_FS_MAGIC): Likewise.
3899 (BDEVFS_MAGIC): Likewise.
3900 (BINFMTFS_MAGIC): Likewise.
3901 (BTRFS_TEST_MAGIC): Likewise.
3902 (CRAMFS_MAGIC_WEND): Likewise.
3903 (DEBUGFS_MAGIC): Likewise.
3904 (ECRYPTFS_SUPER_MAGIC): Likewise.
3905 (EXT3_SUPER_MAGIC): Likewise.
3906 (EXT4_SUPER_MAGIC): Likewise.
3907 (FUTEXFS_SUPER_MAGIC): Likewise.
3908 (HOSTFS_SUPER_MAGIC): Likewise.
3909 (HUGETLBFS_MAGIC): Likewise.
3910 (MINIX3_SUPER_MAGIC): Likewise.
3911 (MTD_INODE_FS_MAGIC): Likewise.
3912 (NILFS_SUPER_MAGIC): Likewise.
3913 (OPENPROM_SUPER_MAGIC): Likewise.
3914 (PIPEFS_MAGIC): Likewise.
3915 (PSTOREFS_MAGIC): Likewise.
3916 (QNX6_SUPER_MAGIC): Likewise.
3917 (RAMFS_MAGIC): Likewise.
3918 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3919 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3920 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3921 (SECURITYFS_MAGIC): Likewise.
3922 (SELINUX_MAGIC): Likewise.
3923 (SMACK_MAGIC): Likewise.
3924 (SOCKFS_MAGIC): Likewise.
3925 (SQUASHFS_MAGIC): Likewise.
3926 (STACK_END_MAGIC): Likewise.
3927 (TMPFS_MAGIC): Likewise.
3928 (USBDEVICE_SUPER_MAGIC): Likewise.
3929 (V9FS_MAGIC): Likewise.
3930 (XENFS_SUPER_MAGIC): Likewise.
3931 (CRAMFS_MAGIC): Fix typo in comment.
3932 (EXT2_SUPER_MAGIC): Update comment.
3933 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3934
464263cc
JM
39352014-02-08 Joseph Myers <joseph@codesourcery.com>
3936
c6bfe5c4
JM
3937 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3938 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3939 * sysdeps/unix/sysv/linux/arm: Move directory from
3940 ports/sysdeps/unix/sysv/linux/arm.
3941 * README: Update listing for arm-*-linux-gnueabi.
3942
464263cc
JM
3943 * README: Remove mention of am33.
3944
32749f6c
RM
39452014-02-07 Roland McGrath <roland@hack.frob.com>
3946
3947 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3948 than the comma operator, to avoid "rhs of comma has no effect"
3949 compiler warnings.
3950 (__sigfillset, __sigandset, __sigorset): Likewise.
3951 * include/signal.h (__sigemptyset): Likewise.
3952 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3953
d5b396c1
AM
39542014-02-07 Allan McRae <allan@archlinux.org>
3955
3956 * version.h (RELEASE): Set to "development".
3957 (VERSION): Set to "2.19.90"
3958 * NEWS: Add 2.20 section.
3959
3bfff2ed
CD
39602014-02-06 Carlos O'Donell <carlos@redhat.com>
3961
3962 [BZ #16529]
3963 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3964
ee7cc385
SP
39652014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3966
3967 * manual/contrib.texi: Update entry for Carlos O'Donell,
3968 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3969
f877c4f2
CD
39702014-02-05 Carlos O'Donell <carlos@rehdat.com>
3971
27e839f6
CD
3972 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3973
f877c4f2
CD
3974 * sysdeps/unix/sysv/linux/kernel-features.h
3975 [__LINUX_KERNEL_VERSION >= 0x020621]
3976 (__ASSUME_PROC_PID_TASK_COMM): Define.
3977
68159946
SP
39782014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3979
ba17cdbd
SP
3980 [BZ #16398]
3981 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3982 conversion when destination buffer does not have enough space.
3983 * libio/tst-ftell-partial-wide.c: New test case.
3984 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3985
68159946
SP
3986 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3987 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3988 Leonard and Allan McRae.
3989
2b528732
DM
39902014-02-04 David S. Miller <davem@davemloft.net>
3991
3992 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3993 32-bit.
3994
0ff82463
AZ
39952014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3996
c01603f7
AZ
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3998 file
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4000 New file
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4002 file.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4004 file.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4006 New file.
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4008 file.
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4010 file.
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4012 New file.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4014 New file.
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4016 New file.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4018 New file.
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4020 New file.
4021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4022 New file.
4023
40242014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4025
0ff82463
AZ
4026 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4027 * shlib-versions: Likewise.
4028
1695c773
AZ
40292014-02-04 Roland McGrath <roland@hack.frob.com>
4030 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4031
4032 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4033 (abilist-pattern): New variable, set to %-le.abilist.
4034
4035 * Makerules (abilist-pattern): New variable.
4036 (vpath): Use $(abilist-pattern) in place of %.abilist.
4037 (check-abi-% pattern rule): Likewise.
4038 (check-abi, update-abi): Likewise.
4039
6c0ce4b4
EW
40402014-02-04 Eric Wong <normalperson@yhbt.net>
4041
4042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4043
dc98b8f5
EW
40442014-02-04 Eric Wong <normalperson@yhbt.net>
4045
4046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4047
481e3524
CD
40482014-02-03 Carlos O'Donell <carlos@redhat.com>
4049
4050 * manual/startup.texi: Add next, previous, and top entries for
4051 the `Program Arguments' and `Environment Variables' nodes.
4052
375592d3
AO
40532014-02-03 Alexandre Oliva <aoliva@redhat.com>
4054
4055 * manual/macros.texi: Add comments before MTASC-safety macros.
4056
f54838ba
AO
4057 * manual/users.texi: Document MTASC-safety properties.
4058
909e12ad
AO
4059 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4060 pthread_getspecific, pthread_setspecific): Format with
4061 @deftypefun, and add @safety note.
4062 * manual/signal.texi: Move comments that analyze the above
4063 functions to their home place.
4064
fd3daba4
AM
40652014-02-03 Allan McRae <allan@archlinux.org>
4066
4067 * po/sl.po: Update Slovenian translation from translation project.
4068
597636d7
AO
40692014-02-02 Alexandre Oliva <aoliva@redhat.com>
4070
4071 * manual/time.texi (timegm): Add missing blank after @c.
4072 Reported by Joseph Myers <joseph@codesourcery.com>.
4073
ee196e3c
AO
40742014-02-01 Alexandre Oliva <aoliva@redhat.com>
4075
4076 * manual/check-safety.sh: New.
4077 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4078
f8d529d5
AO
4079 * manual/terminal.texi: Document MTASC-safety properties.
4080
de55fdf4
AO
4081 * manual/filesys.texi: Document MTASC-safety properties.
4082
c3299c08
AO
4083 * manual/errno.texi: Document MTASC-safety properties.
4084
06e90b14
AO
4085 * manual/intro.texi: Document safety identifiers and
4086 conditionals.
4087
1acd4371
AO
4088 * manual/string.texi (wcstok): Fix prototype.
4089 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4090
23e5b8cb
AO
4091 * manual/time.texi: Document MTASC-safety properties.
4092
11087373
AO
4093 * manual/string.texi: Document MTASC-safety properties.
4094
5da2c93d
AO
4095 * manual/threads.texi: Document MTASC-safety properties.
4096
171e9210
AO
4097 * manual/stdio.texi: Document MTASC-safety properties.
4098
d9e02532
AO
4099 * manual/syslog.texi: Document MTASC-safety properties.
4100
6af8bab7
AO
4101 * manual/sysinfo.texi: Document MTASC-safety properties.
4102
663b02d7
AO
4103 * manual/startup.texi: Document MTASC-safety properties.
4104
973f180b
AO
4105 * manual/socket.texi: Document MTASC-safety properties.
4106
8f3c25c8
AO
4107 * manual/signal.texi: Document MTASC-safety properties.
4108
542210fb
AO
41092014-01-31 Alexandre Oliva <aoliva@redhat.com>
4110
4111 * manual/setjmp.texi: Document MTASC-safety properties.
4112
433c45a2
AO
4113 * manual/search.texi: Document MTASC-safety properties.
4114
c8ce789c
AO
4115 * manual/resource.texi: Document MTASC-safety properties.
4116
19f5d29c
AO
4117 * manual/process.texi: Document MTASC-safety properties.
4118
e2dfb7f4
AO
4119 * manual/platform.texi: Document MTASC-safety properties.
4120
8c1413f5
AO
4121 * manual/pipe.texi: Document MTASC-safety properties.
4122
03483ada
AO
4123 * manual/pattern.texi: Document MTASC-safety properties.
4124
29e7e2df
AO
4125 * manual/message.texi: Document MTASC-safety properties.
4126
9f529d7c
AO
4127 [BZ #12751]
4128 * manual/memory.texi: Document MTASC-safety properties.
4129
27aaa791
AO
4130 * manual/math.texi: Document MTASC-safety properties.
4131
f2d58726
AO
4132 * manual/locale.texi: Document MTASC-safety properties.
4133
2cc3615c
AO
4134 * manual/llio.texi: Document MTASC-safety properties.
4135
d9f0ec97
AO
4136 * manual/libdl.texi: New.
4137
e7c4409a
AO
4138 * manual/lang.texi: Document MTASC-safety properties.
4139
27bdc63c
AO
4140 * manual/job.texi: Document MTASC-safety properties.
4141
a7b90ea9
AO
4142 * manual/getopt.texi: Document MTASC-safety properties.
4143
c49130e3
AO
4144 * manual/ctype.texi: Document MTASC-safety properties.
4145
0d23a5c1
MR
41462014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4147
4148 [BZ #16046]
4149 * csu/libc-tls.c (static_map): Remove variable.
4150 (__libc_setup_tls): Use main executable's link map for TLS data.
4151 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4152 casing for LM_ID_BASE and GL(dl_nns).
4153 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4154 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4155 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4156 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4157 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4158 member.
4159 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4160 l_phnum members.
4161
0037bb60
AO
41622014-01-30 Alexandre Oliva <aoliva@redhat.com>
4163
4164 * manual/debug.texi: Document MTASC-safety properties.
4165
409e00bd
L
41662014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4167
4168 [BZ #16510]
4169 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4170 of __x86_64__ when disabling x87 inline functions.
4171
86e60666
AO
41722014-01-29 Alexandre Oliva <aoliva@redhat.com>
4173
4174 * manual/charset.texi: Document MTASC-safety properties.
4175
76167637
AO
4176 * manual/crypt.texi: Document MTASC-safety properties.
4177
e567f2a0
AO
4178 * manual/conf.texi: Document MTASC-safety properties.
4179
b719dafd
AO
4180 * manual/arith.texi: Document MTASC-safety properties.
4181
4a16c662
AO
4182 * manual/argp.texi: Document MTASC-safety properties.
4183
0a57b83e
AO
4184 * manual/macros.texi: Introduce macros to document multi
4185 thread, asynchronous signal and asynchronous cancellation
4186 safety properties.
4187 * manual/intro.texi: Introduce the properties themselves.
4188
feab2397
KK
41892014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4190
4191 * sysdeps/sh/sh4/Makefile: New file.
4192
1c0d11bc
AS
41932014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4194
4195 * math/gen-libm-test.pl ($srcdir): New variable.
4196 ($auto_input): Use it.
4197
af37a8a3
SP
41982014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4199
d7b00f98
SP
4200 [BZ #16506]
4201 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4202 access beyond array bounds when parsing netgroups file.
4203
af37a8a3
SP
4204 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4205 the old buffer before realloc.
4206
0c00f062
AM
42072014-01-27 Allan McRae <allan@archlinux.org>
4208
4209 * po/fr.po: Update French translation from translation project.
4210
7d69a1b0
KK
42112014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4212
4213 * sysdeps/sh/libm-test-ulps: Regenerate.
4214
6e697ff7
DM
42152014-01-24 David S. Miller <davem@davemloft.net>
4216
4217 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4218
9cadb35c
KK
42192014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4220
4221 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4222 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4223
5d41dadf
SP
42242013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4225
4226 [BZ #16474]
4227 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4228 string pointers after reallocation.
4229
0bad441c
KK
42302014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4231
4232 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4233 __SH4A__ instead of __SH_FPU_ANY__.
4234
7007c661
KK
42352014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4236
4237 * sysdeps/sh/fpu_control.h: New file.
4238 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4239 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4240 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4241 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4242 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4243 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4244 * sysdeps/sh/sys/ucontext.h: Remove.
4245 * sysdeps/sh/sys: Remove directory.
4246
0f0c35e4
AK
42472014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4248
4249 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4250 s390/sys/ucontext.h.
4251 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4252 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4253
4959e284
L
42542014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4255
4256 [BZ #15605]
4257 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4258
d98720e0
AZ
42592014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4260
4261 [BZ#16431]
4262 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4263 Adjust the vDSO correctly for internal calls.
4264 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4265
91cbd0bc
AM
42662014-01-20 Allan McRae <allan@archlinux.org>
4267
4268 * po/ca.po: Update Catalan translation from translation project.
4269
7a02cfad
MF
42702014-01-16 Mike Frysinger <vapier@gentoo.org>
4271
4272 * sysdeps/s390/sotruss-lib.c: New file.
4273
736c304a
AZ
42742014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4275
4276 [BZ#16430]
6e077ee5 4277 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4278 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4279 local calls issues by not having a PLT stub required for IFUNC calls.
4280 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4281
94d0cea0
JM
42822014-01-16 Joseph Myers <joseph@codesourcery.com>
4283
4284 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4285 * math/test-fpucw-static.c: Likewise.
4286
980cb518
SP
42872013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4288
4289 [BZ #16453]
4290 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4291
2393fc01
AZ
42922014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4293
4294 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4295 implementation for powerpc.
4296
d359bcc2
OB
42972014-01-15 Ondřej Bílka <neleai@seznam.cz>
4298
4299 [BZ #14782]
4300 * sysdeps/posix/system.c (__libc_system): Do not enable
4301 asynchronous cancellation.
4302
7beb48cb
AK
43032014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4304
4305 [BZ #16427]
4306 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4307 handling only for numbers special also in the IEEE case.
4308
c20d5bf5
AK
43092014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4310
4311 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4312
e83bd4ee
AM
43132014-01-11 Allan McRae <allan@archlinux.org>
4314
76d0ea69
AM
4315 * po/bg.po: Update Bulgarian translation from translation project.
4316
e83bd4ee
AM
4317 * po/de.po: Update German translation from translation project.
4318
bc2ba20a
RM
43192014-01-10 Roland McGrath <roland@hack.frob.com>
4320
4321 * sysdeps/generic/gcc-compat.h: New file.
4322
649ecea2
SP
43232014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4324
4325 * benchtests/asin-inputs: Correct slow inputs.
4326 * benchtests/acos-inputs: Likewise.
4327
1b19c006
AM
43282014-01-10 Allan McRae <allan@archlinux.org>
4329
a46dab08
AM
4330 * po:sv.po: Update Swedish translation from translation project.
4331
421df74a
AM
4332 * po/vi.po: Update Vietnamese translation from translation project.
4333
d61c51a7
AM
4334 * po/eo.po: Update Esperanto translation from translation project.
4335
0339a319
AM
4336 * po/cs.po: Update Czech translation from translation project.
4337
94ad3e99
AM
4338 * po/nl.po: Update Dutch translation from translation project.
4339
e349ca71
AM
4340 * po/pl.po: Update Polish translation from translation project.
4341
ddf930c1
AM
4342 * po/ru.po: Update Russian translation from translation project.
4343
1b19c006
AM
4344 * po/uk.po: Update Ukrainian translation from translation project.
4345
9f236c49
BM
43462014-01-08 Brooks Moses <bmoses@google.com>
4347
4348 * elf/dl-load.c: Fix comment typo.
4349
cd6701cf
CD
43502014-01-08 Carlos O'Donell <carlos@redhat.com>
4351
4352 * po/header.pot: Rename to...
4353 * po/pot.header: ... this.
4354 * po/Makefile: Use pot.header.
4355
66671c84
YK
43562014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4357 Maxim Kuvyrkov <maxim@kugelworks.com>
4358
4359 [BZ #16394]
cd6701cf
CD
4360 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4361 SRC and DEST against LEN.
66671c84 4362
38f34581
AZ
43632014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4364
4365 [BZ #16414]
4366 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4367 implementation.
4368 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4369
43702014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4371
4372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4373
4c327f2a
JM
43742014-01-08 Joseph Myers <joseph@codesourcery.com>
4375
4376 [BZ #16408]
4377 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4378 for large positive arguments.
4379
b821f414
JM
43802014-01-07 Joseph Myers <joseph@codesourcery.com>
4381
1f0f2067
JM
4382 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4383
a5a326f6
JM
4384 * math/auto-libm-test-in: Mark various tests with
4385 xfail-rounding:ldbl-128ibm.
4386 * math/auto-libm-test-out: Regenerated.
4387
b821f414
JM
4388 [BZ #16407]
4389 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4390 Increase overflow threshold.
4391
94c8a4bc
OB
43922014-01-07 Ondřej Bílka <neleai@seznam.cz>
4393
4394 [BZ #14286]
4395 * stdio-common/vfprintf.c: Check for integer overflow.
4396
87ded0c3
AK
43972014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4398
4399 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4400 the first argument and return value of __tls_get_addr_internal.
4401
c5eebdd0
AK
44022014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4403
4404 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4405 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4406
05d138ef
AK
44072014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4408
4409 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4410 * sysdeps/s390/rtld-global-offsets.sym: New file.
4411 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4412 GLIBC_2.19 symbol.
4413 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4414 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4415 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4416 ... this.
4417 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4418 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4419 ... this.
4420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4421 Regenerate.
4422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4423 Regenerate.
4424 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4425 halfs of GPRs for high_gprs contexts.
4426 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4427 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4428 field.
4429 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4430 uc_flags field.
4431 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4432 64 bit versions:
4433 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4434 for high GPRs (uc_high_gprs) and for future extensions
4435 (__reserved).
4436 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4437 for future extensions (__reserved).
4438 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4439 64 bit versions:
4440 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4441 SC_HIGHGPRS offset definition.
4442 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4443 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4444
93a45ff1
AK
44452014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4446
4447 * Versions.def: Add GLIBC_2.19 for libpthread.
4448 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4449 siglongjmp for libpthread with GLIBC_2.19 symver.
4450 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4451 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4452 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4453 * sysdeps/s390/__longjmp.c: New file.
4454 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4455 * sysdeps/s390/longjmp.c: New file.
4456 * sysdeps/s390/setjmp.S: New file.
4457 * sysdeps/s390/sigjmp.S: New file.
4458 * sysdeps/s390/v1-longjmp.c: New file.
4459 * sysdeps/s390/v1-setjmp.h: New file.
4460 * sysdeps/s390/v1-sigjmp.c: New file.
4461 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4462 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4463 GLIBC_2.19 version.
4464 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4465 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4466 versioned symbols for ____longjmp_chk.
4467 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4468 Likewise.
4469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4470 Regenerate.
4471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4472 Regenerate.
4473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4474 Regenerate.
4475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4476 Regenerate.
4477 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4478 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4479 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4480 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4481 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4482 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4483 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4484 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4485 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4486 * sysdeps/s390/rtld-__longjmp.c: New file.
4487 * sysdeps/s390/rtld-setjmp.S: New file.
4488
eb3fc44b
JM
44892014-01-06 Joseph Myers <joseph@codesourcery.com>
4490
4491 [BZ #16400]
4492 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4493 Return -__logl (x) for small positive arguments without evaluating
4494 a polynomial.
4495
9341dde4
MF
44962014-01-06 Mike Frysinger <vapier@gentoo.org>
4497
4498 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4499 Rename to ...
4500 (__ptrace_peeksiginfo_args): ... this.
4501 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4502 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4503 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4504
4cff0293
AM
45052014-01-06 Allan McRae <allan@archlinux.org>
4506
4507 * inet/netinet/in.h: Fix typo in comment.
4508
75595dcf
AJ
45092014-01-05 Andreas Jaeger <aj@suse.de>
4510
4511 * sysdeps/i386/fpu/libm-test-ulps: Update.
4512
79c1e109
AM
45132014-01-05 Allan McRae <allan@archlinux.org>
4514
dd804818
AM
4515 * po/libc.pot: Regenerated.
4516
79c1e109
AM
4517 * malloc/memusagestat.c: Fix gettext call formatting.
4518
0c813d1f
SK
45192014-01-04 Sami Kerola <kerolasa@iki.fi>
4520
4521 * nscd/nscd.c: Improve usage() output.
4522
20f4a8d9
MF
45232014-01-04 Mike Frysinger <vapier@gentoo.org>
4524
4525 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4526 * sysdeps/unix/sysv/linux/configure: Regenerated.
4527 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4528 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4529
22562bb2
JM
45302014-01-03 Joseph Myers <joseph@codesourcery.com>
4531
4532 [BZ #16390]
4533 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4534 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4535
d7ad2d9b
AZ
45362014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4537
4538 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4539 extra tokens at end of #undef directive.
4540 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4541 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4542 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4543
7dd009d8
JM
45442014-01-03 Joseph Myers <joseph@codesourcery.com>
4545
24db925a
JM
4546 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4547
7dd009d8
JM
4548 * math/auto-libm-test-in: Mark various tests with
4549 xfail-rounding:ldbl-128ibm.
4550 * math/auto-libm-test-out: Regenerated.
4551
396e3ecf
JM
45522014-01-02 Joseph Myers <joseph@codesourcery.com>
4553
819e5d50
JM
4554 [BZ #16386]
4555 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4556 numbers with subnormal high part when calculating exponent.
4557
90b6a1e5
JM
4558 [BZ #16385]
4559 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4560 fabs.
4561
396e3ecf
JM
4562 [BZ #16384]
4563 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4564 M_LN2l.
4565 (__ieee754_acoshl): Use __log1pl not __log1p.
4566
6c8dbf00
OB
45672013-01-02 Ondřej Bílka <neleai@seznam.cz>
4568
4569 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4570 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4571 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4572 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4573 Convert to GNU style.
4574 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4575 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4576 memalign_check, __malloc_set_state): Likewise.
4577 * malloc/mallocbug.c (main): Likewise.
4578 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4579 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4580 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4581 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4582 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4583 * malloc/malloc.h: Likewise.
4584 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4585 memalignhook, reallochook, mabort): Likewise.
4586 * malloc/mcheck.h: Likewise.
4587 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4588 mmap64, mremap, munmap, dest): Likewise.
4589 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4590 * malloc/morecore.c (__default_morecore): Likewise.
4591 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4592 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4593 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4594 print_and_abort): Likewise.
4595 * malloc/obstack.h: Likewise.
4596 * malloc/set-freeres.c (__libc_freeres): Likewise.
4597 * malloc/tst-mallocstate.c (main): Likewise.
4598 * malloc/tst-mtrace.c (main): Likewise.
4599 * malloc/tst-realloc.c (do_test): Likewise.
4600
d4124212
SP
46012013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4602
9a3c6a6f
SP
4603 [BZ #16366]
4604 * nscd/netgroupcache.c (do_notfound): New function.
4605 (addgetnetgrentX): Use it.
4606
d4124212
SP
4607 [BZ # 16365]
4608 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4609 NSS_STATUS_NOTFOUND.
4610
97b9a009
JM
46112014-01-01 Joseph Myers <joseph@codesourcery.com>
4612
4613 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4615
d4697bc9
AM
46162014-01-01 Allan McRae <allan@archlinux.org>
4617
ddb3687f
AM
4618 * scripts/update-copyrights: Update configure input file suffix.
4619
88726d48
AM
4620 * NEWS: Update copyright year.
4621 * catgets/gencat.c: Likewise.
4622 * csu/version.c: Likewise.
4623 * debug/catchsegv.sh: Likewise.
4624 * debug/pcprofiledump.c: Likewise.
4625 * debug/xtrace.sh: Likewise.
4626 * elf/ldconfig.c: Likewise.
4627 * elf/ldd.bash.in: Likewise.
4628 * elf/pldd.c: Likewise.
4629 * elf/sotruss.ksh: Likewise.
4630 * elf/sprof.c: Likewise.
4631 * iconv/iconv_prog.c: Likewise.
4632 * iconv/iconvconfig.c: Likewise.
4633 * locale/programs/locale.c: Likewise.
4634 * locale/programs/localedef.c: Likewise.
4635 * login/programs/pt_chown.c: Likewise.
4636 * malloc/memusage.sh: Likewise.
4637 * malloc/memusagestat.c: Likewise.
4638 * malloc/mtrace.pl: Likewise.
4639 * manual/libc.texinfo: Likewise.
4640 * nscd/nscd.c: Likewise.
4641 * nss/getent.c: Likewise.
4642 * nss/makedb.c: Likewise.
4643 * posix/getconf.c: Likewise.
4644 * scripts/test-installation.pl: Likewise.
4645
d4697bc9
AM
4646 * All files with FSF copyright notices: Update copyright dates
4647 using scripts/update-copyrights.
4648 * intl/plural.c: Regenerated.
4649 * locale/programs/charmap-kw.h: Likewise.
4650 * locale/programs/locfile-kw.h: Likewise.
4651
c8590f9d
MF
46522013-12-31 Mike Frysinger <vapier@gentoo.org>
4653
4654 * sysdeps/unix/sysv/linux/configure: Regenerated.
4655 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4656 the linux/fanotify.h header.
4657 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4658 HAVE_LINUX_FANOTIFY_H is defined.
4659
b19221b9
SP
46602013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4661
dd1d85e5
SP
4662 * benchtests/cos-inputs: New inputs.
4663 * benchtests/sin-inputs: Likewise.
4664
1acbb90f
SP
4665 * benchtests/atan-inputs: New inputs. Fix name of multiple
4666 precision fallback inputs.
4667
4c012ed3
SP
4668 * benchtests/atanh-inputs: New inputs.
4669 * benchtests/tanh-inputs: Likewise.
4670
eff98324
SP
4671 * benchtests/acosh-inputs: New inputs.
4672 * benchtests/asinh-inputs: Likewise.
4673
ce641152
SP
4674 * benchtests/cosh-inputs: New inputs.
4675 * benchtests/sinh-inputs: Likewise.
4676
b19221b9
SP
4677 * benchtests/acos-inputs: Add more inputs.
4678 * benchtests/asin-inputs: Likewise.
4679
030a4976 46802013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4681
030a4976 4682 [BZ #16375]
9dcc8f11
VS
4683 * manual/arith.texi: Fix spelling.
4684 * manual/charset.texi: Likewise.
4685 * manual/errno.texi: Likewise.
4686 * manual/filesys.texi: Likewise.
4687 * manual/lang.texi: Likewise.
4688 * manual/llio.texi: Likewise.
4689 * manual/locale.texi: Likewise.
4690 * manual/message.texi: Likewise.
4691 * manual/resource.texi: Likewise.
4692 * manual/search.texi: Likewise.
4693 * manual/setjmp.texi: Likewise.
4694 * manual/stdio.texi: Likewise.
4695 * manual/string.texi: Likewise.
4696 * manual/sysinfo.texi: Likewise.
4697 * manual/time.texi: Likewise.
4698
11520a57
CD
46992013-12-27 Carlos O'Donell <carlos@redhat.com>
4700
4701 * po/sl.po: New file.
4702
471103ae
MF
47032013-12-27 Mike Frysinger <vapier@gentoo.org>
4704
4705 * .gitignore: Add core/.gdbinit/.gdb_history.
4706
6c9642ed
AM
47072013-12-27 Allan McRae <allan@archlinux.org>
4708
4709 [BZ #16369]
4710 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4711 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4712
3f637079
BM
47132013-12-24 Brooks Moses <bmoses@google.com>
4714
4715 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4716 all compilers that claim C++98 compliance, not just GCC.
4717 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4718 Likewise.
4719
abc26e99
MK
47202013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4721
4722 * NEWS: Restore accidentally deleted bug-fix entries.
4723
362b47fe
MK
47242013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4725 Ondřej Bílka <neleai@seznam.cz>
4726
4727 [BZ #15073]
4728 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4729 have_lock.
362b47fe 4730
b9bcbbcb
OB
47312013-12-23 Ondřej Bílka <neleai@seznam.cz>
4732
4733 [BZ #12986]
4734 * manual/stdio.texi (String Input Conversions): Clarify that character
4735 classes are not supported.
4736
fb55fcd2
AZ
47372013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4738
4739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4740
ef7344f0
JM
47412013-12-22 Joseph Myers <joseph@codesourcery.com>
4742
4f40e4b3
JM
4743 [BZ #16337]
4744 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4745 Calculate results for small negative arguments directly rather
4746 than using reflection formula with special underflow handling.
4747
ef7344f0
JM
4748 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4749 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4750 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4751 (fchflags): Likewise.
4752 (revoke): Likewise.
4753 (setlogin): Likewise.
4754 (sigaltstack): Likewise.
4755 (wait4): Likewise.
4756 (sigblock): Remove.
4757 (sigsetmask): Likewise.
4758 (wait3): Likewise.
4759 (waitpid): Likewise.
4760 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4761 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4762 file.
4763 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4764 * sysdeps/unix/bsd/Makefile: ... here.
4765 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4766 * sysdeps/unix/bsd/Versions: ... here.
4767 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4768 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4769 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4770 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4771 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4772 * sysdeps/unix/bsd/sigblock.c: ... here.
4773 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4774 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4775 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4776 * sysdeps/unix/bsd/sigvec.c: ... here.
4777 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4778 * sysdeps/unix/bsd/tcdrain.c: ... here.
4779 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4780 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4781 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4782 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4783 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4784 * sysdeps/unix/bsd/wait.c: ... here.
4785 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4786 * sysdeps/unix/bsd/wait3.c: ... here.
4787 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4788 * sysdeps/unix/bsd/waitpid.c: ... here.
4789
5b0626b9
JM
47902013-12-21 Joseph Myers <joseph@codesourcery.com>
4791
4792 [BZ #16356]
4793 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4794 round-to-nearest for [!USE_AS_EXPM1L].
4795 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4796 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4797 more tests of exp and exp10. Expect some exp10 tests to miss
4798 exceptions or fail in directed rounding modes.
4799 * math/auto-libm-test-out: Regenerated.
4800 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4801 (exp10_test_tonearest): New function.
4802 (exp10_towardzero_test_data): New array.
4803 (exp10_test_towardzero): New function.
4804 (exp10_downward_test_data): New array.
4805 (exp10_test_downward): New function.
4806 (exp10_upward_test_data): New array.
4807 (exp10_test_upward): New function.
4808 (main): Call the new functions.
4809 * sysdeps/i386/fpu/libm-test-ulps: Update.
4810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4811
7fda5682
JM
48122013-12-20 Joseph Myers <joseph@codesourcery.com>
4813
31e3a405
JM
4814 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4815 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4816 * math/auto-libm-test-out: Regenerated.
4817 * math/libm-test.inc (acosh_test_data): Add more tests.
4818 (atanh_test_data): Likewise.
4819 (ceil_test_data): Likewise.
4820 (copysign_test_data): Likewise.
4821 * sysdeps/i386/fpu/libm-test-ulps: Update.
4822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4823
85bff96a
JM
4824 * timezone/checktab.awk: Update from tzcode 2013i.
4825 * timezone/private.h: Likewise.
4826 * timezone/scheck.c: Likewise.
4827 * timezone/tzfile.h: Likewise.
4828 * timezone/tzselect.ksh: Likewise.
4829 * timezone/zdump.c: Likewise.
4830 * timezone/zic.c: Likewise.
4831
b7867a3b
JM
4832 * math/auto-libm-test-in: Add tests of cpow.
4833 * math/auto-libm-test-out: Regenerated.
4834 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4835 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4836 mpc_cc_c.
4837 (func_calc_desc): Add mpc_cc_c union field.
4838 (test_functions): Add cpow.
4839 (special_fill_2pi): New function.
4840 (special_real_inputs): Add 2pi.
4841 (calc_generic_results): Handle mpc_cc_c.
4842 * sysdeps/i386/fpu/libm-test-ulps: Update.
4843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4844
7fda5682
JM
4845 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4846 csqrt, ctan and ctanh.
4847 * math/auto-libm-test-out: Regenerated.
4848 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4849 (TEST_COND_x86): Likewise.
4850 (ccos_test_data): Use AUTO_TESTS_c_c.
4851 (ccosh_test_data): Likewise.
4852 (cexp_test_data): Likewise.
4853 (clog_test_data): Likewise.
4854 (csqrt_test_data): Likewise.
4855 (ctan_test_data): Likewise.
4856 (ctan_tonearest_test_data): Likewise.
4857 (ctan_towardzero_test_data): Likewise.
4858 (ctan_downward_test_data): Likewise.
4859 (ctan_upward_test_data): Likewise.
4860 (ctanh_test_data): Likewise.
4861 (ctanh_tonearest_test_data): Likewise.
4862 (ctanh_towardzero_test_data): Likewise.
4863 (ctanh_downward_test_data): Likewise.
4864 (ctanh_upward_test_data): Likewise.
4865 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4866 mpc_c_c.
4867 (func_calc_desc): Add mpc_c_c union field.
4868 (FUNC_mpc_c_c): New macro.
4869 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4870 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4871 ctanh.
4872 (special_fill_min_subnorm_p120): New function.
4873 (special_real_inputs): Add min_subnorm_p120.
4874 (calc_generic_results): Handle mpc_c_c.
4875 * sysdeps/i386/fpu/libm-test-ulps: Update.
4876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4877
5ff8d60e
SP
48782013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4879
392dd2de
SP
4880 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4881 do_sin_slow): New functions.
4882 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4883 cslow2, csloww1, csloww2): Use the new functions.
4884
84ba214c
SP
4885 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4886 Use M to change sign of result instead of X. Assume X is
4887 positive.
4888 (csloww1): Likewise.
4889 (__sin): Adjust.
4890 (__cos): Adjust.
4891
975195e4
SP
4892 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4893 arguments A and DA.
4894 (__sin): Adjust.
4895 (__cos): Likewise.
4896
5ff8d60e
SP
4897 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4898 (__cos): Likewise.
4899 (sloww1): Don't adjust sign of DX.
4900 (csloww1): Likewise.
4901 (sloww2): Use X directly and don't adjust sign of DX.
4902 (csloww2): Likewise.
4903
eb983568
JM
49042013-12-19 Joseph Myers <joseph@codesourcery.com>
4905
64a17f1a
JM
4906 * math/auto-libm-test-in: Add tests of cabs and carg.
4907 * math/auto-libm-test-out: Regenerated.
4908 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4909 (carg_test_data): Likewise.
4910 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4911 mpc_c_f.
4912 (func_calc_desc): Add mpc_c_f union field.
4913 (test_functions): Add cabs and carg.
4914 (calc_generic_results): Handle mpc_c_f.
4915
eb983568
JM
4916 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4917 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4918 as a macro and a compat symbol.
4919 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4920 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4921 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4922 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4923 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4924 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4925 not use .hidden.
4926 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4927 Likewise.
4928 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4929 Likewise.
4930 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4931 Likewise.
4932 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4933 Likewise.
4934 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4935 Likewise.
4936 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4937 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4938 from GLIBC_2.3.2.
4939
6eeb678a
AZ
49402013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4941
4942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4943
6f6fc482
JM
49442013-12-19 Joseph Myers <joseph@codesourcery.com>
4945
21fea2e2
JM
4946 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4947 trailing whitespace removed.
4948 * scripts/config.guess: Update to version 2013-11-29.
4949 * scripts/config.sub: Update to version 2013-10-01.
4950
6f6fc482
JM
4951 * math/auto-libm-test-in: Add tests of sincos.
4952 * math/auto-libm-test-out: Regenerated.
4953 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4954 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4955 mpfr_f_11.
4956 (func_calc_desc): Add mpfr_f_11 union field.
4957 (test_functions): Add sincos.
4958 (calc_generic_results): Handle mpfr_f_11.
4959 * sysdeps/i386/fpu/libm-test-ulps: Update.
4960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4961
83f5c32d
AS
49622013-12-19 Andreas Schwab <schwab@suse.de>
4963
4964 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4965 CALL_MCOUNT.
4966 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4967 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4968 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4969
c688b419
JM
49702013-12-19 Joseph Myers <joseph@codesourcery.com>
4971
335ee092
JM
4972 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4973 * sysdeps/i386/fpu/libm-test-ulps: Update.
4974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4975
f88acd39
JM
4976 [BZ #16293]
4977 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4978 round-to-nearest mode when using frndint.
4979 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4980 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4981 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4982 Likewise.
4983 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4984 sinh test to fail.
4985 * math/auto-libm-test-out: Regenerated.
4986 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4987 (TEST_COND_x86): Likewise.
4988 (expm1_tonearest_test_data): New array.
4989 (expm1_test_tonearest): New function.
4990 (expm1_towardzero_test_data): New array.
4991 (expm1_test_towardzero): New function.
4992 (expm1_downward_test_data): New array.
4993 (expm1_test_downward): New function.
4994 (expm1_upward_test_data): New array.
4995 (expm1_test_upward): New function.
4996 (main): Run the new test functions.
4997 * sysdeps/i386/fpu/libm-test-ulps: Update.
4998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4999
c688b419
JM
5000 * include/features.h: Update comment documenting feature test
5001 macros. Mention _DEFAULT_SOURCE in comment.
5002 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5003 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5004 _BSD_SOURCE and _SVID_SOURCE.
5005 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5006 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5007 !_SVID_SOURCE]: Likewise.
5008 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5009 (__USE_POSIX_IMPLICITLY): Define.
5010 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5011 (_POSIX_SOURCE): Undefine and redefine.
5012 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5013 (_POSIX_C_SOURCE): Likewise.
5014 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5015 (Feature Test Macros): Update documentation of default features.
5016
9f6e964c
RS
50172013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5018
5019 * benchtests/Makefile: Add bench-strtok.
5020 * benchtests/bench-strtok.c: New file: strtok benchtest.
5021
ee0a148a
AM
50222013-12-19 Allan McRae <allan@archlinux.org>
5023
5024 * manual/install.texi: Suppress menu for plain text output.
5025 * INSTALL: Regenerated.
5026
b9ab448f
BM
50272013-12-18 Brooks Moses <bmoses@google.com>
5028
5029 [BZ #15846]
5030 * misc/getauxval.c: Include errno.h.
5031 (__getauxval): Set errno to ENOENT if the requested type is not
5032 found.
5033 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5034 don't declare with __attribute_const__.
5035 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5036 * manual/startup.texi: Document that getauxval sets errno.
5037
23776487
JM
50382013-12-18 Joseph Myers <joseph@codesourcery.com>
5039
f889953b
JM
5040 * math/auto-libm-test-in: Add tests of jn and yn.
5041 * math/auto-libm-test-out: Regenerated.
5042 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5043 (yn_test_data): Likewise.
5044 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5045 mpfr_if_f.
5046 (func_calc_desc): Add mpfr_if_f union field.
5047 (FUNC_mpfr_if_f): New macro.
5048 (test_functions): Add jn and yn.
5049 (calc_generic_results): Assert type of second input for
5050 mpfr_ff_f. Handle mpfr_if_f.
5051 (output_for_one_input_case): Disable all checking for arguments
5052 fitting floating-point types in case of an integer argument.
5053 * sysdeps/i386/fpu/libm-test-ulps: Update.
5054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5055
23776487
JM
5056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5057 Don't expect fegetround reference in libm.so.
5058
cb756c6d
MS
50592013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5060
5061 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5062 $(config-cflags-nofma).
5063
2dec468f
JM
50642013-12-18 Joseph Myers <joseph@codesourcery.com>
5065
5953eb3a
JM
5066 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5067 * math/auto-libm-test-out: Regenerated.
5068
2dec468f
JM
5069 [BZ #16338]
5070 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5071 to determine exponent and adjust argument to have exponent of -1.
5072 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5073 log2.
5074 * math/auto-libm-test-out: Regenerated.
5075 * sysdeps/i386/fpu/libm-test-ulps: Update.
5076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5077
4d84e6ad
OB
50782013-12-18 Ondřej Bílka <neleai@seznam.cz>
5079
5080 * manual/probes.texi: Remove cases when per-thread arenas are
5081 disabled.
5082
1818483b
AS
50832013-12-18 Andreas Schwab <schwab@suse.de>
5084
5085 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5086 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5087 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5088 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5089 * sysdeps/i386/i686/multiarch/Makefile: Update.
5090 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5091
25de95bf
JM
50922013-12-17 Joseph Myers <joseph@codesourcery.com>
5093
5094 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5095 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5096
674762d9
PE
50972013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5098
ed27ed83 5099 [BZ #15968]
0748546f
PE
5100 Support TZ transition times < 00:00:00.
5101 This is needed for version-3 tz-format files; it supports time
5102 stamps past 2037 for America/Godthab (the only entry in the tz
5103 database for which this change is relevant).
5104 * manual/time.texi (TZ Variable): Document transition times
5105 from -167:59:59 through -00:00:01.
5106 * time/tzset.c (tz_rule): Time of day is now signed.
5107 (__tzset_parse_tz): Parse negative time of day.
5108
4480e934
PE
5109 Document TZ transition times >= 25:00:00.
5110 * manual/time.texi (TZ Variable): Document transition times from
5111 25:00:00 through 167:59:59. These are already supported, and this
5112 support will help with version-3 tz-format files.
5113
69947401
PE
5114 * manual/time.texi (TZ Variable): Modernize North America example
5115 to reflect current (i.e., 2007-and-later) daylight saving rules.
5116
674762d9
PE
5117 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5118
7011c262
JM
51192013-12-17 Joseph Myers <joseph@codesourcery.com>
5120
2fc6557e
JM
5121 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5122 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5124 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5125 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5126 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5127 * sysdeps/unix/bsd/clock.c: Likewise.
5128 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5129 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5130 * sysdeps/unix/bsd/init-posix.c: Likewise.
5131 * sysdeps/unix/bsd/poll.c: Likewise.
5132 * sysdeps/unix/bsd/ptsname.c: Likewise.
5133 * sysdeps/unix/bsd/seekdir.c: Likewise.
5134 * sysdeps/unix/bsd/setegid.c: Likewise.
5135 * sysdeps/unix/bsd/seteuid.c: Likewise.
5136 * sysdeps/unix/bsd/setgid.c: Likewise.
5137 * sysdeps/unix/bsd/setrgid.c: Likewise.
5138 * sysdeps/unix/bsd/setruid.c: Likewise.
5139 * sysdeps/unix/bsd/setsid.c: Likewise.
5140 * sysdeps/unix/bsd/setuid.c: Likewise.
5141 * sysdeps/unix/bsd/sigaction.c: Likewise.
5142 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5143 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5144 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5145 * sysdeps/unix/bsd/telldir.c: Likewise.
5146 * sysdeps/unix/bsd/times.c: Likewise.
5147 * sysdeps/unix/bsd/usleep.c: Likewise.
5148
029c7b25
JM
5149 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5150 ($(objpfx)libbsd-compat.a): Remove rule.
5151
7011c262
JM
5152 * include/features.h (__FAVOR_BSD): Do not define.
5153 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5154 features conflicting with POSIX.
5155 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5156 (_BSD_SOURCE): Remove description of not being a subset of other
5157 feature test macros.
5158 * manual/job.texi (getpgrp): Do not document BSD version.
5159 (getpgid): Do not document by reference to BSD getpgrp.
5160 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5161 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5162 * signal/signal.h [__FAVOR_BSD]: Likewise.
5163 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5164 instead of making contents conditional on [__FAVOR_BSD].
5165 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5166
affb6f78
AZ
51672013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5168
5169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5170
c88769dd
JM
51712013-12-17 Joseph Myers <joseph@codesourcery.com>
5172
6432a540
JM
5173 [BZ #16314]
5174 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5175 values below 2**-450, not 2**-500.
5176 * math/auto-libm-test-in: Don't allow spurious underflow from
5177 hypot.
5178 * math/auto-libm-test-out: Regenerated.
5179
c88769dd
JM
5180 [BZ #16316]
5181 [BZ #16330]
5182 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5183 values of ha and hb and sort them after adjusting subnormal
5184 arguments.
5185 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5186 Likewise.
5187 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5188 values of ea and eb and sort them after adjusting subnormal
5189 arguments.
5190 * math/auto-libm-test-in: Do not expect some hypot tests of
5191 subnormals to fail. Add more hypot tests.
5192 * math/auto-libm-test-out: Regenerated.
5193
29618f6b
KK
51942013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5195
5196 [BZ #13304]
5197 * sysdeps/sh/s_fma.c: New file.
5198 * sysdeps/sh/s_fmaf.c: New file.
5199 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5200 version.
5201 * sysdeps/sh/Implies: Add sh/soft-fp.
5202
eacfdfbf
RM
52032013-12-16 Roland McGrath <roland@hack.frob.com>
5204
5205 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5206 level of indirection to members `objname', `errstring', `malloced'.
5207 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5208 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5209 it as the __longjmp argument (just pass 1 instead).
5210 (_dl_catch_error): Initialize C with argument pointers and address of
5211 volatile local ERRCODE rather than copying values out of C at return.
5212
ff362e5b
JM
52132013-12-16 Joseph Myers <joseph@codesourcery.com>
5214
5215 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5216 * math/auto-libm-test-out: Regenerated.
5217 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5218 (hypot_test_data): Likewise.
5219 (pow_test_data): Likewise.
5220 (pow_tonearest_test_data): Likewise.
5221 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5222 mpfr_ff_f.
5223 (func_calc_desc): Add mpfr_ff_f union field.
5224 (FUNC_mpfr_ff_f): New macro.
5225 (test_functions): Add atan2, hypot and pow.
5226 (special_fill_min): New function.
5227 (special_fill_minus_min): Likewise.
5228 (special_fill_min_subnorm): Likewise.
5229 (special_fill_minus_min_subnorm): Likewise.
5230 (special_real_inputs): Add min, -min, min_subnorm and
5231 -min_subnorm.
5232 (calc_generic_results): Handle mpfr_ff_f.
5233 * sysdeps/i386/fpu/libm-test-ulps: Update.
5234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5235
5764c27f
WN
52362013-12-16 Will Newton <will.newton@linaro.org>
5237
5238 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5239 (Aligned Memory Blocks): Add documentation for aligned_alloc
5240 and suggest it as an alternative to posix_memalign.
5241 (Hooks for Malloc): Document __memalign_hook is also called
5242 for aligned_alloc. (Summary of Malloc): Add summary for
5243 aligned alloc. Document __memalign_hook is also called
5244 for aligned_alloc.
5245
0a096e44
WN
52462013-12-16 Will Newton <will.newton@linaro.org>
5247
5248 * manual/memory.texi (Malloc Examples): Clarify default
5249 alignment documentation. Suggest posix_memalign rather
5250 than memalign or valloc.
5251 (Aligned Memory Blocks): Remove suggestion to use memalign
5252 or valloc. Remove obsolete comment about BSD.
5253 Document memalign errno values and mark the function obsolete.
5254 Document posix_memalign returned error codes. Mark valloc
5255 as obsolete. (Hooks for Malloc): __memalign_hook is also
5256 called for posix_memalign and valloc.
5257 (Summary of Malloc): Add posix_memalign to function summary.
5258 __memalign_hook is also called for posix_memalign and valloc.
5259
8d561986
SP
52602013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5261
5262 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5263 TAYLOR_SIN.
5264 (__sin): Adjust.
5265 (__cos): Likewise.
5266 (sloww): Use mynumber union. Expand ternary operator into
5267 if-else statements.
5268 (cslow): use mynumber union.
5269
73616a74
AM
52702013-12-16 Allan McRae <allan@archlinux.org>
5271
9e8ac24b
AM
5272 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5273 * configure: Regenerated.
5274
6f8e37eb
AM
5275 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5276
8894bad3
AM
5277 [BZ #14120]
5278 * configure.ac: Added --enable-maintainer-mode. Check for
5279 autoconf when enabled.
5280 * configure: Regenerated.
5281
73616a74
AM
5282 * nscd/nscd.service: New file.
5283 * nscd/nscd.tmpfiles: New file.
5284
584b18eb
OB
52852013-12-14 Ondřej Bílka <neleai@seznam.cz>
5286
5287 [BZ #12100]
5288 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5289 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5290 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5291 (strstr): Add __strstr_sse2_unaligned ifunc.
5292 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5293 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5294 (strcasestr): Remove __strcasestr_sse42 ifunc.
5295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5298
8a5c7897
KK
52992013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5300
5301 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5302 * sysdeps/sh/bits/fenv.h: ... here.
5303 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5304
fd712ef3
AZ
53052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5306
5307 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5308
42fcb46c
AZ
53092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5310
5311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5312 hypotf multiarch implementations.
5313 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5314 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5315 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5316 multiarch hypot for PPC64.
5317 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5318 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5319 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5320 multiarch hypotf for PPC64.
5321
83efded4
AZ
53222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5323
5324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5325 modff multiarch implementations.
5326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5329 multiarch modf for PPC64.
5330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5333 multiarch modff for PPC64.
5334
43e246d2
AZ
53352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5336
5337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5338 and logl multiarch implementations.
5339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5342 multiarch logb for PPC64.
5343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5346 multiarch logb for PPC64.
5347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5350 multiarch logb for PPC64.
5351
8fdad123
AZ
53522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5353
5354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5355 isinff multiarch implementation.
5356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5357 file.
5358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5360 multiarch isinf for PPC64.
5361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5362 file.
5363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5364 multiarch isinff for PPC64.
5365
1481d706
AZ
53662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5367
5368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5369 finitef multiarch implementation.
5370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5371 file.
5372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5374 multiarch finite for PPC64.
5375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5376 file.
5377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5378 multiarch finitef for PPC64.
5379
5ccd5fc8
AZ
53802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5381
5382 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5383 lrint multiarch implementation.
5384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5385 file.
5386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5388 multiarch llrint for PPC64.
5389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5390 multiarch lrint for PPC64.
5391
2568f3fa
AZ
53922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5393
5394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5395 copysignf multiarch implementation.
5396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5397 file.
5398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5399 file.
5400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5401 multiarch copysign for PPC64.
5402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5403 multiarch copysignf for PPC64.
5404
1cb341fd
AZ
54052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5406
5407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5408 multiarch implementation.
5409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5410 file.
5411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5412 file.
5413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5414 file.
5415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5416 file.
5417 multiarch llround for PPC64.
5418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5419 multiarch trunc for PPC64.
5420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5421 multiarch truncf for PPC64.
5422
59a3e194
AZ
54232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5424
5425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5426 multiarch implementation.
5427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5428 file.
5429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5430 file.
5431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5432 file.
5433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5434 file.
5435 multiarch llround for PPC64.
5436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5437 multiarch round for PPC64.
5438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5439 multiarch roundf for PPC64.
5440
357fd3b4
AZ
54412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5442
5443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5444 multiarch implementation.
5445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5446 file.
5447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5448 file.
5449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5450 file.
5451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5452 file.
5453 multiarch llround for PPC64.
5454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5455 multiarch floor for PPC64.
5456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5457 multiarch floorf for PPC64.
5458
96770f12
AZ
54592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5460
5461 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5462 multiarch implementation.
5463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5464 file.
5465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5466 file.
5467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5468 file.
5469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5470 file.
5471 multiarch llround for PPC64.
5472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5473 multiarch ceil for PPC64.
5474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5475 multiarch ceilf for PPC64.
5476
c3627f6e
AZ
54772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5478
5479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5480 multiarch implementation.
5481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5482 file.
5483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5484 file.
5485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5486 file.
5487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5488 multiarch llround for PPC64.
5489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5490 multiarch lround for PPC64.
5491
b2284ad7
AZ
54922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5493
5494 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5495 multiarch implementation.
5496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5499 file.
5500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5503 multiarch isnan for PPC64.
5504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5505 multiarch isnanf for PPC64.
5506
69bbc63d
AZ
55072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5508
5509 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5510 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5511 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5512 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5513 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5515
c24517c9
AZ
55162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5517
5518 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5519 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5521 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5522
a52374e8
AZ
55232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5524
5525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5526 multiarch implementations.
5527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5528 (__libc_ifunc_impl_list): Likewise.
5529 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5530 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5531 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5532 multiarch stpcpy for PPC64.
5533
7f5ec113
AZ
55342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5535
5536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5537 multiarch implementations.
5538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5539 (__libc_ifunc_impl_list): Likewise.
5540 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5541 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5542 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5543 multiarch strcpy for PPC64.
5544
e28bcd42
AZ
55452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5546
5547 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5548 redefine function name.
5549 (_wordcopy_fwd_dest_aligned): Likewise.
5550 (_wordcopy_bwd_aligned): Likewise.
5551 (_wordcopy_bwd_dest_aligned): Likewise.
5552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5553 multiarch implementations.
5554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5555 (__libc_ifunc_impl_list): Likewise.
5556 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5557 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5558 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5559 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5560 multiarch wcscpy for PPC64.
5561
92cacfce
AZ
55622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5563
5564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5565 multiarch implementations.
5566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5567 (__libc_ifunc_impl_list): Likewise.
5568 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5569 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5570 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5571 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5572 multiarch wcscpy for PPC64.
5573
7b714620
AZ
55742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5575
5576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5577 multiarch implementations.
5578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5579 (__libc_ifunc_impl_list): Likewise.
5580 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5581 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5582 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5583 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5584 multiarch wcsrchr for PPC64.
5585
16fd2ae3
AZ
55862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5587
5588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5589 multiarch implementations.
5590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5591 (__libc_ifunc_impl_list): Likewise.
5592 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5593 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5594 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5595 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5596 multiarch wcschr for PPC64.
5597
9ee2969b
AZ
55982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5599
5600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5601 multiarch implementations.
5602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5603 (__libc_ifunc_impl_list): Likewise.
5604 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5605 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5606 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5607 multiarch strchrnul for PPC64.
5608
372dc060
AZ
56092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5610
5611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5612 implementations.
5613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5614 (__libc_ifunc_impl_list): Likewise.
5615 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5616 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5617 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5618 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5619 strchr for PPC64.
5620
24c2c3b9
AZ
56212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5622
5623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5624 implementations.
5625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5626 (__libc_ifunc_impl_list): Likewise.
5627 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5628 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5629 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5630 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5631 strncmp for PPC64.
5632
1c92d9a0
AZ
56332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5634
5635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5636 multiarch implementations.
5637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5638 (__libc_ifunc_impl_list): Likewise.
5639 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5640 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5641 strncasecmp for PPC64.
5642 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5643 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5644 multiarch strncasecmp_l for PPC64.
5645
17de3ee3
AZ
56462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5647
5648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5649 multiarch implementations.
5650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5651 (__libc_ifunc_impl_list): Likewise.
5652 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5653 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5654 multiarch strcasecmp for PPC64.
5655 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5656 file.
5657 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5658 multiarch strcasecmp_l for PPC64.
5659
62982bf9
AZ
56602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5661
5662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5663 implementations.
5664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5665 (__libc_ifunc_impl_list): Likewise.
5666 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5667 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5668 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5669 strnlen for PPC64.
5670
a65f4904
AZ
56712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5672
5673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5674 implementations.
5675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5676 (__libc_ifunc_impl_list): Likewise.
5677 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5678 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5679 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5680 strlen for PPC64.
5681
1fd005ad
AZ
56822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5683
5684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5685 implementations.
5686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5687 (__libc_ifunc_impl_list): Likewise.
5688 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5689 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5690 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5691 rawmemrchr for PPC64.
5692
cd05ba91
AZ
56932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5694
5695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5696 implementation.
5697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5698 (__libc_ifunc_impl_list): Likewise.
5699 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5700 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5701 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5702 memrchr for PPC64.
5703
870f8676
AZ
57042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5705
5706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5707 implementation.
5708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5709 (__libc_ifunc_impl_list): Likewise.
5710 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5711 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5712 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5713 memchr for PPC64.
5714
f00be62b
AZ
57152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5716
5717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5718 implementation.
5719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5720 (__libc_ifunc_impl_list): Likewise.
5721 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5722 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5723 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5724 mempcpy for PPC64.
5725
8a29a3d0
AZ
57262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5727
5728 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5729 avoid cretion of __bzero symbol.
5730 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5731 Likewise.
5732 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5733 Likewise.
5734 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5735 Likewise.
5736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5737 multiarch implementations.
5738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5739 (__libc_ifunc_impl_list): Likewise.
5740 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5741 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5742 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5743 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5744 bzero for PPC32.
5745 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5746 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5747 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5748 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5749 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5750 memset for PPC64.
5751 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5752
07253fcf
AZ
57532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5754
5755 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5757 implementations.
5758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5759 (__libc_ifunc_impl_list): Likewise.
5760 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5761 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5762 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5763 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5764 memcmp for PPC64.
5765
b5beafbc
AZ
57662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5767
5768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5769 multiarch for POWER/PPC64.
5770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5771 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5774 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5775 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5776 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5777 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5778 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5779 memcpy for PPC64.
5780
5e6a4d4b
AZ
57812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5782
5783 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5784 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5785 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5786 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5787 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5788 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5789 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5790 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5791 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5792 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5793 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5794 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5795 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5796 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5797 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5805
ddfab6dc
KK
58062013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5807
5808 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5809
19b5525e
SP
58102013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5811
5812 * benchtests/Makefile (bench): Add exp2 and log2.
5813 (LDLIBS-bench-exp2): Add -lm.
5814 (LDLIBS-bench-log2): Likewise.
5815 * benchtests/exp2-inputs: New inputs file.
5816 * benchtests/log2-inputs: New inputs file.
5817 * benchtests/log-inputs: Add new inputs.
5818 * benchtests/tan-inputs: Likewise.
5819
196f7f5d
SP
58202013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5821
7a74607f
SP
5822 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5823 definition...
5824 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5825 csloww1, csloww2): ... from here.
5826
196f7f5d
SP
5827 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5828 instead of structures.
5829 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5830 (POLYNOMIAL): Likewise.
5831 (TAYLOR_SLOW): Likewise.
5832 (__sin): Likewise.
5833 (__cos): Likewise.
5834 (slow1): Likewise.
5835 (slow2): Likewise.
5836 (sloww): Likewise.
5837 (sloww1); Likewise.
5838 (sloww2): Likewise.
5839 (bsloww1): Likewise.
5840 (bsloww2): Likewise.
5841 (cslow2): Likewise.
5842 (csloww): Likewise.
5843 (csloww1): Likewise.
5844 (csloww2): Likewise.
5845
0dfa665c
OB
58462013-12-10 Ondřej Bílka <neleai@seznam.cz>
5847
5848 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5849 (__malloc_assert, __libc_realloc, __libc_calloc,
5850 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5851 memcpy and memset.
5852 * malloc/hooks.c (realloc_check): Likewise.
5853
5782a80f
OB
58542013-12-10 Ondřej Bílka <neleai@seznam.cz>
5855
5856 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5857 * malloc/arena.c: Remove PER_THREAD conditional.
5858 [!PER_THREAD]: Remove code.
5859 (ptmalloc_unlock_all2): Likewise.
5860 (ptmalloc_init): Likewise.
5861 (_int_new_arena): Likewise.
5862 (arena_get2): Likewise.
5863 * malloc/hooks.c (__malloc_get_state): Likewise.
5864 (__malloc_set_state): Likewise.
5865 * malloc/malloc.c: Likewise.
5866 (struct malloc_state): Likewise.
5867 (struct malloc_par): Likewise.
5868 (__libc_realloc): Likewise.
5869 (__libc_mallopt): Likewise.
5870
aeb95445
AZ
58712013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5872
5873 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5874
e8349efd
OB
58752013-12-09 Ondřej Bílka <neleai@seznam.cz>
5876
5877 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5878 macro to a function. Check for zero perturb_byte.
5879 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5880
f3eeb3fc
OB
58812013-12-09 Ondřej Bílka <neleai@seznam.cz>
5882
5883 * malloc/malloc.c: (force_reg): Remove.
5884 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5885 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5886 force_reg by atomic_forced_read.
5887 * malloc/arena.c (ptmalloc_init): Likewise.
5888 * malloc/hooks.c (top_check): Likewise.
5889
be2f9009
AZ
58902013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5891
5892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5893
e7b914bd
MT
58942013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5895
5896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5897
9f0be4f8
JM
58982013-12-08 Joseph Myers <joseph@codesourcery.com>
5899
5900 * math/auto-libm-test-in: Add tests of lgamma.
5901 * math/auto-libm-test-out: Regenerated.
5902 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5903 (M_LOG_2_SQRT_PIl): Likewise.
5904 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5905 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5906 mpfr_f_f1.
5907 (func_calc_desc): Add mpfr_f_f1 union field.
5908 (ARGS1): New macro.
5909 (ARGS2): Likewise.
5910 (ARGS3): Likewise.
5911 (ARGS4): Likewise.
5912 (RET1): Likewise.
5913 (RET2): Likewise.
5914 (CALC): Likewise.
5915 (FUNC): Likewise.
5916 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5917 (test_functions): Add lgamma.
5918 (calc_generic_results): Handle mpfr_f_f1.
5919 * sysdeps/i386/fpu/libm-test-ulps: Update.
5920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5921
24eeafdb
AZ
59222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5923
5924 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5925 __mpn_add_n for PowerPC64/POWER7.
5926 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5927 __mpn_sub_n for PowerPC64/POWER7.
5928
4a2c0fd4
AZ
59292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5930
5931 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5932 __mpn_addmul_1 for PowerPC64.
5933 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5934 __mpn_submul_1 for PowerPC64.
5935 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5936 for PowerPC64.
5937 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5938 for PowerPC64.
5939
4b5b548c
FS
59402013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5941
5942 [BZ #15089]
5943 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5944
0a3ac0aa
AZ
59452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5946
5947 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5948
ccdc8438
AZ
59492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5950
5951 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5952 add multiarch folders.
5953 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5954 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5955 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5956 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5957 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5958 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5959 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5960 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5961 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5962 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5963 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5970
2e973d99
AZ
59712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5972
5973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5974 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5976 New file.
5977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5978 New file.
5979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5980 multiarch __ieee754_hypot for PowerPC32.
5981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5982 New file.
5983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5984 New file.
5985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5986 multiarch __ieee754_hypotf for PowerPC32.
5987
2d9470b2
AZ
59882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5989
5990 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5991 long_double_symbol only if __logbl is defined.
5992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5993 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5995 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5997 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5998 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5999 path for implementation.
6000 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6001 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6003 logb, and logbl multiarch implementations for PowerPC32.
6004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6005 file.
6006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6007 file.
6008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6009 multiarch logb for PowerPC32.
6010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6011 file.
6012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6013 file.
6014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6015 multiarch logbf for PowerPC32.
6016 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6018 file.
6019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6020 multiarch logbl implementation for PowerPC32.
6021
5212ffce
AZ
60222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6023
6024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6025 and modff multiarch implementations.
6026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6027 New file.
6028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6029 New file.
6030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6031 multiarch modf for PowerPC32.
6032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6033 New file.
6034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6035 New file.
6036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6037 multiarch modff for PowerPC32.
6038
79dccf31
AZ
60392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6040
6041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6042 and lrintf multiarch implementations.
6043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6044 New file.
6045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6046 New file.
6047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6048 multiarch lrint for PowerPC32.
6049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6050 file: multiarch lrintf for PowerPC32.
6051
deb66480
AZ
60522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6053
6054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6055 and lroundf multiarch implementations.
6056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6057 New file.
6058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6059 New file.
6060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6061 New file.
6062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6063 multiarch lround for PowerPC32.
6064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6065 file: multiarch lroundf for PowerPC32.
6066
264b036b
AZ
60672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6068
6069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6070 copysign and copysignf multiarch implementations.
6071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6072 New file.
6073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6074 New file.
6075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6076 file: multiarch copysign for PowerPC32.
6077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6078 file: multiarch copysignf for PowerPC32.
6079
d47db6c9
AZ
60802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6081
6082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6083 and truncf multiarch implementations.
6084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6085 New file.
6086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6087 file.
6088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6089 multiarch trunc for PowerPC32.
6090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6091 New file.
6092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6093 New file.
6094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6095 multiarch truncf for PowerPC32.
6096
ddb60b5a
AZ
60972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6098
6099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6100 and roundf multiarch implementations.
6101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6102 New file.
6103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6104 file.
6105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6106 multiarch round for PowerPC32.
6107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6108 New file.
6109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6110 New file.
6111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6112 multiarch roundf for PowerPC32.
6113
bedcf49b
AZ
61142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6115
6116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6117 and floorf multiarch implementations.
6118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6119 New file.
6120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6121 file.
6122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6123 multiarch floor for PowerPC32.
6124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6125 New file.
6126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6127 New file.
6128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6129 multiarch floorf for PowerPC32.
6130
35ae5b40
AZ
61312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6132
6133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6134 and ceilf multiarch implementations.
6135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6136 New file.
6137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6138 file.
6139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6140 multiarch ceil for PowerPC32.
6141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6142 New file.
6143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6144 file.
6145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6146 multiarch ceilf for PowerPC32.
6147
ae1a4cd9
AZ
61482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6149
6150 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6151 is defined.
6152 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6153 FINITEF is defined.
6154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6155 and finitef multiarch implementations.
6156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6157 New file.
6158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6159 file.
6160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6161 multiarch finite for PowerPC32.
6162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6163 New file.
6164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6165 file: multiarch finitef for PowerPC32.
6166
64fffd65
AZ
61672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6168
6169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6170 and isinff multiarch implementations.
6171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6172 file.
6173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6174 file.
6175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6176 multiarch isinf for PowerPC32.
6177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6178 New file.
6179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6180 multiarch isinff for PowerPC32.
6181
8e4e7ba2
AZ
61822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6183
6184 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6185 alias when __isnan is defined.
6186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6187 and isnanf multiarch implementations.
6188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6189 file.
6190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6191 file.
6192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6193 file.
6194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6195 file.
6196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6197 multiarch isnan for PowerPC32.
6198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6199 New file.
6200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6201 New file.
6202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6203 multiarch isnanf for PowerPC32.
6204
ddba588e
AZ
62052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6206
6207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6208 and sqrtf multiarch implementations.
6209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6210 file.
6211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6212 file.
6213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6214 multiarch sqrt for PowerPC32.
6215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6216 file.
6217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6218 file.
6219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6220 multiarch sqrtf for PowerPC32.
6221
0f96a2f0
AZ
62222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6223
6224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6225 and llroundf multiarch implementations.
6226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6227 New file.
6228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6229 New file.
6230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6231 New file.
6232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6233 file: multiarch llround for PowerPC32.
6234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6235 file: multiarch llroundf for PowerPC32.
6236
c9b5d79e
AZ
62372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6238
6239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6240 multiarch PowerPC32 fpu implementations.
6241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6242 New file.
6243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6244 New file.
6245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6246 multiarch llrint for PowerPC32.
6247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6248 New file.
6249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6250 New file.
6251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6252 file.
6253
9cbb3aab
AZ
62542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6255
6256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6257
ea5a72f8
AZ
62582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6259
6260 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6261 file.
6262 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6263 file.
6264 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6265 file.
6266 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6267 multiarch wordcopy for PPC32.
6268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6269 wordcopy objects.
6270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6271 (__libc_ifunc_impl_list): Likewise.
6272 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6273 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6274 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6275 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6276 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6277 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6278
93be09e7
AZ
62792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6280
6281 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6283 file.
6284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6285 file.
6286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6287 file.
6288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6289 multiarch wcscpy for PPC32.
6290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6291 multiarch objects.
6292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6293 (__libc_ifunc_impl_list): Likewise.
6294 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6295 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6296 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6297 sysdeps/powerpc/power6/wcscpy.c.
6298
bb04e529
AZ
62992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6300
6301 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6303 file.
6304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6305 file.
6306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6307 file.
6308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6309 multiarch wcsrchr for PPC32.
6310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6311 multiarch objects.
6312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6313 (__libc_ifunc_impl_list): Likewise.
6314 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6315 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6316 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6317 sysdeps/powerpc/power6/wcsrchr.c.
6318
05b5cd1c
AZ
63192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6320
6321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6322 file.
6323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6324 file.
6325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6327 multiarch wcschr for PPc32.
6328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6329 multiarch objects.
6330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6331 (__libc_ifunc_impl_list): Likewise.
6332 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6333 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6334 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6335 sysdeps/powerpc/power6/wcschr.c.
6336
ba964147
AZ
63372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6338
6339 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6340 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6341 file.
6342 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6343 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6344 file: multiarch strchr for PPC32.
6345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6346 multiarch objects.
6347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6348 (__libc_ifunc_impl_list): Likewise.
6349
31c81aaa
AZ
63502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6351
6352 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6353 name.
6354 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6355 file.
6356 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6357 file.
6358 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6359 multiarch strchrnul for PPC32.
6360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6361 multiarch objects.
6362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6363 (__libc_ifunc_impl_list): Likewise.
6364
0d0607d9
AZ
63652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6366
6367 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6368 file.
6369 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6370 multiarch strncasecmp for PPC32.
6371 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6372 file.
6373 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6374 multiarch strncasecmp_l for PPC32.
6375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6376 strncasecmp multiarch objects.
6377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6378 (__libc_ifunc_impl_list): Likewise.
6379
4dfd5c86
AZ
63802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6381
6382 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6383 file.
6384 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6385 multiarch strncasecmp for PPC32.
6386 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6387 New file.
6388 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6389 multiarch strcasecmp_l for PPC32.
6390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6391 multiarch objects.
6392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6393 (__libc_ifunc_impl_list): Likewise.
6394
a19e01a3
AZ
63952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396
6397 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6398 file.
6399 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6400 file.
6401 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6402 multiarch strncmp for PPC32.
6403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6404 multiarch objects.
6405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6406 (__libc_ifunc_impl_list): Likewise.
6407
ae9cf7a2
AZ
64082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6409
6410 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6411 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6412 file.
6413 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6414 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6416 multiarch objects.
6417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6418 (__libc_ifunc_impl_list): Likewise.
6419
3148bb7d
AZ
64202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6421
6422 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6423 file.
6424 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6425 file.
6426 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6428 multiarch objects.
6429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6430 (__libc_ifunc_impl_list): Likewise.
6431
7af8b946
AZ
64322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6433
6434 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6435 file.
6436 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6437 file.
6438 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6439 multiarch rawmemchr for PPC32.
6440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6441 multiarch objects.
6442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6443 (__libc_ifunc_impl_list): Likewise.
6444
03a6aa6a
AZ
64452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6446
6447 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6448 file.
6449 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6450 file.
6451 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6452 file: memrchr multiarch for PPC32.
6453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6454 multiarch objects.
6455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6456 (__libc_ifunc_impl_list): Likewise.
6457
1c62e6d9
AZ
64582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6459
6460 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6461 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6462 file.
6463 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6464 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6465 multiarch memchr for PPC32.
6466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6467 multiarch objects.
6468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6469 (__libc_ifunc_impl_list): Likewise.
6470
87da8bdb
AZ
64712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6472
6473 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6474 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6475 file.
6476 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6477 file.
6478 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6479 file: multiarch mempcpy for PPC32.
6480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6481 multiarch objects.
6482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6483 (__libc_ifunc_impl_list): Likewise.
6484
20ed4714
AZ
64852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6486
6487 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6488 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6489 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6490 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6491 multiarch bzero for PPC32.
6492 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6493 file.
6494 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6495 file.
6496 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6497 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6498 file: multiarch memset for PPC32.
6499 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6501 memset multiarch objects.
6502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6503 (__libc_ifunc_impl_list): Likewise.
6504
ab3e3a46
AZ
65052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6506
6507 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6508 file.
6509 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6510 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6511 memcmp for PPC32.
6512 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6514 multiarch objects.
6515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6516 (__libc_ifunc_impl_list): Likewise.
6517
930de6f0
AZ
65182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6519
6520 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6521 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6522 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6523 file.
6524 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6525 file.
6526 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6527 file.
6528 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6529 multiarch memcpy for PPC32.
6530 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6531 multiarch objects.
6532 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6533 (__libc_ifunc_impl_list): Likewise.
6534
4c628e00
AZ
65352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6536
6537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6538 support multiarch for POWER/PPC32.
6539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6540 Likewise.
6541 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6543 Implies file to make multiarch folder appers before the fpu and
6544 default folder for power4 configuration.
6545
f4479220
SP
65462013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6547
6548 * scripts/bench.pl: Append volatile keyword to type.
6549
8517800f
KK
65502013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6551
6552 * sysdeps/sh/sotruss-lib.c: New file.
6553 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6554
180138f1
AZ
65552013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6556
6557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6558
bbf37bdc
JM
65592013-12-05 Joseph Myers <joseph@codesourcery.com>
6560
e47cc4e0
JM
6561 [BZ #6810]
6562 * math/w_tgamma.c: Include <errno.h>.
6563 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6564 * math/w_tgammaf.c: Include <errno.h>.
6565 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6566 * math/w_tgammal.c: Include <errno.h>.
6567 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6568 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6569 underflow. Add more tgamma tests.
6570 * math/auto-libm-test-out: Regenerated.
6571 * sysdeps/i386/fpu/libm-test-ulps: Update.
6572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6573
bbf37bdc
JM
6574 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6575 sin, sinh, tan, tanh, tgamma, y0 and y1.
6576 * math/auto-libm-test-out: Regenerated.
6577 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6578 (TEST_COND_x86): Likewise.
6579 (M_E2l): Remove macro.
6580 (M_E3l): Likewise.
6581 (M_2_SQRT_PIl): Likewise.
6582 (M_SQRT_PIl): Likewise.
6583 (M_1_DIV_El): Likewise.
6584 (log_test_data): Use AUTO_TESTS_f_f.
6585 (log10_test_data): Likewise.
6586 (log1p_test_data): Likewise.
6587 (log2_test_data): Likewise.
6588 (sin_test_data): Likewise.
6589 (sin_tonearest_test_data): Likewise.
6590 (sin_towardzero_test_data): Likewise.
6591 (sin_downward_test_data): Likewise.
6592 (sin_upward_test_data): Likewise.
6593 (sinh_test_data): Likewise.
6594 (sinh_tonearest_test_data): Likewise.
6595 (sinh_towardzero_test_data): Likewise.
6596 (sinh_downward_test_data): Likewise.
6597 (sinh_upward_test_data): Likewise.
6598 (tan_test_data): Likewise.
6599 (tan_tonearest_test_data): Likewise.
6600 (tan_towardzero_test_data): Likewise.
6601 (tan_downward_test_data): Likewise.
6602 (tan_upward_test_data): Likewise.
6603 (tanh_test_data): Likewise.
6604 (tgamma_test_data): Likewise.
6605 (y0_test_data): Likewise.
6606 (y1_test_data): Likewise.
6607 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6608 (special_real_inputs): Add pi/4.
6609 * sysdeps/i386/fpu/libm-test-ulps: Update.
6610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6611
eb5ad6b9
AZ
66122013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6613
6614 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6615 "longjmp_target" static probes.
6616 (__longjmp): Rename to __longjmp_symbol.
6617 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6618 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6619 on which longjmp to generate.
6620 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6621 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6622 probe.
6623 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6624 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6625 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6626 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6627 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6628 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6630 __longjmp_symbol based on which __longjmp to generate.
6631 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6632 probe.
6633 (setjmp): Rename to setjmp_symbol.
6634 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6635 (_setjmp): Rename to _setjmp_symbol.
6636 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6637 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6638 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6639 which setjmp to generate.
6640 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6641 "longjmp_target" static probes.
6642
d136c6dc
SP
66432013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6644
9298ecba
SP
6645 * benchtests/README: Add note about output arguments.
6646 * benchtests/bench-sincos.c: Remove file.
6647 * benchtests/sincos-inputs: New file.
6648 * scripts/bench.pl: Identify output arguments and define
6649 static variables for them.
6650
232983e9
SP
6651 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6652
d136c6dc
SP
6653 [BZ #15941]
6654 * Makefile (INSTALL): Add install-plain.texi as the primary
6655 dependency.
6656 * manual/install-plain.texi: New file.
6657 * manual/install.texi: Include node directive only for
6658 non-plaintext output.
6659
699ff837
JM
66602013-12-04 Joseph Myers <joseph@codesourcery.com>
6661
ab07cea8
JM
6662 * stdlib/longlong.h: Update from GCC.
6663
699ff837
JM
6664 [BZ #6807]
6665 [BZ #15901]
6666 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6667 * math/w_j0f.c (y0f): Likewise.
6668 * math/w_j0l.c (__y0l): Likewise.
6669 * math/w_j1.c (y1): Likewise.
6670 * math/w_j1f.c (y1f): Likewise.
6671 * math/w_j1l.c (__y1l): Likewise
6672 * math/w_jn.c (yn): Likewise.
6673 * math/w_jnf.c (ynf): Likewise.
6674 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6675 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6676 value for Bessel function domain errors outside _SVID_ mode.
6677 Adjust sign of return value for yn (negative integer, 0).
6678 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6679 by zero in return for negative x and set sign appropriately for
6680 negative n.
6681 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6682 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6683 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6684 expectations in error cases.
6685 (y1_test_data): Likewise.
6686 (yn_test_data): Likewise.
6687 * sysdeps/i386/fpu/libm-test-ulps: Update.
6688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6689
5b118558
UW
66902013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6691
6692 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6693 "64" to "64-v1". Add "64-v2".
6694 (abi-64-options): Rename to ...
6695 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6696 (abi-64-condition): Rename to ...
6697 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6698 (abi-64-ld-soname): Rename to ...
6699 (abi-64-v1-ld-soname): ... this.
6700 (abi-64-v2-options): Define.
6701 (abi-64-v2-condition): Likewise.
6702 (abi-64-v2-ld-soname): Likewise.
6703 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6704 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6708
61cd8fe4
UW
67092013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6710 Alan Modra <amodra@gmail.com>
6711
6712 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6713 New versions for use with the ELFv2 ABI.
6714 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6715 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6716 declaration.
6717 (struct La_ppc64v2_retval): Likewise.
6718 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6719 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6720 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6721 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6722 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6723 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6724 Do not save or restore CR.
6725 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6726 (_dl_profile_resolve): Do no save or restore CR. Support extended
6727 return values for ELFv2 ABI. Fix location of FPR return registers.
6728 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6729 updated values for _CALL_ELF == 2.
6730 (La_regs, La_retval, int_retval): Likewise.
6731
8b8a692c
UW
67322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6733
6734 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6735 (FRAME_MIN_SIZE_PARM): Likewise.
6736 (FRAME_BACKCHAIN): Likewise.
6737 (FRAME_CR_SAVE): Likewise.
6738 (FRAME_LR_SAVE): Likewise.
6739 (FRAME_TOC_SAVE): Likewise.
6740 (FRAME_PARM_SAVE): Likewise.
6741 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6742 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6743 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6744 (call_mcount_parm_offset): New macro.
6745 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6746 (PROF): Use symbolic stack frame offsets.
6747 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6748 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6749 Redefine in terms of FRAME_MIN_SIZE.
6750 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6751 (_dl_profile_resolve): Likewise. Update comment.
6752 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6753 symbols stack frame offsets.
6754 (__sigsetjmp): Likewise.
6755 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6756 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6757 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6758 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6759
6760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6761 (FRAME_BACKCHAIN): Remove.
6762 (FRAME_CR_SAVE): Likewise.
6763 (FRAME_LR_SAVE): Likewise.
6764 (FRAME_COMPILER_DW): Likewise.
6765 (FRAME_LINKER_DW): Likewise.
6766 (FRAME_TOC_SAVE): Likewise.
6767 (FRAME_PARM_SAVE): Likewise.
6768 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6769 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6770 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6772 (CHECK_SP): Use symbolic stack frame offsets.
6773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6774 zone" instead of caller's parameter save area for temp storage.
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6776 Likewise. Also, use symbolic stack frame offsets.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6778 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6779 our own stack frame instead of the caller's.
6780 (__socket): Use symbolic stack frame offsets.
6781
122b66de
UW
67822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6783 Alan Modra <amodra@gmail.com>
6784
6785 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6786 Define.
6787 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6788 PPC64_LOCAL_ENTRY_OFFSET): Define.
6789 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6790 New function.
6791 (elf_machine_fixup_plt): Call it.
6792 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6793 reloc arguments.
6794 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6795 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6796 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6797 r2 before calling target.
6798
696caf1d
UW
67992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6800 Alan Modra <amodra@gmail.com>
6801
6802 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6803 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6804 versions of macros to support ELFv2 ABI.
6805 (LOCALENTRY): New macro.
6806 (ENTRY, EALIGN): Use it.
6807 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6808 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6809 fall through into ENTRY entry point.
6810 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6811 Only define if _CALL_ELF != 2.
6812
6813 (elf_machine_matches_host): Verify ABI version matches.
6814 (RTLD_START): Use LOCALENTRY.
6815 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6816 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6817 (PLT_ENTRY_WORDS): New macro.
6818 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6819 (elf_machine_runtime_setup): Support ELFv2 ABI.
6820 (elf_machine_fixup_plt): Likewise.
6821 (elf_machine_plt_conflict): Likewise.
6822 (resolve_ifunc): Likewise.
6823 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6824 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6825 Likewise.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6827 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6829 (makecontext): Support ELFv2 ABI.
6830 * elf/elf.h (EF_PPC64_ABI): Define.
6831
d31beafa
UW
68322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6833
6834 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6835 New assembler macro.
6836 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6837 [ASSEMBLER] (ENTRY): ... but instead here ...
6838 [ASSEMBLER] (EALIGN): ... and here.
6839 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6840 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6841 [!ASSEMBLER] (ENTRY_2): Use it.
6842 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6843 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6844 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6845 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6846 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6848 Use PPC64_LOAD_FUNCPTR.
6849
b525166b
UW
68502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6851
6852 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6853
7ec07d9a
AM
68542013-12-04 Alan Modra <amodra@gmail.com>
6855
6856 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6857 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6858 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6859 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6860
6861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6862 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6863 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6864 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6865 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6866 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6867
5162e7dd
UW
68682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6869
6870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6871 (__makecontext): Fix incorrect CFI when backtracing out of
6872 context created via makecontext.
6873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6874 (__setcontext): Fix incorrect CFI during switch to new context.
6875 (__novec_setcontext): Likewise.
6876
19e3372b
OB
68772013-12-04 Ondřej Bílka <neleai@seznam.cz>
6878
6879 [BZ #4772]
6880 * time/strptime_l.c (__strptime_internal): Allow modifiers
6881 in strptime.
6882 * time/tst-strptime.c (day_tests): Add testcase.
6883
6884
ecaf142d
SP
68852013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6886
6887 * scripts/bench.pl: Skip over blank lines.
6888
fbf964ae
PE
68892013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6890
6891 [BZ #926]
6892 * manual/time.texi (Calendar Time): Clarify what timezone functions
6893 use.
6894
fa60a674
AZ
68952013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6896
6897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6898
d674f0ef
OB
68992013-12-04 Ondřej Bílka <neleai@seznam.cz>
6900
6901 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6902 implementation.
6903 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6904 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6905 * debug/memset_chk.c (__memset_chk): Likewise.
6906 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6907 * debug/strncpy_chk.c: Likewise.
6908
17dea188
JM
69092013-12-03 Joseph Myers <joseph@codesourcery.com>
6910
749008ff
JM
6911 [BZ #15268]
6912 [BZ #15425]
6913 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6914 (__ieee754_exp): For possibly underflowing results, check size of
6915 result and force underflow exception if required.
6916 * math/auto-libm-test-in: Add more tests of exp.
6917 * math/auto-libm-test-out: Regenerated.
6918 * sysdeps/i386/fpu/libm-test-ulps: Update.
6919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6920
17dea188
JM
6921 [BZ #16283]
6922 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6923 * math/w_exp2f.c (__exp2f): Likewise.
6924 * math/w_exp2l.c (__exp2l): Likewise.
6925 * math/auto-libm-test-in: Do not allow missing errno on exp2
6926 underflow.
6927 * math/auto-libm-test-out: Regenerated.
6928
b20de2c3
OB
69292013-12-03 Ondřej Bílka <neleai@seznam.cz>
6930
6931 [BZ #16274]
6932 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6933 handle filename validation.
6934 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6935 (do_open): Delete.
6936
d8e2dbe3
JM
69372013-12-03 Joseph Myers <joseph@codesourcery.com>
6938
34e16df5
JM
6939 [BZ #6786]
6940 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6941 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6942 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6943 <float.h>.
6944 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6945 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6946 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6947 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6948 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6949 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6950 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6951 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6952 Add more erfc tests.
6953 * math/auto-libm-test-out: Regenerated.
6954 * sysdeps/i386/fpu/libm-test-ulps: Update.
6955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6956
d8e2dbe3
JM
6957 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6958 exp2, expm1, j0 and j1.
6959 * math/auto-libm-test-out: Regenerated.
6960 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6961 (erfc_test_data): Likewise.
6962 (exp_test_data): Likewise.
6963 (exp_tonearest_test_data): Likewise.
6964 (exp_towardzero_test_data): Likewise.
6965 (exp_downward_test_data): Likewise.
6966 (exp_upward_test_data): Likewise.
6967 (exp10_test_data): Likewise.
6968 (exp2_test_data): Likewise.
6969 (expm1_test_data): Likewise.
6970 (j0_test_data): Likewise.
6971 (j1_test_data): Likewise.
6972 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6973 (input_flag_type): Add flag_xfail_rounding.
6974 (input_flags): Add xfail-rounding.
6975 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6976 (output_for_one_input_case): Handle flag_xfail_rounding.
6977 * sysdeps/i386/fpu/libm-test-ulps: Update.
6978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6979
18d14251
AJ
69802013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6981
3d2e6075 6982 [BZ #16289]
18d14251
AJ
6983 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6984 division by 0.
6985
520d437b
SP
69862013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6987
6988 [BZ #16195]
6989 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6990 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6991 (STAP_PROBE0): New macro.
6992 (STAP_PROBE1): Likewise.
6993 (STAP_PROBE2): Likewise.
6994 (STAP_PROBE3): Likewise.
6995 (STAP_PROBE4): Likewise.
6996
416e0145
OB
69972013-12-02 Ondřej Bílka <neleai@seznam.cz>
6998
6999 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7000
9d17796a
SE
70012013-12-02 Steve Ellcey <sellcey@mips.com>
7002
7003 * benchtests/Makefile (bench): Add sqrt.
7004 (LDLIBS-bench-sqrt): New.
7005 * benchtests/sqrt-input: New.
7006
f524d6a8
PS
70072013-12-02 Pavel Simerda <psimerda@redhat.com>
7008
639a0ef8
PS
7009 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7010 (GAIH_EAI): Likewise.
7011 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7012 (gaih_inet): Likewise.
7013 (getaddrinfo): Don't use GAIH_EAI.
7014
f524d6a8
PS
7015 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7016 (struct gaih): Remove definition.
7017
df3aedaf
SP
70182013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7019
7020 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7021 Use HERRNOP directly.
7022
1ab19dec
AZ
70232013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7024
b42ad38d 7025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7026
176b0c79
JM
70272013-11-30 Joseph Myers <joseph@codesourcery.com>
7028
7029 * math/gen-auto-libm-tests.c (test_functions): Add more
7030 single-argument functions.
7031 (special_fill_pi_2): New function.
7032 (special_fill_minus_pi_2): Likewise.
7033 (special_fill_pi_6): Likewise.
7034 (special_fill_minus_pi_6): Likewise.
7035 (special_fill_pi_3): Likewise.
7036 (special_fill_2pi_3): Likewise.
7037 (special_fill_e): Likewise.
7038 (special_fill_1_e): Likewise.
7039 (special_fill_e_minus_1): Likewise.
7040 (special_real_inputs): Add more special inputs.
7041 (output_for_one_input_case): Do not require ERANGE on underflow to
7042 zero if round-to-nearest result does not underflow to zero, unless
7043 exact results required.
7044 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7045 atan, atanh, cbrt, cos and cosh.
7046 * math/auto-libm-test-out: Regenerated.
7047 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7048 (acos_tonearest_test_data): Likewise.
7049 (acos_towardzero_test_data): Likewise.
7050 (acos_downward_test_data): Likewise.
7051 (acos_upward_test_data): Likewise.
7052 (acosh_test_data): Likewise.
7053 (asin_test_data): Likewise.
7054 (asin_tonearest_test_data): Likewise.
7055 (asin_towardzero_test_data): Likewise.
7056 (asin_upward_test_data): Likewise.
7057 (asinh_test_data): Likewise.
7058 (atan_test_data): Likewise.
7059 (atanh_test_data): Likewise.
7060 (cbrt_test_data): Likewise.
7061 (cos_test_data): Likewise.
7062 (cos_tonearest_test_data): Likewise.
7063 (cos_towardzero_test_data): Likewise.
7064 (cos_downward_test_data): Likewise.
7065 (cos_upward_test_data): Likewise.
7066 (cosh_test_data): Likewise.
7067 (cosh_tonearest_test_data): Likewise.
7068 (cosh_towardzero_test_data): Likewise.
7069 (cosh_downward_test_data): Likewise.
7070 (cosh_upward_test_data): Likewise.
7071 * sysdeps/i386/fpu/libm-test-ulps: Update.
7072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7073
ffb536d0
JM
70742013-11-29 Joseph Myers <joseph@codesourcery.com>
7075
2a77a467
JM
7076 [BZ #6787]
7077 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7078 * math/w_exp10f.c (__exp10f): Likewise.
7079 * math/w_exp10l.c (__exp10l): Likewise.
7080 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7081 errno settings in existing tests.
7082
ea3bc4e8
JM
7083 [BZ #14032]
7084 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7085 precision control set to double precision.
7086 * sysdeps/i386/fpu/w_sqrt.c: New file.
7087 * math/auto-libm-test-in: Add more tests.
7088 * math/auto-libm-test-out: Update.
7089
0712c9d8
JM
7090 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7091 (sqrt_test_tonearest): New function.
7092 (sqrt_towardzero_test_data): New variable.
7093 (sqrt_test_towardzero): New function.
7094 (sqrt_downward_test_data): New variable.
7095 (sqrt_test_downward): New function.
7096 (sqrt_upward_test_data): New variable.
7097 (sqrt_test_upward): New function.
7098 (main): Call the new functions.
7099
ffb536d0
JM
7100 * math/gen-auto-libm-tests.c: New file.
7101 * math/auto-libm-test-in: Likewise.
7102 * math/auto-libm-test-out: New generated file.
7103 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7104 variables.
7105 (%beautify): Add generated representations of zero.
7106 (top level): Set $auto_input and call parse_auto_input.
7107 (beautify): Remove trailing "f" from hex float constants.
7108 (parse_args): Handle XFAIL_TEST.
7109 (convert_condition): New function.
7110 (or_value): Likewise.
7111 (or_cond_value): Likewise.
7112 (generate_testfile): Handle AUTO_TESTS_* lines.
7113 (parse_auto_input): New function.
7114 * math/libm-test.inc (XFAIL_TEST): New macro.
7115 (ERRNO_UNCHANGED): Update value.
7116 (ERRNO_EDOM): Likewise.
7117 (ERRNO_ERANGE): Likewise.
7118 (IGNORE_RESULT): Likewise.
7119 (TEST_COND_flt_32): New macro.
7120 (TEST_COND_dbl_64): Likewise.
7121 (TEST_COND_ldbl_96_intel): Likewise.
7122 (TEST_COND_ldbl_96_m68k): Likewise.
7123 (TEST_COND_ldbl_128): Likewise.
7124 (TEST_COND_ldbl_128ibm): Likewise.
7125 (TEST_COND_long32): Likewise.
7126 (TEST_COND_long64): Likewise.
7127 (TEST_COND_before_rounding): Likewise.
7128 (TEST_COND_after_rounding): Likewise.
7129 (enable_test): Handle XFAIL_TEST flag.
7130 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7131 with finite results.
7132 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7133 auto-libm-test-out.
7134
acd98a8e
AK
71352013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7136 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7137
7138 [BZ #16214]
7139 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7140 __tls_get_addr_internal instead of __tls_get_offset in order to
7141 avoid GOT pointer dependency. Make rtld export
7142 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7143 __tls_get_addr since we are a __tls_get_offset platform.
7144 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7145 GOT pointer being set up before.
7146 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7147
3c1c46a6
JM
71482013-11-28 Joseph Myers <joseph@codesourcery.com>
7149
7475aef5
JM
7150 * manual/math.texi (Errors in Math Functions): Document accuracy
7151 goals.
7152
8bca7cd8
JM
7153 [BZ #15004]
7154 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7155 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7156 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7158 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7160 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7163 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7170
91a1f3fe
JM
7171 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7172 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7173 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7174 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7175 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7176 Likewise.
7177 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7178 Likewise.
7179 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7180 Likewise.
7181 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7182 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7183 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7184 atomic-feupdateenv and flt-rounds.
7185 * sysdeps/powerpc/nofpu/Versions (libc): Add
7186 __atomic_feholdexcept, __atomic_feclearexcept,
7187 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7188 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7189 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7190 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7191 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7192 here.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7194 Update.
7195
c5df7609
JM
7196 * manual/arith.texi (FP Exceptions): Document that exceptions may
7197 not be raised when matherr is used.
7198 (Math Error Reporting): Document overflow in directed rounding
7199 modes. Document that errno may not be set when finite values are
7200 returned on overflow. Document intent to set errno on underflow
7201 only for underflow to zero.
7202
3c1c46a6
JM
7203 [BZ #16271]
7204 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7205 round-to-nearest then adjust result for other rounding modes.
7206 * include/fenv.h (fegetround): Use libm_hidden_proto.
7207 * math/fegetround.c (fegetround): Use libm_hidden_def.
7208 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7209 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7210 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7211 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7212 Likewise.
7213 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7214 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7215 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7216 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7217
5a4c6d53
SP
72182013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7219
7220 [BZ #16077]
7221 * nss/Versions (libnss_files): Add
7222 _nss_files_gethostbyname3_r.
7223 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7224 New function.
7225 (HOST_DB_LOOKUP): Remove macro.
7226 (_nss_files_gethostbyname_r): Implement function without the
7227 HOST_DB_LOOKUP macro.
7228 (_nss_files_gethostbyname2_r): Likewise.
7229
897b98ba
OB
72302013-11-28 Ondřej Bílka <neleai@seznam.cz>
7231
7232 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7233
6f476861
UB
72342013-11-26 Uros Bizjak <ubizjak@gmail.com>
7235
7236 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7237 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7238 warning.
7239
bd12ab55
AZ
72402013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7241
7242 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7243 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7244 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7245 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7246 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7247 __fe_nomask_env_priv and attribute_hidden.
7248 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7249 (libc_feupdateenv_test_ppc): Likewise.
7250 (libc_feresetround_ppc): Likewise.
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7252 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7253 compat_symbol macro.
7254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7255 (__fe_nomask_env): Likewise.
7256 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7257
52bb6543
OB
72582013-11-26 Ondřej Bílka <neleai@seznam.cz>
7259
7260 * string/Makefile: Remove ifunc tests.
7261 * string/test-string.h: Define TEST_IFUNC.
7262 * string/test-bcopy-ifunc.c: Remove.
7263 * string/test-bzero-ifunc.c: Likewise.
7264 * string/test-memccpy-ifunc.c: Likewise.
7265 * string/test-memchr-ifunc.c: Likewise.
7266 * string/test-memcmp-ifunc.c: Likewise.
7267 * string/test-memcpy-ifunc.c: Likewise.
7268 * string/test-memmem-ifunc.c: Likewise.
7269 * string/test-memmove-ifunc.c: Likewise.
7270 * string/test-mempcpy-ifunc.c: Likewise.
7271 * string/test-memrchr-ifunc.c: Likewise.
7272 * string/test-memset-ifunc.c: Likewise.
7273 * string/test-rawmemchr-ifunc.c: Likewise.
7274 * string/test-stpcpy-ifunc.c: Likewise.
7275 * string/test-stpncpy-ifunc.c: Likewise.
7276 * string/test-strcasecmp-ifunc.c: Likewise.
7277 * string/test-strcasestr-ifunc.c: Likewise.
7278 * string/test-strcat-ifunc.c: Likewise.
7279 * string/test-strchr-ifunc.c: Likewise.
7280 * string/test-strchrnul-ifunc.c: Likewise.
7281 * string/test-strcmp-ifunc.c: Likewise.
7282 * string/test-strcpy-ifunc.c: Likewise.
7283 * string/test-strcspn-ifunc.c: Likewise.
7284 * string/test-strlen-ifunc.c: Likewise.
7285 * string/test-strncasecmp-ifunc.c: Likewise.
7286 * string/test-strncat-ifunc.c: Likewise.
7287 * string/test-strncmp-ifunc.c: Likewise.
7288 * string/test-strncpy-ifunc.c: Likewise.
7289 * string/test-strnlen-ifunc.c: Likewise.
7290 * string/test-strpbrk-ifunc.c: Likewise.
7291 * string/test-strrchr-ifunc.c: Likewise.
7292 * string/test-strspn-ifunc.c: Likewise.
7293 * string/test-strstr-ifunc.c: Likewise.
7294
ab260039 72952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7296
7297 * benchtests/Makefile: Remove ifunc tests.
7298 * benchtests/bench-string.h: Define TEST_IFUNC.
7299 * benchtests/bench-bcopy-ifunc.c: Remove.
7300 * benchtests/bench-bzero-ifunc.c: Likewise.
7301 * benchtests/bench-memccpy-ifunc.c: Likewise.
7302 * benchtests/bench-memchr-ifunc.c: Likewise.
7303 * benchtests/bench-memcmp-ifunc.c: Likewise.
7304 * benchtests/bench-memcpy-ifunc.c: Likewise.
7305 * benchtests/bench-memmem-ifunc.c: Likewise.
7306 * benchtests/bench-memmove-ifunc.c: Likewise.
7307 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7308 * benchtests/bench-memrchr-ifunc.c: Likewise.
7309 * benchtests/bench-memset-ifunc.c: Likewise.
7310 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7311 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7312 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7313 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7314 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7315 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7316 * benchtests/bench-strcat-ifunc.c: Likewise.
7317 * benchtests/bench-strchr-ifunc.c: Likewise.
7318 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7319 * benchtests/bench-strcmp-ifunc.c: Likewise.
7320 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7321 * benchtests/bench-strcpy-ifunc.c: Likewise.
7322 * benchtests/bench-strcspn-ifunc.c: Likewise.
7323 * benchtests/bench-strlen-ifunc.c: Likewise.
7324 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7325 * benchtests/bench-strncat-ifunc.c: Likewise.
7326 * benchtests/bench-strncmp-ifunc.c: Likewise.
7327 * benchtests/bench-strncpy-ifunc.c: Likewise.
7328 * benchtests/bench-strnlen-ifunc.c: Likewise.
7329 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7330 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7331 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7332 * benchtests/bench-strspn-ifunc.c: Likewise.
7333 * benchtests/bench-strstr-ifunc.c: Likewise.
7334
73352013-11-26 Ondřej Bílka <neleai@seznam.cz>
7336
ab260039
OB
7337 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7338
d1d9eaf4 73392013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7340
d1d9eaf4
OB
7341 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7342 * rt/aio.h: Likewise.
7343 * sysdeps/gnu/bits/utmp.h: Likewise.
7344 * sysdeps/gnu/bits/utmpx.h: Likewise.
7345 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7346 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7347 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7348 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7349 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7350 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7351 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7352 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7353 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7354 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7355 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7356 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7357 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7359 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7360 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7361 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7362 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7363 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7364 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7365 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7366 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7367 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7368 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7369 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7371 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7372 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7373 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7374 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7375 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7376 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7377 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7378 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7379 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7380 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7381 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7382 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7383 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7384 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7385 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7386 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7387
a7624ed9
CD
73882013-11-25 Carlos O'Donell <carlos@redhat.com>
7389
7390 [BZ #16245]
7391 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7392 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7393
63cfe52b
JM
73942013-11-25 Joseph Myers <joseph@codesourcery.com>
7395
7396 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7397 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7398 Likewise.
7399
41e8926a
AZ
74002013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7401
7402 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7403 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7404 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7405 (__fesetround): Remove define.
7406 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7407 rounding and exceptions handling.
7408 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7409 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7410 (__fe_nomask_env): Likewise.
7411 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7412 __fegetround instead of fegetround.
7413 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7414 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7415
6851bd4d
RM
74162013-11-21 Roland McGrath <roland@hack.frob.com>
7417
070906ff
RM
7418 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7419 it's there.
7420
6851bd4d
RM
7421 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7422
84ae135d
MI
74232013-11-21 Meador Inge <meadori@codesourcery.com>
7424
7425 [BZ #11157]
7426 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7427 (encrypt_r): Likewise.
7428 * malloc/obstack.h (obstack_free): Likewise.
7429 * posix/unistd.h (encrypt): Likewise.
7430
daf75146
GM
74312013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7432
7433 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7434 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7435 DL_CALL_DT_FINI() that call the functions directly.
7436 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7437 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7438 * elf/dl-fini.c: Likewise.
7439
10ad46bc
OB
74402013-11-20 Ondřej Bílka <neleai@seznam.cz>
7441
7442 * malloc/hooks.c (memalign_check): Add alignment rounding.
7443 * malloc/malloc.c (_mid_memalign): New function.
7444 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7445 Implement by calling _mid_memalign.
7446 * manual/probes.texi (Memory Allocation Probes): Remove
7447 memory_valloc_retry and memory_pvalloc_retry.
7448
f3fd2628
SP
74492013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7450
4712799f
SP
7451 * locale/programs/locarchive.c (open_archive): Add const
7452 qualifier to ARCHIVEFNAME and copy default fname to
7453 DEFAULT_FNAME.
7454
0417b20f
SP
7455 [BZ #15601]
7456 * libio/tst-widetext.input: Rename Oriya to Odia.
7457 * locale/iso-639.def: Likewise.
7458
f3fd2628
SP
7459 * manual/probes.texi (Mathematical Function Probes): Add
7460 documentation for sin, cos, asin and acos probes.
7461 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7462 (__sin32): Add slowasin probe.
7463 (__cos32): Add slowacos probe.
7464 (__mpsin): Add slowsin probe.
7465 (__mpcos): Add slowcos probe.
7466
73c1ce4f
JM
74672013-11-19 Joseph Myers <joseph@codesourcery.com>
7468
7469 [BZ #15483]
7470 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7471 thread-local __sim_exceptions_thread and global
7472 __sim_exceptions_global.
7473 (__sim_disabled_exceptions): Change to thread-local
7474 __sim_disabled_exceptions_thread and global
7475 __sim_disabled_exceptions_global.
7476 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7477 and global __sim_round_mode_global.
7478 (__simulate_exceptions): Use thread-local floating-point state and
7479 set global state from it as needed.
7480 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7481 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7482 __sim_round_mode_thread.
7483 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7484 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7485 and global __sim_exceptions_global.
7486 (__sim_disabled_exceptions): Change to thread-local
7487 __sim_disabled_exceptions_thread and global
7488 __sim_disabled_exceptions_global.
7489 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7490 and global __sim_round_mode_global.
7491 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7492 (SIM_SET_GLOBAL): Likewise.
7493 * sysdeps/powerpc/soft-fp/sfp-machine.h
7494 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7495 __sim_round_mode_thread.
7496 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7497 __sim_disabled_exceptions_thread.
7498 (__sim_exceptions): Change to __sim_exceptions_thread.
7499 (__sim_disabled_exceptions): Change to
7500 __sim_disabled_exceptions_thread.
7501 (__sim_round_mode): Change to __sim_round_mode_thread.
7502 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7503 thread-local floating-point state and set global state from it as
7504 needed.
7505 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7506 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7507 (__sim_disabled_exceptions): Remove extern declaration.
7508 (feenableexcept): Use thread-local floating-point state and set
7509 global state from it as needed.
7510 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7511 extern declaration.
7512 (__sim_disabled_exceptions): Likewise.
7513 (__sim_round_mode): Likewise.
7514 (__fegetenv): Use thread-local floating-point state.
7515 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7516 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7517 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7518 floating-point state and set global state from it as needed.
7519 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7520 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7521 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7522 Likewise.
7523 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7524 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7525 Likewise.
7526 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7527 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7528 Use __sim_round_mode_thread.
7529 * math/test-fenv-tls.c: New file.
7530 * math/Makefile (tests): Add test-fenv-tls.
7531 ($(objpfx)test-fenv-tls): Depend on
7532 $(common-objpfx)nptl/libpthread.so.
7533
b5449b12
AS
75342013-11-19 Andreas Schwab <schwab@suse.de>
7535
7536 * locale/programs/locale.c (show_info): Decode wordarray elements.
7537 * locale/categories.def (LC_MONETARY): Add element for
7538 _NL_MONETARY_CRNCYSTR.
7539 * locale/C-monetary.c (conversion_rate): New variable.
7540 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7541 element.
7542
e186536b
CM
75432013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7544
7545 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7546 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7547
5c349950
PP
75482013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7549
7550 * elf/Makefile (tst-auxv): New test.
7551 * elf/tst-auxv.c: New
7552 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7553
699df45b
JM
75542013-11-18 Joseph Myers <joseph@codesourcery.com>
7555
7556 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7557 (hidden_proto): Caller changed.
7558 (hidden_tls_proto): New macro.
7559 (libc_hidden_tls_proto): Likewise.
7560 (rtld_hidden_tls_proto): Likewise.
7561 (libm_hidden_tls_proto): Likewise.
7562 (libresolv_hidden_tls_proto): Likewise.
7563 (librt_hidden_tls_proto): Likewise.
7564 (libdl_hidden_tls_proto): Likewise.
7565 (libnss_files_hidden_tls_proto): Likewise.
7566 (libnsl_hidden_tls_proto): Likewise.
7567 (libnss_nisplus_hidden_tls_proto): Likewise.
7568 (libutil_hidden_tls_proto): Likewise.
7569
b7589107
OB
75702013-11-18 Ondřej Bílka <neleai@seznam.cz>
7571
7572 [BZ #10253]
7573 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7574 (decompose_rpath): Defer expansion to fillin_rpath.
7575 (_dl_init_paths): Pass linkmap to fillin_rpath.
7576
250c23bd
RS
75772013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7578
7579 * benchtests/Makefile: Add strsep.
7580 * benchtests/bench-strsep.c: New file: strsep benchtest.
7581 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7582
a7931fcf
AS
75832013-11-18 Andreas Schwab <schwab@suse.de>
7584
7585 * locale/programs/locale.c (show_info) [case byte]: Check for
7586 '\377' instead of '\177'.
7587 * locale/C-monetary.c (not_available): Always use "\377".
7588 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7589 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7590 detect unavailable sign_posn locale elements.
7591 * locale/localeconv.c (__localeconv): For grouping and
7592 mon_grouping handle "\177" and "\377" like no grouping.
7593 (INT_ELEM): New macro. Use it to set all numeric members.
7594 * locale/programs/ld-monetary.c (monetary_read)
7595 <tok_mon_grouping>: Normalize single -1 to the empty string.
7596 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7597 Likewise.
7598
728dab0e
OB
75992013-11-07 Ondřej Bílka <neleai@seznam.cz>
7600
7601 [BZ #16055]
7602 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7603 when we match (nil).
7604 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7605
66294491
JM
76062013-11-16 Joseph Myers <joseph@codesourcery.com>
7607
ce665817
JM
7608 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7609 (NO_TEST_INLINE): Update value.
7610 (ERRNO_UNCHANGED): Likewise.
7611 (ERRNO_EDOM): Likewise.
7612 (ERRNO_ERANGE): Likewise.
7613 (IGNORE_RESULT): Likewise.
7614 (check_float_internal): Check signs of NaN results if
7615 TEST_NAN_SIGN used.
7616 (check_complex): Pass TEST_NAN_SIGN flag through to second
7617 check_float_internal call.
7618 (copysign_test_data): Add tests with quiet NaNs as second
7619 argument. Use TEST_NAN_SIGN.
7620 (fabs_test_data): Add test of negative quiet NaN argument. Use
7621 TEST_NAN_SIGN.
7622 (signbit_test_data): Add tests of quiet NaN argument.
7623 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7624
ee1466a9
JM
7625 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7626 $ignore_result.
7627 (parse_args): Handle function results specified as IGNORE.
7628 * math/libm-test.inc (IGNORE_RESULT): New macro.
7629 (check_float_internal): Do not check numerical result if flag
7630 IGNORE_RESULT set.
7631 (check_complex): Pass through IGNORE_RESULT to second
7632 check_float_internal call.
7633 (check_int): Do not check numerical result if flag IGNORE_RESULT
7634 set.
7635 (check_long): Likewise.
7636 (check_bool): Likewise.
7637 (check_longlong): Likewise.
7638 (lrint_test_data): Add tests of infinite and NaN arguments.
7639 (lrint_tonearest_test_data): Likewise.
7640 (lrint_towardzero_test_data): Likewise.
7641 (lrint_downward_test_data): Likewise.
7642 (lrint_upward_test_data): Likewise.
7643 (llrint_test_data): Likewise.
7644 (llrint_tonearest_test_data): Likewise.
7645 (llrint_towardzero_test_data): Likewise.
7646 (llrint_downward_test_data): Likewise.
7647 (llrint_upward_test_data): Likewise.
7648 (lround_test_data): Likewise.
7649 (llround_test_data): Likewise.
7650
14407b7e
JM
7651 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7652 (ERRNO_UNCHANGED): Update value.
7653 (ERRNO_EDOM): Likewise.
7654 (ERRNO_ERANGE): Likewise.
7655 (NO_TEST_INLINE_FLOAT): New macro.
7656 (NO_TEST_INLINE_DOUBLE): Likewise.
7657 (enable_test): New function.
7658 (RUN_TEST_f_f): Check enable_test before running test.
7659 (RUN_TEST_2_f): Likewise.
7660 (RUN_TEST_fff_f): Likewise.
7661 (RUN_TEST_c_f): Likewise.
7662 (RUN_TEST_f_f1): Likewise.
7663 (RUN_TEST_fF_f1): Likewise.
7664 (RUN_TEST_fI_f1): Likewise.
7665 (RUN_TEST_ffI_f1): Likewise.
7666 (RUN_TEST_c_c): Likewise.
7667 (RUN_TEST_cc_c): Likewise.
7668 (RUN_TEST_f_i): Likewise.
7669 (RUN_TEST_f_i_tg): Likewise.
7670 (RUN_TEST_ff_i_tg): Likewise.
7671 (RUN_TEST_f_b): Likewise.
7672 (RUN_TEST_f_b_tg): Likewise.
7673 (RUN_TEST_f_l): Likewise.
7674 (RUN_TEST_f_L): Likewise.
7675 (RUN_TEST_fFF_11): Likewise.
7676 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7677 conditionals.
7678 (cosh_test_data): Likewise.
7679 (exp_test_data): Likewise.
7680 (expm1_test_data): Likewise.
7681 (hypot_test_data): Likewise.
7682 (pow_test_data): Likewise.
7683 (sinh_test_data): Likewise.
7684 (tanh_test_data): Likewise.
7685 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7686 flags argument.
7687
ca07f197
JM
7688 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7689 tests with quiet NaN input and output.
7690 (acosh_test_data): Likewise.
7691 (asin_test_data): Likewise.
7692 (asinh_test_data): Likewise.
7693 (atan_test_data): Likewise.
7694 (atanh_test_data): Likewise.
7695 (atan2_test_data): Likewise.
7696 (cbrt_test_data): Likewise.
7697 (cos_test_data): Likewise.
7698 (cosh_test_data): Likewise.
7699 (erf_test_data): Likewise.
7700 (erfc_test_data): Likewise.
7701 (exp_test_data): Likewise.
7702 (exp10_test_data): Likewise.
7703 (exp2_test_data): Likewise.
7704 (expm1_test_data): Likewise.
7705 (hypot_test_data): Likewise.
7706 (j0_test_data): Likewise.
7707 (j1_test_data): Likewise.
7708 (jn_test_data): Likewise.
7709 (lgamma_test_data): Likewise.
7710 (log_test_data): Likewise.
7711 (log10_test_data): Likewise.
7712 (log1p_test_data): Likewise.
7713 (log2_test_data): Likewise.
7714 (pow_test_data): Likewise.
7715 (scalb_test_data): Likewise.
7716 (sin_test_data): Likewise.
7717 (sincos_test_data): Likewise.
7718 (sinh_test_data): Likewise.
7719 (tan_test_data): Likewise.
7720 (tanh_test_data): Likewise.
7721 (tgamma_test_data): Likewise.
7722 (y0_test_data): Likewise.
7723 (y1_test_data): Likewise.
7724 (yn_test_data): Likewise.
7725
66294491
JM
7726 [BZ #16167]
7727 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7728 argument being NaN and avoid computations with second argument in
7729 that case.
7730 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7731 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7732 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7733
1820b143
CL
77342013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7735
7736 * locale/iso-639.def: Add Chitwani Tharu (the).
7737
714bd261
AS
77382013-11-14 Andreas Schwab <schwab@suse.de>
7739
7740 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7741 word instead of empty string.
7742
7ab44563
AZ
77432013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7744
7745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7746 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7748 (__fe_nomask_env): Likewise.
7749
e8470ea2
SE
77502013-11-13 Steve Ellcey <sellcey@mips.com>
7751
7752 * benchtests/bench-timing.h: Include time.h.
7753
17c1d9f0
L
77542013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7755
7756 [BZ #15997]
7757 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7758 to 3.4.0 for x32.
7759 * sysdeps/unix/sysv/linux/configure: Regenerated.
7760
9310c284
JM
77612013-11-13 Joseph Myers <joseph@codesourcery.com>
7762
7763 [BZ #16151]
7764 * stdlib/strtod_l.c (round_and_return): Do not consider
7765 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7766 exponent one less than half the least subnormal exponent.
7767 * stdlib/test-strtod-round-data: Add more tests.
7768 * stdlib/tst-strtod-round.c (tests): Regenerated.
7769
7a2ad8cf
AZ
77702013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7771
7772 [BZ #14143]
7773 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7774 (__fe_mask_env): Likewise.
7775 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7776 libm_hidden_proto and add function prototype.
7777 (__fe_mask_env): Add function prototype.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7779 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7781 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7783 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7784
50727aa7
MS
77852013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7786
b2f386c1 7787 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7788 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7789
a615be46
MS
77902013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7791
7792 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7793 of htab_find_slot().
7794
7ddace62
DM
77952013-11-11 David S. Miller <davem@davemloft.net>
7796
7797 [BZ #16150]
7798 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7799 symbol in the non-vis3 case in static builds.
7800 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7801 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7802 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7803 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7804
9182aa67
JK
78052013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7806
7807 [BZ #387]
7808 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7809 it is empty.
7810
450a2e2d
AZ
78112013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7812
b2f386c1
SP
7813 * benchtests/Makefile: Add bench-strtod.
7814 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7815
8ec3f656
AS
78162013-11-11 Andreas Schwab <schwab@suse.de>
7817
7818 [BZ #16153]
7819 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7820 terminating NUL in key length.
7821
76a9b998
AZ
78222013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7823
7824 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7825 Add artificial ODP entry for vDSO symbol for PPC64.
7826 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7827 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7828
e4368156
OB
78292013-11-07 Ondřej Bílka <neleai@seznam.cz>
7830
7831 [BZ #15374]
7832 * nss/getent.c (services_keys): Recognize services starting with digit.
7833
8d6bb57c
DM
78342013-11-06 David S. Miller <davem@davemloft.net>
7835
7836 [BZ #15985]
7837 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7838 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7839
e256c421
WN
78402013-11-06 Will Newton <will.newton@linaro.org>
7841
7842 * manual/memory.texi (Malloc Examples): Remove register
7843 keyword from examples.
7844
f6e12daa 78452013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7846
f6e12daa 7847 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7848
9d880655
AS
78492013-11-04 Joseph Myers <joseph@codesourcery.com>
7850
fd2f9486 7851 [BZ #6981]
9d880655
AS
7852 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7853 depending on [__GCC_IEC_559 > 0].
7854 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7855 depending on [__GCC_IEC_559_COMPLEX > 0].
7856
ae129d3c
CL
78572013-11-03 Chris Leonard <cjl@sugarlabs.org>
7858
7859 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7860 to iso-639.def.
7861
4a15c2a4 78622013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7863
7864 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7865
8b35e35d
OB
78662013-11-01 Ondřej Bílka <neleai@seznam.cz>
7867
7868 [BZ #16112]
7869 * malloc/malloc (malloc_info): Do not handle first bin as
7870 special case.
7871
1d70fd6c
CL
78722013-11-01 Chris Leonard <cjl@sugarlabs.org>
7873
7874 * locale/iso-639.def: Add Central Nahuatl (nhn).
7875
8c5c2600
BH
78762013-11-01 Bruno Haible <bruno@clisp.org>
7877
7878 [BZ #7003]
7879 * manual/math.texi (BSD Random): Specify range upper bound as
7880 in POSIX.
7881
da5579c2
CL
78822013-10-31 Chris Leonard <cjl@sugarlabs.org>
7883
7884 * locale/iso-639.def: Add Meadow Mari (mhr).
7885
5d30d853
OB
78862013-10-31 Ondřej Bílka <neleai@seznam.cz>
7887
7888 [BZ #14752], [BZ #15763]
7889 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7890 Validate name.
7891 * rt/tst_shm.c: Add test for escaping directory.
7892
a4966c61
AS
78932013-10-31 Andreas Schwab <schwab@suse.de>
7894
8a43e768 7895 [BZ #15917]
a4966c61
AS
7896 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7897 followed by 'x' as part of digit sequence.
7898 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7899
28d708c4
MAP
79002013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7901
7902 [BZ #16037]
7903 * configure.ac: allow GNU Make 4.0 and greater.
7904 * configure: Regenerated.
7905
a56ee40b
WN
79062013-10-30 Will Newton <will.newton@linaro.org>
7907
7908 [BZ #16038]
7909 * malloc/hooks.c (memalign_check): Limit alignment to the
7910 maximum representable power of two.
7911 * malloc/malloc.c (__libc_memalign): Likewise.
7912 * malloc/tst-memalign.c (do_test): Add test for very
7913 large alignment values.
7914 * malloc/tst-posix_memalign.c (do_test): Likewise.
7915
c6e4925d
OB
79162013-10-30 Ondřej Bílka <neleai@seznam.cz>
7917
7918 [BZ #11087]
7919 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7920 (munmap_chunk): Likewise.
7921 (mremap_chunk): Likewise.
7922
79232013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7924
8a43e768 7925 [BZ #15799]
bbea82f7
OB
7926 * stdlib/div.c (div): Remove obsolete code.
7927 * stdlib/ldiv.c (ldiv): Likewise.
7928 * stdlib/lldiv.c (lldiv): Likewise.
7929
977f4b31
SP
79302013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7931
7932 [BZ #16071]
7933 * nss/nss_files/files-XXX.c (get_contents_ret): New
7934 enumerator.
7935 (get_contents): New function.
7936 (internal_getent): Use it. Expand size of LINEBUFLEN.
7937
cb8a6dbd
MF
79382013-10-30 Mike Frysinger <vapier@gentoo.org>
7939
7940 * configure.in: Moved to ...
7941 * configure.ac: ... here. Change reference to configure.in
7942 to configure.ac.
7943 * sysdeps/arm/preconfigure.ac: ... here.
7944 configure.in to configure.ac.
7945 * sysdeps/gnu/configure.in: Moved to ...
7946 * sysdeps/gnu/configure.ac: ... here.
7947 * sysdeps/i386/configure.in: Moved to ...
7948 * sysdeps/i386/configure.ac: ... here.
7949 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7950 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7951 * sysdeps/mach/configure.in: Moved to ...
7952 * sysdeps/mach/configure.ac: ... here.
7953 * sysdeps/mach/hurd/configure.in: Moved to ...
7954 * sysdeps/mach/hurd/configure.ac: ... here.
7955 * sysdeps/powerpc/configure.in: Moved to ...
7956 * sysdeps/powerpc/configure.ac: ... here.
7957 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7958 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7959 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7960 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7961 * sysdeps/s390/s390-32/configure.in: Moved to ...
7962 * sysdeps/s390/s390-32/configure.ac: ... here.
7963 * sysdeps/s390/s390-64/configure.in: Moved to ...
7964 * sysdeps/s390/s390-64/configure.ac: ... here.
7965 * sysdeps/sh/configure.in: Moved to ...
7966 * sysdeps/sh/configure.ac: ... here.
7967 * sysdeps/sparc/configure.in: Moved to ...
7968 * sysdeps/sparc/configure.ac: ... here.
7969 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7970 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7971 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7972 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7973 * sysdeps/x86_64/configure.in: Moved to ...
7974 * sysdeps/x86_64/configure.ac: ... here.
7975 * sysdeps/x86_64/preconfigure.in: Moved to ...
7976 * sysdeps/x86_64/preconfigure.ac: ... here.
7977 * aclocal.m4: Change reference to configure.in to configure.ac.
7978 * config.h.in: Likewise.
7979 * manual/install.texi: Likewise.
7980 * manual/maint.texi: Likewise.
7981 * Makefile: Likewise.
7982 * malloc/Makefile: Likewise.
7983 * nscd/Makefile: Likewise.
7984 * Makeconfig: Change reference to configure.in and
7985 preconfigure.in to configure.ac and preconfigure.ac
7986 respectively.
7987 * INSTALL: Regenerated.
7988 * configure: Likewise.
7989 * sysdeps/gnu/configure: Likewise.
7990 * sysdeps/i386/configure: Likewise.
7991 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7992 * sysdeps/mach/configure: Likewise.
7993 * sysdeps/mach/hurd/configure: Likewise.
7994 * sysdeps/powerpc/configure: Likewise.
7995 * sysdeps/powerpc/powerpc32/configure: Likewise.
7996 * sysdeps/powerpc/powerpc64/configure: Likewise.
7997 * sysdeps/s390/s390-32/configure: Likewise.
7998 * sysdeps/s390/s390-64/configure: Likewise.
7999 * sysdeps/sh/configure: Likewise.
8000 * sysdeps/sparc/configure: Likewise.
8001 * sysdeps/unix/sysv/linux/configure: Likewise.
8002 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8003 * sysdeps/x86_64/configure: Likewise.
8004 * sysdeps/x86_64/preconfigure: Likewise.
8005
36a4953a
AS
80062013-10-29 Andreas Schwab <schwab@suse.de>
8007
8008 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8009
c79a1204
SP
80102013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8011
dfa1b402
SP
8012 * benchtests/pow-inputs: Add new inputs.
8013
54f73d9c
SP
8014 * benchtests/exp-inputs: Add new inputs.
8015
c79a1204
SP
8016 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8017 conditional check for return value.
8018 (__cos32): Likewise.
8019
67beb545 80202013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8021
8022 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8023 to provide a boost for large inputs with word alignment.
8024 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8025 implementation based on optimized PPC64 strcpy.
8026 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8027 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8028 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8029 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8030
151659f6
OB
80312013-10-25 Ondřej Bílka <neleai@seznam.cz>
8032
482a077e 8033 [BZ #2801]
151659f6
OB
8034 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8035
10b0f26b
OB
80362013-10-25 Ondřej Bílka <neleai@seznam.cz>
8037
8038 [BZ #14876]
8039 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8040 * time/tst-strptime.c (day_tests): Add testcase.
8041
ca42d35e
OB
80422013-10-25 Ondřej Bílka <neleai@seznam.cz>
8043
482a077e 8044 [BZ #14029]
ca42d35e
OB
8045 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8046
52e6d801
FB
80472013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8048
8049 [BZ #16074]
8050 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8051 MAP_FAILED on error.
8052
7cbcdb36
SP
80532013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8054
8055 [BZ #16072]
8056 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8057 heap for large requests.
8058
894f3f10
AM
80592013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8060
8061 [BZ #9954]
8062 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8063 result if the result has no associated interface.
8064 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8065 interface for all 127.X.Y.Z addresses.
8066
b85545a6
CL
80672013-10-24 Chris Leonard <cjl@sugarlabs.org>
8068
8069 * locale/iso-639.def: Add Ligurian (lij)
8070
d1f23d46
OB
80712013-10-21 Ondřej Bílka <neleai@seznam.cz>
8072
8073 [BZ #15825]
8074 * sunrpc/rpc_main.c: Document rpcgen -5.
8075
4db5b08f
MS
80762013-10-19 Michael Stahl <mstahl@redhat.com>
8077
8078 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8079
a471e96a
OB
80802013-10-19 Ondřej Bílka <neleai@seznam.cz>
8081
d1f23d46 8082 [BZ #10278]
a471e96a
OB
8083 * posix/glob.c: Match only directories when trailing slash is present.
8084 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8085 (main): Add testcase.
8086
45c30c61
OB
80872013-10-19 Ondřej Bílka <neleai@seznam.cz>
8088
8089 [BZ #15670]
8090 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8091
484c12fb
CD
80922013-10-18 Carlos O'Donell <carlos@redhat.com>
8093
3d7dc513
CD
8094 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8095 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8096 AUTH_DES and cindex for FIPS 140-2.
8097 (DES Encryption): Add cindex FIPS 46-3.
8098
484c12fb
CD
8099 * locale/locarchive.h (struct locarhandle): Add fname.
8100 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8101 if an optional argument was specified to --list-archive,
8102 otherwise NULL.
8103 * locale/programs/locarchive.c (show_archive_content): Take new
8104 argument fname and pass it via ah.fname to open_archive.
8105 * locale/programs/localedef.h: Update decl.
8106 (open_archive): If AH->fname is non-null, open that file
8107 rather than the default file name, and don't ignore ENOENT.
8108 (create_archive): Set AH.fname to NULL.
8109 (delete_locales_from_archive): Likewise.
8110 (add_locales_to_archive): Likewise.
8111 * locale/programs/locfile.c (write_all_categories): Likewise.
8112
3c8325fb
JM
81132013-10-18 Joseph Myers <joseph@codesourcery.com>
8114 Aldy Hernandez <aldyh@redhat.com>
8115
8116 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8117 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8118 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8119 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8120 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8121 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8122 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8123 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8124 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8125 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8126 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8127 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8128 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8129 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8130 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8131 Likewise.
8132 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8133 Likewise.
8134 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8135 Likewise.
8136 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8137 Likewise.
8138 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8139 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8140 Likewise.
8141 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8142 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8143 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8144 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8145 Likewise.
8146 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8147 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8148 * sysdeps/powerpc/preconfigure: Likewise.
8149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8150 Likewise.
8151 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8152 Replace contents of file by #include of <fenv_libc.h>.
8153 * sysdeps/powerpc/soft-fp/sfp-machine.h
8154 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8155 and <sys/prctl.h>.
8156 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8157 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8158 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8159 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8160 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8161 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8163 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8164 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8165 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8166 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8167 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8169 Allow copysignl PLT reference to be missing.
8170
5abe0682
RS
81712013-10-18 Richard Sandiford <richard@codesourcery.com>
8172 Joseph Myers <joseph@codesourcery.com
8173
8174 [BZ #15948]
8175 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8176 single character.
8177 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8178
c7738d08
SP
81792013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8180
8181 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8182 * elf/tst-tls1.c: Likewise.
8183 * elf/tst-tls10.h: Likewise.
8184 * elf/tst-tls14.c: Likewise.
8185 * elf/tst-tls2.c: Likewise.
8186 * elf/tst-tls3.c: Likewise.
8187 * elf/tst-tls4.c: Likewise.
8188 * elf/tst-tls5.c: Likewise.
8189 * elf/tst-tls6.c: Likewise.
8190 * elf/tst-tls7.c: Likewise.
8191 * elf/tst-tls8.c: Likewise.
8192 * elf/tst-tls9.c: Likewise.
8193 * elf/tst-tlsmod1.c: Likewise.
8194 * elf/tst-tlsmod13.c: Likewise.
8195 * elf/tst-tlsmod13a.c: Likewise.
8196 * elf/tst-tlsmod14a.c: Likewise.
8197 * elf/tst-tlsmod16a.c: Likewise.
8198 * elf/tst-tlsmod16b.c: Likewise.
8199 * elf/tst-tlsmod2.c: Likewise.
8200 * elf/tst-tlsmod3.c: Likewise.
8201 * elf/tst-tlsmod4.c: Likewise.
8202 * elf/tst-tlsmod5.c: Likewise.
8203 * elf/tst-tlsmod6.c: Likewise.
8204
0bfcf2c7
OB
82052013-10-18 Ondřej Bílka <neleai@seznam.cz>
8206
8207 [BZ #12486]
8208 * malloc/malloc.c: remove checks for statistics.
8209
264aad1e
OB
82102013-10-17 Ondřej Bílka <neleai@seznam.cz>
8211
8212 [BZ #15277]
8213 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8214 * inet/tst-network.c: Add testcase.
8215
b957ced8
AS
82162013-10-17 Andreas Schwab <schwab@suse.de>
8217
8218 [BZ #15218]
8219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8220 to determine canonical name.
8221
c5d5d574
OB
82222013-10-17 Ondřej Bílka <neleai@seznam.cz>
8223
8224 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8225 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8226 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8228 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8229 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8233 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8242 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8244 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8245 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8246 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8248 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8249 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8254 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8257 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8258 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8274 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8282
e5c2c2d0
JM
82832013-10-17 Joseph Myers <joseph@codesourcery.com>
8284
8285 [BZ #16041]
8286 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8287 make result into a quiet NaN.
8288
51ca9e29
JM
82892013-10-16 Joseph Myers <joseph@codesourcery.com>
8290
8291 * soft-fp/adddf3.c: Fix horizontal whitespace.
8292 * soft-fp/addsf3.c: Likewise.
8293 * soft-fp/addtf3.c: Likewise.
8294 * soft-fp/divdf3.c: Likewise.
8295 * soft-fp/divsf3.c: Likewise.
8296 * soft-fp/divtf3.c: Likewise.
8297 * soft-fp/double.h: Likewise.
8298 * soft-fp/eqdf2.c: Likewise.
8299 * soft-fp/eqsf2.c: Likewise.
8300 * soft-fp/eqtf2.c: Likewise.
8301 * soft-fp/extenddftf2.c: Likewise.
8302 * soft-fp/extended.h: Likewise.
8303 * soft-fp/extendsfdf2.c: Likewise.
8304 * soft-fp/extendsftf2.c: Likewise.
8305 * soft-fp/extendxftf2.c: Likewise.
8306 * soft-fp/fixdfdi.c: Likewise.
8307 * soft-fp/fixdfsi.c: Likewise.
8308 * soft-fp/fixdfti.c: Likewise.
8309 * soft-fp/fixsfdi.c: Likewise.
8310 * soft-fp/fixsfsi.c: Likewise.
8311 * soft-fp/fixsfti.c: Likewise.
8312 * soft-fp/fixtfdi.c: Likewise.
8313 * soft-fp/fixtfsi.c: Likewise.
8314 * soft-fp/fixtfti.c: Likewise.
8315 * soft-fp/fixunsdfdi.c: Likewise.
8316 * soft-fp/fixunsdfsi.c: Likewise.
8317 * soft-fp/fixunsdfti.c: Likewise.
8318 * soft-fp/fixunssfdi.c: Likewise.
8319 * soft-fp/fixunssfsi.c: Likewise.
8320 * soft-fp/fixunssfti.c: Likewise.
8321 * soft-fp/fixunstfdi.c: Likewise.
8322 * soft-fp/fixunstfsi.c: Likewise.
8323 * soft-fp/fixunstfti.c: Likewise.
8324 * soft-fp/floatdidf.c: Likewise.
8325 * soft-fp/floatdisf.c: Likewise.
8326 * soft-fp/floatditf.c: Likewise.
8327 * soft-fp/floatsidf.c: Likewise.
8328 * soft-fp/floatsisf.c: Likewise.
8329 * soft-fp/floatsitf.c: Likewise.
8330 * soft-fp/floattidf.c: Likewise.
8331 * soft-fp/floattisf.c: Likewise.
8332 * soft-fp/floattitf.c: Likewise.
8333 * soft-fp/floatundidf.c: Likewise.
8334 * soft-fp/floatundisf.c: Likewise.
8335 * soft-fp/floatunditf.c: Likewise.
8336 * soft-fp/floatunsidf.c: Likewise.
8337 * soft-fp/floatunsisf.c: Likewise.
8338 * soft-fp/floatunsitf.c: Likewise.
8339 * soft-fp/floatuntidf.c: Likewise.
8340 * soft-fp/floatuntisf.c: Likewise.
8341 * soft-fp/floatuntitf.c: Likewise.
8342 * soft-fp/fmadf4.c: Likewise.
8343 * soft-fp/fmasf4.c: Likewise.
8344 * soft-fp/fmatf4.c: Likewise.
8345 * soft-fp/gedf2.c: Likewise.
8346 * soft-fp/gesf2.c: Likewise.
8347 * soft-fp/getf2.c: Likewise.
8348 * soft-fp/ledf2.c: Likewise.
8349 * soft-fp/lesf2.c: Likewise.
8350 * soft-fp/letf2.c: Likewise.
8351 * soft-fp/muldf3.c: Likewise.
8352 * soft-fp/mulsf3.c: Likewise.
8353 * soft-fp/multf3.c: Likewise.
8354 * soft-fp/negdf2.c: Likewise.
8355 * soft-fp/negsf2.c: Likewise.
8356 * soft-fp/negtf2.c: Likewise.
8357 * soft-fp/op-1.h: Likewise.
8358 * soft-fp/op-2.h: Likewise.
8359 * soft-fp/op-4.h: Likewise.
8360 * soft-fp/op-8.h: Likewise.
8361 * soft-fp/op-common.h: Likewise.
8362 * soft-fp/quad.h: Likewise.
8363 * soft-fp/single.h: Likewise.
8364 * soft-fp/soft-fp.h: Likewise.
8365 * soft-fp/sqrtdf2.c: Likewise.
8366 * soft-fp/sqrtsf2.c: Likewise.
8367 * soft-fp/sqrttf2.c: Likewise.
8368 * soft-fp/subdf3.c: Likewise.
8369 * soft-fp/subsf3.c: Likewise.
8370 * soft-fp/subtf3.c: Likewise.
8371 * soft-fp/truncdfsf2.c: Likewise.
8372 * soft-fp/trunctfdf2.c: Likewise.
8373 * soft-fp/trunctfsf2.c: Likewise.
8374 * soft-fp/trunctfxf2.c: Likewise.
8375 * soft-fp/unorddf2.c: Likewise.
8376 * soft-fp/unordsf2.c: Likewise.
8377 * soft-fp/unordtf2.c: Likewise.
8378
9ebb0332
JM
83792013-10-15 Joseph Myers <joseph@codesourcery.com>
8380
8381 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8382 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8383
4b1a6d8b
OB
83842013-10-15 Ondřej Bílka <neleai@seznam.cz>
8385
8386 * elf/dl-libc.c: Clear initfini list after freeing.
8387
1e145589
JM
83882013-10-14 Joseph Myers <joseph@codesourcery.com>
8389
8390 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8391 * soft-fp/addsf3.c: Likewise.
8392 * soft-fp/addtf3.c: Likewise.
8393 * soft-fp/divdf3.c: Likewise.
8394 * soft-fp/divsf3.c: Likewise.
8395 * soft-fp/divtf3.c: Likewise.
8396 * soft-fp/double.h: Likewise.
8397 * soft-fp/eqdf2.c: Likewise.
8398 * soft-fp/eqsf2.c: Likewise.
8399 * soft-fp/eqtf2.c: Likewise.
8400 * soft-fp/extenddftf2.c: Likewise.
8401 * soft-fp/extended.h: Likewise.
8402 * soft-fp/extendsfdf2.c: Likewise.
8403 * soft-fp/extendsftf2.c: Likewise.
8404 * soft-fp/extendxftf2.c: Likewise.
8405 * soft-fp/fixdfdi.c: Likewise.
8406 * soft-fp/fixdfsi.c: Likewise.
8407 * soft-fp/fixdfti.c: Likewise.
8408 * soft-fp/fixsfdi.c: Likewise.
8409 * soft-fp/fixsfsi.c: Likewise.
8410 * soft-fp/fixsfti.c: Likewise.
8411 * soft-fp/fixtfdi.c: Likewise.
8412 * soft-fp/fixtfsi.c: Likewise.
8413 * soft-fp/fixtfti.c: Likewise.
8414 * soft-fp/fixunsdfdi.c: Likewise.
8415 * soft-fp/fixunsdfsi.c: Likewise.
8416 * soft-fp/fixunsdfti.c: Likewise.
8417 * soft-fp/fixunssfdi.c: Likewise.
8418 * soft-fp/fixunssfsi.c: Likewise.
8419 * soft-fp/fixunssfti.c: Likewise.
8420 * soft-fp/fixunstfdi.c: Likewise.
8421 * soft-fp/fixunstfsi.c: Likewise.
8422 * soft-fp/fixunstfti.c: Likewise.
8423 * soft-fp/floatdidf.c: Likewise.
8424 * soft-fp/floatdisf.c: Likewise.
8425 * soft-fp/floatditf.c: Likewise.
8426 * soft-fp/floatsidf.c: Likewise.
8427 * soft-fp/floatsisf.c: Likewise.
8428 * soft-fp/floatsitf.c: Likewise.
8429 * soft-fp/floattidf.c: Likewise.
8430 * soft-fp/floattisf.c: Likewise.
8431 * soft-fp/floattitf.c: Likewise.
8432 * soft-fp/floatundidf.c: Likewise.
8433 * soft-fp/floatundisf.c: Likewise.
8434 * soft-fp/floatunsidf.c: Likewise.
8435 * soft-fp/floatunsisf.c: Likewise.
8436 * soft-fp/floatuntidf.c: Likewise.
8437 * soft-fp/floatuntisf.c: Likewise.
8438 * soft-fp/floatuntitf.c: Likewise.
8439 * soft-fp/fmadf4.c: Likewise.
8440 * soft-fp/fmasf4.c: Likewise.
8441 * soft-fp/fmatf4.c: Likewise.
8442 * soft-fp/gedf2.c: Likewise.
8443 * soft-fp/gesf2.c: Likewise.
8444 * soft-fp/getf2.c: Likewise.
8445 * soft-fp/ledf2.c: Likewise.
8446 * soft-fp/lesf2.c: Likewise.
8447 * soft-fp/letf2.c: Likewise.
8448 * soft-fp/muldf3.c: Likewise.
8449 * soft-fp/mulsf3.c: Likewise.
8450 * soft-fp/multf3.c: Likewise.
8451 * soft-fp/negdf2.c: Likewise.
8452 * soft-fp/negsf2.c: Likewise.
8453 * soft-fp/negtf2.c: Likewise.
8454 * soft-fp/op-1.h: Likewise.
8455 * soft-fp/op-2.h: Likewise.
8456 * soft-fp/op-4.h: Likewise.
8457 * soft-fp/op-8.h: Likewise.
8458 * soft-fp/op-common.h: Likewise.
8459 * soft-fp/quad.h: Likewise.
8460 * soft-fp/single.h: Likewise.
8461 * soft-fp/soft-fp.h: Likewise.
8462 * soft-fp/sqrtdf2.c: Likewise.
8463 * soft-fp/sqrtsf2.c: Likewise.
8464 * soft-fp/sqrttf2.c: Likewise.
8465 * soft-fp/subdf3.c: Likewise.
8466 * soft-fp/subsf3.c: Likewise.
8467 * soft-fp/subtf3.c: Likewise.
8468 * soft-fp/truncdfsf2.c: Likewise.
8469 * soft-fp/trunctfdf2.c: Likewise.
8470 * soft-fp/trunctfsf2.c: Likewise.
8471 * soft-fp/trunctfxf2.c: Likewise.
8472 * soft-fp/unorddf2.c: Likewise.
8473 * soft-fp/unordsf2.c: Likewise.
8474 * soft-fp/unordtf2.c: Likewise.
8475
17c48a60
OB
84762013-10-14 Ondřej Bílka <neleai@seznam.cz>
8477
8478 [BZ #15672]
8479 * misc/error.c (error_tail): Fix possible buffer overflow.
8480
cabba934
OB
84812013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8482
8483 [BZ #13028]
8484 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8485 address.
8486
94bf958a
PM
84872013-10-14 P. J. McDermott <pj@pehjota.net>
8488
8489 [BZ #832]
8490 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8491 testing pipefail option.
8492
71b4dea7
JM
84932013-10-12 Joseph Myers <joseph@codesourcery.com>
8494
8495 * soft-fp/double.h: Indent preprocessor directives inside #if.
8496 * soft-fp/extended.h: Likewise.
8497 * soft-fp/op-2.h: Likewise.
8498 * soft-fp/op-4.h: Likewise.
8499 * soft-fp/op-common.h: Likewise.
8500 * soft-fp/quad.h: Likewise.
8501 * soft-fp/single.h: Likewise.
8502 * soft-fp/soft-fp.h: Likewise.
8503
55602758
YC
85042013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8505
8506 * iconv/iconv_prog.c: Fix typos.
8507 * stdio-common/psiginfo-data.h: Likewise.
8508
9cd83302
RT
85092013-10-12 Reuben Thomas <rrt@sc3d.org>
8510
8511 [BZ #15764]
8512 * locale/setlocale.c: Fix typo.
8513
99fd9f47
JM
85142013-10-12 Joseph Myers <joseph@codesourcery.com>
8515
b7ea74f0
JM
8516 [BZ #16036]
8517 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8518 signaling NaN arguments.
8519 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8520 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8521
8a509447
JM
8522 [BZ #14910]
8523 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8524 unordered operands.
8525 * soft-fp/gesf2.c (__gesf2): Likewise.
8526 * soft-fp/getf2.c (__getf2): Likewise.
8527 * soft-fp/ledf2.c (__ledf2): Likewise.
8528 * soft-fp/lesf2.c (__lesf2): Likewise.
8529 * soft-fp/letf2.c (__letf2): Likewise.
8530
98998e9f
JM
8531 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8532 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8533 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8534 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8535 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8536 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8537 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8538 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8539 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8540 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8541 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8542 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8543 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8544 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8545 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8546 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8547 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8548 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8549 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8550 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8551 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8552 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8553 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8554 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8555 * soft-fp/floattidf.c (__floattidf): Likewise.
8556 * soft-fp/floattisf.c (__floattisf): Likewise.
8557 * soft-fp/floattitf.c (__floattitf): Likewise.
8558 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8559 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8560 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8561 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8562 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8563 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8564 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8565 * soft-fp/gesf2.c (__gesf2): Likewise.
8566 * soft-fp/getf2.c (__getf2): Likewise.
8567 * soft-fp/ledf2.c (__ledf2): Likewise.
8568 * soft-fp/lesf2.c (__lesf2): Likewise.
8569 * soft-fp/letf2.c (__letf2): Likewise.
8570
8edc4a11
JM
8571 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8572 Undefine and redefine.
8573 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8574 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8575 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8576 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8577 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8578 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8579 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8580 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8581 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8582 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8583 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8584 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8585 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8586 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8587 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8588
8399acaf
JM
8589 [BZ #16032]
8590 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8591 without decrementing exponent if mantissa >= that for the
8592 denominator, not >.
8593 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8594 denominator, not >. Decrement exponent in < case instead of
8595 incrementing in >= case.
8596 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8597 without decrementing exponent if mantissa >= that for the
8598 denominator, not >.
8599
99fd9f47
JM
8600 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8601 computing saturated result for unsigned overflow.
8602
10e1cf6b
SP
86032013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8604 Jeff Law <law@redhat.com>
8605
8606 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8607 (atan2Mp): Add systemtap probe marker.
8608 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8609 (__ieee754_log): Add systemtap probe marker.
8610 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8611 (atanMp): Add systemtap probe marker.
8612 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8613 (tanMp): Add systemtap probe marker.
8614 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8615 (__slowexp): Add systemtap probe marker.
8616 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8617 (__slowpow): Add systemtap probe marker.
8618 * manual/probes.texi: Document probes.
8619
3d110c7c
EB
86202013-10-11 Eric Biggers <ebiggers3@gmail.com>
8621
8622 [BZ #15362]
8623 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8624 written.
8625 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8626 written.
8627 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8628 written to buffer but not flushed.
8629 * libio/iofwrite_u.c: Likewise.
8630 * libio/iopadn.c: Return bytes returned even if EOF was
8631 encountered.
8632 * libio/iowpadn.c: Likewise.
8633 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8634 if _IO_padn does not write the whole buffer.
8635 [!COMPILE_WPRINTF] (PAD): Likewise.
8636
75b4202a
DM
86372013-10-10 David S. Miller <davem@davemloft.net>
8638
8639 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8640 directory block.
8641
6c6352e6
JM
86422013-10-10 Joseph Myers <joseph@codesourcery.com>
8643
33b853c3
JM
8644 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8645 instead of FSF address.
8646 * soft-fp/fixdfti.c: Likewise.
8647 * soft-fp/fixsfti.c: Likewise.
8648 * soft-fp/fixtfti.c: Likewise.
8649 * soft-fp/fixunsdfti.c: Likewise.
8650 * soft-fp/fixunssfti.c: Likewise.
8651 * soft-fp/fixunstfti.c: Likewise.
8652 * soft-fp/floattidf.c: Likewise.
8653 * soft-fp/floattisf.c: Likewise.
8654 * soft-fp/floattitf.c: Likewise.
8655 * soft-fp/floatuntidf.c: Likewise.
8656 * soft-fp/floatuntisf.c: Likewise.
8657 * soft-fp/floatuntitf.c: Likewise.
8658 * soft-fp/trunctfxf2.c: Likewise.
8659
6c6352e6
JM
8660 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8661 * soft-fp/fixdfti.c: Likewise.
8662 * soft-fp/fixsfti.c: Likewise.
8663 * soft-fp/fixtfti.c: Likewise.
8664 * soft-fp/fixunsdfti.c: Likewise.
8665 * soft-fp/fixunssfti.c: Likewise.
8666 * soft-fp/fixunstfti.c: Likewise.
8667 * soft-fp/floattidf.c: Likewise.
8668 * soft-fp/floattisf.c: Likewise.
8669 * soft-fp/floattitf.c: Likewise.
8670 * soft-fp/floatuntidf.c: Likewise.
8671 * soft-fp/floatuntisf.c: Likewise.
8672 * soft-fp/floatuntitf.c: Likewise.
8673 * soft-fp/trunctfxf2.c: Likewise.
8674
3bf78b71
DM
86752013-10-10 David S. Miller <davem@davemloft.net>
8676
8677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8678
6f10289e
JM
86792013-10-10 Joseph Myers <joseph@codsourcery.com>
8680
bd878fc0
JM
8681 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8682 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8683 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8684 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8685 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8686 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8687 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8688
6f10289e
JM
8689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8690 for NaNs before doing comparisons on argument.
8691 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8692 Likewise.
8693
321e2684
WN
86942013-10-10 Will Newton <will.newton@linaro.org>
8695
8696 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8697 passed to _int_memalign does not overflow.
8698
40fefba1
TR
86992013-10-10 Torvald Riegel <triegel@redhat.com>
8700
8701 * scripts/bench.pl: Add include-sources directive.
8702 * benchtests/README: Update documentation.
8703
2ae21ed2
JM
87042013-10-10 Joseph Myers <joseph@codesourcery.com>
8705
dcc2dd3f
JM
8706 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8707 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8708 instead of FP_INIT_ROUNDMODE.
8709 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8710 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8711
2ae21ed2
JM
8712 [BZ #16034]
8713 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8714 copy class of input value.
8715 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8716 not handle exceptions.
8717 * soft-fp/negsf2.c (__negsf2): Likewise.
8718 * soft-fp/negtf2.c (__negtf2): Likewise.
8719 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8720
cb8f9562
JM
87212013-10-09 Joseph Myers <joseph@codesourcery.com>
8722
8723 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8724 semicolon. From Linux kernel.
8725
5b60c59d
AB
87262013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8727
8728 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8729
b86835ca
YC
87302013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8731
8732 [BZ #156]
8733 * manual/socket.texi: Added statement about buffer
8734 for gethostbyname2_r.
8735
e7044ea7
OB
87362013-10-08 Ondřej Bílka <neleai@seznam.cz>
8737
8738 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8739 Use .p2align directive instead, throughout.
8740 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8741 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8742 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8743 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8744 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8745 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8746 * sysdeps/x86_64/strchr.S: Likewise.
8747 * sysdeps/x86_64/strrchr.S: Likewise.
8748
09544cbc
SP
87492013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8750
88576635
SP
8751 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8752
e7b2d1dd
SP
8753 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8754
09544cbc
SP
8755 * sysdeps/generic/math_private.h (__mpsin1): Remove
8756 declaration.
8757 (__mpcos1): Likewise.
8758 (__mpsin): New argument __range_reduce.
8759 (__mpcos): Likewise.
8760 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8761 (slow): Use __mpsin and __mpcos.
8762 (slow1): Likewise.
8763 (slow2): Likewise.
8764 (sloww): Likewise.
8765 (sloww1): Likewise.
8766 (sloww2): Likewise.
8767 (bsloww): Likewise.
8768 (bsloww1): Likewise.
8769 (bsloww2): Likewise.
8770 (cslow2): Likewise.
8771 (csloww): Likewise.
8772 (csloww1): Likewise.
8773 (csloww2): Likewise.
8774 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8775 range_reduce. Merge in __mpsin1.
8776 (__mpcos): Likewise.
8777 (__mpsin1): Remove.
8778 (__mpcos1): Likewise.
8779
7602d070
JM
87802013-10-07 Joseph Myers <joseph@codesourcery.com>
8781
8782 * locale/loadlocale.c (_nl_intern_locale_data): Use
8783 LOCFILE_ALIGNED_P.
8784 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8785 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8786 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8787 obstack data is appropriately aligned.
8788 (obstack_int32_grow_fast): Likewise.
8789 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8790 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8791 (add_locale_uint32_array): Likewise.
8792
a357259b
SP
87932013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8794
8795 * benchtests/Makefile: Remove ARGLIST and RET variables.
8796 ($(objpfx)bench-%.c): Pass only function name to the script.
8797 * benchtests/README: Update documentation.
8798 * benchtests/acos-inputs: Add new directives.
8799 * benchtests/acosh-inputs: Likewise.
8800 * benchtests/asin-inputs: Likewise.
8801 * benchtests/asinh-inputs: Likewise.
8802 * benchtests/atan-inputs: Likewise.
8803 * benchtests/atanh-inputs: Likewise.
8804 * benchtests/cos-inputs: Likewise.
8805 * benchtests/cosh-inputs: Likewise.
8806 * benchtests/exp-inputs: Likewise.
8807 * benchtests/log-inputs: Likewise.
8808 * benchtests/pow-inputs: Likewise.
8809 * benchtests/rint-inputs: Likewise.
8810 * benchtests/sin-inputs: Likewise.
8811 * benchtests/sinh-inputs: Likewise.
8812 * benchtests/tan-inputs: Likewise.
8813 * benchtests/tanh-inputs: Likewise.
8814 * scripts/bench.pl: Add support for new directives.
8815
9ec1b13d
AM
88162013-10-07 Alan Modra <amodra@gmail.com>
8817
8818 * README: Fix careless merge.
8819
8b7d57cd
AM
88202013-10-05 Alan Modra <amodra@gmail.com>
8821
8822 * NEWS: Mention powerpc64le support and bugs fixed.
8823 * README: Both big-endian and little-endian powerpc64 supported.
8824
7b7bab13
ST
88252013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8826
8827 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8828 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8829 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8830 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8831
d39baad1
RA
88322013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8833
8834 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8835 match prototype.
8836
cd78f7e7
JM
88372013-10-04 Joseph Myers <joseph@codesourcery.com>
8838
29d73d86
JM
8839 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8840 Move -mhard-float appending from
8841 ports/sysdeps/powerpc/powerpc32/Makefile.
8842 [$(with-fp) = yes] (ASFLAGS): Likewise.
8843 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8844 * sysdeps/powerpc/nofpu: Move directory from
8845 ports/sysdeps/powerpc/nofpu.
8846 * sysdeps/powerpc/soft-fp: Move directory from
8847 ports/sysdeps/powerpc/soft-fp.
8848 * sysdeps/powerpc/powerpc32/405: Move directory from
8849 ports/sysdeps/powerpc/powerpc32/405.
8850 * sysdeps/powerpc/powerpc32/440: Move directory from
8851 ports/sysdeps/powerpc/powerpc32/440.
8852 * sysdeps/powerpc/powerpc32/464: Move directory from
8853 ports/sysdeps/powerpc/powerpc32/464.
8854 * sysdeps/powerpc/powerpc32/476: Move directory from
8855 ports/sysdeps/powerpc/powerpc32/476.
8856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8857 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8859 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8861 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8863 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8865 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8866 * README: Update for powerpc-*-linux-gnu software floating point
8867 support in libc.
8868
e246b347
JM
8869 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8870 case to powerpc/powerpc32*.
8871 * sysdeps/unix/sysv/linux/configure: Regenerated.
8872
89c2003e
JM
8873 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8874 (_FPU_MASK_OM): Define as 0x04.
8875 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8876 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8877 0x00c10080.
8878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8879 0x0000003c.
8880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8881
cd78f7e7
JM
8882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8883 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8884 getcontext_e500.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8886 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8887 setcontext_e500.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8889 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8890 and setcontext_e500.
8891
c755294d
CL
88922013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8893
8894 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8895
e16d221c
SP
88962013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8897
8898 * manual/threads.texi (Default Thread Attributes): Fix typo.
8899
215c7d43
WN
89002013-10-04 Will Newton <will.newton@linaro.org>
8901
8902 * malloc/Makefile: Add tst-memalign.
8903 * malloc/tst-memalign.c: New file.
8904
27d0461b
WN
8905 * malloc/tst-posix_memalign.c: Add comments.
8906 (do_test): Add comments and call free on all potentially
8907 allocated pointers. Add space after cast.
8908
1bc92709
WN
8909 * malloc/tst-pvalloc.c: Add comments.
8910 (do_test): Add comments and call free on all potentially
8911 allocated pointers. Remove duplicate check for NULL pointer.
8912 Add space after cast.
8913
66a9be9d
WN
8914 * malloc/tst-valloc.c: Add comments.
8915 (do_test): Add comments and call free on all potentially
8916 allocated pointers. Remove duplicate check for NULL pointer.
8917 Add space after cast.
8918
4cb81307
AM
89192013-10-04 Alan Modra <amodra@gmail.com>
8920
8921 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8922 Use stdint types in rather than __attribute__((mode())).
8923 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8924
f8e3e9f3
AM
89252013-10-04 Alan Modra <amodra@gmail.com>
8926
8927 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8928 Correct handling of unaligned relocs for little-endian.
8929 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8930
8f9ebb08
AM
89312013-10-04 Alan Modra <amodra@gmail.com>
8932
8933 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8934 * configure: Regenerate.
8935 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8936 * shlib-versions: Likewise.
8937
0edf96c2
AM
89382013-10-04 Alan Modra <amodra@gmail.com>
8939
8940 * string/tester.c (test_memrchr): Increment reported test cycle.
8941
e0f7a380
AM
89422013-10-04 Alan Modra <amodra@gmail.com>
8943
8944 * string/test-memcpy.c (do_one_test): When reporting errors, print
8945 string address and don't overrun end of string.
8946
466b0393
AM
89472013-10-04 Alan Modra <amodra@gmail.com>
8948
8949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8950 insrdi. Make better use of reg selection to speed exit slightly.
8951 Schedule entry path a little better. Remove useless "are we done"
8952 checks on entry to main loop. Handle wrapping around zero address.
8953 Correct main loop count. Handle single left-over word from main
8954 loop inline rather than by using loop_small. Remove extra word
8955 case in loop_small caused by wrong loop count. Add little-endian
8956 support.
8957 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8958 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8959 cache hint.
8960 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8961 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8962 support. Avoid rlwimi.
8963 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8964
3be87c77
AM
89652013-10-04 Alan Modra <amodra@gmail.com>
8966
8967 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8968 insrdi. Formatting.
3be87c77
AM
8969 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8970 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8971 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8972 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8973 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8974 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8975
759cfef3
AM
89762013-10-04 Alan Modra <amodra@gmail.com>
8977
8978 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8979 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8980 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8981 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8982 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8983 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8984 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8985 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8986 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8987 use of regs. Use power7 mtocrf. Tidy function tails.
8988
fe6e95d7
AM
89892013-10-04 Alan Modra <amodra@gmail.com>
8990
8991 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8992 Formatting. Consistently use rXXX register defines or rN defines.
8993 Use early exit labels that avoid restoring unused non-volatile regs.
8994 Make cr field use more consistent with rWORDn compares. Rename
8995 regs used as shift registers for unaligned loop, using rN defines
8996 for short lifetime/multiple use regs.
8997 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8998 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8999 addi 1,1,64 to pop stack frame. Simplify return value code.
9000 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9001
664318c3
AM
90022013-10-04 Alan Modra <amodra@gmail.com>
9003
9004 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9005 support. Correct typos, formatting. Optimize tail. Use insrdi
9006 rather than rlwimi.
9007 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9008 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9009 little-endian support. Correct typos.
9010 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9011 rather than rlwimi.
9012 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9013 in loop and entry code to keep "and." results.
9014 (strchr): Add little-endian support. Comment. Move cntlzd
9015 earlier in tail.
9016 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9017
43b84013
AM
90182013-10-04 Alan Modra <amodra@gmail.com>
9019
9020 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9021 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9022 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9023 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9024
8a7413f9
AM
90252013-10-04 Alan Modra <amodra@gmail.com>
9026
9027 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9028 (rTMP): Define as r11.
9029 (strcmp): Add little-endian support. Optimise tail.
9030 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9031 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9032 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9033 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9034 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9035 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9037
33ee81de
AM
90382013-10-04 Alan Modra <amodra@gmail.com>
9039
9040 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9041 little-endian support. Remove unnecessary "are we done" tests.
9042 Handle "s" wrapping around zero and extremely large "size".
9043 Correct main loop count. Handle single left-over word from main
9044 loop inline rather than by using small_loop. Correct comments.
9045 Delete "zero" tail, use "end_max" instead.
9046 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9047
db9b4570
AM
90482013-10-04 Alan Modra <amodra@gmail.com>
9049
9050 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9051 support. Don't branch over align.
9052 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9053 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9054 support. Rearrange tmp reg use to suit. Comment.
9055 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9056
f7c399cf
AM
90572013-10-04 Alan Modra <amodra@gmail.com>
9058
9059 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9060
0b2c2ace
AM
90612013-10-04 Alan Modra <amodra@gmail.com>
9062
9063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9064 conditional form of branch and link when obtaining pc.
9065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9066
02f04a6c
AM
90672013-10-04 Alan Modra <amodra@gmail.com>
9068
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9070 HIWORD/LOWORD.
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9073
9b874b2f
AM
90742013-10-04 Alan Modra <amodra@gmail.com>
9075
9076 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9077 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9078 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9079 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9080 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9081 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9082 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9083 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9084 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9085 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9086
be1e5d31
AB
90872013-10-04 Anton Blanchard <anton@au1.ibm.com>
9088 Alistair Popple <alistair@ozlabs.au.ibm.com>
9089 Alan Modra <amodra@gmail.com>
9090
9091 [BZ #15723]
9092 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9093 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9094 _dl_hwcap access for little-endian.
9095 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9096 destroy vmx regs when saving unaligned.
9097 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9098 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9099 destroy vmx regs when saving unaligned.
9100
fef13a78
AM
91012013-10-04 Alan Modra <amodra@gmail.com>
9102
9103 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9104 Don't use a union to pack hi/low value.
9105
76a66d51
AB
91062013-10-04 Anton Blanchard <anton@au1.ibm.com>
9107
9108 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9109 for little-endian.
9110 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9111 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9112 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9113 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9114 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9115
6a31fe7f
AM
91162013-10-04 Alan Modra <amodra@gmail.com>
9117
9118 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9119 constants to usual value for .cst8 section, and remove redundant
9120 high address load.
9121 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9122 constant for 0x1p52. Load little-endian words of double from
9123 correct stack offsets.
9124
7b88401f
AM
91252013-10-04 Alan Modra <amodra@gmail.com>
9126
9127 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9128 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9129 words of double from correct stack offsets.
9130 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9131 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9132 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9133 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9134 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9135 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9136 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9137 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9138 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9139 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9140 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9141 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9142 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9143 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9144 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9145 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9146 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9147
9c008155
AM
91482013-10-04 Alan Modra <amodra@gmail.com>
9149
9150 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9151 64-bit int/double union.
9152 (_FPU_SETCW): Likewise.
9153 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9154 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9155
da13146d
AM
91562013-10-04 Alan Modra <amodra@gmail.com>
9157
9158 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9159 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9160
603e8410
AM
91612013-10-04 Alan Modra <amodra@gmail.com>
9162
9163 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9164 use vector int constants.
9165 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9166
4a28b3ca
AB
91672013-10-04 Anton Blanchard <anton@au1.ibm.com>
9168
9169 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9170 array with long long.
9171 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9172 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9173 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9174 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9175 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9176 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9177 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9178 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9179 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9180 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9181 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9182 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9183 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9184
2ca85d2b
AB
91852013-10-04 Anton Blanchard <anton@au1.ibm.com>
9186
9187 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9188 (__signbit): Likewise. Correct for little-endian.
9189 (__signbitl): Call __signbit.
9190 (lrint): Correct for little-endian.
9191 (lrintf): Call lrint.
9192
62a728ae
AM
91932013-10-04 Alan Modra <amodra@gmail.com>
9194
9195 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9196 union 32-bit int array member with 64-bit int array.
9197 (t515, tm256): Double rather than long double.
9198 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9199
32c301df
AM
92002013-10-04 Alan Modra <amodra@gmail.com>
9201
9202 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9203 Delete.
9204 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9206 version of math_ldbl.h.
9207
650ef4bd
AM
92082013-10-04 Alan Modra <amodra@gmail.com>
9209
9210 [BZ #15734], [BZ #15735]
9211 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9212 all uses of ieee875 long double macros and unions. Simplify test
9213 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9214 ldbl_extract_mantissa value for ix,iy exponents. Properly
9215 normalize after ldbl_extract_mantissa, and don't add hidden bit
9216 already handled. Don't treat low word of ieee854 mantissa like
9217 low word of IBM long double and mask off bit when testing for
9218 zero.
9219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9220 all uses of ieee875 long double macros and unions. Simplify tests
9221 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9222 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9223 two1022, instead use their values. Recognise that tests for large
9224 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9225 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9226 Rewrite all uses of ieee875 long double macros and unions. Simplify
9227 test for 0.0L and nan. Correct negation.
9228 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9229 ieee875 long double macros and unions. Correct output for large
9230 magnitude x. Correct absolute value calculation.
9231 (__erfcl): Likewise.
9232 * math/libm-test.inc: Add tests for errors discovered in IBM long
9233 double versions of fmodl, remainderl, erfl and erfcl.
9234
765714ca
AM
92352013-10-04 Alan Modra <amodra@gmail.com>
9236
9237 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9238 all uses of ieee854 long double macros and unions. Simplify tests
9239 for long doubles that are fully specified by the high double.
9240 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9241 Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9243 Remove dead code too.
9244 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9245 (__ieee754_ynl): Likewise.
9246 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9247 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9248 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9249 Remove dead code too.
9250 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9252 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9253 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9254 Simplify.
9255 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9256 Simplify.
9257 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9258 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9259 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9260 Comment on variable precision.
9261 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9263 Likewise.
9264 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9265 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9266 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9267 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9268 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9269
4ebd120c
AM
92702013-10-04 Alan Modra <amodra@gmail.com>
9271
9272 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9273 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9274 all uses of ieee854 long double macros and unions.
9275 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9276 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9277 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9278 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9279 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9280 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9281 Likewise.
9282 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9283 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9284 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9285 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9286 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9287 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9288 Simplify sign and nan test too.
9289 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9290 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9291 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9292 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9293 Likewise.
9294 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9295 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9296 Likewise.
9297 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9298 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9299 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9300 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9301 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9303
1b6adf88
AM
93042013-10-04 Alan Modra <amodra@gmail.com>
9305
9306 * stdio-common/printf_size.c (__printf_size): Don't use
9307 union ieee854_long_double in fpnum union.
9308 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9309 signbit macro to retrieve sign from long double.
9310 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9311 retrieve sign from long double.
9312 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9313 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9314 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9315 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9316 * math/test-misc.c (main): Don't use union ieee854_long_double.
9317
4cf69995
AM
93182013-10-04 Alan Modra <amodra@gmail.com>
9319
9320 [BZ #15680]
9321 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9322 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9323 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9324 calculation. Remove unnecessary test for denormal exponent.
9325 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9326 Correct handling of denormals. Avoid undefined shift behaviour.
9327 Correct normalisation of low mantissa when low double is denormal.
9328 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9329 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9330 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9331 Correct normalisation of low mantissa. Test for overflow of high
9332 mantissa and normalise.
9333 (ldbl_nearbyint): Use more readable constant for two52.
9334 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9335 (__mpn_construct_long_double): Fix test for overflow of high
9336 mantissa and correct normalisation. Avoid undefined shift.
9337
9605ca6c
AM
93382013-10-04 Alan Modra <amodra@gmail.com>
9339
9340 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9341 (union ibm_extended_long_double): Define as an array of ieee754_double.
9342 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9343 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9344 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9345 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9353
975569d0
JM
93542013-10-03 Joseph Myers <joseph@codesourcery.com>
9355
d3d23756
JM
9356 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9357 page size instead of calling getpagesize.
9358
975569d0
JM
9359 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9360 (LOCFILE_ALIGN_MASK): Likewise.
9361 (LOCFILE_ALIGN_UP): Likewise.
9362 (LOCFILE_ALIGNED_P): Likewise.
9363 * locale/programs/ld-collate.c (collate_output): Use the new
9364 macros instead of __alignof__ (int32_t).
9365 * locale/weight.h (findidx): Likewise.
9366
b1fe1f2b
OB
93672013-10-03 Ondřej Bílka <neleai@seznam.cz>
9368
9369 [BZ #431]
9370 * manual/string.texi: Fix strncat and wcsncat.
9371
5f855e35
BM
93722013-10-03 Brooks Moses <bmoses@google.com>
9373
9374 [BZ #15915]
9375 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9376 * Makerules: ...here, and adjust associated comments.
9377
3cef6009
WN
93782013-10-02 Will Newton <will.newton@linaro.org>
9379
9380 * malloc/Makefile: Add tst-pvalloc.
9381 * malloc/tst-pvalloc.c: New file.
9382
7815420b
WN
93832013-10-02 Will Newton <will.newton@linaro.org>
9384
9385 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9386 improve test coverage.
9387
4868b204
WN
93882013-10-02 Will Newton <will.newton@linaro.org>
9389
9390 * malloc/Makefile: Add tst-posix_memalign.
9391 * malloc/tst-posix_memalign.c: New file.
9392
29c793b3
EB
93932013-10-01 Eric Blake <eblake@redhat.com>
9394
9395 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9396 Use __THROWNL rather than __THROW on static functions.
9397
fd967522
PM
93982013-09-30 Petr Machata <pmachata@redhat.com>
9399
9400 * elf/elf.h (R_AARCH64_ABS16): New macro.
9401 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9402 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9403 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9404 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9405 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9406 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9407 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9408 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9409 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9410 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9411 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9412 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9413 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9414 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9415 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9416 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9417 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9418 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9419 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9420 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9421 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9422 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9423 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9424 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9425 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9426 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9427 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9428 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9429 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9430 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9431 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9432 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9433 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9434 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9435 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9436 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9437 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9438 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9439 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9440 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9441 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9442 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9443 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9444 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9445 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9446 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9447 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9448 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9449 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9450 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9451 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9452 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9453 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9454 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9455 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9456 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9457 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9458 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9459 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9460 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9461 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9462 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9463 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9464 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9465 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9466 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9467 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9468 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9469 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9470 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9471 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9472 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9473 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9474 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9475 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9476 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9477 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9478 (R_AARCH64_TLSDESC_LDR): Likewise.
9479 (R_AARCH64_TLSDESC_ADD): Likewise.
9480 (R_AARCH64_TLSDESC_CALL): Likewise.
9481
b2179107
AS
94822013-09-30 Andreas Schwab <schwab@suse.de>
9483
9484 [BZ #15048]
9485 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9486 the nss database lookup.
9487 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9489
47f28d0a
MF
94902013-09-28 Mike Frysinger <vapier@gentoo.org>
9491
9492 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9493
94942013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9495
9496 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9497 ${Bash-specific parameter/pattern/string} parameter expansion.
9498 * sysdeps/unix/make-syscalls.sh: Likewise.
9499
f4518a17
KK
95002013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9501
9502 * sysdeps/sh/stackguard-macros.h: New file.
9503
dc1a95c7
OB
95042013-09-26 Ondřej Bílka <neleai@seznam.cz>
9505
9506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9507 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9508 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9509 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9510 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9511 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9512
5ebbff8f
AZ
95132013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9514
9515 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9516 Fix thread ID register.
9517
4fd2cf9f
JM
95182013-09-25 Joseph Myers <joseph@codesourcery.com>
9519
9520 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9521 [POSIX || UNIX98]: Require rather than permitting all symbols from
9522 <time.h>.
9523 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9524 element of struct sched_param.
9525 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9526 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9527 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9528 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9529 constant.
9530
12c22bc4
OL
95312013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9532
9533 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9534 argument calculation.
9535
a03d8ea7
JM
95362013-09-24 Joseph Myers <joseph@codesourcery.com>
9537
9538 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9539 Expect macro.
9540 [POSIX] (pthread_attr_t): Do not require type.
9541 [POSIX] (pthread_cond_t): Likewise.
9542 [POSIX] (pthread_condattr_t): Likewise.
9543 [POSIX] (pthread_key_t): Likewise.
9544 [POSIX] (pthread_mutex_t): Likewise.
9545 [POSIX] (pthread_mutexattr_t): Likewise.
9546 [POSIX] (pthread_once_t): Likewise.
9547 [POSIX] (pthread_t): Likewise.
9548 [POSIX-based standards] (pthread_atfork): Expect function.
9549
6055173a
JM
95502013-09-24 Joseph Myers <joseph@codesourcery.com>
9551 Richard Sandiford <richard@codesourcery.com>
9552
9553 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9554 (swap_endianness_p): New extern variable.
9555 (set_big_endian): New inline function.
9556 (maybe_swap_uint32): Likewise.
9557 (maybe_swap_uint32_array): Likewise.
9558 (maybe_swap_uint32_obstack): Likewise.
9559 * locale/programs/locfile.c: Include <stdbool.h>.
9560 (swap_endianness_p): New variable.
9561 (add_locale_uint32): Call maybe_swap_uint32.
9562 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9563 (write_locale_data): Call maybe_swap_uint32_array.
9564 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9565 maybe_swap_uint32.
9566 (obstack_int32_grow_fast): Likewise.
9567 (output_weightwc): Call maybe_swap_uint32_obstack.
9568 (collate_output): Likewise.
9569 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9570 (OPT_LITTLE_ENDIAN): Likewise.
9571 (options): Add --little-endian and --big-endian options.
9572 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9573 * locale/programs/locarchive.c: Include "locfile.h".
9574 (GET): New macro.
9575 (SET): Likewise.
9576 (INC): Likewise.
9577 (create_archive): Use the new macros to access fields of
9578 structures directly mapped from or written to locale archives.
9579 (oldlocrecentcmp): Likewise.
9580 (enlarge_archive): Likewise.
9581 (insert_name): Likewise.
9582 (add_alias): Likewise.
9583 (add_locale): Likewise.
9584 (delete_locales_from_archive): Likewise.
9585 (show_archive_content): Likewise.
9586 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9587 locale data.
9588
39bf0bb4
RM
95892013-09-24 Roland McGrath <roland@hack.frob.com>
9590
9591 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9592 http://www.gnu.org/doc/freemanuals.texi.
9593 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9594
f02eed10
WN
95952013-09-24 Will Newton <will.newton@linaro.org>
9596
9597 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9598 macro.
9599
a3a6c312
JM
96002013-09-23 Joseph Myers <joseph@codesourcery.com>
9601
9602 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9603 unsigned char.
9604
107375ac
MR
96052013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9606
9607 * manual/threads.texi (POSIX Threads): Fix a typo.
9608
141f3a77
SP
96092013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9610
303e567a
SP
9611 [BZ #14547]
9612 * string/tst-strcoll-overflow.c: New test case.
9613 * string/Makefile (xtests): Add tst-strcoll-overflow.
9614 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9615 cache if string sizes may cause integer overflow.
9616
141f3a77
SP
9617 [BZ #14547]
9618 * string/strcoll_l.c (coll_seq): New members rule, idx,
9619 save_idx and back_us.
9620 (get_next_seq_nocache): New function.
9621 (do_compare_nocache): New function.
9622 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9623 when malloc fails.
9624
c61b4d41
CD
96252013-09-23 Carlos O'Donell <carlos@redhat.com>
9626
0b1f8e35
CD
9627 [BZ #15754]
9628 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9629 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9630 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9631
c61b4d41
CD
9632 [BZ #15754]
9633 * elf/Makefile (tests): Add tst-ptrguard1.
9634 (tests-static): Add tst-ptrguard1-static.
9635 (tst-ptrguard1-ARGS): Define.
9636 (tst-ptrguard1-static-ARGS): Define.
9637 * elf/tst-ptrguard1.c: New file.
9638 * elf/tst-ptrguard1-static.c: New file.
9639 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9640 * sysdeps/i386/stackguard-macros.h: Likewise.
9641 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9642 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9643 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9644 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9645 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9646 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9647
96482013-09-23 Hector Marco <hecmargi@upv.es>
9649 Ismael Ripoll <iripoll@disca.upv.es>
9650 Carlos O'Donell <carlos@redhat.com>
9651
9652 [BZ #15754]
9653 * sysdeps/generic/stackguard-macros.h: Define
9654 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9655 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9656 Define __pointer_chk_guard_local.
9657 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9658 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9659
f5f4e7b4
VV
96602013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9661
9662 [BZ #15859]
9663 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9664
5bb43a43
AS
96652013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9666
9667 * include/string.h (__ffs): Declare as hidden.
9668 * string/ffs.c (__ffs): Define as hidden.
9669 * sysdeps/i386/ffs.c (__ffs): Likewise.
9670 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9671 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9672 * sysdeps/s390/ffs.c (__ffs): Likewise.
9673 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9674
3ea5be54
AO
96752013-09-20 Alexandre Oliva <aoliva@redhat.com>
9676
ffb89e53
AO
9677 * NEWS: Mention malloc probes.
9678
322dea08
AO
9679 * malloc/arena.c (new_heap): New memory_heap_new probe.
9680 (grow_heap): New memory_heap_more probe.
9681 (shrink_heap): New memory_heap_less probe.
9682 (heap_trim): New memory_heap_free probe.
9683 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9684 (systrim): New memory_sbrk_less probe.
9685 * manual/probes.texi: Document them.
9686
655673f3
AO
9687 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9688 * manual/probes.texi: Document it.
9689
35fed6f1
AO
9690 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9691 (__libc_realloc): Add memory_realloc_retry probe.
9692 (__libc_memalign): Add memory_memalign_retry probe.
9693 (__libc_valloc): Add memory_valloc_retry probe.
9694 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9695 (__libc_calloc): Add memory_calloc_retry probe.
9696 * manual/probes.texi: Document them.
9697
6999d38c
AO
9698 * malloc/arena.c (get_free_list): Add probe
9699 memory_arena_reuse_free_list.
9700 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9701 and memory_arena_reuse.
9702 (arena_get2) [!PER_THREAD]: Likewise.
9703 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9704 memory_arena_reuse_realloc.
9705 * manual/probes.texi: Document them.
9706
0653427f
AO
9707 * malloc/malloc.c (__libc_free): Add
9708 memory_mallopt_free_dyn_thresholds probe.
9709 (__libc_mallopt): Add multiple memory_mallopt probes.
9710 * manual/probes.texi: Document them.
9711
3ea5be54
AO
9712 * malloc/malloc.c: Include stap-probe.h.
9713 (__libc_mallopt): Add memory_mallopt probe.
9714 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9715 * manual/probes.texi: New.
9716 * manual/Makefile (chapters): Add probes.
9717 * manual/threads.texi: Set next node.
9718
e35696c3 97192013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9720
e35696c3
CL
9721 [BZ #15963, #13985]
9722 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9723 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9724 Add `Chinese' to `nan' entry name.
9725
4aafb73c
SP
97262013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9727
9728 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9729 (POLYNOMIAL): Likewise.
9730 (TAYLOR_SINCOS): Likewise.
9731 (TAYLOR_SLOW): Likewise.
9732 (__sin): Use TAYLOR_SINCOS.
9733 (__cos): Likewise.
9734 (slow): Use TAYLOR_SLOW.
9735 (sloww): Likewise.
9736 (bsloww): Likewise.
9737 (csloww): Likewise.
9738
d84f25c7
LD
97392013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9740
9741 * stdlib/strtod_l.c: Fix buffer overrun.
9742
5eea0404
SP
97432013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9744
7849ff93
SP
9745 * benchtests/Makefile (bench): Add sincos.
9746 * benchtests/bench-sincos.c: New file.
9747
cfa3c886
SP
9748 * math/libm-test.inc (cos_test_data): New test inputs.
9749 (sin_test_data): Likewise.
9750
b348e1e3
SP
9751 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9752 macro.
9753 (__sin): Use it.
9754 (__cos): Likewise.
9755 (slow1): Likewise.
9756 (slow2): Likewise.
9757 (sloww1): Likewise.
9758 (sloww2): Likewise.
9759 (bsloww1): Likewise.
9760 (bsloww2): Likewise.
9761 (cslow2): Likewise.
9762 (csloww1): Likewise.
9763 (csloww2): Likewise.
9764
6cce25f8
SP
9765 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9766 function.
9767 (__sin): Use it.
9768 (__cos): Likewise.
9769
5eea0404
SP
9770 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9771 gotos.
9772 (__cos): Likewise.
9773
9c21573c
MR
97742013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9775
9776 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9777 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9778 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9779 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9780 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9781 * elf/cache.c (print_entry): Handle the new cache flags.
9782
24d22e65
JM
97832013-09-18 Joseph Myers <joseph@codesourcery.com>
9784 Aldy Hernandez <aldyh@redhat.com>
9785
9786 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9787 Change condition to [_SOFT_FLOAT].
9788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9797 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9800 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9803 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9804 declaration.
9805
d13ef066
JM
98062013-09-18 Joseph Myers <joseph@codesourcery.com>
9807
2e071de0
JM
9808 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9809 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9810 (__longjmp): Use LOAD_GP to load saved GPRs.
9811 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9812 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9813 (__sigsetjmp): Use SAVE_GP to save GPRs.
9814
d13ef066
JM
9815 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9816 Do not append -msoft-float.
9817 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9818
97a0650b
SP
98192013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9820
9821 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9822
11ca09e9
JM
98232013-09-17 Joseph Myers <joseph@codesourcery.com>
9824
9825 [BZ #15966]
9826 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9827 (_FPU_GETCW): Use initial "__" on variable and field names but not
9828 on macro parameter name.
9829 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9830 parentheses around reference to macro parameter.
9831
08ffcf34
RS
98322013-09-13 Richard Sandiford <richard@codesourcery.com>
9833
9834 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9835 prototype.
9836 (ctype_startup): Use uint32_t in cast and sizeof for
9837 ctype->charnames.
9838
ae7080d3
JL
98392013-09-11 Jia Liu <proljc@gmail.com>
9840
9841 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9842 __daddr_t_defined.
9843 [__FreeBSD__]: Likewise.
9844
5905e7b3
OB
98452013-09-11 Ondřej Bílka <neleai@seznam.cz>
9846
9847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9848 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9849 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9850 (strchr): Remove __strchr_sse42 ifunc selection.
9851 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9852 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9853
b987c776
WN
98542013-09-11 Will Newton <will.newton@linaro.org>
9855
9856 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9857 parameter to RES. Remove hardcoded 1000 value.
9858 * benchtests/bench-skeleton.c (main): Pass RES parameter
9859 to TIMING_INIT and multiply result by 1000.
9860
ddf985af
AZ
98612013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9862
9863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9864
ffdd3181
AS
98652013-09-11 Andreas Schwab <schwab@suse.de>
9866
9867 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9868 if not defined.
9869 (O_TMPFILE) [__USE_GNU]: Define.
9870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9871 Define.
9872
b73ed247
WN
98732013-09-11 Will Newton <will.newton@linaro.org>
9874
9875 [BZ #15857]
9876 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9877 does not overflow.
9878
55e17aad
WN
98792013-09-11 Will Newton <will.newton@linaro.org>
9880
9881 [BZ #15856]
9882 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9883 does not overflow.
9884
1159a193
WN
98852013-09-11 Will Newton <will.newton@linaro.org>
9886
9887 [BZ #15855]
9888 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9889 does not overflow.
9890
5905e7b3 98912013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9892
9893 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9894 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9895 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9896 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9897 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9898
cdfc721b
AM
98992013-09-10 Allan McRae <allan@archlinux.org>
9900
aa04af00
AM
9901 [BZ #15748]
9902 * manual/arith.texi (Parsing of Floats): Clarify
9903 cross-reference.
9904
cdfc721b
AM
9905 [BZ #15849]
9906 * manual/install.texi (Running make install): Mention
9907 --enable-pt-chown.
9908 * INSTALL: Regenerated.
9909
95e7cf29
MR
99102013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9911
9912 * csu/init-first.c (_init): Remove the !SHARED condition around
9913 FPU control word initialization.
9914 * elf/dl-support.c (_dl_fpu_control): New variable.
9915 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9916 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9917 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9918 * math/test-fpucw-static.c: New file.
9919 * math/test-fpucw-ieee.c: New file.
9920 * math/test-fpucw-ieee-static.c: New file.
9921 * math/Makefile (tests): Add `test-fpucw-ieee' and
9922 `$(tests-static)'.
9923 (tests-static): New variable.
9924 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9925 dependency to...
9926 [($(build-shared),yes)]
9927 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9928 ... this.
9929 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9930 New dependency.
9931
83e43bf0
AM
99322013-09-09 Allan McRae <allan@archlinux.org>
9933
a9f5ce09
AM
9934 [BZ #15939]
9935 * manual/string.texi (Collation Functions): Fix typo in
9936 strcoll example.
9937 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9938
34829bc2
AM
9939 [BZ #15893]
9940 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9941
3932737d
AM
9942 [BZ #15892]
9943 * libio/memstream.c (open_memstream): Fix memory leak.
9944 * libio/wmemstream.c (open_wmemstream): Likewise.
9945
83e43bf0
AM
9946 [BZ #15895]
9947 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9948
0c66b8e9
WN
99492013-09-09 Will Newton <will.newton@linaro.org>
9950
9951 * malloc/Makefile: Add tst-realloc to tests.
9952 * malloc/tst-realloc.c: New file.
9953
f6b00fd1
AM
99542013-09-09 Allan McRae <allan@archlinux.org>
9955
9956 [BZ #15844]
9957 * COPYING: Update from GNU website to fix FSF address.
9958 * COPYING.LIB: Likewise.
9959
eec55e16
DM
99602013-09-06 David S. Miller <davem@davemloft.net>
9961
9962 * po/zh_TW.po: Update Chinese (traditional) translation from
9963 translation project.
9964
1ecbb381
RS
99652013-09-06 Richard Sandiford <richard@codesourcery.com>
9966 Joseph Myers <joseph@codesourcery.com>
9967
9968 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9969 "localeinfo.h".
9970 (obstack_chunk_alloc): New macro.
9971 (obstack_chunk_free): Likewise.
9972 (record_offset): New function.
9973 (init_locale_data): Likewise.
9974 (align_locale_data): Likewise.
9975 (add_locale_empty): Likewise.
9976 (add_locale_raw_data): Likewise.
9977 (add_locale_raw_obstack): Likewise.
9978 (add_locale_string): Likewise.
9979 (add_locale_wstring): Likewise.
9980 (add_locale_uint32): Likewise.
9981 (add_locale_uint32_array): Likewise.
9982 (add_locale_char): Likewise.
9983 (start_locale_structure): Likewise.
9984 (end_locale_structure): Likewise.
9985 (start_locale_prelude): Likewise.
9986 (end_locale_prelude): Likewise.
9987 (write_locale_data): Take locale_file structure rather than an
9988 iovec.
9989 * locale/programs/locfile.h: Include "obstack.h".
9990 (struct locale_file): Change to store locale file contents instead
9991 of header.
9992 (init_locale_data): New prototype.
9993 (align_locale_data): Likewise.
9994 (add_locale_empty): Likewise.
9995 (add_locale_raw_data): Likewise.
9996 (add_locale_raw_obstack): Likewise.
9997 (add_locale_string): Likewise.
9998 (add_locale_wstring): Likewise.
9999 (add_locale_uint32): Likewise.
10000 (add_locale_uint32_array): Likewise.
10001 (add_locale_char): Likewise.
10002 (start_locale_structure): Likewise.
10003 (end_locale_structure): Likewise.
10004 (start_locale_prelude): Likewise.
10005 (end_locale_prelude): Likewise.
10006 (write_locale_data): Update prototype.
10007 * locale/programs/3level.h (struct TABLE): Remove result field.
10008 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10009 Use new locale_file interface.
10010 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10011 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10012 * locale/programs/ld-address.c (address_output): Use new
10013 locale_file interface.
10014 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10015 NO_ADD_LOCALE.
10016 (collate_finish): Don't call collseq_table_finalize.
10017 (collate_output): Use new locale_file interface.
10018 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10019 in file.
10020 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10021 (TABLE): Move defines earlier in file.
10022 (ELEMENT): Likewise.
10023 (DEFAULT): Likewise.
10024 (wctrans_table_add): Move macro and inline function earlier in
10025 file.
10026 (struct wctype_table): Move type earlier in file.
10027 (add_locale_wctype_table): New static prototype.
10028 (struct locale_ctype_t): Use logical types instead of struct iovec
10029 pointers for members.
10030 (ctype_output): Use new locale_file interface.
10031 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10032 new locale_file interface.
10033 (allocate_arrays): Update for use of new locale_file interface.
10034 * locale/programs/ld-identification.c (identification_output): Use
10035 new locale_file interface.
10036 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10037 * locale/programs/ld-messages.c (messages_output): Likewise.
10038 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10039 * locale/programs/ld-name.c (name_output): Likewise.
10040 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10041 * locale/programs/ld-paper.c (paper_output): Likewise.
10042 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10043 * locale/programs/ld-time.c (time_output): Likewise.
10044
e029e2e5
AZ
100452013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10046
10047 * benchtests/Makefile: Add memrchr benchmark.
10048 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10049 benchmark as memrchr.
10050 * benchtests/bench-memrchr-ifunc.c: New file.
10051 * benchtests/bench-memrchr.c: New file.
10052
bbf6e8e4
WN
100532013-09-06 Will Newton <will.newton@linaro.org>
10054
10055 * benchtests/Makefile (string-bench): Add memcpy.
10056
6c82a2f8
CD
100572013-09-05 Carlos O'Donell <carlos@redhat.com>
10058 Cong Wang <amwang@redhat.com>
10059
e732c5f0 10060 [BZ #15850]
6c82a2f8
CD
10061 * sysdeps/unix/sysv/linux/bits/in.h
10062 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10063 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10064 before __USE_KERNEL_IPV6_DEFS uses.
10065 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10066 IPPROTO_BEETPH.
10067 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10068 sockaddr_in6, or ipv6_mreq.
10069
5430fc65
AZ
100702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10071
10072 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10073 memory access for final bytes in some large inputs.
10074 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10075
4660856c
AZ
100762013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10077
10078 * string/test-memrchr.c: New file.
10079 * string/test-memrchr-ifunc.c: New file.
10080 * string/Makefile: Add new memrchr testcase.
10081
bb8ea713
MF
100822013-09-05 Mike Frysinger <vapier@gentoo.org>
10083
10084 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10085 fanotify_init returns EPERM.
10086
b92a20b5
JM
100872013-09-04 Joseph Myers <joseph@codesourcery.com>
10088
10089 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10090 errors.
10091 (top level): Treat second token from macro or constant entries for
10092 allowed headers as allowed.
10093 * include/complex.h: Condition internal declarations on
10094 [!_ISOMAC].
10095 * include/fenv.h: Condition include of <stdbool.h> and internal
10096 declarations on [!_ISOMAC].
7447ccd9
CL
10097
100982013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10099
3e181dda 10100 [BZ #15923]
7447ccd9
CL
10101 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10102
3f2e46a4
JM
101032013-09-04 Joseph Myers <joseph@codesourcery.com>
10104
10105 * configure.in (--enable-versioning): Remove configure option.
10106 (libc_cv_asm_symver_directive): Remove configure test.
10107 (libc_cv_ld_version_script_option): Likewise.
10108 (VERSIONING): Remove variable and AC_SUBST.
10109 (DO_VERSIONING): Remove AC_DEFINE.
10110 * configure: Regenerated.
10111 * config.h.in (DO_VERSIONING): Remove macro.
10112 * Makerules [$(versioning) = yes]: Change conditionals to
10113 [$(build-shared) = yes].
10114 * config.make.in (versioning): Remove variable.
10115 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10116 [$(build-shared) = yes].
10117 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10118 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10119 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10120 [$(build-shared) = yes].
10121 * extra-lib.mk [$(versioning) = yes]: Likewise.
10122 * hurd/Makefile [$(versioning) = yes]: Likewise.
10123 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10124 [SHARED].
10125 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10126 [SHARED].
10127 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10128 [SHARED && !NO_HIDDEN].
10129 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10130 [SHARED].
10131 [SHARED && DO_VERSIONING]: Likewise..
10132 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10133 [$(build-shared) = yes].
10134 * manual/install.texi (--disable-versioning): Remove
10135 documentation.
10136 * INSTALL: Regenerated.
10137 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10138 to [SHARED].
10139 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10140 [$(build-shared) = yes].
10141 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10142 * sysdeps/i386/i686/multiarch/strstr-c.c
10143 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10144 [SHARED && !NO_HIDDEN].
10145 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10146 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10147 * sysdeps/powerpc/powerpc32/dl-machine.c
10148 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10149 * sysdeps/powerpc/powerpc32/sysdep.h
10150 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10151 to [SHARED && PIC && !NO_HIDDEN].
10152 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10153 conditional to [SHARED].
10154
44558701
WN
101552013-09-04 Will Newton <will.newton@linaro.org>
10156
10157 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10158 * benchtests/bench-string.h: Include bench-timing.h instead
10159 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10160 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10161 call to HP_TIMING_DIFF_INIT.
10162 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10163 instead of hp-timing.h macros.
10164 * benchtests/bench-memchr.c: Likewise.
10165 * benchtests/bench-memcmp.c: Likewise.
10166 * benchtests/bench-memcpy.c: Likewise.
10167 * benchtests/bench-memmem.c: Likewise.
10168 * benchtests/bench-memmove.c: Likewise.
10169 * benchtests/bench-memset.c: Likewise.
10170 * benchtests/bench-rawmemchr.c: Likewise.
10171 * benchtests/bench-strcasecmp.c: Likewise.
10172 * benchtests/bench-strcasestr.c: Likewise.
10173 * benchtests/bench-strcat.c: Likewise.
10174 * benchtests/bench-strchr.c: Likewise.
10175 * benchtests/bench-strcmp.c: Likewise.
10176 * benchtests/bench-strcpy.c: Likewise.
10177 * benchtests/bench-strcpy_chk.c: Likewise.
10178 * benchtests/bench-strlen.c: Likewise.
10179 * benchtests/bench-strncasecmp.c: Likewise.
10180 * benchtests/bench-strncat.c: Likewise.
10181 * benchtests/bench-strncmp.c: Likewise.
10182 * benchtests/bench-strncpy.c: Likewise.
10183 * benchtests/bench-strnlen.c: Likewise.
10184 * benchtests/bench-strpbrk.c: Likewise.
10185 * benchtests/bench-strrchr.c: Likewise.
10186 * benchtests/bench-strspn.c: Likewise.
10187 * benchtests/bench-strstr.c: Likewise.
10188
cae16d66
WN
101892013-09-04 Will Newton <will.newton@linaro.org>
10190
10191 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10192
ffa3cd7f
JM
101932013-09-03 Joseph Myers <joseph@codesourcery.com>
10194
10195 [BZ #15427]
10196 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10197 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10198 * math/libm-test.inc (lgamma_test_data): Add more tests.
10199 * sysdeps/i386/fpu/libm-test-ulps: Update.
10200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10201
8f02859f
OB
102022013-09-03 Ondřej Bílka <neleai@seznam.cz>
10203
10204 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10206 Add ifunc.
10207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10208 Add strcmp-sse2-unaligned
10209 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10210
18d43716
MF
102112013-09-02 Mike Frysinger <vapier@gentoo.org>
10212
10213 * Versions.def (libc): Add GLIBC_2.19.
10214
ac444012
MF
102152013-09-02 Mike Frysinger <vapier@gentoo.org>
10216
10217 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10218 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10219
b7835e32
JM
102202013-09-02 Joseph Myers <joseph@codesourcery.com>
10221
10222 [BZ #14155]
10223 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10224 intermediate calculations in recurrence.
10225 (__ieee754_ynf): Likewise.
10226 * math/libm-test.inc (jn_test_data): Do not allow spurious
10227 underflow exception. Add more tests.
10228 (yn_test_data): Add more tests.
10229 * sysdeps/i386/fpu/libm-test-ulps: Update.
10230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10231
8220f4f0
OB
102322013-09-02 Ondřej Bílka <neleai@seznam.cz>
10233
10234 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10235
f24a6d08
OB
102362013-08-30 Ondřej Bílka <neleai@seznam.cz>
10237
10238 * csu/init-first.c: Fix then/than typos.
10239 * locale/programs/ld-collate.c: Likewise.
10240 * locale/programs/linereader.h: Likewise.
10241 * manual/charset.texi: Likewise.
10242 * manual/filesys.texi: Likewise.
10243 * manual/stdio.texi: Likewise.
10244 * manual/string.texi: Likewise.
10245 * stdlib/fmtmsg.c: Likewise.
10246 * sysdeps/i386/stpncpy.S: Likewise.
10247 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10248 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10249 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10250 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10251
382466e0
OB
102522013-08-30 Ondřej Bílka <neleai@seznam.cz>
10253
10254 * elf/dl-open.c: Fix typos.
10255 * iconvdata/gbbig5.c: Likewise.
10256 * iconvdata/iso-2022-jp.c: Likewise.
10257 * iconv/gconv_int.h: Likewise.
10258 * iconv/loop.c: Likewise.
10259 * nis/rpcsvc/nis.h: Likewise.
10260 * resolv/ns_name.c: Likewise.
10261 * stdio-common/vfscanf.c: Likewise.
10262 * streams/stropts.h: Likewise.
10263 * sunrpc/rpc_thread.c: Likewise.
10264 * sysdeps/i386/strpbrk.S: Likewise.
10265 * sysdeps/ieee754/k_standard.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10268 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10269 * sysdeps/mach/hurd/profil.c: Likewise.
10270 * sysdeps/s390/dl-procinfo.h: Likewise.
10271 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10272 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10273 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10274 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10275 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10276
0186c6e9
OB
102772013-08-30 Ondřej Bílka <neleai@seznam.cz>
10278
10279 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10281
d4e16af1
OB
102822013-08-29 Ondřej Bílka <neleai@seznam.cz>
10283
10284 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10285 aix specific files.
10286 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10287 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10288 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10289 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10290 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10291 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10292 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10293 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10294
88335980
TS
102952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10296 Roland McGrath <roland@hack.frob.com>
10297
10298 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10299 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10300
ed479b02
ST
103012013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10302
10303 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10304 __executable_start symbol instead of _start.
10305
f1cc4c86
TS
103062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10307
d821f07c
TS
10308 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10309 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10310 Move macros to...
10311 * sysdeps/gnu/ldsodefs.h: ... this new file.
10312
c54290cf
TS
10313 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10314 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10315 instead of ELFOSABI_LINUX.
10316
0007fc9b 10317 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10318 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10319 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10320 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10321 Likewise.
10322 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10323 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10324 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10325 Likewise.
10326 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10327 (ibm_extended_long_double): Add ieee_nan member.
10328 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10329 (do_test): New function.
10330
f1cc4c86
TS
10331 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10332 TEST_TRUNC.
10333 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10334 functions, renamed from truncdfsf_test, trunctfsf_test,
10335 trunctfdf_test.
10336 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10337 functions.
10338 (do_test): Run all these.
10339
6f65e668
OB
103402013-08-29 Ondřej Bílka <neleai@seznam.cz>
10341
10342 * argp/argp-help.c: Fix typos.
10343 * argp/argp-parse.c: Likewise.
10344 * debug/backtracesyms.c: Likewise.
10345 * elf/elf.h: Likewise.
10346 * malloc/malloc.c: Likewise.
10347 * nis/nis_print.c: Likewise.
10348 * resolv/res_comp.c: Likewise.
10349 * stdlib/stdlib.h: Likewise.
10350 * sunrpc/clnt_tcp.c: Likewise.
10351 * sunrpc/clnt_udp.c: Likewise.
10352 * sunrpc/clnt_unix.c: Likewise.
10353 * sysdeps/unix/bsd/ptsname.c: Likewise.
10354 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10355 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10357 Likewise.
10358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10359 Likewise.
10360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10361 Likewise.
6f65e668
OB
10362 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10363
3a309239
SP
103642013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10365
10366 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10368
3b813b29
MF
103692013-08-27 Mike Frysinger <vapier@gentoo.org>
10370
10371 [BZ #15897]
10372 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10373 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10374 ($(objpfx)bug-dl-leaf): New rule.
10375 ($(objpfx)bug-dl-leaf.so): Likewise.
10376 ($(objpfx)bug-dl-leaf.out): Likewise.
10377 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10378 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10379 * dlfcn/bug-dl-leaf.c: New test.
10380 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10381 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10382 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10383 (dlclose): Likewise.
10384 (dlmopen): Likewise.
10385
8cc3269f
RM
103862013-08-27 Roland McGrath <roland@hack.frob.com>
10387
7f9d0034
RM
10388 * include/netdb.h [!_ISOMAC]:
10389 Don't include <tls.h>.
10390 (h_errno, __libc_h_errno): Move declaration and macros out of
10391 [_LIBC_REENTRANT].
10392
fb431262
RM
10393 * include/resolv.h [_RESOLV_H_]:
10394 Don't include <tls.h>.
10395 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10396 * resolv/res_libc.c: Don't include <tls.h>.
10397 (_res): Use __attribute__ ((nocommon)) in place of
10398 __attribute__ ((section (".bss"))).
10399
bd81123a
RM
10400 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10401 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10402
c4e42566
RM
10403 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10404
f890a59b
RM
10405 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10406 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10407
10408 * resolv/res_mkquery.c: Include <sys/time.h>.
10409
5d1f0a09
RM
10410 * inet/ifreq.c: Moved to ...
10411 * sysdeps/unix/ifreq.c: ... here.
10412 * inet/ifreq.c: New file, true stub version.
10413
6fcf28b3
RM
10414 * socket/sa_len.c: New file.
10415 * socket/Makefile (aux): Add it.
10416 * sysdeps/unix/sysv/linux/Makefile
10417 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10418 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10419 and #include <socket/sa_len.c>.
10420 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10421 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10422
e041fb8b
RM
10423 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10424 * bits/socket.h: ... here.
10425
8cc3269f
RM
10426 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10427 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10428 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10429
5d228a43
AS
104302013-08-27 Andreas Schwab <schwab@suse.de>
10431
45b8accc
AS
10432 [BZ #15736]
10433 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10434 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10435 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10436 * string/test-strcasecmp.c (test_main): Run tests in several
10437 locales.
10438 * string/test-strncasecmp.c (test_main): Likewise.
10439
5d228a43
AS
10440 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10441 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10442 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10444 (__strncasecmp_ssse3) [PIC]: Likewise.
10445
59d112a4
RM
104462013-08-26 Roland McGrath <roland@hack.frob.com>
10447
53234cc3
RM
10448 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10449
59d112a4
RM
10450 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10451 instead of explicitly declaring xdecrypt.
10452 * nis/nss_nis/nis-publickey.c: Likewise.
10453
595aba70
SP
104542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10455
10456 [BZ #15890]
10457 * nscd/aicache.c: Include res_hconf.h.
10458 (addhstaiX): Initialize res_hconf.
10459
ffabd393
AS
104602013-08-26 Andreas Schwab <schwab@suse.de>
10461
10462 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10463 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10464
e0a69f5c
SP
104652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10466
10467 * nscd/aicache.c (addhstaiX): Fix indentation.
10468
8c12f01d
MF
104692013-08-25 Mike Frysinger <vapier@gentoo.org>
10470
10471 * configure.ac: Quote $build_pt_chown test.
10472 * configure: Regenerated.
10473
8fe89494
JM
104742013-08-23 Joseph Myers <joseph@codesourcery.com>
10475
10476 [BZ #15532]
10477 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10478 * math/s_cexpf.c (__cexpf): Likewise.
10479 * math/s_cexpl.c (__cexpl): Likewise.
10480 * math/libm-test.inc (cexp_test_data): Correct expected return
10481 value for NaN + i0. Add another test.
10482
75b181d6
DM
104832013-08-22 David S. Miller <davem@davemloft.net>
10484
10485 * po/ca.po: Update Catalan translation from translation project.
936241e4 10486 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10487
acd06bb1
JM
104882013-08-21 Joseph Myers <joseph@codesourcery.com>
10489
10490 [BZ #15797]
10491 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10492 is infinite, not alongside NaN test.
10493 * math/s_fdimf.c (__fdimf): Likewise.
10494 * math/s_fdiml.c (__fdiml): Likewise.
10495 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10496 errno is unchanged.
10497
c0c3f78a
OB
104982013-08-21 Ondřej Bílka <neleai@seznam.cz>
10499
10500 * argp/argp-help.c: Fix typos.
10501 * crypt/speeds.c: Likewise.
10502 * csu/check_fds.c: Likewise.
10503 * elf/dl-load.c: Likewise.
10504 * elf/dl-open.c: Likewise.
10505 * elf/reldep3.c: Likewise.
10506 * elf/reldep.c: Likewise.
10507 * elf/sprof.c: Likewise.
10508 * iconv/iconv_charmap.c: Likewise.
10509 * iconv/skeleton.c: Likewise.
10510 * iconv/strtab.c: Likewise.
10511 * io/lockf64.c: Likewise.
10512 * libio/libioP.h: Likewise.
10513 * resolv/gai_notify.c: Likewise.
10514 * resolv/ns_name.c: Likewise.
10515 * resolv/ns_samedomain.c: Likewise.
10516 * resolv/res_send.c: Likewise.
10517 * stdlib/random.c: Likewise.
10518 * sunrpc/rpc/xdr.h: Likewise.
10519 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10520 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10521 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10522 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10523 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10524 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10525 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10526 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10527 * sysdeps/mach/hurd/check_fds.c: Likewise.
10528 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10529 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10530 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10531 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10532 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10533 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10534 * sysdeps/pthread/aio_notify.c: Likewise.
10535 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10536 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10537 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10538 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10539 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10540
46ed1038
LD
105412013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10542
10543 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10544 version if bit_Slow_SSE4_2 is set.
10545 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10546 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10547
d400dcac
AZ
105482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10549
10550 [BZ #15867]
10551 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10552 trampoline stack frame information.
10553 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10554 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10555 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10556 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10557 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10558 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10559 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10560 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10561 sa_flags value.
10562 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10563 interrupting a syscall and set with option SA_SIGINFO.
10564
42c8fdd8
JM
105652013-08-20 Joseph Myers <joseph@codesourcery.com>
10566
c980f2f4
JM
10567 [BZ #15531]
10568 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10569 argument is infinite.
10570 * math/s_cprojf.c (__cprojf): Likewise.
10571 * math/s_cprojl.c (__cprojl): Likewise.
10572 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10573 * math/libm-test.inc (cproj_test_data): Add more tests.
10574
0716c4fc
JM
10575 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10576
42c8fdd8
JM
10577 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10578 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10579 size. Use __ffs to determine corresponding shift.
10580
b31469d0
JM
105812013-08-20 Joseph Myers <joseph@codesourcery.com>
10582 Roland McGrath <roland@hack.frob.com>
10583
10584 * Makefile (INSTALL): Remove trailing blank lines from output of
10585 makeinfo.
10586
4e39af6e
AK
105872013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10588
10589 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10590 Align 32 bit compat elf_greg to 8 bytes.
10591
f315524e
AA
105922013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10593
10594 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10595
1326ba1a
SP
105962013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10597
10598 * string/strcoll_l.c (coll_seq): New structure.
10599 (get_next_seq_cached): New function.
10600 (get_next_seq): New function.
10601 (do_compare): New function.
10602 (STRCOLL): Use GNU style definition. Simplify implementation
10603 by using get_next_seq, get_next_seq_cached and do_compare.
10604
91ce4085
FW
106052013-08-16 Florian Weimer <fweimer@redhat.com>
10606
10607 [BZ #14699]
10608 CVE-2013-4237
10609 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10610 member.
10611 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10612 member.
10613 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10614 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10615 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10616 conditional.
10617 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10618 GETDENTS_64BIT_ALIGNED.
10619 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10620 * manual/filesys.texi (Reading/Closing Directory): Document
10621 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10622 strongly.
10623 * manual/conf.texi (Limits for Files): Add portability note to
10624 NAME_MAX, PATH_MAX.
10625 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10626
ca0a6bc4
AS
106272013-08-13 Andreas Schwab <schwab@suse.de>
10628
10629 [BZ #15749]
10630 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10631 of fabs.
10632 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10633 LDBL_MAX_EXP >= 16384]: Add tests for it.
10634
6c1fd795
DM
106352013-08-12 David S. Miller <davem@davemloft.net>
10636
10637 * version.h (RELEASE): Set to "development".
10638 (VERSION): Set to "2.18.90".
10639 * NEWS: Add 2.19 section.
10640
31ad488d
DM
106412013-08-03 David S. Miller <davem@davemloft.net>
10642
10643 * po/ko.po: Update Korean translation from translation project.
10644
db24e684
DM
106452013-08-01 David S. Miller <davem@davemloft.net>
10646
10647 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10648 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10649 Bilka.
10650
f723285b
DM
106512013-07-30 David S. Miller <davem@davemloft.net>
10652
10653 * po/fr.po: Update French translation from translation project.
10654
3cbc52db
DM
106552013-07-28 David S. Miller <davem@davemloft.net>
10656
30bbc0cc
DM
10657 * po/cs.po: Update Czech translation from translation project.
10658
3cbc52db
DM
10659 * po/sv.po: Update Swedish translation from translation project.
10660
d492e6d0
DM
106612013-07-27 David S. Miller <davem@davemloft.net>
10662
f1a7f492
DM
10663 * po/eo.po: Update Esperanto translation from translation project.
10664
90e62a4a
DM
10665 * po/vi.po: Update Vietnamese translation from translation project.
10666
d492e6d0
DM
10667 * po/de.po: Update German translation from translation project.
10668
d4baa62d
DM
106692013-07-26 David S. Miller <davem@davemloft.net>
10670
641aa7b4
DM
10671 * po/bg.po: Update Bulgarian translation from translation project.
10672
d4baa62d
DM
10673 * po/nl.po: Update Dutch translation from translation project.
10674 * po/pl.po: Update Polish translation from translation project.
10675 * po/ru.po: Update Russian translation from translation project.
10676
61a9dcb9
DM
106772013-07-24 David S. Miller <davem@davemloft.net>
10678
10679 * po/libc.pot: Update.
10680
7b1f8b58
AZ
106812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10682
10683 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10684 variable page size.
10685 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10686 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10687 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10688
a8fc7a03
AK
106892013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10690
10691 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10692
e4608715
CD
106932013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10694 Andreas Schwab <schwab@suse.de>
10695 Roland McGrath <roland@hack.frob.com>
10696 Joseph Myers <joseph@codesourcery.com>
10697 Carlos O'Donell <carlos@redhat.com>
10698
10699 [BZ #15755]
10700 * config.h.in: Define HAVE_PT_CHOWN.
10701 * config.make.in (build-pt-chown): New variable.
10702 * configure.in (--enable-pt_chown): New configure option.
10703 * configure: Regenerate.
10704 * login/Makefile: Include Makeconfig. Build pt_chown only if
10705 build-pt-chown is enabled.
10706 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10707 pt_chown to fix pty ownership.
10708 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10709 CLOSE_ALL_FDS.
10710 * manual/install.texi (Configuring and compiling): Mention
10711 --enable-pt_chown. Add @findex for grantpt.
10712 * INSTALL: Regenerate.
10713
da2d62df
DM
107142013-07-20 David S. Miller <davem@davemloft.net>
10715
10716 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10717 difference between 32-bit and 64-bit.
10718
d7e06450
CD
107192013-07-15 Carlos O'Donell <carlos@redhat.com>
10720
10721 [BZ #15711]
10722 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10723 Avoid system header dependency with -ffreestanding.
10724 ($(objpfx)bits/syscall%d): Likewise.
10725
f959cfd7
DM
107262013-07-13 David S. Miller <davem@davemloft.net>
10727
10728 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10729 underflows from atanl/atan2l due to bug 15319.
10730 (casinh_test_data): Likewise.
10731
c61f8513
DM
107322013-07-07 David S. Miller <davem@davemloft.net>
10733
10734 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10735
72c90ed0
JA
107362013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10737
10738 * sysdeps/i386/fpu/libm-test-ulps: Update.
10739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10740
52dfbe13
SP
107412013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10742
10743 * configure.in (--enable-lock-elision): Fix message text.
10744 * INSTALL: Regenerate.
10745 * configure: Regenerate.
10746
3f169543
AZ
107472013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10748
10749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10750
521c6785
AJ
107512013-07-03 Andreas Jaeger <aj@suse.de>
10752
10753 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10754 define.
10755 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10756 (ptrace_peeksiginfo_args): Add.
10757 (__ptrace_peeksiginfo_flags): Add.
10758 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10759 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10760 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10761
d2cc15cb
AM
107622013-07-03 Allan McRae <allan@archlinux.org>
10763
10764 * sysdeps/i386/fpu/libm-test-ulps: Update.
10765
3aaeeca7
DM
107662013-07-02 David S. Miller <davem@davemloft.net>
10767
10768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10769
5314ed1a
MT
107702013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10771
10772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10773
67338156
JM
107742013-07-02 Joseph Myers <joseph@codesourcery.com>
10775
10776 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10778
1717da59
AK
107792013-07-02 Andi Kleen <ak@linux.intel.com>
10780
10781 * config.h.in (ENABLE_LOCK_ELISION): Add.
10782 * configure.in (--enable-lock-elision): Add option.
10783 * manual/install.texi: Document --enable lock elision.
10784 * configure: Regenerate
10785 * INSTALL: Regenerate.
10786
1c81621c
L
107872013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10788
10789 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10790 SSE4.2 strcasecmp for libc.a.
10791 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10792
77f01ab5
JM
107932013-07-02 Joseph Myers <joseph@codesourcery.com>
10794
10795 [BZ #13304]
10796 * soft-fp/op-common.h (_FP_FMA): New macro.
10797 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10798 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10799 (_FP_MUL_MEAT_1_imm): ... here.
10800 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10801 (_FP_MUL_MEAT_1_wide): ... here.
10802 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10803 (_FP_MUL_MEAT_1_hard): ... here.
10804 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10805 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10806 (_FP_MUL_MEAT_2_wide): ... here.
10807 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10808 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10809 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10810 (_FP_MUL_MEAT_2_gmp): ... here.
10811 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10812 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10813 (_FP_MUL_MEAT_4_wide): ... here.
10814 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10815 (_FP_MUL_MEAT_4_gmp): ... here.
10816 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10817 (_FP_WFRACBITS_DW_S): Likewise.
10818 (_FP_WFRACXBITS_DW_S): Likewise.
10819 (_FP_HIGHBIT_DW_S): Likewise.
10820 (FP_FMA_S): Likewise.
10821 (_FP_FRAC_HIGH_DW_S): Likewise.
10822 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10823 (_FP_WFRACBITS_DW_D): Likewise.
10824 (_FP_WFRACXBITS_DW_D): Likewise.
10825 (_FP_HIGHBIT_DW_D): Likewise.
10826 (FP_FMA_D): Likewise.
10827 (_FP_FRAC_HIGH_DW_D): Likewise.
10828 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10829 (_FP_WFRACBITS_DW_E): Likewise.
10830 (_FP_WFRACXBITS_DW_E): Likewise.
10831 (_FP_HIGHBIT_DW_E): Likewise.
10832 (FP_FMA_E): Likewise.
10833 (_FP_FRAC_HIGH_DW_E): Likewise.
10834 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10835 (_FP_WFRACBITS_DW_Q): Likewise.
10836 (_FP_WFRACXBITS_DW_Q): Likewise.
10837 (_FP_HIGHBIT_DW_Q): Likewise.
10838 (FP_FMA_Q): Likewise.
10839 (_FP_FRAC_HIGH_DW_Q): Likewise.
10840 * soft-fp/fmasf4.c: New file.
10841 * soft-fp/fmadf4.c: Likewise.
10842 * soft-fp/fmatf4.c: Likewise.
10843
6308fd9a
LD
108442013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10845
10846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10847 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10848 Silvermont.
10849 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10850 macro.
10851 (index_Slow_SSE4_2): Likewise.
10852 (index_Prefer_PMINUB_for_stringop): Likewise.
10853 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10854 bit_Slow_SSE4_2 is set.
10855 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10856 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10857
89cd9569
RA
108582013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10859
10860 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10861 rtld_global._dl_hwcap2.
10862 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10863 POWER8.
10864 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10865 POWER8 feature descriptions defined in _dl_hwcap2.
10866 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10867 string handling for POWER8 feature bits.
10868 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10869 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10870 _dl_powerpc_cap_flags.
10871 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10872 * sysdeps/powerpc/rtld-global-offsets.sym
10873 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10874 _dl_hwcap2 in the rtld_global_ro structure.
10875
1ae8bfe0
RA
108762013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10877
10878 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10879 hardware capabilities in support of AT_HWCAP2.
10880 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10881 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10882 GLRO(dl_hwcap2).
10883 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10884 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10885 explicitly the unknown a_type display mechanism is used.
10886 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10887 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10888 struct member.
10889 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10890 to macro prototype for AT_HWCAP2 support.
10891 * sysdeps/i386/dl-procinfo.h: Likewise.
10892 * sysdeps/s390/dl-procinfo.h: Likewise.
10893 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10894 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10895 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10896 return -1 for unknown a_type display fallback.
10897 * sysdeps/sparc/dl-procinfo.h: Likewise.
10898 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10899 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10900
8fbec010
JM
109012013-06-28 Joseph Myers <joseph@codesourcery.com>
10902
10903 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10904 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10905
0432680e
PY
109062013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10907
10908 [BZ #12492]
10909 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10910 mprotect making __stack_prot writable.
10911
ce61a2ad
NF
109122013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10913 Joseph Myers <joseph@codesourcery.com>
10914
10915 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10916 as being properly aligned.
10917
f91f1c0f
MR
109182013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10919
3d0f5d0c
MR
10920 * dlfcn/modstatic5.c: New file.
10921 * dlfcn/tststatic5.c: New file.
10922 * dlfcn/Makefile (tests): Add tststatic5.
10923 (tests-static): Likewise.
10924 (modules-names): Add modstatic5.
10925 (tststatic5-ENV): New variable.
10926 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10927
f91f1c0f
MR
10928 [BZ #15022]
10929 * elf/dl-support.c (_dl_main_map): New variable.
10930 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10931 (_dl_nns, _dl_load_adds): Set to 1.
10932 (_dl_initial_searchlist): Refer to _dl_main_map.
10933 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10934 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10935 call to _dl_get_origin.
10936 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10937 around call_map.
10938 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10939 * dlfcn/modstatic3.c: New file.
10940 * dlfcn/tststatic3.c: New file.
10941 * dlfcn/tststatic4.c: New file.
10942 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10943 (tests-static): Likewise.
10944 (modules-names): Add modstatic3.
10945 (tststatic3-ENV, tststatic4-ENV): New variables.
10946 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10947 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10948
cbe7d24b
JM
109492013-06-26 Joseph Myers <joseph@codesourcery.com>
10950
10951 * configure.in (CC): Require GCC version 4.4 or later.
10952 * configure: Regenerated.
10953 * manual/install.texi (Tools for Compilation): Update GCC version
10954 requirement.
10955 * INSTALL: Regenerated.
10956
11b8a0e1
LD
109572013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10958
10959 [BZ #15674]
bb5bb87c
L
10960 * string/test-memcmp.c (check2): New.
10961 (main): Call check2.
10962
11b8a0e1
LD
10963 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10964
b0037103
MR
109652013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10966
10967 [BZ #15022]
10968 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10969 over to...
10970 (dl_open_worker) [!SHARED]: ... here.
10971
c18c701d
RA
109722013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10973
10974 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10975
1d17fa5f
RH
109762013-06-25 Richard Henderson <rth@redhat.com>
10977
10978 * locale/programs/locarchive.c: Include <libc-internal.h>
10979
8fcb833a
JM
109802013-06-25 Joseph Myers <joseph@codesourcery.com>
10981
10982 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10983 trailing whitespace removed.
10984
17db6e8d
MF
109852013-06-24 Mike Frysinger <vapier@gentoo.org>
10986
10987 [BZ #10283]
17db6e8d
MF
10988 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10989 * locale/programs/locarchive.c: Include libc-mmap.h.
10990 (prepare_address_space): Take two new outputs (the mmap base and len).
10991 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10992 values.
10993 (create_archive): Declare new mmap base and len values for
10994 prepare_address_space, and store the result in ah.
10995 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10996 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10997 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10998 Declare new mmap base and len values for
10999 prepare_address_space, and store the result in new_ah.
11000 (open_archive): Declare new mmap base and len values for
11001 prepare_address_space, and store the result in ah.
11002 (close_archive): If ah->mmap_base is not NULL, use that and
11003 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11004 * sysdeps/generic/libc-mmap.h: New file.
11005
d605071e
MF
110062013-06-24 Mike Frysinger <vapier@gentoo.org>
11007
11008 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11009 (ALIGN_UP): Likewise.
11010 (PTR_ALIGN_DOWN): Likewise.
11011 (PTR_ALIGN_UP): Likewise.
11012
2f063a6e
RA
110132013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11014
11015 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11016 entry mapped to PPC_PLATFORM_POWER8.
11017 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11018 POWER8.
11019 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11020 (_dl_string_platform): Add case for exporting platform position for
11021 POWER8.
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11023 search path to sysdeps/powerpc/powerpc32/power8 directory.
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11025 search path to sysdeps/powerpc/powerpc64/power8 directory.
11026 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11027 power7 directories.
11028 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11029 power7 directories.
11030
a31ee4b3
SP
110312013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11032
a74ca98f
SP
11033 * INSTALL: Regenerate.
11034
a31ee4b3
SP
11035 * nscd/connections.c (nscd_init): Fix comment.
11036
695c378f
JM
110372013-06-22 Joseph Myers <joseph@codesourcery.com>
11038
d8412221
JM
11039 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11040
695c378f
JM
11041 [BZ #15667]
11042 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11043 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11044
d1d54715
MR
110452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11046
11047 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11048 DL_DST_REQ_STATIC.
11049 (DL_DST_REQ_STATIC): Remove macro.
11050
8fdda7af
JM
110512013-06-21 Joseph Myers <joseph@codesourcery.com>
11052
11053 [BZ #7006]
11054 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11055 with a shift of 0 bits.
11056
f3bc5e5a
MR
110572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11058
11059 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11060 $(tststatic-ENV).
11061
be09e8c9
KK
110622013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11063
11064 [BZ #15655]
11065 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11066
85c2e611
AZ
110672013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11068
11069 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11070 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11071 accepts -fno-tree-loop-distribute-patterns.
11072 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11073 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11074 recursive call.
11075 * string/memset.c (memset): Likewise.
11076 * string/test-memmove.c (simple_memmove): Disable loop transformation
11077 to library calls.
11078 * string/test-memset.c (simple_memset): Likewise.
11079 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11080 * benchtests/bench-memset.c (simple_memset): Likewise.
11081 * configure: Regenerated.
11082
c91e0825
JM
110832013-06-20 Joseph Myers <joseph@codesourcery.com>
11084
b8c792af
JM
11085 * math/test-misc.c (main): Ignore fesetround failure when failures
11086 of subsequent rounding tests would be ignored.
11087
c91e0825
JM
11088 [BZ #15654]
11089 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11090 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11091 * math/fegetenv.c (__fegetenv): Return 0.
11092 * math/fegetexcept.c (fegetexcept): Return 0.
11093 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11094 FE_TONEAREST.
11095 * math/feholdexcpt.c (feholdexcept): Return 0.
11096 * math/fesetenv.c (__fesetenv): Return 0.
11097 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11098 argument FE_TONEAREST.
11099 * math/feupdateenv.c (__feupdateenv): Return 0.
11100 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11101
bfcacbde
RM
111022013-06-18 Roland McGrath <roland@hack.frob.com>
11103
11104 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11105 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11106 ($(objpfx)rtld-%.os rules): Use them.
11107
e55a9b25
AZ
111082013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11109
11110 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11111 fields.
11112
346d65b3
RM
111132013-06-17 Roland McGrath <roland@hack.frob.com>
11114
12086fb4
RM
11115 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11116 length of target pattern, then descending length of dependency pattern.
11117 * configure.in (AWK): Require gawk 3.1.2 or newer.
11118 * manual/install.texi (Tools for Compilation): Say that we do.
11119 * configure: Regenerated.
11120
346d65b3
RM
11121 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11122 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11123 * scripts/sysd-rules.awk: ... this new script.
11124 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11125 than a glob-style pattern.
11126
1a846317
JM
111272013-06-17 Joseph Myers <joseph@codesourcery.com>
11128
11129 * math/test-misc.c (main): Do not treat incorrectly rounded
11130 conversions as failure unless ROUNDING_TESTS passes.
11131
8fc75e6f
JM
111322013-06-15 Joseph Myers <joseph@codesourcery.com>
11133
3711a167
JM
11134 [BZ #15631]
11135 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11136 restore exception state around main square root computation, then
11137 check for inexactness explicitly.
11138
8fc75e6f
JM
11139 * math/libm-test.inc (fma_test_data): Add another test.
11140
61dd6208
SP
111412013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11142
adf23d2c
SP
11143 * manual/threads.texi (Non-POSIX Extensions): New document
11144 node. Document pthread_getattr_default_np and
11145 pthread_setattr_default_np.
11146
61dd6208
SP
11147 * Versions.def (libpthread): Add GLIBC_2.18.
11148 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11150 Likewise.
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11152 Likewise.
11153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11154 Likewise.
11155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11156 Likewise.
11157 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11158 Likewise.
11159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11160 Likewise.
11161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11162 Likewise.
11163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11164 Likewise.
11165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11166 Likewise.
11167
d086fc7b
LD
111682013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11169
11170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11171 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11172
747ef469
SP
111732013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11174 H.J. Lu <hjl.tools@gmail.com>
11175
11176 [BZ #15627]
11177 * sysdeps/x86_64/rtld-memset.c: Remove file.
11178 * sysdeps/x86_64/rtld-memset.S: New file.
11179
1b2feed2
JM
111802013-06-14 Joseph Myers <joseph@codesourcery.com>
11181
11182 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11183 (test_in_one_mode): Take arguments for whether the rounding mode
11184 is supported for each floating-point type.
11185 (do_test): Pass new arguments to test_in_one_mode using
11186 ROUNDING_TESTS.
11187
a58ad3f8
RM
111882013-06-13 Roland McGrath <roland@hack.frob.com>
11189
11190 * posix/tst-waitid.c (do_test): Distinguish different instances of
11191 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11192 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11193 before entering the kernel for waitpid.
11194
c204ab28
SP
111952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11196
11197 * NEWS: Fix note on clock function precision. Text by Roland
11198 McGrath.
11199
f4a29fba
RM
112002013-06-13 Roland McGrath <roland@hack.frob.com>
11201
11202 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11203 it into place only when and if the sanity check passes.
11204
1f24b9ad
JM
112052013-06-13 Joseph Myers <joseph@codesourcery.com>
11206
11207 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11208 output for whether conversion result is exact. Take argument
11209 indicating whether type is IBM long double.
11210 (round_for_all): Change need_exact field to ibm_ld.
11211 * stdlib/tst-strtod-round.c (struct exactness): New type.
11212 (struct test): Change bool ld_ok field to struct exactness exact.
11213 (TEST): Update all definitions for change to field.
11214 (tests): Regenerate array contents.
11215 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11216 field value. Check for IBM long double here.
11217 (do_test): Update calls to test_in_one_mode.
11218
58206c68
SP
112192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11220
11221 [BZ #12515]
11222 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11223 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11224
2d6f4c5b 112252013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11226
11227 [BZ #15605]
11228 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11229 generated by the compiler on loop optimizations.
11230 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11231 general definitions.
11232
94f2c076
JM
112332013-06-12 Joseph Myers <joseph@codesourcery.com>
11234
11235 * math/bug-nextafter.c: Include <math-tests.h>.
11236 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11237 the relevant type.
11238 * math/bug-nexttoward.c: Include <math-tests.h>.
11239 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11240 the relevant type.
11241 * math/test-misc.c: Include <math-tests.h>.
11242 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11243 the relevant type.
11244
e0e50a0a
AJ
112452013-06-12 Andreas Jaeger <aj@suse.de>
11246
11247 * po/ia.po: Update Interlingua translation from translation
11248 project.
11249
25061094
SP
112502013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11251
11252 * include/fenv.h: Include stdbool.h.
11253 (struct rm_ctx): New structure.
11254 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11255 Define macro.
11256 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11257 (SET_RESTORE_ROUNDF): Likewise.
11258 (SET_RESTORE_ROUNDL): Likewise.
11259 (SET_RESTORE_ROUND_NOEX): Likewise.
11260 (SET_RESTORE_ROUND_NOEXF): Likewise.
11261 (SET_RESTORE_ROUND_NOEXL): Likewise.
11262 (SET_RESTORE_ROUND_53BIT): Likewise.
11263 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11264 (libc_feresetround_noexf_ctx): Likewise.
11265 (libc_feresetround_noexl_ctx): Likewise.
11266 (libc_feholdsetround_53bit_ctx): Likewise.
11267 (libc_feresetround_53bit_ctx): Likewise.
11268 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11269 (libc_feholdexcept_setround_sse_ctx): New function.
11270 (libc_fesetenv_sse_ctx): Likewise.
11271 (libc_feupdateenv_sse_ctx): Likewise.
11272 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11273 (libc_feholdexcept_setround_387_ctx): Likewise.
11274 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11275 (libc_feholdsetround_387_prec_ctx): Likewise.
11276 (libc_feholdsetround_387_ctx): Likewise.
11277 (libc_feholdsetround_387_53bit_ctx): Likewise.
11278 (libc_feholdsetround_sse_ctx): Likewise.
11279 (libc_feresetround_sse_ctx): Likewise.
11280 (libc_feresetround_387_ctx): Likewise.
11281 (libc_feupdateenv_387_ctx): Likewise.
11282 (libc_feholdexcept_setroundf_ctx): Define macro.
11283 (libc_fesetenvf_ctx): Likewise.
11284 (libc_feupdateenvf_ctx): Likewise.
11285 (libc_feholdsetroundf_ctx): Likewise.
11286 (libc_feresetroundf_ctx): Likewise.
11287 (libc_feholdexcept_setround_ctx): Likewise.
11288 (libc_fesetenv_ctx): Likewise.
11289 (libc_feupdateenv_ctx): Likewise.
11290 (libc_feholdsetround_ctx): Likewise.
11291 (libc_feresetround_ctx): Likewise.
11292 (libc_feholdexcept_setroundl_ctx): Likewise.
11293 (libc_feupdateenvl_ctx): Likewise.
11294 (libc_feholdsetroundl_ctx): Likewise.
11295 (libc_feresetroundl_ctx): Likewise.
11296 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11297 (libc_feresetround_53bit_ctx): Likewise.
11298
59b30555
SP
112992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11300
11301 * locale/iso-639.def: Convert to UTF-8.
11302
f1d73d30
JM
113032013-06-11 Joseph Myers <joseph@codesourcery.com>
11304
11305 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11306 (EXCEPTION_TESTS_double): Likewise.
11307 (EXCEPTION_TESTS_long_double): Likewise.
11308 (EXCEPTION_TESTS): Likewise.
11309 * math/libm-test.inc (test_exceptions): Only test exceptions if
11310 EXCEPTION_TESTS (FLOAT).
11311
94aca5e7
SP
113122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11313
11314 * benchtests/Makefile (string-bench): Add strcpy_chk and
11315 stpcpy_chk.
11316 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11317 * benchtests/bench-stpcpy_chk.c: New file.
11318 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11319 * benchtests/bench-strcpy_chk.c: New file.
11320 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11321 code.
11322 (do_test): Likewise.
11323
fac0c5f2
RA
113242013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11325
11326 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11327 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11328 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11329 with tabs where appropriate.
11330 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11331 dl-procinfo.h.
11332 [PPC_PLATFORM_PPC440]: Likewise.
11333 [PPC_PLATFORM_PPC464]: Likewise.
11334 [PPC_PLATFORM_PPC476]: Likewise.
11335 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11336 ppc464, and ppc476 platform strings merging from ports/
11337 dl-procinfo.h.
11338
f22bc486
AS
113392013-06-11 Andreas Schwab <schwab@suse.de>
11340
11341 [BZ #14991]
11342 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11343 (from_ucs4_idx): Regenerate.
11344 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11345 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11346 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11347 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11348 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11349 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11350 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11351 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11352 from FROM_LOOP and TO_LOOP specific macros.
11353 (BODY): Handle combining characters.
11354 * iconvdata/BIG5HKSCS.irreversible: Update.
11355 * iconvdata/BIG5HKSCS.precomposed: New file.
11356 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11357 characters.
11358 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11359
c1f75dc3
SP
113602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11361
4eacded2
SP
11362 * include/sys/time.h: Fix indentation and add copyright header.
11363
fec799f8
SP
11364 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11365 (do_test): Likewise.
11366 * string/test-memchr.c (do_one_test): Likewise.
11367 (do_test): Likewise.
11368 * string/test-memcmp.c (do_one_test): Likewise.
11369 (do_test): Likewise.
11370 * string/test-memcpy.c (do_one_test): Likewise.
11371 (do_test): Likewise.
11372 * string/test-memmem.c (do_one_test): Likewise.
11373 (do_test): Likewise.
11374 (do_random_tests): Likewise.
11375 * string/test-memmove.c (do_one_test): Likewise.
11376 (do_test): Likewise.
11377 * string/test-memset.c (do_one_test): Likewise.
11378 (do_test): Likewise.
11379 * string/test-rawmemchr.c (do_one_test): Likewise.
11380 (do_test): Likewise.
11381 * string/test-strcasecmp.c (do_one_test): Likewise.
11382 (do_test): Likewise.
11383 * string/test-strcasestr.c (do_one_test): Likewise.
11384 (do_test): Likewise.
11385 * string/test-strcat.c (do_one_test): Likewise.
11386 (do_test): Likewise.
11387 * string/test-strchr.c (do_one_test): Likewise.
11388 (do_test): Likewise.
11389 * string/test-strcmp.c (do_one_test): Likewise.
11390 (do_test): Likewise.
11391 * string/test-strcpy.c (do_one_test): Likewise.
11392 (do_test): Likewise.
11393 * string/test-string.h: Likewise.
11394 (test_init): Likewise.
11395 * string/test-strlen.c (do_one_test): Likewise.
11396 (do_test): Likewise.
11397 * string/test-strncasecmp.c (do_one_test): Likewise.
11398 (do_test): Likewise.
11399 * string/test-strncat.c (do_one_test): Likewise.
11400 (do_test): Likewise.
11401 * string/test-strncmp.c (do_one_test): Likewise.
11402 (do_test_limit): Likewise.
11403 (do_test): Likewise.
11404 * string/test-strncpy.c (do_one_test): Likewise.
11405 (do_test): Likewise.
11406 * string/test-strnlen.c (do_one_test): Likewise.
11407 (do_test): Likewise.
11408 * string/test-strpbrk.c (do_one_test): Likewise.
11409 (do_test): Likewise.
11410 * string/test-strrchr.c (do_one_test): Likewise.
11411 (do_test): Likewise.
11412 * string/test-strspn.c (do_one_test): Likewise.
11413 (do_test): Likewise.
11414 * string/test-strstr.c (do_one_test): Likewise.
11415 (do_test): Likewise.
11416
97020474
SP
11417 * benchtests/Makefile (string-bench): Add string benchmarks.
11418 * benchtests/bench-bcopy-ifunc.c: New file.
11419 * benchtests/bench-bcopy.c: New file.
11420 * benchtests/bench-bzero-ifunc.c: New file.
11421 * benchtests/bench-bzero.c: New file.
11422 * benchtests/bench-memccpy-ifunc.c: New file.
11423 * benchtests/bench-memccpy.c: New file.
11424 * benchtests/bench-memchr-ifunc.c: New file.
11425 * benchtests/bench-memchr.c: New file.
11426 * benchtests/bench-memcmp-ifunc.c: New file.
11427 * benchtests/bench-memcmp.c: New file.
11428 * benchtests/bench-memmem-ifunc.c: New file.
11429 * benchtests/bench-memmem.c: New file.
11430 * benchtests/bench-memmove-ifunc.c: New file.
11431 * benchtests/bench-memmove.c: New file.
11432 * benchtests/bench-mempcpy-ifunc.c: New file.
11433 * benchtests/bench-mempcpy.c: New file.
11434 * benchtests/bench-memset-ifunc.c: New file.
11435 * benchtests/bench-memset.c: New file.
11436 * benchtests/bench-rawmemchr-ifunc.c: New file.
11437 * benchtests/bench-rawmemchr.c: New file.
11438 * benchtests/bench-stpcpy-ifunc.c: New file.
11439 * benchtests/bench-stpcpy.c: New file.
11440 * benchtests/bench-stpncpy-ifunc.c: New file.
11441 * benchtests/bench-stpncpy.c: New file.
11442 * benchtests/bench-strcasecmp-ifunc.c: New file.
11443 * benchtests/bench-strcasecmp.c: New file.
11444 * benchtests/bench-strcasestr-ifunc.c: New file.
11445 * benchtests/bench-strcasestr.c: New file.
11446 * benchtests/bench-strcat-ifunc.c: New file.
11447 * benchtests/bench-strcat.c: New file.
11448 * benchtests/bench-strchr-ifunc.c: New file.
11449 * benchtests/bench-strchr.c: New file.
11450 * benchtests/bench-strchrnul-ifunc.c: New file.
11451 * benchtests/bench-strchrnul.c: New file.
11452 * benchtests/bench-strcmp-ifunc.c: New file.
11453 * benchtests/bench-strcmp.c: New file.
11454 * benchtests/bench-strcpy-ifunc.c: New file.
11455 * benchtests/bench-strcpy.c: New file.
11456 * benchtests/bench-strcspn-ifunc.c: New file.
11457 * benchtests/bench-strcspn.c: New file.
11458 * benchtests/bench-strlen-ifunc.c: New file.
11459 * benchtests/bench-strlen.c: New file.
11460 * benchtests/bench-strncasecmp-ifunc.c: New file.
11461 * benchtests/bench-strncasecmp.c: New file.
11462 * benchtests/bench-strncat-ifunc.c: New file.
11463 * benchtests/bench-strncat.c: New file.
11464 * benchtests/bench-strncmp-ifunc.c: New file.
11465 * benchtests/bench-strncmp.c: New file.
11466 * benchtests/bench-strncpy-ifunc.c: New file.
11467 * benchtests/bench-strncpy.c: New file.
11468 * benchtests/bench-strnlen-ifunc.c: New file.
11469 * benchtests/bench-strnlen.c: New file.
11470 * benchtests/bench-strpbrk-ifunc.c: New file.
11471 * benchtests/bench-strpbrk.c: New file.
11472 * benchtests/bench-strrchr-ifunc.c: New file.
11473 * benchtests/bench-strrchr.c: New file.
11474 * benchtests/bench-strspn-ifunc.c: New file.
11475 * benchtests/bench-strspn.c: New file.
11476 * benchtests/bench-strstr-ifunc.c: New file.
11477 * benchtests/bench-strstr.c: New file.
11478
c1f75dc3
SP
11479 * benchtests/Makefile: Disable parallel execution of targets.
11480 (string-bench): Add memcpy.
11481 (benchset): New variable to store a list of benchmark sets.
11482 (bench-func): Renamed from bench.
11483 (bench-set): New target.
11484 (bench): Depend on bench-func and bench-set.
11485 * benchtests/README: Add section on benchmark sets.
11486 * benchtests/bench-memcpy-ifunc.c: New file.
11487 * benchtests/bench-memcpy.c: New file.
11488 * benchtests/bench-string.h: New file.
11489
50fd745b
AS
114902013-06-11 Andreas Schwab <schwab@suse.de>
11491
11492 [BZ #15577]
11493 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11494 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11495 values in the triple.
11496 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11497 terminator in the group key.
11498
3ee7e9fe
AJ
114992013-06-11 Andreas Jaeger <aj@suse.de>
11500
11501 * po/zh_TW.po: Update Chinese (traditional) translation from
11502 translation project.
11503
89fb6835
SP
115042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11505
11506 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11507 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11508 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11509 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11510 (clock_getcpuclockid): Likewise.
11511 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11512 Add weak_alias and libc_hidden_def.
11513 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11514 * rt/clock_gettime.c (clock_gettime): Rename to
11515 __clock_gettime. Add weak_alias and libc_hidden_def.
11516 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11517 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11518 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11519 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11520 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11521 Likewise.
11522 * rt/clock_settime.c (clock_settime): Rename to
11523 __clock_settime. Add weak_alias and libc_hidden_def.
11524 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11525
0efa6f8b
JM
115262013-06-10 Joseph Myers <joseph@codesourcery.com>
11527
b8c61b4b
JM
11528 * mach/err_boot.sub: Remove trailing whitespace.
11529 * mach/err_ipc.sub: Likewise.
11530 * mach/err_mach.sub: Likewise.
11531
0efa6f8b
JM
11532 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11533 (ROUNDING_TESTS_double): Likewise.
11534 (ROUNDING_TESTS_long_double): Likewise.
11535 (ROUNDING_TESTS): Likewise.
11536 * math/libm-test.inc: Include <math-tests.h>.
11537 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11538 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11539 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11540 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11541
50b818bf
SP
115422013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11543
11544 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11545 of assigning.
11546
60d2f8f3
JM
115472013-06-08 Joseph Myers <joseph@codesourcery.com>
11548
4902d2c3
JM
11549 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11550 otherwise empty TRANS lines.
11551 * sysdeps/gnu/errlist.c: Regenerated.
11552
60d2f8f3
JM
11553 * catgets/gencat.c (error_print): Use (void) in function
11554 definition.
11555 * crypt/crypt_util.c (__init_des): Likewise.
11556 * crypt/speeds.c (Stop): Likewise.
11557 (main): Likewise.
11558 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11559 * inet/ruserpass.c (token): Likewise.
11560 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11561 * intl/localealias.c (extend_alias_table): Likewise.
11562 * intl/plural-exp.c (init_germanic_plural): Likewise.
11563 * libio/fcloseall.c (__fcloseall): Likewise.
11564 * libio/genops.c (_IO_flush_all): Likewise.
11565 (_IO_flush_all_linebuffered): Likewise.
11566 (_IO_cleanup): Likewise.
11567 (_IO_iter_begin): Likewise.
11568 (_IO_iter_end): Likewise.
11569 (_IO_list_lock): Likewise.
11570 (_IO_list_unlock): Likewise.
11571 (_IO_list_resetlock): Likewise.
11572 * libio/getchar.c (getchar): Likewise.
11573 * libio/getchar_u.c (getchar_unlocked): Likewise.
11574 * libio/getwchar.c (getwchar): Likewise.
11575 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11576 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11577 * login/getpt.c (__getpt): Likewise.
11578 * login/tst-utmp.c (main): Likewise.
11579 * malloc/hooks.c (__malloc_check_init): Likewise.
11580 * malloc/malloc.c (__malloc_stats): Likewise.
11581 * malloc/mtrace.c (tr_break): Likewise.
11582 (mtrace): Likewise.
11583 (muntrace): Likewise.
11584 * misc/fstab.c (endfsent): Likewise.
11585 * misc/getclktck.c (__getclktck): Likewise.
11586 * misc/getdtsz.c (__getdtablesize): Likewise.
11587 * misc/gethostid.c (gethostid): Likewise.
11588 * misc/getpagesize.c (__getpagesize): Likewise.
11589 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11590 (__get_nprocs): Likewise.
11591 (__get_phys_pages): Likewise.
11592 (__get_avphys_pages): Likewise.
11593 * misc/getttyent.c (getttyent): Likewise.
11594 (setttyent): Likewise.
11595 (endttyent): Likewise.
11596 * misc/getusershell.c (getusershell): Likewise.
11597 (endusershell): Likewise.
11598 (setusershell): Likewise.
11599 (initshells): Likewise.
11600 * misc/hsearch.c (__hdestroy): Likewise.
11601 * misc/sync.c (sync): Likewise.
11602 * misc/syslog.c (closelog_internal): Likewise.
11603 (closelog): Likewise.
11604 * misc/ttyslot.c (ttyslot): Likewise.
11605 * misc/vhangup.c (vhangup): Likewise.
11606 * posix/fork.c (__fork): Likewise.
11607 * posix/getegid.c (__getegid): Likewise.
11608 * posix/geteuid.c (__geteuid): Likewise.
11609 * posix/getgid.c (__getgid): Likewise.
11610 * posix/getpid.c (__getpid): Likewise.
11611 * posix/getppid.c (__getppid): Likewise.
11612 * posix/getuid.c (__getuid): Likewise.
11613 * posix/pause.c (pause): Likewise.
11614 * posix/setpgrp.c (setpgrp): Likewise.
11615 * posix/setsid.c (__setsid): Likewise.
11616 * posix/test-vfork.c (noop): Likewise.
11617 * resolv/gethnamaddr.c (_endhtent): Likewise.
11618 (_gethtent): Likewise.
11619 (ht_endhostent): Likewise.
11620 (gethostent): Likewise.
11621 (dns_service): Likewise.
11622 * stdlib/drand48.c (drand48): Likewise.
11623 * stdlib/lrand48.c (lrand48): Likewise.
11624 * stdlib/mrand48.c (mrand48): Likewise.
11625 * stdlib/rand.c (rand): Likewise.
11626 * stdlib/random.c (__random): Likewise.
11627 * stdlib/setenv.c (clearenv): Likewise.
11628 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11629 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11630 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11631 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11632 (__get_nprocs): Likewise.
11633 (__get_phys_pages): Likewise.
11634 (__get_avphys_pages): Likewise.
11635 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11636 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11637 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11638 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11639 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11640 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11641 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11642 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11643 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11644 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11645 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11646 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11647 * sysdeps/posix/clock.c (clock): Likewise.
11648 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11649 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11650 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11651 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11652 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11653 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11654 (__get_nprocs_conf): Likewise.
11655 (__get_phys_pages): Likewise.
11656 (__get_avphys_pages): Likewise.
11657 * time/clock.c (clock): Likewise.
11658 * time/tzset.c (__tzname_max): Likewise.
11659
2e09a79a
JM
116602013-06-07 Joseph Myers <joseph@codesourcery.com>
11661
11662 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11663 (__bswap_32): Do not use "register".
11664 * crypt/crypt.c (_ufc_doit_r): Likewise.
11665 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11666 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11667 * gmon/gmon.c (__monstartup): Likewise.
11668 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11669 * hurd/hurdmalloc.c (more_memory): Likewise.
11670 (malloc): Likewise.
11671 (free): Likewise.
11672 (realloc): Likewise.
11673 (malloc_fork_prepare): Likewise.
11674 (malloc_fork_parent): Likewise.
11675 (malloc_fork_child): Likewise.
11676 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11677 (_svcauth_des): Likewise.
11678 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11679 * inet/inet_net.c (inet_network): Likewise.
11680 * inet/inet_netof.c (inet_netof): Likewise.
11681 * inet/rcmd.c (__validuser2_sa): Likewise.
11682 * io/fts.c (fts_open): Likewise.
11683 (fts_load): Likewise.
11684 (fts_close): Likewise.
11685 (fts_read): Likewise.
11686 (fts_children): Likewise.
11687 (fts_build): Likewise.
11688 (fts_stat): Likewise.
11689 (fts_sort): Likewise.
11690 (fts_alloc): Likewise.
11691 (fts_lfree): Likewise.
11692 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11693 (_IO_file_xsgetn): Likewise.
11694 (_IO_file_xsgetn_mmap): Likewise.
11695 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11696 (_IO_cookie_write): Likewise.
11697 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11698 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11699 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11700 * malloc/obstack.c (_obstack_begin): Likewise.
11701 (_obstack_begin_1): Likewise.
11702 (_obstack_newchunk): Likewise.
11703 (_obstack_allocated_p): Likewise.
11704 (obstack_free): Likewise.
11705 (_obstack_memory_used): Likewise.
11706 * misc/getttyent.c (getttynam): Likewise.
11707 (getttyent): Likewise.
11708 (skip): Likewise.
11709 (value): Likewise.
11710 * misc/getusershell.c (initshells): Likewise.
11711 * misc/syslog.c (__vsyslog_chk): Likewise.
11712 * misc/ttyslot.c (ttyslot): Likewise.
11713 * nis/nis_hash.c (__nis_hash): Likewise.
11714 * posix/fnmatch_loop.c (FCT): Likewise.
11715 * posix/getconf.c (print_all): Likewise.
11716 (main): Likewise.
11717 * posix/getopt.c (exchange): Likewise.
11718 * posix/glob.c (globfree): Likewise.
11719 (prefix_array): Likewise.
11720 (__glob_pattern_type): Likewise.
11721 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11722 (NS_GET32): Likewise.
11723 (NS_PUT16): Likewise.
11724 (NS_PUT32): Likewise.
11725 * resolv/gethnamaddr.c (getanswer): Likewise.
11726 (gethostbyname2): Likewise.
11727 (gethostbyaddr): Likewise.
11728 (_gethtent): Likewise.
11729 (_gethtbyname2): Likewise.
11730 (_gethtbyaddr): Likewise.
11731 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11732 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11733 * resolv/res_init.c (__res_vinit): Likewise.
11734 (net_mask): Likewise.
11735 * resolv/res_mkquery.c (outchar): Likewise.
11736 (PRINT): Likewise.
11737 * stdio-common/printf_fp.c (outchar): Likewise.
11738 (PRINT): Likewise.
11739 * stdio-common/printf_fphex.c (outchar): Likewise.
11740 (PRINT): Likewise.
11741 * stdio-common/printf_size.c (outchar): Likewise.
11742 (PRINT): Likewise.
11743 * stdio-common/test_rdwr.c (main): Likewise.
11744 * stdio-common/tfformat.c (matches): Likewise.
11745 * stdio-common/vfprintf.c (outchar): Likewise.
11746 (printf_unknown): Likewise.
11747 (buffered_vfprintf): Likewise.
11748 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11749 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11750 (ReadFile): Likewise.
11751 * stdlib/qsort.c (SWAP): Likewise.
11752 (_quicksort): Likewise.
11753 * stdlib/setenv.c (__add_to_environ): Likewise.
11754 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11755 * stdlib/strtol_l.c (__strtol_l): Likewise.
11756 * stdlib/tst-strtod.c (main): Likewise.
11757 * stdlib/tst-strtol.c (main): Likewise.
11758 * stdlib/tst-strtoll.c (main): Likewise.
11759 * string/bits/string2.h (__strcmp_cc): Likewise.
11760 (__strcmp_cg): Likewise.
11761 (__strcspn_c1): Likewise.
11762 (__strcspn_c2): Likewise.
11763 (__strcspn_c3): Likewise.
11764 (__strspn_c1): Likewise.
11765 (__strspn_c2): Likewise.
11766 (__strspn_c3): Likewise.
11767 (__strsep_1c): Likewise.
11768 (__strsep_2c): Likewise.
11769 (__strsep_3c): Likewise.
11770 * string/memccpy.c (__memccpy): Likewise.
11771 * string/stpcpy.c (__stpcpy): Likewise.
11772 * string/strcmp.c (strcmp): Likewise.
11773 * string/strrchr.c (strrchr): Likewise.
11774 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11775 Likewise.
11776 * sysdeps/mach/hurd/getcwd.c
11777 (_hurd_canonicalize_directory_name_internal): Likewise.
11778 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11779 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11780 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11781 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11782 Likewise, in both definitions.
11783 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11784 definitions.
11785 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11786 64] (__bswap_64): Likewise.
11787 * time/test_time.c (main): Likewise.
11788 * time/tzfile.c (__tzfile_read): Likewise.
11789 (__tzfile_compute): Likewise.
11790 * time/tzset.c (__tzset_parse_tz): Likewise.
11791 (tzset_internal): Likewise.
11792 (compute_change): Likewise.
11793 * wcsmbs/wcscat.c (__wcscat): Likewise.
11794 * wcsmbs/wcschr.c (wcschr): Likewise.
11795 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11796 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11797 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11798 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11799 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11800 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11801 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11802 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11803 * wcsmbs/wmemset.c (wmemset): Likewise.
11804
9e54314b
JM
118052013-06-06 Joseph Myers <joseph@codesourcery.com>
11806
11807 * scripts/config.guess: Update to version 2013-05-16.
11808 * scripts/config.sub: Update to version 2013-04-24.
11809 * scripts/install-sh: Update to version 2011-11-20.07.
11810 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11811 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11812
350635a5
OB
118132013-06-06 Ondřej Bílka <neleai@seznam.cz>
11814
11815 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11816 * elf/sln.c: Likewise.
11817 * hurd/hurd/ioctl.h: Likewise.
11818 * hurd/hurdmalloc.c: Likewise.
11819 * hurd/xattr.c: Likewise.
11820 * include/shlib-compat.h: Likewise.
11821 * inet/ruserpass.c: Likewise.
11822 * libio/iofgets_u.c: Likewise.
11823 * libio/iofgetws_u.c: Likewise.
11824 * locale/programs/ld-identification.c: Likewise.
11825 * locale/programs/ld-time.c: Likewise.
11826 * mach/msg-destroy.c: Likewise.
11827 * nss/nss_files/files-netgrp.c: Likewise.
11828 * resolv/res_data.c: Likewise.
11829 * soft-fp/op-1.h: Likewise.
11830 * soft-fp/op-2.h: Likewise.
11831 * soft-fp/op-4.h: Likewise.
11832 * soft-fp/op-common.h: Likewise.
11833 * stdio-common/printf_fphex.c: Likewise.
11834 * stdlib/strtod_l.c: Likewise.
11835 * sunrpc/rpc/clnt.h: Likewise.
11836 * sysdeps/generic/framestate.c: Likewise.
11837 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11838 * sysdeps/i386/bsd-setjmp.S: Likewise.
11839 * sysdeps/i386/__longjmp.S: Likewise.
11840 * sysdeps/i386/setjmp.S: Likewise.
11841 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11842 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11843 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11844 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11846 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11847 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11848 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11849 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11850 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11851 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11852 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11853 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11854 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11855 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11856 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11857 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11858 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11859 * sysdeps/ieee754/support.c: Likewise.
11860 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11861 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11862 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11863 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11864 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11865 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11866 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11867 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11868 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11869 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11870 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11871 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11872 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11873 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11874 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11875 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11876 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11878
44a988af
OB
118792013-06-05 Ondřej Bílka <neleai@seznam.cz>
11880
25506f09 11881 * posix/transbug.c: Remove executable mode.
44a988af 11882
9c84384c
JM
118832013-06-05 Joseph Myers <joseph@codesourcery.com>
11884
11885 * crypt/speeds.c: Remove trailing whitespace.
11886 * dlfcn/default.c: Likewise.
11887 * elf/ifuncdep2.c: Likewise.
11888 * elf/ifuncmain1.c: Likewise.
11889 * elf/ifuncmain1vis.c: Likewise.
11890 * elf/testobj.h: Likewise.
11891 * elf/tst-stackguard1.c: Likewise.
11892 * gmon/sys/gmon.h: Likewise.
11893 * hurd/hurdmsg.c: Likewise.
11894 * hurd/new-fd.c: Likewise.
11895 * hurd/ports-get.c: Likewise.
11896 * iconvdata/ibm1008_420.c: Likewise.
11897 * inet/tst-getni1.c: Likewise.
11898 * inet/tst-getni2.c: Likewise.
11899 * libio/ioungetc.c: Likewise.
11900 * libio/wfiledoalloc.c: Likewise.
11901 * manual/libm-err-tab.pl: Likewise.
11902 * math/w_dremf.c: Likewise.
11903 * misc/ftruncate.c: Likewise.
11904 * posix/bug-glob2.c: Likewise.
11905 * posix/tst-pcre.c: Likewise.
11906 * posix/wait4.c: Likewise.
11907 * resolv/README: Likewise.
11908 * resolv/res_debug.h: Likewise.
11909 * resolv/tst-inet_ntop.c: Likewise.
11910 * setjmp/bug269-setjmp.c: Likewise.
11911 * soft-fp/extended.h: Likewise.
11912 * soft-fp/op-1.h: Likewise.
11913 * soft-fp/op-2.h: Likewise.
11914 * soft-fp/op-4.h: Likewise.
11915 * soft-fp/op-8.h: Likewise.
11916 * soft-fp/testit.c: Likewise.
11917 * stdio-common/bug16.c: Likewise.
11918 * stdlib/random.c: Likewise.
11919 * sunrpc/rpcsvc/rquota.x: Likewise.
11920 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11921 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11922 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11923 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11924 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11925 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11926 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11927 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11928 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11929 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11930 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11931 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11932 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11933 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11934 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11937 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11938 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11939 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11940 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11941 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11942 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11943 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11945 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11946 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11947 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11948 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11949 * sysdeps/ieee754/s_lib_version.c: Likewise.
11950 * sysdeps/mach/hurd/check_fds.c: Likewise.
11951 * sysdeps/mach/hurd/getsockname.c: Likewise.
11952 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11953 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11954 * sysdeps/powerpc/bits/link.h: Likewise.
11955 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11956 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11957 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11958 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11959 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11960 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11961 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11962 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11963 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11964 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11965 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11966 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11967 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11968 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11969 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11970 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11971 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11972 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11973 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11974 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11975 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11976 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11977 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11978 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11979 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11980 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11981 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11982 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11983 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11984 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11985 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11986 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11987 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11988 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11989 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11990 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11991 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11992 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11993 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11994 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11995 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11996 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11997 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11998 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11999 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12000 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12001 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12002 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12003 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12004 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12005 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12006 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12007 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12008 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12009 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12010 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12011 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12012 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12013 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12014 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12015 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12016 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12017 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12018 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12019 * sysdeps/powerpc/sysdep.h: Likewise.
12020 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12021 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12022 * sysdeps/sh/dl-trampoline.S: Likewise.
12023 * sysdeps/sh/memset.S: Likewise.
12024 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12025 * sysdeps/sh/strlen.S: Likewise.
12026 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12027 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12028 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12029 * sysdeps/sparc/sparc32/rem.S: Likewise.
12030 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12031 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12032 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12033 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12034 * sysdeps/sparc/sparc32/urem.S: Likewise.
12035 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12036 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12037 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12038 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12039 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12040 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12041 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12042 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12043 * sysdeps/unix/bsd/times.c: Likewise.
12044 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12045 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12049 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12050 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12051 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12052 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12053 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12054 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12055 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12056 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12057 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12058 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12059 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12060 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12061 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12062 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12063 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12064 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12065 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12066 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12067 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12068 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12069 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12070 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12071 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12072 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12073 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12074 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12075 * sysdeps/x86_64/strcspn.S: Likewise.
12076
869378a5
RA
120772013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12078
12079 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12080 generated file. Regenerate properly from gen-translit.pl.
12081 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12082 locale/C-translit.h.
12083
840e2943
AS
120842013-06-05 Andreas Schwab <schwab@suse.de>
12085
12086 [BZ #15100]
12087 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12088 week as 6 instead of -1.
12089 * time/tst-strptime.c (day_tests): Add test case.
12090
4c60cb0c
SP
120912013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12092
12093 * sysdeps/generic/math_private.h
12094 (libc_feholdexcept_setround_53bit): Replace with
12095 libc_feholdsetround_53bit.
12096 (libc_feupdateenv_53bit): Replace with
12097 libc_feresetround_53bit.
12098 (SET_RESTORE_ROUND_53BIT): Adjust.
12099
d180203e
SP
121002013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12101
96df079a
SP
12102 * string/test-strchrnul.c: Add copyright header.
12103
d180203e
SP
12104 * posix/tst-getaddrinfo4.c: Increase test timeout.
12105
8b0ccb2d
CD
121062013-06-03 Carlos O'Donell <carlos@redhat.com>
12107
12108 [BZ #15536]
12109 * math/libm-test.inc (MAX_EXP): Remove
12110 (MIN_EXP): Define.
12111 (ulp): Use MIN_EXP - MANT_DIG.
12112 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12113
3b3c4d40
CD
121142013-05-31 Carlos O'Donell <carlos@redhat.com>
12115
12116 * po/be.po: Revert last change.
12117 * po/zh_CN.po: Likewise.
12118 * po/header.pot: Likewise.
12119
fab7ce3f
JM
121202013-05-31 Joseph Myers <joseph@codesourcery.com>
12121
12122 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12123 link-libc-deps to empty as target-specific variable.
12124 * Makerules (link-libc-args): New variable.
12125 (libc-for-link): Likewise.
12126 (link-libc-deps): Likewise.
12127 (lib%.so): Depend on $(link-libc-deps). Link with
12128 $(link-libc-args).
12129 (build-module): Link with $(link-libc-args).
12130 (build-module-asneeded): Likewise.
12131 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12132 list of objects.
12133 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12134 target-specific variable.
12135 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12136 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12137 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12138 libc.
12139 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12140 libc and ld.so.
12141 ($(objpfx)libpcprofile.so): Likewise.
12142 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12143 libc_nonshared.a.
12144 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12145 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12146 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12147 $(link-libc-deps).
12148 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12149 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12150 * login/Makefile ($(objpfx)libutil.so): Likewise.
12151 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12152 * math/Makefile ($(objpfx)libm.so): Likewise.
12153 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12154 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12155 variable instead of depending directly on libc.
12156 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12157 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12158 $(link-libc-deps).
12159 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12160 libc.
12161 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12162 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12163 ($(objpfx)libanl.so): Likewise.
12164 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12165 ld.so.
12166 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12167 $(link-libc-deps).
12168 * sysdeps/i386/fpu/Makefile: Remove file.
12169 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12170 ($(objpfx)libm.so): Remove dependency on ld.so.
12171
eca5920c
PF
121722013-05-30 Patsy Franklin <pfrankli@redhat.com>
12173
12174 [BZ # 15553]
12175 * nis/yp_xdr.c (XDRMAXNAME): Define.
12176 (XDRMAXRECORD): Define.
12177 (xdr_domainname): Use XDRMAXNAME.
12178 (xdr_mapname): Likewise.
12179 (xdr_peername): Likewise.
12180 (xdr_keydat): Use XDRMAXRECORD.
12181 (xdr_valdat): Likewise.
12182
121832013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12184
12185 [BZ #14256]
12186 * manual/errno.texi (ESTALE): Update to account for more than
12187 just NFS file systems.
12188 * sysdeps/gnu/errlist.c: Regenerated.
12189
b9375348
SP
121902013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12191
12192 [BZ #15465]
12193 * elf/Makefile (tests): Add tst-null-argv.
12194 (modules-names): Add tst-null-argv-lib.
12195 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12196 (tst-null-argv-ENV): Set environment for tst-null-argv.
12197 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12198 (RTLD_PROGNAME): New macro.
12199 * elf/tst-null-argv.c: New test case.
12200 * elf/tst-null-argv-lib.c: Library for test case.
12201 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12202 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12203 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12204 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12205 * elf/dl-init.c (call_init): Likewise.
12206 (_dl_init): Likewise.
12207 * elf/dl-load.c (print_search_path): Likewise.
12208 (_dl_map_object): Likewise.
12209 * elf/dl-lookup.c (do_lookup_x): Likewise.
12210 (add_dependency): Likewise.
12211 (_dl_lookup_symbol_x): Likewise.
12212 (_dl_debug_bindings): Likewise.
12213 * elf/dl-open.c (_dl_show_scope): Likewise.
12214 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12215 * elf/dl-version.c (match_symbol): Likewise.
12216 (_dl_check_map_versions): Likewise.
12217 * elf/rtld.c (dl_main): Likewise.
12218 (print_unresolved): Use RTLD_PROGNAME.
12219 (print_missing_version): Likewise.
12220 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12221 (elf_machine_rela): Likewise.
12222 * sysdeps/powerpc/powerpc32/dl-machine.c
12223 (__process_machine_rela): Likewise.
12224 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12225 Likewise.
12226 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12227 Likewise.
12228 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12229 Likewise.
12230 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12231 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12232 Likewise.
12233 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12234 Likewise.
12235 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12236
8a9f20c8
CD
122372013-05-28 Carlos O'Donell <carlos@redhat.com>
12238
12239 * po/be.po: Add descriptive title.
12240 * po/zh_CN.po: Likewise.
12241 * po/header.pot: Likewise.
12242
0e60d68e
MF
122432013-05-28 Mike Frysinger <vapier@gentoo.org>
12244
12245 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12246 error message.
12247 (enlarge_archive): Likewise.
12248
56b672e9
BN
122492013-05-28 Ben North <ben@redfrontdoor.org>
12250
12251 * manual/arith.texi (frexp): It is the magnitude of the return
12252 value which lies in [0.5, 1), not the return value itself.
12253
5e056687
AZ
122542013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12255
12256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12257
2b66ef5d
TS
122582013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12259
528c2405
TS
12260 * stdio-common/bug26.c (main): Correct fscanf template.
12261
07b4c13d
TS
12262 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12263 declare _dl_skip_args.
12264
ec9dd97c
TS
12265 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12266 Don't declare.
12267
2b66ef5d
TS
12268 * manual/platform.texi: Add missing @end deftypefun.
12269
4f8dfe27
JM
122702013-05-24 Joseph Myers <joseph@codesourcery.com>
12271
0323d086
JM
12272 [BZ #15529]
12273 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12274 bit of mantissa of 2^16382.
12275 * math/libm-test.inc (hypot_test_data): Add more tests.
12276
dd4259b9
JM
12277 * math/libm-test.inc: Add drem and pow10 to list of tested
12278 functions.
12279 (pow10_test): New function.
12280 (drem_test): Likewise.
12281 (drem_test_tonearest): Likewise.
12282 (drem_test_towardzero): Likewise.
12283 (drem_test_downward): Likewise.
12284 (drem_test_upward): Likewise.
12285 (main): Call the new functions.
12286
4f8dfe27
JM
12287 * math/libm-test.inc (finite_test_data): Remove.
12288 (finite_test): Run tests from isfinite_test_data.
12289 (gamma_test_data): Remove.
12290 (gamma_test): Run tests from lgamma_test_data.
12291 * sysdeps/i386/fpu/libm-test-ulps: Update.
12292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12293
d116b7c4
AZ
122942013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12295
12296 * manual/platform.texi: Add PowerPC PPR function set documentation.
12297 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12298 implementation.
12299
e96e3767
CD
123002013-05-24 Carlos O'Donell <carlos@redhat.com>
12301
12302 * math/libm-test.inc (MAX_EXP): Define.
12303 (ULPDIFF): Define.
12304 (ulp): New function.
12305 (check_float_internal): Use ULPDIFF.
12306 (cpow_test): Disable failing test.
12307 (check_ulp): Test ulp() implemetnation.
12308 (main): Call check_ulp before starting tests.
12309
b679a606
JM
123102013-05-24 Joseph Myers <joseph@codesourcery.com>
12311
e8bdba36
JM
12312 * math/gen-libm-test.pl (generate_testfile): Do not handle
12313 START_DATA and END_DATA.
12314 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12315 END_DATA.
12316 (acos_tonearest_test_data): Likewise.
12317 (acos_towardzero_test_data): Likewise.
12318 (acos_downward_test_data): Likewise.
12319 (acos_upward_test_data): Likewise.
12320 (acosh_test_data): Likewise.
12321 (asin_test_data): Likewise.
12322 (asin_tonearest_test_data): Likewise.
12323 (asin_towardzero_test_data): Likewise.
12324 (asin_downward_test_data): Likewise.
12325 (asin_upward_test_data): Likewise.
12326 (asinh_test_data): Likewise.
12327 (atan_test_data): Likewise.
12328 (atanh_test_data): Likewise.
12329 (atan2_test_data): Likewise.
12330 (cabs_test_data): Likewise.
12331 (cacos_test_data): Likewise.
12332 (cacosh_test_data): Likewise.
12333 (carg_test_data): Likewise.
12334 (casin_test_data): Likewise.
12335 (casinh_test_data): Likewise.
12336 (catan_test_data): Likewise.
12337 (catanh_test_data): Likewise.
12338 (cbrt_test_data): Likewise.
12339 (ccos_test_data): Likewise.
12340 (ccosh_test_data): Likewise.
12341 (ceil_test_data): Likewise.
12342 (cexp_test_data): Likewise.
12343 (cimag_test_data): Likewise.
12344 (clog_test_data): Likewise.
12345 (clog10_test_data): Likewise.
12346 (conj_test_data): Likewise.
12347 (copysign_test_data): Likewise.
12348 (cos_test_data): Likewise.
12349 (cos_tonearest_test_data): Likewise.
12350 (cos_towardzero_test_data): Likewise.
12351 (cos_downward_test_data): Likewise.
12352 (cos_upward_test_data): Likewise.
12353 (cosh_test_data): Likewise.
12354 (cosh_tonearest_test_data): Likewise.
12355 (cosh_towardzero_test_data): Likewise.
12356 (cosh_downward_test_data): Likewise.
12357 (cosh_upward_test_data): Likewise.
12358 (cpow_test_data): Likewise.
12359 (cproj_test_data): Likewise.
12360 (creal_test_data): Likewise.
12361 (csin_test_data): Likewise.
12362 (csinh_test_data): Likewise.
12363 (csqrt_test_data): Likewise.
12364 (ctan_test_data): Likewise.
12365 (ctan_tonearest_test_data): Likewise.
12366 (ctan_towardzero_test_data): Likewise.
12367 (ctan_downward_test_data): Likewise.
12368 (ctan_upward_test_data): Likewise.
12369 (ctanh_test_data): Likewise.
12370 (ctanh_tonearest_test_data): Likewise.
12371 (ctanh_towardzero_test_data): Likewise.
12372 (ctanh_downward_test_data): Likewise.
12373 (ctanh_upward_test_data): Likewise.
12374 (erf_test_data): Likewise.
12375 (erfc_test_data): Likewise.
12376 (exp_test_data): Likewise.
12377 (exp_tonearest_test_data): Likewise.
12378 (exp_towardzero_test_data): Likewise.
12379 (exp_downward_test_data): Likewise.
12380 (exp_upward_test_data): Likewise.
12381 (exp10_test_data): Likewise.
12382 (exp2_test_data): Likewise.
12383 (expm1_test_data): Likewise.
12384 (fabs_test_data): Likewise.
12385 (fdim_test_data): Likewise.
12386 (finite_test_data): Likewise.
12387 (floor_test_data): Likewise.
12388 (fma_test_data): Likewise.
12389 (fma_towardzero_test_data): Likewise.
12390 (fma_downward_test_data): Likewise.
12391 (fma_upward_test_data): Likewise.
12392 (fmax_test_data): Likewise.
12393 (fmin_test_data): Likewise.
12394 (fmod_test_data): Likewise.
12395 (fpclassify_test_data): Likewise.
12396 (frexp_test_data): Likewise.
12397 (gamma_test_data): Likewise.
12398 (hypot_test_data): Likewise.
12399 (ilogb_test_data): Likewise.
12400 (isfinite_test_data): Likewise.
12401 (isgreater_test_data): Likewise.
12402 (isgreaterequal_test_data): Likewise.
12403 (isinf_test_data): Likewise.
12404 (isless_test_data): Likewise.
12405 (islessequal_test_data): Likewise.
12406 (islessgreater_test_data): Likewise.
12407 (isnan_test_data): Likewise.
12408 (isnormal_test_data): Likewise.
12409 (issignaling_test_data): Likewise.
12410 (isunordered_test_data): Likewise.
12411 (j0_test_data): Likewise.
12412 (j1_test_data): Likewise.
12413 (jn_test_data): Likewise.
12414 (ldexp_test_data): Likewise.
12415 (lgamma_test_data): Likewise.
12416 (lrint_test_data): Likewise.
12417 (lrint_tonearest_test_data): Likewise.
12418 (lrint_towardzero_test_data): Likewise.
12419 (lrint_downward_test_data): Likewise.
12420 (lrint_upward_test_data): Likewise.
12421 (llrint_test_data): Likewise.
12422 (llrint_tonearest_test_data): Likewise.
12423 (llrint_towardzero_test_data): Likewise.
12424 (llrint_downward_test_data): Likewise.
12425 (llrint_upward_test_data): Likewise.
12426 (log_test_data): Likewise.
12427 (log10_test_data): Likewise.
12428 (log1p_test_data): Likewise.
12429 (log2_test_data): Likewise.
12430 (logb_test_data): Likewise.
12431 (logb_downward_test_data): Likewise.
12432 (lround_test_data): Likewise.
12433 (llround_test_data): Likewise.
12434 (modf_test_data): Likewise.
12435 (nearbyint_test_data): Likewise.
12436 (nextafter_test_data): Likewise.
12437 (nexttoward_test_data): Likewise.
12438 (pow_test_data): Likewise.
12439 (pow_tonearest_test_data): Likewise.
12440 (pow_towardzero_test_data): Likewise.
12441 (pow_downward_test_data): Likewise.
12442 (pow_upward_test_data): Likewise.
12443 (remainder_test_data): Likewise.
12444 (remainder_tonearest_test_data): Likewise.
12445 (remainder_towardzero_test_data): Likewise.
12446 (remainder_downward_test_data): Likewise.
12447 (remainder_upward_test_data): Likewise.
12448 (remquo_test_data): Likewise.
12449 (rint_test_data): Likewise.
12450 (rint_tonearest_test_data): Likewise.
12451 (rint_towardzero_test_data): Likewise.
12452 (rint_downward_test_data): Likewise.
12453 (rint_upward_test_data): Likewise.
12454 (round_test_data): Likewise.
12455 (scalb_test_data): Likewise.
12456 (scalbn_test_data): Likewise.
12457 (scalbln_test_data): Likewise.
12458 (signbit_test_data): Likewise.
12459 (sin_test_data): Likewise.
12460 (sin_tonearest_test_data): Likewise.
12461 (sin_towardzero_test_data): Likewise.
12462 (sin_downward_test_data): Likewise.
12463 (sin_upward_test_data): Likewise.
12464 (sincos_test_data): Likewise.
12465 (sinh_test_data): Likewise.
12466 (sinh_tonearest_test_data): Likewise.
12467 (sinh_towardzero_test_data): Likewise.
12468 (sinh_downward_test_data): Likewise.
12469 (sinh_upward_test_data): Likewise.
12470 (sqrt_test_data): Likewise.
12471 (tan_test_data): Likewise.
12472 (tan_tonearest_test_data): Likewise.
12473 (tan_towardzero_test_data): Likewise.
12474 (tan_downward_test_data): Likewise.
12475 (tan_upward_test_data): Likewise.
12476 (tanh_test_data): Likewise.
12477 (tgamma_test_data): Likewise.
12478 (trunc_test_data): Likewise.
12479 (y0_test_data): Likewise.
12480 (y1_test_data): Likewise.
12481 (yn_test_data): Likewise.
12482 (significand_test_data): Likewise.
12483
b679a606
JM
12484 * math/gen-libm-test.pl (@functions): Remove variable.
12485 (generate_testfile): Don't handle START and END lines.
12486 * math/libm-test.inc (START): New macro.
12487 (END): Likewise.
12488 (END_COMPLEX): Likewise.
12489 (acos_test): Use END macro without arguments.
12490 (acos_test_tonearest): Likewise.
12491 (acos_test_towardzero): Likewise.
12492 (acos_test_downward): Likewise.
12493 (acos_test_upward): Likewise.
12494 (acosh_test): Likewise.
12495 (asin_test): Likewise.
12496 (asin_test_tonearest): Likewise.
12497 (asin_test_towardzero): Likewise.
12498 (asin_test_downward): Likewise.
12499 (asin_test_upward): Likewise.
12500 (asinh_test): Likewise.
12501 (atan_test): Likewise.
12502 (atanh_test): Likewise.
12503 (atan2_test): Likewise.
12504 (cabs_test): Likewise.
12505 (cacos_test): Use END_COMPLEX macro without arguments.
12506 (cacosh_test): Likewise.
12507 (carg_test): Use END macro without arguments.
12508 (casin_test): Use END_COMPLEX macro without arguments.
12509 (casinh_test): Likewise.
12510 (catan_test): Likewise.
12511 (catanh_test): Likewise.
12512 (cbrt_test): Use END macro without arguments.
12513 (ccos_test): Use END_COMPLEX macro without arguments.
12514 (ccosh_test): Likewise.
12515 (ceil_test): Use END macro without arguments.
12516 (cexp_test): Use END_COMPLEX macro without arguments.
12517 (cimag_test): Use END macro without arguments.
12518 (clog_test): Use END_COMPLEX macro without arguments.
12519 (clog10_test): Likewise.
12520 (conj_test): Likewise.
12521 (copysign_test): Use END macro without arguments.
12522 (cos_test): Likewise.
12523 (cos_test_tonearest): Likewise.
12524 (cos_test_towardzero): Likewise.
12525 (cos_test_downward): Likewise.
12526 (cos_test_upward): Likewise.
12527 (cosh_test): Likewise.
12528 (cosh_test_tonearest): Likewise.
12529 (cosh_test_towardzero): Likewise.
12530 (cosh_test_downward): Likewise.
12531 (cosh_test_upward): Likewise.
12532 (cpow_test): Use END_COMPLEX macro without arguments.
12533 (cproj_test): Likewise.
12534 (creal_test): Use END macro without arguments.
12535 (csin_test): Use END_COMPLEX macro without arguments.
12536 (csinh_test): Likewise.
12537 (csqrt_test): Likewise.
12538 (ctan_test): Likewise.
12539 (ctan_test_tonearest): Likewise.
12540 (ctan_test_towardzero): Likewise.
12541 (ctan_test_downward): Likewise.
12542 (ctan_test_upward): Likewise.
12543 (ctanh_test): Likewise.
12544 (ctanh_test_tonearest): Likewise.
12545 (ctanh_test_towardzero): Likewise.
12546 (ctanh_test_downward): Likewise.
12547 (ctanh_test_upward): Likewise.
12548 (erf_test): Use END macro without arguments.
12549 (erfc_test): Likewise.
12550 (exp_test): Likewise.
12551 (exp_test_tonearest): Likewise.
12552 (exp_test_towardzero): Likewise.
12553 (exp_test_downward): Likewise.
12554 (exp_test_upward): Likewise.
12555 (exp10_test): Likewise.
12556 (exp2_test): Likewise.
12557 (expm1_test): Likewise.
12558 (fabs_test): Likewise.
12559 (fdim_test): Likewise.
12560 (finite_test): Likewise.
12561 (floor_test): Likewise.
12562 (fma_test): Likewise.
12563 (fma_test_towardzero): Likewise.
12564 (fma_test_downward): Likewise.
12565 (fma_test_upward): Likewise.
12566 (fmax_test): Likewise.
12567 (fmin_test): Likewise.
12568 (fmod_test): Likewise.
12569 (fpclassify_test): Likewise.
12570 (frexp_test): Likewise.
12571 (gamma_test): Likewise.
12572 (hypot_test): Likewise.
12573 (ilogb_test): Likewise.
12574 (isfinite_test): Likewise.
12575 (isgreater_test): Likewise.
12576 (isgreaterequal_test): Likewise.
12577 (isinf_test): Likewise.
12578 (isless_test): Likewise.
12579 (islessequal_test): Likewise.
12580 (islessgreater_test): Likewise.
12581 (isnan_test): Likewise.
12582 (isnormal_test): Likewise.
12583 (issignaling_test): Likewise.
12584 (isunordered_test): Likewise.
12585 (j0_test): Likewise.
12586 (j1_test): Likewise.
12587 (jn_test): Likewise.
12588 (ldexp_test): Likewise.
12589 (lgamma_test): Likewise.
12590 (lrint_test): Likewise.
12591 (lrint_test_tonearest): Likewise.
12592 (lrint_test_towardzero): Likewise.
12593 (lrint_test_downward): Likewise.
12594 (lrint_test_upward): Likewise.
12595 (llrint_test): Likewise.
12596 (llrint_test_tonearest): Likewise.
12597 (llrint_test_towardzero): Likewise.
12598 (llrint_test_downward): Likewise.
12599 (llrint_test_upward): Likewise.
12600 (log_test): Likewise.
12601 (log10_test): Likewise.
12602 (log1p_test): Likewise.
12603 (log2_test): Likewise.
12604 (logb_test): Likewise.
12605 (logb_test_downward): Likewise.
12606 (lround_test): Likewise.
12607 (llround_test): Likewise.
12608 (modf_test): Likewise.
12609 (nearbyint_test): Likewise.
12610 (nextafter_test): Likewise.
12611 (nexttoward_test): Likewise.
12612 (pow_test): Likewise.
12613 (pow_test_tonearest): Likewise.
12614 (pow_test_towardzero): Likewise.
12615 (pow_test_downward): Likewise.
12616 (pow_test_upward): Likewise.
12617 (remainder_test): Likewise.
12618 (remainder_test_tonearest): Likewise.
12619 (remainder_test_towardzero): Likewise.
12620 (remainder_test_downward): Likewise.
12621 (remainder_test_upward): Likewise.
12622 (remquo_test): Likewise.
12623 (rint_test): Likewise.
12624 (rint_test_tonearest): Likewise.
12625 (rint_test_towardzero): Likewise.
12626 (rint_test_downward): Likewise.
12627 (rint_test_upward): Likewise.
12628 (round_test): Likewise.
12629 (scalb_test): Likewise.
12630 (scalbn_test): Likewise.
12631 (scalbln_test): Likewise.
12632 (signbit_test): Likewise.
12633 (sin_test): Likewise.
12634 (sin_test_tonearest): Likewise.
12635 (sin_test_towardzero): Likewise.
12636 (sin_test_downward): Likewise.
12637 (sin_test_upward): Likewise.
12638 (sincos_test): Likewise.
12639 (sinh_test): Likewise.
12640 (sinh_test_tonearest): Likewise.
12641 (sinh_test_towardzero): Likewise.
12642 (sinh_test_downward): Likewise.
12643 (sinh_test_upward): Likewise.
12644 (sqrt_test): Likewise.
12645 (tan_test): Likewise.
12646 (tan_test_tonearest): Likewise.
12647 (tan_test_towardzero): Likewise.
12648 (tan_test_downward): Likewise.
12649 (tan_test_upward): Likewise.
12650 (tanh_test): Likewise.
12651 (tgamma_test): Likewise.
12652 (trunc_test): Likewise.
12653 (y0_test): Likewise.
12654 (y1_test): Likewise.
12655 (yn_test): Likewise.
12656 (significand_test): Likewise.
12657
bae143d2
OB
126582013-05-24 Ondřej Bílka <neleai@seznam.cz>
12659
12660 [BZ #15381]
12661 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12662
9323d39b
EM
126632013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12664
d4ea44a0 12665 [BZ #14894]
9323d39b
EM
12666 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12667 __ppc_mdoio and __ppc_mdoom.
12668 * manual/platform.texi: Document new functions __ppc_yield,
12669 __ppc_mdoio and __ppc_mdoom.
12670
13e23af7
CD
126712013-05-22 Carlos O'Donell <carlos@redhat.com>
12672
12673 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12674 (main): Mention "tls" pseudo-hwcap is legacy.
12675 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12676
351fe550
JM
126772013-05-22 Joseph Myers <joseph@codesourcery.com>
12678
12679 * math/gen-libm-test.pl (parse_args): Output only string of
12680 arguments as text for test name, not full call or descriptions of
12681 tests for extra outputs.
12682 (generate_testfile): Do not pass function name to parse_args.
12683 Generate this_func variable from START.
12684 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12685 field to arg_str.
12686 (struct test_ff_f_data): Likewise.
12687 (test_ff_f_data_nexttoward): Likewise.
12688 (struct test_fi_f_data): Likewise.
12689 (struct test_fl_f_data): Likewise.
12690 (struct test_if_f_data): Likewise.
12691 (struct test_fff_f_data): Likewise.
12692 (struct test_c_f_data): Likewise.
12693 (struct test_f_f1_data): Likewise. Remove field extra_name.
12694 (struct test_fF_f1_data): Likewise.
12695 (struct test_ffI_f1_data): Likewise.
12696 (struct test_c_c_data): Rename test_name field to arg_str.
12697 (struct test_cc_c_data): Likewise.
12698 (struct test_f_i_data): Likewise.
12699 (struct test_ff_i_data): Likewise.
12700 (struct test_f_l_data): Likewise.
12701 (struct test_f_L_data): Likewise.
12702 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12703 and extra2_name.
12704 (COMMON_TEST_SETUP): New macro.
12705 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12706 (COMMON_TEST_CLEANUP): Likewise.
12707 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12708 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12709 macros.
12710 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12711 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12712 macros.
12713 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12714 (RUN_TEST_fff_f): Take argument string. Call new setup and
12715 cleanup macros.
12716 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12717 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12718 macros.
12719 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12720 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12721 macros.
12722 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12723 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12724 cleanup macros.
12725 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12726 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12727 cleanup macros.
12728 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12729 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12730 cleanup macros.
12731 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12732 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12733 macros.
12734 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12735 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12736 macros.
12737 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12738 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12739 macros.
12740 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12741 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12742 cleanup macros.
12743 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12744 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12745 cleanup macros.
12746 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12747 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12748 macros.
12749 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12750 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12751 cleanup macros.
12752 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12753 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12754 macros.
12755 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12756 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12757 macros.
12758 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12759 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12760 cleanup macros.
12761 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12762
85118d4d
EBM
127632013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12764
12765 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12766 to _sifields.sigfault.
12767 (si_addr_lsb): Define new macro.
12768 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12770 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12771
7a44c18f
CD
127722013-05-03 Carlos O'Donell <carlos at redhat.com>
12773
12774 [BZ #15441]
12775 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12776 returns -1.
12777 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12778 null return -1.
12779 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12780 loading the domain.
12781
b50a7181
JM
127822013-05-22 Joseph Myers <joseph@codesourcery.com>
12783
12784 * math/gen-libm-test.pl (parse_args): Do not include expected
12785 result in test name.
12786 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12787 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12788 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12789 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12790 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12792
051063c8
SP
127932013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12794
3ce9e010
SP
12795 * benchtests/Makefile: Sort function entries.
12796
051063c8
SP
12797 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12798 tanh, asinh, acosh, atanh.
12799 * benchtests/acos-inputs: New file.
12800 * benchtests/acosh-inputs: New file.
12801 * benchtests/asin-inputs: New file.
12802 * benchtests/asinh-inputs: New file.
12803 * benchtests/atanh-inputs: New file.
12804 * benchtests/cosh-inputs: New file.
12805 * benchtests/log-inputs: New file.
12806 * benchtests/sinh-inputs: New file.
12807 * benchtests/tanh-inputs: New file.
12808
47c22455
DL
128092013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12810
12811 [BZ #15339]
12812 * posix/tst-getaddrinfo4.c: New test.
12813 * posix/Makefile (tests): Add it.
12814
3d04f5db
SP
128152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12816
12817 [BZ #15339]
12818 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12819 when no services were used.
12820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12821 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12822
d5dd6189
AS
128232013-05-21 Andreas Schwab <schwab@suse.de>
12824
12825 [BZ #15014]
12826 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12827 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12828 successful.
12829 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12830 redundant variable declarations and reallocation of buffer when
12831 parsing as IPv6 address. Always set NSS status when called from
12832 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12833 buffer too small. Correct computation of needed size.
12834 * nss/Makefile (tests): Add test-digits-dots.
12835 * nss/test-digits-dots.c: New test.
12836
fef94eab
SP
128372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12838
12839 * benchtests/Makefile: Remove instructions for adding
12840 benchmark tests.
12841 * benchtests/README: New file to explain how to execute and
12842 enhance the benchmark tests.
12843
e39adf43
AS
128442013-05-21 Andreas Schwab <schwab@suse.de>
12845
12846 [BZ #15493]
12847 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12848 * setjmp/tst-sigsetjmp.c: New test.
12849
b2b671b6
OB
128502013-05-20 Ondřej Bílka <neleai@seznam.cz>
12851
12852 * sysdeps/x86_64/memset.S (memset): New implementation.
12853 (__bzero): Likewise.
12854 (__memset_tail): New function.
12855
2d48b41c
OB
128562013-05-20 Ondřej Bílka <neleai@seznam.cz>
12857
12858 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12859 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12860 __memcpy_sse2_unaligned ifunc selection.
12861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12862 Add memcpy-sse2-unaligned.S.
12863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12864 Add: __memcpy_sse2_unaligned.
12865
f16cc3eb
JM
128662013-05-19 Joseph Myers <joseph@codesourcery.com>
12867
3e694268
JM
12868 [BZ #15490]
12869 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12870 math_force_eval before restoring floating-point envrionment.
12871 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12872 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12873 Likewise.
12874 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12875 <math_private.h>.
12876 (__nearbyintl): Use math_force_eval before restoring
12877 floating-point environment.
12878 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12879
db62a907
JM
12880 * math/gen-libm-test.pl (special_functions): Remove.
12881 (parse_args): Don't handle TEST_extra. Handle functions with no
12882 return value.
12883 * math/libm-test.inc (struct test_sincos_data): Replace with
12884 struct test_fFF_11_data.
12885 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12886 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12887 (sincos_test_data): Change element type to struct
12888 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12889 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12890 RUN_TEST_LOOP_sincos.
12891 * math/README.libm-test: Don't mention special handling of
12892 individual functions.
12893 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12894 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12895 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12896 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12897 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12899
f16cc3eb
JM
12900 * math/gen-libm-test.pl (get_variable): Remove function.
12901 (parse_args): Don't show pointer parameters to call in test
12902 names. Use "extra output N" in test names for extra outputs
12903 rather than naming variables.
12904
3779b5b6
JM
129052013-05-18 Joseph Myers <joseph@codesourcery.com>
12906
2ee094ff
JM
12907 [BZ #15488]
12908 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12909 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12910 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12911 double tests.
12912 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12913 disable.
12914 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12915 check_long_double.
12916
3779b5b6
JM
12917 * math/gen-libm-test.pl (@tests): Remove variable.
12918 ($count): Likewise.
12919 (new_test): Remove function.
12920 (show_exceptions): New function.
12921 (special_functions): Use show_exceptions instead of new_test.
12922 (parse_args): Likewise.
12923 (generate_testfile): Pass only function name in generated call to
12924 print_max_error or print_complex_max_error.
12925 (get_ulps): Do not handle complex tests specially.
12926 (output_test): Rename to ...
12927 (get_all_ulps_for_test): ... this. Return a string rather than
12928 printing to a file. Require ulps to be present.
12929 (output_ulps): Generate arrays rather than #defines.
12930 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12931 (struct ulp_data): New type.
12932 (BUILD_COMPLEX_ULP): Remove macro.
12933 (compare_ulp_data): New function.
12934 (find_ulps): Likewise.
12935 (find_test_ulps): Likewise.
12936 (find_function_ulps): Likewise.
12937 (find_complex_function_ulps): Likewise.
12938 (print_max_error): Determine allowed ulps using
12939 find_function_ulps.
12940 (print_complex_max_error): Determine allowed ulps using
12941 find_complex_function_ulps.
12942 (check_float_internal): Determine max ulps using find_test_ulps.
12943 (check_float): Do not take max_ulp parameter. Update call to
12944 check_float_internal.
12945 (check_complex): Likewise.
12946 (check_int): Do not take max_ulp parameter.
12947 (check_long): Likewise.
12948 (check_bool): Likewise.
12949 (check_longlong): Likewise.
12950 (struct test_f_f_data): Remove max_ulp field.
12951 (struct test_ff_f_data): Likewise.
12952 (struct test_ff_f_data_nexttoward): Likewise.
12953 (struct test_fi_f_data): Likewise.
12954 (struct test_fl_f_data): Likewise.
12955 (struct test_if_f_data): Likewise.
12956 (struct test_fff_f_data): Likewise.
12957 (struct test_c_f_data): Likewise.
12958 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12959 (struct test_fF_f1_data): Likewise.
12960 (struct test_ffI_f1_data): Likewise.
12961 (struct test_c_c_data): Remove max_ulp field.
12962 (struct test_cc_c_data): Likewise.
12963 (struct test_f_i_data): Likewise.
12964 (struct test_ff_i_data): Likewise.
12965 (struct test_f_l_data): Likewise.
12966 (struct test_f_L_data): Likewise.
12967 (struct test_sincos_data): Likewise.
12968 (RUN_TEST_f_f): Do not handle ulps.
12969 (RUN_TEST_LOOP_f_f): Likewise.
12970 (RUN_TEST_2_f): Likewise.
12971 (RUN_TEST_LOOP_2_f): Likewise.
12972 (RUN_TEST_fff_f): Likewise.
12973 (RUN_TEST_LOOP_fff_f): Likewise.
12974 (RUN_TEST_c_f): Likewise.
12975 (RUN_TEST_LOOP_c_f): Likewise.
12976 (RUN_TEST_f_f1): Likewise.
12977 (RUN_TEST_LOOP_f_f1): Likewise.
12978 (RUN_TEST_fF_f1): Likewise.
12979 (RUN_TEST_LOOP_fF_f1): Likewise.
12980 (RUN_TEST_fI_f1): Likewise.
12981 (RUN_TEST_LOOP_fI_f1): Likewise.
12982 (RUN_TEST_ffI_f1): Likewise.
12983 (RUN_TEST_LOOP_ffI_f1): Likewise.
12984 (RUN_TEST_c_c): Likewise.
12985 (RUN_TEST_LOOP_c_c): Likewise.
12986 (RUN_TEST_cc_c): Likewise.
12987 (RUN_TEST_LOOP_cc_c): Likewise.
12988 (RUN_TEST_f_i): Likewise.
12989 (RUN_TEST_LOOP_f_i): Likewise.
12990 (RUN_TEST_f_i_tg): Likewise.
12991 (RUN_TEST_LOOP_f_i_tg): Likewise.
12992 (RUN_TEST_ff_i_tg): Likewise.
12993 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12994 (RUN_TEST_f_b): Likewise.
12995 (RUN_TEST_LOOP_f_b): Likewise.
12996 (RUN_TEST_f_b_tg): Likewise.
12997 (RUN_TEST_LOOP_f_b_tg): Likewise.
12998 (RUN_TEST_f_l): Likewise.
12999 (RUN_TEST_LOOP_f_l): Likewise.
13000 (RUN_TEST_f_L): Likewise.
13001 (RUN_TEST_LOOP_f_L): Likewise.
13002 (RUN_TEST_sincos): Likewise.
13003 (RUN_TEST_LOOP_sincos): Likewise.
13004
8269107f
JM
130052013-05-17 Joseph Myers <joseph@codesourcery.com>
13006
bb38759d
JM
13007 [BZ #15480]
13008 [BZ #15485]
13009 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13010 main case of finite arguments, set rounding mode to FE_TONEAREST
13011 and discard exceptions.
13012 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13013 exceptions.
13014 (remainder_tonearest_test_data): New variable.
13015 (remainder_test_tonearest): New function.
13016 (remainder_towardzero_test_data): New variable.
13017 (remainder_test_towardzero): New function.
13018 (remainder_downward_test_data): New variable.
13019 (remainder_test_downward): New function.
13020 (remainder_upward_test_data): New variable.
13021 (remainder_test_upward): New function.
13022 (main): Call the new test functions.
13023
a00bdcf0
JM
13024 * math/libm-test.inc (struct test_f_f1_data): Remove field
13025 extra_init.
13026 (struct test_fF_f1_data): Likewise.
13027 (struct test_ffI_f1_data): Likewise.
13028 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13029 based on value of EXTRA_EXPECTED.
13030 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13031 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13032 EXTRA_VAR based on value of EXTRA_EXPECTED.
13033 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13034 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13035 EXTRA_VAR based on value of EXTRA_EXPECTED.
13036 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13037 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13038 EXTRA_VAR based on value of EXTRA_EXPECTED.
13039 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13040 * math/gen-libm-test.pl (parse_args): Don't output initializers
13041 for extra output values.
13042
de407f79
JM
13043 * math/libm-test.inc (check_int): Expect result to be exactly
13044 equal to expected value and do not handle ulps.
13045 (check_long): Likewise.
13046 (check_longlong): Likewise.
13047
8269107f
JM
13048 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13049 exceptions.
13050 (cimag_test_data): Likewise.
13051 (conj_test_data): Likewise.
13052 (copysign_test_data): Likewise.
13053 (cproj_test_data): Likewise.
13054 (creal_test_data): Likewise.
13055 (fabs_test_data): Likewise.
13056 (fdim_test_data): Likewise.
13057 (finite_test_data): Likewise.
13058 (floor_test_data): Likewise.
13059 (fmax_test_data): Likewise.
13060 (fmin_test_data): Likewise.
13061 (fmod_test_data): Likewise.
13062 (fpclassify_test_data): Likewise.
13063 (frexp_test_data): Likewise.
13064 (ilogb_test_data): Likewise.
13065 (isfinite_test_data): Likewise.
13066 (isgreater_test_data): Likewise.
13067 (isgreaterequal_test_data): Likewise.
13068 (isinf_test_data): Likewise.
13069 (isless_test_data): Likewise.
13070 (islessequal_test_data): Likewise.
13071 (islessgreater_test_data): Likewise.
13072 (isnan_test_data): Likewise.
13073 (isnormal_test_data): Likewise.
13074 (issignaling_test_data): Likewise.
13075 (isunordered_test_data): Likewise.
13076 (ldexp_test_data): Likewise.
13077 (lrint_test_data): Likewise.
13078 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13079 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13080 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13081 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13082 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13083 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13084 test input.
13085 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13086 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13087 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13088 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13089 that test input.
13090 (lrint_downward_test_data): Test for "inexact" exceptions.
13091 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13092 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13093 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13094 test input.
13095 (lrint_upward_test_data): Test for "inexact" exceptions.
13096 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13097 test input.
13098 (llrint_test_data): Test for "inexact" exceptions.
13099 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13100 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13101 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13102 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13103 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13104 (llrint_downward_test_data): Test for "inexact" exceptions.
13105 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13106 (llrint_upward_test_data): Test for "inexact" exceptions.
13107 (logb_test_data): Likewise.
13108 (logb_downward_test_data): Likewise.
13109 (nextafter_test_data): Likewise.
13110 (nexttoward_test_data): Likewise.
13111 (remainder_test_data): Likewise.
13112 (remquo_test_data): Likewise.
13113 (scalbn_test_data): Likewise.
13114 (scalbln_test_data): Likewise.
13115 (signbit_test_data): Likewise.
13116 (sqrt_test_data): Likewise.
13117 (significand_test_data): Likewise.
13118
48a18de1
SP
131192013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13120
13121 [BZ #15424]
13122 * benchtests/bench-modf.c (struct args): Mark arg0 as
13123 volatile.
13124 * scripts/bench.pl: Mark members of struct args as volatile.
13125
13d3b41a
AZ
131262013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13127
68191c1d 13128 [BZ # 15497]
13d3b41a
AZ
13129 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13130 negative infinity on POWER6 or lower.
13131 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13132
2848b105
MR
131332013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13134
13135 [BZ #15442]
13136 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13137 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13138 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13139 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13140 (_FP_SETQNAN): New macro.
13141 (_FP_SETQNAN_SEMIRAW): Likewise.
13142 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13143 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13144 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13145 (FP_EXTEND): Use _FP_FRAC_SNANP.
13146 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13147 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13148 into account.
13149 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13150 New macro.
13151 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13152 Likewise.
13153
323e5cb7
JM
131542013-05-16 Joseph Myers <joseph@codesourcery.com>
13155
c58b274f
JM
13156 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13157 with DIVIDE_BY_ZERO_EXCEPTION.
13158 (gamma_test_data): Likewise.
13159 (lgamma_test_data): Likewise.
13160 (log_test_data): Likewise.
13161 (log10_test_data): Likewise.
13162 (log2_test_data): Likewise.
13163 (tgamma_test_data): Likewise.
13164
0ab34904
JM
13165 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13166 (acos_test_tonearest): Likewise.
13167 (acos_test_towardzero): Likewise.
13168 (acos_test_downward): Likewise.
13169 (acos_test_upward): Likewise.
13170 (acosh_test): Likewise.
13171 (asin_test): Likewise.
13172 (asin_test_tonearest): Likewise.
13173 (asin_test_towardzero): Likewise.
13174 (asin_test_downward): Likewise.
13175 (asin_test_upward): Likewise.
13176 (asinh_test): Likewise.
13177 (atan_test): Likewise.
13178 (atanh_test): Likewise.
13179 (atan2_test): Likewise.
13180 (cabs_test): Likewise.
13181 (cacos_test): Likewise.
13182 (cacosh_test): Likewise.
13183 (casin_test): Likewise.
13184 (casinh_test): Likewise.
13185 (catan_test): Likewise.
13186 (catanh_test): Likewise.
13187 (cbrt_test): Likewise.
13188 (ccos_test): Likewise.
13189 (ccosh_test): Likewise.
13190 (cexp_test): Likewise.
13191 (clog_test): Likewise.
13192 (clog10_test): Likewise.
13193 (cos_test): Likewise.
13194 (cos_test_tonearest): Likewise.
13195 (cos_test_towardzero): Likewise.
13196 (cos_test_downward): Likewise.
13197 (cos_test_upward): Likewise.
13198 (cosh_test): Likewise.
13199 (cosh_test_tonearest): Likewise.
13200 (cosh_test_towardzero): Likewise.
13201 (cosh_test_downward): Likewise.
13202 (cosh_test_upward): Likewise.
13203 (cpow_test): Likewise.
13204 (csin_test): Likewise.
13205 (csinh_test): Likewise.
13206 (csqrt_test): Likewise.
13207 (ctan_test): Likewise.
13208 (ctan_test_tonearest): Likewise.
13209 (ctan_test_towardzero): Likewise.
13210 (ctan_test_downward): Likewise.
13211 (ctan_test_upward): Likewise.
13212 (ctanh_test): Likewise.
13213 (ctanh_test_tonearest): Likewise.
13214 (ctanh_test_towardzero): Likewise.
13215 (ctanh_test_downward): Likewise.
13216 (ctanh_test_upward): Likewise.
13217 (erf_test): Likewise.
13218 (erfc_test): Likewise.
13219 (exp_test): Likewise.
13220 (exp_test_tonearest): Likewise.
13221 (exp_test_towardzero): Likewise.
13222 (exp_test_downward): Likewise.
13223 (exp_test_upward): Likewise.
13224 (exp10_test): Likewise.
13225 (exp2_test): Likewise.
13226 (expm1_test): Likewise.
13227 (fmod_test): Likewise.
13228 (gamma_test): Likewise.
13229 (hypot_test): Likewise.
13230 (j0_test): Likewise.
13231 (j1_test): Likewise.
13232 (jn_test): Likewise.
13233 (lgamma_test): Likewise.
13234 (log_test): Likewise.
13235 (log10_test): Likewise.
13236 (log1p_test): Likewise.
13237 (log2_test): Likewise.
13238 (logb_test_downward): Likewise.
13239 (pow_test): Likewise.
13240 (pow_test_tonearest): Likewise.
13241 (pow_test_towardzero): Likewise.
13242 (pow_test_downward): Likewise.
13243 (pow_test_upward): Likewise.
13244 (remainder_test): Likewise.
13245 (remquo_test): Likewise.
13246 (sin_test): Likewise.
13247 (sin_test_tonearest): Likewise.
13248 (sin_test_towardzero): Likewise.
13249 (sin_test_downward): Likewise.
13250 (sin_test_upward): Likewise.
13251 (sincos_test): Likewise.
13252 (sinh_test): Likewise.
13253 (sinh_test_tonearest): Likewise.
13254 (sinh_test_towardzero): Likewise.
13255 (sinh_test_downward): Likewise.
13256 (sinh_test_upward): Likewise.
13257 (sqrt_test): Likewise.
13258 (tan_test): Likewise.
13259 (tan_test_tonearest): Likewise.
13260 (tan_test_towardzero): Likewise.
13261 (tan_test_downward): Likewise.
13262 (tan_test_upward): Likewise.
13263 (tanh_test): Likewise.
13264 (tgamma_test): Likewise.
13265 (y0_test): Likewise.
13266 (y1_test): Likewise.
13267 (yn_test): Likewise.
13268
323e5cb7
JM
13269 * math/gen-libm-test.pl (adjust_arg): Remove function.
13270 (special_function): Remove argument $in_func. Only handle
13271 generating output for tables of tests, not inside functions.
13272 (parse_args): Likewise.
13273 (generate_testfile): Remove variable $in_func. Update call to
13274 parse_args.
13275 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13276 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13277 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13278 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13279 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13280 (MAX_VALUE_INIT): Rename macro to max_value.
13281 (MIN_VALUE_INIT): Rename macro to min_value.
13282 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13283 (plus_zero): Remove variable.
13284 (minus_zero): Likewise.
13285 (plus_infty): Likewise.
13286 (minus_infty): Likewise.
13287 (qnan_value): Likewise.
13288 (max_value): Likewise.
13289 (min_value): Likewise.
13290 (min_subnorm_value): Likewise.
13291
e054f494
RA
132922013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13293
13294 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13295 uint64_t or uint32_t usage.
13296 * crypt/sha256-block.c: Likewise.
13297 * crypt/sha256-crypt.c: Likewise.
13298 * crypt/sha256.c: Likewise.
13299 * crypt/sha512-block.c: Likewise.
13300 * crypt/sha512-crypt.c: Likewise.
13301 * crypt/sha512.c: Likewise.
13302 * debug/backtrace-tst.c: Likewise.
13303 * debug/pcprofiledump.c: Likewise.
13304 * elf/cache.c: Likewise.
13305 * elf/dl-cache.c: Likewise.
13306 * elf/dl-misc.c: Likewise.
13307 * elf/dl-profile.c: Likewise.
13308 * elf/dl-support.c: Likewise.
13309 * elf/ldconfig.c: Likewise.
13310 * elf/sprof.c: Likewise.
13311 * iconv/dummy-repertoire.c: Likewise.
13312 * iconv/iconv_charmap.c: Likewise.
13313 * iconv/skeleton.c: Likewise.
13314 * iconvdata/8bit-generic.c: Likewise.
13315 * iconvdata/cp737.h: Likewise.
13316 * iconvdata/cp775.h: Likewise.
13317 * iconvdata/ibm1008.h: Likewise.
13318 * iconvdata/ibm1025.h: Likewise.
13319 * iconvdata/ibm1046.h: Likewise.
13320 * iconvdata/ibm1097.h: Likewise.
13321 * iconvdata/ibm1112.h: Likewise.
13322 * iconvdata/ibm1122.h: Likewise.
13323 * iconvdata/ibm1123.h: Likewise.
13324 * iconvdata/ibm1124.h: Likewise.
13325 * iconvdata/ibm1129.h: Likewise.
13326 * iconvdata/ibm1130.h: Likewise.
13327 * iconvdata/ibm1132.h: Likewise.
13328 * iconvdata/ibm1133.h: Likewise.
13329 * iconvdata/ibm1137.h: Likewise.
13330 * iconvdata/ibm1140.h: Likewise.
13331 * iconvdata/ibm1141.h: Likewise.
13332 * iconvdata/ibm1142.h: Likewise.
13333 * iconvdata/ibm1143.h: Likewise.
13334 * iconvdata/ibm1144.h: Likewise.
13335 * iconvdata/ibm1145.h: Likewise.
13336 * iconvdata/ibm1146.h: Likewise.
13337 * iconvdata/ibm1147.h: Likewise.
13338 * iconvdata/ibm1148.h: Likewise.
13339 * iconvdata/ibm1149.h: Likewise.
13340 * iconvdata/ibm1153.h: Likewise.
13341 * iconvdata/ibm1154.h: Likewise.
13342 * iconvdata/ibm1155.h: Likewise.
13343 * iconvdata/ibm1156.h: Likewise.
13344 * iconvdata/ibm1157.h: Likewise.
13345 * iconvdata/ibm1158.h: Likewise.
13346 * iconvdata/ibm1160.h: Likewise.
13347 * iconvdata/ibm1161.h: Likewise.
13348 * iconvdata/ibm1162.h: Likewise.
13349 * iconvdata/ibm1163.h: Likewise.
13350 * iconvdata/ibm1164.h: Likewise.
13351 * iconvdata/ibm1166.h: Likewise.
13352 * iconvdata/ibm1167.h: Likewise.
13353 * iconvdata/ibm12712.h: Likewise.
13354 * iconvdata/ibm1390.h: Likewise.
13355 * iconvdata/ibm1399.h: Likewise.
13356 * iconvdata/ibm16804.h: Likewise.
13357 * iconvdata/ibm4517.h: Likewise.
13358 * iconvdata/ibm4899.h: Likewise.
13359 * iconvdata/ibm4909.h: Likewise.
13360 * iconvdata/ibm4971.h: Likewise.
13361 * iconvdata/ibm5347.h: Likewise.
13362 * iconvdata/ibm803.h: Likewise.
13363 * iconvdata/ibm856.h: Likewise.
13364 * iconvdata/ibm901.h: Likewise.
13365 * iconvdata/ibm902.h: Likewise.
13366 * iconvdata/ibm9030.h: Likewise.
13367 * iconvdata/ibm9066.h: Likewise.
13368 * iconvdata/ibm921.h: Likewise.
13369 * iconvdata/ibm922.h: Likewise.
13370 * iconvdata/ibm9448.h: Likewise.
13371 * iconvdata/isiri-3342.h: Likewise.
13372 * iconvdata/jis0201.h: Likewise.
13373 * include/link.h: Likewise.
13374 * include/netdb.h: Likewise.
13375 * inet/check_native.c: Likewise.
13376 * inet/check_pf.c: Likewise.
13377 * inet/getipv4sourcefilter.c: Likewise.
13378 * inet/getnameinfo.c: Likewise.
13379 * inet/getsourcefilter.c: Likewise.
13380 * inet/htonl.c: Likewise.
13381 * inet/setipv4sourcefilter.c: Likewise.
13382 * inet/setsourcefilter.c: Likewise.
13383 * inet/test-inet6_opt.c: Likewise.
13384 * inet/tst-network.c: Likewise.
13385 * locale/C-collate.c: Likewise.
13386 * locale/C-ctype.c: Likewise.
13387 * locale/C-time.c: Likewise.
13388 * locale/C-translit.h: Likewise.
13389 * locale/loadarchive.c: Likewise.
13390 * locale/programs/3level.h: Likewise.
13391 * locale/programs/charmap.c: Likewise.
13392 * locale/programs/charmap.h: Likewise.
13393 * locale/programs/ld-address.c: Likewise.
13394 * locale/programs/ld-collate.c: Likewise.
13395 * locale/programs/ld-ctype.c: Likewise.
13396 * locale/programs/ld-identification.c: Likewise.
13397 * locale/programs/ld-measurement.c: Likewise.
13398 * locale/programs/ld-messages.c: Likewise.
13399 * locale/programs/ld-monetary.c: Likewise.
13400 * locale/programs/ld-name.c: Likewise.
13401 * locale/programs/ld-numeric.c: Likewise.
13402 * locale/programs/ld-paper.c: Likewise.
13403 * locale/programs/ld-telephone.c: Likewise.
13404 * locale/programs/ld-time.c: Likewise.
13405 * locale/programs/linereader.c: Likewise.
13406 * locale/programs/locale.c: Likewise.
13407 * locale/programs/locarchive.c: Likewise.
13408 * locale/programs/locfile.h: Likewise.
13409 * locale/programs/repertoire.c: Likewise.
13410 * locale/programs/simple-hash.c: Likewise.
13411 * locale/programs/simple-hash.h: Likewise.
13412 * malloc/memusage.c: Likewise.
13413 * malloc/memusagestat.c: Likewise.
13414 * nis/nis_defaults.c: Likewise.
13415 * nis/nis_hash.c: Likewise.
13416 * nis/nis_print.c: Likewise.
13417 * nis/nis_xdr.c: Likewise.
13418 * nscd/connections.c: Likewise.
13419 * nscd/hstcache.c: Likewise.
13420 * nscd/nscd_gethst_r.c: Likewise.
13421 * nscd/nscd_getserv_r.c: Likewise.
13422 * nscd/nscd_helper.c: Likewise.
13423 * nscd/servicescache.c: Likewise.
13424 * nss/makedb.c: Likewise.
13425 * nss/nss_db/db-XXX.c: Likewise.
13426 * nss/nss_db/db-initgroups.c: Likewise.
13427 * nss/nss_db/db-netgrp.c: Likewise.
13428 * nss/nss_files/files-network.c: Likewise.
13429 * nss/nss_files/files-parse.c: Likewise.
13430 * posix/bug-regex5.c: Likewise.
13431 * posix/fnmatch_loop.c: Likewise.
13432 * posix/regcomp.c: Likewise.
13433 * posix/regexec.c: Likewise.
13434 * posix/tst-rfc3484-2.c: Likewise.
13435 * posix/tst-rfc3484-3.c: Likewise.
13436 * posix/tst-rfc3484.c: Likewise.
13437 * resolv/nss_dns/dns-canon.c: Likewise.
13438 * resolv/nss_dns/dns-network.c: Likewise.
13439 * resolv/res_init.c: Likewise.
13440 * resolv/res_mkquery.c: Likewise.
13441 * resolv/tst-aton.c: Likewise.
13442 * stdlib/cxa_atexit.c: Likewise.
13443 * stdlib/cxa_finalize.c: Likewise.
13444 * stdlib/gen-fpioconst.c: Likewise.
13445 * stdlib/strtol_l.c: Likewise.
13446 * string/tst-endian.c: Likewise.
13447 * sunrpc/auth_des.c: Likewise.
13448 * sunrpc/clnt_udp.c: Likewise.
13449 * sunrpc/rtime.c: Likewise.
13450 * sunrpc/svcauth_des.c: Likewise.
13451 * sunrpc/xdr.c: Likewise.
13452 * sunrpc/xdr_intXX_t.c: Likewise.
13453 * sunrpc/xdr_rec.c: Likewise.
13454 * sysdeps/generic/ldconfig.h: Likewise.
13455 * sysdeps/generic/ldsodefs.h: Likewise.
13456 * sysdeps/generic/memusage.h: Likewise.
13457 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13458 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13459 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13460 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13461 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13463 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13464 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13465 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13467 * sysdeps/posix/getaddrinfo.c: Likewise.
13468 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13469 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13470 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13471 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13472 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13473 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13474 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13475 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13476 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13477 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13478 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13479 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13480 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13481 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13482 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13483 * sysdeps/x86_64/dl-tls.h: Likewise.
13484 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13485 * time/alt_digit.c: Likewise.
13486 * time/era.c: Likewise.
13487 * wcsmbs/tst-c16c32-1.c: Likewise.
13488
8c75f674
JM
134892013-05-16 Joseph Myers <joseph@codesourcery.com>
13490
13491 * math/libm-test.inc (struct test_sincos_data): New type.
13492 (RUN_TEST_LOOP_sincos): New macro.
13493 (sincos_test_data): New variable.
13494 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13495
e6e49e59
RH
134962013-05-16 Richard Henderson <rth@redhat.com>
13497
13498 * math/atest-exp2.c (LIMB64): New macro.
13499 (CONSTSZ): New macro.
13500 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13501 (hexdig): Move ...
13502 (print_mpn_fp): ... to function scope.
13503 (read_mpn_hex): Remove.
13504 (get_log2): Remove.
13505 (exp2_mpn): Use mp_log2.
13506 (main): Use mp_exp1.
13507
15c7c18d
JM
135082013-05-16 Joseph Myers <joseph@codesourcery.com>
13509
105a07df
JM
13510 * math/libm-test.inc: Remove comment about not testing "inexact"
13511 exceptions.
13512 (INEXACT_EXCEPTION): New macro.
13513 (NO_INEXACT_EXCEPTION): Likewise.
13514 (INVALID_EXCEPTION_OK): Update value.
13515 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13516 (OVERFLOW_EXCEPTION_OK): Likewise.
13517 (UNDERFLOW_EXCEPTION_OK): Likewise.
13518 (IGNORE_ZERO_INF_SIGN): Likewise.
13519 (ERRNO_UNCHANGED): Likewise.
13520 (ERRNO_EDOM): Likewise.
13521 (ERRNO_ERANGE): Likewise.
13522 (test_exceptions): Handle testing "inexact" exceptions.
13523 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13524 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13525 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13526 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13527 INEXACT_EXCEPTION.
13528 (rint_towardzero_test_data): Likewise.
13529 (rint_downward_test_data): Likewise.
13530 (rint_upward_test_data): Likewise.
13531
e9eee333
JM
13532 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13533 with OVERFLOW_EXCEPTION.
13534 (exp10_test_data): Likewise.
13535 (exp2_test_data): Likewise.
13536 (expm1_test_data): Likewise.
13537 (lgamma_test_data): Likewise.
13538 (pow_test_data): Likewise.
13539 (tgamma_test_data): Likewise.
13540 (yn_test_data): Remove duplicate test of overflow.
13541
1c38ff73
JM
13542 * math/libm-test.inc (struct test_cc_c_data): New type.
13543 (RUN_TEST_LOOP_cc_c): New macro.
13544 (cpow_test_data): New variable.
13545 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13546
15c7c18d
JM
13547 * math/libm-test.inc (struct test_f_L_data): New type.
13548 (RUN_TEST_LOOP_f_L): New macro.
13549 (llrint_test_data): New variable.
13550 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13551 (llrint_tonearest_test_data): New variable.
13552 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13553 (llrint_towardzero_test_data): New variable.
13554 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13555 (llrint_downward_test_data): New variable.
13556 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13557 (llrint_upward_test_data): New variable.
13558 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13559 (llround_test_data): New variable.
13560 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13561
f137ff13
PC
135622013-05-13 Peter Collingbourne <pcc@google.com>
13563
13564 * math/atest-exp2.c (get_log2): Remove const attribute.
13565
3608cb24
JM
135662013-05-15 Joseph Myers <joseph@codesourcery.com>
13567
13568 * math/libm-test.inc (struct test_f_l_data): New type.
13569 (RUN_TEST_LOOP_f_l): New macro.
13570 (lrint_test_data): New variable.
13571 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13572 (lrint_tonearest_test_data): New variable.
13573 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13574 (lrint_towardzero_test_data): New variable.
13575 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13576 (lrint_downward_test_data): New variable.
13577 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13578 (lrint_upward_test_data): New variable.
13579 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13580 (lround_test_data): New variable.
13581 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13582
39b1f617
PC
135832013-05-15 Peter Collingbourne <pcc@google.com>
13584
1deff3dc
PC
13585 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13586 (EXTRACT_WORDS64) Use where appropriate.
13587 (INSERT_WORDS64) Likewise.
13588
791f3ba0
PC
13589 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13590 constraints with x constraints.
13591 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13592
39b1f617
PC
13593 * malloc/obstack.c (_obstack_compat): Add initializer.
13594
12fba011
EM
135952013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13596
13597 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13598 si_trapno and add si_addr_lsb to _sifields.sigfault.
13599 (si_trapno): Remove macro.
13600 (si_addr_lsb): Define new macro.
13601 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13602
d369f531
JM
136032013-05-15 Joseph Myers <joseph@codesourcery.com>
13604
b861c6c4
JM
13605 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13606 instead of TEST_f_l.
13607 (llrint_test_tonearest): Likewise.
13608 (llrint_test_towardzero): Likewise.
13609 (llrint_test_downward): Likewise.
13610 (llrint_test_upward): Likewise.
13611 (llround_test): Likewise.
13612
7abeee12
JM
13613 * math/libm-test.inc (struct test_f_i_data): Add comment.
13614 (RUN_TEST_LOOP_f_b): New macro.
13615 (RUN_TEST_LOOP_f_b_tg): Likewise.
13616 (finite_test_data): New variable.
13617 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13618 (isfinite_test_data): New variable.
13619 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13620 (isinf_test_data): New variable.
13621 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13622 (isnan_test_data): New variable.
13623 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13624 (isnormal_test_data): New variable.
13625 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13626 (issignaling_test_data): New variable.
13627 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13628 (signbit_test_data): New variable.
13629 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13630
cbe8c4d3
JM
13631 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13632 with INVALID_EXCEPTION.
13633 (acosh_test_data): Likewise.
13634 (asin_test_data): Likewise.
13635 (atanh_test_data): Likewise.
13636 (fmod_test_data): Likewise.
13637 (log_test_data): Likewise.
13638 (log10_test_data): Likewise.
13639 (log2_test_data): Likewise.
13640 (pow_test_data): Likewise.
13641 (sqrt_test_data): Likewise.
13642 (y0_test_data): Likewise.
13643 (y1_test_data): Likewise.
13644 (yn_test_data): Likewise.
13645
5575c0e5
JM
13646 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13647 function contents.
13648
d369f531
JM
13649 * math/libm-test.inc (struct test_ff_i_data): New type.
13650 (RUN_TEST_LOOP_ff_i_tg): New macro.
13651 (isgreater_test_data): New variable.
13652 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13653 (isgreaterequal_test_data): New variable.
13654 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13655 (isless_test_data): New variable.
13656 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13657 (islessequal_test_data): New variable.
13658 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13659 (islessgreater_test_data): New variable.
13660 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13661 (isunordered_test_data): New variable.
13662 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13663
781fd748
DM
136642013-05-14 David S. Miller <davem@davemloft.net>
13665
13666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13667
87aa21df
JM
136682013-05-14 Joseph Myers <joseph@codesourcery.com>
13669
5e908270
JM
13670 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13671
f71172e5
JM
13672 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13673 extra_test to int.
13674 (struct test_f_i_data): Change type of max_ulp to int.
13675
8cfa635a
JM
13676 * math/libm-test.inc (test_ffI_f1_data): New type.
13677 (RUN_TEST_LOOP_ffI_f1): New macro.
13678 (remquo_test_data): New variable.
13679 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13680
2bcb36b2
JM
13681 * setjmp/tst-setjmp-fp.c: New file.
13682 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13683 (link-libm): New variable.
13684 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13685
acbd839a
JM
13686 * math/libm-test.inc (struct test_f_i_data): New type.
13687 (RUN_TEST_LOOP_f_i): New macro.
13688 (RUN_TEST_LOOP_f_i_tg): Likewise.
13689 (fpclassify_test_data): New variable.
13690 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13691 (ilogb_test_data): New variable.
13692 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13693
e414d745
JM
13694 * math/libm-test.inc (scalbln_test): Correct function name in END
13695 call.
13696
d9c2a0fd
JM
13697 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13698 (RUN_TEST_LOOP_fI_f1): New macro.
13699 (frexp_test_data): New variable.
13700 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13701
9dc9095d
JM
13702 * math/libm-test.inc (struct test_fF_f1_data): New type.
13703 (RUN_TEST_LOOP_fF_f1): New macro.
13704 (modf_test_data): New variable.
13705 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13706
87aa21df
JM
13707 * math/libm-test.inc (struct test_f_f1_data): New type.
13708 (RUN_TEST_LOOP_f_f1): New macro.
13709 (gamma_test_data): New variable.
13710 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13711 (lgamma_test_data): New variable.
13712 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13713
141af660
CD
137142013-05-13 Carlos O'Donell <carlos@redhat.com>
13715
13716 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13717 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13718 (main): Comment "tls" pseudo-hwcap.
13719
6d33265c
JM
137202013-05-13 Joseph Myers <joseph@codesourcery.com>
13721
68fc074c
JM
13722 * math/libm-test.inc (struct test_fl_f_data): New type.
13723 (RUN_TEST_LOOP_fl_f): New variable.
13724 (scalbln_test_data): New variable.
13725 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13726
243216e1
JM
13727 * math/libm-test.inc (struct test_fi_f_data): New type.
13728 (RUN_TEST_LOOP_fi_f): New macro.
13729 (ldexp_test_data): New variable.
13730 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13731 (scalbn_test_data): New variable.
13732 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13733
6a1992e2
JM
13734 * math/libm-test.inc (struct test_c_f_data): New type.
13735 (RUN_TEST_LOOP_c_f): New macro.
13736 (cabs_test_data): New variable.
13737 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13738 (carg_test_data): New variable.
13739 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13740 (cimag_test_data): New variable.
13741 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13742 (creal_test_data): New variable.
13743 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13744
0e400df5
JM
13745 * math/libm-test.inc (struct test_if_f_data): New type.
13746 (RUN_TEST_LOOP_if_f): New macro.
13747 (jn_test_data): New variable.
13748 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13749 (yn_test_data): New variable.
13750 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13751
6d33265c
JM
13752 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13753
f98ece5f
AZ
137542013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13755
13756 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13757 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13758
0f7d347b
SP
137592013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13760
43fe811b
SP
13761 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13762 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13763 (bench-deps): Add bench-timing.h.
13764 * benchtests-bench-skeleton.c: Include bench-timing.h.
13765 (main): Use TIMING_* macros instead of clock_gettime.
13766 * benchtests/bench-timing.h: New file.
13767
0f7d347b
SP
13768 [BZ #14582]
13769 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13770 Renamed from _LIB_VERSION.
13771 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13772
601a3a5f
JM
137732013-05-12 Joseph Myers <joseph@codesourcery.com>
13774
4f184d30
JM
13775 * math/libm-test.inc (struct test_fff_f_data): New type.
13776 (RUN_TEST_LOOP_fff_f): New macro.
13777 (fma_test_data): New variable.
13778 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13779 (fma_towardzero_test_data): New variable.
13780 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13781 (fma_downward_test_data): New variable.
13782 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13783 (fma_upward_test_data): New variable.
13784 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13785
08198877
JM
13786 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13787 (struct test_c_c_data): New type.
13788 (RUN_TEST_LOOP_c_c): New macro.
13789 (cacos_test_data): New variable.
13790 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13791 (cacosh_test_data): New variable.
13792 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13793 (casin_test_data): New variable.
13794 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13795 (casinh_test_data): New variable.
13796 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13797 (catan_test_data): New variable.
13798 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13799 (catanh_test_data): New variable.
13800 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13801 (ccos_test_data): New variable.
13802 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13803 (ccosh_test_data): New variable.
13804 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13805 (cexp_test_data): New variable.
13806 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13807 (clog_test_data): New variable.
13808 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13809 (clog10_test_data): New variable.
13810 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13811 (conj_test_data): New variable.
13812 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13813 (cproj_test_data): New variable.
13814 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13815 (csin_test_data): New variable.
13816 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13817 (csinh_test_data): New variable.
13818 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13819 (csqrt_test_data): New variable.
13820 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13821 (ctan_test_data): New variable.
13822 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13823 (ctan_tonearest_test_data): New variable.
13824 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13825 (ctan_towardzero_test_data): New variable.
13826 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13827 (ctan_downward_test_data): New variable.
13828 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13829 (ctan_upward_test_data): New variable.
13830 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13831 (ctanh_test_data): New variable.
13832 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13833 (ctanh_tonearest_test_data): New variable.
13834 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13835 (ctanh_towardzero_test_data): New variable.
13836 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13837 (ctanh_downward_test_data): New variable.
13838 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13839 (ctanh_upward_test_data): New variable.
13840 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13841 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13842 of BUILD_COMPLEX.
13843
601a3a5f
JM
13844 * math/libm-test.inc (struct test_ff_f_data): New type.
13845 (struct test_ff_f_data_nexttoward): Likewise.
13846 (RUN_TEST_LOOP_2_f): New macro.
13847 (RUN_TEST_LOOP_ff_f): Likewise.
13848 (atan2_test_data): New variable.
13849 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13850 (copysign_test_data): New variable.
13851 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13852 (fdim_test_data): New variable.
13853 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13854 (fmax_test_data): New variable.
13855 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13856 (fmin_test_data): New variable.
13857 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13858 (fmod_test_data): New variable.
13859 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13860 (hypot_test_data): New variable.
13861 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13862 (nextafter_test_data): New variable.
13863 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13864 (nexttoward_test_data): New variable.
13865 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13866 (pow_test_data): New variable.
13867 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13868 (pow_tonearest_test_data): New variable.
13869 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13870 (pow_towardzero_test_data): New variable.
13871 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13872 (pow_downward_test_data): New variable.
13873 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13874 (pow_upward_test_data): New variable.
13875 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13876 (remainder_test_data): New variable.
13877 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13878 (scalb_test_data): New variable.
13879 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13880 * sysdeps/i386/fpu/libm-test-ulps: Update.
13881
74c57478
JM
138822013-05-11 Joseph Myers <joseph@codesourcery.com>
13883
8329e4da
JM
13884 * math/libm-test.inc (fma_test): Use max_value instead of local
13885 variable fltmax.
13886 (nextafter_test): Likewise.
13887
74c57478
JM
13888 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13889 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13890 (acos_downward_test_data): New variable.
13891 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13892 (acos_upward_test_data): New variable.
13893 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13894 (acosh_test_data): New variable.
13895 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13896 (asin_test_data): New variable.
13897 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13898 (asin_tonearest_test_data): New variable.
13899 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13900 (asin_towardzero_test_data): New variable.
13901 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13902 (asin_downward_test_data): New variable.
13903 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13904 (asin_upward_test_data): New variable.
13905 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13906 (asinh_test_data): New variable.
13907 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13908 (atan_test_data): New variable.
13909 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13910 (atanh_test_data): New variable.
13911 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13912 (cbrt_test_data): New variable.
13913 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13914 (ceil_test_data): New variable.
13915 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13916 (cos_test_data): New variable.
13917 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13918 (cos_tonearest_test_data): New variable.
13919 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13920 (cos_towardzero_test_data): New variable.
13921 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13922 (cos_downward_test_data): New variable.
13923 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13924 (cos_upward_test_data): New variable.
13925 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13926 (cosh_test_data): New variable.
13927 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13928 (cosh_tonearest_test_data): New variable.
13929 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13930 (cosh_towardzero_test_data): New variable.
13931 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13932 (cosh_downward_test_data): New variable.
13933 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13934 (cosh_upward_test_data): New variable.
13935 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13936 (erf_test_data): New variable.
13937 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13938 (erfc_test_data): New variable.
13939 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13940 (exp_test_data): New variable.
13941 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13942 (exp_tonearest_test_data): New variable.
13943 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13944 (exp_towardzero_test_data): New variable.
13945 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13946 (exp_downward_test_data): New variable.
13947 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13948 (exp_upward_test_data): New variable.
13949 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13950 (exp10_test_data): New variable.
13951 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13952 (exp2_test_data): New variable.
13953 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13954 (expm1_test_data): New variable.
13955 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13956 (fabs_test_data): New variable.
13957 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13958 (floor_test_data): New variable.
13959 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13960 (j0_test_data): New variable.
13961 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13962 (j1_test_data): New variable.
13963 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13964 (log_test_data): New variable.
13965 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13966 (log10_test_data): New variable.
13967 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13968 (log1p_test_data): New variable.
13969 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13970 (log2_test_data): New variable.
13971 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13972 (logb_test_data): New variable.
13973 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13974 (logb_downward_test_data): New variable.
13975 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13976 (nearbyint_test_data): New variable.
13977 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13978 (rint_test_data): New variable.
13979 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13980 (rint_tonearest_test_data): New variable.
13981 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13982 (rint_towardzero_test_data): New variable.
13983 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13984 (rint_downward_test_data): New variable.
13985 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13986 (rint_upward_test_data): New variable.
13987 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13988 (round_test_data): New variable.
13989 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13990 (sin_test_data): New variable.
13991 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13992 (sin_tonearest_test_data): New variable.
13993 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13994 (sin_towardzero_test_data): New variable.
13995 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13996 (sin_downward_test_data): New variable.
13997 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13998 (sin_upward_test_data): New variable.
13999 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14000 (sinh_test_data): New variable.
14001 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14002 (sinh_tonearest_test_data): New variable.
14003 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14004 (sinh_towardzero_test_data): New variable.
14005 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14006 (sinh_downward_test_data): New variable.
14007 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14008 (sinh_upward_test_data): New variable.
14009 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14010 (sqrt_test_data): New variable.
14011 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14012 (tan_test_data): New variable.
14013 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14014 (tan_tonearest_test_data): New variable.
14015 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14016 (tan_towardzero_test_data): New variable.
14017 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14018 (tan_downward_test_data): New variable.
14019 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14020 (tan_upward_test_data): New variable.
14021 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14022 (tanh_test_data): New variable.
14023 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14024 (tgamma_test_data): New variable.
14025 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14026 (trunc_test_data): New variable.
14027 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14028 (y0_test_data): New variable.
14029 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14030 (y1_test_data): New variable.
14031 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14032 (significand_test_data): New variable.
14033 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14034
7187d844
CG
140352013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14036
14037 [BZ #12387]
14038 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14039
f63fae73
PT
140402013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14041
14042 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14043
8a67a4b3
AJ
140442013-05-10 Andreas Jaeger <aj@suse.de>
14045
14046 [BZ #15448]
14047 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14048 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14049
51df539d
JM
140502013-05-10 Joseph Myers <joseph@codesourcery.com>
14051
14052 * math/gen-libm-test.pl (adjust_arg): New function.
14053 (special_functions): Handle generating output in both functions
14054 and arrays.
14055 (parse_args): Likewise.
14056 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14057 $in_func argument to parse_args.
14058 * math/libm-test.inc (struct test_f_f_data): New type.
14059 (IF_ROUND_INIT_): New macro.
14060 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14061 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14062 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14063 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14064 (ROUND_RESTORE_): Likewise.
14065 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14066 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14067 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14068 (ROUND_RESTORE_FE_UPWARD): Likewise.
14069 (RUN_TEST_LOOP_f_f): New macro.
14070 (acos_test_data): New variable.
14071 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14072 (acos_tonearest_test_data): New variable.
14073 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14074
5c637fe5
SP
140752013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14076
14077 * benchtests/bench-skeleton.c (startup): Fix coding style.
14078
ab2b9461
JM
140792013-05-10 Joseph Myers <joseph@codesourcery.com>
14080
14081 [BZ #6809]
14082 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14083 negative infinity argument.
14084 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14085 negative infinity argument.
14086 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14087 negative infinity argument.
14088 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14089 domain errors.
14090
4c0fe6fe
FW
140912013-05-10 Florian Weimer <fweimer@redhat.com>
14092
14093 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14094 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14095 * iconv/iconv_prog.c (main): Likewise.
14096 * locale/programs/charmap-dir.c (charmap_readdir)
14097 (fopen_uncompressed): Likewise.
14098 * locale/programs/locfile.c (siblings_uncached)
14099 (write_locale_data): Use lstat64 instead of lstat.
14100 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14101 stat.
14102
a3375d29
AJ
141032013-05-10 Andreas Jaeger <aj@suse.de>
14104
14105 [BZ #15395]
14106 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14107 localization.
14108 Include <locale.h>.
14109
36129722
CD
141102013-05-09 Carlos O'Donell <carlos@redhat.com>
14111
14112 * elf/dl-close.c (_dl_close_worker): Add comments.
14113
faa7f811
JM
141142013-05-09 Joseph Myers <joseph@codesourcery.com>
14115
ed41ffef
JM
14116 [BZ #15359]
14117 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14118 high part of pi/2.
14119 (__ieee754_rem_pio2l): Update comments.
14120
d0213cd0
JM
14121 [BZ #15429]
14122 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14123 high part of pi/2.
14124 (__ieee754_rem_pio2l): Update comments.
14125
0d3e777a
JM
14126 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14127 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14128
24f56066
JM
14129 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14130 M_PI_4l.
14131
faa7f811
JM
14132 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14133 (M_PI_34_LOG10El): Likewise.
14134 (M_PI2_LOG10El): Likewise.
14135 (M_PI4_LOG10El): Likewise.
14136 (M_PI_LOG10El): Likewise.
14137
e9a5e0fd
AZ
141382013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14139
14140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14141
d8cd06db
JM
141422013-05-08 Joseph Myers <joseph@codesourcery.com>
14143
a0d9f9d7
JM
14144 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14145 (MINUS_ZERO_INIT): Likewise.
14146 (PLUS_INFTY_INIT): Likewise.
14147 (MINUS_INFTY_INIT): Likewise.
14148 (QNAN_VALUE_INIT): Likewise.
14149 (MAX_VALUE_INIT): Likewise.
14150 (MIN_VALUE_INIT): Likewise.
14151 (MIN_SUBNORM_VALUE_INIT): Likewise.
14152 (plus_zero): Initialize with PLUS_ZERO_INIT.
14153 (minus_zero): Initialize with MINUS_ZERO_INIT.
14154 (plus_infty): Initialize with PLUS_INFTY_INIT.
14155 (minus_infty): Initialize with MINUS_INFTY_INIT.
14156 (qnan_value): Initialize with QNAN_VALUE_INIT.
14157 (max_value): Initialize with MAX_VALUE_INIT.
14158 (min_value): Initialize with MIN_VALUE_INIT.
14159 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14160
ae08db3b
JM
14161 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14162 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14163 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14164 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14165
f44bf14a
JM
14166 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14167 (RUN_TEST_2_f): Likewise.
14168 (RUN_TEST_ff_f): Likewise.
14169 (RUN_TEST_fi_f): Likewise.
14170 (RUN_TEST_fl_f): Likewise.
14171 (RUN_TEST_fff_f): Likewise.
14172 (RUN_TEST_c_f): Likewise.
14173 (RUN_TEST_f_f1): Likewise.
14174 (RUN_TEST_fF_f1): Likewise.
14175 (RUN_TEST_fI_f1): Likewise.
14176 (RUN_TEST_ffI_f1): Likewise.
14177 (RUN_TEST_c_c): Likewise.
14178 (RUN_TEST_cc_c): Likewise.
14179 (RUN_TEST_f_i): Likewise.
14180 (RUN_TEST_f_i_tg): Likewise.
14181 (RUN_TEST_ff_i_tg): Likewise.
14182 (RUN_TEST_f_b): Likewise.
14183 (RUN_TEST_f_b_tg): Likewise.
14184 (RUN_TEST_f_l): Likewise.
14185 (RUN_TEST_f_L): Likewise.
14186 (RUN_TEST_sincos): Likewise.
14187 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14188 whether to show exceptions. Do not include ");\n" in return
14189 value.
14190 (special_functions): Output call to RUN_TEST_sincos instead of
14191 check_float calls. Update calls to new_test.
14192 (parse_args): Output call to single RUN_TEST_* macro instead of
14193 check_* calls and other assignments. Update calls to new_test.
14194
d8cd06db
JM
14195 [BZ #2546]
14196 [BZ #2560]
14197 [BZ #5159]
14198 [BZ #15426]
14199 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14200 input to result for tgamma overflow.
14201 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14202 (gamma_coeff): New variable.
14203 (NCOEFF): New macro.
14204 (gamma_positive): New function.
14205 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14206 underflow here. Use gamma_positive instead of exp (lgamma) for
14207 other arguments.
14208 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14209 (gamma_coeff): New variable.
14210 (NCOEFF): New macro.
14211 (gammaf_positive): New function.
14212 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14213 underflow here. Use gamma_positive instead of exp (lgamma) for
14214 other arguments.
14215 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14216 (gamma_coeff): New variable.
14217 (NCOEFF): New macro.
14218 (gammal_positive): New function.
14219 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14220 underflow here. Use gamma_positive instead of exp (lgamma) for
14221 other arguments.
14222 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14223 (gamma_coeff): New variable.
14224 (NCOEFF): New macro.
14225 (gammal_positive): New function.
14226 (__ieee754_gammal_r): Handle positive infinity, overflow and
14227 underflow here. Handle NaN the same as positive infinity. Remove
14228 check x < 0xffffffff for negative integers. Use gamma_positive
14229 instead of exp (lgamma) for other arguments.
14230 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14231 (gamma_coeff): New variable.
14232 (NCOEFF): New macro.
14233 (gammal_positive): New function.
14234 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14235 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14236 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14238 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14239 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14240 * sysdeps/generic/math_private.h (__gamma_productf): New
14241 prototype.
14242 (__gamma_product): Likewise.
14243 (__gamma_productl): Likewise.
14244 * math/Makefile (libm-calls): Add gamma_product.
14245 * math/libm-test.inc (tgamma_test): Add more tests.
14246 * sysdeps/i386/fpu/libm-test-ulps: Update.
14247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14248
bb7cf681
OB
142492013-05-08 Ondřej Bílka <neleai@seznam.cz>
14250
14251 * benchtests/bench-skeleton.c (main): Preheat CPU.
14252
ba853947
AJ
142532013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14254
14255 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14256
8347c74c
RM
142572013-05-07 Roland McGrath <roland@hack.frob.com>
14258
14259 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14260 and _dl_skip_args_internal.
14261
e8dd4791
CD
142622013-05-07 Carlos O'Donell <carlos@redhat.com>
14263
14264 * manual/message.texi (Message Translation): Talk about users.
14265 Message to key mapping impacts design.
14266
c7405830
RM
142672013-05-06 Roland McGrath <roland@hack.frob.com>
14268
a9173057
RM
14269 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14270
976e2f03
RM
14271 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14272
9723ffc5
RM
14273 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14274 * sysdeps/wordsize-64/glob64.c: ... here.
14275
962e6658
RM
14276 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14277 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14278 New macros.
14279
ee586a6d
RM
14280 * debug/getlogin_r_chk.c: Moved to ...
14281 * login/getlogin_r_chk.c: ... here.
14282 * debug/Makefile (routines): Move getlogin_r_chk to ...
14283 * login/Makefile (routines): ... here.
14284 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14285 * login/Versions (libc: GLIBC_2.4): ... here.
14286
355f9165
RM
14287 * io/poll.c (__poll): Renamed from poll.
14288 Add libc_hidden_def.
14289 (poll): Define as weak alias.
14290
bd9ffde6
RM
14291 * debug/ptsname_r_chk.c: Moved to ...
14292 * login/ptsname_r_chk.c: ... here.
14293 * debug/Makefile (routines): Move ptsname_r_chk to ...
14294 * login/Makefile (routines): ... here.
14295 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14296 * login/Versions (libc: GLIBC_2.4): ... here.
14297
8fb16a04
RM
14298 * posix/getlogin.c: Moved to ...
14299 * login/getlogin.c: ... here.
14300 * posix/getlogin_r.c: Moved to ...
14301 * login/getlogin_r.c: ... here.
14302 * posix/getlogin_r.c: Moved to ...
14303 * login/getlogin_r.c: ... here.
14304 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14305 * login/Makefile (routines): ... here.
14306 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14307 * login/Versions (libc: GLIBC_2.0): ... here.
14308
b99b892f
RM
14309 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14310 (setrlimit): Define as weak alias.
14311
c7405830
RM
14312 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14313 Call __ names for open, ftruncate, and close.
14314 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14315 (truncate): Define as weak alias.
14316
5bf96de5
JM
143172013-05-06 Joseph Myers <joseph@codesourcery.com>
14318
9ea3513c
JM
14319 * math/gen-libm-test.pl (parse_args): Initialize x before each
14320 test of frexp, modf and remquo.
14321
5bf96de5
JM
14322 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14323 test signgam value.
14324
16e616a7
AZ
143252013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14326
14327 [BZ #15418]
14328 [BZ #15419]
14329 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14330 internal tests.
14331 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14332
d5e82754
RM
143332013-05-06 Roland McGrath <roland@hack.frob.com>
14334
14335 * elf/dl-writev.h: New file.
14336 * elf/dl-misc.c: Include it.
14337 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14338 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14339
a7548d41
JM
143402013-05-04 Joseph Myers <joseph@codesourcery.com>
14341
b7dab1e4
JM
14342 * math/libm-test.inc (noXFails): Remove variable.
14343 (noXPasses): Likewise.
14344 (BUILD_COMPLEX_INT): Remove macro.
14345 (print_screen): Remove xfail argument.
14346 (print_screen_max_error): Likewise.
14347 (update_stats): Likewise.
14348 (print_max_error): Likewise. Update calls to other affected
14349 functions.
14350 (print_complex_max_error): Likewise.
14351 (test_single_exception): Update calls to print_screen.
14352 (test_single_errno): Likewise.
14353 (check_float_internal): Remove xfail argument. Update calls to
14354 other affected functions.
14355 (check_float): Likewise.
14356 (check_complex): Likewise.
14357 (check_int): Likewise.
14358 (check_long): Likewise.
14359 (check_bool): Likewise.
14360 (check_longlong): Likewise.
14361 (main): Don't print noXFails and noXPasses.
14362 * math/gen-libm-test.pl (top level): Don't mention expected
14363 failure handling in comment.
14364 (new_test): Don't handle expected failures.
14365 (parse_args): Don't mention expected failure handling in comment.
14366 (generate_testfile): Don't handle expected failures.
14367 (parse_ulps): Likewise.
14368 (print_ulps_file): Likewise.
14369 (get_failure): Remove function.
14370 (output_test): Don't handle expected failures.
14371 * make/README.libm-test: Don't mention expected failure handling.
14372
a7548d41
JM
14373 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14374 (minus_zero): Likewise.
14375 (plus_infty): Likewise.
14376 (minus_infty): Likewise.
14377 (qnan_value): Likewise.
14378 (max_value): Likewise.
14379 (min_value): Likewise.
14380 (min_subnorm_value): Likewise.
14381 (initialize): Do not initialize those variables dynamically.
14382
60bfd54c
RM
143832013-05-03 Roland McGrath <roland@hack.frob.com>
14384
cc0e6ed8
RM
14385 * io/open.c (__open_2): Moved to ...
14386 * io/open_2.c: ... this new file.
14387 * io/open64.c (__open64_2): Moved to ...
14388 * io/open64_2.c: ... this new file.
14389 * io/openat.c (__openat_2): Moved to ...
14390 * io/openat_2.c: ... this new file.
14391 * io/openat64.c (__openat64_2): Moved to ...
14392 * io/openat64_2.c: ... this new file.
14393 * io/Makefile (routines): Add them.
14394 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14395 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14396 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14397 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14398 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14399 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14400 (__openat64): Add hidden_ver.
14401 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14402 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14403
60bfd54c
RM
14404 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14405 Separately conditionalize setting of GLRO(dl_sysinfo) so
14406 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14407 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14408
83e7640f
AZ
144092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14410
14411 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14412 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14413 definition.
14414 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14415 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14416 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14417 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14418 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14419
d5dc2af3
JM
144202013-05-03 Joseph Myers <joseph@codesourcery.com>
14421
c31a5b1e
JM
14422 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14423 test signgam value.
14424
d5dc2af3
JM
14425 * math/libm-test.inc (hypot_test): Do not use
14426 IGNORE_ZERO_INF_SIGN.
14427
164fd39d
AJ
144282013-05-03 Andreas Jaeger <aj@suse.de>
14429
14430 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14431 Linux 3.9.
14432 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14433 (PF_MAX): Adjust for VSOCK change.
14434
8237f48c
AZ
144352013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14436
14437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14438
9df02941
CD
144392013-05-02 Carlos O'Donell <carlos@redhat.com>
14440
14441 [BZ #15264]
14442 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14443 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14444 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14445
d422395e
DM
144462013-05-02 David S. Miller <davem@davemloft.net>
14447
14448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14449
a07c5731
OB
144502013-05-01 Ondřej Bílka <neleai@seznam.cz>
14451
14452 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14453
1324e37f
RM
144542013-05-01 Roland McGrath <roland@hack.frob.com>
14455
14456 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14457
0695940b
RS
144582013-05-01 Richard Smith <richard@metafoo.co.uk>
14459
bb5f27ad 14460 [BZ #14952]
0695940b
RS
14461 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14462 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14463 Use __attribute__ ((__gnu_inline__)).
14464 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14465 Don't use __attribute__ ((__gnu_inline__)).
14466
10de07f5
JM
144672013-05-01 Joseph Myers <joseph@codesourcery.com>
14468
14469 [BZ #15423]
14470 * math/s_catan.c (__catan): Handle small real or imaginary part of
14471 input specially to avoid spurious underflow.
14472 * math/s_catanf.c (__catanf): Likewise.
14473 * math/s_catanh.c (__catanh): Likewise.
14474 * math/s_catanhf.c (__catanhf): Likewise.
14475 * math/s_catanhl.c (__catanhl): Likewise.
14476 * math/s_catanl.c (__catanl): Likewise.
14477 * math/libm-test.inc (catan_test): Add more tests.
14478 (catanh_test): Likewise.
14479 * sysdeps/i386/fpu/libm-test-ulps: Update.
14480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14481
cb4d5414
AZ
144822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14483
14484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14485
caf84319
JM
144862013-04-30 Joseph Myers <joseph@codesourcery.com>
14487
14488 [BZ #15416]
14489 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14490 accurately for denominator in atan2.
14491 * math/s_catanf.c (__catanf): Likewise.
14492 * math/s_catanh.c (__catanh): Likewise.
14493 * math/s_catanhf.c (__catanhf): Likewise.
14494 * math/s_catanhl.c (__catanhl): Likewise.
14495 * math/s_catanl.c (__catanl): Likewise.
14496 * math/libm-test.inc (catan_test): Add more tests.
14497 (catanh_test): Likewise.
14498 * sysdeps/i386/fpu/libm-test-ulps: Update.
14499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14500
d569c6ee
SP
145012013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14502
6dbe713d
SP
14503 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14504
f0ee064b
SP
14505 * benchtests/Makefile (bench): Remove slow benchmarks.
14506 * benchtests/atan-inputs: Add slow benchmark inputs.
14507 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14508 (BENCH_FUNC): Accept variant offset.
14509 (VARIANT): Define.
14510 * benchtests/bench-skeleton.c (main): Run benchmark for each
14511 variant.
14512 * benchtests/cos-inputs: Add slow benchmark inputs.
14513 * benchtests/exp-inputs: Likewise.
14514 * benchtests/pow-inputs: Likewise.
14515 * benchtests/sin-inputs: Likewise.
14516 * benchtests/slowatan-inputs: Remove.
14517 * benchtests/slowatan.c: Remove.
14518 * benchtests/slowcos-inputs: Remove.
14519 * benchtests/slowcos.c: Remove.
14520 * benchtests/slowexp-inputs: Remove.
14521 * benchtests/slowexp.c: Remove.
14522 * benchtests/slowpow-inputs: Remove.
14523 * benchtests/slowpow.c: Remove.
14524 * benchtests/slowsin-inputs: Remove.
14525 * benchtests/slowsin.c: Remove.
14526 * benchtests/slowtan-inputs: Remove.
14527 * benchtests/slowtan.c: Remove.
14528 * benchtests/tan-inputs: Add slow benchmark inputs.
14529 * scripts/bench.pl: Parse comments and directives.
14530
d569c6ee
SP
14531 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14532 in CPPFLAGS.
14533 ($(objpfx)bench-%.c): Remove *-ITER.
14534 * benchtests/bench-modf.c: Remove definition of ITER.
14535 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14536 (main): Loop for DURATION seconds instead of fixed number of
14537 iterations.
14538 * scripts/bench.pl: Don't expect iterations in parameters.
14539
a6a242fe
RM
145402013-04-29 Roland McGrath <roland@hack.frob.com>
14541
14542 * io/fchdir.c (__fchdir): Renamed from fchdir.
14543 (fchdir): Define as weak alias.
14544
f2da7793
JM
145452013-04-29 Joseph Myers <joseph@codesourcery.com>
14546
14547 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14548 (ERRNO_EDOM): Likewise.
14549 (ERRNO_ERANGE): Likewise.
14550 (noErrnoTests): New variable.
14551 (init_max_error): Set errno to 0.
14552 (test_single_errno): New function.
14553 (test_errno): Likewise.
14554 (check_float_internal): Call test_errno. Set errno to 0.
14555 (check_complex): Refer to errno tests in comment.
14556 (check_int): Call test_errno. Set errno to 0.
14557 (check_long): Likewise.
14558 (check_bool): Likewise.
14559 (check_longlong): Likewise.
14560 (cos_test): Use ERRNO_* flags for errno tests instead of
14561 check_int.
14562 (expm1_test): Likewise.
14563 (fmod_test): Likewise.
14564 (ilogb_test): Likewise.
14565 (lgamma_test): Likewise.
14566 (pow_test): Likewise.
14567 (remainder_test): Likewise.
14568 (sin_test): Likewise.
14569 (tan_test): Likewise.
14570 (yn_test): Likewise.
14571 (initialize): Set errno to 0.
14572 (main): Print number of errno tests.
14573 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14574
b1a36ceb
AJ
145752013-04-29 Andreas Jaeger <aj@suse.de>
14576
c3ed8088
AJ
14577 [BZ #15084]
14578 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14579 and RES_USEVC.
14580
f1a24198
AJ
14581 [BZ #15085]
14582 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14583 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14584 unimplemented.
14585
9ce3b2cb
AJ
14586 [BZ #15380]
14587 * stdlib/random.c (__initstate): Return NULL if
14588 __initstate fails.
14589
f1a24198 14590 [BZ #15086]
b1a36ceb
AJ
14591 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14592 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14593 RES_SNGLKUPREOP.
14594
7e7b6f36
AZ
145952013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14596
14597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14598
4d14f449
JM
145992013-04-29 Joseph Myers <joseph@codesourcery.com>
14600
14601 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14602 of individual tests.
14603 (casin_test): Likewise.
14604 (casinh_test): Likewise.
14605
5b4217d7
JM
146062013-04-27 Joseph Myers <joseph@codesourcery.com>
14607
14608 [BZ #15409]
14609 * math/s_catan.c (__catan): Handle arguments with large real or
14610 imaginary part separately without squaring.
14611 * math/s_catanf.c (__catanf): Likewise.
14612 * math/s_catanh.c (__catanh): Likewise.
14613 * math/s_catanhf.c (__catanhf): Likewise.
14614 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14615 and redefine.
14616 (__catanhl): Handle arguments with large real or imaginary part
14617 separately without squaring.
14618 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14619 and redefine.
14620 (__catanl): Handle arguments with large real or imaginary part
14621 separately without squaring.
14622 * math/libm-test.inc (catan_test): Add more tests.
14623 (catanh_test): Likewise.
14624 * sysdeps/i386/fpu/libm-test-ulps: Update.
14625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14626
4220c3ef
AJ
146272013-04-27 Andreas Jaeger <aj@suse.de>
14628
14629 [BZ #15007]
14630 * stdlib/stdlib.h: Update guards for qecvt.
14631 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14632 <stdlib.h>.
14633
4721b2d1
AM
146342013-04-27 Allan McRae <allan@archlinux.org>
14635
14636 * sysdeps/i386/fpu/libm-test-ulps: Update.
14637
f0302940
JM
146382013-04-26 Joseph Myers <joseph@codesourcery.com>
14639
9457fd95
JM
14640 [BZ #15406]
14641 * math/s_catan.c: Include <float.h>.
14642 (__catan): Ensure underflow exception occurs for underflowed
14643 result.
14644 * math/s_catanf.c: Include <float.h>.
14645 (__catanf): Ensure underflow exception occurs for underflowed
14646 result.
14647 * math/s_catanh.c: Include <float.h>.
14648 (__catanh): Ensure underflow exception occurs for underflowed
14649 result.
14650 * math/s_catanhf.c: Include <float.h>.
14651 (__catanhf): Ensure underflow exception occurs for underflowed
14652 result.
14653 * math/s_catanhl.c: Include <float.h>.
14654 (__catanhl): Ensure underflow exception occurs for underflowed
14655 result.
14656 * math/s_catanl.c: Include <float.h>.
14657 (__catanl): Ensure underflow exception occurs for underflowed
14658 result.
14659 * math/libm-test.inc (catan_test): Add more tests.
14660 (catanh_test): Likewise.
14661
f0302940
JM
14662 [BZ #15405]
14663 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14664 underflowed result.
14665 * math/s_ccoshf.c (__ccoshf): Likewise.
14666 * math/s_ccoshl.c (__ccoshl): Likewise.
14667 * math/s_csin.c (__csin): Likewise.
14668 * math/s_csinf.c (__csinf): Likewise.
14669 * math/s_csinh.c (__csinh): Likewise.
14670 * math/s_csinhf.c (__csinhf): Likewise.
14671 * math/s_csinhl.c (__csinhl): Likewise.
14672 * math/s_csinl.c (__csinl): Likewise.
14673 * math/libm-test.inc (ccos_test): Add more tests.
14674 (ccosh_test): Likewise.
14675 (csin_test): Likewise.
14676 (csinh_test): Likewise.
14677
aa630f59
AZ
146782013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14679
14680 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14681 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14682 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14683 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14684 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14685 powerpc/power5+/fpu folders.
14686 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14687
14688
1b835983
MT
146892013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14690
14691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14692
73709b26
JM
146932013-04-25 Joseph Myers <joseph@codesourcery.com>
14694
14695 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14696 additions to variable.
14697 [$(config-machine) = x86_64] (modules-names): Likewise.
14698 ($(objpfx)tst-audit3): Remove dependency.
14699 ($(objpfx)tst-audit3.out): Likewise.
14700 ($(objpfx)tst-audit4): Likewise.
14701 ($(objpfx)tst-audit4.out): Likewise.
14702 ($(objpfx)tst-audit5): Likewise.
14703 ($(objpfx)tst-audit5.out): Likewise.
14704 ($(objpfx)tst-audit6): Likewise.
14705 ($(objpfx)tst-audit6.out): Likewise.
14706 ($(objpfx)tst-audit7): Likewise.
14707 ($(objpfx)tst-audit7.out): Likewise.
14708 (tst-audit3-ENV): Remove variable.
14709 (tst-audit4-ENV): Likewise.
14710 (tst-audit5-ENV): Likewise.
14711 (tst-audit6-ENV): Likewise.
14712 (tst-audit7-ENV): Likewise.
14713 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14714 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14715 addition to variable.
14716 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14717 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14718 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14719 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14720 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14721 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14722 tst-audit3, tst-audit4 and tst-audit5.
14723 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14724 tst-audit6 and tst-audit7.
14725 [$(subdir) = elf] (modules-names): Add audit modules for those
14726 tests.
14727 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14728 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14729 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14730 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14731 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14732 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14733 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14734 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14735 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14736 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14737 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14738 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14739 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14740 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14741 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14742 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14743 Likewise.
14744 [$(subdir) = elf && $(config-cflags-avx) = yes]
14745 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14746 [$(subdir) = elf && $(config-cflags-avx) = yes]
14747 (CFLAGS-tst-auditmod4a.c): Likewise.
14748 [$(subdir) = elf && $(config-cflags-avx) = yes]
14749 (CFLAGS-tst-auditmod4b.c): Likewise.
14750 [$(subdir) = elf && $(config-cflags-avx) = yes]
14751 (CFLAGS-tst-auditmod6b.c): Likewise.
14752 [$(subdir) = elf && $(config-cflags-avx) = yes]
14753 (CFLAGS-tst-auditmod6c.c): Likewise.
14754 [$(subdir) = elf && $(config-cflags-avx) = yes]
14755 (CFLAGS-tst-auditmod7b.c): Likewise.
14756 * elf/tst-audit3.c: Move to ...
14757 * sysdeps/x86_64/tst-audit3.c: ... here.
14758 * elf/tst-audit4.c: Move to ...
14759 * sysdeps/x86_64/tst-audit4.c: ... here.
14760 * elf/tst-audit5.c: Move to ...
14761 * sysdeps/x86_64/tst-audit5.c: ... here.
14762 * elf/tst-audit6.c: Move to ...
14763 * sysdeps/x86_64/tst-audit6.c: ... here.
14764 * elf/tst-audit7.c: Move to ...
14765 * sysdeps/x86_64/tst-audit7.c: ... here.
14766 * elf/tst-auditmod3a.c: Move to ...
14767 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14768 * elf/tst-auditmod3b.c: Move to ...
14769 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14770 * elf/tst-auditmod4a.c: Move to ...
14771 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14772 * elf/tst-auditmod4b.c: Move to ...
14773 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14774 * elf/tst-auditmod5a.c: Move to ...
14775 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14776 * elf/tst-auditmod5b.c: Move to ...
14777 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14778 * elf/tst-auditmod6a.c: Move to ...
14779 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14780 * elf/tst-auditmod6b.c: Move to ...
14781 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14782 * elf/tst-auditmod6c.c: Move to ...
14783 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14784 * elf/tst-auditmod7a.c: Move to ...
14785 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14786 * elf/tst-auditmod7b.c: Move to ...
14787 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14788
1ef74943
PP
147892013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14790
14791 [BZ #15366]
14792 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14793 define unconditionally.
14794 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14795 define unconditionally.
14796 (INT8_C, INT16_C, etc.): Likewise.
14797
93fd48c5
MR
147982013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14799
ae9552cf
MR
14800 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14801 __ehdr_start with hidden visibility.
14802
93fd48c5
MR
14803 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14804
418601aa
CD
148052013-04-24 Carlos O'Donell <carlos@redhat.com>
14806
14807 * math/libm-test.inc (cos_test): Use accurate hex constants.
14808 (sincost_test): Likewise.
14809
2f38fbfe
JM
148102013-04-24 Joseph Myers <joseph@codesourcery.com>
14811
5e221800
JM
14812 * math/libm-test.inc (catan_test): Add more tests.
14813 (catanh_test): Likewise.
14814
77f143fd
JM
14815 * math/s_catanf.c (__catanf): Use suffixed floating-point
14816 constants.
14817 * math/s_catanhf.c (__catanhf): Likewise.
14818 * math/s_catanhl.c (__catanhl): Likewise.
14819 * math/s_catanl.c (__catanl): Likewise.
14820
2f38fbfe
JM
14821 [BZ #15394]
14822 * math/s_catan.c (__catan): Calculate imaginary part of result
14823 with log1p not log unless computing log of number close to 0.
14824 * math/s_catanf.c (__catanf): Likewise.
14825 * math/s_catanl.c (__catanl): Likewise.
14826 * math/s_catanh.c (__catanh): Calculate real part of result with
14827 log1p not log unless computing log of number close to 0.
14828 * math/s_catanhf.c (__catanhf): Likewise.
14829 * math/s_catanhl.c (__catanhl): Likewise.
14830 * math/libm-test.inc (catan_test): Add more tests.
14831 (catanh_test): Likewise.
14832 * sysdeps/i386/fpu/libm-test-ulps: Update.
14833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14834
45d69176
SP
148352013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14836
14837 * benchtests/Makefile: Mention files in which fast and slow
14838 paths of math functions are implemented.
14839
87f51853
RM
148402013-04-23 Roland McGrath <roland@hack.frob.com>
14841
14842 * sysdeps/posix/timespec_get.c: New file.
14843
3c026539
AZ
148442013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14845
14846 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14847 POWER.
14848 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14849 for POWER.
14850 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14851 powerpc/power5/fpu folders.
14852 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14853 * benchtests/Makefile: Add modf testcase.
14854 * benchtests/bench-modf.c: New file: Benchmark test for mo
14855
ff491d14
SP
148562013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14857
14858 [BZ #14888]
14859 * time/Makefile (tests): Add tst-strptime-whitespace.
14860 * time/strptime_l.c (get_number): Use ISSPACE.
14861 (__strptime_internal): Likewise.
14862 * time/tst-strptime-whitespace.c: New test case.
14863
7ed3f4e8
AS
148642013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14865
14866 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14867 member.
14868 (_nss_files_init): Set it here.
14869
5c95f7b6
HC
148702013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14871
14872 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14873 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14874 unsigned.
14875
d34c9158
JBG
148762013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14877
14878 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14879
2169712d
SP
148802013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14881
14882 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14883 size just once.
14884
29c5de99
DM
148852013-04-21 David S. Miller <davem@davemloft.net>
14886
14887 * po/ru.po: Update Russion translation from translation project.
14888
ccdad15d
AC
148892013-04-17 Adam Conrad <adconrad@0c3.net>
14890
14891 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14892 and setfsgid.
14893
0f122b8d
CD
148942013-04-17 Carlos O'Donell <carlos@redhat.com>
14895
5c5b07da 14896 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14897 * configure: Regenerate.
5c5b07da 14898 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14899 Add example to error message.
14900 * sysdeps/i386/configure: Regenerate.
14901
037714dd
SP
149022013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14903
14904 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14905 slowtan.
14906 * benchtests/cos-inputs: New file.
14907 * benchtests/slowcos-inputs: New file.
14908 * benchtests/slowcos.c: New file.
14909 * benchtests/slowtan-inputs: New file.
14910 * benchtests/slowtan.c: New file.
14911 * benchtests/tan-inputs: New file.
14912
e913141d
RM
149132013-04-16 Roland McGrath <roland@hack.frob.com>
14914
14915 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14916 considered kosher.
14917
a2964074
SP
149182013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14919
4856bcd2
SP
14920 * benchtests/Makefile: Include cppflags-iterator.mk to add
14921 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14922
a2964074
SP
14923 * Makefile.in (bench-clean): New target.
14924 * benchtests/Makefile (bench-clean): Likewise.
14925
9fbf9aca
DH
149262013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14927
14928 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14929
207d1e2a
TS
149302013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14931
14932 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14933
306dfba9
AS
149342013-04-15 Andreas Schwab <schwab@suse.de>
14935
14936 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14937 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14938 * nscd/pwdcache.c (cache_addpw): Likewise.
14939 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14940 more than recsize.
14941
206a6699
SP
149422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14943
14944 * benchtests/Makefile (bench): Write all output to
14945 bench-out.tmp together.
14946
0582f6b3
AS
149472013-04-15 Andreas Schwab <schwab@suse.de>
14948
14949 * nscd/nscd.c (main): Don't fork again after closing files.
14950
acb4325f
SP
149512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14952
5cb26d0a
SP
14953 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14954
acb4325f
SP
14955 * benchtests/Rules (bench-deps): Collect dependencies into a
14956 single variable. Add Makefile to dependencies.
14957 ($(objpfx)bench-%.c): Depend on bench-deps.
14958
47792506
RM
149592013-04-12 Roland McGrath <roland@hack.frob.com>
14960 Xavier Roche <roche+kml2@exalead.com>
14961
14962 [BZ #15361]
14963 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14964 just that it's a file descriptor.
14965 * manual/llio.texi (Synchronizing AIO Operations): Update description
14966 for EBADF error from aio_fsync.
14967
8fc1bee5
SP
149682013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14969
14970 * Rules (bench): Move target definition...
14971 * benchtests/Makefile: ... here.
14972
aba5e333
CD
149732013-04-11 Carlos O'Donell <carlos@redhat.com>
14974
14975 * math/libm-test.inc (cos_test): Fix PI/2 test.
14976 (sincos_test): Likewise.
14977 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14978 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14979
273cdee8
AS
149802013-04-11 Andreas Schwab <schwab@suse.de>
14981
6ecec3b6
AS
14982 [BZ #13988]
14983 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14984 accept exponent character only when digits were seen.
14985 * stdio-common/Makefile (tests): Add bug26.
14986 * stdio-common/bug26.c: New file.
14987
273cdee8
AS
14988 [BZ #14293]
14989 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14990 non-freeable.
14991
8da491f5
SP
149922013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14993
01dc6df9
SP
14994 * Makeconfig (rtld-prefix): Define built linker prefix.
14995 * Rules (run-bench): Use it.
14996 * math/Makefile (run-regen-ulps): Likewise.
14997
8da491f5
SP
14998 * Rules (bench): Remove eval.
14999
abe7f530
SP
150002013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15001 Roland McGrath <roland@hack.frob.com>
15002 Ondrej Bilka <neleai@seznam.cz>
15003
15004 [BZ #15346]
15005 * time/getdate.c: Include ctype.h and alloca.h.
15006 (__getdate_r): Trim leading and trailing spaces of input.
15007 * time/tst-getdate.c (tests): Add tests with leading and
15008 trailing spaces.
15009
61c23e62
RM
150102013-04-08 Roland McGrath <roland@hack.frob.com>
15011
15012 [BZ #14280]
15013 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15014 when computing value.
15015
7208a313
CD
150162013-04-06 Carlos O'Donell <carlos@redhat.com>
15017
085b2d41
CD
15018 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15019 Use testrun.sh to run libm tests.
15020
7208a313
CD
15021 [BZ #15309]
15022 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15023
872c0acd
MM
150242013-04-06 Marko Myllynen <myllynen@redhat.com>
15025
15026 [BZ #15264]
15027 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15028
26510bdd
CD
150292013-04-06 Carlos O'Donell <carlos@redhat.com>
15030
15031 * Makefile.in (regen-ulps): New target.
15032 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15033 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15034 [ifneq (no,$(PERL)] (regen-ulps): New target.
15035 [ifeq (no,$(PERL)] (regen-ulps): New target.
15036 * math/libm-test.inc (ulps_file_name): Define.
15037 (output_dir): New variable.
15038 (options): Add "output-dir" option.
15039 (parse_opt): Handle 'o' case.
15040 (main): If output_dir is non-NULL use it as a prefix
15041 otherwise use "".
15042 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15043
a01f19c8
CD
150442013-04-06 Carlos O'Donell <carlos@redhat.com>
15045
15046 [BZ #10060, #10062]
15047 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15048 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15049 fail configure if __sync_val_compare_and_swap is not inlined.
15050 * sysdeps/i386/configure: Regenerate.
15051 * configure.in: Build for i686 when configured for i386.
15052 * configure: Regenerate.
15053 * README: Remove i386 reference.
15054
b7a329a5
CD
150552013-04-06 Carlos O'Donell <carlos@redhat.com>
15056
15057 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15058 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15059
bf0f50df
TS
150602013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15061
ee091edf
TS
15062 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15063 (lmsnanval): New variables.
15064 (F): Add conversion tests.
15065 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15066 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15067
a8b792d6
TS
15068 * stdio-common/tstdiomisc.c (F): Properly collect individual
15069 tests' results.
15070
a1cbf437
TS
15071 [BZ #14686, #15336]
15072 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15073 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15074 Instead, use input NaN values or generate a qNaN by arithmetic
15075 operation. Also fix bugs to comply with the standard.
15076 * math/libm-test.inc (remainder_test): Add more tests.
15077
8b43a0c9
TS
15078 [BZ #15335, #15342]
15079 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15081 input NaN values or generate a qNaN by arithmetic operation.
15082
d91da4ce
TS
15083 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15084 unreachable code.
15085
bf0f50df
TS
15086 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15087 definitions.
15088
05e166c8
JM
150892013-04-03 Joseph Myers <joseph@codesourcery.com>
15090
15091 [BZ #14478]
15092 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15093 underflowed result.
15094 * math/s_cexpf.c (__cexpf): Likewise.
15095 * math/s_cexpl.c (__cexpl): Likewise.
15096 * math/libm-test.inc (cexp_test): Add more tests.
15097
1cef1b19
AS
150982013-04-03 Andreas Schwab <schwab@suse.de>
15099
15100 [BZ #15330]
15101 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15102 order arrays from heap if bigger than alloca cutoff.
15103
74d87055
TS
151042013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15105
15106 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15107 (SNAN_TESTS_double): Refer to GCC PR56831.
15108 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15109 GCC PR56828.
15110
d755bba4
SP
151112013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15112
90d5d5bb
SP
15113 * Rules (bench): Move bench.out after the run is complete.
15114
73e0cd5d
SP
15115 * Rules (bench): Echo currently running benchmark.
15116
64aabd4b
SP
15117 * benchtests/Makefile (bench): Add atan and slowatan.
15118 * benchtests/atan-inputs: New file.
15119 * benchtests/slowatan-inputs: New file.
15120 * benchtests/slowatan.c: New file.
15121
c871eccd
SP
15122 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15123 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15124 its value.
15125
d755bba4
SP
15126 [BZ #15305]
15127 * sysdeps/unix/sysv/linux/kernel-features.h
15128 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15129 __ASSUME_XFS_RESTRICTED_CHOWN.
15130 * sysdeps/unix/sysv/linux/pathconf.c
15131 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15132 Save and restore errno.
15133
52ce4860
JM
151342013-04-02 Joseph Myers <joseph@codesourcery.com>
15135
15136 [BZ #15327]
15137 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15138 arguments using __kernel_casinh.
15139 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15140 arguments using __kernel_casinhf.
15141 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15142 arguments using __kernel_casinhl.
15143 * math/libm-test.inc (cacosh_test): Add more tests.
15144 * sysdeps/i386/fpu/libm-test-ulps: Update.
15145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15146
81f311c2
SP
151472013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15148
e7906a47
SP
15149 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15150 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15151
92e3664b
SP
15152 * bench/Makefile (bench): Add sin and slowsin.
15153 * benchtests/sin-inputs: New file.
15154 * benchtests/slowsin-inputs: New file.
15155 * benchtests/slowsin.c: New file.
15156
81f311c2
SP
15157 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15158 (bench): Add slowexp and slowpow.
15159 (exp-ITER): Increase iterations.
15160 (pow-ITER): Likewise.
15161 * benchtests/exp-inputs: Change input.
15162 * benchtests/pow-inputs: Likewise.
15163 * benchtests/slowexp-inputs: New file.
15164 * benchtests/slowexp.c: New file.
15165 * benchtests/slowpow-inputs: New file.
15166 * benchtests/slowpow.c: New file.
15167
ab0f1aa9
AZ
151682013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15169
15170 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15171 instructions.
15172 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15173 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15174 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15175 * benchtests/Makefile: Add rint benchtest.
15176 * benchtests/rint-inputs: Input for rint benchtest.
15177
57267616
TS
151782013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15179
15180 * Versions.def (libm): Add GLIBC_2.18.
15181 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15182 hidden libm prototypes.
15183 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15184 * math/Makefile (libm-calls): Add s_issignaling.
15185 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15186 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15187 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15188 declaration.
15189 * math/math.h [__USE_GNU] (issignaling): New macro.
15190 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15191 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15192 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15193 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15194 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15195 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15196 * manual/arith.texi (issignaling): New section.
15197 * manual/libm-err-tab.pl (@all_functions): Update comment.
15198 * math/gen-libm-test.pl (parse_args): Apply special handling for
15199 issignaling.
15200 * math/libm-test.inc (print_float, issignaling_test): New
15201 functions.
15202 (check_float_internal): Add issignaling checks.
15203 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15204 default definition.
15205 * sysdeps/powerpc/math-tests.h: New file.
15206 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15207 tests.
15208 * math/test-snan.c (TEST_FUNC): Likewise.
15209
6142896d
DM
152102013-03-30 David S. Miller <davem@davemloft.net>
15211
15212 * po/de.po: Update from translation team.
15213
ccc8cadf
JM
152142013-03-30 Joseph Myers <joseph@codesourcery.com>
15215
15216 [BZ #10357]
15217 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15218 imaginary part less than 1.0 and real part less than 0.5
15219 specially.
15220 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15221 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15222 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15223 (cacos_test): Add more tests.
15224 (casin_test): Likewise.
15225 (casinh_test): Likewise.
15226 * sysdeps/i386/fpu/libm-test-ulps: Update.
15227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15228
0f6a8d4b
SP
152292013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15230
0d1029de
SP
15231 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15232 ONE with its value.
15233
c2d94018
SP
15234 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15235 (__pow_mp): Replace ONE and MONE with their values.
15236 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15237 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15238 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15239 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15240 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15241 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15242
27ec37f1
SP
15243 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15244
a64d7e0e
SP
15245 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15246 (__pow_mp): Replace ZERO and MZERO with their values.
15247 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15248 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15249 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15251 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15252 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15253 (__sqr): Likewise.
15254
d26dd3eb
SP
15255 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15256
0f6a8d4b
SP
15257 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15258
e57b0c61
RM
152592013-03-28 Roland McGrath <roland@hack.frob.com>
15260
15261 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15262 Declare with __attribute__ ((weak)).
15263 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15264 Call __call_tls_dtors only if it's not NULL.
15265
356b3480
RM
152662013-03-28 Roland McGrath <roland@hack.frob.com>
15267
288f7d79
RM
15268 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15269 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15270 magic __ehdr_start linker symbol if it's defined.
15271 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15272 them up here if it was already done.
15273
dc0a0263
RM
15274 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15275 (_dl_aux_init): Use const in cast when setting it.
15276 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15277 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15278 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15279
3d3436ae
RM
15280 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15281 Declare them here.
15282 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15283 * csu/libc-tls.c: Nor here.
15284 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15285
356b3480
RM
15286 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15287 (__libc_message): Never call vsyslog.
15288
b0f1246a
AM
152892013-03-28 Alan Modra <amodra@gmail.com>
15290
15291 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15292 Define as empty.
15293 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15294 Likewise.
15295
fbbe2b9a
AZ
152962013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15297
15298 [BZ #15214]
15299 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15300 underflow.
15301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15302
1728ab37
SP
153032013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15304
7a86be6e
SP
15305 [BZ #15304]
15306 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15307 Don't add gid passed as argument.
15308
1728ab37
SP
15309 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15310
3a7182a1
JM
153112013-03-27 Joseph Myers <joseph@codesourcery.com>
15312
15313 [BZ #15307]
15314 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15315 imaginary part between 1.0 and 1.5 and real part less than 0.5
15316 specially.
15317 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15318 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15319 * math/libm-test.inc (cacos_test): Add more tests.
15320 (casin_test): Likewise.
15321 (casinh_test): Likewise.
15322 * sysdeps/i386/fpu/libm-test-ulps: Update.
15323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15324
6f2e90e7
SP
153252013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15326
5739f705
SP
15327 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15328 constants.
15329 (norm): Likewise.
15330 (denorm): Likewise.
15331 (__dbl_mp): Likewise.
15332 (add_magnitudes): Likewise.
15333 (sub_magnitudes): Likewise.
15334 (__add): Likewise.
15335 (__sub): Likewise.
15336 (__mul): Likewise.
15337 (__sqr): Likewise.
15338 (__inv): Likewise.
15339 (__dvd): Likewise.
15340
e375e83d
SP
15341 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15342 commented code.
15343 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15344 (__dubcos): Likewise.
15345 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15346 (__ieee754_acos): Likewise.
15347 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15348 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15349 (__exp1): Likewise.
15350 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15351 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15352 (log1): Likewise.
15353 (my_log2): Likewise.
15354 (checkint): Likewise.
15355 * sysdeps/ieee754/dbl-64/e_remainder.c
15356 (__ieee754_remainder): Likewise.
15357 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15358 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15359 (bsloww): Likewise.
15360 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15361
6f2e90e7
SP
15362 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15363 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15364 MANTISSA_STORE_T to store computations on mantissa. Use
15365 macros for rounding and division.
15366 (denorm): Likewise.
15367 (__dbl_mp): Likewise.
15368 (add_magnitudes): Likewise.
15369 (sub_magnitudes): Likewise.
15370 (__mul): Likewise.
15371 (__sqr): Likewise.
15372 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15373 powers of two in terms of TWOPOW macro.
15374 (mp_no): Make type of mantissa as MANTISSA_T.
15375 [!RADIXI]: Define RADIXI.
15376 [!TWO52]: Define TWO52.
15377 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15378
fce14d4e
AZ
153792013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15380
15381 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15382 llroundl symbol when building for PPC32.
15383
9ad027fb
MW
153842013-03-24 Mark H Weaver <mhw@netris.org>
15385
15386 * manual/arith.texi (Normalization Functions): Fix prototypes for
15387 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15388
e42a38dd
AZ
153892013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15390
15391 [BZ #13889]
15392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15393 high value to check if expl overflow.
15394 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15395 to check for underflow and overflow.
15396 * math/libm-test.inc: Add exp test.
15397
2e0fb521
DL
153982013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15399
15400 [BZ #11120]
15401 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15402 with NOT_IN_libc.
15403
b5784d95
AZ
154042013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15405
15406 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15407 symbol.
15408
5aa4a1a1
TS
154092013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15410
bdef0be7
TS
15411 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15412 wrap blocks consisting of several statements.
15413
5aa4a1a1
TS
15414 * sysdeps/generic/math-tests.h: New file.
15415 * sysdeps/i386/fpu/math-tests.h: Likewise.
15416 * math/test-snan.c: Include it.
15417 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15418
98c48fe5
JM
154192013-03-21 Joseph Myers <joseph@codesourcery.com>
15420
15421 [BZ #15285]
15422 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15423 (__ieee754_j0l): Do not improve calculations using cos of twice
15424 input for inputs above LDBL_MAX / 2.0L.
15425 (__ieee754_y0l): Likewise.
15426 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15427 (__ieee754_j1l): Do not improve calculations using cos of twice
15428 input for inputs above LDBL_MAX / 2.0L.
15429 (__ieee754_y1l): Likewise.
15430 * math/libm-test.inc (j0_test): Add another test.
15431 (j1_test): Likewise.
15432 (y0_test): Likewise.
15433 (y1_test): Likewise.
15434 * sysdeps/i386/fpu/libm-test-ulps: Update.
15435
3775a8bc
SP
154362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15437
15438 * Rules ($(objpfx)bench-%.c): Include code from a C source
15439 file.
15440
0a1b2ae6
JM
154412013-03-21 Joseph Myers <joseph@codesourcery.com>
15442
15443 [BZ #15287]
15444 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15445 imaginary part 1.0 and real part less than 0.5 specially.
15446 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15447 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15448 * math/libm-test.inc (cacos_test): Add more tests.
15449 (casin_test): Likewise.
15450 (casinh_test): Likewise.
15451 * sysdeps/i386/fpu/libm-test-ulps: Update.
15452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15453
b33d4ce4
SP
154542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15455
15456 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15457 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15458
bef0b507
JM
154592013-03-20 Joseph Myers <joseph@codesourcery.com>
15460
15461 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15462 * config.make.in (config-cflags-sse4): Remove variable.
15463 (config-cflags-avx): Likewise.
15464 (config-cflags-sse2avx): Likewise.
15465 (config-cflags-novzeroupper): Likewise.
15466 (config-asflags-i686): Likewise.
15467 (have-mfma4): Likewise.
15468 (have-as-vis3): Likewise.
15469 (MIG): Likewise.
15470 * configure.in (MIG): Do not AC_SUBST.
15471 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15472 (libc_cv_cc_sse4): Do not AC_SUBST.
15473 (libc_cv_cc_avx): Likewise.
15474 (libc_cv_cc_sse2avx): Likewise.
15475 (libc_cv_cc_novzeroupper): Likewise.
15476 (libc_cv_cc_fma4): Likewise.
15477 (libc_cv_as_i686): Likewise.
15478 (libc_cv_sparc_as_vis3): Likewise.
15479 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15480 LIBC_CONFIG_VAR.
15481 (config-asflags-i686): Likewise.
15482 (config-cflags-avx): Likewise.
15483 (config-cflags-sse2avx): Likewise.
15484 (have-mfma4): Likewise.
15485 (config-cflags-novzeroupper): Likewise.
15486 * sysdeps/mach/configure.in (MIG): Likewise.
15487 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15488 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15489 LIBC_CONFIG_VAR.
15490 (config-cflags-avx): Likewise.
15491 (config-cflags-sse2avx): Likewise.
15492 (have-mfma4): Likewise.
15493 (config-cflags-novzeroupper): Likewise.
15494 * configure: Regenerated.
15495 * sysdeps/i386/configure: Likewise.
15496 * sysdeps/mach/configure: Likewise.
15497 * sysdeps/sparc/configure: Likewise.
15498 * sysdeps/x86_64/configure: Likewise.
15499
912cc4b3
RM
155002013-03-20 Roland McGrath <roland@hack.frob.com>
15501
15502 [BZ #14812]
15503 * locale/programs/localedef.c (options): Put N_ translation marker
15504 on argument names, not just descriptions.
15505
04eed2b0
MS
155062013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15507
15508 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15509
a065ceff
OB
155102013-03-20 Ondřej Bílka <neleai@seznam.cz>
15511
9bb2a810 15512 [BZ #14176]
a065ceff
OB
15513 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15514
a600e5ce
RM
155152013-03-19 Roland McGrath <roland@hack.frob.com>
15516
15517 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15518 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15519 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15520 [!BEFORE_ABORT] (before_abort): New function.
15521 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15522 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15523 (writev_for_fatal): New function.
15524 (WRITEV_FOR_FATAL): New macro; call that.
15525 (backtrace_and_maps): New function.
15526 (BEFORE_ABORT): New macro; call that.
15527 (struct str_list): Type removed.
15528 (__libc_message, __libc_fatal): Functions removed.
15529 Include <sysdeps/posix/libc_fatal.c> instead.
15530
6b18bea6
JM
155312013-03-19 Joseph Myers <joseph@codesourcery.com>
15532
15533 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15534 constants.
15535 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15536 double constants.
15537
aaa8cb4b
AS
155382013-03-19 Andreas Schwab <schwab@suse.de>
15539
44673770
AS
15540 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15541 * sysdeps/gnu/configure: Regenerate.
15542
aaa8cb4b
AS
15543 * configure.in: Substitute libc_cv_rtlddir.
15544 * configure: Regenerate.
15545 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15546 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15547 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15548 * elf/Makefile (install-others, CFLAGS-interp.c)
15549 (ldso_install, common-ldd-rewrite): Likewise.
15550 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15551 $(inst_slibdir)/$(rtld-installed-name).
15552 * scripts/rellns-sh: Add -p option.
15553 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15554 for source.
15555
d3cfc668
SP
155562013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15557
15558 * manual/nptl.texi: Renamed to ...
15559 * manual/threads.texi: ... this.
15560 * manual/Makefile (chapters): Update.
15561
0e2b9cdd
RM
155622013-03-18 Roland McGrath <roland@hack.frob.com>
15563
15564 [BZ #14812]
15565 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15566 on argument names, not just descriptions.
0e2b9cdd
RM
15567 * malloc/memusagestat.c (options): Likewise.
15568 * nss/getent.c (options): Likewise.
63270c24
RM
15569
155702013-03-18 Benno Schulenberg <bensberg@justemail.net>
15571
15572 [BZ #14812]
15573 * iconv/iconv_prog.c (options): Put N_ translation marker
15574 on argument names, not just descriptions.
15575 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15576
b2e1393c
OB
155772013-03-18 Ondrej Bilka <neleai@seznam.cz>
15578
15579 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15580 implementation which is faster on all x86_64 architectures.
15581 Tested on AMD, Intel Nehalem, SNB, IVB.
15582 * sysdeps/x86_64/strnlen.S: Likewise.
15583
15584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15585 Remove all multiarch strlen and strnlen versions.
15586 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15587 Remove strlen and strnlen related parts.
15588
15589 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15590 Inline strlen part.
15591 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15592
15593 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15594 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15595 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15596 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15597 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15598 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15599
ec4ff04d
CD
156002013-03-17 Carlos O'Donell <carlos@redhat.com>
15601
15602 * manual/memory.texi (Malloc Tunable Parameters):
15603 Sort parameters alphabetically. Add comments for missing entries.
15604
cd18e90a
DM
156052013-03-17 David S. Miller <davem@davemloft.net>
15606
15607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15608
2a185d32
JM
156092013-03-16 Joseph Myers <joseph@codesourcery.com>
15610
d2f9799e
JM
15611 [BZ #15283]
15612 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15613 for arguments at most half maximum finite value.
15614 * math/libm-test.inc (j0_test): Add more tests.
15615 (j1_test): Likewise.
15616 (y0_test): Likewise.
15617 (y1_test): Likewise.
15618 * sysdeps/i386/fpu/libm-test-ulps: Update.
15619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15620
2a185d32
JM
15621 [BZ #14155]
15622 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15623 1 / x and functions P and Q for arguments above 0x1p256L.
15624 (__ieee754_y0l): Likewise.
15625 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15626 (__ieee754_y1l): Likewise.
15627 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15628 (j1_test): Likewise.
15629 (y0_test): Likewise.
15630 (y1_test): Likewise.
15631
6cbec759
TS
156322013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15633
15634 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15635 variable.
15636
bc16e260
RM
156372013-03-15 Roland McGrath <roland@hack.frob.com>
15638
aefc9b8c
RM
15639 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15640 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15641 zero since it's initialized to EXEC_PAGESIZE.
15642
bc16e260
RM
15643 * sysdeps/unix/sysv/linux/ldsodefs.h
15644 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15645 * sysdeps/generic/ldsodefs.h: ... here.
15646
a57da955
TS
156472013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15648
af00a34d
TS
15649 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15650
495ded2c
TS
15651 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15652 math/test-snan.c.
15653 * math/test-snan.c: Renamed from
15654 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15655 * math/Makefile (tests): Add test-snan.
15656 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15657 test-powerpc-snan.
15658
777b0332
TS
15659 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15660 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15661 functions.
15662 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15663 __builtin_nan family of functions.
15664 * math/libm-test.inc (initialize): Initialize qnan_value with
15665 __builtin_nan family of functions.
15666 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15667 Remove variables.
15668 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15669 Remove functions.
15670 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15671 storage class. Initialize qNaN_var and sNaN_var with
15672 __builtin_nan and __builtin_nans families of functions,
15673 respectively.
15674
64d063b8
TS
15675 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15676 (sqrt_test): Remove duplicate test with qNaN input.
15677 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15678 (round_test, signbit_test, significand_test): Note missing +/-Inf
15679 as well as qNaN tests.
15680
67e971f1
TS
15681 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15682 qNaN_var. Fix a few strings, too.
15683 * math/libm-test.inc (nan_value): Rename to qnan_value.
15684 * math/gen-libm-test.pl (%beautify): Adjust to that.
15685 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15686 * math/test-misc.c (main): Likewise.
15687 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15688 to __qnan_bytes, and __qnan_union, respectively.
15689 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15690 Likewise.
15691 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15692 and lqnanval, respectively.
15693 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15694 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15695 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15696 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15697
64487e12
TS
15698 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15699 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15700 doubles.
15701
e015e27b
TS
15702 * math/test-misc.c (main): Fix copy'n'pastos.
15703 * misc/tst-efgcvt.c (special): Likewise.
15704
a57da955
TS
15705 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15706 Remove declarations.
15707
1e380345
SP
157082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15709
15710 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15711 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15712 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15713 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15714
ef26eece
AZ
157152013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15716
15717 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15718 macro to return vdso values correctly in IFUNC implementations.
15719 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15720 Optimization by using IFUNC.
15721
8cfdb7e0
SP
157222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15723 Richard Henderson <rth@redhat.com>
15724 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15725
15726 * Makefile.in (bench): New target.
15727 * NEWS: Mention the benchmark framework.
15728 * Rules (bench): Likewise.
15729 (binaries-bench): Generate binaries for functions to
15730 benchmark.
15731 * benchtests/Makefile: New makefile for benchmark tests.
15732 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15733 programs.
15734 * benchtests/exp-inputs: New input file for EXP function.
15735 * benchtests/pow-inputs: New input file for POW function.
15736 * scripts/bench.pl: New script to generate source files for
15737 benchmark programs.
15738
bcda9880
SP
157392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15740
d22ca8cd
SP
15741 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15742 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15743 computations on mantissa. Use macros for rounding and
15744 division.
15745 (denorm): Likewise.
15746 (__dbl_mp): Likewise.
15747 (add_magnitudes): Likewise.
15748 (sub_magnitudes): Likewise.
15749 (__mul): Likewise.
15750 (__sqr): Likewise.
15751 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15752 powers of two in terms of TWOPOW macro.
15753 (mp_no): Make type of mantissa as MANTISSA_T.
15754 [!RADIXI]: Define RADIXI.
15755 [!TWO52]: Define TWO52.
15756 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15757
bcda9880
SP
15758 * manual/nptl.texi (cindex): Modify threads to pthreads.
15759
06d5adfb
JM
157602013-03-15 Joseph Myers <joseph@codesourcery.com>
15761
15762 * sysdeps/x86_64/preconfigure: Regenerated.
15763
41c7328e
JM
157642013-03-14 Joseph Myers <joseph@codesourcery.com>
15765
15766 [BZ #14155]
15767 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15768 0x1p28 and above.
15769 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15770 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15771 0x1p28 and above.
15772 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15773 * math/libm-test.inc (j0_test): Do not allow one spurious
15774 underflow exception.
15775 (y1_test): Likewise.
15776
e25cfa60
SP
157772013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15778
0409959c
SP
15779 * manual/Makefile (chapters): Add nptl.
15780 * manual/debug.texi (Debugging Support): Add link to Threads
15781 chapter.
15782 * manual/nptl.texi: New file.
15783
e25cfa60
SP
15784 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15785
58a1335e
PB
157862013-03-14 Petr Baudis <pasky@ucw.cz>
15787
15788 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15789 for non-NULL pointer before the memory validity test. Pointed
15790 out by Holger Brunck <holger.brunck@keymile.com>.
15791
9dc7c64f
AS
157922013-03-13 Andreas Schwab <schwab@suse.de>
15793
15794 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15795 instead of .os.
15796
54206aa6
JM
157972013-03-13 Joseph Myers <joseph@codesourcery.com>
15798
15799 * timezone/zic.c: Update from tzcode 2013b.
15800
e98cdb38
CD
158012013-03-12 Carlos O'Donell <carlos@redhat.com>
15802
15803 * manual/install.texi (Configuring and compiling):
15804 Mention i686 and i586.
15805 * INSTALL: Regenerate.
15806
9967e003
RM
158072013-03-12 Roland McGrath <roland@hack.frob.com>
15808
15809 * sysdeps/init_array/elf-init.c: New file.
15810 * csu/elf-init.c
15811 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15812 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15813
15814 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15815 __gmon_start__ as global, but as static with a .preinit_array pointer.
15816 * sysdeps/init_array/gmon-start.c: New file. Use that.
15817 * sysdeps/init_array/crti.S: New file, empty except for comments.
15818 * sysdeps/init_array/crtn.S: Likewise.
15819
e6b5a293 158202013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15821
15822 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15823 definining bcopy.
80f844c9
OB
15824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15825 Remove Prefer_SSE_for_memop.
15826 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15827 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15828 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15830 memset-x86-64.
80f844c9 15831 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15832 Remove bzero, memset ifunc support.
80f844c9
OB
15833 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15834 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15835 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15836 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15837
fb6b0fcb
AS
158382013-03-11 Andreas Schwab <schwab@suse.de>
15839
15840 [BZ #15234]
15841 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15842 by SHLIB_COMPAT.
15843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15844 (GLIBC_2.16): Remove pthread_atfork.
15845
3e6bd4b1
PP
158462013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15847
15848 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15849 (ptestcases.h): Likewise.
15850
222d7f00
RM
158512013-03-08 Roland McGrath <roland@hack.frob.com>
15852
15853 * Makeconfig ($(common-objpfx)config.status): Depend on
15854 sysdeps/*/preconfigure{,.in} too.
15855
1ba4f030
JM
158562013-03-08 Joseph Myers <joseph@codesourcery.com>
15857
a222d91a
JM
15858 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15859 (__free_hook): Use void * instead of __malloc_ptr_t.
15860 (__malloc_hook): Likewise.
15861 (__realloc_hook): Likewise.
15862 (__memalign_hook): Likewise.
15863 (__after_morecore_hook): Likewise.
15864 * malloc/arena.c (save_malloc_hook): Likewise.
15865 (save_free_hook): Likewise.
15866 * malloc/hooks.c (malloc_hook_ini): Likewise.
15867 (realloc_hook_ini): Likewise.
15868 (memalign_hook_ini): Likewise.
15869 * malloc/malloc.c (malloc_hook_ini): Likewise.
15870 (realloc_hook_ini): Likewise.
15871 (memalign_hook_ini): Likewise.
15872 (__free_hook): Likewise.
15873 (__malloc_hook): Likewise.
15874 (__realloc_hook): Likewise.
15875 (__memalign_hook): Likewise.
15876 (__libc_malloc): Likewise.
15877 (__libc_free): Likewise.
15878 (__libc_realloc): Likewise.
15879 (__libc_memalign): Likewise.
15880 (__libc_valloc): Likewise.
15881 (__libc_pvalloc): Likewise.
15882 (__libc_calloc): Likewise.
15883 (__posix_memalign): Likewise.
15884 * malloc/morecore.c (__sbrk): Likewise.
15885 (__default_morecore): Likewise.
15886
5cc45e10
JM
15887 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15888
dd54b864
JM
15889 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15890 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15891 __malloc_ptrdiff_t.
15892
1ba4f030
JM
15893 * malloc/malloc.h (__malloc_size_t): Remove macro.
15894 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15895 __malloc_size_t.
15896 (old_memalign_hook): Likewise.
15897 (old_realloc_hook): Likewise.
15898 (struct hdr): Likewise.
15899 (flood): Likewise.
15900 (mallochook): Likewise.
15901 (memalignhook): Likewise.
15902 (reallochook): Likewise.
15903 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15904 (tr_old_realloc_hook): Likewise.
15905 (tr_old_memalign_hook): Likewise.
15906 (tr_mallochook): Likewise.
15907 (tr_reallochook): Likewise.
15908 (tr_memalignhook): Likewise.
15909
edf66e57
AZ
159102013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15911
15912 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15913 default_ldbl_pack and using as default implementation.
15914 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15915 implementation.
15916 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15917 redundant definition.
15918 (ldbl_insert_mantissa): Likewise.
15919 (ldbl_canonicalize): Likewise.
15920 (ldbl_nearbyint): Likewise.
15921 (ldbl_pack): Rename to ldbl_pack_ppc.
15922 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15923 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15924 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15925
6d9145d8
SP
159262013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15927
15928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15929 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15930 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15931 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15933 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15934 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15935 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15936
4dd4e157
AJ
159372013-03-07 Andreas Jaeger <aj@suse.de>
15938
15939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15940 bits/mman-linux.h.
15941
adbb8027
SP
159422013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15943
ce544b5b
SP
15944 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15945 Include mpa.h and declare __MPEXP.
15946 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15947 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15948 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15949 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15950 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15951 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15952 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15953
4cc149fd
SP
15954 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15955 (__slowpow): Use long double EXPL and LOGL functions to
15956 compute POW.
15957 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15958 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15959 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15960 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15961 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15962 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15963
e6ebd4a7
SP
15964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15965 intermediate variable to calculate exponent.
15966 (__sqr): Likewise.
15967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15968 Likewise.
15969 (__sqr): Likewise.
15970
82a9811d
SP
15971 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15972 [!NO__SQR]: Define __sqr.
15973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15974 and NO__SQR. Remove all code except __mul and __sqr. Include
15975 sysdeps/ieee754/dbl-64/mpa.c.
15976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15977
adbb8027
SP
15978 [BZ #12723]
15979 * posix/Makefile (tests): Add tst-pathconf.
15980 * posix/tst-pathconf.c: New test case.
15981 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15982 _PC_PIPE_BUF.
15983 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15984
39120df9
PF
159852013-03-06 Patsy Franklin <pfrankli@redhat.com>
15986
15987 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15988
67525cb8
AJ
159892013-03-06 Andreas Jaeger <aj@suse.de>
15990
664a9ce4
AJ
15991 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15992 definition via __MAP_ANONYMOUS.
15993
8e39047d
AJ
15994 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15995 it's not part of Linux headers.
15996
67525cb8
AJ
15997 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15998 (MAP_HUGE_MASK): Define.
15999
16000 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16001 Define.
16002 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16003 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16004 Define.
16005 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16006 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16007 Define.
16008 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16009 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16010 Define.
16011 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16012
16013 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16014 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16015 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16016 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16017 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16018 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16019
16020 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16021 Handle f2fs.
16022
16023 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16024 Handle f2fs and efivarfs.
16025
16026 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16027 f2fs.
16028
16029 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16030 (EFIVARFS_MAGIC): Add.
16031 (F2FS_LINK_MAX): Add.
16032
e1b42695
PP
160332013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16034
16035 * stdio-common/vfprintf.c: Replace __builtin_expect with
16036 __glibc_unlikely.
16037
2d67d91a
JM
160382013-03-06 Joseph Myers <joseph@codesourcery.com>
16039
16040 [BZ #13550]
16041 * sysdeps/generic/bp-sym.h: Remove file.
16042 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16043 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16044 <bp-sym.h> and <bp-asm.h>.
16045 (__longjmp): Don't use BP_SYM.
16046 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16047 and <bp-asm.h>.
16048 (memcpy): Don't use BP_SYM.
16049 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16050 <bp-sym.h> and <bp-asm.h>.
16051 (memcpy): Don't use BP_SYM.
16052 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16053 <bp-asm.h>.
16054 (memcpy): Don't use BP_SYM.
16055 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16056 <bp-asm.h>.
16057 (memset): Don't use BP_SYM.
16058 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16059 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16060 (__bzero): Don't use BP_SYM.
16061 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16062 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16063 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16064 <bp-sym.h> and <bp-asm.h>.
16065 (memcmp): Don't use BP_SYM. Remove comment about bounded
16066 pointers.
16067 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16068 <bp-sym.h> and <bp-asm.h>.
16069 (memcpy): Don't use BP_SYM.
16070 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16071 <bp-sym.h> and <bp-asm.h>.
16072 (memset): Don't use BP_SYM.
16073 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16074 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16075 (__bzero): Don't use BP_SYM.
16076 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16077 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16078 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16079 <bp-sym.h> and <bp-asm.h>.
16080 (strncmp): Don't use BP_SYM. Remove comment about bounded
16081 pointers.
16082 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16083 <bp-sym.h> and <bp-asm.h>.
16084 (memcpy): Don't use BP_SYM.
16085 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16086 <bp-sym.h> and <bp-asm.h>.
16087 (memset): Don't use BP_SYM.
16088 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16089 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16090 (__bzero): Don't use BP_SYM.
16091 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16092 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16093 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16094 <bp-sym.h> and <bp-asm.h>.
16095 (__memchr): Don't use BP_SYM.
16096 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16097 <bp-sym.h> and <bp-asm.h>.
16098 (memcmp): Don't use BP_SYM. Remove comment about bounded
16099 pointers.
16100 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16101 <bp-sym.h> and <bp-asm.h>.
16102 (memcpy): Don't use BP_SYM.
16103 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16104 <bp-sym.h> and <bp-asm.h>.
16105 (__mempcpy): Don't use BP_SYM.
16106 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16107 <bp-sym.h> and <bp-asm.h>.
16108 (__memrchr): Don't use BP_SYM.
16109 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16110 <bp-sym.h> and <bp-asm.h>.
16111 (memset): Don't use BP_SYM.
16112 (__bzero): Likewise.
16113 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16114 <bp-sym.h> and <bp-asm.h>.
16115 (__rawmemchr): Don't use BP_SYM.
16116 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16117 <bp-sym.h> and <bp-asm.h>.
16118 (__STRCMP): Don't use BP_SYM.
16119 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16120 <bp-sym.h> and <bp-asm.h>.
16121 (strchr): Don't use BP_SYM.
16122 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16123 <bp-sym.h> and <bp-asm.h>.
16124 (__strchrnul): Don't use BP_SYM.
16125 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16126 <bp-sym.h> and <bp-asm.h>.
16127 (strlen): Don't use BP_SYM.
16128 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16129 <bp-sym.h> and <bp-asm.h>.
16130 (strncmp): Don't use BP_SYM. Remove comment about bounded
16131 pointers.
16132 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16133 <bp-sym.h> and <bp-asm.h>.
16134 (__strnlen): Don't use BP_SYM.
16135 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16136 <bp-sym.h> and <bp-asm.h>.
16137 (__GI__setjmp): Don't use BP_SYM.
16138 (_setjmp): Likewise.
16139 (__sigsetjmp): Likewise.
16140 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16141 (L(start_addresses)): Don't use BP_SYM.
16142 (_start): Likewise.
16143 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16144 <bp-asm.h>.
16145 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16146 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16147 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16148 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16149 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16150 <bp-asm.h>.
16151 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16152 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16153 about bounded pointers.
16154 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16155 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16156 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16157 <bp-asm.h>.
16158 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16159 about bounded pointers. Remove GKM FIXME comments.
16160 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16161 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16162 <bp-asm.h>.
16163 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16164 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16165 Remove GKM FIXME comments.
16166 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16167 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16168 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16169 <bp-asm.h>.
16170 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16171 about bounded pointers. Remove GKM FIXME comment.
16172 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16173 and <bp-asm.h>.
16174 (strncmp): Don't use BP_SYM. Remove comment about bounded
16175 pointers.
16176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16177 <bp-sym.h> and <bp-asm.h>.
16178 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16180 <bp-sym.h> and <bp-asm.h>.
16181 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16182 comment.
16183
cdcf361f
PP
161842013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16185
16186 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16187 call free(NULL).
16188
3c4a2b15
DM
161892013-03-05 David S. Miller <davem@davemloft.net>
16190
16191 * po/es.po: Update from translation team.
16192
cdcf361f 161932013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16194
16195 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16196 <bits/mman-linux.h>.
16197 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16198 is fine.
16199 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16200 <bits/mman-linux.h> to end of file.
16201 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16202 is fine.
16203 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16204 <bits/mman-linux.h> to end of file.
16205 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16206 is fine.
16207 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16208 <bits/mman-linux.h> to end of file.
16209
16210 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16211 (MCL_CURRENT, MCL_FUTURE): Define here.
16212
5f67c04f
AK
162132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16214
8a4473cc 16215 [BZ #15232]
5f67c04f
AK
16216 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16217 attribute_hidden.
16218 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16219
c3e94a95
AK
162202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16221
16222 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16223 fourth parameter needed for rt_sigprocmask syscall.
16224 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16225 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16226 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16227 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16228 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16229 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16230
cfb6382a
JM
162312013-03-04 Joseph Myers <joseph@codesourcery.com>
16232
16233 [BZ #13550]
16234 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16235 comment about bounded pointers.
16236 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16237 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16238
539d8e01
AJ
162392013-03-04 Andreas Jaeger <aj@suse.de>
16240
16241 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16242 common definitions.
16243
16244 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16245 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16246 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16247 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16248 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16249 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16250
2e167a70 162512013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16252
16253 [BZ #15055]
16254 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16255 __ieee754_sqrl instead of __sqrl.
16256
68508633
JM
162572013-03-01 Joseph Myers <joseph@codesourcery.com>
16258
16259 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16260 * sysdeps/powerpc/fpu_control.h: ... here.
16261 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16262 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16263 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16264 * sysdeps/powerpc/bits/mathinline.h: ... here.
16265
7775448e
RM
162662013-03-01 Roland McGrath <roland@hack.frob.com>
16267
16268 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16269 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16270 to just [NEED_DL_SYSINFO_DSO].
16271 * elf/dl-support.c: Likewise.
16272 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16273 * elf/rtld.c (dl_main): Likewise.
16274 * elf/setup-vdso.h (setup_vdso): Likewise.
16275 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16276 * sysdeps/unix/sysv/linux/dl-sysdep.c
16277 (_dl_discover_osversion): Likewise.
16278
4e9b5995
CD
162792013-03-01 Carlos O'Donell <carlos@redhat.com>
16280
16281 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16282 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16283
e23872c8
SP
162842013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16285
e5c74c63
SP
16286 * NEWS: Mention libm performance improvements and non-x86 PI
16287 futex support.
16288
e23872c8
SP
16289 * csu/libc-start.c (__pthread_initialize_minimal): Change
16290 function arguments.
16291 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16292
b5510883
JM
162932013-02-28 Joseph Myers <joseph@codesourcery.com>
16294
16295 [BZ #13550]
16296 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16297 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16298 <bp-sym.h> and <bp-asm.h>.
16299 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16300 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16301 and <bp-asm.h>.
16302 (memcpy): Don't use BP_SYM.
16303 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16304 <bp-asm.h>.
16305 (__mpn_add_n): Don't use BP_SYM.
16306 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16307 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16308 and <bp-asm.h>.
16309 (__mpn_addmul_1): Don't use BP_SYM.
16310 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16311 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16312 <bp-sym.h>.
16313 (_setjmp): Don't use BP_SYM.
16314 (__novmx_setjmp): Likewise.
16315 (__GI__setjmp): Likewise.
16316 (__vmx_setjmp): Likewise.
16317 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16318 <bp-sym.h>.
16319 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16320 (__bzero): Don't use BP_SYM.
16321 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16322 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16323 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16324 <bp-sym.h> and <bp-asm.h>.
16325 (memcpy): Don't use BP_SYM.
16326 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16327 <bp-sym.h> and <bp-asm.h>.
16328 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16329 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16330 <bp-sym.h> and <bp-asm.h>.
16331 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16332 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16333 <bp-asm.h>.
16334 (__mpn_lshift): Don't use BP_SYM.
16335 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16336 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16337 <bp-asm.h>.
16338 (memset): Don't use BP_SYM.
16339 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16340 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16341 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16342 <bp-asm.h>.
16343 (__mpn_mul_1): Don't use BP_SYM.
16344 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16345 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16346 <bp-sym.h> and <bp-asm.h>.
16347 (memcmp): Don't use BP_SYM.
16348 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16349 <bp-sym.h> and <bp-asm.h>.
16350 (memcpy): Don't use BP_SYM.
16351 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16352 <bp-sym.h> and <bp-asm.h>.
16353 (memset): Don't use BP_SYM.
16354 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16355 <bp-sym.h> and <bp-asm.h>.
16356 (strncmp): Don't use BP_SYM.
16357 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16358 <bp-sym.h> and <bp-asm.h>.
16359 (memcpy): Don't use BP_SYM.
16360 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16361 <bp-sym.h> and <bp-asm.h>.
16362 (memset): Don't use BP_SYM.
16363 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16364 <bp-sym.h> and <bp-asm.h>.
16365 (__memchr): Don't use BP_SYM.
16366 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16367 <bp-sym.h> and <bp-asm.h>.
16368 (memcmp): Don't use BP_SYM.
16369 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16370 <bp-sym.h> and <bp-asm.h>.
16371 (memcpy): Don't use BP_SYM.
16372 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16373 <bp-sym.h> and <bp-asm.h>.
16374 (__mempcpy): Don't use BP_SYM.
16375 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16376 <bp-sym.h> and <bp-asm.h>.
16377 (__memrchr): Don't use BP_SYM.
16378 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16379 <bp-sym.h> and <bp-asm.h>.
16380 (memset): Don't use BP_SYM.
16381 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16382 <bp-sym.h> and <bp-asm.h>.
16383 (__rawmemchr): Don't use BP_SYM.
16384 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16385 <bp-sym.h> and <bp-asm.h>.
16386 (__STRCMP): Don't use BP_SYM.
16387 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16388 <bp-sym.h> and <bp-asm.h>.
16389 (strchr): Don't use BP_SYM.
16390 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16391 <bp-sym.h> and <bp-asm.h>.
16392 (__strchrnul): Don't use BP_SYM.
16393 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16394 <bp-sym.h> and <bp-asm.h>.
16395 (strlen): Don't use BP_SYM.
16396 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16397 <bp-sym.h> and <bp-asm.h>.
16398 (strncmp): Don't use BP_SYM.
16399 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16400 <bp-sym.h> and <bp-asm.h>.
16401 (__strnlen): Don't use BP_SYM.
16402 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16403 <bp-asm.h>.
16404 (__mpn_rshift): Don't use BP_SYM.
16405 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16406 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16407 <bp-sym.h> and <bp-asm.h>.
16408 (__sigsetjmp): Don't use BP_SYM.
16409 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16410 (L(start_addresses)): Don't use BP_SYM.
16411 (_start): Likewise.
16412 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16413 <bp-asm.h>.
16414 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16415 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16416 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16417 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16418 <bp-asm.h>.
16419 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16420 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16421 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16422 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16423 <bp-asm.h>.
16424 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16425 comments.
16426 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16427 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16428 <bp-asm.h>.
16429 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16430 FIXME comments.
16431 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16432 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16433 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16434 <bp-asm.h>.
16435 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16436 comment.
16437 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16438 and <bp-asm.h>.
16439 (strncmp): Don't use BP_SYM,
16440 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16441 <bp-asm.h>.
16442 (__mpn_sub_n): Don't use BP_SYM.
16443 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16444 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16445 and <bp-asm.h>.
16446 (__mpn_submul_1): Don't use BP_SYM.
16447 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16449 <bp-sym.h> and <bp-asm.h>.
16450 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16452 <bp-sym.h> and <bp-asm.h>.
16453 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16454 comment.
16455
8d19fe64
SP
164562013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16457
16458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16459 Use ZK to minimize writes to Z.
16460 (sub_magnitudes): Simplify code a bit.
16461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16462 Use ZK to minimize writes to Z.
16463 (sub_magnitudes): Simplify code a bit.
16464
85bd816a
RM
164652013-02-27 Roland McGrath <roland@hack.frob.com>
16466
16467 * csu/gmon-start.c: Add special exception to license text.
16468
b5977bf2
RH
164692013-02-27 Richard Henderson <rth@redhat.com>
16470
16471 * scripts/config.guess: Update from config.git.
16472 * scripts/config.sub: Likewise.
16473
11d6e2f2
SP
164742013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16475
09c14ed2
SP
16476 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16477
a688864e
SP
16478 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16479
6295157a
SP
16480 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16481
b8de2202
SP
16482 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16483
11d6e2f2
SP
16484 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16485
7e80ddb8
RM
164862013-02-26 Roland McGrath <roland@hack.frob.com>
16487
16488 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16489 [$(build-shared = yes].
7e80ddb8 16490
7da6d9ed
SP
164912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16492
45f05884
SP
16493 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16494 (__mul): Reduce iterations for calculating mantissa.
16495
2236d359
SP
16496 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16497 MPTWO.
16498 (__mpranred): Likewise.
16499
7da6d9ed
SP
16500 [BZ #15160]
16501 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16502 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16503
b7688c42
PE
165042013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16505
16506 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16507 Define __attribute__.
16508
53a5c423
SP
165092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16510
16511 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16512 unused.
16513 * posix/regex_internal.h (__attribute): Remove.
16514 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16515 (re_string_context_at): Likewise.
16516 (bitset_not): Use __attribute__ and mark function as possibly
16517 unused.
16518 (bitset_merge): Likewise.
16519 (bitset_mask): Likewise.
16520 (re_string_char_size_at): Likewise.
16521 (re_string_wchar_at): Likewise.
16522 (re_string_elem_size_at): Likewise.
16523
60f5a8b5
SP
165242013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16525
2a983a2e
SP
16526 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16527 code.
16528 (cc32): Likewise.
16529
e69804d1
SP
16530 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16531 (__acr): Likewise.
16532 (__cpy): Likewise.
16533 (norm): Likewise.
16534 (denorm): Likewise.
16535 (__dbl_mp): Likewise.
16536 (add_magnitudes): Likewise.
16537 (sub_magnitudes): Likewise.
16538 (__mul): Likewise.
16539 (__inv): Likewise.
16540
2f22a1e8
SP
16541 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16542 style.
16543
8930ddc7
SP
16544 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16545 style.
16546
dc60cb11
SP
16547 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16548 code.
16549
60f5a8b5
SP
16550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16551 up changes with default code.
16552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16553 Likewise.
16554
b4d1fd33
AM
165552013-02-24 Allan McRae <allan@archlinux.org>
16556
faf6f8bc
AM
16557 * manual/socket.texi (The Internet Namespace): Order menu items
16558 to match that in the file.
16559
b4d1fd33
AM
16560 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16561 node listing of the info page menu.
16562
2366713d
JM
165632013-02-21 Joseph Myers <joseph@codesourcery.com>
16564
16565 [BZ #13550]
16566 * sysdeps/i386/bp-asm.h: Remove file.
16567 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16568 (PARMS): Do not use macros from bp-asm.h.
16569 (S1): Likewise.
16570 (S2): Likewise.
16571 (SIZE): Likewise.
16572 (__mpn_add_n): Do not use BP_SYM
16573 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16574 "bp-asm.h".
16575 (PARMS): Do not use macros from bp-asm.h.
16576 (S1): Likewise.
16577 (SIZE): Likewise.
16578 (__mpn_addmul_1): Do not use BP_SYM
16579 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16580 "bp-asm.h".
16581 (PARMS): Do not use macros from bp-asm.h.
16582 (SIGMSK): Likewise.
16583 (_setjmp): Likewise. Do not use BP_SYM.
16584 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16585 "bp-asm.h".
16586 (PARMS): Do not use macros from bp-asm.h.
16587 (SIGMSK): Likewise.
16588 (setjmp): Likewise. Do not use BP_SYM.
16589 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16590 "bp-asm.h".
16591 (PARMS): Do not use macros from bp-asm.h.
16592 (__frexp): Do not use BP_SYM.
16593 (frexp): Likewise.
16594 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16595 "bp-asm.h".
16596 (PARMS): Do not use macros from bp-asm.h.
16597 (__frexpf): Do not use BP_SYM.
16598 (frexpf): Likewise.
16599 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16600 "bp-asm.h".
16601 (PARMS): Do not use macros from bp-asm.h.
16602 (__frexpl): Do not use BP_SYM.
16603 (frexpl): Likewise.
16604 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16605 "bp-asm.h".
16606 (PARMS): Do not use macros from bp-asm.h.
16607 (__remquo): Do not use BP_SYM.
16608 (remquo): Likewise.
16609 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16610 "bp-asm.h".
16611 (PARMS): Do not use macros from bp-asm.h.
16612 (__remquof): Do not use BP_SYM.
16613 (remquof): Likewise.
16614 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16615 "bp-asm.h".
16616 (PARMS): Do not use macros from bp-asm.h.
16617 (__remquol): Do not use BP_SYM.
16618 (remquol): Likewise.
16619 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16620 "bp-asm.h".
16621 (PARMS): Do not use macros from bp-asm.h.
16622 (DEST): Likewise.
16623 (SRC): Likewise.
16624 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16625 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16626 "bp-asm.h".
16627 (PARMS): Do not use macros from bp-asm.h.
16628 (strlen): Do not use BP_SYM.
16629 * sysdeps/i386/i586/add_n.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 (S2): Likewise.
16634 (SIZE): Likewise.
16635 (__mpn_add_n): Do not use BP_SYM.
16636 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16637 "bp-asm.h".
16638 (PARMS): Do not use macros from bp-asm.h.
16639 (S1): Likewise.
16640 (SIZE): Likewise.
16641 (__mpn_addmul_1): Do not use BP_SYM.
16642 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16643 weak_alias.
16644 (bzero): Likewise.
16645 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16646 "bp-asm.h".
16647 (PARMS): Do not use macros from bp-asm.h.
16648 (S): Likewise.
16649 (SIZE): Likewise.
16650 (__mpn_lshift): Do not use BP_SYM.
16651 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16652 "bp-asm.h".
16653 (PARMS): Do not use macros from bp-asm.h.
16654 (DEST): Likewise.
16655 (SRC): Likewise.
16656 (LEN): Likewise.
16657 (memcpy): Likewise. Do not use BP_SYM.
16658 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16659 libc_hidden_def and weak_alias.
16660 (mempcpy): Do not use BP_SYM in weak_alias.
16661 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16662 "bp-asm.h".
16663 (PARMS): Do not use macros from bp-asm.h.
16664 (DEST): Likewise.
16665 (LEN): Likewise.
16666 [!BZERO_P] (CHR): Likewise.
16667 (memset): Likewise. Do not use BP_SYM.
16668 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16669 "bp-asm.h".
16670 (PARMS): Do not use macros from bp-asm.h.
16671 (S1): Likewise.
16672 (SIZE): Likewise.
16673 (__mpn_mul_1): Do not use BP_SYM.
16674 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16675 "bp-asm.h".
16676 (PARMS): Do not use macros from bp-asm.h.
16677 (S): Likewise.
16678 (SIZE): Likewise.
16679 (__mpn_rshift): Do not use BP_SYM.
16680 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16681 "bp-asm.h".
16682 (PARMS): Do not use macros from bp-asm.h.
16683 (STR): Likewise.
16684 (CHR): Likewise.
16685 (strchr): Likewise. Do not use BP_SYM.
16686 (index): Do not use BP_SYM in weak_alias.
16687 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16688 "bp-asm.h".
16689 (PARMS): Do not use macros from bp-asm.h.
16690 (DEST): Likewise.
16691 (SRC): Likewise.
16692 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16693 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16694 "bp-asm.h".
16695 (PARMS): Do not use macros from bp-asm.h.
16696 (strlen): Do not use BP_SYM.
16697 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16698 "bp-asm.h".
16699 (PARMS): Do not use macros from bp-asm.h.
16700 (S1): Likewise.
16701 (S2): Likewise.
16702 (SIZE): Likewise.
16703 (__mpn_sub_n): Do not use BP_SYM.
16704 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16705 "bp-asm.h".
16706 (PARMS): Do not use macros from bp-asm.h.
16707 (S1): Likewise.
16708 (SIZE): Likewise.
16709 (__mpn_submul_1): Do not use BP_SYM.
16710 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16711 "bp-asm.h".
16712 (PARMS): Do not use macros from bp-asm.h.
16713 (S1): Likewise.
16714 (S2): Likewise.
16715 (SIZE): Likewise.
16716 (__mpn_add_n): Do not use BP_SYM.
16717 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16718 weak_alias.
16719 (bzero): Likewise.
16720 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16721 "bp-asm.h".
16722 (PARMS): Do not use macros from bp-asm.h.
16723 (BLK2): Likewise.
16724 (LEN): Likewise.
16725 (memcmp): Do not use BP_SYM.
16726 (bcmp): Do not use BP_SYM in weak_alias.
16727 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16728 "bp-asm.h".
16729 (PARMS): Do not use macros from bp-asm.h.
16730 (DEST): Likewise.
16731 (SRC): Likewise.
16732 (LEN): Likewise.
16733 (memcpy): Likewise. Do not use BP_SYM.
16734 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16735 "bp-asm.h".
16736 (PARMS): Do not use macros from bp-asm.h.
16737 (DEST): Likewise.
16738 (SRC): Likewise.
16739 (LEN): Likewise.
16740 (memmove): Likewise. Do not use BP_SYM.
16741 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16742 "bp-asm.h".
16743 (PARMS): Do not use macros from bp-asm.h.
16744 (DEST): Likewise.
16745 (SRC): Likewise.
16746 (LEN): Likewise.
16747 (__mempcpy): Likewise. Do not use BP_SYM.
16748 (mempcpy): Do not use BP_SYM in weak_alias.
16749 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16750 "bp-asm.h".
16751 (PARMS): Do not use macros from bp-asm.h.
16752 (DEST): Likewise.
16753 (LEN): Likewise.
16754 [!BZERO_P] (CHR): Likewise.
16755 (memset): Likewise. Do not use BP_SYM.
16756 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16757 "bp-asm.h".
16758 (PARMS): Do not use macros from bp-asm.h.
16759 (STR2): Likewise.
16760 (strcmp): Do not use BP_SYM.
16761 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16762 "bp-asm.h".
16763 (PARMS): Do not use macros from bp-asm.h.
16764 (STR): Likewise.
16765 (DELIM): Likewise.
16766 [USE_AS_STRTOK_R] (SAVE): Likewise.
16767 (FUNCTION): Likewise. Do not use BP_SYM.
16768 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16769 aliases.
16770 (strtok_r): Likewise.
16771 (__GI___strtok_r): Likewise.
16772 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16773 (PARMS): Do not use macros from bp-asm.h.
16774 (S): Likewise.
16775 (SIZE): Likewise.
16776 (__mpn_lshift): Do not use BP_SYM.
16777 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16778 (PARMS): Do not use macros from bp-asm.h.
16779 (STR): Likewise.
16780 (CHR): Likewise.
16781 (__memchr): Do not use BP_SYM.
16782 (memchr): Do not use BP_SYM in weak_alias.
16783 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16784 (PARMS): Do not use macros from bp-asm.h.
16785 (BLK2): Likewise.
16786 (LEN): Likewise.
16787 (memcmp): Do not use BP_SYM.
16788 (bcmp): Do not use BP_SYM in weak_alias.
16789 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16790 (PARMS): Do not use macros from bp-asm.h.
16791 (S1): Likewise.
16792 (SIZE): Likewise.
16793 (__mpn_mul_1): Do not use BP_SYM.
16794 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16795 "bp-asm.h".
16796 (PARMS): Do not use macros from bp-asm.h.
16797 (STR): Likewise.
16798 (CHR): Likewise.
16799 (__rawmemchr): Do not use BP_SYM.
16800 (rawmemchr): Do not use BP_SYM in weak_alias.
16801 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16802 (PARMS): Do not use macros from bp-asm.h.
16803 (S): Likewise.
16804 (SIZE): Likewise.
16805 (__mpn_rshift): Do not use BP_SYM.
16806 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16807 (PARMS): Do not use macros from bp-asm.h.
16808 (SIGMSK): Likewise.
16809 (__sigsetjmp): Likewise. Do not use BP_SYM.
16810 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16811 (_start): Do not use BP_SYM.
16812 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16813 (PARMS): Do not use macros from bp-asm.h.
16814 (DEST): Likewise.
16815 (SRC): Likewise.
16816 (__stpcpy): Likewise. Do not use BP_SYM.
16817 (stpcpy): Do not use BP_SYM in weak_alias.
16818 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16819 "bp-asm.h".
16820 (PARMS): Do not use macros from bp-asm.h.
16821 (DEST): Likewise.
16822 (SRC): Likewise.
16823 (LEN): Likewise.
16824 (__stpncpy): Likewise. Do not use BP_SYM.
16825 (stpncpy): Do not use BP_SYM in weak_alias.
16826 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16827 (PARMS): Do not use macros from bp-asm.h.
16828 (STR): Likewise.
16829 (CHR): Likewise.
16830 (strchr): Likewise. Do not use BP_SYM.
16831 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16832 "bp-asm.h".
16833 (PARMS): Do not use macros from bp-asm.h.
16834 (STR): Likewise.
16835 (CHR): Likewise.
16836 (__strchrnul): Likewise. Do not use BP_SYM.
16837 (strchrnul): Do not use BP_SYM in weak_alias.
16838 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16839 "bp-asm.h".
16840 (PARMS): Do not use macros from bp-asm.h.
16841 (STOP): Likewise.
16842 (strcspn): Do not use BP_SYM.
16843 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16844 "bp-asm.h".
16845 (PARMS): Do not use macros from bp-asm.h.
16846 (STR): Likewise.
16847 (STOP): Likewise.
16848 (strpbrk): Likewise. Do not use BP_SYM.
16849 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16850 "bp-asm.h".
16851 (PARMS): Do not use macros from bp-asm.h.
16852 (STR): Likewise.
16853 (CHR): Likewise.
16854 (strrchr): Likewise. Do not use BP_SYM.
16855 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16856 (PARMS): Do not use macros from bp-asm.h.
16857 (SKIP): Likewise.
16858 (strspn): Do not use BP_SYM.
16859 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16860 (PARMS): Do not use macros from bp-asm.h.
16861 (STR): Likewise.
16862 (DELIM): Likewise.
16863 (SAVE): Likewise.
16864 (FUNCTION): Likewise. Do not use BP_SYM.
16865 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16866 aliases.
16867 (strtok_r): Likewise.
16868 (__GI___strtok_r): Likewise.
16869 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16870 (PARMS): Do not use macros from bp-asm.h.
16871 (S1): Likewise.
16872 (S2): Likewise.
16873 (SIZE): Likewise.
16874 (__mpn_sub_n): Do not use BP_SYM.
16875 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16876 "bp-asm.h".
16877 (PARMS): Do not use macros from bp-asm.h.
16878 (S1): Likewise.
16879 (SIZE): Likewise.
16880 (__mpn_submul_1): Do not use BP_SYM.
16881 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16882 <bp-sym.h>.
16883 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16884 and <bp-asm.h>.
16885 (PARMS): Do not use macros from bp-asm.h.
16886 (FLAGS): Likewise.
16887 (PTID): Likewise.
16888 (TLS): Likewise.
16889 (CTID): Likewise.
16890 (__clone): Do not use BP_SYM.
16891 (clone): Do not use BP_SYM in weak_alias.
16892 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16893 and <bp-asm.h>.
16894 (PARMS): Do not use macros from bp-asm.h.
16895 (LEN): Likewise.
16896 (__mmap64): Do not use BP_SYM.
16897 (mmap64): Do not use BP_SYM in weak_alias.
16898 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16899 <bp-sym.h> and <bp-asm.h>.
16900 (PARMS): Do not use macros from bp-asm.h.
16901 (__posix_fadvise64_l64): Do not use BP_SYM.
16902 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16903 (PARMS): Do not use macros from bp-asm.h.
16904 (NSOPS): Likewise.
16905 (semtimedop): Do not use BP_SYM.
16906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16907 and <bp-asm.h>.
16908
582a3cff
AM
169092013-02-21 Allan McRae <allan@archlinux.org>
16910
16911 * manual/message.texi (Charset conversion in gettext):
16912 Move @end statement to beginning of line.
16913
bab8a695
SP
169142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16915
80945231
SP
16916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16917 static.
16918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16919 Likewise.
16920
bab8a695
SP
16921 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16922 (denorm): Likewise.
16923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16925
e21d7aa7
AK
169262013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16927
16928 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16929 tail-call to the resolved function if pltexit isn't needed.
16930
4c7a4263
SP
169312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16932
16933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16934 or Y being zero as being unlikely.
16935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16936 Likewise.
16937
41f49342
CD
169382013-02-20 Carlos O'Donell <carlos@redhat.com>
16939
16940 * manual/nss.texi (System Databases and Name Service Switch):
16941 Remove frobnicate @pxref.
16942
50022a93
TS
169432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16944
16945 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16946 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16947
08cbd996
PM
169482013-02-20 Petr Machata <pmachata@redhat.com>
16949
16950 * elf/elf.h (R_ARM_TARGET1): New macro.
16951 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16952 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16953 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16954 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16955 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16956 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16957 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16958 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16959 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16960 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16961 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16962 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16963 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16964 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16965 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16966 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16967 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16968 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16969 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16970 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16971 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16972 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16973 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16974 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16975 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16976 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16977 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16978 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16979 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16980 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16981 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16982 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16983 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16984 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16985 (R_ARM_THM_GOT_BREL12): Likewise.
16986 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16987 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16988 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16989 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16990 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16991 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16992 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16993 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16994 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16995
c7b275d6
TS
169962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16997
16998 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16999 __attribute_used__ to __attribute__ ((unused)).
17000
20cd7fb3
SP
170012013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17002
17003 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17004 powerpc mpa.c.
17005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17006 comment formatting.
17007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17008
92945b52
JM
170092013-02-19 Joseph Myers <joseph@codesourcery.com>
17010
17011 [BZ #13550]
17012 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17013 Remove macro.
17014 (ENTER): Remove both macro definitions.
17015 (LEAVE): Likewise.
17016 (CHECK_BOUNDS_LOW): Likewise.
17017 (CHECK_BOUNDS_HIGH): Likewise.
17018 (CHECK_BOUNDS_BOTH): Likewise.
17019 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17020 (RETURN_BOUNDED_POINTER): Likewise.
17021 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17022 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17023 (POP_ERRNO_LOCATION_RETURN): Likewise.
17024 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17025 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17026 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17027 macros.
17028 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17029 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17030 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17031 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17032 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17033 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17034 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17035 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17036 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17037 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17038 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17039 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17040 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17041 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17042 removed macros.
17043 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17044 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17045 macros.
17046 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17047 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17048 * sysdeps/i386/i586/memset.S (memset): Likewise.
17049 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17050 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17051 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17052 macros.
17053 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17054 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17055 Change uses of L(2) to L(out).
17056 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17057 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17058 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17059 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17060 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17061 removed macros.
17062 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17063 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17064 macros.
17065 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17066 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17067 (RETURN): Do not use macro LEAVE.
17068 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17069 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17070 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17071 * sysdeps/i386/i686/memset.S (memset): Likewise.
17072 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17073 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17074 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17075 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17076 Likewise.
17077 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17078 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17079 L(1_2) and L(1_3) into L(1).
17080 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17081 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17082 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17083 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17084 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17085 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17086 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17087 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17088 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17089 macros.
17090 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17091 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17092 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17093 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17094 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17095 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17096 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17097 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17098 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17099 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17100 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17101 * sysdeps/i386/strspn.S (strspn): Likewise.
17102 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17103 conditional code.
17104 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17105 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17106 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17107 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17108 L(1_3) into L(1_1).
17109 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17110 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17111 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17112 macros.
17113 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17114
2389741a
JJ
171152013-02-19 Jakub Jelinek <jakub@redhat.com>
17116
17117 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17118 macro.
17119
2016b3cd
SP
171202013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17121
e4f22324
SP
17122 * math/atest-exp.c (exp_mpn): Remove ROUND.
17123 * math/atest-exp2.c (exp_mpn): Likewise.
17124 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17125
2016b3cd
SP
17126 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17127 * stdlib/tst-tls-atexit-lib.c: Likewise.
17128 * stdlib/tst-tls-atexit.c: Likewise.
17129
4be9b544
MF
171302013-02-18 Mike Frysinger <vapier@gentoo.org>
17131
17132 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17133 and __attribute_alloc_size__.
17134
2f62b9ee
MF
171352013-02-18 Mike Frysinger <vapier@gentoo.org>
17136
17137 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17138 __attribute_alloc_size__.
17139 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17140 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17141
6ff444c4
MF
171422013-02-18 Mike Frysinger <vapier@gentoo.org>
17143
17144 * include/programs/xmalloc.h: New file.
17145 * catgets/gencat.c: Include it.
17146 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17147 * elf/pldd.c: Likewise.
17148 * iconv/iconv_charmap.c: Likewise.
17149 * iconv/iconvconfig.c: Likewise.
17150 * iconv/strtab.c: Likewise.
17151 * locale/programs/locale.c: Likewise.
17152 * locale/programs/localedef.h: Likewise.
17153 * locale/programs/simple-hash.c: Likewise.
17154 * nscd/nscd.h: Likewise.
17155 * nss/makedb.c: Likewise.
17156 * sysdeps/generic/ldconfig.h: Likewise.
17157
be179c8a
SP
171582013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17159
ba384f6e
SP
17160 * Versions.def: Add GLIBC_2.18.
17161 * include/link.h (struct link_map): New member l_tls_dtor_count.
17162 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17163 (__call_tls_dtors): Likewise.
17164 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17165 __cxa_thread_atexit_impl.
17166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17167 Likewise.
17168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17169 Likewise.
17170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17171 Likewise.
17172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17173 Likewise.
17174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17176 Likewise.
17177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17178 Likewise.
17179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17181 Likewise.
17182 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17183 (tests): Add test case tst-tls-atexit.
17184 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17185 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17186 (GLIBC_PRIVATE): Add __call_tls_dtors.
17187 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17188 for libstdc++.
17189 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17190 * stdlib/tst-tls-atexit.c: New test case.
17191 * stdlib/tst-tls-atexit-lib.c: New test case.
17192
ffaa74cf 17193 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17194
be179c8a
SP
17195 * elf/Versions (ld): Add _dl_find_dso_for_object.
17196 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17197 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17198 (dl_open_worker): Use _dl_find_dso_for_object.
17199 * elf/dl-sym.c (do_sym): Likewise.
17200 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17201
f78b5caa
AK
172022013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17203
17204 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17205 Syntactic changes only.
17206 (_dl_runtime_profile): Do a tail-call to the resolved function.
17207
29691210
JM
172082013-02-17 Joseph Myers <joseph@codesourcery.com>
17209
17210 [BZ #13550]
17211 * sysdeps/x86_64/bp-asm.h: Remove file.
17212 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17213 <bp-sym.h> and <bp-asm.h>.
17214 (__clone): Do not use BP_SYM.
17215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17216 <bp-sym.h> and <bp-asm.h>.
17217 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17218 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17219 "bp-asm.h".
17220 (_setjmp): Do not use BP_SYM.
17221 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17222 "bp-asm.h".
17223 (setjmp): Do not use BP_SYM.
17224 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17225 libc_hidden_def.
17226 (mempcpy): Do not use BP_SYM in weak_alias.
17227 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17228 "bp-asm.h".
17229 (strchr): Do not use BP_SYM.
17230 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17231 "bp-asm.h".
17232 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17233 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17234 (_start): Do not use BP_SYM.
17235 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17236 "bp-asm.h".
17237 (strcat): Do not use BP_SYM.
17238 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17239 "bp-asm.h".
17240 (STRCMP): Do not use BP_SYM.
17241 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17242 "bp-asm.h".
17243 (STRCPY): Do not use BP_SYM.
17244 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17245 "bp-asm.h".
17246 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17247 "bp-asm.h".
17248 (FUNCTION): Do not use BP_SYM.
17249 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17250 weak_alias.
17251 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17252
f238fd19
AJ
172532013-02-17 Andreas Jaeger <aj@suse.de>
17254
17255 * time/Versions: Sort entries.
17256 * string/Versions: Likewise.
17257 * resolv/Versions: Likewise.
17258 * posix/Versions: Likewise.
17259 * iconv/Versions: Likewise.
17260 * elf/Versions: Likewise.
17261 * wcsmbs/Versions: Likewise.
17262
bd07f23c 172632013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17264
22af19f9
SP
17265 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17266 loop termination condition.
17267
4709fe76
SP
17268 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17269 variable to calculate EZ.
17270 (__sqr): Likewise.
2d0e0f29
SP
17271
17272 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17273 the lower precision input.
17274
daaa7713
JM
172752013-02-15 Joseph Myers <joseph@codesourcery.com>
17276
17277 [BZ #13550]
17278 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17279 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17280 (run-via-rtld-prefix): Do not handle %-bp tests.
17281 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17282 (all-object-suffixes): Remove .ob.
17283 (bppfx): Remove variable.
17284 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17285 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17286 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17287 [$(build-bounded) = yes] (libtype.ob): Likewise.
17288 * Makerules (elide-routines.ob): Remove variable.
17289 (do-tests-clean): Do not handle *-bp.out.
17290 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17291 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17292 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17293 (tests): Do not include $(tests-bp.out).
17294 (xtests): Do not include $(xtests-bp.out).
17295 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17296 [$(build-bounded) = yes] ($(addprefix
17297 $(objpfx),$(binaries-bounded))): Remove rule.
17298 ($(objpfx)%-bp.out): Remove rule.
17299 * config.make.in (build-bounded): Remove variable.
17300 * crypt/Makefile [$(build-bounded) = yes]
17301 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17302 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17303 append to variable.
17304 [$(build-bounded) = yes] (install-lib): Likewise.
17305 [$(build-bounded) = yes] (generated): Likewise.
17306 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17307 Remove rule.
17308 * intl/Makefile [$(build-bounded) = yes]
17309 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17310 * math/Makefile [$(build-bounded) = yes]
17311 ($(tests:%=$(objpfx)%-bp): Likewise.
17312 * misc/Makefile [$(build-bounded) = yes]
17313 ($(objpfx)tst-tsearch-bp): Likewise.
17314 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17315 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17316 Remove dependency.
17317 * string/Makefile (o-objects.ob): Remove variable.
17318 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17319 (CFLAGS-.ob): Remove variable.
17320 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17321 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17322 both definitions of variable.
17323 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17324 (ASFLAGS-.ob): Remove variable.
17325
e97ed6dd
JM
173262013-02-14 Joseph Myers <joseph@codesourcery.com>
17327
2bdd4ca6
JM
17328 [BZ #13550]
17329 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17330 Remove __BOUNDED_POINTERS__ from condition.
17331 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17332 * string/bits/string2.h [!__NO_STRING_INLINES &&
17333 !__BOUNDED_POINTERS__]: Likewise.
17334 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17335 Likewise.
17336 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17337 Remove conditional code.
17338 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17339 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17340 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17341 condition.
17342
e97ed6dd
JM
17343 [BZ #13550]
17344 * csu/libc-start.c: Do not include <bp-sym.h>.
17345 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17346 * elf/dl-open.c: Do not include <bp-sym.h>.
17347 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17348 * math/fegetenv.c: Do not include <bp-sym.h>.
17349 (fegetenv): Do not use BP_SYM in versioned symbols.
17350 * nptl/sysdeps/pthread/bits/libc-lockP.h
17351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17352 <bp-sym.h>.
17353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17354 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17356 (__pthread_mutex_destroy): Likewise.
17357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17358 (__pthread_mutex_lock): Likewise.
17359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17360 (__pthread_mutex_trylock): Likewise.
17361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17362 (__pthread_mutex_unlock): Likewise.
17363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17364 (__pthread_mutexattr_init): Likewise.
17365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17366 (__pthread_mutexattr_destroy): Likewise.
17367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17368 (__pthread_mutexattr_settype): Likewise.
17369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17370 (__pthread_rwlock_init): Likewise.
17371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17372 (__pthread_rwlock_destroy): Likewise.
17373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17374 (__pthread_rwlock_rdlock): Likewise.
17375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17376 (__pthread_rwlock_tryrdlock): Likewise.
17377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17378 (__pthread_rwlock_wrlock): Likewise.
17379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17380 (__pthread_rwlock_trywrlock): Likewise.
17381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17382 (__pthread_rwlock_unlock): Likewise.
17383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17384 (__pthread_key_create): Likewise.
17385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17386 (__pthread_setspecific): Likewise.
17387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17388 (__pthread_getspecific): Likewise.
17389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17390 Likewise.
17391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17392 (_pthread_cleanup_push_defer): Likewise.
17393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17394 (_pthread_cleanup_pop_restore): Likewise.
17395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17396 (pthread_setcancelstate): Likewise.
17397 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17398 <bp-sym.h>.
17399 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17400 (memchr): Do not use BP_SYM in weak_alias.
17401 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17402 (fegetenv): Do not use BP_SYM in versioned symbols.
17403 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17404 (fesetenv): Do not use BP_SYM in versioned symbols.
17405 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17406 (feupdateenv): Do not use BP_SYM in versioned symbols.
17407 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17408 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17409 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17410 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17411 (open64): Do not use BP_SYM in weak_alias.
17412 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17413 (fegetenv): Do not use BP_SYM in versioned symbols.
17414 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17415 (fesetenv): Do not use BP_SYM in versioned symbols.
17416 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17417 (feupdateenv): Do not use BP_SYM in versioned symbols.
17418 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17419 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17420 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17421 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17422 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17423 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17424 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17425 <bp-sym.h>.
17426 (__libc_start_main): Do not use BP_SYM.
17427
d6752ccd
SP
174282013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17429
cb57ce60
SP
17430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17431 redundant return line.
17432 (norm): Likewise.
17433 (denorm): Likewise.
17434 (dbl_mp): Likewise.
17435 (sub_magnitudes): Likewise.
17436 (__add): Likewise.
17437 (__sub): Likewise.
17438 (__mul): Likewise.
17439 (__inv): Likewise.
17440 (__dvd): Likewise.
17441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17442 (norm): Likewise.
17443 (denorm): Likewise.
17444 (dbl_mp): Likewise.
17445 (sub_magnitudes): Likewise.
17446 (__add): Likewise.
17447 (__sub): Likewise.
17448 (__mul): Likewise.
17449 (__inv): Likewise.
17450 (__dvd): Likewise.
17451
f414520d
SP
17452 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17453 instead of __mul.
17454 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17455 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17456 (cc32): Likewise.
17457
d6752ccd
SP
17458 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17459 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17461 of __mul for squares.
17462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17463 function
17464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17465 Likewise.
17466 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17467 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17468
70d9946a
JM
174692013-02-13 Joseph Myers <joseph@codesourcery.com>
17470
17471 [BZ #13550]
17472 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17473 code.
17474 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17475 prototype or function definition. Rename ubp_* variables and
17476 parameters. Remove argv definitions conditional on
17477 [__BOUNDED_POINTERS__].
17478 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17479 * elf/dl-runtime.c (_dl_fixup): Likewise.
17480 * include/set-hooks.h (RUN_HOOK): Likewise.
17481 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17482 definition.
17483 * string/strcpy.c (strcpy): Do not use __unbounded.
17484 * sysdeps/generic/frame.h (struct layout): Likewise.
17485 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17486 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17487 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17488 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17489 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17490 (__backtrace): Likewise.
17491 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17492 use __ptrvalue.
17493 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17494 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17495 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17496 Likewise.
17497 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17498 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17499 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17500 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17501 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17502 Do not use __unbounded.
17503 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17504 Rename __unboundedrlimits parameter to rlimits in prototype.
17505 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17506 Do not use __unbounded.
17507 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17508 not use __ptrvalue.
17509 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17510 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17511 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17512 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17513 __ptrvalue or __unbounded.
17514 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17515 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17516 use __unbounded.
17517 (__new_msgctl): Do not use __ptrvalue.
17518 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17519 __unbounded.
17520 (__libc_msgrcv): Do not use __ptrvalue.
17521 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17522 startup_info): Do not use __unbounded.
17523 (__libc_start_main): Likewise. Rename ubp_* variables and
17524 parameters. Remove argv definitions conditional on
17525 [__BOUNDED_POINTERS__].
17526 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17527 __ptrvalue.
17528 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17529 use __unbounded.
17530 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17531 or __ptrvalue.
17532 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17533 use __unbounded.
17534 (__new_shmctl): Do not use __ptrvalue.
17535 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17536 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17537 Likewise.
17538 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17539 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17540 (__libc_sigaction): Likewise.
17541 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17542 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17543 Likewise.
17544 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17545
cc7834d6
OB
175462013-02-13 Ondřej Bílka <neleai@seznam.cz>
17547
ffb1ec7b 17548 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17549
17550 * string/mempcpy.c: Implement by calling memcpy.
17551
bdf02814
SP
175522013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17553
c2af38aa
SP
17554 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17555
4e92d59e
SP
17556 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17557 evaluation.
17558
909279a5
SP
17559 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17560 values in the mantissa.
17561
bdf02814
SP
17562 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17563 minimize writes to Z.
17564 (sub_magnitudes): Simplify code a bit.
17565
cd525923
RM
175662013-02-12 Roland McGrath <roland@hack.frob.com>
17567
17568 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17569 from the message. The linker prefixes all warnings with that already.
17570
7e2f0d2d
AS
175712013-02-12 Andreas Schwab <schwab@suse.de>
17572
a445af0b
AS
17573 [BZ #15078]
17574 * posix/regexec.c (extend_buffers): Add parameter min_len.
17575 (check_matching): Pass minimum needed length.
17576 (clean_state_log_if_needed): Likewise.
17577 (get_subexp): Likewise.
17578 * posix/Makefile (tests): Add bug-regex34.
17579 (bug-regex34-ENV): Define.
17580 * posix/bug-regex34.c: New file.
17581
7e2f0d2d
AS
17582 [BZ #11561]
17583 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17584 elements compare against the byte sequence of it, not its name.
17585 * posix/Makefile (tests): Add bug-regex35.
17586 (bug-regex35-ENV): Define.
17587 * posix/bug-regex35.c: New file.
17588
a175b684
TV
175892013-02-11 Tom de Vries <tom@codesourcery.com>
17590
17591 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17592 comment.
17593 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17594 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17595 (CHECK_EOL): Add undef.
17596
310998fe 175972013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17598
17599 * bits/stdlib-bsearch.h: New file.
17600 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17601 * stdlib/stdlib.h: Likewise.
41eda41d 17602
8ded91fb
RM
176032013-02-11 Roland McGrath <roland@hack.frob.com>
17604
17605 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17606 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17607 declaration.
17608 * manual/search.texi (Array Search Function): Add missing const in
17609 lfind prototype.
17610 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17611 declaration to use rlim_t.
17612 (Basic Scheduling Functions): Remove erroneous const from
17613 sched_getparam prototype. Remove erroneous * from
17614 sched_get_priority_max and sched_get_priority_min prototypes.
17615 (Resource Usage): Fix summary @comment on vtimes to refer to
17616 sys/vtimes.h rather than vtimes.h.
17617 Add missing *s in vtimes prototype.
17618 (Limits on Resources): Fix ulimit prototype to return long int.
17619 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17620 prototypes to use long int rather than double.
17621 (BSD Random): Fix initstate and setstate to use char *, not void *.
17622 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17623 prototype to make second argument 'struct aiocb64 *const[]'.
17624 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17625 (Status of AIO Operations): Remove erroneous const in aio_return and
17626 aio_return64 prototypes.
17627 (Synchronizing I/O): Fix sync prototype to return void.
17628 * manual/startup.texi (Suboptions): Remove an erroneous const in
17629 getsubopt prototype.
17630 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17631 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17632 use size_t rather than int.
17633 (Scanning All Users): Likewise for getpwent_r.
17634 (Setting Groups): Add missing const to setgroups prototype.
17635 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17636 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17637 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17638 'const void *' rather than 'const char *'.
17639 (Host Address Functions): Likewise for inet_ntop.
17640 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17641 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17642 ssize_t for return value.
17643 (Sending Data): Likewise for send, sendto, sendmsg.
17644 (Socket Option Functions): Add a missing const in setsockopt prototype.
17645 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17646 use wchar_t for the argument.
17647 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17648 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17649 take no arguments.
17650 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17651 double/float/long double for second argument.
17652 Fix return types of significand, significandf, significandl.
17653 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17654 argument in fchmod prototype.
17655 (File Owner): Use uid_t and gid_t in fchown prototype.
17656 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17657 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17658 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17659 use 'const struct dirent **' as argument types to CMP function pointer
17660 argument.
17661 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17662 (File Times): Fix summary magic @comment for struct utimbuf and utime
17663 to refer to utime.h, not time.h.
17664 * manual/string.texi (Argz Functions): Add missing const in
17665 argz_extract and argz_next prototypes.
17666 (Finding Tokens in a String): Likewise for basename.
17667 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17668 (Copying and Concatenation): Fix typo in wmemmove prototype.
17669 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17670 (Signal Stack): Remove erroneous const in sigstack prototype.
17671 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17672 prototype.
17673 (Simple Calendar Time): Likewise for stime.
17674 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17675 prototype.
17676 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17677 say sys/sysctl.h instead.
17678 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17679 and vsyslog prototypes.
17680
fe77fe6d
TV
176812013-02-11 Tom de Vries <tom@codesourcery.com>
17682
17683 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17684 Remove.
17685
3a09b620
RM
176862013-02-11 Roland McGrath <roland@hack.frob.com>
17687
17688 * misc/sys/mman.h: Fix typo in mremap comment.
17689
550a0b89
RM
176902013-02-08 Roland McGrath <roland@hack.frob.com>
17691
17692 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17693 the '\0' terminator.
17694
a2da1673
JM
176952013-02-08 Joseph Myers <joseph@codesourcery.com>
17696
17697 [BZ #13550]
17698 * debug/segfault.c: Don't include <bp-checks.h>.
17699 * sysdeps/generic/bp-checks.h: Remove file.
17700 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17701 (__GETDENTS): Don't use CHECK_N.
17702 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17703 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17704 (__getgroups): Don't use CHECK_N.
17705 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17706 (setgroups): Don't use CHECK_N.
17707 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17708 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17709 (__libc_msgrcv): Don't use CHECK_N.
17710 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17711 (__libc_msgsnd): Don't use CHECK_N.
17712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17713 <bp-checks.h>.
17714 (__libc_pread): Don't use CHECK_N.
17715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17716 include <bp-checks.h>.
17717 (__libc_pread64): Don't use CHECK_N.
17718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17719 include <bp-checks.h>.
17720 (__libc_pwrite): Don't use CHECK_N.
17721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17722 include <bp-checks.h>.
17723 (__libc_pwrite64): Don't use CHECK_N.
17724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17725 <bp-checks.h>.
17726 (__libc_pread): Don't use CHECK_N.
17727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17728 include <bp-checks.h>.
17729 (__libc_pread64): Don't use CHECK_N.
17730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17731 include <bp-checks.h>.
17732 (__libc_pwrite): Don't use CHECK_N.
17733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17734 include <bp-checks.h>.
17735 (__libc_pwrite64): Don't use CHECK_N.
17736 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17737 (do_pread): Don't use CHECK_N.
17738 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17739 (do_pread64): Don't use CHECK_N.
17740 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17741 (do_pwrite): Don't use CHECK_N.
17742 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17743 (do_pwrite64): Don't use CHECK_N.
17744 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17745 (__libc_readv): Don't use CHECK_N.
17746 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17747 (semop): Don't use CHECK_N.
17748 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17749 <bp-checks.h>.
17750 (semtimedop): Don't use CHECK_N.
17751 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17752 (__libc_pread): Don't use CHECK_N.
17753 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17754 <bp-checks.h>.
17755 (__libc_pread64): Don't use CHECK_N.
17756 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17757 <bp-checks.h>.
17758 (__libc_pwrite): Don't use CHECK_N.
17759 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17760 <bp-checks.h>.
17761 (__libc_pwrite64): Don't use CHECK_N.
17762 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17763 <bp-checks.h>.
17764 (__libc_msgrcv): Don't use CHECK_N.
17765 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17766 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17767 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17768 (__libc_writev): Don't use CHECK_N.
17769
b84660a8
RM
177702013-02-08 Roland McGrath <roland@hack.frob.com>
17771
7f3e75f8
RM
17772 * string/strcpy.c: Removed unused variable.
17773
b84660a8
RM
17774 * Makeconfig (+sysdep-includes): Define with := rather than =.
17775 Use an existing include/ subdir of each sysdeps dir before it.
17776
471514d3
CD
177772013-02-08 Carlos O'Donell <carlos@redhat.com>
17778
17779 * nscd/connection.c (register_traced_file): Comment function.
17780 [HAVE_INOTIFY] (union __inev): Define.
17781 [HAVE_INOTIFY] (inotify_check_files): New function.
17782 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17783 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17784 clear_db_cache.
17785 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17786
b2d3c3be
CD
177872013-02-08 Carlos O'Donell <carlos@redhat.com>
17788
17789 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17790 loaded if not already and that a failure is permanent.
17791
b39949d2
CD
177922013-02-08 Carlos O'Donell <carlos@redhat.com>
17793
ddacd1db 17794 [BZ #15006]
b39949d2
CD
17795 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17796 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17797
b2c9eff4
JM
177982013-02-08 Joseph Myers <joseph@codesourcery.com>
17799
f3aae3f3
JM
17800 [BZ #13550]
17801 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17802 (CHECK_1_NULL_OK): Likewise.
17803 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17804 (__fxstat): Do not use CHECK_1.
17805 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17806 <bp-checks.h>.
17807 (___fxstat64): Do not use CHECK_1.
17808 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17809 <bp-checks.h>.
17810 (__fxstatat): Do not use CHECK_1.
17811 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17812 <bp-checks.h>.
17813 (__fxstatat64): Do not use CHECK_1.
17814 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17815 <bp-checks.h>.
17816 (__fxstat): Do not use CHECK_1.
17817 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17818 <bp-checks.h>.
17819 (__fxstatat): Do not use CHECK_1.
17820 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17821 <bp-checks.h>.
17822 (__getresgid): Do not use CHECK_1.
17823 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17824 <bp-checks.h>.
17825 (__getresuid): Do not use CHECK_1.
17826 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17827 <bp-checks.h>.
17828 (__lxstat): Do not use CHECK_1.
17829 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17830 <bp-checks.h>.
17831 (__old_msgctl): Do not use CHECK_1.
17832 (__new_msgctl): Likewise.
17833 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17834 <bp-checks.h>.
17835 (__new_setrlimit): Do not use CHECK_1.
17836 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17837 <bp-checks.h>.
17838 (__old_shmctl): Do not use CHECK_1.
17839 (__new_shmctl): Likewise.
17840 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17841 <bp-checks.h>.
17842 (__xstat): Do not use CHECK_1.
17843 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17844 (__lxstat): Do not use CHECK_1.
17845 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17846 <bp-checks.h>.
17847 (___lxstat64): Do not use CHECK_1.
17848 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17849 (__old_msgctl): Do not use CHECK_1.
17850 (__new_msgctl): Likewise.
17851 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17852 <bp-checks.h>.
17853 (__gettimeofday): Do not use CHECK_1.
17854 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17855 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17856 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17857 <bp-checks.h>.
17858 (__gettimeofday): Do not use CHECK_1.
17859 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17860 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17861 (__new_shmctl): Do not use CHECK_1.
17862 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17863 <bp-checks.h>.
17864 (do_sigtimedwait): Do not use CHECK_1.
17865 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17866 <bp-checks.h>.
17867 (do_sigwaitinfo): Do not use CHECK_1.
17868 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17869 <bp-checks.h>.
17870 (msgctl): Do not use CHECK_1.
17871 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17872 <bp-checks.h>.
17873 (shmctl): Do not use CHECK_1.
17874 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17875 (ustat): Do not use CHECK_1.
17876 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17877 <bp-checks.h>.
17878 (__fxstat): Do not use CHECK_1.
17879 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17880 <bp-checks.h>.
17881 (__fxstatat): Do not use CHECK_1.
17882 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17883 <bp-checks.h>.
17884 (__lxstat): Do not use CHECK_1.
17885 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17886 <bp-checks.h>.
17887 (__xstat): Do not use CHECK_1.
17888 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17889 (__xstat): Do not use CHECK_1.
17890 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17891 (___xstat64): Do not use CHECK_1.
17892
b2c9eff4
JM
17893 [BZ #13550]
17894 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17895 definitions.
17896 (CHECK_BOUNDS_HIGH): Likewise.
17897 * string/strcpy.c: Do not include <bp-checks.h>.
17898 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17899
f1d70dad
RM
179002013-02-07 Roland McGrath <roland@hack.frob.com>
17901
17902 * nscd/nscd-client.h (__nscd_drop_map_ref):
17903 Add __attribute__ ((unused)).
17904 * nis/nss-nisplus.h (niserr2nss): Likewise.
17905
17906 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17907 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17908
17909 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17910 Remove inline keyword.
17911 * include/rounding-mode.h (round_away): Likewise.
17912 * libio/wfileops.c (adjust_wide_data): Likewise.
17913 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17914 (__m128i_strloadu_tolower): Likewise.
17915 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17916 (__m128i_strloadu_tolower): Likewise.
17917 * time/mktime.c (ydhms_diff): Likewise.
17918 * locale/elem-hash.h (elem_hash): Likewise.
17919 * locale/setlocale.c (setdata): Likewise.
17920 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17921 (re_string_wchar_at): Likewise.
17922 (bitset_not, bitset_merge, bitset_mask): Likewise.
17923 [!(__GNUC__ > 3)] (inline): Remove macro.
17924 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17925 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17926 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17927 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17928 * string/memcmp.c (memcmp_bytes): Likewise.
17929 * locale/programs/locarchive.c (compute_hashval): Likewise.
17930 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17931 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17932 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17933 * nss/getent.c (print_rpc, print_protocols): Likewise.
17934 (print_passwd, print_group, print_aliases): Likewise.
17935 * nis/nss-nisplus.h (niserr2nss): Likewise.
17936 * nscd/connections.c (restart_p): Likewise.
17937 Change return type to bool.
17938
eab55bfb
RM
179392013-02-05 Roland McGrath <roland@hack.frob.com>
17940
7bd642f5
RM
17941 * Makeconfig (all-Depend-files): Add existing
17942 $(sorted-subdirs:=/Depend) files.
17943 (all-subdirs): Remove nss.
17944 * sysdeps/unix/inet/Subdirs: Add it here instead.
17945 * hesiod/Depend: New file.
17946
573c29b2
RM
17947 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17948 instead of calling alloca.
17949
b2e25af0
RM
17950 * io/lseek.c (__lseek): Rename to __libc_lseek.
17951 Define __lseek as an alias.
17952
eab55bfb
RM
17953 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17954
9a0d1941
CD
179552013-02-04 Carlos O'Donell <carlos@redhat.com>
17956
17957 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17958 else clause and remove check for non-standard endianness.
17959
b83bbec4
DM
179602013-02-04 David S. Miller <davem@davemloft.net>
17961
17962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17963
6277fdab
JM
179642013-02-04 Joseph Myers <joseph@codesourcery.com>
17965
17966 [BZ #13550]
17967 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17968 (__ubp_memchr): Remove prototype.
17969 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17970 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17971 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17972 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17973 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17974 Remove alias.
17975 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17976 (__ubp_memchr): Likewise.
17977 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17978 (__ubp_memchr): Likewise.
17979 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17980 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17981 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17982 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17983 CHECK_STRING.
17984 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17985 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17986 (__getcwd): Do not use CHECK_STRING.
17987 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17988 <bp-checks.h>.
17989 (__real_chown): Do not use CHECK_STRING.
17990 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17991 <bp-checks.h>.
17992 (fchownat): Do not use CHECK_STRING.
17993 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17994 CHECK_STRING.
17995 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17996 <bp-checks.h>.
17997 (__lchown): Do not use CHECK_STRING.
17998 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17999 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18000 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18001 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18003 include <bp-checks.h>.
18004 (truncate64): Do not use CHECK_STRING.
18005 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18006 <bp-checks.h>.
18007 (__real_chown): Do not use CHECK_STRING.
18008 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18009 <bp-checks.h>.
18010 (__lchown): Do not use CHECK_STRING.
18011 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18012 <bp-checks.h>.
18013 (__chown): Do not use CHECK_STRING.
18014 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18015 <bp-checks.h>.
18016 (truncate64): Do not use CHECK_STRING.
18017 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18018 Likewise.
18019 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18020 (__xmknod): Do not use CHECK_STRING.
18021 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18022 <bp-checks.h>.
18023 (__xmknodat): Do not use CHECK_STRING.
18024 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18025 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18026
903ae060
AS
180272013-02-04 Andreas Schwab <schwab@suse.de>
18028
18029 [BZ #14142]
18030 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18031 * include/netdb.h: Likewise for h_errno.
18032 * elf/tst-stackguard1.c: Include <tls.h>.
18033
542f9466
JK
180342013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18035
18036 * elf/link.h (struct link_map): Extend the l_addr comment.
18037 * include/link.h (struct link_map): Likewise.
18038
e782a927
JM
180392013-02-01 Joseph Myers <joseph@codesourcery.com>
18040
18041 [BZ #13550]
18042 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18043 (BOUNDED_1): Remove macro.
18044 * debug/backtrace.c: Don't include <bp-checks.h>.
18045 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18046 (__backtrace): Likewise.
18047 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18048 <bp-checks.h>.
18049 (__backtrace): Don't use BOUNDED_1.
18050 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18051 <bp-checks.h>.
18052 (__backtrace): Don't use BOUNDED_1.
18053 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18054 (__backtrace): Don't use BOUNDED_1.
18055 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18056 (shmat): Don't use BOUNDED_N.
18057
8cf28c5e
JM
180582013-01-31 Joseph Myers <joseph@codesourcery.com>
18059
3a7ac8a0
JM
18060 [BZ #13550]
18061 * sysdeps/generic/bp-start.h: Remove file.
18062 * csu/libc-start.c: Don't include <bp-start.h>.
18063 (LIBC_START_MAIN): Set up __environ directly instead of using
18064 INIT_ARGV_and_ENVIRON.
18065 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18066 <bp-start.h>.
18067
f3499f95
JM
18068 [BZ #13550]
18069 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18070 definitions.
18071 (CHECK_FCNTL): Likewise.
18072 (CHECK_N_PAGES): Likewise.
18073
32a45bea
JM
18074 [BZ #13550]
18075 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18076 definitions.
18077 (CHECK_SIGSET_NULL_OK): Likewise.
18078 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18079 <bp-checks.h>.
18080 (sigpending): Don't use CHECK_SIGSET.
18081 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18082 <bp-checks.h>.
18083 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18084 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18085 <bp-checks.h>.
18086 (do_sigsuspend): Don't use CHECK_SIGSET.
18087 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18088 use CHECK_SIGSET.
18089 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18090 (do_sigwait): Don't use CHECK_SIGSET.
18091 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18092 use CHECK_SIGSET.
18093 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18094 include <bp-checks.h>.
18095 (sigpending): Don't use CHECK_SIGSET.
18096 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18097 include <bp-checks.h>.
18098 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18099 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18100 <bp-checks.h>.
18101 (sigpending): Don't use CHECK_SIGSET.
18102 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18103 <bp-checks.h>.
18104 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18105
2e8a5c8c
JM
18106 [BZ #13550]
18107 * sysdeps/generic/bp-semctl.h: Remove file.
18108 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18109 <bp-checks.h> and <bp-semctl.h>.
18110 (__old_semctl): Don't use CHECK_SEMCTL.
18111 (__new_semctl): Likewise.
18112 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18113 and <bp-semctl.h>.
18114 (__old_semctl): Don't use CHECK_SEMCTL.
18115 (__new_semctl): Likewise.
18116 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18117 <bp-checks.h> and <bp-semctl.h>.
18118 (__old_semctl): Don't use CHECK_SEMCTL.
18119 (__new_semctl): Likewise.
18120 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18121 <bp-checks.h> and <bp-semctl.h>.
18122 (semctl): Don't use CHECK_SEMCTL.
18123
c2d54929
JM
18124 [BZ #13550]
18125 * Makerules (elide-bp-thunks): Remove variable.
18126 (elide-routines.oS): Don't use $(elide-bp-thunks).
18127 (elide-routines.os): Likewise.
18128 (elide-routines.o): Likewise.
18129 (elide-routines.op): Likewise.
18130 (elide-routines.og): Likewise.
18131 (objects): Don't use $(bp-thunks).
18132 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18133 include.
18134 (common-generated): Do not add s-proto-bp.d.
18135 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18136 (int): Likewise.
18137 (typ): Likewise.
18138 Do not generate makefile rules for bounded-pointer thunks.
18139 * sysdeps/generic/bp-thunks.h: Remove file.
18140 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18141 * sysdeps/unix/s-proto-bp.S: Likewise.
18142
8cf28c5e
JM
18143 [BZ #15062]
18144 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18145 parts of result separately when argument is not close to line from
18146 -i to i and one part of argument is small.
18147 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18148 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18149 * math/libm-test.inc (cacos_test): Add more tests.
18150 (casin_test): Likewise.
18151 (casinh_test): Likewise.
18152 * sysdeps/i386/fpu/libm-test-ulps: Update.
18153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18154
c4e33b8d
DM
181552013-01-31 David S. Miller <davem@davemloft.net>
18156
18157 * po/de.po: Update from translation team.
18158
3b60b421
MK
181592013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18160
18161 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18162
bb931195
TS
181632013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18164
b5a5da23
TS
18165 * configure.in (_AC_PROG_CC_C89): New definition.
18166 * configure: Regenerate.
18167
bb931195
TS
18168 * configure.in (AC_PROG_CPP): New definition.
18169 * configure: Regenerate.
18170
8c53a12c
JM
181712013-01-23 Joseph Myers <joseph@codesourcery.com>
18172
18173 * debug/tst-backtrace.h: New file.
18174 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18175 (ret): Remove variable.
18176 (x): Likewise.
18177 (FAIL): Remove macro.
18178 (NO_INLINE): Likewise.
18179 (fn1): Use match function instead of strstr.
18180 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18181 (ret): Remove variable.
18182 (x): Likewise.
18183 (FAIL): Remove macro.
18184 (NO_INLINE): Likewise.
18185 (fn): Use match function instead of strstr.
18186 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18187 (ret): Remove variable.
18188 (x): Likewise.
18189 (FAIL): Remove macro.
18190 (NO_INLINE): Likewise.
18191 (handle_signal): Use match function instead of strstr.
18192 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18193 (ret): Remove variable.
18194 (x): Likewise.
18195 (FAIL): Remove macro.
18196 (NO_INLINE): Likewise.
18197 (handle_signal): Use match function instead of strstr.
18198
4858fa2a
RM
181992013-01-23 Roland McGrath <roland@hack.frob.com>
18200
18201 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18202
bae8e7f5
DM
182032013-01-23 David S. Miller <davem@davemloft.net>
18204
18205 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18206 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18207 argument of CAS if possible.
18208 * sysdeps/sparc/sparc64/bits/atomic.h
18209 (__arch_compare_and_exchange_val_32_acq): Likewise.
18210 (__arch_compare_and_exchange_val_64_acq): Likewise.
18211
9cbbc4ae
PT
182122013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18213
18214 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18215 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18216 Include <limits.h>.
67b3f58c 18217 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18218
5655a0b5
AC
182192013-01-23 Adam Conrad <adconrad@0c3.net>
18220
18221 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18222 (LDFLAGS-tst-array5): Likewise.
18223
052aff95
JM
182242013-01-23 Joseph Myers <joseph@codesourcery.com>
18225
18226 [BZ #15036]
18227 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18228 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18229 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18230 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18231
7c1e01aa
DM
182322013-01-21 David S. Miller <davem@davemloft.net>
18233
18234 * sysdeps/sparc/backtrace.c: New file.
18235 * sysdeps/sparc/sparc32/backtrace.h: New file.
18236 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18237 * sysdeps/sparc/sparc64/backtrace.h: New file.
18238 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18239 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18240 -funwind-tables.
18241
ab087e0a
AS
182422013-01-21 Andreas Schwab <schwab@suse.de>
18243
18244 [BZ #15020]
18245 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18246 closed its stdout.
18247
ed689c2f
AS
182482013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18249
18250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18251 "mpa2.h".
18252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18253
31d470ac
JM
182542013-01-18 Joseph Myers <joseph@codesourcery.com>
18255 Mark Mitchell <mark@codesourcery.com>
18256 Tom de Vries <tom@codesourcery.com>
18257 Paul Pluzhnikov <ppluzhnikov@google.com>
18258
18259 * debug/tst-backtrace2.c: New file.
18260 * debug/tst-backtrace3.c: Likewise.
18261 * debug/tst-backtrace4.c: Likewise.
18262 * debug/tst-backtrace5.c: Likewise.
18263 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18264 (CFLAGS-tst-backtrace3.c): Likewise.
18265 (CFLAGS-tst-backtrace4.c): Likewise.
18266 (CFLAGS-tst-backtrace5.c): Likewise.
18267 (LDFLAGS-tst-backtrace2): Likewise.
18268 (LDFLAGS-tst-backtrace3): Likewise.
18269 (LDFLAGS-tst-backtrace4): Likewise.
18270 (LDFLAGS-tst-backtrace5): Likewise.
18271 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18272 tst-backtrace4 and tst-backtrace5.
18273
90567f30 182742013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18275 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18276
18277 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18278 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18279 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18280 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18282 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18283 "+r" and remove output regs list as redundant. Add explicit inline
18284 asm to specify register of return val to work around compiler codegen
18285 bug. Remove (int) cast on return value. Add return type parameter to
18286 use in macro so that this macro does not truncate return value for
18287 64-bit values.
18288 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18289 pass to INTERNAL_VSYSCALL_NCS.
18290 (INLINE_VSYSCALL): Add 'long int' as return type to
18291 INTERNAL_VSYSCALL_NCS macro invocation.
18292 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18293 INTERNAL_VSYSCALL_NCS macro invocation.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18295
d3b9ea61
SP
182962013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18297
0b57daeb
SP
18298 [BZ #14496]
18299 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18300 Fix application of SIMD FP exception mask.
18301
caa99d06
SP
18302 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18303 mp_no from a power of two.
18304 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18305 __mpexp_twomm1. Use __pow_mp.
18306
d3b9ea61
SP
18307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18308 multiplication.
18309
1dbaee3c
DM
183102013-01-17 David S. Miller <davem@davemloft.net>
18311
18312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18313
728d7b43
JM
183142013-01-17 Joseph Myers <joseph@codesourcery.com>
18315
18316 [BZ #15023]
18317 * include/complex.h: Condition contents on [!_COMPLEX_H].
18318 (__kernel_casinhf): New prototype.
18319 (__kernel_casinh): Likewise.
18320 (__kernel_casinhl): Likewise.
18321 * math/Makefile (libm_calls): Add k_casinh.
18322 * math/k_casinh.c: New file.
18323 * math/k_casinhf.c: Likewise.
18324 * math/k_casinhl.c: Likewise.
18325 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18326 finite nonzero arguments.
18327 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18328 finite nonzero arguments.
18329 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18330 finite nonzero arguments.
18331 * math/s_casinh.c: Do not include <float.h>.
18332 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18333 * math/s_casinhf.c: Do not include <float.h>.
18334 (__casinhf): Move code for finite nonzero arguments to
18335 k_casinhf.c.
18336 * math/s_casinhl.c: Do not include <float.h>.
18337 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18338 redefine.
18339 (__casinhl): Move code for finite nonzero arguments to
18340 k_casinhl.c.
18341 * math/libm-test.inc (cacos_test): Add more tests.
18342 * sysdeps/i386/fpu/libm-test-ulps: Update.
18343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18344
2a26ef3a
PT
183452013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18346
18347 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18348 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18349 [!HAVE_MREMAP]: Remove [defined linux] case.
18350 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18351
a897655d
SP
183522013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18353
18354 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18355
881ebe89 183562013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18357
18358 * elf/elf.h (R_386_SIZE32): New relocation.
18359 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18360 R_386_SIZE32.
18361 (elf_machine_rela): Likewise.
18362 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18363 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18364
59981e9b
JM
183652013-01-17 Joseph Myers <joseph@codesourcery.com>
18366
18367 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18368 (FP_FAST_FMA): Do not define.
18369 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18370 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18371 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18372 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18373 !_SOFT_FLOAT]: Likewise.
18374 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18375 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18376 value.
18377 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18378 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18379 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18380 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18381 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18382 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18383 file.
18384
cfa8054f
AS
183852013-01-16 Andreas Schwab <schwab@suse.de>
18386
18387 [BZ #14327]
18388 * include/stdlib.h (__mktemp): Add declaration.
18389 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18390 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18391
dd930cc5
SP
183922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18393
881ebe89
SP
18394 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18395 definitions.
18396 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18397 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18398 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18399 definitions here.
18400 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18401 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18402 definitions.
18403 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18404 and ONE.
18405 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18406 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18407 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18408 definitions.
18409 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18410 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18411 definitions.
18412 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18413
dd930cc5
SP
18414 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18415
c19a9f89
DM
184162013-01-15 David S. Miller <davem@davemloft.net>
18417
1aa61767
DM
18418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18419 trunc{,f} to libm-sysdep_routes.
18420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18422 file.
18423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18425 file.
18426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18427 file.
18428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18430 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18431 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18432 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18433 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18434 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18435 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18436
c42d5e98
DM
18437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18438 nearbyint{,f} to libm-sysdep_routes.
18439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18441 New file.
18442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18443 file.
18444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18445 New file.
18446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18447 file.
18448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18450 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18451 file.
18452 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18453 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18454 file.
18455 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18456 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18457 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18458
c19a9f89
DM
18459 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18460 libc_feholdexcept and libc_fesetenv.
18461
357679d2
MF
184622013-01-15 Mike Frysinger <vapier@gentoo.org>
18463
18464 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18465
65a82e3d
DM
184662013-01-14 David S. Miller <davem@davemloft.net>
18467
8b954ab9
DM
18468 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18469 (SPARC_ASM_VIS2_IFUNC): Likewise.
18470 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18472 use of 'siam' instruction.
18473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18474 Likewise.
18475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18476 Likewise.
18477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18478 Likewise.
18479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18484 file.
18485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18486 file.
18487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18488 file.
18489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18490 file.
18491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18496 new VIS2 routines.
18497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18500 Likewise.
18501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18506 routines to libm-sysdep_routines.
18507 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18508
65a82e3d
DM
18509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18510 fdim/fdimf to libm-sysdep_routines.
18511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18512 file.
18513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18515 file.
18516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18519 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18520 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18521 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18522 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18523
e34ab705
SP
185242013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18525
2a91b573
SP
18526 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18527 to optimize copies.
18528
1066a534
SP
18529 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18532
e34ab705
SP
18533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18534 local variable MPTWO.
18535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18536 Likewise.
18537
aba5e596
MF
185382013-01-13 Mike Frysinger <vapier@gentoo.org>
18539
18540 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18541 GLOB_NOESCAPE.
18542
e557e9e5
MF
185432013-01-13 Mike Frysinger <vapier@gentoo.org>
18544
18545 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18546
0428cec9
MF
185472013-01-13 Mike Frysinger <vapier@gentoo.org>
18548
18549 * manual/pattern.texi (glob_t): Document gl_flags.
18550 (glob64_t): Likewise.
18551
8794a964
DM
185522013-01-11 David S. Miller <davem@davemloft.net>
18553
66438c3f
RM
18554 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18555 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18556 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18557 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18558 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18559 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18560 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18561 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18562 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18563 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18564 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18565 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18566 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18567
4ae4244d
DM
18568 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18569 sparc V9 rather than using V8 code.
18570 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18571 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18572
8794a964
DM
18573 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18574 Move to...
18575 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18576 Here.
18577
6270516e
RM
185782013-01-11 Roland McGrath <roland@hack.frob.com>
18579
18580 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18581 not in the main loop.
18582 * configure: Regenerated.
18583
6a57d931
JM
185842013-01-11 Joseph Myers <joseph@codesourcery.com>
18585
18586 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18587 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18588 to just #else.
18589 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18590 [!__GLIBC_HAVE_LONG_LONG] case.
18591 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18592 condition to just #else.
18593 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18594 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18595 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18596 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18597 unconditional.
18598 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18599 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18600 #elif condition to just #else.
18601 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18602 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18603 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18604 #elif condition to just #else.
18605
0e8529e9
SE
186062013-01-11 Steve Ellcey <sellcey@mips.com>
18607
18608 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18609 (EF_MIPS_ARCH_64): Fix value.
18610 (EF_MIPS_ARCH_32R2): New.
18611 (EF_MIPS_ARCH_64R2): New.
18612
740b3dbe
L
186132013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18614
18615 * Makeconfig (+link-pie-before-libc): New.
18616 (+link-pie-after-libc): Likewise.
18617 (+link-pie-tests): Likewise.
18618 (+link-pie): Rewritten.
18619 (link-before-libc): Remove $(config-LDFLAGS).
18620 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18621 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18622 (config-LDFLAGS): Renamed to ...
18623 (rtld-LDFLAGS): This.
18624 (rtld-tests-LDFLAGS): New macro.
18625 (link-libc-rpath-link): Likewise.
18626 (link-libc-tests-rpath-link): Likewise.
18627 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18628 (link-libc): Prepand $(link-libc-rpath-link).
18629 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18630 (test-program-prefix): New macro.
18631 (test-via-rtld-prefix): Likewise.
18632 (test-program-cmd): Likewise.
18633 (host-test-program-cmd): Likewise.
18634 * Makefile ($(common-objpfx)testrun.sh): Replace
18635 $(run-program-prefix) with $(test-program-prefix).
18636 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18637 $(rtld-LDFLAGS).
18638 ($(common-objpfx)shlib.lds): Likewise.
18639 (build-module-helper): Likewise.
18640 ($(common-objpfx)format.lds): Likewise.
18641 * Rules (binaries-pie-tests): New.
18642 (binaries-pie-notests): Likewise.
18643 (binaries-pie): Rewritten.
18644 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18645 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18646 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18647 (make-test-out): Replace $(host-built-program-cmd) with
18648 $(host-test-program-cmd).
18649 * config.make.in (build-hardcoded-path-in-tests): New variable.
18650 * configure.in (--enable-hardcoded-path-in-tests): New configure
18651 option.
18652 (hardcoded_path_in_tests): New AC_SUBST.
18653 * configure: Regenerated.
18654 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18655 $(built-program-cmd) with $(test-program-cmd).
18656 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18657 (test_program_cmd): This.
18658 * elf/Makefile ($(objpfx)order.out): Run test with
18659 $(test-program-prefix).
18660 ($(objpfx)order2.out): Likewise.
18661 ($(objpfx)tst-initorder.out): Likewise.
18662 ($(objpfx)tst-initorder2.out): Likewise.
18663 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18664 $(test-program-cmd).
18665 ($(objpfx)tst-array1-static.out): Likewise.
18666 ($(objpfx)tst-array2.out): Likewise.
18667 ($(objpfx)tst-array3.out): Likewise.
18668 ($(objpfx)tst-array4.out): Likewise.
18669 ($(objpfx)tst-array5.out): Likewise.
18670 ($(objpfx)tst-array5-static.out): Likewise.
18671 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18672 $(test-program-cmd).
18673 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18674 $(run-program-prefix) with $(test-program-prefix).
18675 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18676 (test_program_prefix): This.
18677 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18678 $(run-program-prefix) with $(test-program-prefix).
18679 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18680 (test_program_prefix): This.
18681 * iconvdata/tst-tables.sh: Likewise.
18682 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18683 $(run-program-prefix) with $(test-program-prefix).
18684 ($(objpfx)tst-translit.out): Likewise.
18685 ($(objpfx)tst-gettext2.out): Likewise.
18686 ($(objpfx)tst-gettext4.out): Likewise.
18687 ($(objpfx)tst-gettext6.out): Likewise.
18688 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18689 (test_program_prefix): This.
18690 * intl/tst-gettext2.sh: Likewise.
18691 * intl/tst-gettext4.sh Likewise.
18692 * intl/tst-gettext6.sh: Likewise.
18693 * intl/tst-translit.sh: Likewise.
18694 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18695 with $(test-program-cmd).
18696 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18697 $(run-program-prefix) with $(test-program-prefix).
18698 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18699 (test_program_prefix): This.
18700 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18701 $(run-program-prefix) with $(test-program-prefix).
18702 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18703 (test_program_prefix): This.
18704 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18705 * posix/Makefile ($(objpfx)globtest.out): Replace
18706 $(run-via-rtld-prefix) and $(test-wrapper) with
18707 $(test-program-prefix) and $(test-via-rtld-prefix).
18708 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18709 $(test-program-prefix).
18710 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18711 $(host-test-program-cmd).
18712 (tst-spawn-ARGS): Likewise.
18713 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18714 $(test-program-prefix).
18715 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18716 (test_via_rtld_prefix): This.
18717 (test_wrapper): Renamed to ...
18718 (test_program_prefix): This.
18719 (run_program_prefix): Replaced by test_program_prefix.
18720 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18721 (test_program_prefix): This.
18722 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18723 with $(host-test-program-cmd).
18724 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18725 $(run-program-prefix) with $(test-program-prefix).
18726 ($(objpfx)tst-printf.out): Likewise.
18727 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18728 $(test-program-cmd).
18729 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18730 (test_program_prefix): This.
18731 * stdio-common/tst-unbputc.sh: Likewise.
18732 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18733 $(run-program-prefix) with $(test-program-prefix).
18734 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18735 (test_program_prefix): This.
18736 * string/Makefile ($(objpfx)tst-svc.out): Replace
18737 $(built-program-cmd) with $(test-program-cmd).
18738
c6fe55cf
AJ
187392013-01-11 Andreas Jaeger <aj@suse.de>
18740
18741 [BZ #15003]
18742 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18743 value. Sync with Linux 3.7.
18744
9e6919c8
DM
187452013-01-10 David S. Miller <davem@davemloft.net>
18746
18747 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18748 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18749 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18750
1c9f1a02
RM
187512013-01-10 Roland McGrath <roland@hack.frob.com>
18752
18753 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18754 never set.
18755 * configure: Regenerated.
18756
b9de2dde
DM
187572013-01-10 David S. Miller <davem@davemloft.net>
18758
18759 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18760 sparc V9 rather than using V8 code.
18761 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18762 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18763
e7f68ef4
RM
187642013-01-10 Roland McGrath <roland@hack.frob.com>
18765
18766 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18767 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18768 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18769 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18770 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18771 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18772 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18773 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18774 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18775 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18776 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18777 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18778 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18779 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18780 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18781 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18782 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18783 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18784 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18785 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18786 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18787 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18788 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18789 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18790 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18791 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18792 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18793
5a47cc9c
DM
187942013-01-10 David S. Miller <davem@davemloft.net>
18795
18796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18797
4cf8f209
L
187982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18799
18800 * posix/Makefile (tests-static): New variable.
18801 (tests): Add $(tests-static).
18802 (tst-exec-static-ARGS): New variable.
18803 (tst-spawn-static-ARGS): Likewise.
18804 * posix/tst-exec-static.c: New file.
18805 * posix/tst-spawn-static.c: Likewise.
18806 * posix/tst-exec.c: Support run directly.
18807 * posix/tst-spawn.c: Likewise.
18808
fed0faa1
JM
188092013-01-10 Joseph Myers <joseph@codesourcery.com>
18810
828beb13
JM
18811 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18812 long.
18813 * math/bits/mathcalls.h (llrint): Likewise.
18814 (llround): Likewise.
18815 * stdlib/stdlib.h (struct drand48_data): Likewise.
18816 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18817 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18818 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18819 Likewise.
18820 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18821 Likewise.
18822 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18823 (elf_greg_t): Likewise.
18824 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18825 (__jmp_buf): Likewise.
18826 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18827 definitions.
18828 (llrint): Likewise, for all definitions.
18829 (llrintl): Likewise.
18830
fed0faa1
JM
18831 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18832 Remove [__GNUC__] condition.
18833 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18834 condition to just [__USE_ISOC99].
18835 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18836
1a20cb20
L
188372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18838
18839 [BZ #14200]
18840 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18841 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18842 defined.
18843 (_POSIX_V6_ILP32_OFF32): Likewise.
18844 (_XBS5_ILP32_OFF32): Likewise.
18845 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18846 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18847
751b85f7
SP
188482013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18849
7490eb81
SP
18850 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18851
751b85f7
SP
18852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18853 doubles __mpexp_twomm1. Adjust usage.
18854 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18855 Remove.
18856
988197f0
AS
188572013-01-10 Andreas Schwab <schwab@suse.de>
18858
18859 [BZ #14964]
18860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18861 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18862
e83d7298
DM
188632013-01-09 David S. Miller <davem@davemloft.net>
18864
034ed64b 18865 [BZ #15003]
e83d7298
DM
18866 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18867 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18868 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18869 TCP_FASTOPEN): Define.
18870 (tcp_repair_opt): New structure.
18871 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18872 enum values.
18873 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18874 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18875 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18876 (tcp_cookie_transactions): New structure.
18877
d5e0b9bd
AB
188782013-01-09 Anton Blanchard <anton@samba.org>
18879
18880 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18881 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18882 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18883 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18884
0c07e3ea
JM
188852013-01-09 Joseph Myers <joseph@codesourcery.com>
18886
18887 * include/features.h (__USE_ANSI): Remove.
18888
232f7002
RM
188892013-01-09 Roland McGrath <roland@hack.frob.com>
18890
ad98e30c
RM
18891 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18892
232f7002
RM
18893 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18894
950c99ca
SP
188952013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18896
b5792741
SP
18897 * sysdeps/s390/fpu/libm-test-ulps: Update.
18898
47cf2278
SP
18899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18900
950c99ca
SP
18901 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18902 (__acr): Likewise.
18903 (__cpy): Likewise.
18904 (norm): Likewise.
18905 (denorm): Likewise.
18906 (__mp_dbl): Likewise.
18907 (__dbl_mp): Likewise.
18908 (add_magnitudes): Likewise.
18909 (sub_magnitudes): Likewise.
18910 (__add): Likewise.
18911 (__sub): Likewise.
18912 (__mul): Likewise.
18913 (__inv): Likewise.
18914 (__dvd): Likewise.
18915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18916 (__acr): Likewise.
18917 (__cpy): Likewise.
18918 (norm): Likewise.
18919 (denorm): Likewise.
18920 (__mp_dbl): Likewise.
18921 (__dbl_mp): Likewise.
18922 (add_magnitudes): Likewise.
18923 (sub_magnitudes): Likewise.
18924 (__add): Likewise.
18925 (__sub): Likewise.
18926 (__mul): Likewise.
18927 (__inv): Likewise.
18928 (__dvd): Likewise.
18929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18930 (__acr): Likewise.
18931 (__cpy): Likewise.
18932 (norm): Likewise.
18933 (denorm): Likewise.
18934 (__mp_dbl): Likewise.
18935 (__dbl_mp): Likewise.
18936 (add_magnitudes): Likewise.
18937 (sub_magnitudes): Likewise.
18938 (__add): Likewise.
18939 (__sub): Likewise.
18940 (__mul): Likewise.
18941 (__inv): Likewise.
18942 (__dvd): Likewise.
18943
eede9df9
JM
189442013-01-08 Joseph Myers <joseph@codesourcery.com>
18945
18946 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18947 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18948 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18949 2 && __USE_EXTERN_INLINES]: Likewise.
18950
c40ea3d9
AJ
189512013-01-08 Andreas Jaeger <aj@suse.de>
18952
18953 [BZ# 14985]
18954 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18955 Remove.
18956 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18957 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18958
2ccdea26
AB
189592013-01-07 Anton Blanchard <anton@samba.org>
18960
18961 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18962 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18963 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18964 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18965 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18966 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18967 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18968 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18970 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18971 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18972 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18973 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18974 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18975 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18976 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18977 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18978 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18979 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18980 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18981 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18982 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18983 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18984 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18985 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18986 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18987 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18988 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18989 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18990 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18991 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18993 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18994 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18995 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18996 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18997 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18998 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18999 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19000 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19001 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19002 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19003 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19004
a9708fed
JM
190052013-01-07 Joseph Myers <joseph@codesourcery.com>
19006
375607b9
JM
19007 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19008 (__MALLOC_PMT): Likewise.
19009 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19010 [__GNUC__], only on [_LIBC].
19011 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19012 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19013 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19014 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19015 forward declaration.
19016 (realloc_hook_ini): Likewise.
19017 (memalign_hook_ini): Likewise.
19018 (__libc_memalign): Do not use __MALLOC_PMT in variable
19019 declaration.
19020 (__libc_valloc): Likewise.
19021 (__libc_pvalloc): Likewise.
19022 (__libc_calloc): Likewise.
19023 (__posix_memalign): Likewise.
19024
a9708fed
JM
19025 [BZ #14996]
19026 * math/s_casinh.c: Include <float.h>.
19027 (__casinh): Do not do computation with squaring and square root
19028 for large arguments.
19029 * math/s_casinhf.c: Include <float.h>.
19030 (__casinhf): Do not do computation with squaring and square root
19031 for large arguments.
19032 * math/s_casinhl.c: Include <float.h>.
19033 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19034 (__casinhl): Do not do computation with squaring and square root
19035 for large arguments.
19036 * math/libm-test.inc (casin_test): Add more tests.
19037 (casinh_test): Likewise.
19038 * sysdeps/i386/fpu/libm-test-ulps: Update.
19039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19040
afec409a
L
190412013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19042
19043 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19044 (__x86_64_raw_data_cache_size): Likewise.
19045 (__x86_64_data_cache_size_half): Likewise.
19046 (__x86_64_raw_data_cache_size_half): Likewise.
19047 (__x86_64_shared_cache_size): Likewise.
19048 (__x86_64_raw_shared_cache_size): Likewise.
19049 (__x86_64_shared_cache_size_half): Likewise.
19050 (__x86_64_raw_shared_cache_size_half): Likewise.
19051 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19052 to ...
19053 (__x86_data_cache_size): This.
19054 (__x86_64_raw_data_cache_size): Renamed to ...
19055 (__x86_raw_data_cache_size): This.
19056 (__x86_64_data_cache_size_half): Renamed to ...
19057 (__x86_data_cache_size_half): This.
19058 (__x86_64_raw_data_cache_size_half): Renamed to ...
19059 (__x86_raw_data_cache_size_half): This.
19060 (__x86_64_shared_cache_size): Renamed to ...
19061 (__x86_shared_cache_size): This.
19062 (__x86_64_raw_shared_cache_size): Renamed to ...
19063 (__x86_raw_shared_cache_size): This.
19064 (__x86_64_shared_cache_size_half): Renamed to ...
19065 (__x86_shared_cache_size_half): This.
19066 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19067 (__x86_raw_shared_cache_size_half): This.
19068 * sysdeps/x86_64/memcpy.S: Updated.
19069 * sysdeps/x86_64/memset.S: Likewise.
19070 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19071 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19072 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19073
0b3986d0
DM
190742013-01-04 David S. Miller <davem@davemloft.net>
19075
19076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19077
e47686e9
AS
190782013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19079
d643bac1
AS
19080 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19081 1 to avoid redefinition warning.
19082 (__USE_GNU): Don't define.
19083 (init_signaling_nan): Protoize.
19084
e47686e9
AS
19085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19086
b18decba
SP
190872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19088
fffb407f
SP
19089 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19091 (__cpymn): Likewise.
19092 (norm): Remove commented code.
19093 (denorm): Likewise.
19094 (__mp_dbl): Likewise.
19095 (__inv): Likewise.
19096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19097 (__cpymn): Likewise.
19098 (norm): Remove commented code.
19099 (denorm): Likewise.
19100 (__mp_dbl): Likewise.
19101 (__inv): Likewise.
19102
b18decba
SP
19103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19104 mp_no value for 1.0 and 2.0.
19105 (norm): Use RADIXI instead of radixi.d.
19106 (denorm): Likewise.
19107 (__mul): Use 0.0 instead of zero.d.
19108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19109 mp_no value for 1.0 and 2.0.
19110 (norm): Use RADIXI instead of radixi.d.
19111 (denorm): Likewise.
19112 (__mul): Use 0.0 instead of zero.d.
19113
cdc1c96f
JM
191142013-01-04 Joseph Myers <joseph@codesourcery.com>
19115
19116 [BZ #14994]
19117 * math/s_casinh.c (__casinh): Reduce finite argument to first
19118 quadrant then set signs of results at the end.
19119 * math/s_casinhf.c (__casinhf): Likewise.
19120 * math/s_casinhl.c (__casinhl): Likewise.
19121 * math/libm-test.inc (casin_test): Add more tests.
19122 (casinh_test): Likewise.
19123 * sysdeps/i386/fpu/libm-test-ulps: Update.
19124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19125
302913e1
SP
191262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19127
6420d207
SP
19128 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19129
a9e48ab4
SP
19130 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19131
b7837264
SP
19132 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19133 declarations.
19134 (denorm): Likewise.
19135 (__mp_dbl): Likewise.
19136 (__inv): Likewise.
19137
f8af25d2
SP
19138 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19139 and adjust the header comment.
19140
302913e1
SP
19141 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19142 variable name from declaration.
19143
5d7dd1ca
L
191442013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19145
19146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19147 Initialize COMMON_CPUID_INDEX_7 element.
19148 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19149 (CPUID_RTM): Likewise.
19150 (HAS_RTM): Likewise.
19151 (COMMON_CPUID_INDEX_7): New enum.
19152
2f5f40f4
AS
191532013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19154
19155 [BZ #14981]
19156 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19157 size is zero, record memory as freed.
19158
4056f4a0
AJ
191592013-01-03 Andreas Jaeger <aj@suse.de>
19160
19161 * po/ia.po: Add new Interlingua translation.
19162
ab15736f 191632012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19164
19165 * locale/programs/localedef.c: Fix description of '--posix' flag.
19166
568035b7
JM
191672013-01-02 Joseph Myers <joseph@codesourcery.com>
19168
e6898b8d
JM
19169 * NEWS: Update dates in second copyright notice.
19170 * README: Update copyright dates in example.
19171 * manual/libc.texinfo: Update copyright dates.
19172 * scripts/test-installation.pl: Update copyright date in --version
19173 output.
19174
0e2f9562
JM
19175 * hurd/ctty-input.c: Fix copyright notice formatting.
19176 * hurd/ctty-output.c: Likewise.
19177 * hurd/dtable.c: Likewise.
19178 * hurd/hurd-raise.c: Likewise.
19179 * hurd/hurdprio.c: Likewise.
19180 * hurd/msgportdemux.c: Likewise.
19181 * misc/sys/file.h: Likewise.
19182 * misc/sys/ioctl.h: Likewise.
19183 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19184 * sysdeps/mach/hurd/chdir.c: Likewise.
19185 * sysdeps/mach/hurd/fchdir.c: Likewise.
19186 * sysdeps/mach/hurd/rename.c: Likewise.
19187 * sysdeps/mach/hurd/rmdir.c: Likewise.
19188 * sysdeps/mach/hurd/seekdir.c: Likewise.
19189 * sysdeps/mach/hurd/setsid.c: Likewise.
19190 * sysdeps/posix/wait3.c: Likewise.
19191
568035b7
JM
19192 * All files with FSF copyright notices: Update copyright dates
19193 using scripts/update-copyrights.
19194 * intl/plural.c: Regenerated.
19195 * locale/programs/charmap-kw.h: Likewise.
19196 * locale/programs/locfile-kw.h: Likewise.
19197
da08f647
SP
191982013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19199
0f5477af
SP
19200 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19201 four values.
19202
44e0d4c2
SP
19203 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19204 calculation loop and add branch prediction.
19205
4d55b4e5
SP
19206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19207 check access beyond bounds of m1np.
19208
da08f647
SP
19209 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19210 MPTWO.
19211 (__inv): Remove local variable MPTWO to use the global
19212 constant.
19213 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19214 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19215 variable MPTWO.
19216 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19217 MP3HALFS static const.
19218
8e051029
DM
192192013-01-01 David S. Miller <davem@davemloft.net>
19220
19221 * po/ca.po: Update from translation team.
19222
f4cf5f2d
JM
192232013-01-01 Joseph Myers <joseph@codesourcery.com>
19224
19225 * scripts/update-copyrights: New file.
19226 * Makeconfig: Reformat copyright notice.
19227 * ctype/ctype.h: Likewise.
19228 * debug/swprintf_chk.c: Likewise.
19229 * elf/dl-cache.c: Likewise.
19230 * elf/dl-debug.c: Likewise.
19231 * elf/dl-object.c: Likewise.
19232 * grp/initgroups.c: Likewise.
19233 * hurd/Makefile: Likewise.
19234 * hurd/hurd/signal.h: Likewise.
19235 * hurd/hurdfault.c: Likewise.
19236 * hurd/hurdioctl.c: Likewise.
19237 * hurd/hurdlookup.c: Likewise.
19238 * hurd/intr-msg.c: Likewise.
19239 * iconv/gconv_open.c: Likewise.
19240 * libio/swprintf.c: Likewise.
19241 * locale/lc-ctype.c: Likewise.
19242 * locale/nl_langinfo.c: Likewise.
19243 * mach/Machrules: Likewise.
19244 * mach/Makefile: Likewise.
19245 * malloc/obstack.h: Likewise.
19246 * manual/Makefile: Likewise.
19247 * manual/tsort.awk: Likewise.
19248 * misc/bits/stab.def: Likewise.
19249 * nis/nis_print_group_entry.c: Likewise.
19250 * nis/nis_table.c: Likewise.
19251 * nis/nss_compat/compat-pwd.c: Likewise.
19252 * nis/nss_compat/compat-spwd.c: Likewise.
19253 * po/Makefile: Likewise.
19254 * posix/fnmatch.c: Likewise.
19255 * posix/regex.h: Likewise.
19256 * resolv/Makefile: Likewise.
19257 * resolv/nss_dns/dns-network.c: Likewise.
19258 * resolv/res_hconf.c: Likewise.
19259 * scripts/gen-sorted.awk: Likewise.
19260 * soft-fp/soft-fp.h: Likewise.
19261 * stdio-common/printf.h: Likewise.
19262 * stdlib/monetary.h: Likewise.
19263 * stdlib/random.c: Likewise.
19264 * stdlib/random_r.c: Likewise.
19265 * sysdeps/generic/Makefile: Likewise.
19266 * sysdeps/gnu/Makefile: Likewise.
19267 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19268 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19269 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19270 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19271 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19272 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19273 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19274 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19275 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19276 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19277 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19278 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19279 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19280 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19281 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19282 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19283 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19285 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19286 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19287 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19288 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19289 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19290 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19291 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19292 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19293 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19294 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19295 * sysdeps/mach/hurd/errnos.awk: Likewise.
19296 * sysdeps/mach/hurd/fork.c: Likewise.
19297 * sysdeps/mach/hurd/getcwd.c: Likewise.
19298 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19299 * sysdeps/mach/hurd/mmap.c: Likewise.
19300 * sysdeps/mach/hurd/utimes.c: Likewise.
19301 * sysdeps/mach/hurd/xmknod.c: Likewise.
19302 * sysdeps/posix/profil.c: Likewise.
19303 * sysdeps/posix/readdir_r.c: Likewise.
19304 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19305 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19306 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19307 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19309 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19310 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19311 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19313 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19314 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19315 * sysdeps/pthread/lio_listio.c: Likewise.
19316 * sysdeps/sparc/dl-procinfo.h: Likewise.
19317 * sysdeps/unix/i386/sysdep.S: Likewise.
19318 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19319 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19320 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19321 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19323 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19324 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19325 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19326 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19327 * sysdeps/wordsize-32/divdi3.c: Likewise.
19328 * time/sys/time.h: Likewise.
19329 * wcsmbs/Makefile: Likewise.
19330
0549fbba
DM
193312013-01-01 David S. Miller <davem@davemloft.net>
19332
a141f1a7
DM
19333 * po/fr.po: Update from translation team.
19334
0549fbba
DM
19335 * catgets/gencat.c: Update copyright year.
19336 * csu/version.c: Likewise.
19337 * debug/catchsegv.sh: Likewise.
19338 * debug/pcprofiledump.c: Likewise.
19339 * debug/xtrace.sh: Likewise.
19340 * elf/ldconfig.c: Likewise.
19341 * elf/ldd.bash.in: Likewise.
19342 * elf/pldd.c: Likewise.
19343 * elf/sotruss.ksh: Likewise.
19344 * elf/sprof.c: Likewise.
19345 * iconv/iconv_prog.c: Likewise.
19346 * iconv/iconvconfig.c: Likewise.
19347 * locale/programs/locale.c: Likewise.
19348 * locale/programs/localedef.c: Likewise.
19349 * login/programs/pt_chown.c: Likewise.
19350 * malloc/memusage.sh: Likewise.
19351 * malloc/memusagestat.c: Likewise.
19352 * malloc/mtrace.pl: Likewise.
19353 * nscd/nscd.c: Likewise.
19354 * nss/getent.c: Likewise.
19355 * nss/makedb.c: Likewise.
19356 * posix/getconf.c: Likewise.
19357
18ea052c
SP
193582012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19359
19360 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19361 numbers.
19362
9c89fca6
MF
193632012-12-30 Mike Frysinger <vapier@gentoo.org>
19364
19365 * math/bits/mathcalls.h (modf): Use __nonnull.
19366
085ec079
SP
193672012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19368
19369 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19370 (split): Use macro CN instead of the bare value.
19371 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19372 could be used.
19373 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19374 instead of the bare value.
19375 (power1): Likewise.
19376
6d9f97e1
SP
193772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19378
d63f73be
SP
19379 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19380 __ATAN_TWOM.
19381 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19382
6d9f97e1
SP
19383 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19384 their values.
19385 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19386 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19387 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19388 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19389
4c4febf5
AJ
193902012-12-28 Andreas Jaeger <aj@suse.de>
19391
af5843ef
AJ
19392 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19393 values are from Linux 3.7.
19394
4c4febf5
AJ
19395 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19396 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19397
99136f82
SP
193982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19399
2f216c3c 19400 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19401 TRUE case.
19402
99136f82
SP
19403 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19404 (norm): Likewise.
19405 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19406 variables with preprocessor constants.
19407 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19408 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19409 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19410
7fffbdff
BH
194112012-12-27 Bruno Haible <bruno@clisp.org>
19412
19413 [BZ #14317]
19414 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19415 only if needed.
19416
b76eb5f0
SP
194172012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19418
31a7fe5c
SP
19419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19420 and use variable directly.
19421 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19422
b76eb5f0
SP
19423 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19424 MPONE.
19425 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19426 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19427 variable MPONE.
19428 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19430 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19431 include directive. Remove local variable MPONE.
19432 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19433 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19434 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19435
2c8bfe7d
DM
194362012-12-25 David S. Miller <davem@davemloft.net>
19437
19438 * version.h (RELEASE): Set to "development".
19439 (VERSION): Set to "2.17.90".
19440 * NEWS: Add 2.18 section.
19441
147d03b0
DM
194422012-12-21 David S. Miller <davem@davemloft.net>
19443
19444 * po/hr.po: Update from translation team.
19445
a8ebb2b9
AK
194462012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19447
19448 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19449
95b4f1b6
SE
194502012-12-19 Steve Ellcey <sellcey@mips.com>
19451
b2d94007 19452 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19453
cedb2a90
MS
194542012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19455
19456 * manual/contrib.texi (Contributors): Spelling correction.
19457
bbf527d6
DM
194582012-12-15 David S. Miller <davem@davemloft.net>
19459
19460 * po/ru.po: Update from translation team.
19461
bc38c906
DM
194622012-12-13 David S. Miller <davem@davemloft.net>
19463
85429b1a
DM
19464 * NEWS: Mention IFUNC testsuite enhancements.
19465
d283e353
DM
19466 * po/pl.po: Update from translation team.
19467 * po/bg.po: Likewise.
19468
bc38c906
DM
19469 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19470 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19471
a181b0d7
DM
194722012-12-11 David S. Miller <davem@davemloft.net>
19473
4641d57e
DM
19474 * po/sv.po: Update from translation team.
19475
f7bc6495
DM
19476 * po/vi.po: Update from translation team.
19477
6fc9048f
DM
19478 * po/cs.po: Update from translation team.
19479
a181b0d7
DM
19480 * po/de.po: Update from translation team.
19481 * po/eo.po: Likewise.
19482 * po/nl.po: Likewise.
19483
f70bfe80
SP
194842012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19485
3c8b4190
SP
19486 [BZ #14246]
19487 * manual/argp.texi (Argp Helper Functions): Move node to follow
19488 Argp Parsing State.
19489
f70bfe80
SP
19490 [BZ #14872]
19491 * manual/conf.texi (Limits on File System Capacity): Mention if
19492 terminating null is included in the max size.
19493
188f0adf
AJ
194942012-12-10 Andreas Jaeger <aj@suse.de>
19495
19496 * po/cs.po: Update from translation team.
19497
56e7d3ad
SP
194982012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19499
19500 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19501 void pointer and cast to uintptr_t.
19502 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19503 path.
19504 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19505 * sysdeps/s390/s390-64/memset.S: Likewise.
19506
76f2d2ea 195072012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19508
19509 [BZ #14833]
19510 * menual/message.texi (Message Translation): Fix typos.
19511 (Helper programs for gettext): Likewise.
19512
67cbf9a2
AS
195132012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19514
19515 [BZ #14898]
19516 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19517 Change to -1.
19518
682d0e9a
DM
195192012-12-07 David S. Miller <davem@davemloft.net>
19520
19521 * po/libc.pot: Update.
19522
573cd484
RH
195232012-12-07 Richard Henderson <rth@redhat.com>
19524
7e9da188 19525 [BZ #10114]
573cd484
RH
19526 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19527 normal/normal case to before the switch.
19528 (_FP_DIV): Likewise.
19529
e933a943
MF
195302012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19531 Mike Frysinger <vapier@gentoo.org>
19532
19533 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19534 check for __NR_fadvise64_64.
19535
82123268
CM
195362012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19537
19538 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19539 0, not just to plain "0" as a statement.
19540 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19541 with cw.
19542
d9814526
JM
195432012-12-06 Joseph Myers <joseph@codesourcery.com>
19544
19545 * NEWS: Use sourceware.org in Bugzilla URL.
19546
7728c574
SP
195472012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19548
f16946dd
SP
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19550 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19551
5704bbcb
SP
19552 * stdio-common/tst-put-error.c (do_test): Add newline to the
19553 padded test to ensure flush.
19554
17aa0516
JL
195552012-12-05 Jeff Law <law@redhat.com>
19556
19557 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19558
363313b5
JM
195592012-12-05 Joseph Myers <joseph@codesourcery.com>
19560
effbd42a
JM
19561 * README: Don't refer to ports add-on as distributed separately.
19562 Mention AArch64 in list of systems supported in the ports add-on.
19563
87600365
JM
19564 * LICENSES: Add more non-FSF copyright and license notices.
19565
a0d7066a
JM
19566 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19567 ((unused)).
19568
66ca5a5b
JM
19569 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19570
363313b5
JM
19571 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19572 10000 as width of padded output.
19573
b37984ad
JM
195742012-12-04 Joseph Myers <joseph@codesourcery.com>
19575
9003570a
JM
19576 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19577
b37984ad
JM
19578 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19579 variable LX with __attribute__ ((unused)).
19580 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19581 Likewise.
19582 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19583 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19585 with __attribute__ ((unused)).
19586
c8df52ec
DM
195872012-12-04 David S. Miller <davem@abraco.davemloft.net>
19588
19589 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19590
b3b099af
JM
195912012-12-04 Joseph Myers <joseph@codesourcery.com>
19592
c33aa6e3
JM
19593 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19594 (CFLAGS-nldbl-acos.c): New variable.
19595 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19596 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19597 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19598 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19599 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19600 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19601 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19602 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19603 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19604 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19605 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19606 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19607 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19608 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19609 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19610 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19611 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19612 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19613 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19614 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19615 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19616 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19617 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19618 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19619 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19620 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19621 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19622 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19623 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19624 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19625 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19626 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19627 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19628 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19629 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19630 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19631 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19632 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19633 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19634 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19635 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19636 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19637 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19638 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19639 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19640 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19641 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19642 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19643 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19644 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19645 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19646 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19647 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19648 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19649 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19650 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19651 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19652 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19653 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19654 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19655 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19656 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19657 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19658 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19659 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19660 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19661 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19662 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19663 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19664 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19665 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19666 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19667 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19668 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19669 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19670 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19671 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19672 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19673 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19674 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19675 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19676 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19677 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19678 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19679 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19680 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19681 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19682 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19683 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19684 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19685 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19686 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19687 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19688 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19689 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19690 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19691 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19692
20f0018d
JM
19693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19694 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19695
b3b099af
JM
19696 [BZ #14914]
19697 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19698 whole low double instead of just low 47 bits when splitting values
19699 into two parts.
19700
029264d1
AM
197012012-12-03 Allan McRae <allan@archlinux.org>
19702
19703 * manual/stdio.texi (Predefined Printf Handlers): Remove
19704 @hsep and @vsep usage.
19705
c9d6789e
MF
197062012-12-03 Mike Frysinger <vapier@gentoo.org>
19707
19708 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19709 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19710
4b7634a5
JL
197112012-12-03 Jeff Law <law@redhat.com>
19712
19713 * time/sys/time.h (settimeofday): Do not mark TV argument
19714 as __nonnull.
19715
eb6cbd24
MF
197162012-12-01 Mike Frysinger <vapier@gentoo.org>
19717
19718 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19719 when currently writing and seek to current position when not.
19720 * libio/Makefile (tests): Remove bug-fclose1.
19721 * libio/bug-fclose1.c: Delete.
19722
f638872a
JM
197232012-12-01 Joseph Myers <joseph@codesourcery.com>
19724
19725 * manual/arith.texi (feenableexcept): Fix typo.
19726 (fedisableexcept): Likewise.
19727
48085d14
RM
197282012-11-30 Roland McGrath <roland@hack.frob.com>
19729
19730 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19731 second, differently-typed declaration, rather than a cast.
19732
1a538b9f
SP
197332012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19734
19735 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19736 * include/rpc/svc.h: ... here.
19737
d07f2ff1 197382012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19739
19740 [BZ #13013]
19741 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19742 depending n and resplen2 to catch cases where answer
19743 equals answerp2.
19744
c93ec1f0
CD
197452012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19746
19747 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19748 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19749
37db69de
MF
197502012-11-29 Mike Frysinger <vapier@gentoo.org>
19751
19752 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19753
e10c4e4f
RM
197542012-11-29 Roland McGrath <roland@hack.frob.com>
19755
19756 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19757
2af1b328
JL
197582012-11-28 Jeff Law <law@redhat.com>
19759
19760 [BZ #13761]
19761 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19762 dataset_temporary. Track alloca usage into alloca_used.
19763 If dataset is large allocate and release it via malloc/free.
19764
111db5b1
FW
197652012-06-04 Florian Weimer <fweimer@redhat.com>
19766
f06cc227 19767 [BZ #14197]
111db5b1
FW
19768 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19769
dd694abd
DM
197702012-11-28 David S. Miller <davem@davemloft.net>
19771
19772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19773
9984dd01
JM
197742012-11-28 Joseph Myers <joseph@codesourcery.com>
19775
19776 [BZ #14803]
19777 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19778 of pi/2 rounded to nearest to 64 bits.
19779 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19780 nearest to 64 bits.
19781 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19782 bits.
19783
14bc93a9
JL
197842012-11-28 Jeff Law <law@redhat.com>
19785 Martin Osvald <mosvald@redhat.com>
19786
19787 [BZ #14889]
19788 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19789 * sunrpc/svc.c: Include time.h.
19790 (__svc_accept_failed): New function.
19791 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19792 any reason other than EINTR, call __svc_accept_failed.
19793 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19794 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19795
e3c6aa3a
AS
197962012-11-28 Andreas Schwab <schwab@suse.de>
19797
19798 * scripts/abilist.awk: Also handle indirect functions in .opd
19799 section.
19800
1bead169
JM
198012012-11-28 Joseph Myers <joseph@codesourcery.com>
19802
19803 [BZ #13881]
19804 * sysdeps/x86/fpu/powl_helper.c: New file.
19805 * sysdeps/x86/fpu/Makefile: Likewise.
19806 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19807 (p3): New object.
19808 (__ieee754_powl): Use __powl_helper for finite arguments except
19809 integer exponents below 8.
19810 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19811 (p3): New object.
19812 (__ieee754_powl): Use __powl_helper for finite arguments except
19813 integer exponents below 8.
19814 * math/libm-test.inc (pow_test): Add more tests and enable some
19815 previously disabled tests.
19816 * sysdeps/i386/fpu/libm-test-ulps: Update.
19817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19818
0817d63d
SP
198192012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19820 Carlos O'Donell <carlos_odonell@mentor.com>
19821
19822 * nss/makedb.c (is_prime): Assert that input is odd and greater
19823 than 4. Note that fact in a comment too.
19824 (next_prime): Add 4 to input.
19825
de2fd463
SP
198262012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19827
19828 [BZ #11741]
19829 * libio/Makefile (tests): Add test case tst-fwrite-error.
19830 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19831 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19832 * libio/tst-fwrite-error.c: New test case.
19833
c515fb51
L
198342012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19835
19836 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19837 before casting to void *.
19838 * include/libc-internal.h (__pointer_type): New macro.
19839 (__integer_if_pointer_type_sub): Likewise.
19840 (__integer_if_pointer_type): Likewise.
19841 (cast_to_integer): Likewise.
19842 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19843 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19844 before casting to atomic64_t.
19845 (atomic_exchange_acq): Likewise.
19846 (__arch_exchange_and_add_body): Likewise.
19847 (__arch_add_body): Likewise.
19848 (atomic_add_negative): Likewise.
19849 (atomic_add_zero): Likewise.
19850
4cf77aa9
JM
198512012-11-26 Joseph Myers <joseph@codesourcery.com>
19852
19853 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19854 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19855 (add_fdes): Likewise.
19856 (linear_search_fdes): Likewise.
19857 (binary_search_unencoded_fdes): Likewise.
19858
d260b3b4
AS
198592012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19860
19861 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19862
67060746
AC
198632012-11-24 Adam Conrad <adconrad@0c3.net>
19864
19865 * configure.in: Autodetect C++ header directories.
19866 * configure: Regenerated.
19867
800938a1
MF
198682012-11-23 Mike Frysinger <vapier@gentoo.org>
19869
19870 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19871
4e6e34e6
AS
198722012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19873
19874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19875
7c7feb47
JM
198762012-11-22 Joseph Myers <joseph@codesourcery.com>
19877
7184dcdf
JM
19878 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19879 LDBL_MANT_DIG == 106]: Disable some tests.
19880 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19881 Likewise.
19882 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19883 Likewise.
19884
0a42601f
JM
19885 [BZ #14871]
19886 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19887 input for small inputs. Return +/- pi/2 for large inputs.
19888 * math/libm-test.inc (atan_test): Add more tests.
19889
79c9b9fe
JM
19890 * sysdeps/generic/unwind-dw2-fde-glibc.c
19891 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19892 __attribute__ ((unused)).
19893
c60d3bf2
JM
19894 [BZ #14645]
19895 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19896 x * y if x and y are nonzero and z is zero.
19897
ef1e0867
JM
19898 [BZ #14811]
19899 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19900 nonzero exponents with absolute value below 0x1p-117 to +/-
19901 0x1p-117.
19902
1468ded3
JM
19903 [BZ #14869]
19904 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19905 up arguments below 2**-450, not just those below 2**-500.
19906 * math/libm-test.inc (hypot_test): Add another test.
19907
8e27e3cc
JM
19908 [BZ #14868]
19909 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19910 Return a+b for ratio over 2**120, not 2**60.
19911 * math/libm-test.inc (hypot_test): Add another test.
19912
c9c0279b
JM
19913 * math/libm-test.inc (clog_test): Use
19914 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19915 (clog10_test): Likewise.
19916
7c7feb47
JM
19917 [BZ #6778]
19918 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19919
fff1530e
AS
199202012-11-22 Andreas Schwab <schwab@suse.de>
19921
19922 * sysdeps/i386/fpu/libm-test-ulps: Update.
19923
94558d30
PT
199242012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19925
19926 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19927 printf output with newline.
19928
7e1be741
L
199292012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19930
6bfea974
L
19931 [BZ #14865]
19932 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19933 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19934 -z nodlopen, -z initfirst and -z execstack support.
19935 * configure: Regenerated.
19936
7e1be741
L
19937 * elf/elf.h (DF_1_NODIRECT): New macro.
19938 (DF_1_IGNMULDEF): Likewise.
19939 (DF_1_NOKSYMS): Likewise.
19940 (DF_1_NOHDR): Likewise.
19941 (DF_1_EDITED): Likewise.
19942 (DF_1_NORELOC): Likewise.
19943 (DF_1_SYMINTPOSE): Likewise.
19944 (DF_1_GLOBAUDIT): Likewise.
19945 (DF_1_SINGLETON): Likewise.
19946 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19947 DT_1_SUPPORTED_MASK bits.
19948 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19949
105ce2ce
CD
199502012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19951
19952 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19953
123be9de
TS
199542012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19955
d072f3f7
TS
19956 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19957 macro.
19958
123be9de
TS
19959 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19960 (sendmmsg): Move declarations...
19961 * socket/sys/socket.h: ... here.
19962 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19963 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19964 include it from...
19965 * socket/recvmmsg.c: ... this new file.
19966 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19967 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19968 definition of __sendmmsg hidden.
19969 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19970 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19971 Move ENOSYS stub into and include it from...
19972 * socket/sendmmsg.c: ... this new file.
19973 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19974 (sysdep_routines): Move recvmmsg and sendmmsg...
19975 * socket/Makefile (routines): ... here.
19976 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19977 (GLIBC_PRIVATE): Add __sendmmsg.
19978 * include/sys/socket.h (__sendmmsg): Add declarations.
19979 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19980 sendmmsg.
19981
cf9a5d18
JM
199822012-11-20 Joseph Myers <joseph@codesourcery.com>
19983
19984 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19985 variable I1 with __attribute__ ((unused)).
19986 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19987
ecd4caf9
JM
199882012-11-19 Joseph Myers <joseph@codesourcery.com>
19989
be14d48f
JM
19990 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19991 DUMMY variables with __attribute__ ((unused)).
19992
ecd4caf9
JM
19993 * bits/byteswap.h: Include <bits/types.h>.
19994 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19995
986cab95
PT
199962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19997
19998 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19999 string_t. Do not manually set errno.
20000 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20001 length with __strnlen. Make sure to both set errno and return it on
20002 failure.
20003
6d33cc9d
DM
200042012-11-19 David S. Miller <davem@davemloft.net>
20005
20006 With help from Joseph Myers.
20007 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20008 very large arguments properly.
20009 * math/libm-test.inc (atan_test): New tests.
20010 (atan2_test): New tests.
20011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20013
ee663277
JM
200142012-11-19 Joseph Myers <joseph@codesourcery.com>
20015
877f2d8e
JM
20016 [BZ #14856]
20017 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20018 Define to 3.
20019
116fc08a
JM
20020 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20021 [POSIX] (EADDRNOTAVAIL): Likewise.
20022 [POSIX] (EAFNOSUPPORT): Likewise.
20023 [POSIX] (EALREADY): Likewise.
20024 [POSIX] (ECONNABORTED): Likewise.
20025 [POSIX] (ECONNREFUSED): Likewise.
20026 [POSIX] (ECONNRESET): Likewise.
20027 [POSIX] (EDESTADDRREQ): Likewise.
20028 [POSIX] (EDQUOT): Likewise.
20029 [POSIX] (EHOSTUNREACH): Likewise.
20030 [POSIX] (EIDRM): Likewise.
20031 [POSIX] (EISCONN): Likewise.
20032 [POSIX] (ELOOP): Likewise.
20033 [POSIX] (EMULTIHOP): Likewise.
20034 [POSIX] (ENETDOWN): Likewise.
20035 [POSIX] (ENETUNREACH): Likewise.
20036 [POSIX] (ENOBUFS): Likewise.
20037 [POSIX] (ENODATA): Likewise.
20038 [POSIX] (ENOLINK): Likewise.
20039 [POSIX] (ENOMSG): Likewise.
20040 [POSIX] (ENOPROTOOPT): Likewise.
20041 [POSIX] (ENOSR): Likewise.
20042 [POSIX] (ENOSTR): Likewise.
20043 [POSIX] (ENOTCONN): Likewise.
20044 [POSIX] (ENOTSOCK): Likewise.
20045 [POSIX] (EOPNOTSUPP): Likewise.
20046 [POSIX] (EOVERFLOW): Likewise.
20047 [POSIX] (EPROTO): Likewise.
20048 [POSIX] (EPROTONOSUPPORT): Likewise.
20049 [POSIX] (EPROTOTYPE): Likewise.
20050 [POSIX] (ESTALE): Likewise.
20051 [POSIX] (ETIME): Likewise.
20052 [POSIX] (ETXTBSY): Likewise.
20053 [POSIX] (EWOULDBLOCK): Likewise.
20054 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20055 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20056 [POSIX] (SEEK_CUR): Likewise.
20057 [POSIX] (SEEK_END): Likewise.
20058 [POSIX || UNIX98] (mode_t): Do not require.
20059 [POSIX] (off_t): Likewise.
20060 [POSIX] (pid_t): Likewise.
20061 [POSIX] (sys/stat.h): Do not allow header.
20062 [POSIX] (unistd.h): Likewise.
20063 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20064 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20065 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20066 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20067 require.
20068 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20069 sigevent): Specify elements.
20070 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20071 entry.
20072 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20073 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20074
a483863f
JM
20075 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20076 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20077 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20078 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20079 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20080 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20081 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20082 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20083 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20084 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20085 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20086 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20087 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20088 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20089 Likewise.
20090 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20091 Likewise.
20092 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20093 Likewise.
20094 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20095 Likewise.
20096 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20097 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20098 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20099 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20100 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20101 Specify lower bound on value.
20102 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20103 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20104 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20105 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20106 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20107 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20108 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20109 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20110 value.
20111 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20112 as optional.
20113 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20114 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20115 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20116 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20117 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20118 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20119 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20120 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20121 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20122 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20123 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20124 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20125 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20126 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20127 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20128 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20129 entry.
20130 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20131 optional.
20132 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20133 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20134 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20135 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20136 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20137 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20138 Likewise.
20139 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20140 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20141 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20142 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20143 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20144 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20145 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20146 as optional.
20147 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20148 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20149 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20150 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20151 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20152 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20153 specify as optional.
20154 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20155 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20156 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20157 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20158 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20159 [XPG3] (NL_LANGMAX): Likewise.
20160 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20161 [POSIX || XPG3] (NL_NMAX): Likewise.
20162 [POSIX || XPG3] (NL_SETMAX): Likewise.
20163 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20164 [XPG3] (NZERO): Likewise.
20165 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20166 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20167 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20168 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20169 (REG_ERANGE): Expect.
20170 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20171 optional-constant.
20172 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20173 Use (void) in prototype.
20174 [POSIX] (*_t): Allow.
20175 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20176 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20177 (WRDE_BADVAL): Expect.
20178
5ba924e3
JM
20179 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20180 expect.
20181 [XPG3 || XPG4] (O_RSYNC): Likewise.
20182 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20183 Likewise.
20184 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20185 [XPG3 || XPG4] (sigqueue): Likewise.
20186 [XPG3 || XPG4] (sigtimedwait): Likewise.
20187 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20188 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20189 [XPG3 || XPG4] (vsnprintf): Likewise.
20190 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20191 Likewise.
20192 [XPG3 || XPG4] (blksize_t): Likewise.
20193 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20194 Likewise.
20195 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20196 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20197 [XPG3 || XPG4] (struct itimerspec): Likewise.
20198 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20199 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20200 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20201 [XPG3 || XPG4] (clockid_t): Likewise.
20202 [XPG3 || XPG4] (timer_t): Likewise.
20203 [XPG3 || XPG4] (clock_getres): Likewise.
20204 [XPG3 || XPG4] (clock_gettime): Likewise.
20205 [XPG3 || XPG4] (clock_settime): Likewise.
20206 [XPG3 || XPG4] (nanosleep): Likewise.
20207 [XPG3 || XPG4] (timer_create): Likewise.
20208 [XPG3 || XPG4] (timer_delete): Likewise.
20209 [XPG3 || XPG4] (timer_gettime): Likewise.
20210 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20211 [XPG3 || XPG4] (timer_settime): Likewise.
20212 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20213 [XPG3 || XPG4] (getlogin_r): Likewise.
20214 [XPG3 || XPG4] (pread): Likewise.
20215 [XPG3 || XPG4] (pthread_atfork): Likewise.
20216 [XPG3 || XPG4] (pwrite): Likewise.
20217
ee663277
JM
20218 [BZ #14835]
20219 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20220 <bits/siginfo.h>.
20221
942caa16
PT
202222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20223
e19af380
PT
20224 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20225 finalizing MALLSTREAM.
20226
942caa16
PT
20227 * sysdeps/mach/hurd/syncfs.c: New file.
20228
cfde9b46
SP
202292012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20230
20231 [BZ #14719]
20232 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20233 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20234 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20235 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20236 (_nss_dns_gethostbyname4_r): Likewise.
20237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20238 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20239
f6da27e5
PH
202402012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20241
20242 [BZ #13763]
20243 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20244
6665d4a2
SM
202452012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20246
1f51ee92
SM
20247 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20248 * elf/cache.c (print_entry): Print ",AArch64" for
20249 FLAG_AARCH64_LIB64
20250
6665d4a2
SM
20251 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20252 * elf/cache.c (print_entry): Print ",hard-float" for
20253 FLAG_ARM_LIBHF.
20254
05b227bd
DM
202552012-11-18 David S. Miller <davem@davemloft.net>
20256
20257 With help from Joseph Myers.
20258 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20259 cutoff to 2**-13.
20260 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20261 cutoff to 2**-25.
20262 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20263 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20264 small.
20265 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20266 * math/libm-test.inc (y0_test): New tests.
20267 (y1_test): New tests.
20268 * sysdeps/i386/fpu/libm-test-ulps: Update.
20269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20271
786b0b67
AS
202722012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20273
20274 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20275 64-bit targets.
20276 * configure: Regenerated.
20277
8e18b86d
DM
202782012-11-17 David S. Miller <davem@davemloft.net>
20279
20280 [BZ #14811]
20281 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20282 nonzero exponents with absolute value below 0x1p-128 to +/-
20283 0x1p-128.
20284
531f1ae0
JM
202852012-11-17 Joseph Myers <joseph@codesourcery.com>
20286
12df29e2
JM
20287 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20288
150dc1a0
JM
20289 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20290
531f1ae0
JM
20291 * posix/getconf-speclist.c: New file.
20292 * posix/posix-envs.def: Likewise.
20293 * posix/confstr.c (START_ENV_GROUP): New macro.
20294 (END_ENV_GROUP): Likewise.
20295 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20296 (KNOWN_PRESENT_ENV_STRING): Likewise.
20297 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20298 (UNKNOWN_ENVIRONMENT): Likewise.
20299 (confstr): Include posix-envs.def instead of handling
20300 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20301 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20302 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20303 (END_ENV_GROUP): Likewise.
20304 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20305 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20306 (UNKNOWN_ENVIRONMENT): Likewise.
20307 (__sysconf): Include posix-envs.def instead of handling associated
20308 cases directly here.
20309 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20310 preprocessing getconf-speclist.c rather than running getconf or
20311 generating empty file.
20312
a93f9cbc
PT
203132012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20314
20315 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20316
d64d9f87
AL
203172012-11-16 Andrej Lajovic <natrij@gmail.com>
20318
20319 [BZ #14672]
20320 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20321
447885eb
DM
203222012-11-16 David S. Miller <davem@davemloft.net>
20323
20324 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20325 smaller than LDBL_EPSILON/2.0L, just return xm1.
20326
bcbf9830
L
203272012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20328
20329 * elf/tst-array1.c (init): Set constructor priority to 1000.
20330 (fini): Set destructor priority to 1000.
20331 * elf/tst-array2dep.c: Likewise.
20332
2b766585
SP
203332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20334
20335 [BZ #11741]
20336 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20337 (_IO_new_file_xsputn): Also return EOF if none of the input
20338 data was written when overflow failed.
20339 * libio/iopadn.c (_IO_padn): Likewise.
20340 * libio/iowpadn.c (_IO_wpadn): Likewise.
20341 * stdio-common/tst-put-error.c: Add copyright notice.
20342 (do_test): Add case for printing padded string.
20343 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20344 _IO_padn returned error.
20345 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20346 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20347 return EOF.
20348
b1848fde
SP
203492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20350
20351 * libio/libioP.h: Add comment note that the references to C++
20352 bits are now obsolete.
20353
2fd89785
MS
203542012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20355
20356 * math/libm-test.inc (check_complex): Use asprintf.
20357
e3ea5409
JM
203582012-11-14 Joseph Myers <joseph@codesourcery.com>
20359
20360 * debug/pcprofiledump.c (print_version): Update copyright year.
20361 * malloc/memusagestat.c (print_version): Likewise.
20362
2e64d265
L
203632012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20364
20365 [BZ #14831]
20366 * elf/Makefile (tests): Add tst-audit8.
20367 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20368 ($(objpfx)tst-audit8.out): New target.
20369 (tst-audit8-ENV): New variable.
20370 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20371 audit if l_reloc_result is NULL.
20372 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20373 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20374 * elf/tst-audit8.c: New file.
20375
c485e4d2
MS
203762012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20377
20378 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20379 * misc/Makefile (CFLAGS-select.c): Define.
20380 * posix/Makefile (CFLAGS-pause.c): Define.
20381
3a0d900a
DM
203822012-11-13 David S. Miller <davem@davemloft.net>
20383
20384 * crypt/Makefile: Move test targets after toplevel Rules
20385 inclusion. Grab any necessary sysdep routines when linking.
20386 * crypt/md5.c (md5_process_block): Remove define, we will always
20387 name it __md5_process_block.
20388 (md5_finish_ctx): Update md5_process_block call.
20389 (md5_stream): Likewise.
20390 (md5_process_bytes): Likewise.
20391 (md5_process_block): Rename to __md5_process_block and move to ...
20392 * crypt/md5-block.c: ... here.
20393 * crypt/sha256.c (sha256_process_block): Move to ...
20394 * crypt/sha256-block.c: ... here.
20395 * crypt/sha512.c (sha512_process_block): Move to ...
20396 * crypt/sha512-block.c: ... here.
20397 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20398 path.
20399 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20400 * sysdeps/sparc/sparc64/multiarch/Makefile
20401 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20402 crypt subdir.
20403 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20404 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20405 multiarch changes.
20406 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20407 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20408 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20409 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20410 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20411 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20412 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20413 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20414 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20415 file.
20416 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20417 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20418 file.
20419 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20420
8ca89318
JM
204212012-11-13 Joseph Myers <joseph@codesourcery.com>
20422
e27d476a
JM
20423 * timezone/tzselect.ksh: Update from tzcode git revision
20424 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20425 * timezone/zdump.c: Likewise.
20426 * timezone/zic.c: Likewise.
20427 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20428 in TZVERSION setting, not $(PKGVERSION).
20429 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20430 REPORT_BUGS_TO settings.
20431
8ca89318
JM
20432 [BZ #14838]
20433 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20434 macro.
20435
47594329
MS
204362012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20437
20438 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20439 detection to immediately after _FP_ROUND().
20440 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20441 bits are 0.
20442
640ac3f1
DM
204432012-11-11 David S. Miller <davem@davemloft.net>
20444
20445 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20446 inttypes.h
20447 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20448 __close rather than their public counterparts.
20449
3d2577bb
JM
204502012-11-10 Joseph Myers <joseph@codesourcery.com>
20451
20452 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20453 file.
20454 [UNIX98] (sem_timedwait): Do not expect.
20455 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20456 [XPG4 || UNIX98] (sockatmark): Do not expect.
20457 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20458 (clock_getcpuclockid): Do not expect.
20459 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20460 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20461 Do not expect.
20462 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20463 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20464 [UNIX98] (vwscanf): Likewise.
20465 [UNIX98] (vswscanf): Likewise.
20466
fb1ae1ee
JM
204672012-11-09 Joseph Myers <joseph@codesourcery.com>
20468
9ec6f8bd
JM
20469 * timezone/version.h: Remove file.
20470 * timezone/README: Do not refer to version.h.
20471 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20472 $(objpfx)version.h.
20473 ($(objpfx)zdump.o): Likewise.
c3f81911 20474 ($(objpfx)version.h): New target.
9ec6f8bd 20475
0aa8f8a1
JM
20476 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20477 2012i.
20478 * timezone/README: Don't mention modification to tzselect.ksh.
20479 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20480 work on unmodified tzselect.ksh. Substitute version numbers in
20481 tzselect.ksh.
20482
4e87147f
JM
20483 * Makefile (format-me): Remove.
20484 (INSTALL): Adjust indentation. Use commands directly instead of
20485 using $(format-me).
20486
8b748aed
JM
20487 * aclocal.m4 (ACX_PKGVERSION): New macro.
20488 (ACX_BUGURL): Likewise.
20489 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20490 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20491 (REPORT_BUGS_TO): Likewise.
20492 * configure: Regenerated.
20493 * config.h.in (PKGVERSION): New macro.
20494 (REPORT_BUGS_TO): Likewise.
20495 * config.make.in (PKGVERSION): New variable.
20496 (PKGVERSION_TEXI): Likewise.
20497 (REPORT_BUGS_TO): Likewise.
20498 (REPORT_BUGS_TEXI): Likewise.
20499 * Makefile (format-me): Use -I$(common-objpfx)manual.
20500 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20501 ($(common-objpfx)manual/%): New target.
20502 (manual/%): Remove target.
20503 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20504 (print_version): Use PKGVERSION.
20505 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20506 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20507 and REPORT_BUGS_TO.
20508 ($(objpfx)xtrace): Likewise.
20509 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20510 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20511 (print_version): Use PKGVERSION.
20512 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20513 (do_version): Use PKGVERSION.
20514 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20515 REPORT_BUGS_TO.
20516 (common-ldd-rewrite): Likewise.
20517 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20518 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20519 (print_version): Use PKGVERSION.
20520 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20521 * elf/pldd.c (argp_program_bug_address): Remove variable.
20522 (more_help): New function.
20523 (argp): Use more_help.
20524 (print_version): Use PKGVERSION.
20525 * elf/sln.c (main): Use PKGVERSION.
20526 (usage): Use REPORT_BUGS_TO.
20527 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20528 (top level): Use PKGVERSION.
20529 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20530 (print_version): Use PKGVERSION.
20531 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20532 (print_version): Use PKGVERSION.
20533 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20534 (print_version): Use PKGVERSION.
20535 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20536 (print_version): Use PKGVERSION.
20537 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20538 (print_version): Use PKGVERSION.
20539 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20540 (print_version): Use PKGVERSION.
20541 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20542 and BUGURL.
20543 ($(objpfx)memusage): Likewise.
20544 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20545 (do_version): Use PKGVERSION.
20546 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20547 (print_version): Use PKGVERSION.
20548 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20549 ($PKGVERSION): New variable.
20550 ($REPORT_BUGS_TO): Likewise.
20551 (usage): Use $REPORT_BUGS_TO.
20552 (top level): Use $PKGVERSION.
20553 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20554 ($(objpfx)pkgvers.texi): New rule.
20555 ($(objpfx)stamp-pkgvers): Likewise.
20556 * manual/install.texi: Include pkgvers.texi.
20557 (--with-pkgversion): Document new configure option.
20558 (--with-bugurl): Likewise.
20559 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20560 than necessarily for this particular distribution. Use
20561 REPORT_BUGS_TO for where to report bugs.
20562 * INSTALL: Regenerated.
20563 * manual/libc.texinfo: Include pkgvers.texi.
20564 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20565 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20566 (print_version): Use PKGVERSION.
20567 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20568 (print_version): Use PKGVERSION.
20569 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20570 (print_version): Use PKGVERSION.
20571 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20572 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20573 macro.
20574 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20575 (print_version): Use PKGVERSION.
20576 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20577 (print_version): Use PKGVERSION.
20578 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20579 and PKGVERSION.
20580
92e4b6a9
JM
20581 * timezone/checktab.awk: Update from tzcode 2012i.
20582 * timezone/ialloc.c: Likewise.
20583 * timezone/private.h: Likewise.
20584 * timezone/scheck.c: Likewise.
20585 * timezone/tzfile.h: Likewise.
20586 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20587 (TZVERSION): Hardcode tzcode version number.
20588 * timezone/zdump.c: Update from tzcode 2012i.
20589 * timezone/zic.c: Likewise.
20590 * timezone/version.h: New file.
20591 * timezone/README: Describe version.h. Update upstream location.
20592
9bde902c
JM
20593 [BZ #14824]
20594 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20595 (mktemp): Enable declaration.
20596 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20597 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20598 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20599 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20600 Likewise.
20601 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20602 Likewise.
20603 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20604 Likewise.
20605 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20606 Likewise.
20607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20608 Likewise.
20609 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20610 Likewise.
20611
fb1ae1ee
JM
20612 [BZ #14821]
20613 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20614 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20615 for copies of such integer values.
20616 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20617 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20618
2c1adbcb
AJ
206192012-11-09 Andreas Jaeger <aj@suse.de>
20620
20621 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20622 definitions and declarations that are provided by
20623 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20624
d0f8457e
AK
206252012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20626
3a235abb 20627 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20628 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20629 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20630 definition.
20631
57241e26
MS
206322012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20633
20634 * elf/elf.h: Update comment before AArch64 relocations.
20635
60e8270d
DM
206362012-11-07 David S. Miller <davem@davemloft.net>
20637
20638 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20639 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20640 (__start_context): Declare.
20641 (__makecontext_ret): Delete.
20642 (__makecontext): Hook up __start_context instead of
20643 __makecontext_ret.
20644 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20645 (sysdep_routines): Add __start_context when in stdlib.
20646
0fbb0fbc
JM
206472012-11-07 Joseph Myers <joseph@codesourcery.com>
20648
20649 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20650 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20651 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20652 hardcoded "nm".
20653 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20654 (READELF): New variable. Use it instead of hardcoded "readelf".
20655
eb48db7e
L
206562012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20657
20658 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20659 * sysdeps/x86/Makefile: Here.
20660 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20661 * sysdeps/x86/tst-xmmymm.sh: This.
20662
05bcf62a
JM
206632012-11-07 Joseph Myers <joseph@codesourcery.com>
20664
c4b6cf53
JM
20665 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20666 expectations.
20667 [UNIX98] (pthread_barrier_t): Do not expect.
20668 [UNIX98] (pthread_barrierattr_t): Likewise.
20669 [UNIX98] (pthread_spinlock_t): Likewise.
20670 [UNIX98] (pthread_barrier_destroy): Likewise.
20671 [UNIX98] (pthread_barrier_init): Likewise.
20672 [UNIX98] (pthread_barrier_wait): Likewise.
20673 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20674 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20675 [UNIX98] (pthread_barrierattr_init): Likewise.
20676 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20677 [UNIX98] (pthread_getcpuclockid): Likewise.
20678 [UNIX98] (pthread_mutex_timedlock): Likewise.
20679 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20680 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20681 [UNIX98] (pthread_sigmask): Likewise.
20682 [UNIX98] (pthread_spin_destroy): Likewise.
20683 [UNIX98] (pthread_spin_init): Likewise.
20684 [UNIX98] (pthread_spin_lock): Likewise.
20685 [UNIX98] (pthread_spin_trylock): Likewise.
20686 [UNIX98] (pthread_spin_unlock): Likewise.
20687 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20688 Do not expect.
20689 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20690 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20691 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20692 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20693 [XPG3 || XPG4] (pthread_key_t): Likewise.
20694 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20695 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20696 [XPG3 || XPG4] (pthread_once_t): Likewise.
20697 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20698 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20699 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20700 [XPG3 || XPG4] (pthread_t): Likewise.
20701
cbe6e120
JM
20702 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20703 not expect.
20704 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20705
1b126443
JM
20706 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20707 Change function return type to int.
20708
b961a573
JM
20709 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20710 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20711 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20712 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20713 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20714 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20715 [!POSIX] (posix_madvise): Likewise.
20716 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20717 && !UNIX98].
20718 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20719 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20720 (mode_t): Likewise.
20721 (posix_mem_offset): Likewise.
20722 (posix_typed_mem_get_info): Likewise.
20723 (posix_typed_mem_open): Likewise.
20724
9e188909
JM
20725 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20726 Change condition to [XOPEN2K8].
20727
05bcf62a
JM
20728 * conform/conformtest.pl: Preprocess allow-header data with -x c
20729 instead of from stdin.
20730 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20731 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20732 [C99-based standards] (cerfc): Likewise.
20733 [C99-based standards] (cexp2): Likewise.
20734 [C99-based standards] (cexpm1): Likewise.
20735 [C99-based standards] (clog10): Likewise.
20736 [C99-based standards] (clog1p): Likewise.
20737 [C99-based standards] (clog2): Likewise.
20738 [C99-based standards] (clgamma): Likewise.
20739 [C99-based standards] (ctgamma): Likewise.
20740 [C99-based standards] (cerff): Likewise.
20741 [C99-based standards] (cerfcf): Likewise.
20742 [C99-based standards] (cexp2f): Likewise.
20743 [C99-based standards] (cexpm1f): Likewise.
20744 [C99-based standards] (clog10f): Likewise.
20745 [C99-based standards] (clog1pf): Likewise.
20746 [C99-based standards] (clog2f): Likewise.
20747 [C99-based standards] (clgammaf): Likewise.
20748 [C99-based standards] (ctgammaf): Likewise.
20749 [C99-based standards] (cerfl): Likewise.
20750 [C99-based standards] (cerfcl): Likewise.
20751 [C99-based standards] (cexp2l): Likewise.
20752 [C99-based standards] (cexpm1l): Likewise.
20753 [C99-based standards] (clog10l): Likewise.
20754 [C99-based standards] (clog1pl): Likewise.
20755 [C99-based standards] (clog2l): Likewise.
20756 [C99-based standards] (clgammal): Likewise.
20757 [C99-based standards] (ctgammal): Likewise.
20758 * conform/data/inttypes.h-data [C99-based standards]: Include
20759 stdint.h-data. Remove all expectations for stdint.h contents.
20760 [C99-based standards] (PRI*): Do not allow.
20761 [C99-based standards] (SCN*): Likewise.
20762 [C99-based standards] (*_t): Likewise.
20763 [C99-based-standards] (PRId8): Expect macro.
20764 [C99-based-standards] (PRIi8): Likewise.
20765 [C99-based-standards] (PRIo8): Likewise.
20766 [C99-based-standards] (PRIu8): Likewise.
20767 [C99-based-standards] (PRIx8): Likewise.
20768 [C99-based-standards] (PRIX8): Likewise.
20769 [C99-based-standards] (SCNd8): Likewise.
20770 [C99-based-standards] (SCNi8): Likewise.
20771 [C99-based-standards] (SCNo8): Likewise.
20772 [C99-based-standards] (SCNu8): Likewise.
20773 [C99-based-standards] (SCNx8): Likewise.
20774 [C99-based-standards] (PRIdLEAST8): Likewise.
20775 [C99-based-standards] (PRIiLEAST8): Likewise.
20776 [C99-based-standards] (PRIoLEAST8): Likewise.
20777 [C99-based-standards] (PRIuLEAST8): Likewise.
20778 [C99-based-standards] (PRIxLEAST8): Likewise.
20779 [C99-based-standards] (PRIXLEAST8): Likewise.
20780 [C99-based-standards] (SCNdLEAST8): Likewise.
20781 [C99-based-standards] (SCNiLEAST8): Likewise.
20782 [C99-based-standards] (SCNoLEAST8): Likewise.
20783 [C99-based-standards] (SCNuLEAST8): Likewise.
20784 [C99-based-standards] (SCNxLEAST8): Likewise.
20785 [C99-based-standards] (PRIdFAST8): Likewise.
20786 [C99-based-standards] (PRIiFAST8): Likewise.
20787 [C99-based-standards] (PRIoFAST8): Likewise.
20788 [C99-based-standards] (PRIuFAST8): Likewise.
20789 [C99-based-standards] (PRIxFAST8): Likewise.
20790 [C99-based-standards] (PRIXFAST8): Likewise.
20791 [C99-based-standards] (SCNdFAST8): Likewise.
20792 [C99-based-standards] (SCNiFAST8): Likewise.
20793 [C99-based-standards] (SCNoFAST8): Likewise.
20794 [C99-based-standards] (SCNuFAST8): Likewise.
20795 [C99-based-standards] (SCNxFAST8): Likewise.
20796 [C99-based-standards] (PRId16): Likewise.
20797 [C99-based-standards] (PRIi16): Likewise.
20798 [C99-based-standards] (PRIo16): Likewise.
20799 [C99-based-standards] (PRIu16): Likewise.
20800 [C99-based-standards] (PRIx16): Likewise.
20801 [C99-based-standards] (PRIX16): Likewise.
20802 [C99-based-standards] (SCNd16): Likewise.
20803 [C99-based-standards] (SCNi16): Likewise.
20804 [C99-based-standards] (SCNo16): Likewise.
20805 [C99-based-standards] (SCNu16): Likewise.
20806 [C99-based-standards] (SCNx16): Likewise.
20807 [C99-based-standards] (PRIdLEAST16): Likewise.
20808 [C99-based-standards] (PRIiLEAST16): Likewise.
20809 [C99-based-standards] (PRIoLEAST16): Likewise.
20810 [C99-based-standards] (PRIuLEAST16): Likewise.
20811 [C99-based-standards] (PRIxLEAST16): Likewise.
20812 [C99-based-standards] (PRIXLEAST16): Likewise.
20813 [C99-based-standards] (SCNdLEAST16): Likewise.
20814 [C99-based-standards] (SCNiLEAST16): Likewise.
20815 [C99-based-standards] (SCNoLEAST16): Likewise.
20816 [C99-based-standards] (SCNuLEAST16): Likewise.
20817 [C99-based-standards] (SCNxLEAST16): Likewise.
20818 [C99-based-standards] (PRIdFAST16): Likewise.
20819 [C99-based-standards] (PRIiFAST16): Likewise.
20820 [C99-based-standards] (PRIoFAST16): Likewise.
20821 [C99-based-standards] (PRIuFAST16): Likewise.
20822 [C99-based-standards] (PRIxFAST16): Likewise.
20823 [C99-based-standards] (PRIXFAST16): Likewise.
20824 [C99-based-standards] (SCNdFAST16): Likewise.
20825 [C99-based-standards] (SCNiFAST16): Likewise.
20826 [C99-based-standards] (SCNoFAST16): Likewise.
20827 [C99-based-standards] (SCNuFAST16): Likewise.
20828 [C99-based-standards] (SCNxFAST16): Likewise.
20829 [C99-based-standards] (PRId32): Likewise.
20830 [C99-based-standards] (PRIi32): Likewise.
20831 [C99-based-standards] (PRIo32): Likewise.
20832 [C99-based-standards] (PRIu32): Likewise.
20833 [C99-based-standards] (PRIx32): Likewise.
20834 [C99-based-standards] (PRIX32): Likewise.
20835 [C99-based-standards] (SCNd32): Likewise.
20836 [C99-based-standards] (SCNi32): Likewise.
20837 [C99-based-standards] (SCNo32): Likewise.
20838 [C99-based-standards] (SCNu32): Likewise.
20839 [C99-based-standards] (SCNx32): Likewise.
20840 [C99-based-standards] (PRIdLEAST32): Likewise.
20841 [C99-based-standards] (PRIiLEAST32): Likewise.
20842 [C99-based-standards] (PRIoLEAST32): Likewise.
20843 [C99-based-standards] (PRIuLEAST32): Likewise.
20844 [C99-based-standards] (PRIxLEAST32): Likewise.
20845 [C99-based-standards] (PRIXLEAST32): Likewise.
20846 [C99-based-standards] (SCNdLEAST32): Likewise.
20847 [C99-based-standards] (SCNiLEAST32): Likewise.
20848 [C99-based-standards] (SCNoLEAST32): Likewise.
20849 [C99-based-standards] (SCNuLEAST32): Likewise.
20850 [C99-based-standards] (SCNxLEAST32): Likewise.
20851 [C99-based-standards] (PRIdFAST32): Likewise.
20852 [C99-based-standards] (PRIiFAST32): Likewise.
20853 [C99-based-standards] (PRIoFAST32): Likewise.
20854 [C99-based-standards] (PRIuFAST32): Likewise.
20855 [C99-based-standards] (PRIxFAST32): Likewise.
20856 [C99-based-standards] (PRIXFAST32): Likewise.
20857 [C99-based-standards] (SCNdFAST32): Likewise.
20858 [C99-based-standards] (SCNiFAST32): Likewise.
20859 [C99-based-standards] (SCNoFAST32): Likewise.
20860 [C99-based-standards] (SCNuFAST32): Likewise.
20861 [C99-based-standards] (SCNxFAST32): Likewise.
20862 [C99-based-standards] (PRId64): Likewise.
20863 [C99-based-standards] (PRIi64): Likewise.
20864 [C99-based-standards] (PRIo64): Likewise.
20865 [C99-based-standards] (PRIu64): Likewise.
20866 [C99-based-standards] (PRIx64): Likewise.
20867 [C99-based-standards] (PRIX64): Likewise.
20868 [C99-based-standards] (SCNd64): Likewise.
20869 [C99-based-standards] (SCNi64): Likewise.
20870 [C99-based-standards] (SCNo64): Likewise.
20871 [C99-based-standards] (SCNu64): Likewise.
20872 [C99-based-standards] (SCNx64): Likewise.
20873 [C99-based-standards] (PRIdLEAST64): Likewise.
20874 [C99-based-standards] (PRIiLEAST64): Likewise.
20875 [C99-based-standards] (PRIoLEAST64): Likewise.
20876 [C99-based-standards] (PRIuLEAST64): Likewise.
20877 [C99-based-standards] (PRIxLEAST64): Likewise.
20878 [C99-based-standards] (PRIXLEAST64): Likewise.
20879 [C99-based-standards] (SCNdLEAST64): Likewise.
20880 [C99-based-standards] (SCNiLEAST64): Likewise.
20881 [C99-based-standards] (SCNoLEAST64): Likewise.
20882 [C99-based-standards] (SCNuLEAST64): Likewise.
20883 [C99-based-standards] (SCNxLEAST64): Likewise.
20884 [C99-based-standards] (PRIdFAST64): Likewise.
20885 [C99-based-standards] (PRIiFAST64): Likewise.
20886 [C99-based-standards] (PRIoFAST64): Likewise.
20887 [C99-based-standards] (PRIuFAST64): Likewise.
20888 [C99-based-standards] (PRIxFAST64): Likewise.
20889 [C99-based-standards] (PRIXFAST64): Likewise.
20890 [C99-based-standards] (SCNdFAST64): Likewise.
20891 [C99-based-standards] (SCNiFAST64): Likewise.
20892 [C99-based-standards] (SCNoFAST64): Likewise.
20893 [C99-based-standards] (SCNuFAST64): Likewise.
20894 [C99-based-standards] (SCNxFAST64): Likewise.
20895 [C99-based-standards] (PRIdMAX): Likewise.
20896 [C99-based-standards] (PRIiMAX): Likewise.
20897 [C99-based-standards] (PRIoMAX): Likewise.
20898 [C99-based-standards] (PRIuMAX): Likewise.
20899 [C99-based-standards] (PRIxMAX): Likewise.
20900 [C99-based-standards] (PRIXMAX): Likewise.
20901 [C99-based-standards] (SCNdMAX): Likewise.
20902 [C99-based-standards] (SCNiMAX): Likewise.
20903 [C99-based-standards] (SCNoMAX): Likewise.
20904 [C99-based-standards] (SCNuMAX): Likewise.
20905 [C99-based-standards] (SCNxMAX): Likewise.
20906 [C99-based-standards] (PRIdPTR): Likewise.
20907 [C99-based-standards] (PRIiPTR): Likewise.
20908 [C99-based-standards] (PRIoPTR): Likewise.
20909 [C99-based-standards] (PRIuPTR): Likewise.
20910 [C99-based-standards] (PRIxPTR): Likewise.
20911 [C99-based-standards] (PRIXPTR): Likewise.
20912 [C99-based-standards] (SCNdPTR): Likewise.
20913 [C99-based-standards] (SCNiPTR): Likewise.
20914 [C99-based-standards] (SCNoPTR): Likewise.
20915 [C99-based-standards] (SCNuPTR): Likewise.
20916 [C99-based-standards] (SCNxPTR): Likewise.
20917 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20918 allow.
20919 * conform/data/stdint.h-data: Update comments to clarify
20920 requirements.
20921 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20922 type.
20923 [C99-based standards] (INT8_MAX): Likewise.
20924 [C99-based standards] (INT16_MIN): Likewise.
20925 [C99-based standards] (INT16_MAX): Likewise.
20926 [C99-based standards] (INT32_MIN): Likewise.
20927 [C99-based standards] (INT32_MAX): Likewise.
20928 [C99-based standards] (INT64_MIN): Likewise.
20929 [C99-based standards] (INT64_MAX): Likewise.
20930 [C99-based standards] (UINT8_MAX): Likewise.
20931 [C99-based standards] (UINT16_MAX): Likewise.
20932 [C99-based standards] (UINT32_MAX): Likewise.
20933 [C99-based standards] (UINT64_MAX): Likewise.
20934 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20935 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20936 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20937 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20938 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20939 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20940 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20941 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20942 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20943 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20944 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20945 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20946 [C99-based standards] (INT_FAST8_MIN): Likewise.
20947 [C99-based standards] (INT_FAST8_MAX): Likewise.
20948 [C99-based standards] (INT_FAST16_MIN): Likewise.
20949 [C99-based standards] (INT_FAST16_MAX): Likewise.
20950 [C99-based standards] (INT_FAST32_MIN): Likewise.
20951 [C99-based standards] (INT_FAST32_MAX): Likewise.
20952 [C99-based standards] (INT_FAST64_MIN): Likewise.
20953 [C99-based standards] (INT_FAST64_MAX): Likewise.
20954 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20955 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20956 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20957 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20958 [C99-based standards] (INTPTR_MIN): Likewise.
20959 [C99-based standards] (INTPTR_MAX): Likewise.
20960 [C99-based standards] (UINTPTR_MAX): Likewise.
20961 [C99-based standards] (INTMAX_MIN): Likewise.
20962 [C99-based standards] (INTMAX_MAX): Likewise.
20963 [C99-based standards] (UINTMAX_MAX): Likewise.
20964 [C99-based standards] (PTRDIFF_MIN): Likewise.
20965 [C99-based standards] (PTRDIFF_MAX): Likewise.
20966 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20967 [C99-based standards] (SIZE_MAX): Likewise.
20968 [C99-based standards] (WCHAR_MAX): Likewise.
20969 [C99-based standards] (WINT_MAX): Likewise.
20970 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20971 constraint on value.
20972 [C99-based standards] (WCHAR_MIN): Likewise.
20973 [C99-based standards] (WINT_MIN): Likewise.
20974 [C99-based standards] (*_t): Allow.
20975 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20976 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20977 Include math.h-data and complex.h-data. Remove all expectations
20978 of math.h and complex.h contents.
20979 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20980 at end of line.
20981 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20982 (struct tm): Expect tag.
20983 [C99-based-standards] (wcstof): Expect function.
20984 [C99-based-standards] (wcstold): Likewise.
20985 [C99-based-standards] (wcstoll): Likewise.
20986 [C99-based-standards] (wcstoull): Likewise.
20987 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20988 macro-int-constant. Specify type.
20989 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20990 constraint on value.
20991 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20992 Specify type.
20993 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20994 Specify value.
20995 [ISO C standards]: Do not allow headers.
20996 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20997 wcs[abcdefghijklmnopqrstuvwxyz]*.
20998 [ISO C standards] (*_t): Do not allow.
20999 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21000 Expect function.
21001 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21002 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21003 Specify type.
21004 [ISO C standards]: Do not allow headers.
21005 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21006 is[abcdefghijklmnopqrstuvwxyz]*.
21007 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21008 to[abcdefghijklmnopqrstuvwxyz]*.
21009 [ISO C standards] (*_t): Do not allow.
21010 * conform/data/stdalign.h-data: New file.
21011 * conform/data/stdbool.h-data: Likewise.
21012 * conform/data/stdnoreturn.h-data: Likewise.
21013
7514feb8
RM
210142012-11-07 Roland McGrath <roland@hack.frob.com>
21015
21016 [BZ #14815]
21017 * manual/filesys.texi (Directory Entries): Typo fix.
21018 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21019
19b2ecfc
MS
210202012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21021
21022 * elf/elf.h (EM_AARCH64): New macro.
21023 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21024 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21025 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21026 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21027 (R_AARCH64_TLSDESC): Likewise.
21028 (NT_ARM_TLS): Likewise.
21029 (NT_ARM_HW_BREAK): Likewise.
21030 (NT_ARM_HW_WATCH): Likewise.
21031
60e235ee
JM
210322012-11-07 Joseph Myers <joseph@codesourcery.com>
21033
21034 [BZ #14811]
21035 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21036 (__ieee754_powl): Saturate nonzero exponents with absolute value
21037 below 0x1p-79 to +/- 0x1p-79.
21038 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21039 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21040 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21041 nonzero exponents with absolute value below 0x1p-32 to +/-
21042 0x1p-32.
21043 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21044 (__ieee754_powl): Saturate nonzero exponents with absolute value
21045 below 0x1p-79 to +/- 0x1p-79.
21046 * math/libm-test.inc (pow_test): Add more tests.
21047
0ab234b7
AK
210482012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21049
21050 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21051 _dl_s390_cap_flags with kernel. Increase string length.
21052 (_dl_s390_platforms): Add z196 and zEC12.
21053
45832f74
JM
210542012-11-07 Joseph Myers <joseph@codesourcery.com>
21055
21056 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21057 Change XOPEN21K to XOPEN2K.
21058
19218757
MK
210592012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21060
21061 * string/memmove.c: Use memcpy when possible.
21062
c5f45721
AJ
210632012-11-06 Andreas Jaeger <aj@suse.de>
21064
21065 * po/eo.po: Update from translation team.
21066
82477c28
JM
210672012-11-06 Joseph Myers <joseph@codesourcery.com>
21068
21069 [BZ #14793]
21070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21071 exponent and small x and y exponents, scale x or y up. Increase
21072 by 2 the exponent used in scaling up.
21073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21075 * math/libm-test.inc (fma_test): Add more tests.
21076 (fma_test_towardzero): Likewise.
21077 (fma_test_downward): Likewise.
21078 (fma_test_upward): Likewise.
21079
99252c8c
JM
210802012-11-05 Joseph Myers <joseph@codesourcery.com>
21081
acfa885f
JM
21082 [BZ #14805]
21083 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21084 fenv_t *.
21085
99252c8c
JM
21086 [BZ #14801]
21087 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21088 namespace for names of struct fields.
21089 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21090 fenv_t fields.
21091 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21092 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21093
d6d98dea
ST
210942012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21095
21096 [BZ #3665]
21097 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21098
e10bb107
TS
210992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21100
21101 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21102 PTR_DEMANGLE.
21103
21104 [BZ #5246]
21105 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21106 PTR_DEMANGLE.
21107
a0c2940d
JM
211082012-11-04 Joseph Myers <joseph@codesourcery.com>
21109
21110 [BZ #14797]
21111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21112 definitely overflow as x * y not x * y + z.
21113 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21114 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21115 * math/libm-test.inc (fma_test): Add more tests.
21116 (fma_test_towardzero): Likewise.
21117 (fma_test_downward): Likewise.
21118 (fma_test_upward): Likewise.
21119
b830319d
TS
211202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21121
21122 [BZ #157]
21123
21124 * include/stub-tag.h: Remove file.
21125 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21126 '#include' of it.
21127 * manual/maint.texi (Porting): Don't reference it.
21128 * Makerules ($(objpfx)stubs): Likewise.
21129 * dirent/closedir.c: Don't include <stub-tag.h>.
21130 * dirent/dirfd.c: Likewise.
21131 * dirent/fdopendir.c: Likewise.
21132 * dirent/getdents.c: Likewise.
21133 * dirent/getdents64.c: Likewise.
21134 * dirent/opendir.c: Likewise.
21135 * dirent/readdir.c: Likewise.
21136 * dirent/readdir64.c: Likewise.
21137 * dirent/readdir64_r.c: Likewise.
21138 * dirent/readdir_r.c: Likewise.
21139 * dirent/rewinddir.c: Likewise.
21140 * dirent/seekdir.c: Likewise.
21141 * dirent/telldir.c: Likewise.
21142 * gmon/profil.c: Likewise.
21143 * grp/setgroups.c: Likewise.
21144 * inet/if_index.c: Likewise.
21145 * io/access.c: Likewise.
21146 * io/chdir.c: Likewise.
21147 * io/chmod.c: Likewise.
21148 * io/chown.c: Likewise.
21149 * io/close.c: Likewise.
21150 * io/dup.c: Likewise.
21151 * io/dup2.c: Likewise.
21152 * io/dup3.c: Likewise.
21153 * io/euidaccess.c: Likewise.
21154 * io/faccessat.c: Likewise.
21155 * io/fchdir.c: Likewise.
21156 * io/fchmod.c: Likewise.
21157 * io/fchmodat.c: Likewise.
21158 * io/fchown.c: Likewise.
21159 * io/fchownat.c: Likewise.
21160 * io/fcntl.c: Likewise.
21161 * io/flock.c: Likewise.
21162 * io/fstatfs.c: Likewise.
21163 * io/fstatfs64.c: Likewise.
21164 * io/fstatvfs.c: Likewise.
21165 * io/fstatvfs64.c: Likewise.
21166 * io/futimens.c: Likewise.
21167 * io/fxstat.c: Likewise.
21168 * io/fxstat64.c: Likewise.
21169 * io/fxstatat.c: Likewise.
21170 * io/fxstatat64.c: Likewise.
21171 * io/getcwd.c: Likewise.
21172 * io/isatty.c: Likewise.
21173 * io/lchmod.c: Likewise.
21174 * io/lchown.c: Likewise.
21175 * io/link.c: Likewise.
21176 * io/linkat.c: Likewise.
21177 * io/lseek.c: Likewise.
21178 * io/lseek64.c: Likewise.
21179 * io/lxstat64.c: Likewise.
21180 * io/mkdir.c: Likewise.
21181 * io/mkdirat.c: Likewise.
21182 * io/mkfifo.c: Likewise.
21183 * io/mkfifoat.c: Likewise.
21184 * io/open.c: Likewise.
21185 * io/open64.c: Likewise.
21186 * io/openat.c: Likewise.
21187 * io/openat64.c: Likewise.
21188 * io/pipe.c: Likewise.
21189 * io/pipe2.c: Likewise.
21190 * io/poll.c: Likewise.
21191 * io/posix_fadvise.c: Likewise.
21192 * io/posix_fadvise64.c: Likewise.
21193 * io/posix_fallocate.c: Likewise.
21194 * io/posix_fallocate64.c: Likewise.
21195 * io/read.c: Likewise.
21196 * io/readlink.c: Likewise.
21197 * io/readlinkat.c: Likewise.
21198 * io/rmdir.c: Likewise.
21199 * io/sendfile.c: Likewise.
21200 * io/sendfile64.c: Likewise.
21201 * io/statfs.c: Likewise.
21202 * io/statfs64.c: Likewise.
21203 * io/statvfs.c: Likewise.
21204 * io/statvfs64.c: Likewise.
21205 * io/symlink.c: Likewise.
21206 * io/symlinkat.c: Likewise.
21207 * io/ttyname.c: Likewise.
21208 * io/ttyname_r.c: Likewise.
21209 * io/umask.c: Likewise.
21210 * io/unlink.c: Likewise.
21211 * io/unlinkat.c: Likewise.
21212 * io/utime.c: Likewise.
21213 * io/utimensat.c: Likewise.
21214 * io/write.c: Likewise.
21215 * io/xmknod.c: Likewise.
21216 * io/xmknodat.c: Likewise.
21217 * io/xstat.c: Likewise.
21218 * io/xstat64.c: Likewise.
21219 * login/getpt.c: Likewise.
21220 * login/grantpt.c: Likewise.
21221 * login/unlockpt.c: Likewise.
21222 * math/e_acoshl.c: Likewise.
21223 * math/e_acosl.c: Likewise.
21224 * math/e_asinl.c: Likewise.
21225 * math/e_atan2l.c: Likewise.
21226 * math/e_atanhl.c: Likewise.
21227 * math/e_coshl.c: Likewise.
21228 * math/e_expl.c: Likewise.
21229 * math/e_fmodl.c: Likewise.
21230 * math/e_gammal_r.c: Likewise.
21231 * math/e_hypotl.c: Likewise.
21232 * math/e_j0l.c: Likewise.
21233 * math/e_j1l.c: Likewise.
21234 * math/e_jnl.c: Likewise.
21235 * math/e_lgammal_r.c: Likewise.
21236 * math/e_log10l.c: Likewise.
21237 * math/e_log2l.c: Likewise.
21238 * math/e_logl.c: Likewise.
21239 * math/e_powl.c: Likewise.
21240 * math/e_rem_pio2l.c: Likewise.
21241 * math/e_sinhl.c: Likewise.
21242 * math/e_sqrtl.c: Likewise.
21243 * math/fclrexcpt.c: Likewise.
21244 * math/fedisblxcpt.c: Likewise.
21245 * math/feenablxcpt.c: Likewise.
21246 * math/fegetenv.c: Likewise.
21247 * math/fegetexcept.c: Likewise.
21248 * math/fegetround.c: Likewise.
21249 * math/feholdexcpt.c: Likewise.
21250 * math/fesetenv.c: Likewise.
21251 * math/fesetround.c: Likewise.
21252 * math/feupdateenv.c: Likewise.
21253 * math/fgetexcptflg.c: Likewise.
21254 * math/fraiseexcpt.c: Likewise.
21255 * math/fsetexcptflg.c: Likewise.
21256 * math/ftestexcept.c: Likewise.
21257 * math/k_cosl.c: Likewise.
21258 * math/k_rem_pio2l.c: Likewise.
21259 * math/k_sinl.c: Likewise.
21260 * math/k_tanl.c: Likewise.
21261 * math/s_asinhl.c: Likewise.
21262 * math/s_atanl.c: Likewise.
21263 * math/s_cbrtl.c: Likewise.
21264 * math/s_erfl.c: Likewise.
21265 * math/s_expm1l.c: Likewise.
21266 * math/s_log1pl.c: Likewise.
21267 * math/s_tanhl.c: Likewise.
21268 * misc/acct.c: Likewise.
21269 * misc/brk.c: Likewise.
21270 * misc/chflags.c: Likewise.
21271 * misc/chroot.c: Likewise.
21272 * misc/fchflags.c: Likewise.
21273 * misc/fgetxattr.c: Likewise.
21274 * misc/flistxattr.c: Likewise.
21275 * misc/fremovexattr.c: Likewise.
21276 * misc/fsetxattr.c: Likewise.
21277 * misc/fsync.c: Likewise.
21278 * misc/ftruncate.c: Likewise.
21279 * misc/futimes.c: Likewise.
21280 * misc/futimesat.c: Likewise.
21281 * misc/getdomain.c: Likewise.
21282 * misc/getdtsz.c: Likewise.
21283 * misc/gethostid.c: Likewise.
21284 * misc/gethostname.c: Likewise.
21285 * misc/getloadavg.c: Likewise.
21286 * misc/getpagesize.c: Likewise.
21287 * misc/getsysstats.c: Likewise.
21288 * misc/getxattr.c: Likewise.
21289 * misc/gtty.c: Likewise.
21290 * misc/ioctl.c: Likewise.
21291 * misc/lgetxattr.c: Likewise.
21292 * misc/listxattr.c: Likewise.
21293 * misc/llistxattr.c: Likewise.
21294 * misc/lremovexattr.c: Likewise.
21295 * misc/lsetxattr.c: Likewise.
21296 * misc/lutimes.c: Likewise.
21297 * misc/madvise.c: Likewise.
21298 * misc/mincore.c: Likewise.
21299 * misc/mlock.c: Likewise.
21300 * misc/mlockall.c: Likewise.
21301 * misc/mmap.c: Likewise.
21302 * misc/mprotect.c: Likewise.
21303 * misc/msync.c: Likewise.
21304 * misc/munlock.c: Likewise.
21305 * misc/munlockall.c: Likewise.
21306 * misc/munmap.c: Likewise.
21307 * misc/preadv.c: Likewise.
21308 * misc/preadv64.c: Likewise.
21309 * misc/ptrace.c: Likewise.
21310 * misc/pwritev.c: Likewise.
21311 * misc/pwritev64.c: Likewise.
21312 * misc/readv.c: Likewise.
21313 * misc/reboot.c: Likewise.
21314 * misc/remap_file_pages.c: Likewise.
21315 * misc/removexattr.c: Likewise.
21316 * misc/revoke.c: Likewise.
21317 * misc/select.c: Likewise.
21318 * misc/setdomain.c: Likewise.
21319 * misc/setegid.c: Likewise.
21320 * misc/seteuid.c: Likewise.
21321 * misc/sethostid.c: Likewise.
21322 * misc/sethostname.c: Likewise.
21323 * misc/setregid.c: Likewise.
21324 * misc/setreuid.c: Likewise.
21325 * misc/setxattr.c: Likewise.
21326 * misc/sstk.c: Likewise.
21327 * misc/stty.c: Likewise.
21328 * misc/swapoff.c: Likewise.
21329 * misc/swapon.c: Likewise.
21330 * misc/sync.c: Likewise.
21331 * misc/syncfs.c: Likewise.
21332 * misc/syscall.c: Likewise.
21333 * misc/truncate.c: Likewise.
21334 * misc/ualarm.c: Likewise.
21335 * misc/usleep.c: Likewise.
21336 * misc/ustat.c: Likewise.
21337 * misc/utimes.c: Likewise.
21338 * misc/vhangup.c: Likewise.
21339 * misc/writev.c: Likewise.
21340 * posix/_exit.c: Likewise.
21341 * posix/alarm.c: Likewise.
21342 * posix/execve.c: Likewise.
21343 * posix/fexecve.c: Likewise.
21344 * posix/fork.c: Likewise.
21345 * posix/fpathconf.c: Likewise.
21346 * posix/getaddrinfo.c: Likewise.
21347 * posix/getegid.c: Likewise.
21348 * posix/geteuid.c: Likewise.
21349 * posix/getgid.c: Likewise.
21350 * posix/getgroups.c: Likewise.
21351 * posix/getlogin.c: Likewise.
21352 * posix/getlogin_r.c: Likewise.
21353 * posix/getpgid.c: Likewise.
21354 * posix/getpid.c: Likewise.
21355 * posix/getppid.c: Likewise.
21356 * posix/getresgid.c: Likewise.
21357 * posix/getresuid.c: Likewise.
21358 * posix/getsid.c: Likewise.
21359 * posix/getuid.c: Likewise.
21360 * posix/glob64.c: Likewise.
21361 * posix/nanosleep.c: Likewise.
21362 * posix/pathconf.c: Likewise.
21363 * posix/pause.c: Likewise.
21364 * posix/posix_madvise.c: Likewise.
21365 * posix/pread.c: Likewise.
21366 * posix/pread64.c: Likewise.
21367 * posix/pwrite.c: Likewise.
21368 * posix/pwrite64.c: Likewise.
21369 * posix/sched_getaffinity.c: Likewise.
21370 * posix/sched_getp.c: Likewise.
21371 * posix/sched_gets.c: Likewise.
21372 * posix/sched_primax.c: Likewise.
21373 * posix/sched_primin.c: Likewise.
21374 * posix/sched_rr_gi.c: Likewise.
21375 * posix/sched_setaffinity.c: Likewise.
21376 * posix/sched_setp.c: Likewise.
21377 * posix/sched_sets.c: Likewise.
21378 * posix/sched_yield.c: Likewise.
21379 * posix/setgid.c: Likewise.
21380 * posix/setlogin.c: Likewise.
21381 * posix/setpgid.c: Likewise.
21382 * posix/setresgid.c: Likewise.
21383 * posix/setresuid.c: Likewise.
21384 * posix/setsid.c: Likewise.
21385 * posix/setuid.c: Likewise.
21386 * posix/sleep.c: Likewise.
21387 * posix/spawni.c: Likewise.
21388 * posix/sysconf.c: Likewise.
21389 * posix/times.c: Likewise.
21390 * posix/wait.c: Likewise.
21391 * posix/wait3.c: Likewise.
21392 * posix/wait4.c: Likewise.
21393 * posix/waitpid.c: Likewise.
21394 * resolv/gai_sigqueue.c: Likewise.
21395 * resource/getpriority.c: Likewise.
21396 * resource/getrlimit.c: Likewise.
21397 * resource/getrusage.c: Likewise.
21398 * resource/nice.c: Likewise.
21399 * resource/setpriority.c: Likewise.
21400 * resource/setrlimit.c: Likewise.
21401 * resource/ulimit.c: Likewise.
21402 * rt/aio_cancel.c: Likewise.
21403 * rt/aio_fsync.c: Likewise.
21404 * rt/aio_read.c: Likewise.
21405 * rt/aio_sigqueue.c: Likewise.
21406 * rt/aio_suspend.c: Likewise.
21407 * rt/aio_write.c: Likewise.
21408 * rt/clock_getres.c: Likewise.
21409 * rt/clock_gettime.c: Likewise.
21410 * rt/clock_nanosleep.c: Likewise.
21411 * rt/clock_settime.c: Likewise.
21412 * rt/lio_listio.c: Likewise.
21413 * rt/mq_close.c: Likewise.
21414 * rt/mq_getattr.c: Likewise.
21415 * rt/mq_notify.c: Likewise.
21416 * rt/mq_open.c: Likewise.
21417 * rt/mq_receive.c: Likewise.
21418 * rt/mq_send.c: Likewise.
21419 * rt/mq_setattr.c: Likewise.
21420 * rt/mq_timedreceive.c: Likewise.
21421 * rt/mq_timedsend.c: Likewise.
21422 * rt/mq_unlink.c: Likewise.
21423 * rt/shm_open.c: Likewise.
21424 * rt/shm_unlink.c: Likewise.
21425 * rt/timer_create.c: Likewise.
21426 * rt/timer_delete.c: Likewise.
21427 * rt/timer_getoverr.c: Likewise.
21428 * rt/timer_gettime.c: Likewise.
21429 * rt/timer_settime.c: Likewise.
21430 * setjmp/__longjmp.c: Likewise.
21431 * setjmp/setjmp.c: Likewise.
21432 * signal/kill.c: Likewise.
21433 * signal/killpg.c: Likewise.
21434 * signal/raise.c: Likewise.
21435 * signal/sigaction.c: Likewise.
21436 * signal/sigaltstack.c: Likewise.
21437 * signal/sigblock.c: Likewise.
21438 * signal/sigignore.c: Likewise.
21439 * signal/sigintr.c: Likewise.
21440 * signal/signal.c: Likewise.
21441 * signal/sigpause.c: Likewise.
21442 * signal/sigpending.c: Likewise.
21443 * signal/sigqueue.c: Likewise.
21444 * signal/sigreturn.c: Likewise.
21445 * signal/sigset.c: Likewise.
21446 * signal/sigsetmask.c: Likewise.
21447 * signal/sigstack.c: Likewise.
21448 * signal/sigsuspend.c: Likewise.
21449 * signal/sigtimedwait.c: Likewise.
21450 * signal/sigvec.c: Likewise.
21451 * signal/sigwait.c: Likewise.
21452 * signal/sigwaitinfo.c: Likewise.
21453 * signal/sysv_signal.c: Likewise.
21454 * socket/accept.c: Likewise.
21455 * socket/accept4.c: Likewise.
21456 * socket/bind.c: Likewise.
21457 * socket/connect.c: Likewise.
21458 * socket/getpeername.c: Likewise.
21459 * socket/getsockname.c: Likewise.
21460 * socket/getsockopt.c: Likewise.
21461 * socket/isfdtype.c: Likewise.
21462 * socket/listen.c: Likewise.
21463 * socket/recv.c: Likewise.
21464 * socket/recvfrom.c: Likewise.
21465 * socket/recvmsg.c: Likewise.
21466 * socket/send.c: Likewise.
21467 * socket/sendmsg.c: Likewise.
21468 * socket/sendto.c: Likewise.
21469 * socket/setsockopt.c: Likewise.
21470 * socket/shutdown.c: Likewise.
21471 * socket/sockatmark.c: Likewise.
21472 * socket/socket.c: Likewise.
21473 * socket/socketpair.c: Likewise.
21474 * stdio-common/ctermid.c: Likewise.
21475 * stdio-common/cuserid.c: Likewise.
21476 * stdio-common/remove.c: Likewise.
21477 * stdio-common/rename.c: Likewise.
21478 * stdio-common/renameat.c: Likewise.
21479 * stdio-common/tempname.c: Likewise.
21480 * stdlib/getcontext.c: Likewise.
21481 * stdlib/makecontext.c: Likewise.
21482 * stdlib/setcontext.c: Likewise.
21483 * stdlib/swapcontext.c: Likewise.
21484 * stdlib/system.c: Likewise.
21485 * streams/fattach.c: Likewise.
21486 * streams/fdetach.c: Likewise.
21487 * streams/getmsg.c: Likewise.
21488 * streams/getpmsg.c: Likewise.
21489 * streams/putmsg.c: Likewise.
21490 * streams/putpmsg.c: Likewise.
21491 * sysdeps/unix/bsd/getpt.c: Likewise.
21492 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21493 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21494 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21496 Likewise.
21497 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21498 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21499 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21500 * sysvipc/msgctl.c: Likewise.
21501 * sysvipc/msgget.c: Likewise.
21502 * sysvipc/msgrcv.c: Likewise.
21503 * sysvipc/msgsnd.c: Likewise.
21504 * sysvipc/semctl.c: Likewise.
21505 * sysvipc/semget.c: Likewise.
21506 * sysvipc/semop.c: Likewise.
21507 * sysvipc/semtimedop.c: Likewise.
21508 * sysvipc/shmat.c: Likewise.
21509 * sysvipc/shmctl.c: Likewise.
21510 * sysvipc/shmdt.c: Likewise.
21511 * sysvipc/shmget.c: Likewise.
21512 * termios/tcdrain.c: Likewise.
21513 * termios/tcflow.c: Likewise.
21514 * termios/tcflush.c: Likewise.
21515 * termios/tcgetattr.c: Likewise.
21516 * termios/tcgetpgrp.c: Likewise.
21517 * termios/tcsendbrk.c: Likewise.
21518 * termios/tcsetattr.c: Likewise.
21519 * termios/tcsetpgrp.c: Likewise.
21520 * time/adjtime.c: Likewise.
21521 * time/clock.c: Likewise.
21522 * time/getitimer.c: Likewise.
21523 * time/gettimeofday.c: Likewise.
21524 * time/setitimer.c: Likewise.
21525 * time/settimeofday.c: Likewise.
21526 * time/stime.c: Likewise.
21527 * time/time.c: Likewise.
21528
215292012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21530
a20492cf
PT
21531 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21532 /usr/old/bin.
21533
72e182e3
PT
21534 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21535 instead of spaces.
21536 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21537
fbeafede
JM
215382012-11-03 Joseph Myers <joseph@codesourcery.com>
21539
5b5b04d6
JM
21540 [BZ #14796]
21541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21542 FE_TONEAREST before applying Dekker multiplication and Knuth
21543 addition. Clear inexact exceptions and check for exact zero
21544 results afterwards.
21545 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21546 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21547 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21548 * math/libm-test.inc (fma_test): Add more tests.
21549 (fma_test_towardzero): Likewise.
21550 (fma_test_downward): Likewise.
21551 (fma_test_upward): Likewise.
21552 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21553 function.
21554 (libc_fesetround): New macro.
21555 (libc_fesetroundf): Likewise.
21556 (libc_fesetroundl): Likewise.
21557 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21558 function.
21559 (libc_fesetround_387): Likewise.
21560 (libc_fesetroundf): New macro.
21561 (libc_fesetround): Likewise.
21562 (libc_fesetroundl): Likewise.
21563 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21564 function.
21565 (libc_fesetroundf): New macro.
21566 (libc_fesetround): Likewise.
21567 (libc_fesetroundl): Likewise.
21568 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21569 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21570 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21571 libm_hidden_ver.
21572 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21573 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21574 libm_hidden_def.
21575 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21576 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21577 libm_hidden_ver.
21578 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21579 libm_hidden_def.
21580
fbeafede
JM
21581 [BZ #3439]
21582 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21583 integer constant usable in #if and use that to give value to enum
21584 constant.
21585 (FE_DIVBYZERO): Likewise.
21586 (FE_UNDERFLOW): Likewise.
21587 (FE_OVERFLOW): Likewise.
21588 (FE_INVALID): Likewise.
21589 (FE_INVALID_SNAN): Likewise.
21590 (FE_INVALID_ISI): Likewise.
21591 (FE_INVALID_IDI): Likewise.
21592 (FE_INVALID_ZDZ): Likewise.
21593 (FE_INVALID_IMZ): Likewise.
21594 (FE_INVALID_COMPARE): Likewise.
21595 (FE_INVALID_SOFTWARE): Likewise.
21596 (FE_INVALID_SQRT): Likewise.
21597 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21598 (FE_TONEAREST): Likewise.
21599 (FE_TOWARDZERO): Likewise.
21600 (FE_UPWARD): Likewise.
21601 (FE_DOWNWARD): Likewise.
21602 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21603 (FE_DIVBYZERO): Likewise.
21604 (FE_OVERFLOW): Likewise.
21605 (FE_UNDERFLOW): Likewise.
21606 (FE_INEXACT): Likewise.
21607 (FE_TONEAREST): Likewise.
21608 (FE_DOWNWARD): Likewise.
21609 (FE_UPWARD): Likewise.
21610 (FE_TOWARDZERO): Likewise.
21611 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21612 (FE_UNDERFLOW): Likewise.
21613 (FE_OVERFLOW): Likewise.
21614 (FE_DIVBYZERO): Likewise.
21615 (FE_INVALID): Likewise.
21616 (FE_TONEAREST): Likewise.
21617 (FE_TOWARDZERO): Likewise.
21618 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21619 (FE_OVERFLOW): Likewise.
21620 (FE_UNDERFLOW): Likewise.
21621 (FE_DIVBYZERO): Likewise.
21622 (FE_INEXACT): Likewise.
21623 (FE_TONEAREST): Likewise.
21624 (FE_TOWARDZERO): Likewise.
21625 (FE_UPWARD): Likewise.
21626 (FE_DOWNWARD): Likewise.
21627 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21628 (FE_DIVBYZERO): Likewise.
21629 (FE_OVERFLOW): Likewise.
21630 (FE_UNDERFLOW): Likewise.
21631 (FE_INEXACT): Likewise.
21632 (FE_TONEAREST): Likewise.
21633 (FE_DOWNWARD): Likewise.
21634 (FE_UPWARD): Likewise.
21635 (FE_TOWARDZERO): Likewise.
21636
105ca950
CM
216372012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21638
21639 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21640
a542b389
AS
216412012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21642
21643 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21644 commands. Quote $PWD.
21645 (blacklist_exports): Don't use remove_newlines. Replace "declare
21646 -x" by "export".
21647 (remove_newlines): Remove.
21648
f62c8abc
L
216492012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21650
21651 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21652 * stdlib/stdlib.h (atof): Moved to ...
21653 * include/bits/stdlib-float.h: Here. New file.
21654 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21655 * stdlib/bits/stdlib-float.h: New file.
21656 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21657 -mno-sse -mno-mmx.
21658 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21659 <xmmintrin.h>.
21660
0155d5b2
JM
216612012-11-02 Joseph Myers <joseph@codesourcery.com>
21662
a68d0680
JM
21663 * conform/conformtest.pl (@headers): Add fenv.h.
21664 * conform/data/fenv.h-data: New file.
21665 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21666 include of <math/fenv.h>.
21667
caf7f573
JM
21668 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21669 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21670 && !UNIX98]. Enables tests for XOPEN2K8.
21671 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21672 POSIX2008]: Likewise.
21673
6c073ad6
JM
21674 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21675 (struct rusage): Do not expect type or its members.
21676
0155d5b2
JM
21677 [BZ #3439]
21678 * math/math.h (FP_NAN): Define macro to integer constant usable in
21679 #if and use that to give value to enum constant.
21680 (FP_INFINITE): Likewise.
21681 (FP_ZERO): Likewise.
21682 (FP_SUBNORMAL): Likewise.
21683 (FP_NORMAL): Likewise.
21684
b5dcacb4
AS
216852012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21686
21687 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21688 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21689 arguments.
21690
f7934be8
RM
216912012-11-02 Roland McGrath <roland@hack.frob.com>
21692
21693 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21694 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21695 autoconf-time if not.
21696 * configure.in: Remove AC_PREREQ.
21697
d7d08bde
TMQMF
216982012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21699
21700 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21701 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21702 of the internal implementation.
21703
dcdae19a
JM
217042012-11-02 Joseph Myers <joseph@codesourcery.com>
21705
21706 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21707 except include of <misc/sys/syslog.h>.
21708
d6cffd3e
AS
217092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21710
21711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21712 function returns with a NULL context exit with zero.
21713
b3563932
TMQMF
217142012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21715
21716 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21717
b288a93d
L
217182012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21719
21720 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21721 (run_program_cmd): This.
21722 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21723 (tst_langinfo): New variable. Use it.
21724
a2421a68
SAS
217252012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21726
21727 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21728 floating point opcodes.
21729
6f796e1b
TS
217302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21731
7402596b
TS
21732 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21733 variable.
21734
d0d4f868
TS
21735 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21736
6f796e1b
TS
21737 * sysdeps/mach/hurd/powerpc: Remove directory.
21738 * sysdeps/mach/powerpc: Likewise.
21739
4da224a2
AS
217402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21741
21742 * scripts/check-local-headers.sh: Ignore c++ headers.
21743
341dd673
TS
217442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21745
21746 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21747 __libc_cleanup_region_start argument.
21748
473611b2
JM
217492012-11-01 Joseph Myers <joseph@codesourcery.com>
21750
21751 [BZ #14784]
21752 [BZ #14785]
21753 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21754 x * y using scaling, not as x * y + z.
21755 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21756 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21757 * math/libm-test.inc (fma_test): Add more tests.
21758 (fma_test_towardzero): Likewise.
21759 (fma_test_downward): Likewise.
21760 (fma_test_upward): Likewise.
21761
4078da3d
TS
217622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21763
21764 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21765
903252aa
JM
217662012-10-31 Joseph Myers <joseph@codesourcery.com>
21767
21768 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21769 New variable.
21770
cbc818d0
TS
217712012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21772
21773 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21774
5a03cb1e
AS
217752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21776
21777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21778 Fix sort order.
21779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21780 Likewise.
21781
90aff2ff
TMQMF
217822012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21783
21784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21785 Fix the order of the list for glibc 2.17.
21786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21787 Likewise.
21788
1818fcb7
AS
217892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21790
21791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21792
ef82f4da
JM
217932012-10-31 Joseph Myers <joseph@codesourcery.com>
21794
16a0e2ec
JM
21795 [BZ #14610]
21796 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21797 for low part of x being zero before using __atanl (y).
21798 * math/libm-test.inc (atan2_test): Add another test.
21799
0eb69512
JM
21800 * manual/install.texi (Configuring and compiling): Document
21801 general use of test-wrapper and test-wrapper-env.
21802 * INSTALL: Regenerated.
21803
ef82f4da
JM
21804 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21805 (__fma): Do not extract and scale down low bits on after-rounding
21806 systems when result rounded to normal precision would have normal
21807 exponent.
21808 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21809 (__fmal): Do not extract and scale down low bits on after-rounding
21810 systems when result rounded to normal precision would have normal
21811 exponent.
21812 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21813 (__fmal): Do not extract and scale down low bits on after-rounding
21814 systems when result rounded to normal precision would have normal
21815 exponent.
21816 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21817 macro.
21818 (fma_test): Add more tests.
21819 (fma_test_towardzero): Likewise.
21820 (fma_test_downward): Likewise.
21821 (fma_test_upward): Likewise.
21822
954ef0d9
L
218232012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21824
21825 * sysdeps/i386/tininess.h: Renamed to ...
21826 * sysdeps/x86/tininess.h: This.
21827 * sysdeps/x86_64/tininess.h: Removed.
21828
df61ffb2
JM
218292012-10-30 Joseph Myers <joseph@codesourcery.com>
21830
21831 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21832 input. Use $(build-program-cmd).
21833 ($(objpfx)tst-array1-static.out): Likewise.
21834 ($(objpfx)tst-array2.out): Likewise.
21835 ($(objpfx)tst-array3.out): Likewise.
21836 ($(objpfx)tst-array4.out): Likewise.
21837 ($(objpfx)tst-array5.out): Likewise.
21838 ($(objpfx)tst-array5-static.out): Likewise.
21839
01767843
CM
218402012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21841
47cc1490
CM
21842 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21843 if defined.
21844
01767843
CM
21845 * nss/nsswitch.h (nss_interface_function): Provide new
21846 macro for use with NSS functions.
21847 * grp/initgroups.c: Use new macro.
21848 * nss/getXXbyYY.c: Likewise.
21849 * nss/getXXbyYY_r.c: Likewise.
21850 * nss/getXXent.c: Likewise.
21851 * nss/getXXent_r.c: Likewise.
21852 * sysdeps/posix/getaddrinfo.c: Likewise.
21853
8321aa97
AJ
218542012-10-30 Andreas Jaeger <aj@suse.de>
21855
21856 * po/ru.po: Update Russion translation from translation project.
21857
2a27fd6d
JM
218582012-10-30 Joseph Myers <joseph@codesourcery.com>
21859
8627a232
JM
21860 [BZ #14152]
21861 [BZ #14783]
21862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21863 result and shift together with sticky bit instead of replicating
21864 round-to-nearest rounding.
21865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21867 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21868 missing underflow exceptions.
21869 (fma_test_towardzero): Add more tests.
21870 (fma_test_downward): Likewise.
21871 (fma_test_upward): Likewise.
21872
2a27fd6d
JM
21873 [BZ #14047]
21874 * sysdeps/generic/tininess.h: New file.
21875 * sysdeps/i386/tininess.h: Likewise.
21876 * sysdeps/sh/tininess.h: Likewise.
21877 * sysdeps/x86_64/tininess.h: Likewise.
21878 * stdlib/tst-strtod-underflow.c: Likewise.
21879 * stdlib/tst-tininess.c: Likewise.
21880 * stdlib/strtod_l.c: Include <tininess.h>.
21881 (round_and_return): Do not set errno for exact underflow cases.
21882 Force an underflow exception when setting errno for underflow.
21883 Determine underflow based on rounding to normal precision if
21884 TININESS_AFTER_ROUNDING.
21885 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21886 ERANGE for exact underflow cases.
21887 * stdlib/Makefile (tests): Add tst-tininess and
21888 tst-strtod-underflow.
21889 ($(objpfx)tst-tininess): Use $(link-libm).
21890 ($(objpfx)tst-strtod-underflow): Likewise.
21891
e7170363
AJ
218922012-10-30 Andreas Jaeger <aj@suse.de>
21893
e5088dc6
AJ
21894 [BZ#14767]
21895 * elf/Makefile (tests): Remove conditional for have-initfini-array
21896 since this is now always required and the variable does not exist
21897 anymore.
21898 (tests-static): Likewise.
21899 (modules-names): Likewise.
21900
e7170363 21901 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21902
21903 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21904 merged with constructor/destructor.
21905 (init_array): Likewise.
21906 * elf/tst-array2dep.c (fini_array): Likewise.
21907 (init_array): Likewise.
21908
60457d8a
MF
219092012-10-29 Mike Frysinger <vapier@gentoo.org>
21910
21911 * manual/message.texi: Delete @cartouche tags.
21912
8bece752
PT
219132012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21914
94ce799f
PT
21915 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21916 EOPNOTSUPP.
21917 * sysdeps/mach/hurd/fsync.c: Likewise.
21918
8bece752
PT
21919 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21920 [_POSIX_REALTIME_SIGNALS]: Change condition to
21921 [_POSIX_REALTIME_SIGNALS > 0].
21922
86ebe6b1
AJ
219232012-10-27 Andreas Jaeger <aj@suse.de>
21924
21925 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21926 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21928 [__WORDSIZE != 64]: Likewise.
21929
54399c08
L
219302012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21931
21932 * iconvdata/tst-table.sh: Remove ${SHELL}.
21933 * iconvdata/tst-tables.sh: Likewise.
21934
e2211bed
DM
219352012-10-25 David S. Miller <davem@davemloft.net>
21936
21937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21938 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21939 of strtoull.
21940
f303f97c
DM
21941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21942 ifunc-impl-list.c
21943 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21944 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21945 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21946 file.
21947
1e9d84cd
RM
219482012-10-25 Roland McGrath <roland@hack.frob.com>
21949
21950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21951 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21952 __getdirentries.
21953
df381762
JM
219542012-10-25 Joseph Myers <joseph@codesourcery.com>
21955 Jim Blandy <jimb@codesourcery.com>
21956
21957 * scripts/cross-test-ssh.sh: New file.
21958 * manual/install.texi (Configuring and compiling): Document use of
21959 cross-test-ssh.sh.
21960 * INSTALL: Regenerated.
21961
bff64913
PT
219622012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21963
21964 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21965 EOPNOTSUPP.
21966
25fe8932
JM
219672012-10-25 Joseph Myers <joseph@codesourcery.com>
21968
21969 * Makeconfig (run-program-prefix): Fix comment.
21970
cc1290d0
JM
219712012-10-24 Joseph Myers <joseph@codesourcery.com>
21972 Jim Blandy <jimb@codesourcery.com>
21973
21974 * Makeconfig (test-wrapper): New variable,
21975 (test-wrapper-env): Likewise.
21976 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21977 (run-built-tests): Define to yes.
21978 (run-program-prefix): Use $(test-wrapper).
21979 (built-program-cmd): Likewise.
21980 * Rules (make-test-out): Use $(test-wrapper-env) and
21981 $(host-built-program-cmd).
21982 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21983 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21984 tst-pathopt.sh.
21985 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21986 $(test-wrapper-env) to tst-rtld-load-self.sh.
21987 ($(objpfx)order2.out): Use $(test-wrapper).
21988 ($(objpfx)tst-initorder.out): Likewise.
21989 ($(objpfx)tst-initorder2.out): Likewise.
21990 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21991 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21992 (test_wrapper_env): New variable. Use it to run ld.so.
21993 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21994 Use it to run ld.so.
21995 (test_wrapper_env): Likewise.
21996 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21997 $(test-wrapper) to run-iconv-test.sh.
21998 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21999 (ICONV): Use $test_wrapper.
22000 * posix/Makefile ($(objpfx)globtest.out): Pass
22001 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22002 globtest.sh, not $(run-program-prefix).
22003 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22004 (test_wrapper): Likewise.
22005 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22006 set together with run_via_rtld_prefix.
22007 (run_program_prefix): Define in terms of test_wrapper and
22008 run_via_rtld_prefix.
22009
6e6249d0
RM
220102012-10-24 Roland McGrath <roland@hack.frob.com>
22011
22012 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22013 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22014 Targets removed.
22015
22016 [BZ #14743]
22017 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22018 Declare __clock_getres, __clock_gettime, __clock_settime,
22019 __clock_nanosleep, and __clock_getcpuclockid.
22020 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22021 Remove librt_hidden_def (clock_gettime).
22022 * sysdeps/unix/clock_gettime.c: Likewise.
22023 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22024 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22025 * rt/clock_getres.c: Define __clock_getres as an alias.
22026 * sysdeps/posix/clock_getres.c: Likewise.
22027 * rt/clock_settime.c: Define __clock_settime as an alias.
22028 * sysdeps/unix/clock_settime.c: Likewise.
22029 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22030 * sysdeps/unix/clock_nanosleep.c: Likewise.
22031 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22032 * rt/clock-compat.c: New file.
22033 * rt/Makefile (librt-routines): Add clock-compat and move
22034 $(clock-routines) to ...
22035 (routines): ... here, new variable.
22036 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22037 Don't add get_clockfreq here.
22038 * rt/Versions (libc: GLIBC_2.17): New version set.
22039 Add clock_* symbols here.
22040 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22041 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22042 (GLIBC_2.17): Add clock_* symbols.
22043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22045 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22047 Likewise.
22048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22049 Likewise.
22050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22054 * NEWS: Mention the move.
22055
22056 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22057 Use __open, __read, __close rather than their public counterparts.
22058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22059 (__get_clockfreq_via_cpuinfo): Likewise.
22060 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22061 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22062
22063 * config.h.in (HAVE_IFUNC): New #undef.
22064 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22065 was successful.
22066 * configure: Regenerated.
22067
0cae3f4b
MF
220682012-10-24 Mike Frysinger <vapier@gentoo.org>
22069
22070 * configure.in: Move READELF check to start of file.
22071 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22072 libc_cv_asm_gnu_indirect_function in the process.
22073 * configure: Regenerated.
22074
8175a253
MF
220752012-10-24 Mike Frysinger <vapier@gentoo.org>
22076
22077 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22078 send the output to /dev/null.
22079 (libc_cv_cc_with_libunwind): Likewise.
22080 (libc_cv_as_noexecstack): Likewise.
22081 * configure: Regenerate.
22082
0708a7d1
JM
220832012-10-24 Joseph Myers <joseph@codesourcery.com>
22084
10b40d85
JM
22085 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22086
0708a7d1
JM
22087 * posix/globtest.sh (TMPDIR): Do not set.
22088 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22089 (testout): Likewise.
22090
9fddec1a
AJ
220912012-10-24 Andreas Jaeger <aj@suse.de>
22092
3a8db22f
AJ
22093 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22094 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22095 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22096 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22097 posix_fadvise64, posix_fallocate64.
22098
9fddec1a
AJ
22099 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22100 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22101 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22102 Likewise.
22103 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22104 Likewise.
22105 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22106
22107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22108 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22109 <bits/fcntl-linux.h>.
22110 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22111
22112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22113 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22114 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22115 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22116 [__WORDSIZE != 64]: Likewise.
22117
ebfd1bbd
JM
221182012-10-23 Joseph Myers <joseph@codesourcery.com>
22119
03ac099f
JM
22120 * Makeconfig (run-built-tests): New variable.
22121 * Rules [$(cross-compiling) = yes]: Change condition to
22122 [$(run-built-tests) = no].
22123 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22124 to [$(run-built-tests) = yes].
22125 * elf/Makefile [$(cross-compiling) = no]: Likewise
22126 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22127 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22128 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22129 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22130 * io/Makefile [$(cross-compiling) = no]: Likewise.
22131 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22132 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22133 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22134 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22135 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22136 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22137 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22138 * string/Makefile [$(cross-compiling) = no]: Likewise.
22139
ebfd1bbd
JM
22140 * posix/Makefile ($(objpfx)globtest.out): Pass
22141 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22142 $(rtld-installed-name).
22143 * posix/globtest.sh (elf_objpfx): Remove variable.
22144 (rtld_installed_name): Likewise.
22145 (library_path): Likewise.
22146 (run_program_prefix): New variable. Use for running globtest
22147 binary.
22148
166bca24
JB
221492012-10-23 Jim Blandy <jimb@codesourcery.com>
22150 Joseph Myers <joseph@codesourcery.com>
22151
22152 * Makeconfig (host-built-program-cmd): New variable.
22153 * elf/Makefile (tst-stackguard1-ARGS): Use
22154 $(host-built-program-cmd).
22155 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22156 (tst-spawn-ARGS): Likewise.
22157 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22158
88866099
JM
221592012-10-23 Joseph Myers <joseph@codesourcery.com>
22160 Jim Blandy <jimb@codesourcery.com>
22161
22162 * Makeconfig (run-via-rtld-prefix): New variable.
22163 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22164 (built-program-cmd): Likewise.
22165
b4b4c296
AJ
221662012-10-22 Andreas Jaeger <aj@suse.de>
22167
22168 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22169 __O_RSYNC if it exists, otherwise to O_SYNC.
22170
6fb54a22
JB
221712012-10-22 Jim Blandy <jimb@codesourcery.com>
22172 Joseph Myers <joseph@codesourcery.com>
22173
22174 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22175 /dev/null.
22176 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22177 from /dev/null
22178 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22179 /dev/null.
22180
481b90b9
AJ
221812012-10-22 Andreas Jaeger <aj@suse.de>
22182
2a0e2669
AJ
22183 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22184 Define always.
22185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22186
76e38f9a
AJ
22187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22188 bits/fcntl-linux.h.
22189
7cd37b43
AJ
22190 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22191 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22192
481b90b9
AJ
22193 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22194 to __O_LARGEFILE.
22195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22196 to __O_LARGEFILE.
22197
aba75984
JB
221982012-10-21 Jim Blandy <jimb@codesourcery.com>
22199 Joseph Myers <joseph@codesourcery.com>
22200
22201 * config.make.in (NM): New variable.
22202
88d4247f
AJ
222032012-10-21 Andreas Jaeger <aj@suse.de>
22204
22205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22206 definitions and declarations that are provided by
22207 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22208
f2eed205
L
222092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22210
22211 [BZ #14683]
22212 * elf/Makefile (tests-static): Add tst-leaks1-static.
22213 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22214 ($(objpfx)tst-leaks1-static): New rule.
22215 ($(objpfx)tst-leaks1-static-mem): Likewise.
22216 (tst-leaks1-static-ENV): New macro.
22217 * elf/dl-open.c (dl_open_worker): Check the main application
22218 only if SHARED is defined.
22219 * elf/tst-leaks1-static.c: New file.
22220
335e6931
AJ
222212012-10-20 Andreas Jaeger <aj@suse.de>
22222
22223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22224 generic values for Linux.
22225 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22226 and declarations that are provided by <bits/fcntl-linux.h> and
22227 include <bits/fcntl-linux.h>.
22228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22230
ac5c94d3
RM
222312012-10-20 Roland McGrath <roland@hack.frob.com>
22232
22233 * io/fcntl.h: Move include of <bits/types.h> to the top and
22234 include it unconditionally.
22235
de54b33a
L
222362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22237
228cfb01
L
22238 * wcsmbs/Makefile (tests-ifunc): New variable.
22239 (tests): Add $(tests-ifunc).
22240 * wcsmbs/test-wcschr-ifunc.c: New file.
22241 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22242 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22243 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22244 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22245 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22246
69f07e5f
L
22247 * string/Makefile (tests-ifunc): New variable.
22248 (tests): Add $(tests-ifunc).
22249 * string/test-memccpy.c (TEST_NAME): New macro.
22250 * string/test-memchr.c (TEST_NAME): Likewise.
22251 * string/test-memcmp.c (TEST_NAME): Likewise.
22252 * string/test-memcpy.c (TEST_NAME): Likewise.
22253 * string/test-memmem.c (TEST_NAME): Likewise.
22254 * string/test-memmove.c (TEST_NAME): Likewise.
22255 * string/test-memset.c (TEST_NAME): Likewise.
22256 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22257 * string/test-stpcpy.c (TEST_NAME): Likewise.
22258 * string/test-stpncpy.c (TEST_NAME): Likewise.
22259 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22260 * string/test-strcasestr.c (TEST_NAME): Likewise.
22261 * string/test-strcat.c (TEST_NAME): Likewise.
22262 * string/test-strchr.c (TEST_NAME): Likewise.
22263 * string/test-strcmp.c(TEST_NAME): Likewise.
22264 * string/test-strcpy.c (TEST_NAME): Likewise.
22265 * string/test-strcspn.c (TEST_NAME): Likewise.
22266 * string/test-strlen.c (TEST_NAME): Likewise.
22267 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22268 * string/test-strncmp.c (TEST_NAME): Likewise.
22269 * string/test-strncpy.c (TEST_NAME): Likewise.
22270 * string/test-strnlen.c (TEST_NAME): Likewise.
22271 * string/test-strpbrk.c (TEST_NAME): Likewise.
22272 * string/test-strrchr.c (TEST_NAME): Likewise.
22273 * string/test-strspn.c (TEST_NAME): Likewise.
22274 * string/test-strstr.c (TEST_NAME): Likewise.
22275 * string/test-bcopy-ifunc.c: New file.
22276 * string/test-bzero-ifunc.c: Likewise.
22277 * string/test-memccpy-ifunc.c: Likewise.
22278 * string/test-memchr-ifunc.c: Likewise.
22279 * string/test-memcmp-ifunc.c: Likewise.
22280 * string/test-memcpy-ifunc.c: Likewise.
22281 * string/test-memmem-ifunc.c: Likewise.
22282 * string/test-memmove-ifunc.c: Likewise.
22283 * string/test-mempcpy-ifunc.c: Likewise.
22284 * string/test-memset-ifunc.c: Likewise.
22285 * string/test-rawmemchr-ifunc.c: Likewise.
22286 * string/test-stpcpy-ifunc.c: Likewise.
22287 * string/test-stpncpy-ifunc.c: Likewise.
22288 * string/test-strcasecmp-ifunc.c: Likewise.
22289 * string/test-strcasestr-ifunc.c: Likewise.
22290 * string/test-strcat-ifunc.c: Likewise.
22291 * string/test-strchr-ifunc.c: Likewise.
22292 * string/test-strchrnul-ifunc.c: Likewise.
22293 * string/test-strcmp-ifunc.c: Likewise.
22294 * string/test-strcpy-ifunc.c: Likewise.
22295 * string/test-strcspn-ifunc.c: Likewise.
22296 * string/test-strlen-ifunc.c: Likewise.
22297 * string/test-strncasecmp-ifunc.c: Likewise.
22298 * string/test-strncat-ifunc.c: Likewise.
22299 * string/test-strncmp-ifunc.c: Likewise.
22300 * string/test-strncpy-ifunc.c: Likewise.
22301 * string/test-strnlen-ifunc.c: Likewise.
22302 * string/test-strpbrk-ifunc.c: Likewise.
22303 * string/test-strrchr-ifunc.c: Likewise.
22304 * string/test-strspn-ifunc.c: Likewise.
22305 * string/test-strstr-ifunc.c: Likewise.
22306
de54b33a
L
22307 * debug/Makefile (tests-ifunc): New variable.
22308 (tests): Add $(tests-ifunc).
22309 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22310 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22311 * debug/test-stpcpy_chk-ifunc.c: New file.
22312 * debug/test-strcpy_chk-ifunc.c: Likewise.
22313
88481c16
SP
223142012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22315
22316 [BZ #13601]
22317 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22318 header is not read in.
22319
135948bd
JM
223202012-10-19 Joseph Myers <joseph@codesourcery.com>
22321
89f1c388
JM
22322 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22323 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22324 directly. Pass built executable to script as
22325 $(built-program-cmd).
22326 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22327 $testprogram without using LD_LIBRARY_PATH and $ldso.
22328
e40a0d21
JM
22329 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22330 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22331 $(rtld-installed-name).
22332 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22333 (rtld_installed_name): Likewise.
22334 (library_path): Likewise.
22335 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22336 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22337 $(run-program-prefix) to tst-tables.sh.
22338 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22339 it to run tst-table-from and tst-table-to.
22340 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22341 Pass it to tst-table.sh.
22342 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22343 $(run-program-prefix) to tst-gettext.sh.
22344 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22345 tst-translit.sh.
22346 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22347 tst-gettext2.sh.
22348 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22349 to run tst-gettext.
22350 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22351 to run tst-gettext2.
22352 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22353 to run tst-translit.
22354 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22355 $(run-program-prefix) to tst-mtrace.sh.
22356 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22357 to run tst-mtrace.
22358 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22359 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22360 $(rtld-installed-name).
22361 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22362 (rtld_installed_name): Likewise.
22363 (run_program_prefix): New variable. Use it to run wordexp-test.
22364
728e272a
JM
22365 * Makeconfig (ARCH): Remove all definitions.
22366 (machine): Likewise.
22367 [ARCH]: Remove conditional code.
22368 [!objdir]: Give error.
22369 [!objdir] (objpfx): Remove.
22370 [!objdir] (common-objpfx): Likewise.
22371 [!objdir] (common-objdir): Likewise.
22372 * configure.in (config_makefile): Remove. Hardcode Makefile in
22373 AC_CONFIG_FILES call.
22374 * configure: Regenerated.
22375
d528cdcf
JM
22376 [BZ #13888]
22377 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22378 or TMPDIR.
22379 (testout): Likewise.
22380
135948bd
JM
22381 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22382 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22383 $(rtld-installed-name).
22384 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22385 (rtld_installed_name): Likwise.
22386 (runit): Remove function.
22387 (run_getconf): New variable, Use it for running getconf binary.
22388
38c78296
L
223892012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22390
22391 [BZ #14716]
22392 * string/test-memmem.c (check_result): New function.
22393 (do_one_test): Use it.
22394 (check1): New function.
22395 (test_main): Use it.
22396
d077f65f
MT
223972012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22398
22399 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22400
ced52c71
JM
224012012-10-18 Joseph Myers <joseph@codesourcery.com>
22402
22403 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22404 (_G_LSEEK64): Likewise.
22405 (_G_MMAP64): Likewise.
22406 (_G_FSTAT64): Likewise.
22407 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22408 (_G_LSEEK64): Likewise.
22409 (_G_MMAP64): Likewise.
22410 (_G_FSTAT64): Likewise.
22411 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22412 unconditional. Call __mmap64 directly.
22413 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22414 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22415 __lseek64 directly.
22416 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22417 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22418 __mmap64 directly.
22419 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22420 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22421 __lseek64 directly.
22422 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22423 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22424 __lseek64 directly.
22425 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22426 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22427 __lseek64 directly.
22428 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22429 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22430 __fxstat64 directly.
22431 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22432 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22433 unconditional.
22434 (freopen64) [!_G_OPEN64]: Remove conditional code.
22435 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22436 unconditional.
22437 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22438 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22439 unconditional.
22440 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22441 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22442 unconditional.
22443 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22444 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22445 unconditional.
22446 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22447 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22448 unconditional.
22449 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22450 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22451 unconditional.
22452 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22453 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22454 unconditional.
22455 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22456
b741de23
SP
224572012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22458
22459 [BZ #12140]
22460 * manual/memory.texi (Malloc Tunable Parameters): Add note
22461 about free list pointers overwriting some perturb bytes.
22462 Wording suggested by Roland McGrath.
22463
f9b9d9c9
JM
224642012-10-17 Joseph Myers <joseph@codesourcery.com>
22465
22466 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22467 (lgamma_test): Likewise.
22468 (tgamma_test): Likewise.
22469
172a631a
FW
224702012-10-16 Florian Weimer <fweimer@redhat.com>
22471
22472 [BZ #14700]
22473 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22474 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22475
e9f37252
MK
224762012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22477
22478 * NEWS: Mention BZ #14716.
22479 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22480 when removing AVAILABLE1_USES_J macro.
22481
d394eb74
L
224822012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22483
22484 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22485 (__bswap_64): __uint64_t for unsigned 64-bit int.
22486
ca38dc17
AS
224872012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22488
22489 * include/string.h (memmem): Declare libc hidden alias.
22490 * string/memmem.c (memmem): Define libc hidden alias.
22491 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22492 __read, __close instead of open, read, close.
22493
9a387d1f
L
224942012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22495
ac49ecaf
L
22496 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22497 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22498 global and hidden.
22499 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22500 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22501 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22502 Likewise.
22503 (__rawmemchr_sse2): Likewise.
22504 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22505 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22506 (__strchr_sse2): Likewise.
22507 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22508 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22509 (__strcasecmp_sse2): Likewise.
22510 (__strncasecmp_sse2): Likewise.
22511 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22512 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22513 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22514 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22515 (__strrchr_sse2): Likewise.
22516 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22517 ifunc-impl-list.c.
22518 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22519 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22520 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22521 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22522 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22523 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22524 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22525 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22526 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22527 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22528 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22529 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22530 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22531 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22532 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22533 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22534 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22535 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22536 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22537 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22538 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22539 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22540 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22541 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22542 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22543 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22544 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22545 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22546 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22547 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22548
b090e8ea
L
22549 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22550 global and hidden.
22551 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22552 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22553 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22554 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22555 Likewise.
22556 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22557 Likewise.
22558 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22559 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22560 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22561 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22562 ifunc-impl-list.c.
22563 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22564 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22565 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22566 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22567 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22568 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22569 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22570 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22571 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22572 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22573 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22574 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22575 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22576 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22577 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22578 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22579 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22580 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22581 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22582 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22583 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22584 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22585 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22586 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22587 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22588 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22589 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22590 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22591 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22592 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22593 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22594 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22595 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22596 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22597 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22598 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22599 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22600 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22601 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22602 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22603 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22604
11dd4af6
L
22605 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22606 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22607 * include/ifunc-impl-list.h: New file.
22608 * misc/ifunc-impl-list.c: Likewise.
22609 * misc/Makefile (routines): Add ifunc-impl-list.
22610 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22611 * string/test-string.h: Include <ifunc-impl-list.h>.
22612 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22613 impl_array): New variables.
22614 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22615 are defined.
22616 (test_init): Call __libc_ifunc_impl_list to initialize
22617 func_list if TEST_IFUNC and TEST_NAME are defined.
22618
9a387d1f
L
22619 * string/Makefile (strop-tests): Add bcopy and bzero.
22620 * string/test-bcopy.c: New file.
22621 * string/test-bzero.c: Likewise.
22622 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22623 defined.
22624 * string/test-memset.c: Support bzero test if TEST_BZERO is
22625 defined.
22626 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22627 __libc_memmove.
22628 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22629 __libc_memset.
22630 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22631 of memset.
22632
472371b9
JM
226332012-10-10 Joseph Myers <joseph@codesourcery.com>
22634
1e4a9536
JM
22635 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22636 * configure: Regenerated.
22637
d173d12e
JM
22638 * Makeconfig (+link-static-before-libc): Don't include
22639 $(link-static-libc).
22640
472371b9
JM
22641 * libio/libio.h (_IO_pos_t): Remove.
22642
89a3ad0b
AO
226432012-10-10 Alexandre Oliva <aoliva@redhat.com>
22644
22645 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22646 McGrath.
22647
e7451425
AO
226482012-10-10 Alexandre Oliva <aoliva@redhat.com>
22649
22650 * crypt/crypt-entry.c: Include fips-private.h.
22651 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22652 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22653 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22654 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22655
4ba74a35
AO
226562012-10-10 Alexandre Oliva <aoliva@redhat.com>
22657
22658 * crypt/crypt-private.h: Include stdbool.h.
22659 (_ufc_setup_salt_r): Return bool.
22660 * crypt/crypt-entry.c: Include errno.h.
22661 (__crypt_r): Return NULL with EINVAL for bad salt.
22662 * crypt/crypt_util.c (bad_for_salt): New.
22663 (_ufc_setup_salt_r): Check that salt is long enough and within
22664 the specified alphabet.
22665 * crypt/badsalttest.c: New file.
22666 * crypt/Makefile (tests): Add it.
22667 ($(objpfx)badsalttest): New.
22668
f96f1242
MK
226692012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22670
22671 * NEWS: Add entry for BZ #14602.
22672
0e8e0c1c
JM
226732012-10-09 Joseph Myers <joseph@codesourcery.com>
22674
22675 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22676 type-generic.
22677 * math/libm-test.inc: Update comment listing what functions and
22678 macros are tested.
22679 (isgreater_test): New function.
22680 (isgreaterequal_test): Likewise.
22681 (isless_test): Likewise.
22682 (islessequal_test): Likewise.
22683 (islessgreater_test): Likewise.
22684 (isunordered_test): Likewise.
22685 (main): Call the new functions.
22686
273edc5e
RM
226872012-10-09 Roland McGrath <roland@hack.frob.com>
22688
b8493de0
RM
22689 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22690 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22691 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22692 * sysdeps/i386/configure: Regenerated.
22693 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22694 * sysdeps/mach/configure: Regenerated.
22695 * sysdeps/mach/hurd/configure: Regenerated.
22696 * sysdeps/powerpc/configure: Regenerated.
22697 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22698 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22699 * sysdeps/s390/s390-32/configure: Regenerated.
22700 * sysdeps/s390/s390-64/configure: Regenerated.
22701 * sysdeps/sh/configure: Regenerated.
22702 * sysdeps/sparc/configure: Regenerated.
22703 * sysdeps/unix/sysv/linux/configure: Regenerated.
22704 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22705 * sysdeps/x86_64/configure: Regenerated.
22706
273edc5e
RM
22707 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22708 defined. Don't check if MAP is NULL.
22709
c8450f70
JM
227102012-10-09 Joseph Myers <joseph@codesourcery.com>
22711
22712 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22713 (_G_stat64): Likewise.
22714 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22715 (_G_stat64): Likewise.
22716 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22717 instead of struct _G_stat64.
22718 * libio/fileops.c (mmap_remap_check): Likewise.
22719 (decide_maybe_mmap): Likewise.
22720 (_IO_new_file_seekoff): Likewise.
22721 (_IO_file_stat): Likewise.
22722 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22723 _G_off64_t.
22724 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22725 instead of struct _G_stat64.
22726 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22727
57e605ba
MK
227282012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22729
22730 [BZ #14602]
22731 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22732 Replace with ...
22733 (CHECK_EOL): New macro.
22734 (two_way_short_needle): Check beginning of haystack for EOL. Use
22735 CHECK_EOL.
22736 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22737 Replace with CHECK_EOL.
22738 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22739 Replace with CHECK_EOL.
22740
ef1bb361
JM
227412012-10-08 Joseph Myers <joseph@codesourcery.com>
22742
22743 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22744 type-generic.
22745 * math/libm-test.inc: Update comment listing what functions and
22746 macros are tested.
22747 (finite_test): New function.
22748 (isinf_test): Likewise.
22749 (isnan_test): Likewise.
22750 (fpclassify_test): Test subnormal input.
22751 (isfinite_test): Likewise.
22752 (isnormal_test): Likewise.
22753 (main): Call the new functions.
22754
55f11534
JN
227552012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22756
22757 [BZ #14660]
22758 * Makerules (%.dynsym): Force C locale when running
22759 $(OBJDUMP) --dynamic-syms.
22760
1ab29350
AS
227612012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22762
22763 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22764 <stdint.h>.
22765
f1ecb7ef
DM
227662012-10-06 David S. Miller <davem@davemloft.net>
22767
22768 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22769 upper 32-bits of the length value in %o2 since we use branch-on-register
22770 tests which consider the entire 64-bit register.
22771
5d41d91a
L
227722012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22773
22774 * string/test-strstr.c (check2): Add a test for page boundary.
22775
3baddb72
DM
227762012-10-05 David S. Miller <davem@davemloft.net>
22777
22778 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22779 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22780 file.
22781 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22782 sysdep_routines.
22783 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22784 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22785 and bzero when HWCAP_SPARC_CRYPTO is present.
22786
9cee5585
L
227872012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22788
d7e0dab9
L
22789 [BZ #14602]
22790 * string/test-strstr.c (check2): New function.
22791 (test_main): Call check2.
22792
03759f47
L
22793 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22794 and bug-strchr1.
22795 * string/bug-strcasestr1.c (do_test): Moved to ...
22796 * string/test-strcasestr.c (check1): Here. New function.
22797 (do_one_test): Break out result checking code into ...
22798 (check_result): This. New function.
22799 (do_one_test): Call check_result.
22800 (test_main): Call check1.
22801 * string/bug-strchr1.c (do_test): Moved to ...
22802 * string/test-strchr.c (check1): Here. New function.
22803 (do_one_test): Break out result checking code into ...
22804 (check_result): This. New function.
22805 (do_one_test): Call check_result.
22806 (test_main): Call check1.
22807 * string/bug-strstr1.c (main): Moved to ...
046f153e 22808 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22809 (do_one_test): Break out result checking code into ...
22810 (check_result): This. New function.
22811 (do_one_test): Call check_result.
22812 (test_main): Call check1.
22813 * string/bug-strcasestr1.c: Removed.
22814 * string/bug-strchr1.c: Likewise.
22815 * string/bug-strstr1.c: Likewise.
22816
53cea63e
L
22817 * elf/Makefile (dl-routines): Add hwcaps.
22818 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22819 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22820 (_dl_important_hwcaps): Moved to ...
22821 * elf/dl-hwcaps.c: Here. New file.
22822 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22823
9cee5585 22824 [BZ #14557]
bb859b06
L
22825 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22826 if IS_IN_rtld isn't defined.
22827
9cee5585
L
22828 * elf/dl-support.c (_dl_sysinfo_map): New.
22829 Include "get-dynamic-info.h" and "setup-vdso.h".
22830 (_dl_non_dynamic_init): Call setup_vdso.
22831 * elf/dynamic-link.h: Don't include <assert.h>.
22832 (elf_get_dynamic_info): Moved to ...
22833 * elf/get-dynamic-info.h: Here. New file.
22834 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22835 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22836 * elf/setup-vdso.h: Here. New file.
22837 * elf/rtld.c: Include "setup-vdso.h".
22838 (dl_main): Call setup_vdso.
22839
23c31b76
JM
228402012-10-05 Joseph Myers <joseph@codesourcery.com>
22841
28234b07
JM
22842 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22843 creal in comment listing functions tested. List finite, isinf,
22844 isnan, isless, islessequal, isgreater, isgreaterequal,
22845 islessgreater, isunordered, lgamma_r and pow10 as functions and
22846 macros not tested. Mention which functions not tested are aliases
22847 for other functions. Fix typo. Note that signs of NaNs are not
22848 tested.
22849
23c31b76
JM
22850 * scripts/config.guess: Update from config.git.
22851 * scripts/config.sub: Likewise.
22852
9043e228
RM
228532012-10-04 Roland McGrath <roland@hack.frob.com>
22854
22855 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22856 * misc/madvise.c (madvise): Renamed to __madvise.
22857 Make madvise a weak alias.
22858 * include/sys/mman.h: Declare __madvise.
22859 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22860 * sysdeps/unix/syscalls.list
22861 (madvise): Make __madvise the strong name, and madvise a weak alias.
22862 * sysdeps/unix/sysv/linux/syscalls.list
22863 (madvise, mmap): Remove redundant entries.
22864 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22865 * malloc/malloc.c (mtrim): Likewise.
22866 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22867
f57f8055
RM
228682012-10-03 Roland McGrath <roland@hack.frob.com>
22869
22870 * sysdeps/mach/hurd/dl-cache.c: File removed.
22871 * config.h.in (USE_LDCONFIG): New #undef.
22872 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22873 * configure: Regenerated.
22874 * elf/Makefile (dl-routines): Add dl-cache only under
22875 [$(use-ldconfig) = yes].
22876 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22877 cache on [USE_LDCONFIG].
22878 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22879 [USE_LDCONFIG].
22880 * elf/rtld.c (dl_main): Likewise.
22881
5bb0c10a
PT
228822012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22883
22884 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22885 _SC_LEVEL4_CACHE_LINESIZE.
22886
010188c6
RM
228872012-10-03 Roland McGrath <roland@hack.frob.com>
22888
22889 * sysdeps/unix/bsd/confstr.h: File removed.
22890
b6c5ec07
AO
228912012-10-02 Alexandre Oliva <aoliva@redhat.com>
22892
22893 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22894 sys/sdt-config.h.
22895
408223d4
RM
228962012-10-02 Roland McGrath <roland@hack.frob.com>
22897
22898 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22899 Make 'mapoff' field ElfW(Off) rather than off_t.
22900
bb9510dc
DL
229012012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22902
fc997c6e
DL
22903 * nscd/Makefile: Remove nscd-cflags and all its users.
22904 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22905 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22906
bb9510dc
DL
22907 [BZ #10631]
22908 * malloc.c (malloc_printerr): Clarify error message.
22909
05699367
L
229102012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22911
22912 [BZ #14648]
22913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22914 Set bit_FMA_Usable if FMA is supported.
22915 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22916 macro.
22917 (bit_FMA4_Usable): Updated.
22918 (index_FMA_Usable): New macro.
22919 (CPUID_FMA): Likewise
22920 (HAS_FMA): Defined with bit_FMA_Usable.
22921
51367701
RM
229222012-10-01 Roland McGrath <roland@hack.frob.com>
22923
22924 * bits/types.h (__swblk_t): Type removed.
22925 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22926 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22928 (__SWBLK_T_TYPE): Likewise.
22929 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22930 (__SWBLK_T_TYPE): Likewise.
22931 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22932 (__SWBLK_T_TYPE): Likewise.
22933 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22934 (__SWBLK_T_TYPE): Likewise.
22935
4d57bf63 229362012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22937 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22938
22939 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22940 (xdr_mapname): Use YPMAXMAP as maxsize.
22941 (xdr_peername): Use YPMAXPEER as maxsize.
22942 (xdr_keydat): Use YPAXRECORD as maxsize.
22943 (xdr_valdat): Use YPMAXRECORD as maxsize.
22944
93c65d43
RM
229452012-10-01 Roland McGrath <roland@hack.frob.com>
22946
497a03d6
RM
22947 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22948
93c65d43
RM
22949 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22950 * csu/init-first.c: ... here.
22951 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22952 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22953 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22954 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22955 * sysdeps/i386/init-first.c: File removed.
22956 * sysdeps/sh/init-first.c: File removed.
22957
bec749fd
JM
229582012-10-01 Joseph Myers <joseph@codesourcery.com>
22959
22960 [BZ #14645]
22961 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22962 if x * y might underflow to zero and z is zero.
22963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22964 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22965 * math/libm-test.inc (min_subnorm_value): New variable.
22966 (fma_test): Add more tests.
22967 (fma_test_towardzero): Likewise.
22968 (fma_test_downward): Likewise
22969 (fma_test_upward): Likewise.
22970 (initialize): Set min_subnorm_value.
22971
8ec5b013
JM
229722012-09-29 Joseph Myers <joseph@codesourcery.com>
22973
22974 [BZ #14638]
22975 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22976 0 + 0.
22977 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22978 mode for addition resulting in exact zero.
22979 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22981 exact 0 + 0.
22982 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22983 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22984 * math/libm-test.inc (fma_test): Add more tests.
22985 (fma_test_towardzero): New function.
22986 (fma_test_downward): Likewise.
22987 (fma_test_upward): Likewise.
22988 (main): Call the new functions.
22989
b1fa802e
DM
229902012-09-28 David S. Miller <davem@davemloft.net>
22991
22992 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22993
d3b9fd9e
RM
229942012-09-28 Roland McGrath <roland@hack.frob.com>
22995
ea4d37b3
RM
22996 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22997 instead of SIGALRM.
22998
ac51c949
RM
22999 * sysdeps/gnu/_G_config.h: Moved to ...
23000 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23001 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23002 * sysdeps/generic/_G_config.h: ... here.
23003
28c195f7
RM
23004 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23005
848917f9
RM
23006 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23007
6bacf05b
RM
23008 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23009 Conditionalize target on [libnss_test1.so-version].
23010
91363dbb
RM
23011 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23012
cc87f7d8
RM
23013 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23014 (elfobjdir): Move out of conditionals.
23015
b1c608fe
RM
23016 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23017 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23018 (__nss_lookup_function): Conditionalize label remove_from_tree on
23019 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23020
1d9a6d96
DM
230212012-09-28 David S. Miller <davem@davemloft.net>
23022
23023 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23024 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23025 file.
23026 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23027 sysdep_routines.
23028 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23029 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23030 when HWCAP_SPARC_CRYPTO is present.
23031
72581615
PT
230322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23033
23034 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23035
715a900c
JL
230362012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23037
23038 [BZ #6530]
23039 * stdio-common/vfprintf.c (process_string_arg): Revert
23040 2000-07-22 change.
23041
230422011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23043
23044 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23045 for testcase.
23046 * stdio-common/tst-sprintf.c: Include <locale.h>
23047 (main): Test sprintf's handling of incomplete multibyte
23048 characters.
23049
9bac1d86
L
230502012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23051
23052 * elf/dl-runtime.c (VERSYMIDX): Removed.
23053 * elf/dl-version.c (VERSYMIDX): Likewise.
23054 * elf/do-rel.h (VERSYMIDX): Likewise.
23055 (VALIDX): Likewise.
23056 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23057 * elf/rtld.c (VALIDX): Likewise.
23058 (ADDRIDX): Likewise.
9bac1d86
L
23059 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23060 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23061 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23062 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23063 (VALIDX): Likewise.
23064 (ADDRIDX): Likewise.
9bac1d86 23065
b31606c0
PT
230662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23067
23068 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23069
11541177
JL
230702012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23071
23072 [BZ #11438]
23073 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23074 to global scope.
23075 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23076 addresses are in the same scope as 192.0.2/24.
23077 * posix/gai.conf: Document new scope table defaults.
23078
adb26fae
SP
230792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23080
23081 [BZ #5298]
23082 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23083 for ftell. Compute offsets from write pointers instead.
23084 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23085
4573c6b0
SP
230862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23087
23088 [BZ #14543]
23089 * libio/Makefile (tests): New test case tst-fseek.
23090 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23091 combination works in wide mode.
23092 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23093 state when the external buffer state changes.
23094
aa9bbfe6
DM
230952012-09-27 David S. Miller <davem@davemloft.net>
23096
23097 [BZ #14376]
23098 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23099 pass reloc->r_addend in as the 'high' argument to
23100 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23101
784421e7
DM
23102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23103
c39bc8b8
PT
231042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23105
23106 * rt/tst-aio2.c: Include <pthread.h>.
23107 * rt/tst-aio3.c: Likewise.
23108
1ccc2399
SE
231092012-09-27 Steve Ellcey <sellcey@mips.com>
23110
23111 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23112
31ed4153
L
231132012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23114
25f5f885
L
23115 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23116 contents on [SHARED].
31ed4153 23117
b7bfe116
MP
231182012-09-26 Marek Polacek <polacek@redhat.com>
23119
23120 [BZ #14530]
23121 [BZ #13741]
23122 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23123 for C++ and GCC <4.3 as well as for non GCC compilers.
23124
43c4edba
MT
231252012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23126
23127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23128
6a1bf82f
RM
231292012-09-25 Roland McGrath <roland@hack.frob.com>
23130
23131 * Makefile.in (all, install): Declare with .PHONY.
23132 Reported by Michael Hope <michael.hope@linaro.org>.
23133
8ad11b9a
TMQMF
231342012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23135
23136 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23137 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23138 system header.
23139 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23140 Likewise.
23141 (sydep_routines): Add the new and the internal functions.
23142 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23143 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23145 (GLIBC_2.17): Add the new function.
23146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23147 (GLIBC_2.17): Likewise.
23148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23149 (GLIBC_2.17): Likewise.
23150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23151 (GLIBC_2.17): Likewise.
23152 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23153
7e2fca8d
AM
231542012-09-25 Alan Modra <amodra@gmail.com>
23155
23156 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23157 Add release barrier before setting once_control to say
23158 initialisation is done. Add hints on lwarx. Use macro in
23159 place of isync.
23160 (clear_once_control): Add release barrier.
23161
b87c4b24
JM
231622012-09-25 Joseph Myers <joseph@codesourcery.com>
23163
d032e0d2
JM
23164 [BZ #13629]
23165 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23166 specially.
23167 * math/s_clog10.c (__clog10): Likewise.
23168 * math/s_clog10f.c (__clog10f): Likewise.
23169 * math/s_clog10l.c (__clog10l): Likewise.
23170 * math/s_clogf.c (__clogf): Likewise.
23171 * math/s_clogl.c (__clogl): Likewise.
23172 * math/Makefile (libm-calls): Add x2y2m1.
23173 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23174 (__x2y2m1): Likewise.
23175 (__x2y2m1l): Likewise.
23176 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23177 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23178 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23179 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23180 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23181 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23182 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23183 * sysdeps/i386/fpu/libm-test-ulps: Update.
23184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23185
b87c4b24
JM
23186 [BZ #14621]
23187 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23188 int as type of variable DEPTH.
23189 (glob): Use size_t instead of int as type of variables NEWCOUNT
23190 and OLD_PATHC.
23191
6d3bf199
LD
231922012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23193
22bf5c17
LD
23194 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23195 Add s_sincosf-sse2.
23196 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23197 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23198 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23199 macros for using routine as __sincosf_ia32.
23200 Use macro for function declaration and weak_alias.
23201 * sysdeps/i386/fpu/libm-test-ulps: Update.
23202
23203 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23205
23206 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23207 subnormal argument.
23208 * math/s_cexpf.c (__cexpf): Likewise.
23209 * math/s_csinf.c (__csinf): Likewise.
23210 * math/s_csinhf.c (__csinhf): Likewise.
23211 * math/s_ctanf.c (__ctanf): Likewise.
23212 * math/s_ctanhf.c (__ctanhf): Likewise.
23213 * math/s_ccosh.c (__ccoshf): Likewise.
23214 * math/s_cexp.c (__cexpl): Likewise.
23215 * math/s_csin.c (__csin): Likewise.
23216 * math/s_csinh.c (__csinh): Likewise.
23217 * math/s_ctan.c (__ctan): Likewise.
23218 * math/s_ctanh.c (ctanh): Likewise.
23219 * math/s_ccoshl.c (__ccoshl): Likewise.
23220 * math/s_cexpl.c (__cexpl): Likewise.
23221 * math/s_csinl.c (__csinl): Likewise.
23222 * math/s_csinhl.c (__csinhl): Likewise.
23223 * math/s_ctanl.c (__ctanl): Likewise.
23224 * math/s_ctanhl.c (__ctanhl): Likewise.
23225
203e5603
JM
232262012-09-25 Joseph Myers <joseph@codesourcery.com>
23227
23228 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23229 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23230 (_IO_off_t): Define to __off_t, not _G_off_t.
23231 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23232 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23233 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23234 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23235 type of __dummy and __dummy2 fields.
23236 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23237 (_G_ssize_t): Likewise.
23238 (_G_off_t): Likewise.
23239 (_G_pid_t): Likewise.
23240 (_G_uid_t): Likewise.
23241 (_G_wchar_t): Likewise.
23242 (_G_wint_t): Likewise.
23243 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23244 (_G_ssize_t): Likewise.
23245 (_G_off_t): Likewise.
23246 (_G_pid_t): Likewise.
23247 (_G_uid_t): Likewise.
23248 (_G_wchar_t): Likewise.
23249 (_G_wint_t): Likewise.
23250 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23251 (_G_ssize_t): Likewise.
23252 (_G_off_t): Likewise.
23253 (_G_pid_t): Likewise.
23254 (_G_uid_t): Likewise.
23255 (_G_wchar_t): Likewise.
23256 (_G_wint_t): Likewise.
23257
9fab36eb
SP
232582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23259
23260 * malloc/arena.c: Include malloc-sysdep.h.
23261 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23262 is sufficient to shrink the heap or an unmap is needed.
23263 * sysdeps/generic/malloc-sysdep.h: New file. Define
23264 new function check_may_shrink_heap.
23265 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23266 new function check_may_shrink_heap.
23267
2b4f00d1
SP
232682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23269
23270 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23271 comments.
23272
9a9028b1
DL
232732012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23274
57c69bef
DL
23275 * catgets/test-gencat.sh: Add "set -e".
23276 * elf/tst-pathopt.sh: Likewise.
23277 * grp/tst_fgetgrent.sh: Likewise.
23278 * iconvdata/run-iconv-test.sh: Likewise.
23279 * intl/tst-gettext.sh: Likewise.
23280 * intl/tst-gettext2.sh: Likewise.
23281 * intl/tst-gettext4.sh: Likewise.
23282 * intl/tst-gettext6.sh: Likewise.
23283 * intl/tst-translit.sh: Likewise.
23284 * io/ftwtest-sh: Likewise.
23285 * libio/test-freopen.sh: Likewise.
23286 * malloc/tst-mtrace.sh: Likewise.
23287 * posix/globtest.sh: Likewise.
23288 * posix/tst-getconf.sh: Likewise.
23289 * posix/wordexp-tst.sh: Likewise.
23290 * stdio-common/tst-printf.sh: Likewise.
23291 * stdio-common/tst-unbputc.sh: Likewise.
23292 * stdlib/tst-fmtmsg.sh: Likewise.
23293 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23294 * catgets/Makefile: Do not specify -e option when running
23295 testsuite shell scripts.
23296 * elf/Makefile: Likewise.
23297 * grp/Makefile: Likewise.
23298 * iconvdata/Makefile: Likewise.
23299 * intl/Makefile: Likewise.
23300 * io/Makefile: Likewise.
23301 * libio/Makefile: Likewise.
23302 * malloc/Makefile: Likewise.
23303 * posix/Makefile: Likewise.
23304 * stdio-common/Makefile: Likewise.
23305 * stdlib/Makefile: Likewise.
23306 * sysdeps/x86_64/Makefile: Likewise.
23307
9a9028b1
DL
23308 * io/ftwtest-sh: Add copyright header.
23309 * posix/globtest.sh: Likewise.
23310 * posix/tst-getconf.sh: Likewise.
23311 * posix/wordexp-tst.sh: Likewise.
23312 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23313
ced6f16e
L
233142012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23315
94b32c39
L
23316 [BZ #13679]
23317 * Makeconfig (+link): Defined as $(+link-static) if
23318 $(build-shared) isn't yes.
23319 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23320 isn't yes.
23321 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23322
189e935b
L
23323 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23324
ced6f16e
L
23325 [BZ #14562]
23326 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23327 new chunk size with MALLOC_ALIGN_MASK.
23328
a9f8e53a
JM
233292012-09-24 Joseph Myers <joseph@codesourcery.com>
23330
23331 [BZ #5044]
23332 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23333 <rounding-mode.h>.
23334 (__printf_fphex): Determine rounding using get_rounding_mode and
23335 round_away.
23336 * stdio-common/tst-printf-round.c (struct hex_test): New
23337 structure.
23338 (hex_tests): New variable.
23339 (test_hex_in_one_mode): New function.
23340 (do_test): Also run tests for hex float output.
23341
43153109
JM
233422012-09-21 Joseph Myers <joseph@codesourcery.com>
23343
23344 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23345 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23346 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23347 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23348 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23349 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23350 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23351 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23352
8a26625d
JM
233532012-09-20 Joseph Myers <joseph@codesourcery.com>
23354
23355 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23356 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23357 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23358 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23359
f3fd569c
DL
233602012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23361
23362 [BZ #14579]
23363 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23364 mode only.
23365 * elf/tst-rtld-load-self.sh: New test.
23366 * elf/Makefile: Run it.
23367
63bbedd4
JM
233682012-09-18 Joseph Myers <joseph@codesourcery.com>
23369
23370 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23371 (tst-writev-ENV): Remove.
23372 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23373
626f8b6a
CM
233742012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23375
23376 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23377
b7aaa4d6
JM
233782012-09-17 Joseph Myers <joseph@codesourcery.com>
23379
23380 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23381 unconditional.
23382 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23383 Likewise.
23384 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23385 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23386 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23387 Likewise.
23388
65513990
L
233892012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23390
23391 [BZ #14587]
23392 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23393 * config.make.in (have-cpp-asm-debuginfo): Removed.
23394 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23395 * configure: Regenerated.
23396
784761be
JM
233972012-09-14 Joseph Myers <joseph@codesourcery.com>
23398
23399 [BZ #5044]
23400 * stdio-common/printf_fp.c: Include <stdbool.h> and
23401 <rounding-mode.h>.
23402 (___printf_fp): Determine rounding using get_rounding_mode and
23403 round_away.
23404 * stdio-common/tst-printf-round.c: New file.
23405 * stdio-common/Makefile (tests): Add tst-printf-round.
23406 (link-libm): New variable.
23407 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23408
9503345f
L
234092012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23410
23411 [BZ #14576]
23412 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23413 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23414 Likewise.
23415 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23416 Likewise.
23417
ad35fc00
JM
234182012-09-13 Joseph Myers <joseph@codesourcery.com>
23419
23420 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23421 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23422 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23423 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23424
6c9b0f68
JM
234252012-09-12 Joseph Myers <joseph@codesourcery.com>
23426
23427 [BZ #14518]
23428 * include/rounding-mode.h: New file.
23429 * sysdeps/generic/get-rounding-mode.h: Likewise.
23430 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23431 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23432 (MAX_VALUE): New macro.
23433 (MIN_VALUE): Likewise.
23434 (overflow_value): New function.
23435 (underflow_value): Likewise.
23436 (round_and_return): Use overflow_value and underflow_value to
23437 determine return values in overflow and underflow cases. Use
23438 round_away to determine rounding depending on rounding mode.
23439 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23440 determine return values in overflow and underflow cases.
23441 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23442 (struct test_results): New structure.
23443 (struct test): Use struct test_results to store expected results
23444 for all rounding modes.
23445 (TEST): Include expected results for all rounding modes.
23446 (test_in_one_mode): New function.
23447 (do_test): Use test_in_one_mode to compute and check results.
23448 Check results for all rounding modes.
23449 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23450 $(link-libm).
23451
19fcedd5
AM
234522012-12-09 Allan McRae <allan@archlinux.org>
23453
1e9d84cd 23454 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23455
8bbfd2f1
JM
234562012-09-11 Joseph Myers <joseph@codesourcery.com>
23457
23458 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23459 (_G_int32_t): Likewise.
23460 (_G_uint16_t): Likewise.
23461 (_G_uint32_t): Likewise.
23462 (_G_HAVE_BOOL): Likewise.
23463 (_G_HAVE_ATEXIT): Likewise.
23464 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23465 (_G_HAVE_IO_FILE_OPEN): Likewise.
23466 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23467 (_G_int32_t): Likewise.
23468 (_G_uint16_t): Likewise.
23469 (_G_uint32_t): Likewise.
23470 (_G_HAVE_BOOL): Likewise.
23471 (_G_HAVE_ATEXIT): Likewise.
23472 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23473 (_G_HAVE_IO_FILE_OPEN): Likewise.
23474 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23475 (_G_int32_t): Likewise.
23476 (_G_uint16_t): Likewise.
23477 (_G_uint32_t): Likewise.
23478 (_G_HAVE_BOOL): Likewise.
23479 (_G_HAVE_ATEXIT): Likewise.
23480 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23481 (_G_HAVE_IO_FILE_OPEN): Likewise.
23482
b1dc5912
L
234832012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23484
23485 * csu/libc-tls.c: Update copyright years.
23486
0e886ef9
JM
234872012-09-10 Joseph Myers <joseph@codesourcery.com>
23488
28361c5e
JM
23489 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23490 [!_G_USING_THUNKS]: Remove conditional code.
23491 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23492 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23493
0e886ef9
JM
23494 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23495 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23496 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23497 (_G_VTABLE_LABEL_PREFIX): Likewise.
23498 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23499 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23500 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23501 (_G_VTABLE_LABEL_PREFIX): Likewise.
23502 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23503 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23504 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23505 (_G_VTABLE_LABEL_PREFIX): Likewise.
23506 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23507
bcba7aa2
L
235082012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23509
23510 * libio/Makefile: Include ../Makeconfig before tests.
23511 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23512 only if $(build-shared) is yes.
23513
06585ee8
L
23514 * iconv/gconv_db.c: Update copyright years.
23515
80ccd52c
LD
235162012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23517
23518 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23519 unwind info if defined PIC. Fix special cases description.
23520 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23521
23522 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23523 DP_HI_MASK entry.
23524 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23525
691bc9c1
L
235262012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23527
3d9b46b3
L
23528 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23529
de2139a9
L
23530 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23531 is NULL.
23532
5ca78dd0
L
23533 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23534 (LDLIBS-tst-chk4): This.
23535 (LDFLAGS-tst-chk5): Renamed to ...
23536 (LDLIBS-tst-chk5): This.
23537 (LDFLAGS-tst-chk6): Renamed to ...
23538 (LDLIBS-tst-chk6): This.
23539 (LDFLAGS-tst-lfschk4): Renamed to ...
23540 (LDLIBS-tst-lfschk4): This.
23541 (LDFLAGS-tst-lfschk5): Renamed to ...
23542 (LDLIBS-tst-lfschk5): This.
23543 (LDFLAGS-tst-lfschk6): Renamed to ...
23544 (LDLIBS-tst-lfschk6): This.
23545
691bc9c1
L
23546 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23547 on $(common-objpfx)soversions.mk.
23548
65cafb1c
JM
235492012-09-07 Joseph Myers <joseph@codesourcery.com>
23550
23551 [BZ #10014]
23552 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23553 example host name.
23554
c78ab094
SP
235552012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23556
23557 * malloc/arena.c (arena_get_retry): New function that gets
23558 another arena for the caller to try its request on.
23559 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23560 current arena cannot fulfill the request.
23561 (__libc_memalign): Likewise.
23562 (__libc_memalign): Likewise.
23563 (__libc_pvalloc): Likewise.
23564 (__libc_calloc): Likewise.
23565
01f49f59
JT
235662012-09-05 John Tobey <john.tobey@gmail.com>
23567
23568 [BZ #13542]
23569 * manual/arith.texi (Operations on Complex): Fix description
23570 of carg branch cut.
23571
4c23fed5
JM
235722012-09-06 Joseph Myers <joseph@codesourcery.com>
23573
1d3c8572
JM
23574 [BZ #10014]
23575 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23576 host name.
23577
4c23fed5
JM
23578 [BZ #10038]
23579 * manual/memory.texi (Memory): Make order of menu items match
23580 order of sections.
23581
04570aaa
L
235822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23583
23584 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23585 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23586 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23587
b80af2f4
L
235882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23589
23590 * csu/libc-tls.c (static_dtv): Renamed to ...
23591 (_dl_static_dtv): This. Make it global.
23592 (_dl_initial_dtv): Removed.
23593 (__libc_setup_tls): Updated.
23594 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23595 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23596 DL_INITIAL_DTV.
23597
2abe9f15
PM
235982012-09-06 Petr Machata <pmachata@redhat.com>
23599
23600 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23601 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23602 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23603 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23604
0948c3af
L
236052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23606
23607 [BZ #14545]
23608 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23609 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23610 freeing dtv[-1].
23611
a5055ad1
L
236122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23613
23614 [BZ #14544]
23615 * Makeconfig (link-static-before-libc): Replace $(+prector)
23616 with $(+prectorT).
23617 (link-static-after-libc): Replace $(+postctor) with
23618 $(+postctorT).
23619 (link-bounded): Replace $(+prector)/$(+postctor) with
23620 $(+prectorT)/$(+postctorT).
23621 (+prectorT): New macro.
23622 (+postctorT): Likewise.
23623
ed8c2ecd
JM
236242012-09-06 Joseph Myers <joseph@codesourcery.com>
23625
23626 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23627 (round_str): Handle values above the maximum for IBM long double
23628 as inexact.
23629 * stdlib/tst-strtod-round.c (tests): Regenerated.
23630
14c996c8
AK
236312012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23632
23633 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23634 assembler flag.
23635 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23636 zarch_nohighgprs around the zarch optimized routines.
23637 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23638 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23639 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23640 for zarch.
23641
430d6ce6
DM
236422012-09-05 David S. Miller <davem@davemloft.net>
23643
23644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23645
ff04dda4
DM
23646 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23647 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23648 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23649 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23650 entries.
23651
24d4e01b
AO
236522012-09-05 Alexandre Oliva <aoliva@redhat.com>
23653
23654 * malloc/arena.c: Fold copyright years.
23655 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23656
61d58174
AO
236572012-09-05 Alexandre Oliva <aoliva@redhat.com>
23658
23659 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23660
20196a5e
AO
236612012-09-05 Alexandre Oliva <aoliva@redhat.com>
23662
23663 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23664
5c447383
AO
236652012-09-05 Alexandre Oliva <aoliva@redhat.com>
23666
23667 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23668 change internal state upon failure.
23669
fad64255
AO
236702012-09-05 Alexandre Oliva <aoliva@redhat.com>
23671
23672 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23673 * malloc/memusage.c (mmap): Likewise.
23674 (mmap64, mremap): Likewise. Adjust name in comment.
23675
1ffb8c90
SP
236762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23677
23678 * libio/fileops.c: Fix typos in comments.
23679 * libio/oldfileops.c: Likewise.
23680 * libio/wfileops.c: Likewise.
23681
6ef9cc37
SP
236822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23683
23684 [BZ #1349]
23685 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23686 (tst-malloc-usable-ENV): Set environment for test case.
23687 * malloc/hooks.c (malloc_check_get_size): New function to get
23688 requested size.
23689 * malloc/malloc.c (musable): Use malloc_check_get_size.
23690 * malloc/tst-malloc-usable.c: New test case.
23691
4d038ae3
AS
236922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23693
23694 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23695
c4e85184
AM
236962012-09-05 Allan McRae <allan@archlinux.org>
23697
b9dafc56 23698 [BZ #13966]
c4e85184
AM
23699 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23700 determine header location.
23701 * configure: Regenerated.
23702
e1343020
AS
237032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23704
23705 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23706 float format.
23707 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23708 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23709 format.
e1343020
AS
23710 (test): Regenerate.
23711
0a9f1987
DM
237122012-09-04 David S. Miller <davem@davemloft.net>
23713
23714 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23715 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23716 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23717
29237804
FW
237182012-09-04 Florian Weimer <fweimer@redhat.com>
23719
23720 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23721 failures.
23722
edb3cb88
FW
23723 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23724
60160d83
JM
237252012-09-04 Joseph Myers <joseph@codesourcery.com>
23726
23727 [BZ #9914]
23728 * libio/iogetdelim.c: Include <limits.h>.
23729 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23730 + len + 1 would overflow.
23731
bcd6c8dc
AJ
237322012-09-03 Andreas Jaeger <aj@suse.de>
23733
23734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23735 * sysdeps/i386/fpu/libm-test-ulps: Update.
23736
4ffffbd2
LD
237372012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23738
23739 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23740 Add s_sinf-sse2, s_conf-sse2.
23741
23742 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23743 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23744 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23745 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23746
23747 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23748 for using routine as __sinf_ia32.
23749 Use macro for function declaration and weak_alias.
23750 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23751 for using routine as __cosf_ia32.
23752 Use macro for function declaration and weak_alias.
23753
23754 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23755 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23756
23757 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23758 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23760
23761 * math/libm-test.inc (cos_test): Add more test cases.
23762 (sin_test): Likewise.
23763 (sincos_test): Likewise.
23764
511fa286
AK
237652012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23766
23767 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23768 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23769 hidden.
23770 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23771
5f30cfec
L
237722012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23773
23774 [BZ #14538]
23775 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23776 first element of the GOT.
23777 (elf_machine_load_address): Return the difference between
23778 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23779
0786794f
AM
237802012-09-01 Allan McRae <allan@archlinux.org>
23781
5f30cfec
L
23782 [BZ #13412]
23783 * configure.in (AWK): Require gawk version 3.0 or later.
23784 * configure: Regenerated.
0786794f 23785
26889eac
JM
237862012-09-01 Joseph Myers <joseph@codesourcery.com>
23787
23788 * sysdeps/unix/sysv/linux/kernel-features.h
23789 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23790 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23791 [__NR_clock_getres]: Make code unconditional.
23792 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23793 (clock_getcpuclockid): Remove code left unreachable by removal of
23794 conditionals.
23795 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23796 code unconditional.
23797 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23798 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23799 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23800 Make code unconditional.
23801 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23802 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23803 * sysdeps/unix/sysv/linux/clock_settime.c
23804 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23805 conditional code.
23806 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23807 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23808
d22e28b0
L
238092012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23810
23811 [BZ #14476]
23812 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23813 scripts/test-installation.pl.
23814
23815 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23816 and $ld_so_version if it is set.
23817
050af9c4
SP
238182012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23819
23820 [BZ #14516]
23821 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23822 failure if reading from procfs failed.
23823 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23824
ad845c0b
JM
238252012-08-27 Joseph Myers <joseph@codesourcery.com>
23826
23827 * sysdeps/unix/sysv/linux/kernel-features.h
23828 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23829 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23830 Remove conditional code.
23831 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23832 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23833 Remove conditional code.
23834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23835 * sysdeps/unix/sysv/linux/i386/fxstat.c
23836 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23838 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23839 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23841 * sysdeps/unix/sysv/linux/i386/lxstat.c
23842 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23844 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23845 Remove conditional code.
23846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23847 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23848 Remove conditional code.
23849 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23850 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23851 <kernel-features.h>.
23852 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23853 Remove.
23854 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23855 Remove conditional code.
23856 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23857 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23858 Remove conditional.
23859
5dbf56af
MF
238602012-08-27 Mike Frysinger <vapier@gentoo.org>
23861
23862 [BZ #5400]
23863 * NEWS: Add fixed bug number.
23864
d6e70f43
JM
238652012-08-27 Joseph Myers <joseph@codesourcery.com>
23866
7efb4737
JM
23867 [BZ #14519]
23868 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23869 underflowing exponent in case of negative sign.
23870 * stdlib/tst-strtod-round-data: Add more tests.
23871 * stdlib/tst-strtod-round.c (tests): Regenerated.
23872
af92131a
JM
23873 [BZ #3479]
23874 * stdlib/strtod_l.c (NDIG): Remove.
23875 (HEXNDIG): Likewise.
23876 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23877 smallest representable value.
23878 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23879 lie within an exact representation of 1/2 ulp of the result.
23880 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23881 unconditionally.
23882 (TENS_P9_IDX): Define unconditionally.
23883 (TENS_P9_SIZE): Likewise.
23884 (TENS_P10_IDX): Likewise.
23885 (TENS_P10_SIZE): Likewise.
23886 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23887 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23888 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23889 entries for 10^2^13 and 10^2^14.
23890 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23891 (TENS_P13_IDX): Define.
23892 (TENS_P13_SIZE): Likewise.
23893 (TENS_P14_IDX): Likewise.
23894 (TENS_P14_SIZE): Likewise.
23895 (_fpioconst_pow10): Change array size to
23896 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23897 unconditional.
23898 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23899 1024]: Add entries for 10^2^13 and 10^2^14.
23900 [LAST_POW10 > _LAST_POW10]: Remove #error.
23901 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23902 (_fpioconst_pow10): Change array size to
23903 FPIOCONST_POW10_ARRAY_SIZE.
23904 * stdlib/gen-fpioconst.c: New file.
23905 * stdlib/gen-tst-strtod-round.c: Likewise.
23906 * stdlib/tst-strtod-round-data: Likewise.
23907 * stdlib/tst-strtod-round.c: Likewise.
23908 * stdlib/Makefile (tests): Add tst-strtod-round.
23909
d6e70f43
JM
23910 [BZ #14459]
23911 * stdlib/strtod_l.c: Include <stdint.h>.
23912 (NDEBUG): Do not define.
23913 (round_and_return): Change EXPONENT parameter to type intmax_t.
23914 Rearrange calculations to avoid internal overflow possibilities.
23915 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23916 Rearrange calculations to avoid internal overflow possibilities.
23917 Assert that number fits inside MPNSIZE limbs.
23918 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23919 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23920 calculations and add assertions to avoid internal overflow
23921 possibilities. Add casts to avoid signed/unsigned operations.
23922 * stdlib/tst-strtod-overflow.c: New file.
23923 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23924
1f529f7d
MP
239252012-08-25 Marek Polacek <polacek@redhat.com>
23926
23927 * time/time.h: Fix some typos in comments.
23928
59a629f1
RM
239292012-08-23 Roland McGrath <roland@hack.frob.com>
23930
23931 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23932 * posix/tst-rfc3484-2.c: Likewise.
23933 * posix/tst-rfc3484-3.c: Likewise.
23934
d3bafbc9
SM
239352012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23936
23937 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23938 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23939
4efcc022
JM
239402012-08-23 Joseph Myers <joseph@codesourcery.com>
23941
23942 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23943 #include of fxstatat64.c.
23944
3cc3ef96
RM
239452012-08-22 Roland McGrath <roland@hack.frob.com>
23946
f04e2132
RM
23947 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23948 * shadow/getspent_r.c: Likewise.
23949 * shadow/getspnam.c: Likewise.
23950 * shadow/getspnam_r.c: Likewise.
23951 * gshadow/getsgent.c: Likewise.
23952 * gshadow/getsgent_r.c: Likewise.
23953 * gshadow/getsgnam.c: Likewise.
23954 * gshadow/getsgnam_r.c: Likewise.
23955 * inet/getnetbyad.c: Likewise.
23956 * inet/getnetbyad_r.c: Likewise.
23957 * inet/getnetbynm.c: Likewise.
23958 * inet/getnetbynm_r.c: Likewise.
23959 * inet/getnetent.c: Likewise.
23960 * inet/getnetent_r.c: Likewise.
23961 * inet/getproto.c: Likewise.
23962 * inet/getproto_r.c: Likewise.
23963 * inet/getprtent.c: Likewise.
23964 * inet/getprtent_r.c: Likewise.
23965 * inet/getprtname.c: Likewise.
23966 * inet/getprtname_r.c: Likewise.
23967 * inet/getrpcbyname.c: Likewise.
23968 * inet/getrpcbyname_r.c: Likewise.
23969 * inet/getrpcbynumber.c: Likewise.
23970 * inet/getrpcbynumber_r.c: Likewise.
23971 * inet/getrpcent.c: Likewise.
23972 * inet/getrpcent_r.c: Likewise.
23973 * inet/getaliasent.c: Likewise.
23974 * inet/getaliasent_r.c: Likewise.
23975 * inet/getaliasname.c: Likewise.
23976 * inet/getaliasname_r.c: Likewise.
23977 * nscd/getgrgid_r.c: Likewise.
23978 * nscd/getgrnam_r.c: Likewise.
23979 * nscd/gethstbyad_r.c: Likewise.
23980 * nscd/gethstbynm3_r.c: Likewise.
23981 * nscd/getpwnam_r.c: Likewise.
23982 * nscd/getpwuid_r.c: Likewise.
23983 * nscd/getsrvbynm_r.c: Likewise.
23984 * nscd/getsrvbypt_r.c: Likewise.
23985 * nscd/gai.c: Likewise.
23986
c53d909c
RM
23987 * configure.in (build_nscd): New substituted variable, set
23988 by --disable-build-nscd and defaults to $use_nscd.
23989 * configure: Regenerated.
23990 * config.make.in (build-nscd): New substituted variable.
23991 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23992 Change conditional to require [$(build-nscd) = yes] as well.
23993 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23994
3cc3ef96
RM
23995 [BZ# 13696]
23996 * configure.in (use_nscd): New substituted variable, set by
23997 --disable-nscd. If enabled, define USE_NSCD.
23998 * configure: Regenerated.
23999 * config.h.in: Add USE_NSCD.
24000 * config.make.in (use-nscd): New substituted variable.
24001 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24002 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24003 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24004 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24005 (CFLAGS-getgrnam_r.c): Likewise.
24006 (CFLAGS-initgroups.c): Likewise.
24007 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24008 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24009 Variables removed.
24010 * inet/getnetgrent_r.c
24011 (nscd_setnetgrent): New function, broken out of ...
24012 (setnetgrent): ... here. Call it.
24013 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24014 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24015 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24016 * nscd/Makefile (routines, aux): Move definitions after include of
24017 Makeconfig. Conditionalize on [$(use-nscd) != no].
24018 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24019 Conditionalize on [USE_NSCD].
24020 (is_nscd, nscd_init_cb): Likewise.
24021 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24022 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24023 * nss/nss_db/db-init.c: Likewise.
24024 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24025 [USE_NSCD].
24026 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24027 (make_request): Use it.
24028 (cache_valid_p): New function.
24029 (__check_pf): Use it.
24030 * NEWS: Add item for --disable-nscd.
24031
07e51550
DL
240322012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24033
24034 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24035 to support sed >= 4.2.1-20-ga9bf076.
24036 * configure: Regenerated.
24037
35a5b08b
RM
240382012-08-22 Roland McGrath <roland@hack.frob.com>
24039
24040 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24041 Conditionalize whole body on [IREL].
24042
8479f23a
JL
240432012-08-22 Jeff Law <law@redhat.com>
24044
24045 [BZ #14505]
24046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24047 if the family is PF_UNSPEC.
24048
48da0b21
MF
240492012-08-22 Mike Frysinger <vapier@gentoo.org>
24050
24051 * Makerules (lib-version): Rename from V.
24052 (install-lib-nosubdir): Change V to lib-version.
24053
15d0da8c
WS
240542012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24055
24056 [BZ #14252]
24057 * powerpc32/power6/wcschr.c: New file.
24058 * powerpc32/power6/wcscpy.c: New file.
24059 * powerpc32/power6/wcsrchr.c: New file.
24060 * powerpc64/power6/wcschr.c: New file.
24061 * powerpc64/power6/wcscpy.c: New file.
24062 * powerpc64/power6/wcsrchr.c: New file.
24063
bcca0895
MK
240642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24065
24066 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24067 (two_way_short_needle): Use it.
5a4aaa33
RM
24068 * string/strstr.c (AVAILABLE1_USES_J): Define.
24069 * string/strcasestr.c: Likewise.
99677e57
MK
24070
24071 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24072 array references.
24073 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24074
400726de
MK
24075 [BZ #11607]
24076 * NEWS: Add an entry.
24077 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24078 define their defaults.
24079 (two_way_short_needle): Detect end-of-string on-the-fly.
24080 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24081 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24082 * string/bug-strcasestr1.c: New test.
24083 * string/Makefile: Run it.
24084
20a71f2c
MK
240852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24086
24087 [BZ #11607]
24088 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24089 the first character.
24090
21ad0558
RM
240912012-08-21 Roland McGrath <roland@hack.frob.com>
24092
24093 * csu/elf-init.c (__libc_csu_irel): Function removed.
24094 * csu/libc-start.c (apply_irel): New function.
24095 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24096
0e1d9911
JM
240972012-08-21 Joseph Myers <joseph@codesourcery.com>
24098
24099 * sysdeps/unix/sysv/linux/kernel-features.h
24100 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24101 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24102 <kernel-features.h>.
24103 [__NR_fadvise64_64]: Make code unconditional.
24104 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24105 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24106 !__NR_fadvise64_64)]: Likewise.
24107 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24108 !__NR_fadvise64_64))]: Likewise.
24109 [__NR_fadvise64]: Make code unconditional.
24110 [!__NR_fadvise64]: Remove conditional code.
24111 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24112 <kernel-features.h>.
24113 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24114 unconditional.
24115 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24116 conditional code.
24117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24118 not include <kernel-features.h>.
24119 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24120 unconditional.
24121 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24122 conditional code.
24123 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24124 include <kernel-features.h>.
24125 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24126 unconditional.
24127 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24128 conditional code.
24129
14a50c9d
WS
241302012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24131
24132 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24133 slight instruction rearrangements per scrollpipe analysis.
24134 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24135
c0f4faf0
RM
241362012-08-20 Roland McGrath <roland@hack.frob.com>
24137
696da859
RM
24138 * manual/syslog.texi (syslog; vsyslog, closelog):
24139 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24140 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24141
c0f4faf0
RM
24142 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24143 DSOCAPS to match condition on defining it.
24144
348363b2
JM
241452012-08-20 Joseph Myers <joseph@codesourcery.com>
24146
a35cbf28
JM
24147 * sysdeps/unix/sysv/linux/kernel-features.h
24148 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24150 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24151 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24153 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24154 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24156 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24157 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24158
445f7ecd
JM
24159 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24160 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24161
348363b2
JM
24162 * sysdeps/unix/sysv/linux/kernel-features.h
24163 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24164 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24165 unconditional.
24166 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24167 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24168 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24169 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24170 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24171 Make code unconditional.
24172 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24173 (__mmap64) [!__NR_mmap2]: Likewise.
24174 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24175 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24176 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24177 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24178 [__NR_mmap2]: Make code unconditional.
24179 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24180 (__mmap64) [!__NR_mmap2]: Likewise.
24181
bc5bc0e5
AK
241822012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24183
24184 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24185
88d506de
AJ
241862012-08-18 Andreas Jaeger <aj@suse.de>
24187
24188 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24189
493387d2
MF
241902012-08-18 Mike Frysinger <vapier@gentoo.org>
24191
24192 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24193 * include/unistd.h (__have_sock_cloexec): Likewise.
24194 (__have_pipe2): Likewise.
24195 (__have_dup3): Likewise.
24196
a277af22
MF
241972012-08-18 Mike Frysinger <vapier@gentoo.org>
24198
24199 [BZ #9685]
24200 * include/unistd.h (__have_pipe2): Change define into an extern int.
24201 (__have_dup3): Likewise.
24202 * socket/have_sock_cloexec.c: Include fcntl.h.
24203 (__have_pipe2): New variable.
24204 (__have_dup3): Likewise.
24205
fdab8fd3
MF
242062012-08-17 Mike Frysinger <vapier@gentoo.org>
24207
24208 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24209
31035e80
MP
242102012-08-17 Marek Polacek <polacek@redhat.com>
24211
24212 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24213 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24214
3bd9e993
RM
242152012-08-17 Roland McGrath <roland@hack.frob.com>
24216
c91c505f
RM
24217 * configure.in: Add AC_SUBST for sysheaders.
24218 * configure: Regenerated.
24219 * config.make.in (sysheaders): New substituted variable.
24220
7c6f9d53
RM
24221 * sysdeps/unix/mkfifo.c: Moved ...
24222 * sysdeps/posix/mkfifo.c: ... here.
24223 * sysdeps/unix/mkfifoat.c: Moved ...
24224 * sysdeps/posix/mkfifoat.c: ... here.
24225
24226 * sysdeps/unix/utime.c: Moved ...
24227 * sysdeps/posix/utime.c: ... here.
24228
24229 * sysdeps/unix/time.c: Moved ...
24230 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24231 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24232 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24233
24234 * sysdeps/unix/nice.c: Moved ...
24235 * sysdeps/posix/nice.c: ... here.
24236
24237 * sysdeps/unix/alarm.c: Moved ...
24238 * sysdeps/posix/alarm.c: ... here.
24239
3bd9e993
RM
24240 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24241
d1f09384
JL
242422012-08-17 Jeff Law <law@redhat.com>
24243
24244 * intl/Makefile (codeset_mo): New variable.
24245 ($(codeset_mo)): New target.
24246 (tst-codeset.out): Depend on that. Remove explicit rule.
24247 (tst-gettext3.out, tst-gettext5.out): Likewise.
24248 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24249 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24250 * intl/tst-codeset.sh: Remove.
24251 * intl/tst-gettext3.sh: Likewise.
24252 * intl/tst-gettext5.sh: Likewise.
24253
2ae1ae5c
RM
242542012-08-17 Roland McGrath <roland@hack.frob.com>
24255
c31fdb83
RM
24256 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24257 * sysdeps/unix/syscalls.list: ... here.
24258
a0844057
RM
24259 * sysdeps/posix/getaddrinfo.c
24260 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24261 (gaiconf_init, gaiconf_reload): Use them.
24262 [!_STATBUF_ST_NSEC]
24263 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24264 Define using time_t rather than struct timespec.
24265
750c1f2a
RM
24266 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24267 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24268 Macros removed.
24269 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24270 [!NO_THREADS].
24271 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24272 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24273 Likewise.
24274
2ae1ae5c
RM
24275 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24276 __libc_cleanup_push argument.
24277
e66a42f5
RM
24278 * bits/param.h: New file.
24279 * misc/sys/param.h: New file.
24280 * include/sys/param.h: New file.
24281 * misc/Makefile (headers): Add bits/param.h.
24282 * sysdeps/generic/sys/param.h: File removed.
24283 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24284 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24285 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24286 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24287
b7c08a66
RM
24288 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24289 last change.
24290
b2e1c562
RM
24291 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24292 [_IO_MTSAFE_IO].
24293 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24294 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24295 New macros.
24296
c75ccd4c
RM
24297 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24298 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24299 rather than -D_IO_MTSAFE_IO conditionally.
24300 * stdio-common/Makefile (CPPFLAGS): Likewise.
24301 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24302 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24303 Use $(libio-mtsafe).
24304 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24305 of -D_IO_MTSAFE_IO.
24306 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24307 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24308 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24309 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24310 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24311 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24312 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24313 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24314 (CFLAGS-fread_u_chk.c): Likewise.
24315 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24316 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24317 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24318 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24319 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24320 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24321 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24322 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24323 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24324
24325 * libio/Makefile: Test [$(libc-reentrant) = yes]
24326 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24327
24328 * Makeconfig
24329 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24330 * sysdeps/pthread/configure: File removed.
24331 * sysdeps/pthread/Makeconfig: New file.
24332 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24333 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24334
d9195db8
GB
243352012-08-16 Gary Benson <gbenson@redhat.com>
24336
24337 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24338 unmapping the first object in a namespace.
24339
86466cd9
RM
243402012-08-16 Roland McGrath <roland@hack.frob.com>
24341
24342 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24343 (__internal_setnetgrent): ... this. Add internal_function to
24344 definition. Add libc_hidden_def.
24345 (setnetgrent): Update caller.
24346 (internal_endnetgrent): Renamed to ...
24347 (__internal_endnetgrent): ... this. Add internal_function to
24348 definition. Add libc_hidden_def.
24349 (endnetgrent): Update caller.
24350 (internal_getnetgrent_r): Renamed to ...
24351 (__internal_getnetgrent_r): ... this. Add internal_function to
24352 definition. Add libc_hidden_def.
24353 (__getnetgrent_r): Update caller.
24354 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24355
c3c8283c
JM
243562012-08-16 Joseph Myers <joseph@codesourcery.com>
24357
24358 * stdlib/longlong.h: Update from GCC.
24359
db1ee0a8
RM
243602012-08-16 Roland McGrath <roland@hack.frob.com>
24361
24362 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24363 on _QL, which is set by umul_ppmm but never used.
24364 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24365 variables, which are set by GMP macros but never used.
24366 * stdio-common/_itowa.c (_itowa): Likewise.
24367 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24368 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24369
30f69637
CD
243702012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24371
24372 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24373 struct La_sh_regs is not constant.
24374 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24375 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24376 and struct La_sparc64_regs are not constant.
24377
93a78ac4
JM
243782012-08-16 Joseph Myers <joseph@codesourcery.com>
24379
24380 * sysdeps/unix/sysv/linux/kernel-features.h
24381 (__ASSUME_POSIX_TIMERS): Remove.
24382 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24383 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24384 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24385 Make code unconditional.
24386 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24387 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24388 Make code unconditional.
24389 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24390 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24391 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24392 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24393 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24394 Make code unconditional.
24395 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24396 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24397 (__libc_missing_posix_timers): Remove.
24398
dd924cd7
RM
243992012-08-15 Roland McGrath <roland@hack.frob.com>
24400
4b4f2771
RM
24401 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24402 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24403
601c888b
RM
24404 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24405
176790a7
RM
24406 * elf/dl-sym.c: Include <stdlib.h>.
24407
329bc018
RM
24408 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24409 constants, which avoids warnings in 32-bit builds.
24410
e04e272d
RM
24411 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24412 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24413
952bf94a
RM
24414 * misc/lseek.c: File moved to ...
24415 * io/lseek.c: ... here.
24416
7c99b50a
RM
24417 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24418
dd924cd7
RM
24419 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24420 shifting LEN more than 31 bits at once.
24421
b3f479a8
LD
244222012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24423
24424 [BZ #14195]
8c4ae0d4
RM
24425 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24426 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24427 * string/test-strncasecmp.c (check1): Renamed to...
24428 (bz12205): ...this.
24429 (bz14195): Add new testcase for two empty input strings and N > 0.
24430 (test_main): Call new testcase, adapt for renamed function.
24431
9c55864e
AJ
244322012-08-15 Andreas Jaeger <aj@suse.de>
24433
24434 [BZ #14090]
24435 * crypt/md5test2.c: New test, based on test supplied by Serge
24436 Belyshev <belyshev@depni.sinp.msu.ru>.
24437 * crypt/Makefile (xtests): Add md5test-giant..
24438 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24439
02dcb6c5
PE
244402012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24441
24442 [BZ #14090]
24443 * crypt/md5.c (md5_process_block): Don't assume the buffer
24444 length is less than 2**32.
24445 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24446 length is less than 2**64.
24447
a3f95dcc
RM
244482012-08-15 Roland McGrath <roland@hack.frob.com>
24449
be75d758
RM
24450 * string/str-two-way.h: Include <sys/param.h>.
24451 (MAX): Macro removed.
24452
7312ca90
RM
24453 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24454 Move #define and #undef of memmove to just before and after
24455 including <string.h>.
24456
9a0a5486
RM
24457 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24458 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24459 and after including <string.h>. Move declarations of
24460 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24461 to before #include "string/memmove.c".
24462
67cc348d
RM
24463 * include/dirent.h: Declare __getdirentries.
24464
a3f95dcc
RM
24465 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24466 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24467
ca98e171
MF
244682012-08-14 Mike Frysinger <vapier@gentoo.org>
24469
24470 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24471 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24472 * sysdeps/i386/configure: Regenerated.
24473 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24474 STABS_CURRENT_FILE, and STABS_FUN.
24475 (END): Remove call to STABS_FUN_END.
24476 (STABS_CURRENT_FILE1): Delete.
24477 (STABS_CURRENT_FILE): Likewise.
24478 (STABS_FUN): Likewise.
24479 (STABS_FUN_END): Likewise.
24480 (STABS_FUN2): Likewise.
24481 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24482 * sysdeps/x86_64/configure: Regenerated.
24483
5908bf46
RM
244842012-08-14 Roland McGrath <roland@hack.frob.com>
24485
24486 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24487 * elf/dl-lookup.c: Likewise.
5908bf46 24488
f2c05b9e
JM
244892012-08-14 Joseph Myers <joseph@codesourcery.com>
24490
24491 * sysdeps/unix/sysv/linux/kernel-features.h
24492 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24493 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24494 unconditionally.
24495 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24496 unconditionally.
24497 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24498 condition on __ASSUME_CLONE_THREAD_FLAGS.
24499
e11f5155
AJ
245002012-08-14 Andreas Jaeger <aj@suse.de>
24501
24502 * sysdeps/i386/fpu/libm-test-ulps: Update.
24503
51a9ba86
MK
245042012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24505
2fdd4f78
AJ
24506 * include/atomic.h (atomic_exchange_and_add): Split into ...
24507 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24508 New atomic macros.
51a9ba86 24509
ba6cba9e
MT
245102012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24511
24512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24513
42443a47
JL
245142012-08-13 Jeff Law <law@redhat.com>
24515
24516 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24517 null byte in the output string.
24518
121dce05
JM
245192012-08-10 Joseph Myers <joseph@codesourcery.com>
24520
24521 * sysdeps/unix/sysv/linux/kernel-features.h
24522 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24523 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24524 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24525 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24526 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24527 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24528 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24529
bf51f568
JL
245302012-08-09 Jeff Law <law@redhat.com>
24531
24532 [BZ #13939]
24533 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24534 When avoid_arena is set, don't retry in the that arena. Pick the
24535 next one, whatever it might be.
24536 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24537 (arena_lock): Pass in new parameter to arena_get2.
24538 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24539 arena_get2.
24540 (__libc_malloc): Unify retrying after main arena failure with
24541 __libc_memalign version.
24542 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24543
f85fa270
L
245442012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24545
24546 [BZ #14166]
24547 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24548 to __redirect_strstr.
24549 (__strstr_sse42): Use typeof __redirect_strstr.
24550 (__strstr_ia32): Likewise.
24551 (__libc_strstr): New prototype.
24552 (strstr): Renamed to ...
24553 (__libc_strstr): This.
24554 (strstr): New strong alias of __libc_strstr.
24555 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24556 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24557 __redirect_time.
24558 Include <time.h>.
24559 (__libc_time): New prototype.
24560 (time_ifunc): Replace time with __libc_time.
24561 (time): New strong alias and hidden definition of __libc_time.
24562 (__GI_time): Remove strong alias.
24563 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24564 Include <stddef.h>.
24565 (memmove): Redefined to __redirect_memmove.
24566 (__memmove_sse2): Use typeof __redirect_memmove.
24567 (__memmove_ssse3): Likewise.
24568 (__memmove_ssse3_back): Likewise.
24569 (__libc_memmove): New prototype.
24570 (memmove): Renamed to ...
24571 (__libc_memmove): This.
24572 (memmove): New strong alias of __libc_memmove.
24573
33b4a91e
MS
245742012-08-08 Mark Salter <msalter@redhat.com>
24575
24576 * elf/elf.h
24577 (R_MN10300_TLS_GD): Define.
24578 (R_MN10300_TLS_LD): Likewise.
24579 (R_MN10300_TLS_LDO): Likewise.
24580 (R_MN10300_TLS_GOTIE): Likewise.
24581 (R_MN10300_TLS_IE): Likewise.
24582 (R_MN10300_TLS_LE): Likewise.
24583 (R_MN10300_TLS_DTPMOD): Likewise.
24584 (R_MN10300_TLS_DTPOFF): Likewise.
24585 (R_MN10300_TLS_TPOFF): Likewise.
24586 (R_MN10300_SYM_DIFF): Likewise.
24587 (R_MN10300_ALIGN): Likewise.
24588 (R_MN10300_NUM): Update.
24589
b36137f1
JM
245902012-08-08 Joseph Myers <joseph@codesourcery.com>
24591
24592 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24593 Remove.
24594
cdd915fd
RM
245952012-08-08 Roland McGrath <roland@hack.frob.com>
24596
a2433aac
RM
24597 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24598
cdd915fd
RM
24599 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24600 sysdeps/unix -> sysdeps/posix move.
24601 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24602
bf9b740a
AM
246032012-08-07 Allan McRae <allan@archlinux.org>
24604
24605 [BZ #14303]
24606 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24607 (SUNOS_CPP): Likewise.
24608 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24609 not found.
24610 (open_input): Call CPP using execvp.
24611
93df14ee
JM
246122012-08-07 Joseph Myers <joseph@codesourcery.com>
24613
24614 * sysdeps/unix/sysv/linux/kernel-features.h
24615 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24616 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24617 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24618 (__ASSUME_WAITID_SYSCALL): Likewise.
24619 * sysdeps/unix/sysv/linux/dl-execstack.c
24620 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24621 code unconditional.
24622 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24623 conditional code.
24624 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24625 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24626 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24627 code.
24628 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24629 unconditional.
24630 [__ASSUME_WAITID_SYSCALL]: Likewise.
24631 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24632
d34689de
RM
246332012-08-07 Roland McGrath <roland@hack.frob.com>
24634
a281decc
RM
24635 * sysdeps/unix/closedir.c: Renamed to ...
24636 * sysdeps/posix/closedir.c: ... here.
24637 * sysdeps/unix/dirfd.c: Renamed to ...
24638 * sysdeps/posix/dirfd.c: ... here.
24639 * sysdeps/unix/dirstream.h: Renamed to ...
24640 * sysdeps/posix/dirstream.h: ... here.
24641 * sysdeps/unix/fdopendir.c: Renamed to ...
24642 * sysdeps/posix/fdopendir.c: ... here.
24643 * sysdeps/unix/opendir.c: Renamed to ...
24644 * sysdeps/posix/opendir.c: ... here.
24645 * sysdeps/unix/readdir.c: Renamed to ...
24646 * sysdeps/posix/readdir.c: ... here.
24647 * sysdeps/unix/readdir_r.c: Renamed to ...
24648 * sysdeps/posix/readdir_r.c: ... here.
24649 * sysdeps/unix/rewinddir.c: Renamed to ...
24650 * sysdeps/posix/rewinddir.c: ... here.
24651 * sysdeps/unix/seekdir.c: Renamed to ...
24652 * sysdeps/posix/seekdir.c: ... here.
24653 * sysdeps/unix/telldir.c: Renamed to ...
24654 * sysdeps/posix/telldir.c: ... here.
24655 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24656 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24657 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24658 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24659
22895b47
RM
24660 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24661 * bits/fcntl.h: ... here.
24662
707a53b6
RM
24663 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24664 not 0.
24665 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24666 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24667 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24668 (struct flock): Move l_start, l_len to the beginning.
24669 Use __pid_t for l_pid.
24670 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24671 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24672 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24673 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24674 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24675 [__USE_LARGEFILE64] (struct flock64): New type.
24676 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24677
f0bd3e25
RM
24678 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24679 * bits/dirent.h: ... here.
24680
d34689de
RM
24681 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24682 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24683
6dad2c06
JM
246842012-08-07 Joseph Myers <joseph@codesourcery.com>
24685
24686 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24687 Change from 2.6.0 to 2.6.16.
24688 * sysdeps/unix/sysv/linux/configure: Regenerated.
24689 * sysdeps/unix/sysv/linux/kernel-features.h
24690 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24691 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24692 version.
24693 (__ASSUME_UTIMES): Likewise.
24694 (__ASSUME_CLONE_STOPPED): Remove.
24695 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24696 architectures, not kernel version.
24697 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24698 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24699 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24700 (__ASSUME_WAITID_SYSCALL): Likewise.
24701 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24702 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24703 * README: State 2.6.16 as minimum Linux kernel version. Do not
24704 refer to older versions.
24705
03af9520
RM
247062012-08-06 Roland McGrath <roland@hack.frob.com>
24707
8e49df1d
RM
24708 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24709 Define alphasort64 as an alias.
24710 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24711 Define versionsort64 as an alias.
24712 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24713 Define scandir64 as an alias.
24714 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24715 Define scandirat64 as an alias.
24716 * dirent/alphasort64.c (alphasort64):
24717 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24718 * dirent/versionsort64.c: Likewise.
24719 * dirent/scandir64.c: Likewise.
24720 * dirent/scandirat64.c: Likewise.
24721 * sysdeps/wordsize-64/alphasort.c: File removed.
24722 * sysdeps/wordsize-64/alphasort64.c: File removed.
24723 * sysdeps/wordsize-64/scandir.c: File removed.
24724 * sysdeps/wordsize-64/scandir64.c: File removed.
24725 * sysdeps/wordsize-64/scandirat.c: File removed.
24726 * sysdeps/wordsize-64/scandirat64.c: File removed.
24727 * sysdeps/wordsize-64/versionsort.c: File removed.
24728 * sysdeps/wordsize-64/versionsort64.c: File removed.
24729 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24730 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24731 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24732 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24733 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24734 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24735 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24736 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24737
24738 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24740 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24742 [defined __arch64__ || defined __sparcv9]
24743 (__INO_T_MATCHES_INO64_T): New macro.
24744 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24745 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24746 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24747 * sysdeps/unix/sysv/linux/bits/dirent.h
24748 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24749 (_DIRENT_MATCHES_DIRENT64): New macro.
24750
03af9520
RM
24751 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24752 Define lockf64 as an alias.
24753 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24754 Define fseeko64 as an alias.
24755 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24756 Define ftello64 as an alias.
24757 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24758 Define _IO_fgetpos64 and fgetpos64 as aliases.
24759 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24760 Define _IO_fsetpos64 and fsetpos64 as aliases.
24761 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24762 Conditionalize body on this.
24763 * libio/fseeko64.c: Likewise.
24764 * libio/ftello64.c: Likewise.
24765 * libio/iofgetpos64.c: Likewise.
24766 * libio/iofsetpos64.c: Likewise.
24767 * sysdeps/wordsize-64/lockf.c: File removed.
24768 * sysdeps/wordsize-64/lockf64.c: File removed.
24769 * sysdeps/wordsize-64/fseeko.c: File removed.
24770 * sysdeps/wordsize-64/fseeko64.c: File removed.
24771 * sysdeps/wordsize-64/ftello.c: File removed.
24772 * sysdeps/wordsize-64/ftello64.c: File removed.
24773 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24774 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24775 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24776 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24777 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24778 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24779 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24780 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24781 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24782 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24783 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24784 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24785 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24786 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24787
24788 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24789 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24790 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24791 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24792 [defined __arch64__ || defined __sparcv9]
24793 (__OFF_T_MATCHES_OFF64_T): New macro.
24794 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24795 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24797 (__OFF_T_MATCHES_OFF64_T): New macro.
24798
c5757acd
L
247992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24800
24801 * stdlib/secure-getenv.c (__secure_getenv): Replace
24802 GLIBC_2_16 with GLIBC_2_17.
24803
3a31811e
L
248042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24805
24806 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24807 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24808
faa2bccb
DM
248092012-08-03 David S. Miller <davem@davemloft.net>
24810
24811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24812
85fe1997
JM
248132012-08-03 Joseph Myers <joseph@codesourcery.com>
24814
24815 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24816 Remove.
24817 (__ASSUME_CORRECT_SI_PID): Likewise.
24818 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24819 (__ASSUME_TMPFS_NAME): Likewise.
24820 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24821 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24822 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24823 (HAVE_AUX_SECURE): Make definition unconditional.
24824 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24825 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24826
4f75b7a0
RM
248272012-08-03 Roland McGrath <roland@hack.frob.com>
24828
24829 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24830 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24831 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24832 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24833 __eloop_threshold instead of SYMLOOP_MAX.
24834
24835 * sysdeps/generic/eloop-threshold.h: New file.
24836 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24837 of MAXSYMLINKS.
24838 * elf/chroot_canon.c (chroot_canon): Likewise.
24839
7aab07e4
JM
248402012-08-03 Joseph Myers <joseph@codesourcery.com>
24841
24842 [BZ #13717]
24843 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24844 Change to 2.6.0 everywhere.
24845 * sysdeps/unix/sysv/linux/configure: Regenerated.
24846 * sysdeps/unix/sysv/linux/kernel-features.h
24847 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24848 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24849 kernel versions.
24850 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24851 (__ASSUME_FUTEX_REQUEUE): Remove.
24852 (__ASSUME_STATFS64): Define unconditionally.
24853 (__ASSUME_AT_SECURE): Likewise.
24854 (__ASSUME_CORRECT_SI_PID): Likewise.
24855 (__ASSUME_TGKILL): Define without depending on kernel version for
24856 i386.
24857 (__ASSUME_UTIMES): Likewise.
24858 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24859 kernel version.
24860 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24861 (__ASSUME_TMPFS_NAME): Likewise.
24862 * README: Update reference to Linux kernel versions.
24863
b67e9372
MP
248642012-08-02 Marek Polacek <polacek@redhat.com>
24865
1f529f7d 24866 [BZ# 14150]
b67e9372
MP
24867 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24868 libc_cv_asm_type_prefix with %.
24869 * configure: Regenerated.
d2441631
RM
24870 * include/libc-symbols.h: Remove comment about
24871 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24872 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24873 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24874 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24875 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24876 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24877 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24878 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24879 * elf/tst-unique2mod1.c: Likewise.
24880 * elf/tst-unique1mod2.c: Likewise.
24881 * elf/tst-unique1mod1.c: Likewise.
24882 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24883 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24884 Replace ASM_TYPE_DIRECTIVE with .type.
24885 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24886 * sysdeps/i386/sysdep.h: Likewise.
24887 * sysdeps/x86_64/sysdep.h: Likewise.
24888 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24890 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24891 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24892 * sysdeps/powerpc/powerpc32/sysdep.h:
24893 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24894 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24895 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24896 * sysdeps/i386/fpu/e_powf.S: Likewise.
24897 * sysdeps/i386/fpu/e_expl.S: Likewise.
24898 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24899 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24900 * sysdeps/i386/fpu/e_pow.S: Likewise.
24901 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24902 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24903 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24904 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24905 * sysdeps/i386/fpu/e_log2.S: Likewise.
24906 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24907 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24908 * sysdeps/i386/fpu/e_powl.S: Likewise.
24909 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24910 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24911 * sysdeps/i386/fpu/e_logl.S: Likewise.
24912 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24913 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24914 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24915 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24916 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24917 * sysdeps/i386/fpu/e_log.S: Likewise.
24918 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24919 * sysdeps/i386/fpu/e_logf.S: Likewise.
24920 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24921 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24922 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24923 * sysdeps/i386/fpu/e_log10.S: Likewise.
24924 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24925 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24926 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24927 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24928 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24929 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24930 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24931 * sysdeps/i386/i686/strtok.S: Likewise.
24932 * sysdeps/i386/i386-mcount.S: Likewise.
24933 * sysdeps/i386/strtok.S: Likewise.
24934 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24935 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24936 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24937 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24938 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24939 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24940 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24941 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24942 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24943 * sysdeps/x86_64/_mcount.S: Likewise.
24944 * sysdeps/x86_64/strtok.S: Likewise.
24945 * sysdeps/sh/_mcount.S: Likewise.
24946
2747bf9a
RM
249472012-08-01 Roland McGrath <roland@hack.frob.com>
24948
24949 * libio/iofopen.c: Include <fcntl.h>.
24950 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24951 (_IO_fopen64, fopen64): Define as aliases.
24952 * libio/iofopen64.c: Include <fcntl.h>.
24953 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24954 Conditionalize body on this.
24955 * sysdeps/wordsize-64/iofopen.c: File removed.
24956 * sysdeps/wordsize-64/iofopen64.c: File removed.
24957
3fb791b8
MP
249582012-08-01 Marek Polacek <polacek@redhat.com>
24959
24960 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24961 Use dlfcn directly instead of a variable.
24962 (binfmt-subdir): Do not define.
24963 (dlfcn): Likewise.
24964
a9f1039f
JM
249652012-08-01 Joseph Myers <joseph@codesourcery.com>
24966
23bddc06
JM
24967 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24968 Remove all definitions.
24969 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24970 <kernel-features.h>.
24971 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24972 (miss_F_GETOWN_EX): Remove all definitions.
24973 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24974 macro definition.
24975 [!__ASSUME_FCNTL64]: Remove conditional code.
24976 [__ASSUME_FCNTL64]: Make code unconditional.
24977 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24978 <kernel-features.h>.
24979 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24980 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24981 (lockf64) [__NR_fcntl64]: Make code unconditional.
24982 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24983
a9f1039f
JM
24984 * sysdeps/unix/sysv/linux/kernel-features.h
24985 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24986 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24987 Make code unconditional.
24988 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24989 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24991 [__NR_vfork]: Make code unconditional.
24992 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24993 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24995 [__NR_vfork]: Make code unconditional.
24996 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24997 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24998
09c0ee5f
RM
249992012-08-01 Roland McGrath <roland@hack.frob.com>
25000
48aec5b9
RM
25001 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25002 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25003
cd97c966
RM
25004 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25005 Define mkstemp64 as an alias.
3f55550c
RM
25006 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25007 Define mkstemps64 as an alias.
cd97c966
RM
25008 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25009 Define mkostemp64 as an alias.
b8625cfc
RM
25010 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25011 Define mkostemps64 as an alias.
cd97c966
RM
25012 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25013 Conditionalize body on this.
25014 * misc/mkostemp64.c: Likewise.
b8625cfc 25015 * misc/mkostemps64.c: Likewise.
3f55550c 25016 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25017 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25018 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25019 * sysdeps/wordsize-64/mkostemp.c: File removed.
25020 * sysdeps/wordsize-64/mkstemp.c: File removed.
25021 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25022 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25023 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25024 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25025
09c0ee5f
RM
25026 [BZ #14138]
25027 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25028 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25029 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25030 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25031
25032 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25033 compat_symbol macros from <shlib-compat.h> rather than the underlying
25034 default_symbol_version and symbol_version macros, so that DEFAULT
25035 lines in shlib-versions are respected.
25036 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25037
7e66ee51
FW
250382012-08-01 Florian Weimer <fweimer@redhat.com>
25039
25040 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25041 Declare with warn_unused_result.
25042 (setgid, setregid, setegid, setresgid): Likewise.
25043 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25044 Likewise.
25045 * WUR-REPORT: Remove set*id functions.
25046
d2a54255
PT
250472012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25048
25049 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25050
7ecdb005
RM
250512012-07-31 Roland McGrath <roland@hack.frob.com>
25052
b4180a5e 25053 [BZ #10191]
789bd351
RM
25054 * include/sys/socket.h (__libc_accept, __libc_accept4):
25055 Add attribute_hidden.
25056 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25057
40ce302d
RM
25058 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25059 use of PTR_MANGLE.
25060 * inet/getnetgrent_r.c (setup): Likewise.
25061
7ecdb005
RM
25062 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25063
e2eabb2c
DM
250642012-07-31 David S. Miller <davem@davemloft.net>
25065
25066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25067
d0419dbf
JM
250682012-07-31 Joseph Myers <joseph@codesourcery.com>
25069
25070 [BZ #13629]
25071 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25072 value between 1.0 and 2.0 and smaller part has absolute value less
25073 than 1.0.
25074 * math/s_clog10.c (__clog10): Likewise.
25075 * math/s_clog10f.c (__clog10f): Likewise.
25076 * math/s_clog10l.c (__clog10l): Likewise.
25077 * math/s_clogf.c (__clogf): Likewise.
25078 * math/s_clogl.c (__clogl): Likewise.
25079 * math/libm-test.inc (clog_test): Add more tests.
25080 (clog10_test): Likewise.
25081 * sysdeps/i386/fpu/libm-test-ulps: Update.
25082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25083
2bc13872
FW
250842012-07-31 Florian Weimer <fweimer@redhat.com>
25085
25086 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25087 Exit with zero in case no suitable GID is found, and write a
25088 message to standard error.
25089
bea9b193
RM
250902012-07-30 Roland McGrath <roland@hack.frob.com>
25091
25092 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25093 rather than to 1.
25094 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25095 (MAXPATHLEN): Removed.
25096 (NOGROUP, NODEV): New macros.
25097 (setbit, clrbit, isset, isclr): New macros.
25098 (howmany, roundup, powerof2): New macros.
25099 (DEV_BSIZE): New macro.
25100
25101 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25102 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25103
25104 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25105 definition on [!__NO_LONG_DOUBLE_MATH].
25106
25107 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25108 PTR_MANGLE and PTR_DEMANGLE.
25109
25110 * socket/accept4.c (accept4): Rename to __libc_accept4.
25111 Define accept4 as a weak alias.
25112
25113 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25114 on [_DIRENT_HAVE_D_TYPE].
25115 * io/ftw.c (ftw_dir): Likewise.
25116
25117 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25118
25119 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25120
25121 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25122 Use the BSD numbers rather than the arbitrary ones we had.
25123 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25124 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25125 (SIGXCPU, SIGXFSZ): New macros.
25126 (_NSIG): Now 32.
25127
25128 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25129 initializer on [_LIBC_REENTRANT].
25130
25131 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25132 definitions inside [_POSIX_MAPPED_FILES].
25133
25134 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25135
25136 * dirent/opendir.c: Include <fcntl.h>.
25137
25138 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25139 (__libc_getspecific): Likewise.
25140 (__libc_key_create): Likewise.
25141
25142 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25143 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25144 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25145 (tmpfile64): Define as alias.
25146 * sysdeps/wordsize-64/tmpfile.c: File removed.
25147 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25148 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25149 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25150
25151 * stdio-common/vfscanf.c: Include <stdbool.h>.
25152 * nss/makedb.c: Likewise.
25153 * stdio-common/_i18n_number.h: Likewise.
25154 * argp/argp-help.c: Likewise.
25155 * posix/wordexp.c: Likewise.
25156 * sysdeps/posix/spawni.c: Likewise.
25157 * nss/nss_files/files-initgroups.c: Likewise.
25158 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25159 * nss/nss_files/files-initgroups.c: Likewise.
25160 * nss/nss_db/db-netgrp.c: Likewise.
25161 * nss/nss_db/db-initgroups.c: Likewise.
25162 * io/fchmodat.c: Include <sys/stat.h>.
25163
25164 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25165 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25166
25167 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25168 [HAVE_MMAP].
25169
25170 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25171 Add multiple inclusion protection.
25172
e5abc686
DM
251732012-07-27 David S. Miller <davem@davemloft.net>
25174
25175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25176
815e6fa3
GB
251772012-07-27 Gary Benson <gbenson@redhat.com>
25178
25179 [BZ #14298]
25180 * elf/rtld.c: Include <stap-probe.h>.
25181 (dl_main): Added static probes "init_start" and "init_complete".
25182 * elf/dl-load.c: Include <stap-probe.h>.
25183 (lose): Take new parameter "nsid".
25184 Added static probe "map_failed".
25185 (_dl_map_object_from_fd): Pass namespace id to lose.
25186 Added static probe "map_start".
25187 (open_verify): Pass namespace id to lose.
25188 * elf/dl-open.c: Include <stap-probe.h>.
25189 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25190 and "reloc_complete".
25191 * elf/dl-close.c: Include <stap-probe.h>.
25192 (_dl_close_worker): Added static probes "unmap_start" and
25193 "unmap_complete".
25194 * elf/rtld-debugger-interface.txt: New file documenting the above.
25195
9f98c16c
RM
251962012-07-26 Roland McGrath <roland@hack.frob.com>
25197
25198 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25199 rather than a string variable.
25200 * sunrpc/rpc_main.c (h_output): Likewise.
25201 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25202
f3c22df3
PT
252032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25204
25205 * inet/check_native.c: New file.
25206
3129cfc6
JM
252072012-07-26 Joseph Myers <joseph@codesourcery.com>
25208
da865e95
JM
25209 [BZ #13629]
25210 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25211 if larger part has absolute value 1.0.
25212 * math/s_clog10.c (__clog10): Likewise.
25213 * math/s_clog10f.c (__clog10f): Likewise.
25214 * math/s_clog10l.c (__clog10l): Likewise.
25215 * math/s_clogf.c (__clogf): Likewise.
25216 * math/s_clogl.c (__clogl): Likewise.
25217 * math/libm-test.inc (clog_test): Add more tests.
25218 (clog10_test): Likewise.
25219 * sysdeps/i386/fpu/libm-test-ulps: Update.
25220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25221
3129cfc6
JM
25222 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25223 (pltexit): Likewise.
25224 (La_regs): Likewise.
25225 (La_retval): Likewise.
25226 (int_retval): Likewise.
25227 Update #error for removed macros to refer only to definitions in
25228 tst-audit.h.
25229 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25230 macro.
25231 (pltexit): Likewise.
25232 (La_regs): Likewise.
25233 (La_retval): Likewise.
25234 (int_retval): Likewise.
25235 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25236 macro.
25237 (pltexit): Likewise.
25238 (La_regs): Likewise.
25239 (La_retval): Likewise.
25240 (int_retval): Likewise.
25241 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25242 macro.
25243 (pltexit): Likewise.
25244 (La_regs): Likewise.
25245 (La_retval): Likewise.
25246 (int_retval): Likewise.
25247 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25248 macro.
25249 (pltexit): Likewise.
25250 (La_regs): Likewise.
25251 (La_retval): Likewise.
25252 (int_retval): Likewise.
25253 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25254 macro.
25255 (pltexit): Likewise.
25256 (La_regs): Likewise.
25257 (La_retval): Likewise.
25258 (int_retval): Likewise.
25259 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25260 macro.
25261 (pltexit): Likewise.
25262 (La_regs): Likewise.
25263 (La_retval): Likewise.
25264 (int_retval): Likewise.
25265 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25266 macro definitions in tst-audit.h.
25267 * sysdeps/i386/tst-audit.h: New file.
25268 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25269 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25270 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25271 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25272 * sysdeps/sh/tst-audit.h: Likewise.
25273 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25274 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25275 * sysdeps/x86_64/tst-audit.h: Likewise.
25276
bfc07087
AJ
252772012-07-26 Andreas Jaeger <aj@suse.de>
25278
b1b2aaf8
AJ
25279 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25280 ptrace.
25281
25282 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25283 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25284 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25285 PTRACE_O_MASK.
25286 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25287 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25288 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25289
bfc07087
AJ
25290 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25291 value.
25292
25293 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25294 _sigsys.
25295 (si_call_addr, si_syscall, si_arch): Define new macro.
25296 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25297 _sigsys.
25298 (si_call_addr, si_syscall, si_arch): Define new marcro.
25299 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25300 _sigsys.
25301 (si_call_addr, si_syscall, si_arch): Define new macro.
25302 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25303 _sigsys.
25304 (si_call_addr, si_syscall, si_arch): Define new macro.
25305
89b4b02f
JM
253062012-07-25 Joseph Myers <joseph@codesourcery.com>
25307
25308 [BZ #13717]
25309 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25310 Change to 2.4.21 where previously 2.4.1.
25311 * sysdeps/unix/sysv/linux/configure: Regenerated.
25312 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25313 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25314 Linux kernel version.
25315 (__ASSUME_STD_AUXV): Remove.
25316 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25317 kernel version.
25318 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25319 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25320 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25321 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25322 (__ASSUME_NETLINK_SUPPORT): Likewise.
25323 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25324 (__no_netlink_support): Remove conditional definition.
25325 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25326 Remove.
25327 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25328 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25329 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25330 (if_nameindex_ioctl): Remove.
25331 (if_nameindex_netlink): Do not handle __no_netlink_support.
25332 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25333 code.
25334 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25335 Remove conditional code.
25336 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25337 code.
25338 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25339 unconditional.
25340 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25341 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25342 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25343 Remove.
25344 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25345 [!__ASSUME_STD_AUXV]: Remove conditional code.
25346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25347 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25348 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25350 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25351 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25352 code.
25353 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25355 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25356 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25357 conditional code.
25358 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25360 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25361 code.
25362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25363 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25364 conditional code.
25365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25366 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25367 code unconditional.
25368 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25369 conditional code.
25370 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25371 unconditional.
25372 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25373 conditional code.
25374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25375 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25376 unconditional.
25377 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25378 conditional code.
25379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25380 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25381 code unconditional.
25382 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25383 conditional code.
25384 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25385 unconditional.
25386 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25387 conditional code.
25388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25389 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25390 code unconditional.
25391 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25392 conditional code.
25393 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25394 unconditional.
25395 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25396 conditional code.
25397
842a39cd
AS
253982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25399
25400 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25401 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25402 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25403 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25404 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25405 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25406 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25407 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25408 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25409 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25410 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25411 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25412 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25413 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25414 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25415 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25416 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25417 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25418 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25420 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25421 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25422 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25423
84b3fd84
FW
254242012-07-25 Florian Weimer <fweimer@redhat.com>
25425
25426 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25427 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25428 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25429 Introduce __libc_secure_getenv.
0c7936d5
FW
25430 * stdlib/Versions (2.17): Add secure_getenv
25431 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25432 * stdlib/secure-getenv.c: Rename __secure_getenv to
25433 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25434 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25435 * stdlib/tst-secure-getenv.c: New.
25436 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25437 * manual/startup.texi (Environment Access): Document
25438 secure_getenv.
84b3fd84
FW
25439 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25440 __libc_secure_getenv.
25441 * inet/ruserpass.c (ruserpass): Likewise.
25442 * malloc/mtrace.c (mtrace): Likewise.
25443 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25444 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25445 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25446 * sysdeps/posix/tempname.c: Likewise. Evaluate
25447 HAVE_SECURE_GETENV.
25448 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25449 __secure_getenv to __libc_secure_getenv.
84b3fd84 25450 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25452 Likewise.
25453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25454 Likewise.
25455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25457 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25462
56e49b71
JM
254632012-07-25 Joseph Myers <joseph@codesourcery.com>
25464
25465 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25466 (struct La_i86_retval): Likewise.
25467 (struct La_x86_64_regs): Likewise.
25468 (struct La_x86_64_retval): Likewise.
25469 (struct La_x32_regs): Likewise.
25470 (struct La_x32_retval): Likewise.
25471 (struct La_ppc32_regs): Likewise.
25472 (struct La_ppc32_retval): Likewise.
25473 (struct La_ppc64_regs): Likewise.
25474 (struct La_ppc64_retval): Likewise.
25475 (struct La_sh_regs): Likewise.
25476 (struct La_sh_retval): Likewise.
25477 (struct La_s390_32_regs): Likewise.
25478 (struct La_s390_32_retval): Likewise.
25479 (struct La_s390_64_regs): Likewise.
25480 (struct La_s390_64_retval): Likewise.
25481 (struct La_sparc32_regs): Likewise.
25482 (struct La_sparc32_retval): Likewise.
25483 (struct La_sparc64_regs): Likewise.
25484 (struct La_sparc64_retval): Likewise.
25485 (struct audit_ifaces): Remove architecture-specific pltenter and
25486 pltexit members.
25487 * sysdeps/i386/ldsodefs.h: New file.
25488 * sysdeps/powerpc/ldsodefs.h: Likewise.
25489 * sysdeps/s390/ldsodefs.h: Likewise.
25490 * sysdeps/sh/ldsodefs.h: Likewise.
25491 * sysdeps/sparc/ldsodefs.h: Likewise.
25492 * sysdeps/x86_64/ldsodefs.h: Likewise.
25493
354691b7
MP
254942012-07-25 Marek Polacek <polacek@redhat.com>
25495
25496 [BZ #6808]
25497 * math/libm-test.inc (yn_test): Add another test.
25498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25499 to ERANGE when the result is +-Inf.
25500 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25501 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25502 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25503 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25504
bf9e2071
JM
255052012-07-24 Joseph Myers <joseph@codesourcery.com>
25506
25507 * conform/data/time.h-data (NULL): Use macro-constant. Require
25508 equal to 0.
25509 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25510 clock_t.
25511 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25512
57633811
TS
255132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25514
25515 * configure.in <sysdeps resolving>: Correct printing
25516 Implies_before.
25517 * configure: Regenerate.
25518
c23c33b0
TS
255192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25520
25521 * math/w_ilogb.c: Include <limits.h>.
25522 * math/w_ilogbl.c: Likewise.
25523
b5982523
JM
255242012-07-20 Joseph Myers <joseph@codesourcery.com>
25525
25526 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25527 va_copy. Document allowing for unavailable va_copy only as
25528 pre-C99 compatibility.
25529 * manual/string.texi (Copying and Concatenation): Use va_copy
25530 instead of __va_copy in concat example.
25531
ac4ea442
PT
255322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25533
25534 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25535 (__sendto): Use create_address_port. Initialize APORT and deallocate
25536 it if not null.
25537
f98eafbd
PT
25538 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25539 with O_NOLINK passed to __file_name_lookup.
25540
898c7aab
PT
25541 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25542 with O_NOLINK passed to __file_name_lookup.
25543
0ced335a
PT
25544 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25545 negative N or less than NGIDS.
25546
b3404dbd
PT
25547 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25548 type to string_t. Set ERANGE as errno and return it if NAME is not big
25549 enough. Use memcpy instead of strncpy.
25550
0f48659e
JM
255512012-07-20 Joseph Myers <joseph@codesourcery.com>
25552
25553 * elf/Makefile (check-data): Remove.
25554 (localplt.data): New vpath directive.
25555 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25556 instead of $(check-data).
25557 * scripts/data/localplt-generic.data: Move to ...
25558 * sysdeps/generic/localplt.data: ... here.
25559 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25560 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25561 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25563 ... here.
25564 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25566 ... here.
25567 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25569 ... here.
25570 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25572 ... here.
25573 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25575 ... here.
25576 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25578 ... here.
25579
d37cbdaa
AZ
255802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25581
25582 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25583 PPC32 and PPC64 files.
25584 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25585 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25586
46f85fc2
AK
255872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25588
25589 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25590 __makecontext_ret to ...
25591 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25592 ... here and call exit if uc_link is NULL. New file.
25593 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25594 __makecontext_ret.S.
25595 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25596 __makecontext_ret to ...
25597 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25598 ... here and call exit if uc_link is NULL. New file.
25599 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25600 __makecontext_ret.S.
25601
08f43f9b
AK
256022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25603
25604 * elf/elf.h (R_390_IRELATIVE): New definition.
25605 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25606 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25607 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25608 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25609 (elf_machine_lazy_rel): Likewise.
25610 * sysdeps/s390/dl-irel.h: New file.
25611 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25612 * sysdeps/s390/s390-64/memset.S: New asm code.
25613 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25614 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25615 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25616 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25617 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25618 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25619 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25620 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25621 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25622 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25623 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25624 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25625 * sysdeps/s390/s390-32/memset.S: New asm code.
25626 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25627
3b05db33
MP
256282012-07-17 Marek Polacek <polacek@redhat.com>
25629
25630 [BZ #14349]
25631 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25632 * sysdeps/s390/s390-64/configure.in: Likewise.
25633 * sysdeps/sparc/configure.in: Likewise.
25634 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25635 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25636 * sysdeps/i386/configure.in: Likewise.
25637 * sysdeps/x86_64/configure.in: Likewise.
25638 * sysdeps/sh/configure.in: Likewise.
25639 * sysdeps/s390/s390-32/configure: Regenerated.
25640 * sysdeps/s390/s390-64/configure: Likewise.
25641 * sysdeps/x86_64/configure: Likewise.
25642 * sysdeps/sh/configure: Likewise.
25643 * sysdeps/powerpc/powerpc64/configure: Likewise.
25644 * sysdeps/powerpc/powerpc32/configure: Likewise.
25645 * sysdeps/sparc/configure: Likwise.
25646 * sysdeps/i386/configure: Likewise.
25647
a66877c6
MP
25648 * elf/dl-open.c: Comment fixes.
25649
cfc82fd8
JM
256502012-07-17 Joseph Myers <joseph@codesourcery.com>
25651
bd29910a
JM
25652 * Makefile [CXX] (check-data): Remove.
25653 [CXX] (c++-types.data): New vpath directive.
25654 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25655 vpath. Do not allow for C++ type data being missing.
25656 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25657 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25658 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25659 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25660 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25661 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25662 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25664 ... here.
25665 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25667 ... here.
25668 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25670 ... here.
25671 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25673 ... here.
25674 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25676 ... here.
25677 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25679 ... here.
25680 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25682 ... here.
25683 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25685
cfc82fd8
JM
25686 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25687 definitions to architecture-specific files.
25688 (TLS_IE): Likewise.
25689 (TLS_LD): Likewise.
25690 (TLS_GD): Likewise.
25691 * sysdeps/i386/tls-macros.h: New file.
25692 * sysdeps/powerpc/tls-macros.h: Likewise.
25693 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25694 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25695 * sysdeps/sh/tls-macros.h: Likewise.
25696 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25697 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25698 * sysdeps/x86_64/tls-macros.h: Likewise.
25699
f7db3170
TS
257002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25701
07cbfc23
TS
25702 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25703 zero value for regular exit case.
25704
f7db3170
TS
25705 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25706 (__start_context): Preserve zero value for regular exit case.
25707
dc97c227
TS
257082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25709 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25710
25711 * manual/setjmp.texi (setcontext): Clarify normal process
25712 termination when uc_link is the null pointer.
25713 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25714 exit call.
25715
d0cd7d02
AS
257162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25717
25718 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25719 preprocessor. Test for each exception mask separately.
25720
dd318934
AJ
257212012-07-16 Andreas Jaeger <aj@suse.de>
25722
25723 * po/ru.po: Update from translation team.
25724
8048311a
JM
257252012-07-15 Joseph Myers <joseph@codesourcery.com>
25726
25727 * conform/data/string.h-data (NULL): Use macro-constant. Require
25728 equal to 0.
25729 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25730 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25731 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25732 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25733 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25734
b637d46e
AJ
257352012-07-13 Andreas Jaeger <aj@suse.de>
25736
25737 * po/fr.po: Update from translation team.
25738
541428fe
MP
257392012-07-12 Marek Polacek <polacek@redhat.com>
25740
25741 [BZ #14173]
25742 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25743 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25744 loop condition.
25745
ec332e94
JM
257462012-07-12 Joseph Myers <joseph@codesourcery.com>
25747
25748 [BZ #13717]
25749 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25750 Change to 2.4.1 where previously 2.4.0.
25751 * sysdeps/unix/sysv/linux/configure: Regenerated.
25752 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25753 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25754 version.
25755 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25756 (__ASSUME_AT_CLKTCK): Remove.
25757 (__ASSUME_AT_PAGESIZE): Likewise.
25758 (__ASSUME_AT_XID): Likewise.
25759 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25760 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25761 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25762 unconditionally.
25763 (HAVE_AUX_PAGESIZE): Likewise.
25764 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25765 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25766 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25767
7b6e99be
JB
257682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25769
25770 [BZ #14307]
25771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25772 the temporary buffer used to invoke __gethostbyname2_r,
25773 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25774 host_data / struct gaih_addrtuple.
25775 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25776 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25777 header file nss/nsswitch.h.
25778 * nss/nsswitch.h (global scope): Add definition of implementation
25779 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25780 resolv/nss_dns/dns-host.c).
25781
608404eb
AJ
257822012-07-11 Andreas Jaeger <aj@suse.de>
25783
25784 * po/fr.po: Update from translation team.
25785
71220aca
AJ
25786 * po/sv.po: Update from translation team
25787 * po/fr.po: Another update from translation team.
25788
28cfe843
AZ
257892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25790
25791 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25792 for subnormals or multiply small sinh result by itself.
25793 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25795
6b90f981
DM
257962012-07-11 David S. Miller <davem@davemloft.net>
25797
25798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25799
c6825772
AS
258002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25801
25802 [BZ #14347]
25803 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25804 (INTERNAL_MARK): Shift it here.
25805
7b8e0d49
MP
258062012-07-10 Marek Polacek <polacek@redhat.com>
25807
25808 [BZ #14151]
25809 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25810 libc_cv_asm_global_directive with .globl.
25811 * configure: Regenerated.
25812 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25813 with .globl.
25814 * sysdeps/i386/configure: Regenerated.
25815 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25816 with .globl.
25817 * sysdeps/x86_64/configure: Regenerated.
25818 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25819 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25820 * elf/tst-unique2mod2.c: Likewise.
25821 * elf/tst-unique2mod1.c: Likewise.
25822 * elf/tst-unique1mod2.c: Likewise.
25823 * elf/tst-unique1mod1.c: Likewise.
25824 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25825 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25826 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25827 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25828 * sysdeps/mach/sysdep.h: Likewise.
25829 * sysdeps/i386/sysdep.h: Likewise.
25830 * sysdeps/i386/i386-mcount.S: Likewise.
25831 * sysdeps/x86_64/_mcount.S: Likewise.
25832 * sysdeps/x86_64/sysdep.h: Likewise.
25833 * sysdeps/sh/_mcount.S: Likewise.
25834 * sysdeps/sh/sysdep.h: Likewise.
25835 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25836 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25837 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25838 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25839 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25840 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25841 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25842 * locale/localeinfo.h: Likewise.
25843 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25844 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25845
6c55cda3
RM
258462012-07-09 Roland McGrath <roland@hack.frob.com>
25847
25848 [BZ #14336]
25849 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25850 system".
25851 * manual/message.texi (The Uniforum approach): Likewise.
25852 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25853 (glibc iconv Implementation): Likewise.
25854
638a572e
JM
258552012-07-09 Joseph Myers <joseph@codesourcery.com>
25856
25857 [BZ #14337]
25858 * math/s_clog.c (__clog): Avoid scaling a value down where that
25859 could result in underflow.
25860 * math/s_clog10.c (__clog10): Likewise.
25861 * math/s_clog10f.c (__clog10f): Likewise.
25862 * math/s_clog10l.c (__clog10l): Likewise.
25863 * math/s_clogf.c (__clogf): Likewise.
25864 * math/s_clogl.c (__clogl): Likewise.
25865 * math/libm-test.inc (clog_test): Add more tests.
25866 (clog10_test): Likewise.
25867 * sysdeps/i386/fpu/libm-test-ulps: Update.
25868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25869
261f4859
AS
258702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25871
0abaf3e4
AS
25872 [BZ #14283]
25873 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25874 by 7 not 8 to examine high bit of fractional part.
25875
261f4859
AS
25876 [BZ #14042]
25877 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25878 for call to __mcount_internal.
25879 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25880 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25881 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25882
f17ac40d
JM
258832012-07-06 Joseph Myers <joseph@codesourcery.com>
25884
9ad63c23
JM
25885 [BZ #14154]
25886 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25887 approximation for values within 0x1p-13f of an odd multiple of
25888 pi/4.
25889 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25890 exception. Add more tests.
25891 * sysdeps/i386/fpu/libm-test-ulps: Update.
25892
f17ac40d
JM
25893 [BZ #6778]
25894 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25895 inputs and return -1 for them. Do not check for +Inf in case not
25896 reachable for +Inf.
25897 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25898 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25899 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25900 and return -1 for them. Do not check for +Inf in case not
25901 reachable for +Inf.
25902 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25903 define.
25904 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25905 and return -1 for them. Do not check for +Inf in case not
25906 reachable for +Inf.
25907 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25908 spurious underflow.
25909 * sysdeps/i386/fpu/libm-test-ulps: Update.
25910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25911
fb21f89b
MF
259122012-07-06 Mike Frysinger <vapier@gentoo.org>
25913
25914 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25915
cdfe2c5e
JM
259162012-07-05 Joseph Myers <joseph@codesourcery.com>
25917
25918 [BZ #14157]
25919 [BZ #14331]
25920 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25921 could result in spurious underflow. Scale down values above
25922 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25923 * math/s_csqrtf.c (__csqrtf): Likewise.
25924 * math/s_csqrtl.c (__csqrtl): Likewise.
25925 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25926 spurious underflow.
25927 * sysdeps/i386/fpu/libm-test-ulps: Update.
25928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25929
70d35b67
AS
259302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25931
704bc459
AS
25932 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25933 xopen-msg.sed.
25934 * catgets/xopen-msg.awk: New file.
25935 * catgets/xopen-msg.sed: Removed.
25936
70d35b67
AS
25937 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25938 po2text.sed.
25939 * intl/po2test.awk: New file.
25940 * intl/po2test.sed: Removed.
25941
ca61cf32
JM
259422012-07-04 Joseph Myers <joseph@codesourcery.com>
25943
25944 [BZ #14328]
25945 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25946 or multiply small sinh result by itself.
25947 * math/s_ctanf.c (__ctanf): Likewise.
25948 * math/s_ctanh.c (__ctanh): Likewise.
25949 * math/s_ctanhf.c (__ctanhf): Likewise.
25950 * math/s_ctanhl.c (__ctanhl): Likewise.
25951 * math/s_ctanl.c (__ctanl): Likewise.
25952 * math/libm-test.inc (ctan_test_tonearest): New function.
25953 (ctan_test_towardzero): Likewise.
25954 (ctan_test_downward): Likewise.
25955 (ctan_test_upward): Likewise.
25956 (ctanh_test_tonearest): Likewise.
25957 (ctanh_test_towardzero): Likewise.
25958 (ctanh_test_downward): Likewise.
25959 (ctanh_test_upward): Likewise.
25960 (main): Call these new functions.
25961 * sysdeps/i386/fpu/libm-test-ulps: Update.
25962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25963
ca48a46a
MF
259642012-07-03 Mike Frysinger <vapier@gentoo.org>
25965
25966 * .gitignore: Delete /ports entry.
25967
9d63d37d
AJ
259682012-07-03 Andreas Jaeger <aj@suse.de>
25969
25970 * po/bg.po: Update from translation team.
25971 * po/cs.po: Likewise.
25972 * po/de.po: Likewise.
25973 * po/hr.po: Likewise.
25974 * po/nl.pl: Likewise.
25975 * po/pl.po: Likewise.
25976 * po/vi.po: Likewise.
25977
370ca3d2
JM
259782012-07-03 Joseph Myers <joseph@codesourcery.com>
25979
95f5a9a8
JM
25980 * Makeconfig [!+link] (+link-before-libc): New variable.
25981 [!+link] (+link-after-libc): Likewise.
25982 [!+link] (+link-tests): Likewise.
25983 [!+link] (+link): Define in terms of $(+link-before-libc) and
25984 $(+link-after-libc).
25985 [!+link-static] (+link-static-before-libc): New variable.
25986 [!+link-static] (+link-static-after-libc): Likewise.
25987 [!+link-static] (+link-static-tests): Likewise.
25988 [!+link-static] (+link-static): Define in terms of
25989 $(+link-static-before-libc) and $(+link-static-after-libc).
25990 [build-shared] (link-libc-before-gnulib): New variable.
25991 [build-shared] (link-libc-tests): Likewise.
25992 [build-shared] (link-libc): Define in terms of
25993 $(link-libc-before-gnulib).
25994 [!build-shared] (link-libc-tests): New variable.
25995 (link-libc-static-tests): New variable.
25996 [!gnulib] (gnulib-arch): New variable.
25997 [!gnulib] (gnulib-tests): Likewise.
25998 [!gnulib] (static-gnulib-arch): Likewise.
25999 [!gnulib] (static-gnulib-tests): Likewise.
26000 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26001 Define with "=" instead of ":=".
26002 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26003 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26004 * Rules (binaries-all-notests): New variable.
26005 (binaries-all-tests): Likewise.
26006 (binaries-static-notests): Likewise.
26007 (binaries-static-tests): Likewise.
26008 (binaries-all): Define using $(binaries-all-notests) and
26009 $(binaries-all-tests).
26010 (binaries-static): Define using $(binaries-static-notests) and
26011 $(binaries-static-tests).
26012 (binaries-shared-tests): New variable.
26013 (binaries-shared-notests): Likewise.
26014 (binaries-shared): Remove variable.
26015 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26016 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26017 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26018 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26019 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26020 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26021 * elf/Makefile (sln-modules): New variable.
26022 (extra-objs): Add $(sln-modules:=.o).
26023 (ldconfig-modules): Add static-stubs.
26024 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26025 * elf/static-stubs.c: New file.
26026
7a845b2c
JM
26027 [BZ #14283]
26028 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26029 by 7 not 8 to examine high bit of fractional part. Use volatile
26030 variables when splitting into final array of floats if
26031 __FLT_EVAL_METHOD__ != 0.
26032 * math/libm-test.inc (cos_test): Add another test.
26033 (sin_test): Likewise.
26034 * sysdeps/i386/fpu/libm-test-ulps: Update.
26035
e2283f38
JM
26036 [BZ #14273]
26037 * math/libm-test.inc (cosh_test): Add more tests.
26038
370ca3d2
JM
26039 * version.h (RELEASE): Set to "development".
26040 (VERSION): Set to "2.16.90".
26041
ee9247c3
CD
260422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26043
26044 * NEWS: Update copyright. Remove last-updated date.
26045 Mention math library bug fixes and timezone data changes.
26046 * README: Mention GNU/Hurd, x32, and HPPA support status.
26047
4648c381
TS
260482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26049
26050 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26051
aac78a43
AJ
260522012-06-27 Andreas Jaeger <aj@suse.de>
26053
26054 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26055
ed3dbfad
AJ
260562012-06-25 Andreas Jaeger <aj@suse.de>
26057
26058 * sysdeps/s390/fpu/libm-test-ulps: Update.
26059
4d0ee855
AS
260602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26061 Thomas Schwinge <thomas@codesourcery.com>
26062
26063 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26064 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26065 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26066 fanotify_mark.
26067
af1bce34
TS
260682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26069
a9fa33ba
TS
26070 * sysdeps/mach/start.c: Remove file.
26071 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26072 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26073 * sysdeps/sh/init-first.c: Likewise.
26074
58f902b8
TS
26075 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26076 registers for frame unwinding purposes, add CFI directives.
26077 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26078 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26079 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26080 Likewise.
26081
1518f58b
TS
26082 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26083 __fortify_fail returning.
26084 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26085
db9b5059
TS
26086 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26087 sysdeps/sh/____longjmp_chk.S.
26088 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26089 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26090 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26091 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26092
967705fe
TS
26093 * sysdeps/sh/abort-instr.h: New file.
26094 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26095 process in case exit returns.
26096
a9def8c4
TS
26097 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26098 initialize the GOT register before use.
26099
2a649725
TS
26100 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26101 calculation of ARGC > 4.
26102
af1bce34
TS
26103 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26104 meaningful names to some local labels.
26105
d230f50a
KK
261062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26107 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26108
26109 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26110 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26111 (__arch_compare_and_exchange_val_16_acq): Likewise.
26112 (__arch_compare_and_exchange_val_32_acq): Likewise.
26113 (atomic_exchange_and_add): Fix gUSA sequence.
26114 (atomic_add): Likewise.
26115 (atomic_add_negative): Likewise.
26116 (atomic_add_zero): Likewise.
26117 (atomic_bit_test_set): Likewise.
26118
0479b305
AS
261192012-06-22 Andreas Schwab <schwab@redhat.com>
26120
26121 [BZ #13579]
26122 * include/link.h (struct link_map): Add l_free_initfini.
26123 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26124 l_initfini.
26125 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26126 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26127 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26128 set.
26129
0e3933b9
CD
261302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26131
26132 * configure.in: Use AC_LANG_SOURCE.
26133 * configure: Regenerate.
26134
4248b1b1
RM
261352012-06-22 Roland McGrath <roland@hack.frob.com>
26136
26137 * configure.in (libc_cv_localstatedir): New substituted variable.
26138 * configure: Regenerated.
26139 * config.make.in (localstatedir): New variable, substituted from
26140 libc_cv_localstatedir.
26141 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26142 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26143 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26144 * sysdeps/gnu/configure: Regenerated.
26145
006dd861
JL
261462012-06-21 Jeff Law <law@redhat.com>
26147
26148 [BZ #14277]
26149 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26150 free. Simplify list management for _LIBC case.
26151
79662d42
JM
261522012-06-21 Joseph Myers <joseph@codesourcery.com>
26153
b7abb4bf
JM
26154 [BZ #14273]
26155 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26156 Clear sign bit of 64-bit integer value before comparing against
26157 overflow value.
26158
79662d42
JM
26159 * sysdeps/mach/configure: Regenerated.
26160
1f150908
L
261612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26162
26163 [BZ #14278]
26164 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26165
28363bbf
JL
261662012-06-21 Jeff Law <law@redhat.com>
26167
26168 [BZ #13882]
26169 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26170 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26171 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26172 * elf/dl-open.c (dl_open_worker): Likewise.
26173
09615db4
CD
261742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26175
26176 * scripts/list-sources.sh: Scan PORTS for translations.
26177 * po/libc.pot: Regenerated.
26178
2174c6dd
AJ
261792012-06-21 Andreas Jaeger <aj@suse.de>
26180
26181 [BZ #12194]
26182 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26183 warning.
26184 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26185 * bits/byteswap-16.h (__bswap_16): Likewise.
26186 * bits/byteswap.h (__bswap_constant_16): Likewise.
26187
3ee947b1
L
261882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26189
26190 [BZ #14117]
a2f34833
L
26191 * sysdeps/i386/fpu_control.h: Removed.
26192 * sysdeps/x86_64/fpu_control.h: Moved to ...
26193 * sysdeps/x86/fpu_control.h: Here.
26194
3ee947b1
L
26195 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26196 (_FPU_SETCW): Likewise.
26197
ed1825f8
L
261982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26199
25f1282a
L
26200 [BZ #14117]
26201 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26202 * sysdeps/x86/fpu/bits/mathinline.h: This.
26203 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26204
ed1825f8
L
26205 [BZ #14050]
26206 [BZ #14117]
26207 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26208 functions if __x86_64__ is defined.
26209
36d54b74
CLT
262102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26211
26212 * string/endian.h: Add !__ASSEMBLER__ condition for including
26213 conversion interfaces.
26214
10285c21
JM
262152012-06-15 Joseph Myers <joseph@codesourcery.com>
26216
26217 [BZ #14241]
26218 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26219 of ABS(x) in calculating zero to negative powers other than odd
26220 integers.
26221 * math/libm-test.inc (pow_test): Add more tests.
26222
06c5abbd
AJ
262232012-06-15 Andreas Jaeger <aj@suse.de>
26224
26225 * manual/contrib.texi (Contributors): Update entry of Liubov
26226 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26227 Machado Filho.
26228
a3aeac40
CH
262292012-06-15 Cyril Hrubis <metan@ucw.cz>
26230
26231 * string/string.h: Add __wur to GNU version of strerror_r.
26232
49bdf4c1
L
262332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26234
26235 [BZ #14229]
26236 * string/Makefile (tests): Add tst-strtok_r.
26237 * string/tst-strtok_r.c: New file.
26238 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26239 RAX_LP/RDX_LP on SAVE_PTR.
26240
834f9b8d
RM
262412012-06-14 Roland McGrath <roland@hack.frob.com>
26242
26243 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26244
75fa1921
JM
262452012-06-14 Joseph Myers <joseph@codesourcery.com>
26246
26247 * libm_test.inc (csqrt_test): Allow more spurious underflow
26248 exceptions.
26249 (j0_test): Likewise.
26250 (j1_test): Likewise.
26251 (y0_test): Likewise.
26252 (y1_test): Likewise.
26253
771766df
CD
262542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26255
26256 * po/Makefile (libc.pot): Use UTF-8 charset.
26257
ceb9e56b
PP
262582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26259
26260 [BZ #14210]
26261 Suppress sign-conversion warning from FD_SET.
26262 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26263 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26264 not unsigned long int.
26265 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26266
ddb28975
L
262672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26268
26269 [BZ #14050]
26270 [BZ #14117]
26271 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26272 __extern_always_inline instead of __extern_inline.
26273 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26274 (__signbit): Likewise.
26275 (__signbitl): Support C++ namespace.
26276 (lrintf): New inline function.
26277 (lrint): Likewise.
26278 (llrintf): Likewise.
26279 (llrint): Likewise.
26280 (fmaxf): Likewise.
26281 (fmax): Likewise.
26282 (fminf): Likewise.
26283 (fmin): Likewise.
26284 (rint): Likewise.
26285 (rintf): Likewise.
26286 (ceil): Likewise.
26287 (ceilf): Likewise.
26288 (floor): Likewise.
26289 (floorf): Likewise.
26290 (nearbyint): Likewise.
26291 (nearbyintf): Likewise.
26292
d7b4fb26
TS
262932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26294
26295 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26296 non-default versions.
26297
eb55f5c2
RM
262982012-06-11 Roland McGrath <roland@hack.frob.com>
26299
26300 [BZ #14218]
26301 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26302
366af02c
TS
263032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26304
99ff6e5c
TS
26305 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26306 (FE_UPWARD, FE_DOWNWARD): Don't define.
26307 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26308 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26309
366af02c
TS
26310 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26311 reading it.
26312 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26313 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26314
793ea851
KK
263152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26316
26317 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26318 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26319 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26320 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26321
a728a38f
L
263222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26323
26324 [BZ #14117]
c08010c7
L
26325 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26326 * sysdeps/i386/fpu/Implies: New file.
26327 * sysdeps/x86_64/fpu/Implies: Likewise.
26328 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26329 * sysdeps/x86/fpu/bits/fenv.h: This.
26330
a728a38f
L
26331 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26332 __SSE_MATH__.
26333
6e230d11
SP
263342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26335
26336 [BZ #14134]
26337 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26338 character 0xffff that matches the last element of the
26339 conversion table.
26340
1b671feb
AZ
263412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26342
26343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26344 fmodl commit.
26345
6043738b
AZ
263462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26347
26348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26349 values higher than 25.6283.
26350
34ae0b32
AZ
263512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26352
26353 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26354 subnormal exponent extraction and add some __builtin_expect.
26355 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26356 Fix for subnormal mantissa calculation.
26357
1214ec8f
MF
263582012-06-04 Mike Frysinger <vapier@gentoo.org>
26359
26360 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26361 cpu2 is -1 and errno is not ENOSYS.
26362
f3d1f93c
L
263632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26364
26365 [BZ #14117]
0e4a3cd7
L
26366 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26367 * sysdeps/x86/bits/string.h: This.
26368 * sysdeps/x86_64/bits/string.h: Removed.
26369
6704c645
L
26370 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26371 if not compiling for x86-64, but compiling for >= i486.
26372
48495318
L
26373 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26374 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26375
14adcbfc
L
26376 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26377 New macro from Linux kernel 3.4.0.
26378 (FP_XSTATE_MAGIC2): Likewise.
26379 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26380 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26381 (struct _fpx_sw_bytes): New struct.
26382 (struct _xsave_hdr): Likewise.
26383 (struct _ymmh_state): Likewise.
26384 (struct _xstate): Likewise.
26385
68e408ab
L
26386 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26387 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26388 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26389 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26390 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26391 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26392
f3d1f93c
L
26393 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26394 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26395 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26396 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26397 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26398 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26399
d9dc34cd
TMQMF
264002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26401
26402 [BZ #13743]
26403 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26404 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26405 (sysdep_headers): Include sys/platform/ppc.h.
26406 * sysdeps/powerpc/test-gettimebase.c: Test for
26407 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26408 * manual/Makefile (appendices): Include platform.texi.
26409 * manual/contrib.texi (Contributors): Update @node pointers.
26410 * manual/maint.texi (Maintenance): Likewise.
26411 (Platform): New node.
26412 * manual/platform.texi: New file. Document the new features.
26413
4af3879c
SP
264142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26415 Jakub Jelinek <jakub@redhat.com>
26416
26417 [BZ #14188]
26418 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26419 where __builtin_expect is unavailable.
26420
2fd6ff13
DM
264212012-06-03 David S. Miller <davem@davemloft.net>
26422
26423 * stdlib/longlong.h: Updated from GCC.
26424
173f7220
AS
264252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26426
26427 [BZ #14042]
26428 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26429 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26430 __mcount_internal.
26431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26432 (GLIBC_2.16): Likewise.
26433
f34a1c6f
L
264342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26435
26436 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26437
88a4576f
JM
264382012-06-01 Joseph Myers <joseph@codesourcery.com>
26439
ea32bcdd
JM
26440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26441 (default-abi): New variable.
26442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26443 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26444 variable.
26445 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26446 Likewise.
26447 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26448 Likewise.
26449 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26450 Likewise.
26451
88a4576f
JM
26452 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26453 definition. Document in comment.
26454
402fe938
DM
264552012-06-01 David S. Miller <davem@davemloft.net>
26456
26457 * stdlib/longlong.h: Updated from GCC.
26458
3553723f
L
264592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26460
26461 [BZ #14117]
3bd872c4
L
26462 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26463 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26464 sys/debugreg.h sys/io.h here.
26465 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26466 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26467 sys/io.h.
26468 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26469 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26470 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26471 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26472 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26473 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26474
3553723f
L
26475 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26476 Define only if __x86_64__ is defined.
26477
4842e4fe
JM
264782012-06-01 Joseph Myers <joseph@codesourcery.com>
26479
c5bfe3d5
JM
26480 [BZ #14048]
26481 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26482 Use int64_t for variable i.
26483 * math/libm-test.inc (fmod_test): Add more tests.
26484
4842e4fe
JM
26485 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26486 z computation is not scheduled after fetestexcept.
26487 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26488 Use math_force_eval instead of asm to ensure calculation scheduled
26489 before exception test.
26490 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26491 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26492
efb73488
AJ
264932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26494
26495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26496 computation is not scheduled after fetestexcept.
26497
29bcce7c
L
264982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26499
26500 [BZ #14117]
26501 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26502 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26503
73a68f94
AZ
265042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26505
26506 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26507 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26508
67b6df78
L
265092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26510
edf2933a 26511 [BZ #14117]
ebc64a18
L
26512 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26513 <bits/wordsize.h>.
26514 (__WCHAR_MIN): Support __WORDSIZE == 64.
26515 (__WCHAR_MAX): Likewise.
26516
edf2933a
L
26517 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26518 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26519
57c6cf40
L
26520 [BZ #14183]
26521 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26522 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26523
67b6df78 26524 [BZ #14117]
8eb6281e
L
26525 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26526 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26527
aac639f4
L
26528 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26529 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26530
67b6df78
L
26531 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26532 Defined to 1 if __x86_64__ isn't defined.
26533 (_STAT_VER_LINUX_OLD): New.
26534 (st_atime): Remove duplicate.
26535 (st_mtime): Likewise.
26536 (st_ctime): Likewise.
26537
1c2cfe81
DM
265382012-05-31 David S. Miller <davem@davemloft.net>
26539
26540 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26541 entries.
26542
5be8418c
AS
265432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26544
e7725326
AS
26545 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26546 gen-libm-test.pl.
26547
5be8418c
AS
26548 [BZ #14132]
26549 * elf/dl-reloc.c: Include <_itoa.h>.
26550 (_dl_reloc_bad_type): Remove use of INTUSE.
26551 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26552 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26553 * stdio-common/psiginfo.c (psiginfo): Likewise.
26554 * stdio-common/psignal.c (psignal): Likewise.
26555 * string/strsignal.c (strsignal): Likewise.
26556 * include/signal.h (_sys_siglist): Declare hidden proto.
26557 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26558 INTVARDEF with libc_hidden_data_def.
26559 * stdio-common/itoa-udigits.c: Likewise.
26560 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26561 (_itoa_lower_digits_internal): Remove declaration.
26562 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26563 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26564 (_sys_sigabbrev_internal): Remove aliases.
26565 (_sys_siglist): Define hidden alias.
26566
507352f1
MT
265672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26568
26569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26570 bits/sysctl.h.
26571
42bbb1c3
L
265722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26573
26574 [BZ #14117]
6bd784b6
L
26575 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26576 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26577
8bca20f0
L
26578 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26579 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26580 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26581 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26582 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26583 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26584
f9e890a9
L
26585 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26586 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26587 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26588
471101a1
L
26589 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26590 with __addr.
26591 (insw): Likewise.
26592 (insl): Likewise.
26593 (outsb): Likewise.
26594 (outsw): Likewise.
26595 (outsl): Likewise.
26596
6451c862
L
26597 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26598 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26599 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26600
a254b8c9
L
26601 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26602 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26603 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26604 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26605 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26606 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26607
b8dfdd92
L
26608 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26609 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26610
578cd270
L
26611 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26612 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26613
de662f5f
L
26614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26616 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26617
25653439
L
26618 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26619 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26620 to ...
26621 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26622
6bad24a0
L
26623 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26624 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26625 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26626
42bbb1c3
L
26627 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26628 for x86-64.
26629 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26630
2d10d547
JM
266312012-05-31 Joseph Myers <joseph@codesourcery.com>
26632
26633 * math/math.h (M_El): Use two more decimal places.
26634 (M_LOG2El): Likewise.
26635 (M_LOG10El): Likewise.
26636 (M_LN2l): Likewise.
26637 (M_LN10l): Likewise.
26638 (M_PIl): Likewise.
26639 (M_PI_2l): Likewise.
26640 (M_PI_4l): Likewise.
26641 (M_1_PIl): Likewise.
26642 (M_2_PIl): Likewise.
26643 (M_2_SQRTPIl): Likewise.
26644 (M_SQRT2l): Likewise.
26645 (M_SQRT1_2l): Likewise.
26646
f230c29b
DM
266472012-05-31 David S. Miller <davem@davemloft.net>
26648
26649 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26650 values between float registers.
26651 * sysdeps/sparc/sparc64/memset.S: Likewise.
26652 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26653
fed806c3
MF
266542012-05-31 Mike Frysinger <vapier@gentoo.org>
26655
26656 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26657 -D_FORTIFY_SOURCE=1.
26658 (CPPFLAGS-tst-longjmp_chk.c): Define.
26659 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26660 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26661 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26662 CFLAGS-tst-wchar-h.c.
26663
30917259
MP
266642012-05-31 Marek Polacek <polacek@redhat.com>
26665
26666 [BZ #14132]
26667 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26668 __endmntent_internal): Remove declaration.
26669 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26670 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26671 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26672
1c58d5dc
DM
266732012-05-30 David S. Miller <davem@davemloft.net>
26674
26675 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26676 (___Q_simulate_exceptions): Use real FP ops rather than writing
26677 into the %fsr.
26678 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26679 Likewise.
26680
7dc00e0d
L
266812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26682
26683 [BZ #14117]
0bd53985
L
26684 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26685 * sysdeps/x86/bits/xtitypes.h: This.
26686
3a257e66
L
26687 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26688 * sysdeps/x86/bits/wordsize.h: This.
26689
62f62904
L
26690 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26691 * sysdeps/x86/bits/huge_vall.h: This.
26692
404fe9d9
L
26693 * sysdeps/i386/bits/select.h: Removed.
26694 * sysdeps/x86_64/bits/select.h: Renamed to ...
26695 * sysdeps/x86/bits/select.h: This.
26696
d48d0446
L
26697 * sysdeps/i386/bits/setjmp.h: Removed.
26698 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26699 * sysdeps/x86/bits/setjmp.h: This.
26700
7dc00e0d
L
26701 * sysdeps/i386/bits/mathdef.h: Removed.
26702 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26703 * sysdeps/x86/bits/mathdef.h: This.
26704
03277f8f
AS
267052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26706
26707 [BZ #14132]
26708 * include/sys/socket.h (__connect_internal)
26709 (__libc_sa_len_internal): Remove declaration.
26710 (__connect, __libc_sa_len): Declare hidden_proto.
26711 (SA_LEN): Remove use of INTUSE.
26712 * socket/connect.c: Add libc_hidden_def.
26713 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26714 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26715 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26716 alias.
26717 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26718 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26719 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26720 of adding _internal alias.
26721
13764867
L
267222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26723
26724 [BZ #14117]
6bd97696
L
26725 * sysdeps/i386/bits/link.h: Removed.
26726 * sysdeps/i386/bits/linkmap.h: Likewise.
26727 * sysdeps/x86_64/bits/link.h: Renamed to ...
26728 * sysdeps/x86/bits/link.h: This.
26729 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26730 * sysdeps/x86/bits/linkmap.h: This.
26731
f726f0bb
L
26732 * sysdeps/i386/bits/endian.h: Removed.
26733 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26734 * sysdeps/x86/bits/endian.h: This.
26735
13764867
L
26736 * sysdeps/i386/bits/byteswap.h: Removed.
26737 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26738 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26739 * sysdeps/x86/bits/byteswap.h: This.
26740 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26741 * sysdeps/x86/bits/byteswap-16.h: This.
26742 * sysdeps/i386/Implies: Add x86.
26743 * sysdeps/x86_64/Implies: Likewise.
26744
ae251b0b
DM
267452012-05-30 David S. Miller <davem@davemloft.net>
26746
26747 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26748 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26749 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26750 (FP_TRAPPING_EXCEPTIONS): Define.
26751 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26752 (FP_TRAPPING_EXCEPTIONS): Define.
26753 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26754 subnormals only when inexact has been signalled or underflow
26755 exceptions are enabled.
26756 (_FP_PACK_CANONICAL): Likewise.
26757
d5c90867
L
267582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26759
26760 [BZ #14183]
26761 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26762 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26763
63f1549e
RH
267642012-05-30 Richard Henderson <rth@twiddle.net>
26765
8d8f2279
RH
26766 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26767 with #ifndef NOT_IN_libc.
26768
63f1549e
RH
26769 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26770 marked to avoid plt entry.
26771
0ab0291b
L
267722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26773
26774 [BZ #14112]
26775 * Makeconfig (default-abi): New macro.
26776 (abi-includes): Likewise.
26777 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26778 $(abi-$(default-abi)-lib-soname) for soname if defined.
26779 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26780 abi-variants.
26781 * Makefile (installed-stubs): Likewise.
26782 * include/stubs-biarch.h: Removed.
26783 * scripts/lib-names.awk: Only handle one library at a time.
26784 * scripts/soversions.awk: Remove WORDSIZE support.
26785 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26786 entries.
26787 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26788 Removed.
26789 (syscall-list-default-condition): Likewise.
26790 (syscall-list-default-condition): Likewise.
26791 (syscall-list-includes): Likewise.
26792 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26793 syscall-list-* with abi-*. Handle undefined abi-variants.
26794 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26795 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26796 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26797 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26798 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26799 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26800 Removed.
26801 (syscall-list-32-options): Likewise.
26802 (syscall-list-32-condition): Likewise.
26803 (syscall-list-64-options): Likewise.
26804 (syscall-list-64-condition): Likewise.
26805 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26806 macro.
26807 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26808 Renamed to ...
26809 (abi-*): This.
26810 (abi-64-ld-soname): New macro.
26811 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26812 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26813 Renamed to ...
26814 (abi-*): This.
26815 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26816 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26817
4da0431d
JM
268182012-05-30 Joseph Myers <joseph@codesourcery.com>
26819
3a85279c
JM
26820 * sysdeps/unix/sysv/linux/kernel-features.h
26821 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26822 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26823 include <kernel-features.h>.
26824 [!__NR_ftruncate64]: Remove conditional code.
26825 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26826 [__NR_ftruncate64]: Make code unconditional.
26827 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26828 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26829 include <kernel-features.h>.
26830 [!__NR_ftruncate64]: Remove conditional code.
26831 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26832 [__NR_ftruncate64]: Make code unconditional.
26833 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26835 include <kernel-features.h>.
26836 [!__NR_ftruncate64]: Remove conditional code.
26837 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26838 [__NR_ftruncate64]: Make code unconditional.
26839 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26841 include <kernel-features.h>.
26842 [!__NR_ftruncate64]: Remove conditional code.
26843 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26844 [__NR_ftruncate64]: Make code unconditional.
26845 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26846
4da0431d
JM
26847 * configure.in (libc_cv_fpie): Weaken to a compile test using
26848 LIBC_TRY_CC_OPTION.
26849 * configure: Regenerated.
26850
11ef492c
AK
268512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26852
26853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26857 Refreshed.
26858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26864 Refreshed.
26865
d66ef399
DM
268662012-05-27 David S. Miller <davem@davemloft.net>
26867
26868 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26869 (___Q_zero): New.
26870 (__Q_simulate_exceptions): Return void. Change to simulate
26871 exceptions by writing into the %fsr.
26872 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26873 (__Qp_handle_exceptions): Likewise.
26874 (numbers): Delete.
26875 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26876 __Qp_handle_exceptions.
26877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26878 __Qp_handle_exceptions.
26879 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26880 as unused and give dummy FP_RND_NEAREST initializer.
26881 (FP_INHIBIT_RESULTS): Define.
26882 (___Q_simulate_exceptions): Update declaration.
26883 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26884 formatting.
26885 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26886 as unused and give dummy FP_RND_NEAREST initializer.
26887 (__Qp_handle_exceptions): Update declaration.
26888 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26889 formatting.
26890
04fb54b5
TS
268912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26892
26893 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26894 the temporary FPU control word.
26895 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26896 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26897 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26898 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26899 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26900 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26901 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26902 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26903 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26904 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26905 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26906
3f99608f
KK
269072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26908
26909 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26910 fields.
26911
65a4de4e
CLT
269122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26913
26914 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26915 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26916 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26917 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26918 Likewise.
26919 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26920 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26921 Likewise.
26922
15749d40
UD
269232012-05-27 Ulrich Drepper <drepper@gmail.com>
26924
26925 * po/h.po: Update from translation team.
26926
25dbcb27
AS
269272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26928
3d3f8e55
AS
26929 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26930
25dbcb27
AS
26931 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26932 handling of denormals.
26933 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26934 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26935 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26936 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26937 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26938 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26939 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26940 Likewise.
26941
7ad47a80 269422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26943
26944 [BZ #14152]
26945 * math/libm-test.inc (fma_test): Don't always expect underflow
26946 exception.
26947
9c6ea9fa
SP
269482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26949
26950 [BZ #12416]
26951 * elf/tst-execstack.c: Include stackinfo.h.
26952 (do_test): Adjust test case to ensure that pthread_getattr_np
26953 behaviour remains the same after marking stack executable.
26954
a8239222
JM
269552012-05-25 Joseph Myers <joseph@codesourcery.com>
26956
26957 * sysdeps/unix/sysv/linux/kernel-features.h
26958 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26959 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26960 kernel-features.h.
26961 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26962 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26963 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26964 kernel-features.h.
26965 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26966 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26967
918b5606
L
269682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26969
26970 * configure.in: Define the default includes to being none.
26971 * configure: Regenerated.
26972
3a097cc7
RM
269732012-05-25 Roland McGrath <roland@hack.frob.com>
26974
8422c9a5
RM
26975 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26976 * sysdeps/x86_64/setjmp.S: Likewise.
26977 * sysdeps/i386/bsd-setjmp.S: Likewise.
26978 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26979 * sysdeps/i386/setjmp.S: Likewise.
26980 * sysdeps/i386/__longjmp.S: Likewise.
26981 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26982 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26983
3a097cc7
RM
26984 * include/stap-probe.h: New file.
26985 * configure.in: Handle --enable-systemtap.
26986 * configure: Regenerated.
26987 * config.h.in (USE_STAP_PROBE): New #undef.
26988 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26989 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26990 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26991
21708942
JM
269922012-05-25 Joseph Myers <joseph@codesourcery.com>
26993
26994 [BZ #13717]
26995 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26996 to 2.4.0 where earlier.
26997 * sysdeps/unix/sysv/linux/configure: Regenerated.
26998 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
27007 [__ASSUME_32BITUIDS]: Make code unconditional.
27008 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27009 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27010 <kernel-features.h>.
27011 [__ASSUME_32BITUIDS]: Make code unconditional.
27012 [!__ASSUME_32BITUIDS]: Remove conditional code.
27013 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27014 <kernel-features.h>.
27015 [__ASSUME_32BITUIDS]: Make code unconditional.
27016 [!__ASSUME_32BITUIDS]: Remove conditional code.
27017 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27018 <kernel-features.h>.
27019 [__ASSUME_32BITUIDS]: Make code unconditional.
27020 [!__ASSUME_32BITUIDS]: Remove conditional code.
27021 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27022 <kernel-features.h>.
27023 [__ASSUME_32BITUIDS]: Make code unconditional.
27024 [!__ASSUME_32BITUIDS]: Remove conditional code.
27025 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27026 <kernel-features.h>.
27027 [__ASSUME_32BITUIDS]: Make code unconditional.
27028 [!__ASSUME_32BITUIDS]: Remove conditional code.
27029 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27030 <kernel-features.h>.
27031 [__ASSUME_32BITUIDS]: Make code unconditional.
27032 [!__ASSUME_32BITUIDS]: Remove conditional code.
27033 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27034 <kernel-features.h>.
27035 [__ASSUME_32BITUIDS]: Make code unconditional.
27036 [!__ASSUME_32BITUIDS]: Remove conditional code.
27037 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27038 <kernel-features.h>.
27039 [__ASSUME_32BITUIDS]: Make code unconditional.
27040 [!__ASSUME_32BITUIDS]: Remove conditional code.
27041 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27042 <kernel-features.h>.
27043 [__ASSUME_32BITUIDS]: Make code unconditional.
27044 [!__ASSUME_32BITUIDS]: Remove conditional code.
27045 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27046 <kernel-features.h>.
27047 [__ASSUME_32BITUIDS]: Make code unconditional.
27048 [!__ASSUME_32BITUIDS]: Remove conditional code.
27049 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27050 <kernel-features.h>.
27051 [__NR_setresgid] (__setresgid): Do not declare.
27052 [__ASSUME_32BITUIDS]: Make code unconditional.
27053 [!__ASSUME_32BITUIDS]: Remove conditional code.
27054 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27055 <kernel-features.h>.
27056 [__NR_setresuid] (__setresuid): Do not declare.
27057 [__ASSUME_32BITUIDS]: Make code unconditional.
27058 [!__ASSUME_32BITUIDS]: Remove conditional code.
27059 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27060 <kernel-features.h>.
27061 [__ASSUME_32BITUIDS]: Make code unconditional.
27062 [!__ASSUME_32BITUIDS]: Remove conditional code.
27063 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27064 <kernel-features.h>.
27065 [__ASSUME_32BITUIDS]: Make code unconditional.
27066 [!__ASSUME_32BITUIDS]: Remove conditional code.
27067 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27068 <kernel-features.h>.
27069 [__ASSUME_32BITUIDS]: Make code unconditional.
27070 [!__ASSUME_32BITUIDS]: Remove conditional code.
27071 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27072 <kernel-features.h>.
27073 [__ASSUME_32BITUIDS]: Make code unconditional.
27074 [!__ASSUME_32BITUIDS]: Remove conditional code.
27075 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27076 <kernel-features.h>.
27077 [__ASSUME_32BITUIDS]: Make code unconditional.
27078 [!__ASSUME_32BITUIDS]: Remove conditional code.
27079 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27080 <kernel-features.h>.
27081 [__ASSUME_32BITUIDS]: Make code unconditional.
27082 [!__ASSUME_32BITUIDS]: Remove conditional code.
27083 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27084 <kernel-features.h>.
27085 [__ASSUME_32BITUIDS]: Make code unconditional.
27086 [!__ASSUME_32BITUIDS]: Remove conditional code.
27087 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27088 <kernel-features.h>.
27089 [__ASSUME_32BITUIDS]: Make code unconditional.
27090 [!__ASSUME_32BITUIDS]: Remove conditional code.
27091 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27092 <kernel-features.h>.
27093 [__ASSUME_32BITUIDS]: Make code unconditional.
27094 [!__ASSUME_32BITUIDS]: Remove conditional code.
27095 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27096 <kernel-features.h>.
27097 [__ASSUME_32BITUIDS]: Make code unconditional.
27098 [!__ASSUME_32BITUIDS]: Remove conditional code.
27099 * sysdeps/unix/sysv/linux/kernel-features.h
27100 (__ASSUME_SETRESUID_SYSCALL): Remove.
27101 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27102 (__ASSUME_32BITUIDS): Likewise.
27103 (__ASSUME_LDT_WORKS): Likewise.
27104 (__ASSUME_O_DIRECTORY): Likewise.
27105 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27106 architecture but not kernel version.
27107 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27108 (__ASSUME_MMAP2_SYSCALL): Likewise.
27109 (__ASSUME_STAT64_SYSCALL): Likewise.
27110 (__ASSUME_IPC64): Likewise.
27111 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27112 <kernel-features.h>.
27113 [__ASSUME_32BITUIDS]: Make code unconditional.
27114 [!__ASSUME_32BITUIDS]: Remove conditional code.
27115 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27116 <kernel-features.h>.
27117 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27118 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27119 132096]: Remove conditional code.
27120 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27121 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27122 <kernel-features.h>.
27123 [__ASSUME_32BITUIDS]: Make code unconditional.
27124 [!__ASSUME_32BITUIDS]: Remove conditional code.
27125 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27126 <kernel-features.h>.
27127 [__ASSUME_32BITUIDS]: Make code unconditional.
27128 [!__ASSUME_32BITUIDS]: Remove conditional code.
27129 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27130 <kernel-features.h>.
27131 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27132 unconditional.
27133 (__setresgid): Do not declare.
27134 [__ASSUME_32BITUIDS]: Make code unconditional.
27135 [!__ASSUME_32BITUIDS]: Remove conditional code.
27136 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27137 <kernel-features.h>.
27138 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27139 unconditional.
27140 (__setresuid): Do not declare.
27141 [__ASSUME_32BITUIDS]: Make code unconditional.
27142 [!__ASSUME_32BITUIDS]: Remove conditional code.
27143 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27144 <kernel-features.h>.
27145 [__ASSUME_32BITUIDS]: Make code unconditional.
27146 [!__ASSUME_32BITUIDS]: Remove conditional code.
27147 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27148 <kernel-features.h>.
27149 [__ASSUME_32BITUIDS]: Make code unconditional.
27150 [!__ASSUME_32BITUIDS]: Remove conditional code.
27151
a386f1cc
RH
271522012-05-25 Richard Henderson <rth@twiddle.net>
27153
27154 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27155 dl_hwcap to ifunc resolver.
27156 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27157 elf_ifunc_invoke.
27158 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27159 dl_hwcap to ifunc resolver.
27160 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27161
b6550497
JM
271622012-05-24 Joseph Myers <joseph@codesourcery.com>
27163
27164 [BZ #14153]
27165 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27166 for |x| <= 2**-26, not 2**-57.
27167 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27168 exception.
27169
b0bc23a1
JL
271702012-05-24 Jeff Law <law@redhat.com>
27171
27172 * stdio-common/Makefile (tests): Add bug25.
27173 * stdio-common/bug25.c: New test.
27174
347c92e9
L
271752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27176
27177 [BZ #13576]
27178 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27179 multiple of MALLOC_ALIGNMENT in size.
27180 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27181
6bcc8b3f
JM
271822012-05-24 Joseph Myers <joseph@codesourcery.com>
27183
27184 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27185 Require >= 256.
27186 (FILENAME_MAX): Use macro-int-constant.
27187 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27188 (_IOFBF): Use macro-int-constant.
27189 (_IOLBF): Likewise.
27190 (_IONBF): Likewise.
27191 (SEEK_CUR): Likewise.
27192 (SEEK_END): Likewise.
27193 (SEEK_SET): Likewise.
27194 (TMP_MAX): Likewise.
27195 (EOF): Use macro-int-constant. Require < 0.
27196 (NULL): Use macro-constant. Require == 0.
27197 (stdin): Require type to be FILE *.
27198 (stdout): Likewise.
27199 (stderr): Likewise.
27200 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27201 macro-int-constant.
27202 (EXIT_SUCCESS): Likewise.
27203 (NULL): Use macro-constant. Require == 0.
27204 (RAND_MAX): Use macro-int-constant.
27205 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27206 [C99-based standards] (strtof): Require function.
27207 [C99-based standards] (strtold): Likewise.
27208 [C99-based standards] (strtoll): Likewise.
27209 [C99-based standards] (strtoull): Likewise.
27210 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27211 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27212 [ISO || ISO99 || ISO11] (math.h): Likewise.
27213 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27214 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27215 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27216
d18ea0c5
AS
272172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27218
27219 [BZ #14132]
56d25bb8
AS
27220 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27221 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27222 * intl/dgettext.c (DCGETTEXT): Likewise.
27223 * intl/gettext.c (DCGETTEXT): Likewise.
27224 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27225 * posix/regex_internal.h (gettext): Likewise.
27226 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27227 Remove declaration.
27228 * include/argz.h (__argz_count_internal)
27229 (__argz_stringify_internal): Remove declaration.
27230 (__argz_count, __argz_stringify): Declare hidden proto.
27231 * intl/dcgettext.c: Remove use of INTDEF.
27232 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27233 * string/argz-stringify.c: Likewise.
27234 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27235 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27236 Declare hidden proto.
d18ea0c5
AS
27237 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27238 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27239 Declare hidden proto.
27240 * include/stdio.h (__asprintf_internal): Don't declare.
27241 (__asprintf): Don't define as macro. Declare hidden proto.
27242 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27243 (__fsetlocking): Declare hidden proto.
27244 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27245 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27246 hidden proto.
27247 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27248 (_IO_setlinebuf): Remove use of INTUSE.
27249 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27250 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27251 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27252 Remove declaration.
27253 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27254 (_IO_do_flush): Remove use of INTUSE.
27255 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27256 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27257 (_IO_adjust_column, _IO_least_wmarker)
27258 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27259 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27260 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27261 (_IO_default_doallocate, _IO_wdefault_doallocate)
27262 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27263 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27264 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27265 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27266 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27267 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27268 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27269 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27270 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27271 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27272 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27273 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27274 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27275 proto.
27276 (_IO_flush_all_internal, _IO_adjust_column_internal)
27277 (_IO_default_uflow_internal, _IO_default_finish_internal)
27278 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27279 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27280 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27281 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27282 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27283 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27284 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27285 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27286 (_IO_file_close_internal, _IO_file_close_it_internal)
27287 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27288 (_IO_file_init_internal, _IO_file_attach_internal)
27289 (_IO_file_fopen_internal, _IO_file_read_internal)
27290 (_IO_file_sync_internal, _IO_file_seek_internal)
27291 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27292 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27293 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27294 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27295 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27296 (_IO_list_all_internal, _IO_link_in_internal)
27297 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27298 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27299 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27300 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27301 (_IO_do_write_internal, _IO_padn_internal)
27302 (_IO_getline_info_internal, _IO_getline_internal)
27303 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27304 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27305 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27306 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27307 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27308 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27309 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27310 with libc_hidden_ver, remove use of INTUSE.
27311 * libio/genops.c: Likewise.
27312 * libio/freopen.c: Likewise.
27313 * libio/freopen64.c: Likewise.
27314 * libio/iofclose.c: Likewise.
27315 * libio/iofdopen.c: Likewise.
27316 * libio/iofflush.c: Likewise.
27317 * libio/iofflush_u.c: Likewise.
27318 * libio/iofgets.c: Likewise.
27319 * libio/iofgets_u.c: Likewise.
27320 * libio/iofopen.c: Likewise.
27321 * libio/iofopncook.c: Likewise.
27322 * libio/iofread.c: Likewise.
27323 * libio/iofread_u.c: Likewise.
27324 * libio/ioftell.c: Likewise.
27325 * libio/iofwrite.c: Likewise.
27326 * libio/iogetline.c: Likewise.
27327 * libio/iogets.c: Likewise.
27328 * libio/iogetwline.c: Likewise.
27329 * libio/iopadn.c: Likewise.
27330 * libio/iopopen.c: Likewise.
27331 * libio/ioseekoff.c: Likewise.
27332 * libio/ioseekpos.c: Likewise.
27333 * libio/iosetbuffer.c: Likewise.
27334 * libio/iosetvbuf.c: Likewise.
27335 * libio/ioungetc.c: Likewise.
27336 * libio/ioungetwc.c: Likewise.
27337 * libio/iovdprintf.c: Likewise.
27338 * libio/iovsprintf.c: Likewise.
27339 * libio/iovsscanf.c: Likewise.
27340 * libio/memstream.c: Likewise.
27341 * libio/obprintf.c: Likewise.
27342 * libio/oldfileops.c: Likewise.
27343 * libio/oldiofclose.c: Likewise.
27344 * libio/oldiofdopen.c: Likewise.
27345 * libio/oldiofopen.c: Likewise.
27346 * libio/oldiopopen.c: Likewise.
27347 * libio/oldstdfiles.c: Likewise.
27348 * libio/putc.c: Likewise.
27349 * libio/setbuf.c: Likewise.
27350 * libio/setlinebuf.c: Likewise.
27351 * libio/stdfiles.c: Likewise.
27352 * libio/strops.c: Likewise.
27353 * libio/vasprintf.c: Likewise.
27354 * libio/vscanf.c: Likewise.
27355 * libio/vsnprintf.c: Likewise.
27356 * libio/vswprintf.c: Likewise.
27357 * libio/wfiledoalloc.c: Likewise.
27358 * libio/wfileops.c: Likewise.
27359 * libio/wgenops.c: Likewise.
27360 * libio/wmemstream.c: Likewise.
27361 * libio/wstrops.c: Likewise.
27362 * libio/__fpurge.c: Likewise.
27363 * libio/__fsetlocking.c: Likewise.
27364 * assert/assert.c: Likewise.
27365 * debug/fgets_chk.c: Likewise.
27366 * debug/fgets_u_chk.c: Likewise.
27367 * debug/fread_chk.c: Likewise.
27368 * debug/fread_u_chk.c: Likewise.
27369 * debug/gets_chk.c: Likewise.
27370 * debug/obprintf_chk.c: Likewise.
27371 * debug/vasprintf_chk.c: Likewise.
27372 * debug/vdprintf_chk.c: Likewise.
27373 * debug/vsnprintf_chk.c: Likewise.
27374 * debug/vsprintf_chk.c: Likewise.
27375 * malloc/mtrace.c: Likewise.
27376 * misc/error.c: Likewise.
27377 * misc/syslog.c: Likewise.
27378 * stdio-common/asprintf.c: Likewise.
27379 * stdio-common/fxprintf.c: Likewise.
27380 * stdio-common/getw.c: Likewise.
27381 * stdio-common/isoc99_fscanf.c: Likewise.
27382 * stdio-common/isoc99_scanf.c: Likewise.
27383 * stdio-common/isoc99_vfscanf.c: Likewise.
27384 * stdio-common/isoc99_vscanf.c: Likewise.
27385 * stdio-common/isoc99_vsscanf.c: Likewise.
27386 * stdio-common/printf-prs.c: Likewise.
27387 * stdio-common/printf_fp.c: Likewise.
27388 * stdio-common/printf_fphex.c: Likewise.
27389 * stdio-common/printf_size.c: Likewise.
27390 * stdio-common/putw.c: Likewise.
27391 * stdio-common/scanf.c: Likewise.
27392 * stdio-common/sprintf.c: Likewise.
27393 * stdio-common/tmpfile.c: Likewise.
27394 * stdio-common/vfprintf.c: Likewise.
27395 * stdio-common/vfscanf.c: Likewise.
27396 * stdlib/strfmon_l.c: Likewise.
27397 * sunrpc/openchild.c: Likewise.
27398 * sunrpc/xdr_stdio.c: Likewise.
27399 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27400 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27401
d6c33fda
RM
274022012-05-24 Roland McGrath <roland@hack.frob.com>
27403
c1487492
RM
27404 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27405
27406 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27407 in the third column, to generate for the shared library an IFUNC
27408 that uses _dl_vdso_vsym.
27409 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27410 * Makeconfig (object-suffixes-noshared): New variable.
27411
27412 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27413 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27414 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27415 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27416
d6c33fda
RM
27417 [BZ #14132]
27418 * include/sys/time.h (__gettimeofday): Remove macro.
27419 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27420 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27421 Remove INTDEF.
27422 (__gettimeofday): Add libc_hidden_def.
27423 (gettimeofday): Add libc_hidden_weak.
27424 * sysdeps/mach/gettimeofday.c: Likewise.
27425 * sysdeps/posix/gettimeofday.c: Likewise.
27426 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27427 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27428 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27429 (__gettimeofday_internal): Remove strong_alias.
27430 (__gettimeofday): Add libc_hidden_def.
27431 (gettimeofday): Add libc_hidden_weak.
27432 * sysdeps/unix/syscalls.list (gettimeofday):
27433 Remove __gettimeofday_internal alias.
27434
b5a2bbe6
L
274352012-05-24 Daniel Jacobowitz <drow@false.org>
27436 H.J. Lu <hongjiu.lu@intel.com>
27437
27438 [BZ #12495]
27439 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27440 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27441 (largebin_index_32_big): New.
27442 (largebin_index): Use it for 16-byte alignment.
27443 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27444 correction with front_misalign.
27445
cfba4fda
L
274462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27447
7f907421
L
27448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27450 Likewise.
27451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27452 Likewise.
27453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27454 Likewise.
27455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27456 Likewise.
27457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27458 Likewise.
27459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27460 Likewise.
27461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27462 Likewise.
27463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27464 Likewise.
27465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27466 Likewise.
27467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27468 Likewise.
27469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27470 Likewise.
27471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27472 Likewise.
27473
cfba4fda
L
27474 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27475 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27476
80bad0cc
JM
274772012-05-24 Joseph Myers <joseph@codesourcery.com>
27478
7a25eb06
JM
27479 [BZ #10846]
27480 [BZ #14036]
27481 * math/libm-test.inc (exp_test): Add test from bug 14036.
27482 (pow_test): Add test from bug 10846.
27483
795405f9
JM
27484 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27485 and other flags.
27486 (special_function): Do not include flags in test name.
27487 (parse_args): Likewise.
27488 * sysdeps/i386/fpu/libm-test-ulps: Update.
27489 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27490 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27491 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27493
80bad0cc
JM
27494 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27495 exceptions.
27496 * math/libm-test.inc ("Philosophy"): Update comment about
27497 exception testing.
27498 (UNDERFLOW_EXCEPTION): New macro.
27499 (UNDERFLOW_EXCEPTION_OK): Likewise.
27500 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27501 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27502 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27503 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27504 (INVALID_EXCEPTION_OK): Update value.
27505 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27506 (OVERFLOW_EXCEPTION_OK): Likewise.
27507 (IGNORE_ZERO_INF_SIGN): Likewise.
27508 (test_exceptions): Handle underflow exceptions.
27509 (acos_test): Update for underflow exception expectations.
27510 (cexp_test): Likewise.
27511 (clog_test): Likewise.
27512 (clog10_test): Likewise.
27513 (csqrt_test): Likewise.
27514 (ctan_test): Likewise.
27515 (ctanh_test): Likewise.
27516 (exp_test): Likewise.
27517 (exp10_test): Likewise.
27518 (exp2_test): Likewise.
27519 (expm1_test): Likewise.
27520 (fma_test): Likewise.
27521 (j0_test): Likewise.
27522 (jn_test): Likewise.
27523 (nexttoward_test): Likewise.
27524 (pow_test): Likewise.
27525 (scalbn_test): Likewise.
27526 (scalbln_test): Likewise.
27527 (tan_test): Likewise.
27528 (y1_test): Likewise.
27529 * sysdeps/i386/fpu/libm-test-ulps: Update.
27530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27531
9e0e3d0b
DM
275322012-05-23 David S. Miller <davem@davemloft.net>
27533
27534 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27535 (__libc_sigaction): Remove unused local variables.
27536
ccd0a08f
L
275372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27538
27539 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27540
62bdf9a6
PE
275412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27542
f8591f80
PE
27543 mktime: avoid signed integer overflow
27544 * time/mktime.c (__mktime_internal): Do not mishandle the case
27545 where diff == INT_MIN.
27546
94c7d826
PE
27547 mktime: simplify computation of average
27548 * time/mktime.c (ranged_convert): Use new time_t_avg function
27549 instead of rolling our own (probably-slower) code.
27550
ce73d683
PE
27551 mktime: do not assume signed right shift propagates sign bit
27552 * time/mktime.c (isdst_differ): New static function.
27553 (__mktime_internal): No need to normalize tm_isdst now.
27554 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27555 tm_isdst values.
27556
72a22e59
PE
27557 mktime: merge another wrapv change from gnulib
27558 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27559 from some compilers.
27560
68605433
PE
27561 mktime: remove incorrect attempt at unusual arithmetics
27562 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27563 The code didn't really work on such machines anyway.
27564 (TYPE_MINIMUM): Assume two's complement.
27565 (twos_complement_arithmetic): Verify that long_int and time_t
27566 are two's complement (or unsigned, in the latter case).
27567
03cf7fe3
PE
27568 mktime: check signed shifts on long_int and time_t, too
27569 * time/mktime.c (SHR): Check that shifts work as desired
27570 on the types long_int and time_t too, as SHR is used on
27571 such types.
27572
f04dfbc2
PE
27573 mktime: do not assume 'long' is wide enough
27574 * time/mktime.c (verify): Move decl up.
27575 (long_int): New type.
27576 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27577 to remove assumption in the code that 'long' is wide enough to
27578 store year values. This assumption is not true on x32 and on
27579 some non-glibc platforms.
27580
62bdf9a6
PE
27581 mktime: merge wrapv change from gnulib
27582 * time/mktime.c (WRAPV): New macro.
27583 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27584 (guess_time_tm, __mktime_internal): Do not assume that signed
27585 integer overflow wraps around; modern compilers generate code
27586 where this assumption is no longer valid.
27587
5e292e4f
L
275882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27589
27590 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27591 Replace "jmp L(pseudo_end)" with "ret".
27592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27593 Likewise.
27594
8caf8c87
AJ
275952012-05-23 Andreas Jaeger <aj@suse.de>
27596
27597 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27598 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27599
1a09dc56
AJ
276002012-05-23 Andreas Jaeger <aj@suse.de>
27601 Maximilian Attems <max@stro.at>
27602
27603 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27604 New macros.
27605
1c87aba0
L
276062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27607
27608 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27609 code so that pseudo_end is just ret and the stack pointer is
27610 correct also for static library in error case.
27611
40e45bd5
JM
276122012-05-23 Joseph Myers <joseph@codesourcery.com>
27613
c2670533
JM
27614 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27615 move to syscalls.list.
27616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27620
40e45bd5
JM
27621 * manual/install.texi (Running make install): Do not mention Linux
27622 kernel version for which pt_chown is not needed.
27623 (Linux): Do not mention problems with nscd with 2.0 kernels.
27624 * INSTALL: Regenerated.
27625
be08eda5
AJ
276262012-05-23 Andreas Jaeger <aj@suse.de>
27627
27628 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27629 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27630 macro.
27631 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27632 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27633 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27634 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27635 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27636 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27637 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27638 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27639 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27640 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27641 * sysdeps/unix/sysv/linux/bits/in.h
27642 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27643
a6a056bb
RM
276442012-05-22 Roland McGrath <roland@hack.frob.com>
27645
27646 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27647 (PREPARE_VERSION): Just use assert instead, it will be elided
27648 under [NDEBUG] anyway.
27649
c9009328
L
276502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27651
27652 * sysdeps/unix/sysv/linux/Makefile: Include
27653 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27654 (sysdep_routines): Remove sysctl.
c9009328
L
27655 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27656 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27657 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27658 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27659 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27660
73338355
AJ
276612012-05-22 Andreas Jaeger <aj@suse.de>
27662
27663 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27664 that pseudo_end is just ret and the stack pointer is correct also
27665 for static library in error case.
27666
d44638b0
PP
276672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27668
27669 [BZ #14122]
27670 * nss/nsswitch.c (defconfig_entries): New variable.
27671 (__nss_database_lookup): Don't leak defconfig entries.
27672 (nss_parse_service_list): Don't leak on error paths.
27673 (free_database_entries): New function.
27674 (free_defconfig): New function.
27675 (free_mem): Move common code to free_database_entries.
27676
31a39bd8
L
276772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27678
da0331a8
L
27679 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27680 Add arch_prctl.
27681 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27682
31a39bd8
L
27683 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27684 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27686 New macro.
27687 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27688 (INTERNAL_SYSCALL_TYPES): Likewise.
27689 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27690 (LOAD_REGS_TYPES_[1-6]): Likewise.
27691 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27692 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27693
45470df3
AZ
276942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27695
27696 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27697 copysignl for GLIBC_2_0.
27698 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27699 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27700 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27701 logbl for GLIBC_2_0.
27702 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27703 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27704
98a61bcb
L
277052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27706
a4f6e481
L
27707 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27708 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27709
f63d5db6
L
27710 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27711 Use "neg %eax".
27712
98a61bcb
L
27713 * time/mktime.c: Update copyright years.
27714
95770f14
PE
277152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27716
6226efbd
PE
27717 mktime: merge comment-quoting-style change from gnulib
27718 * time/mktime.c: Quote 'like this' in comments.
27719 The GNU coding standards suggest that we no longer quote `like this',
27720 as "`" and "'" are typically rendered asymmetrically nowadays.
27721 The typical gnulib style is to quote 'like this' when quoting
27722 code, and "like this" when quoting English.
27723
b99e4f78
PE
27724 * time/mktime.c (compile-command): Add "-I.".
27725
643e01e6
PE
27726 mktime: merge mktime-internal.h change from gnulib
27727 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27728
2554247d
PE
27729 mktime: merge time_r change from gnulib
27730 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27731
826dd0ab
PE
27732 mktime: merge DEBUG change from gnulib
27733 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27734 case system <time.h> has a #define.
27735
bd83aabe
PE
27736 mktime: merge <sys/types.h> change from gnulib
27737 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27738 since <time.t> is now guaranteed to define time_t.
27739
95770f14
PE
27740 mktime: merge HAVE_CONFIG_H change from gnulib
27741 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27742
5e1a27a9
L
277432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27744
0e44a77e
L
27745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27746 Use "neg %eax".
27747
5e1a27a9
L
27748 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27749 __rlim_t cast.
27750 (struct rusage): Use anonymous union to pad each field to
27751 __syscall_slong_t.
27752
46259bec
DM
277532012-05-21 David S. Miller <davem@davemloft.net>
27754
27755 * Makefules (o-iterator): Remove .s cases.
27756 (compile-command.s): Delete.
27757 (COMPILE.s): Delete.
27758 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27759
59f0c22e
JM
277602012-05-21 Joseph Myers <joseph@codesourcery.com>
27761
27762 * configure.in (libc_cv_predef_stack_protector): Only consider
27763 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27764 * configure: Regenerated.
27765
20c07380
L
277662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27767
bbb3154b
L
27768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27769 New macro. Use R*LP on int and pointer.
27770 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27771 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27772 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27773 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27774
20c07380
L
27775 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27776 [__WORDSIZE_TIME64_COMPAT32] instead of
27777 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27778 (struct utmp): Likewise.
27779 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27780 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27781 Renamed to ...
27782 (__WORDSIZE_TIME64_COMPAT32): This.
27783 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27784 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27785 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27786 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27787 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27788 (__WORDSIZE_TIME64_COMPAT32): New macro.
27789
d8d1017e
AJ
277902012-05-21 Andreas Jaeger <aj@suse.de>
27791
27792 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27793 only if [SHARED]. Add prototype for __wcschr_ia32.
27794
6c7fb145
RM
277952012-05-21 Roland McGrath <roland@hack.frob.com>
27796
27797 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27798 of %rbp unmolested in the jmp_buf while mangling the low bits.
27799 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27800 unmolested high bits of %rbp while demangling the low bits.
27801 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27802
66274218
AJ
278032012-05-21 Andreas Jaeger <aj@suse.de>
27804
07c58f8f
AJ
27805 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27806 * sunrpc/svc_simple.c: Use it for registerrpc.
27807 * sunrpc/xcrypt.c: Use it for passwd2des.
27808
66274218
AJ
27809 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27810
61f65140
L
278112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27812
27813 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27814 Don't define if [__SYSCALL_WORDSIZE != 32].
27815 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27816 New macro.
27817
5fefb436
AJ
278182012-05-21 Bruno Haible <bruno@clisp.org>
27819 Andreas Jaeger <aj@suse.de>
27820
27821 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27822 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27823 inptr and inend for must_buffer_ch.
27824 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27825 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27826 * stdio-common/Makefile (tests): Remove bug15.
27827 (bug15-ENV): Remove macro.
27828 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27829 anymore.
27830
d8e272ab
AJ
278312012-05-19 Andreas Jaeger <aj@suse.de>
27832 Roland McGrath <roland@hack.frob.com>
27833
27834 * manual/contrib.texi: Completely rewritten. It contains now an
27835 alphabetical list of contributors and their contributions.
27836
4a56a162
RH
278372012-05-21 Richard Henderson <rth@twiddle.net>
27838
27839 * misc/getauxval.c (__getauxval): Use unsigned long int.
27840 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27841 (getauxval): Use unsigned long int.
27842
d024d23c
L
278432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27844
27845 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27846
cbc00a03
RM
278472012-05-21 Roland McGrath <roland@hack.frob.com>
27848
27849 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27850 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27851 __alignof__ (long double).
27852
478143fa
AZ
278532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27854
27855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27856
c7683a6d
RH
278572012-05-20 Richard Henderson <rth@twiddle.net>
27858
27859 * misc/getauxval.c: New file.
27860 * misc/sys/auxv.h: New file.
27861 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27862 (routines): Add getauxval.
27863 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27864 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27865 * elf/dl-sysdep.c (_dl_auxv): Remove.
27866 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27867 * elf/dl-support.c (_dl_auxv): New variable.
27868 (_dl_aux_init): Initialize it.
27869 * manual/startup.texi (Auxiliary Vector): New node.
27870 * sysdeps/generic/bits/hwcap.h: New file.
27871 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27872 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27873 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27874 * sysdeps/sparc/sysdep.h: ... here. Include it.
27875 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27876 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27878 Update.
c7683a6d
RH
27879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27882 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27887
a6f1845d
AZ
278882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27889
27890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27891
cbcbe830
DM
278922012-05-19 David S. Miller <davem@davemloft.net>
27893
27894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27895
e0b16cc2
JM
278962012-05-19 Joseph Myers <joseph@codesourcery.com>
27897
27898 [BZ #14123]
27899 * math/s_ccosh.c: Include <float.h>
27900 (__ccosh): Avoid internal overflow calculating sinh and cosh
27901 values before multiplying by sin and cos values.
27902 * math/s_ccoshf.c: Likewise.
27903 * math/s_ccoshl.c: Likewise.
27904 * math/s_csin.c: Likewise.
27905 * math/s_csinf.c: Likewise.
27906 * math/s_csinl.c: Likewise.
27907 * math/s_csinh.c: Likewise.
27908 * math/s_csinhf.c: Likewise.
27909 * math/s_csinhl.c: Likewise.
27910 * math/libm-test.inc (ccos_test): Add more tests.
27911 (ccosh_test): Likewise.
27912 (csin_test): Likewise.
27913 (csinh_test): Likewise.
27914 * sysdeps/i386/fpu/libm-test-ulps: Update.
27915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27916
6ad13e08
L
279172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27918
f66f0ce8
L
27919 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27920 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27921
6ad13e08
L
27922 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27923
b1d072a7
JM
279242012-05-19 Joseph Myers <joseph@codesourcery.com>
27925
27926 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27927 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27928 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27929 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27930 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27931 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27932 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27933 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27934 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27935 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27936 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27937 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27938 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27939 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27940 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27941 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27942 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27943 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27944 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27945 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27946 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27947 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27948 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27949 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27950 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27951 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27952 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27953 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27954 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27955 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27956 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27957
9eae47cb
AJ
279582012-05-18 Andreas Jaeger <aj@suse.de>
27959
27960 * csu/.gitignore: Delete.
27961
bb07f69f
L
279622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27963
27964 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27965 (timex): Use __syscall_slong_t.
27966
e6bdb741
AJ
279672012-05-18 Andreas Jaeger <aj@suse.de>
27968 Carlos O'Donell <carlos_odonell@mentor.com>
27969
27970 * manual/install.texi (Configuring and compiling): Update
27971 description about files modified in the source directory.
d6c33fda 27972 * INSTALL: Regenerated.
e6bdb741 27973
1b74487e
L
279742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27975
27976 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27977 value. Use "or" to set return value to -1.
27978 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27979 negate return value.
27980
a88b64b9
TMQMF
279812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27982
27983 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27984 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27985 failure if the compiler has Graphite support disabled.
27986 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27987 Likewise.
27988 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27989 CFLAGS-memmove.c): Likewise.
27990 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27991 Likewise.
27992
3707636e
L
279932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27994
610b8622
L
27995 * sysdeps/x86_64/x32/_itoa.h: New file.
27996
7cd195df
L
27997 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27998 getdents system call only if kernel and user dirents have the
27999 same d_ino and d_off.
28000
94b07d20
L
28001 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28002 LLONG_MAX != LONG_MAX.
28003 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28004 (_fitoa_word): Likewise.
28005
18298070
L
28006 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28007 years.
28008 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28009 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28010 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28011
553c7ea4
L
28012 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28013 include <bits/wordsize.h>. Check __x86_64__ instead of
28014 __WORDSIZE.
28015 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28016 if __x86_64__ is defined. Use anonymous union on fpstate.
28017
3707636e
L
28018 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28019 anonymous union.
28020
b53ef01a
AS
280212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28022
37fb1dc0
AS
28023 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28024 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28025 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28026 Refer to _rtld_local_ro instead of _rtld_global_ro.
28027 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28028 Likewise.
28029 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28030 Likewise.
28031 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28032 Likewise.
28033 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28034 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28035 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28036
b53ef01a
AS
28037 * sysdeps/powerpc/powerpc32/dl-machine.c
28038 (__elf_machine_runtime_setup) [PROF]: Don't reference
28039 _dl_prof_resolve.
28040
7a185db2
AJ
280412012-05-18 Andreas Jaeger <aj@suse.de>
28042
28043 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28044 function only available for GCCs before 3.4 since GCC 3.4
28045 introduced a builtin.
28046 (lrint): Likewise.
28047 (llrintf): Likewise.
28048 (llrint): Likewise.
28049 (fmaxf): Likewise.
28050 (fmax): Likewise.
28051 (fminf): Likewise.
28052 (fmin): Likewise.
28053 (rint): Likewise.
28054 (rintf): Likewise.
28055 (nearbyint): Likewise.
28056 (nearbyintf): Likewise.
28057 (ceil): Likewise.
28058 (ceilf): Likewise.
28059 (floor): Likewise.
28060 (floorf): Likewise.
28061
3e5aef87
L
280622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28063
428bd707
L
28064 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28065 on both fields and cast pointer to __syscall_ulong_t.
28066
3e5aef87
L
28067 * bits/types.h (__fsword_t): New type.
28068 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28069 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28070 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28071 (__FSWORD_T_TYPE): Likewise.
28072 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28073 (__FSWORD_T_TYPE): Likewise.
28074 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28075 (__FSWORD_T_TYPE): Likewise.
28076 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28077 (__FSWORD_T_TYPE): Likewise.
28078 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28079 __SWORD_TYPE with __fsword_t.
28080 (statfs64): Likewise.
28081
1ba7c3dc
DM
280822012-05-17 David S. Miller <davem@davemloft.net>
28083
28084 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28085
59910343
AJ
280862012-05-17 Andreas Jaeger <aj@suse.de>
28087
28088 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28089 warning.
28090
2e4c1e9e
L
280912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28092
28093 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28094
de7f5ce7
AJ
280952012-05-17 Andreas Jaeger <aj@suse.de>
28096
28097 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28098 when it is used.
28099
286abc3d
CM
281002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28101
28102 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28103
477cc68e
L
281042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28105
28106 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28107 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28108
1a0994f5
CD
281092012-05-17 Andreas Jaeger <aj@suse.de>
28110 Carlos O'Donell <carlos_odonell@mentor.com>
28111
28112 [BZ #14059]
28113 * sysdeps/x86_64/multiarch/init-arch.h
28114 (bit_YMM_Usable): Rename to...
28115 (bit_AVX_Usable): ... this.
28116 (bit_FMA4_Usable): New macro.
28117 (bit_XMM_state): New macro.
28118 (bit_YMM_state): New macro.
28119 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28120 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28121 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28122 (CPUID_OSXSAVE): New macro.
28123 (CPUID_AVX): New macro.
28124 (CPUID_FMA4): New macro.
28125 (index_YMM_Usable): Rename to...
28126 (index_AVX_Usable): ... this.
28127 (HAS_AVX): Use HAS_ARCH_FEATURE.
28128 (HAS_FMA4): Likewise.
28129 (HAS_YMM_USABLE): Remove.
28130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28131 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28132 are present.
28133 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28134 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28135 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28136 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28137 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28138
0af797de
CM
281392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28140
28141 * math/libm-test.c: Support platforms without multiple rounding modes.
28142 * math/bug-nextafter.c: Support platforms without FP exceptions.
28143 * math/bug-nexttoward.c: Likewise.
28144 * math/test-fenv.c: Likewise.
28145 * math/test-misc.c: Likewise.
28146 * stdlib/bug-getcontext.c: Likewise.
28147
e39745ff
AJ
281482012-05-17 Andreas Jaeger <aj@suse.de>
28149
28150 * manual/examples/search.c (critter_cmp): Change signature to
28151 avoid warnings.
28152 * manual/string.texi (Collation Functions): Likewise.
28153
48970aba
L
281542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28155
28156 * bits/types.h: Fold copyright years.
28157 * bits/typesizes.h: Likewise.
28158 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28160 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28161 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28162 * time/time.h: Likewise.
28163
bedee953
PP
281642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28165
28166 [BZ #208]
28167 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28168 in instead of returning them. Return void.
28169 (__libc_mallinfo): Accumulate over all arenas.
28170 (__malloc_stats): Adjust for change in int_mallinfo interface.
28171
61653dfb
RM
281722012-05-16 Roland McGrath <roland@hack.frob.com>
28173
30b99d79
RM
28174 [BZ #10375]
28175 * configure.in (NM): Add AC_CHECK_TOOL for it.
28176 (libc_extra_cflags): New substituted variable.
28177 Check for -fstack-protector being used implicitly.
28178 * configure: Regenerated.
28179 * config.make.in (config-extra-cflags): New variable,
28180 gets @libc_extra_cflags@.
28181 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28182
61653dfb
RM
28183 [BZ #10375]
28184 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28185 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28186 * configure: Regenerated.
28187 * config.make.in (CPPUNDEFS): New substituted variable.
28188 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28189 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28190 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28191
661768bb
L
281922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28193
28194 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28195 (mq_attr): Use __syscall_slong_t.
28196
d4261567
L
281972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28198
28199 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28200 Check __x86_64__ instead of __WORDSIZE.
28201 (_STAT_VER_LINUX): Likewise.
28202 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28203 __syscall_ulong_t and __syscall_slong_t.
28204 (stat64): Likewise.
28205
cf3ff365
L
282062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28207
28208 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28209
76cf3e4d
L
282102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28211
28212 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28213
a637753a
L
282142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28215
28216 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28217 __syscall_ulong_t.
28218
d5e05119
L
28219 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28220 include <bits/wordsize.h>. Check __x86_64__ instead of
28221 __WORDSIZE.
28222 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28223 defined.
28224 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28225
f62ee380
L
28226 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28227 include <bits/wordsize.h>. Check __x86_64__ instead of
28228 __WORDSIZE.
28229 (user_regs_struct): Use "__extension__ unsigned long long"
28230 instead of "unsigned long" if __x86_64__ is defined.
28231 (user): Likewise. Pad after pointer field if __ILP32__ is
28232 defined.
28233
4e124ced
JM
282342012-05-16 Joseph Myers <joseph@codesourcery.com>
28235
6a3951a0
JM
28236 * configure.in (makeinfo): Require version 4.5 or later. Allow
28237 versions 5 to 9.
28238 * configure: Regenerated.
28239 * manual/install.texi (texinfo): Increase version requirement to
28240 4.5 or later.
28241 * INSTALL: Regenerated.
28242
4e124ced
JM
28243 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28244
953ca31a
L
282452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28246
28247 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28248
617aca05
L
28249 * sysdeps/x86_64/x32/ffs.c: New file.
28250
5762f7ae
L
28251 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28252 __syscall_ulong_t.
28253 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28254 defined. Use __syscall_ulong_t.
28255 (shminfo): Use __syscall_ulong_t.
28256 (shm_info): Likewise.
28257
a26b6856
L
28258 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28259 __syscall_ulong_t.
28260
cb2b9ef7
L
28261 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28262 <bits/wordsize.h>.
28263 (msgqnum_t): Use __syscall_ulong_t.
28264 (msglen_t): Likewise.
28265 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28266 __syscall_ulong_t.
28267
34683bb0
L
28268 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28269 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28270
84a68786
L
28271 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28272
48baa5f1
L
28273 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28274 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28275
180be88b
L
28276 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28277 __syscall_slong_t.
28278
5e90c8ad
L
28279 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28280 include <bits/wordsize.h>. Check __x86_64__ instead of
28281 __WORDSIZE.
28282
23dfb58b
L
28283 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28284 "unsigned long long int" if __x86_64__ is defined.
28285 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28286
ce5d54b0
L
28287 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28288 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28289 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28290
13dc9eac
L
28291 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28292 <stdint.h>.
28293 (GET_PC): Cast to uintptr_t first.
28294 (GET_FRAME): Likewise.
28295 (GET_STACK): Likewise.
28296
a7895d15
L
28297 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28298 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28299 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28300 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28301 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28302 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28303 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28304 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28305 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28306 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28307 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28308 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28309 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28310 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28311 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28312 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28313 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28314 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28315 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28316 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28317 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28318 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28319 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28320 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28321 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28322 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28323 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28324 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28325 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28326
656416c9
AS
283272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28328
5bd66283
AS
28329 * Makerules (+depfiles): Also collect depfiles from .oS in
28330 $(extra-objs).
28331 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28332 .oS, $(libnldbl-routines)).
28333
656416c9
AS
28334 * Makerules (native-compile-mkdep-flags): Define.
28335 * sunrpc/Makefile (extra-objs): Add $(addprefix
28336 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28337 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28338 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28339 calling $(make-target-directory).
28340
a46f2169
L
283412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28342
28343 * bits/types.h (__snseconds_t): Removed.
28344 * time/time.h (struct timespec): Replace __snseconds_t with
28345 __syscall_slong_t.
28346 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28347 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28348 Likewise.
28349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28350 (__SNSECONDS_T_TYPE): Likewise.
28351 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28352 (__SNSECONDS_T_TYPE): Likewise.
28353 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28354 (__SNSECONDS_T_TYPE): Likewise.
28355
6af6528b
L
283562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28357
28358 * sysdeps/mach/hurd/bits/typesizes.h
28359 (__SYSCALL_SLONG_TYPE): New macro.
28360 (__SYSCALL_ULONG_TYPE): Likewise.
28361
de986b56
L
283622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28363
28364 * bits/types.h (__syscall_slong_t): New type.
28365 (__syscall_ulong_t): Likewise.
28366
28367 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28368 (__SYSCALL_ULONG_TYPE): Likewise.
28369 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28370 (__SYSCALL_SLONG_TYPE): Likewise.
28371 (__SYSCALL_ULONG_TYPE): Likewise.
28372 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28373 (__SYSCALL_SLONG_TYPE): Likewise.
28374 (__SYSCALL_ULONG_TYPE): Likewise.
28375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28376 (__SYSCALL_SLONG_TYPE): Likewise.
28377 (__SYSCALL_ULONG_TYPE): Likewise.
28378
85736dc7
L
283792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28380
28381 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28382 Add sigaltstack-offsets.sym.
28383 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28384 <sigaltstack-offsets.h>.
28385 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28386 longjmp_msg pointer.
28387 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28388 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28389 signal stack.
28390 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28391
cc03b296
JM
283922012-05-15 Joseph Myers <joseph@codesourcery.com>
28393
a9538892
JM
28394 * elf/stackguard-macros.h: Remove file.
28395 * sysdeps/generic/stackguard-macros.h: New file.
28396 * sysdeps/i386/stackguard-macros.h: Likewise.
28397 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28398 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28399 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28400 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28401 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28402 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28403 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28404 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28405 <elf/stackguard-macros.h>.
28406
cc03b296
JM
28407 [BZ #14109]
28408 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28409 __aligned__ in attribute.
28410 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28411 (gregset_t): Likewise.
28412
93171016
L
284132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28414
28415 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28416 * sysdeps/x86_64/64/Implies-after: Here. New file.
28417 * sysdeps/x86_64/x32/Implies-after: New file.
28418
d86813a0
L
284192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28420
28421 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28422 and access return value for _dl_profile_fixup. Use R10_LP to
28423 load frame size.
28424
2953ec75
L
284252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28426
28427 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28428
3b550e9e
L
284292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28430
28431 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28432 * sysdeps/x86_64/x32/sysdep.h: New file.
28433
eda41706
L
284342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28435
28436 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28437 * sysdeps/x86_64/setjmp.S: Likewise.
28438
9ea01d93
AZ
284392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28440
28441 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28442 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28443 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28444 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28445 remove unused global constant.
28446
02a91938
CM
284472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28448
28449 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28450 include of <not-cancel.h>.
28451
6540185f
RM
284522012-05-15 Roland McGrath <roland@hack.frob.com>
28453
28454 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28455
509072a0
AJ
284562012-05-15 Jeff Law <law@redhat.com>
28457 Andreas Jaeger <aj@suse.de>
28458
28459 [BZ #13594]
28460 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28461 out from...
28462 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28463 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28464 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28465 code changing __hst_map_handle.map.
28466
ba75122d
RM
284672012-05-15 Roland McGrath <roland@hack.frob.com>
28468
28469 * configure.in (sysnames): Look for Implies-before and Implies-after
28470 files.
28471 * configure: Regenerated.
28472
890d8bd8
L
284732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28474
28475 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28476 8-byte data alignment with LP_SIZE alignment.
28477
f6ee6623
L
284782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28479
28480 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28481 into R10_LP.
28482
ea2626f6
L
284832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28484
28485 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28486
085f715e
L
284872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28488
28489 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28490 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28491 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28492 Likewise.
28493 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28494
be8498fc
L
284952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28496
28497 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28498 (stackinfo_sub_sp): Likewise.
28499
70bc83b9
L
285002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28501
28502 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28503 RAX_LP.
28504
9bc0b730
L
285052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28506
28507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28508 into R*_LP.
28509
6d2850e7
L
285102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28511
28512 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28513 sizes into R*_LP.
28514
3cb84561
L
285152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28516
28517 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28518
54e2ed81
L
285192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28520
28521 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28522 into R11_LP and load __x86_64_shared_cache_size_half into
28523 R8_LP.
28524
8a17f349
L
285252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28526
28527 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28528 R8_LP.
28529
777b1eea
AZ
285302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28531
28532 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28533 logb for POWER7.
28534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28535 logbf for POWER7.
28536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28537 logbl for POWER7.
28538 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28539 powerpc32/power7/fpu/s_logb.c via #include.
28540 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28541 powerpc32/power7/fpu/s_logbf.c via #include.
28542 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28543 powerpc32/power7/fpu/s_logbl.c via #include.
28544
d20d4ac2
JM
285452012-05-15 Joseph Myers <joseph@codesourcery.com>
28546
28547 * README.libm: Remove file.
28548
6cdef1ab
L
285492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28550
28551 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28552 count for x32. Use R*_LP and omit operand-size suffix.
28553
0b254d8f
L
285542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28555
28556 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28557 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28558 * sysdeps/x86_64/x32/shlib-versions: New file.
28559
ceb809dc
RM
285602012-05-14 Roland McGrath <roland@hack.frob.com>
28561
28562 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28563 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28564 Use _dl_fatal_printf instead.
28565
37f1abd4
JM
285662012-05-14 Joseph Myers <joseph@codesourcery.com>
28567
28568 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28569 set if not set by the user. Do not allow for being unset.
28570 * sysdeps/unix/sysv/linux/configure: Regenerated.
28571
11de3a33
L
285722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28573
28574 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28575 the `q' suffix from lea and replace .quad with ASM_ADDR.
28576
e02f153a
L
285772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28578
28579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28580 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28581 instead of $17.
28582 (PTR_DEMANGLE): Likewise.
28583
520ae0fd
L
285842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28585
28586 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28587 (LP_OP): Likewise.
28588 (ASM_ADDR): Likewise.
28589 (RAX_LP): Likewise.
28590 (RBP_LP): Likewise.
28591 (RBX_LP): Likewise.
28592 (RCX_LP): Likewise.
28593 (RDI_LP): Likewise.
28594 (RSI_LP): Likewise.
28595 (RSP_LP): Likewise.
28596 (R8_LP): Likewise.
28597 (R9_LP): Likewise.
28598 (R10_LP): Likewise.
28599 (R10_LP): Likewise.
28600 (R11_LP): Likewise.
28601 (R12_LP): Likewise.
28602 (R13_LP): Likewise.
28603 (R14_LP): Likewise.
28604 (R15_LP): Likewise.
28605
b985be81
L
286062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28607
28608 * sysdeps/x86_64/x32/dl-machine.h: New file.
28609
6a4888ff
AJ
286102012-05-14 Andreas Jaeger <aj@suse.de>
28611
28612 * manual/Makefile (subdir): Remove export of subdir.
28613 (all): Remove target.
28614 (.PHONY): Remove all from list.
28615 (mkinstalldirs): Remove.
28616 (.PHONY): Remove installdirs from list.
28617 ($(inst_infodir)/libc.info): Use make-target-directory.
28618 (installdirs): Remove.
28619 (subdir_%): Remove.
28620 (glibc-targets): Remove.
28621 (lib): Remove.
28622 (stubs): Remove.
28623 ($(objpfx)stubs ../po/manual.pot): Remove.
28624 ($(objpfx)stamp%): Remove.
28625 (make-target-directory): Remove.
28626 (subdir_install): Remove.
28627 (routines): Remove.
28628 (aux): Remove.
28629 (sources): Remove.
28630 (objects): Remove.
28631 (headers): Remove.
28632
28633 [BZ #13750]
28634 * manual/.gitignore: Remove, it's not needed anymore.
28635 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28636 all files in it.
28637 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28638 directory.
28639 (texis): Renamed to $(objpfx)texis.
28640 (texis-path): New, contains path to generated files.
28641 (chapters.%): Use texis-path for complete path, add extra argument
28642 libc-texinfo.sh.
28643 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28644 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28645 (summary,texi, stamp-summary): Use complete path of
28646 files. Generate files in build dir.
28647 (dir-add.texi): Build in build dir.
28648 (libm-err.texi,stamp-libm-err): Likewise.
28649 (version.texi, stamp-version): Likewise.
28650 (.%c.texi): Likewise.
28651 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28652 (mostlyclean): Remove target.
28653 (realclean): Remove target.
28654 (generated): Add new variable with contents from mostlyclean and
28655 realclean, remove entries duplicated in common-mostlyclean, add
28656 stamp-libm-err and stamp-version.
28657 (generated-dirs): Add libc directory.
28658 ($(inst_infodir)/libc.info): Install files from build dir.
28659
28660 * manual/install.texi (Configuring and compiling): Adjust since
28661 the info files are not part of the tar ball anymore.
28662
7ac77294
AJ
286632012-05-14 Andreas Jaeger <aj@suse.de>
28664
28665 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28666 variable.
28667
ffb7875d
JM
286682012-05-14 Joseph Myers <joseph@codesourcery.com>
28669
28670 [BZ #13717]
28671 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28672 to 2.2.0 where earlier.
28673 * sysdeps/unix/sysv/linux/configure: Regenerated.
28674 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28675 Remove conditional code.
28676 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28677 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28678 Remove conditional code.
28679 [!__NR_lchown]: Likewise.
28680 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28681 [__NR_lchown]: Likewise.
28682 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28683 comment referencing __ASSUME_LCHOWN_SYSCALL.
28684 * sysdeps/unix/sysv/linux/i386/sigaction.c
28685 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28686 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28687 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28688 Remove conditional code.
28689 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28690 (__protocol_available): Remove #if 0 code.
28691 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28692 conditional code.
28693 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28694 * sysdeps/unix/sysv/linux/kernel-features.h
28695 (__ASSUME_GETCWD_SYSCALL): Don't define.
28696 (__ASSUME_REALTIME_SIGNALS): Likewise.
28697 (__ASSUME_PREAD_SYSCALL): Likewise.
28698 (__ASSUME_PWRITE_SYSCALL): Likewise.
28699 (__ASSUME_POLL_SYSCALL): Likewise.
28700 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28701 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28702 non-SPARC.
28703 (__ASSUME_SIOCGIFNAME): Don't define.
28704 (__ASSUME_MSG_NOSIGNAL): Likewise.
28705 (__ASSUME_SENDFILE): Define unconditionally.
28706 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28707 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28708 conditional code.
28709 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28710 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28711 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28712 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28713 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28714 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28715 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28717 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28720 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28721 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28723 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28724 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28726 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28727 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28729 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28730 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28732 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28733 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28735 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28736 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28738 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28739 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28740 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28741 Remove conditional code.
28742 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28743 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28744 Remove conditional code.
28745 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28746 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28747 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28748 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28749 Remove conditional code.
28750 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28751 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28752 Remove conditional code.
28753 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28754 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28755 Remove conditional code.
28756 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28757 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28758 Remove conditional code.
28759 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28760 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28761 Remove conditional code.
28762 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28763 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28764 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28765 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28766 * sysdeps/unix/sysv/linux/sigaction.c
28767 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28768 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28769 * sysdeps/unix/sysv/linux/sigpending.c
28770 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28771 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28772 * sysdeps/unix/sysv/linux/sigprocmask.c
28773 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28774 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28775 * sysdeps/unix/sysv/linux/sigsuspend.c
28776 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28777 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28778 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28779 (__libc_missing_rt_sigs): Remove.
28780 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28781 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28782 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28783 Remove conditional code.
28784 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28785 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28786 return 1.
28787 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28788 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28789 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28790 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28791
1bfb7291
AJ
287922012-05-14 Andreas Jaeger <aj@suse.de>
28793
caae5a81
AJ
28794 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28795 it's not used in glibc.
28796 (__coshm1): Likewise.
28797 (__acosh1p): Likewise.
28798 (__sgn): Likewise.
28799
1bfb7291
AJ
28800 * manual/string.texi (Copying and Concatenation): Add missing
28801 variable in concat example.
28802 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28803
c044d724
L
288042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28805
144c5467 28806 [BZ #14103]
c044d724
L
28807 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28808 __builtin_clzl with __builtin_clzll.
28809
2523c62b
L
288102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28811
28812 [BZ #14104]
28813 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28814 libc_freeres_ptr.
28815
d7bb4c42
LD
288162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28817
28818 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28819 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28820 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28821 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28822
9dc4e1fb
MF
288232012-05-14 Mike Frysinger <vapier@gentoo.org>
28824
28825 * NEWS: Update ia64 info.
28826
c7df0112
AS
288272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28828
28829 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28830 used as bcopy.
28831
dc70356c
TS
288322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28833
28834 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28835 * sysdeps/unix/syscalls.list (dup3): Likewise.
28836 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28837 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28838
9fb1a21f
L
288392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28840
28841 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28842 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28843
4822a2a5
L
288442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28845
28846 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28847 thread pointer.
28848 (TLS_IE): Use mov/add instead of movq/addq to load thread
28849 pointer.
28850 (TLS_GD_PREFIX): New.
28851 (TLS_GD): Use it.
28852
842b81d6
DM
288532012-05-11 David S. Miller <davem@davemloft.net>
28854
28855 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28856 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28857 (_FPU_SETCW): Likewise.
28858
1cf463cd
L
288592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28860
28861 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28862 is 32-byte aligned.
28863
60cc4a18
AS
288642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28865
28866 [BZ #11837]
28867 * iconvdata/gb18030.c: Update tables.
28868 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28869 characters specially.
28870 (BODY for TO_LOOP): Add encoding of missing ranges.
28871
febb44a4
TS
288722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28873
28874 [BZ #13673]
28875 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28876 * sysdeps/mach/hurd/dup3.c: Likewise.
28877 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28878 * sysdeps/powerpc/memmove.c:: Likewise.
28879
0a10fb9e
L
288802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28881
28882 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28883 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28884
df8a552f
L
288852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28886
28887 * elf/elf.h (R_X86_64_RELATIVE64): New.
28888 (R_X86_64_NUM): Updated.
28889 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28890 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28891 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28892 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28893 tst-quad1pie tst-quad2pie
28894 (modules-names): Add tst-quadmod1 tst-quadmod2.
28895 ($(objpfx)tst-quad1): New dependency.
28896 ($(objpfx)tst-quad2): Likewise.
28897 ($(objpfx)tst-quad1pie): Likewise.
28898 ($(objpfx)tst-quad2pie): Likewise.
28899 * sysdeps/x86_64/tst-quad1.c: New file.
28900 * sysdeps/x86_64/tst-quad1pie.c: New file.
28901 * sysdeps/x86_64/tst-quad2.c: Likewise.
28902 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28903 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28904 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28905 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28906 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28907
f34d6f84
ST
289082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28909
f42d41d1
ST
28910 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28911 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28912 * streams/stropts.h (t_scalar_t): Define type.
28913
3c3571fc
ST
28914 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28915 (_PATH_PRESERVE): Set to "/var/lib".
28916 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28917
61f06bd3
ST
28918 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28919 instead of int.
28920
918d4d71
ST
28921 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28922 if __dir_mkfile succeeded.
28923
f34d6f84
ST
28924 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28925 checking for _hurd_dtablesize. Unlock it right after having
28926 finished _hurd_dtable allocation.
28927
10589b4a
TS
289282012-05-10 Thomas Schwinge <thomas@schwinge.name>
28929
674cdbc7
TS
28930 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28931 * sysdeps/mach/hurd/configure: Regenerated.
28932 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28933 special-casing to...
28934 * sysdeps/gnu/configure.in: ... this new file.
28935 * sysdeps/unix/sysv/linux/configure: Regenerated.
28936 * sysdeps/gnu/configure: New generated file.
28937
8e41b99f
TS
28938 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28939 for Linux: use nsec instead of usec, as well as:
28940 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28941 members of type struct timespec.
28942 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28943 New macros.
28944 (struct stat64): Likewise.
28945 (_STATBUF_ST_NSEC): New macro.
28946 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28947
10589b4a
TS
28948 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28949 __strtoul_internal rather than strtoul.
28950
63643c85
PT
289512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28952
28953 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28954 and reject them.
28955
3faebe6a
ST
289562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28957
28958 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28959 which preserves existing values.
28960 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28961
c6474b07
PT
289622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28963
28964 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28965 TIMEOUT values. Return EINVAL for NFDS values either negative or
28966 greater than FD_SETSIZE.
28967
1043890b
ST
289682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28969
28970 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28971 allocated, call __vm_protect to finish enabling the existing space, and
28972 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28973 allocate the remainder.
28974
37ed8b9b
PT
289752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28976
28977 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28978 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28979
db653660
ST
289802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28981
37ed8b9b
PT
28982 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28983 sysdeps/mach/hurd/readlink.c.
b29d4053 28984
db653660
ST
28985 * posix/tst-sysconf.c (posix_options): Only use
28986 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28987 _POSIX_SYNCHRONIZED_IO when they are defined
28988 * sysdeps/mach/hurd/bits/posix_opt.h:
28989 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28990 (_XOPEN_REALTIME): Undefine macro.
28991 (_XOPEN_REALTIME_THREADS): Undefine macro.
28992 (_XOPEN_SHM): Undefine macro.
28993 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28994 macro to -1.
28995 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28996 macro to -1.
28997 (_POSIX_ASYNC_IO): Undefine macro.
28998 (_POSIX_PRIORITIZED_IO): Undefine macro.
28999 (_POSIX_SPIN_LOCKS): Define macro to -1.
29000
ee16e894
ST
29001 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29002 SA_NODEFER, SA_RESETHAND.
29003 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29004 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29005 F_DUPFD_CLOEXEC.
29006
6103ae3b
TS
290072012-05-10 Thomas Schwinge <thomas@schwinge.name>
29008
29009 * elf/Makefile (pldd-modules): Define unconditionally.
29010
80b4e5f3
TS
290112012-05-10 Thomas Schwinge <thomas@schwinge.name>
29012
29013 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29014
edadcbd6
ST
290152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29016
29017 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29018 Return ENOENT when name is empty.
29019 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29020
80694780
TS
290212012-05-10 Thomas Schwinge <thomas@schwinge.name>
29022
1792c087
TS
29023 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29024
80694780
TS
29025 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29026
6b645f0d
ST
290272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29028
80694780
TS
29029 Fix mlock in all cases except non-readable pages.
29030 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29031 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29032
6b645f0d
ST
29033 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29034 (__mkdir): When path is `/', just fail with EEXIST.
29035 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29036
e468f8a3
TS
290372012-05-10 Thomas Schwinge <thomas@schwinge.name>
29038
29039 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29040 <sys/uio.h> (for writev).
29041 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29042 and <sys/param.h> (for MIN).
29043
a4186cff
PT
290442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29045
29046 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29047 REQUESTED_TIME. Properly set the remaining time and return EINTR
29048 if interrupted.
29049
510bbf14
TS
290502012-05-10 Thomas Schwinge <thomas@schwinge.name>
29051
29052 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29053 Depend on against $(link-rpcuserlibs).
29054
5d5722e8
ST
290552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29056
a4186cff
PT
29057 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29058 (__libc_stack_end): Do not use attribute_relro.
29059 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29060 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29061 to libthread-provided value.
a4186cff
PT
29062 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29063 attribute_relro.
5d5722e8 29064
37233df9
TS
290652012-05-10 Thomas Schwinge <thomas@schwinge.name>
29066
be971a2b
TS
29067 [BZ #3748]
29068 * bits/libc-lock.h (__libc_once_get): New macro.
29069 * sysdeps/mach/bits/libc-lock.h: Likewise.
29070 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29071 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29072 instead of using implementation details.
29073
37233df9
TS
29074 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29075 * libio/freopen.c: Likewise.
29076 * libio/freopen64.c: Likewise.
29077 * misc/syslog.c: Likewise.
29078 * nscd/connections.c: Likewise.
29079 * nscd/netgroupcache.c: Likewise.
29080 * sysdeps/posix/getcwd.c: Likewise.
29081
38de94a5
RM
290822012-05-10 Roland McGrath <roland@hack.frob.com>
29083
29084 * math/w_ilogbf.c: Add #include <limits.h>.
29085
67530489
ST
290862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29087
a4186cff 29088 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29089 path instead of returning without unlocking.
29090
67530489
ST
29091 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29092 immediate-write ioctls.
29093 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29094
5aa3a74a
TS
290952012-05-10 Thomas Schwinge <thomas@schwinge.name>
29096
18bad2ae
TS
29097 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29098 __builtin_frame_address instead of making assumptions about the
29099 location of the return address relative to DATA. Force early load of
29100 the return address.
29101 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29102 __builtin_frame_address.
29103
5aa3a74a
TS
29104 dup3 for GNU Hurd.
29105 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29106 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29107 implement dup3 and do some further code clean-ups.
29108 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29109 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29110
ecd0de9a
ST
291112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29112
cd9fa985
ST
29113 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29114
a4186cff
PT
29115 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29116 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29117 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29118 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29119 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29120 d->port.lock.
802ca5a5 29121
a4186cff
PT
29122 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29123 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29124 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29125
bcf55240
TS
291262012-05-10 Thomas Schwinge <thomas@schwinge.name>
29127
6960eb42
TS
29128 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29129 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29130 definitions.
29131
eb43375f
TS
29132 accept4 for GNU Hurd.
29133 * include/sys/socket.h (__libc_accept4): New prototype.
29134 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29135 to implement __libc_accept4.
29136 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29137 __libc_accept4.
29138 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29139
bcf55240
TS
29140 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29141 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29142 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29143 signal-defines.sym.
29144
6178c55b
ST
291452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29146
a4186cff 29147 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29148
6f080c2f
TS
291492012-05-10 Thomas Schwinge <thomas@schwinge.name>
29150
29151 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29152 assertion on O_CLOEXEC flag.
29153 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29154 * hurd/intern-fd.c: Likewise.
29155 * hurd/port2fd.c: Likewise.
29156
bcfe3a54
ST
291572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29158
29159 [BZ #3906]
29160 * bits/in.h (IPV6_PKTINFO): Define new macro.
29161 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29162
89c9aa49
AZ
291632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29164
29165 [BZ #13954]
29166 [BZ #13955]
29167 [BZ #13956]
29168 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29169 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29170 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29171 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29172 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29173 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29174 * math/libm-test.inc (logb_test) : Additional logb tests.
29175
021db4be
AJ
291762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29177 Andreas Jaeger <aj@suse.de>
29178
29179 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29180 * configure: Regenerated.
29181 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29182 * config.make.in (link-obsolete-rpc): New substituted variable.
29183 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29184 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29185 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29186 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29187 so that libc.a contains the symbols.
29188 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29189 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29190 * sunrpc/auth_none.c: Likewise.
29191 * sunrpc/auth_unix.c: Likewise.
29192 * sunrpc/authdes_prot.c: Likewise.
29193 * sunrpc/authuxprot.c: Likewise.
29194 * sunrpc/clnt_gen.c: Likewise.
29195 * sunrpc/clnt_perr.c: Likewise.
29196 * sunrpc/clnt_raw.c: Likewise.
29197 * sunrpc/clnt_simp.c: Likewise.
29198 * sunrpc/clnt_tcp.c: Likewise.
29199 * sunrpc/clnt_udp.c: Likewise.
29200 * sunrpc/clnt_unix.c: Likewise.
29201 * sunrpc/des_crypt.c: Likewise.
29202 * sunrpc/des_soft.c: Likewise.
29203 * sunrpc/get_myaddr.c: Likewise.
29204 * sunrpc/key_call.c: Likewise.
29205 * sunrpc/key_prot.c: Likewise.
29206 * sunrpc/netname.c: Likewise.
29207 * sunrpc/pm_getmaps.c: Likewise.
29208 * sunrpc/pm_getport.c: Likewise.
29209 * sunrpc/pmap_clnt.c: Likewise.
29210 * sunrpc/pmap_prot.c: Likewise.
29211 * sunrpc/pmap_prot2.c: Likewise.
29212 * sunrpc/pmap_rmt.c: Likewise.
29213 * sunrpc/publickey.c: Likewise.
29214 * sunrpc/rpc_cmsg.c: Likewise.
29215 * sunrpc/rpc_common.c: Likewise.
29216 * sunrpc/rpc_dtable.c: Likewise.
29217 * sunrpc/rpc_prot.c: Likewise.
29218 * sunrpc/rpc_thread.c: Likewise.
29219 * sunrpc/rtime.c: Likewise.
29220 * sunrpc/svc.c: Likewise.
29221 * sunrpc/svc_auth.c: Likewise.
29222 * sunrpc/svc_raw.c: Likewise.
29223 * sunrpc/svc_run.c: Likewise.
29224 * sunrpc/svc_tcp.c: Likewise.
29225 * sunrpc/svc_udp.c: Likewise.
29226 * sunrpc/svc_unix.c: Likewise.
29227 * sunrpc/svcauth_des.c: Likewise.
29228 * sunrpc/xcrypt.c: Likewise.
29229 * sunrpc/xdr.c: Likewise.
29230 * sunrpc/xdr_array.c: Likewise.
29231 * sunrpc/xdr_float.c: Likewise.
29232 * sunrpc/xdr_intXX_t.c: Likewise.
29233 * sunrpc/xdr_mem.c: Likewise.
29234 * sunrpc/xdr_rec.c: Likewise.
29235 * sunrpc/xdr_ref.c: Likewise.
29236 * sunrpc/xdr_sizeof.c: Likewise.
29237 * sunrpc/xdr_stdio.c: Likewise.
29238
b5c086a2
RM
292392012-05-10 Roland McGrath <roland@hack.frob.com>
29240
29241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29242 change. Update copyright years.
29243
6d74dd09
JM
292442012-05-10 Joseph Myers <joseph@codesourcery.com>
29245
29246 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29247
28e72501
MK
292482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29249 Joseph Myers <joseph@codesourcery.com>
29250 Paul Pluzhnikov <ppluzhnikov@google.com>
29251
29252 [BZ #14012]
29253 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29254 requiring rpcgen.
29255 [cross-compiling] (extra-libs): Likewise.
29256 [cross-compiling] (extra-libs-others): Likewise.
29257 [cross-compiling] (librpcsvc-routines): Likewise.
29258 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29259 [cross-compiling] (omit-deps): Likewise.
29260 (sunrpc-CPPFLAGS): New variable.
29261 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29262 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29263 (cross-rpcgen-objs): New variable.
29264 (extra-objs): Append $(cross-rpcgen-objs).
29265 ($(cross-rpcgen-objs)): New rule.
29266 ($(objpfx)cross-rpcgen): Likewise.
29267 (rpcgen-cmd): Define to use $(built-program-file). Expand
29268 comment.
29269 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29270 ($(objpfx)x%.stmp): Likewise.
29271 * sunrpc/proto.h [IS_IN_build] (_): Define.
29272 [IS_IN_build] (_libc_intl_domainname): Likewise.
29273
c8c59454
L
292742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29275
29276 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29277 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29278 and R_X86_64_TPOFF64.
29279
6f27cd16
JM
292802012-05-10 Joseph Myers <joseph@codesourcery.com>
29281
29282 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29283 sysdeps/unix/sysv/syscalls.list.
29284 (stime): Likewise.
29285 (utime): Likewise.
29286 * sysdeps/unix/sysv/syscalls.list: Remove file.
29287
02467e1c
PE
292882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29289
29290 [BZ #3440]
29291 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29292 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29293 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29294 (__LC_IDENTIFICATION): Make these macros useful in #if
29295 expressions, as required by C99.
29296
da392631
AS
292972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29298
29299 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29300 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29301 after this.
29302
8115f29b
L
293032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29304
29305 * stdlib/longlong.h: Updated from GCC.
29306
bdd74070
AJ
293072012-05-09 Andreas Jaeger <aj@suse.de>
29308
edfe0dbe
AJ
29309 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29310 default is first entry.
29311 (run_mode): Set type.
29312 (main): Remove informal message about syslog.
29313 (options): Fix typo.
29314
bcfe3a54
ST
29315 [BZ #14053]
29316 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29317 to asm.
bcfe3a54
ST
29318 (lrint): Likewise.
29319 (llrintf): Likewise.
29320 (llrint): Likewise.
29321 (rint): Likewise.
29322 (rintf): Likewise.
29323 (nearbyint): Likewise.
29324 (nearbyintf): Likewise.
bdd74070 29325
91d8d69e
AJ
293262012-05-09 Andreas Jaeger <aj@suse.de>
29327 Pedro Alves <palves@redhat.com>
29328
29329 * nscd/nscd.c (run_mode): Use enum.
29330 (main): Cleanup coding style issue.
29331
bb90b80b
AJ
293322012-05-09 Alexandre Oliva <aoliva@redhat.com>
29333 Andreas Jaeger <aj@suse.de>
29334
bcfe3a54
ST
29335 * nscd/nscd.c (go_background): Replaced with...
29336 (run_mode): ... this.
bb90b80b 29337 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29338 (options): Add -F --foreground.
29339 (main): Implement it.
29340 (parse_opt): Parse it.
bb90b80b 29341
1a4b75a1
AJ
293422012-05-09 Andreas Jaeger <aj@suse.de>
29343
29344 [BZ #14083]
29345 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29346 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29347 -Wconversion warning.
29348 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29349 Likewise.
29350
b1cc2472
JM
293512012-05-09 Joseph Myers <joseph@codesourcery.com>
29352
29353 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29354 == 0.
29355 (LC_ALL): Use macro-int-constant.
29356 (LC_COLLATE): Likewise.
29357 (LC_CTYPE): Likewise.
29358 (LC_MESSAGES): Likewise.
29359 (LC_MONETARY): Likewise.
29360 (LC_NUMERIC): Likewise.
29361 (LC_TIME): Likewise.
29362 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29363 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29364 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29365 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29366 Specify type.
29367 [C99-based standards] (float_t): Expect type.
29368 [C99-based standards] (double_t): Expect type.
29369 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29370 type.
29371 [C99-based standards] (HUGE_VALL): Likewise.
29372 [C99-based standards] (INFINITY): Likewise.
29373 [C99-based standards] (NAN): Likewise.
29374 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29375 [C99-based standards] (FP_NAN): Likewise.
29376 [C99-based standards] (FP_NORMAL): Likewise.
29377 [C99-based standards] (FP_SUBNORMAL): Likewise.
29378 [C99-based standards] (FP_ZERO): Likewise.
29379 [C99-based standards] (FP_FAST_FMA): Use
29380 optional-macro-int-constant. Specify type. Require == 1.
29381 [C99-based standards] (FP_FAST_FMAF): Likewise.
29382 [C99-based standards] (FP_FAST_FMAL): Likewise.
29383 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29384 [C99-based standards] (FP_ILOGBNAN): Likewise.
29385 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29386 Specify type.
29387 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29388 [C99-based standards] (math_errhandling): Specify type.
29389 [ISO99 || ISO11] (signgam): Do not allow.
29390 [non-C99-based standards] (copysignf): Do not allow.
29391 [non-C99-based standards] (exp2f): Likewise.
29392 [non-C99-based standards] (log2f): Likewise.
29393 [non-C99-based standards] (modff): Allow.
29394 [non-C99-based standards] (erff): Do not allow.
29395 [non-C99-based standards] (erfcf): Likewise.
29396 [non-C99-based standards] (gammaf): Likewise.
29397 [non-C99-based standards] (hypotf): Likewise.
29398 [non-C99-based standards] (j0f): Likewise.
29399 [non-C99-based standards] (j1f): Likewise.
29400 [non-C99-based standards] (jnf): Likewise.
29401 [non-C99-based standards] (lgammaf): Likewise.
29402 [non-C99-based standards] (tgammaf): Likewise.
29403 [non-C99-based standards] (y0f): Likewise.
29404 [non-C99-based standards] (y1f): Likewise.
29405 [non-C99-based standards] (ynf): Likewise.
29406 [non-C99-based standards] (isnanf): Likewise.
29407 [non-C99-based standards] (acoshf): Likewise.
29408 [non-C99-based standards] (asinhf): Likewise.
29409 [non-C99-based standards] (atanhf): Likewise.
29410 [non-C99-based standards] (cbrtf): Likewise.
29411 [non-C99-based standards] (expm1f): Likewise.
29412 [non-C99-based standards] (ilogbf): Likewise.
29413 [non-C99-based standards] (log1pf): Likewise.
29414 [non-C99-based standards] (logbf): Likewise.
29415 [non-C99-based standards] (nextafterf): Likewise.
29416 [non-C99-based standards] (remainderf): Likewise.
29417 [non-C99-based standards] (rintf): Likewise.
29418 [non-C99-based standards] (scalbf): Likewise.
29419 [non-C99-based standards] (copysignl): Likewise.
29420 [non-C99-based standards] (exp2l): Likewise.
29421 [non-C99-based standards] (log2l): Likewise.
29422 [non-C99-based standards] (modfl): Allow.
29423 [non-C99-based standards] (erfl): Do not allow.
29424 [non-C99-based standards] (erfcl): Likewise.
29425 [non-C99-based standards] (gammal): Likewise.
29426 [non-C99-based standards] (hypotl): Likewise.
29427 [non-C99-based standards] (j0l): Likewise.
29428 [non-C99-based standards] (j1l): Likewise.
29429 [non-C99-based standards] (jnl): Likewise.
29430 [non-C99-based standards] (lgammal): Likewise.
29431 [non-C99-based standards] (tgammal): Likewise.
29432 [non-C99-based standards] (y0l): Likewise.
29433 [non-C99-based standards] (y1l): Likewise.
29434 [non-C99-based standards] (ynl): Likewise.
29435 [non-C99-based standards] (isnanl): Likewise.
29436 [non-C99-based standards] (acoshl): Likewise.
29437 [non-C99-based standards] (asinhl): Likewise.
29438 [non-C99-based standards] (atanhl): Likewise.
29439 [non-C99-based standards] (cbrtl): Likewise.
29440 [non-C99-based standards] (expm1l): Likewise.
29441 [non-C99-based standards] (ilogbl): Likewise.
29442 [non-C99-based standards] (log1pl): Likewise.
29443 [non-C99-based standards] (logbl): Likewise.
29444 [non-C99-based standards] (nextafterl): Likewise.
29445 [non-C99-based standards] (remainderl): Likewise.
29446 [non-C99-based standards] (rintl): Likewise.
29447 [non-C99-based standards] (scalbl): Likewise.
29448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29449 [non-C99-based standards] (FP_*): Do not allow.
29450 [C99-based standards] (FP_*): Change to
29451 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29452 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29453 allow.
29454 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29455 (SIG_ERR): Likewise.
29456 [X/Open-based standards] (SIG_HOLD): Likewise.
29457 (SIG_IGN): Likewise.
29458 (SIGABRT): Use macro-int-constant. Specify type. Require
29459 positive value.
29460 (SIGFPE): Likewise.
29461 (SIGILL): Likewise.
29462 (SIGINT): Likewise.
29463 (SIGSEGV): Likewise.
29464 (SIGTER): Likewise.
29465 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29466 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29467 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29468 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29469 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29470 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29471 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29472 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29473 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29474 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29475 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29476 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29477 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29478 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29479 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29480 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29481 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29482 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29483 [X/Open-based standards] (SIGTRAP): Likewise.
29484 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29485 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29486 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29487 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29488 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29489 allow.
29490
b9f1922d
IW
294912012-05-08 Ian Wienand <ianw@vmware.com>
29492
29493 [BZ #14080]
29494 * time/tzset.c (__tzset_parse_tz): Update default rules for
29495 daylight time changes in the Energy Policy Act of 2005.
29496
1db86e88
AJ
294972012-05-09 Andreas Jaeger <aj@suse.de>
29498
29499 [BZ #13983]
29500 * elf/ldconfig.c (parse_conf): Change string to make clear that
29501 ldconfig only issued a warning if ld.so.conf does not exist.
29502
dee4a4e3
DM
295032012-05-08 David S. Miller <davem@davemloft.net>
29504
ee0db190
DM
29505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29506 movxtod instead of popping the value on the stack.
29507
dee4a4e3
DM
29508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29509
6a43ec98
CD
295102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29511
29512 * config.h.in: Add HAVE_ARM_PCS_VFP.
29513
05c2c961
RMG
295142012-05-08 Roland Mc Grath <roland@hack.frob.com>
29515
bcfe3a54
ST
29516 [BZ #13979]
29517 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29518 checking but the checks are disabled for any reason.
05c2c961 29519
4b30f61a
L
295202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29521
29522 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29523 and ELF64_R_TYPE with ELFW(R_TYPE).
29524
eee2bc67
JM
295252012-05-08 Joseph Myers <joseph@codesourcery.com>
29526
7ea5391a
JM
29527 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29528 (ulimit): Likewise.
29529
eee2bc67
JM
29530 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29531 (settimeofday): Likewise.
29532
abb66a67
MF
295332012-05-08 Mike Frysinger <vapier@gentoo.org>
29534
29535 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29536 a struct th_u2 inside the union, and move tu_block/tu_code into
29537 a new th_u3 union of tu_block/tu_code inside of that. Move
29538 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29539 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29540 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29541 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29542 (th_stuff): Change to th_u1.tu_stuff.
29543 (th_data): Define.
29544 (th_msg): Change to th_u1.th_u2.tu_data.
29545
7f18b530
DM
295462012-05-07 David S. Miller <davem@davemloft.net>
29547
05760585
DM
29548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29549
7f18b530
DM
29550 [BZ #14074]
29551 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29552 (SETUP_PIC_REG): Use it.
29553 (SETUP_PIC_REG_LEAF): Use it.
29554
495fd99f
JM
295552012-05-07 Joseph Myers <joseph@codesourcery.com>
29556
29557 [BZ #13885]
29558 [BZ #13923]
29559 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29560 USE_AS_EXPM1L.
29561 (EXPL_FINITE): Likewise.
29562 (FLDLOG): Likewise.
29563 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29564 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29565 e_expl.S.
29566 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29567 USE_AS_EXPM1L.
29568 (EXPL_FINITE): Likewise.
29569 (FLDLOG): Likewise.
29570 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29571 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29572 e_expl.S.
29573 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29574 test of -max_value argument for long double.
29575 * sysdeps/i386/fpu/libm-test-ulps: Update.
29576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29577
6693d694
DM
295782012-05-06 David S. Miller <davem@davemloft.net>
29579
29580 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29581 quad soft-float symbols whose references which are compiler
29582 generated.
29583 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29584
6c23e11c
JM
295852012-05-06 Joseph Myers <joseph@codesourcery.com>
29586
d8b82cad
JM
29587 [BZ #13884]
29588 [BZ #13914]
29589 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29590 USE_AS_EXP10L.
29591 (EXPL_FINITE): Likewise.
29592 (FLDLOG): Likewise.
29593 (c0): Likewise.
29594 (c1): Likewise.
29595 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29596 Adjust comments for base varying.
29597 (__expl_finite): Change alias to EXPL_FINITE.
29598 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29599 e_expl.S.
29600 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29601 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29602 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29603 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29604 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29605 USE_AS_EXP10L.
29606 (EXPL_FINITE): Likewise.
29607 (FLDLOG): Likewise.
29608 (c0): Likewise.
29609 (c1): Likewise.
29610 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29611 Adjust comments for base varying.
29612 (__expl_finite): Change alias to EXPL_FINITE.
29613 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29614 tests for bugs.
29615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29616
6c23e11c
JM
29617 [BZ #14064]
29618 * math/libm-test.inc (check_float_internal): Correct ulp
29619 calculation for subnormal expected results.
29620
29ba805c
AJ
296212012-05-06 Andreas Jaeger <aj@suse.de>
29622
29623 * Makeconfig (+math-flags): New, set to -frounding-math.
29624 (+cflags): Add +math-flags so that all of glibc gets compiled with
29625 it.
29626
29627 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29628
7b17aeda
JM
296292012-05-05 Joseph Myers <joseph@codesourcery.com>
29630
5779f134
JM
29631 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29632 Disable one test.
29633
41498f4d
JM
29634 [BZ #13787]
29635 [BZ #13922]
29636 [BZ #14036]
29637 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29638 (__ieee754_expl): Allow for and saturate large arguments.
29639 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29640 (u_threshold): Likewise.
29641 (__exp): Call __ieee754_exp before checking for overflow and
29642 underflow.
29643 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29644 (u_threshold): Likewise.
29645 (__expf): Call __ieee754_expf before checking for overflow and
29646 underflow.
29647 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29648 (u_threshold): Likewise.
29649 (__expl): Call __ieee754_expl before checking for overflow and
29650 underflow.
29651 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29652 (__ieee754_expl): Allow for and saturate large arguments.
29653 * math/libm-test.inc (exp_test): Add another test. Do not allow
29654 missing overflow exception on overflow.
29655 (expm1_test): Do not allow missing overflow exception on overflow.
29656
6698b8bf
JM
29657 * sysdeps/i386/fpu/e_expl.c: Move to ...
29658 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29659 rather than using inline asm.
29660 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29661 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29662 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29663
7b17aeda
JM
29664 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29665 (nice): Likewise.
29666 (poll): Likewise.
29667 (signal): Likewise.
29668 (time): Likewise.
29669 (times): Likewise.
29670
f7c85819
JM
296712012-05-04 Joseph Myers <joseph@codesourcery.com>
29672
29673 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29674 sysdeps/unix/common/syscalls.list.
29675 (fchmod): Likewise.
29676 (fchown): Likewise.
29677 (ftruncate): Likewise.
29678 (getrusage): Likewise.
29679 (gettimeofday): Likewise.
29680 (setpgid): Likewise.
29681 (setregid): Likewise.
29682 (setreuid): Likewise.
29683 (sigaction): Likewise.
29684 (truncate): Likewise.
29685 (vhangup): Likewise.
29686 * sysdeps/unix/common/syscalls.list: Remove file.
29687 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29688 * sysdeps/unix/sysv/linux/Implies: Likewise.
29689
336270d0
L
296902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29691
29692 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29694 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29695 Moved to ...
29696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29697 Here.
29698 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29699 to ...
29700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29701 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29702 to ...
29703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29704 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29705 to ...
29706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29707 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29708 to ...
29709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29710 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29711 to ...
29712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29713 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29714 to ...
29715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29716 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29717 to ...
29718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29719 Here.
29720 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29721 to ...
29722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29723 Here.
29724 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29725 to ...
29726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29727 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29728 Moved to ...
29729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29730 Here.
29731 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29732 to ...
29733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29734
d128e450
JM
297352012-05-04 Joseph Myers <joseph@codesourcery.com>
29736
fa8ee516
JM
29737 * sysdeps/unix/common/bits/dirent.h: Remove file.
29738 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29739
d128e450
JM
29740 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29741 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29742 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29743 * sysdeps/unix/bsd/isatty.c: Likewise.
29744 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29745 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29746 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29747
ff8faaf0 297482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29749
62881be4 29750 [BZ #13563]
31dc8730
AZ
29751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29752 long double comparison inaccuracies.
29753 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29755
6fef930c
AS
297562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29757
29758 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29759 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29760
8f203e6c
JM
297612012-05-04 Joseph Myers <joseph@codesourcery.com>
29762
29763 [BZ #14049]
29764 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29765 nonzero digits before rounding a hex value.
29766 * stdlib/tst-strtod.c (tests): Add another test.
29767
5197d9c2
AK
297682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29769
29770 * sysdeps/s390/fpu/libm-test-ulps: Update.
29771
f0c1dedf
AJ
297722012-05-03 Andreas Jaeger <aj@suse.de>
29773
29774 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29775 does not get optimized out.
29776 (malloc_opt_barrier): New.
29777
a65ef2ae 297782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29779 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29780
2b942cb7 29781 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29782 intermediate file deletion.
2b942cb7 29783 (generated): Add .symlist files.
a65ef2ae 29784
54b71e02
JM
297852012-05-03 Joseph Myers <joseph@codesourcery.com>
29786
29787 [BZ #13775]
29788 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29789 Redirect under this condition.
29790 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29791 [__USE_GNU] (__dprintf_chk): Not under this condition.
29792 [__USE_GNU] (__vdprintf_chk): Likewise.
29793 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29794 under this condition.
29795 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29796 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29797 [__USE_XOPEN2K8] (vdprintf): Likewise.
29798 [__USE_GNU] (__dprintf_chk): Not under this condition.
29799 [__USE_GNU] (__vdprintf_chk): Likewise.
29800 [__USE_GNU] (dprintf): Likewise.
29801 [__USE_GNU] (vdprintf): Likewise.
29802
d3dfcc41
RM
298032012-05-03 Roland McGrath <roland@hack.frob.com>
29804
29805 * elf/Makefile (common-generated): Set this instead of generated for
29806 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29807 $(all-built-dso)-derived lists.
29808
7ac30cc5
AJ
298092012-05-03 Andreas Jaeger <aj@suse.de>
29810
0c51e550
AJ
29811 * sysdeps/i386/fpu/libm-test-ulps: Update.
29812
7ac30cc5
AJ
29813 * FAQ: Removed.
29814 * FAQ.in: Likewise.
29815 * scripts/gen-FAQ.pl: Likewise.
29816 * manual/install.texi (Installation): Point to online location of
29817 FAQ.
29818 * Makefile (files-for-dist): Remove FAQ.
29819 (FAQ): Remove.
29820
d4c2917f
AM
298212012-05-02 Allan McRae <allan@archlinux.org>
29822
29823 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29824 (LDFLAGS-reldepmod5.so): Likewise.
29825 (LDFLAGS-reldep6mod1.so): Likewise.
29826 (LDFLAGS-reldep6mod4.so): Likewise.
29827 (LDFLAGS-reldep8mod3.so): Likewise.
29828 (LDFLAGS-unload4mod1.so): Likewise.
29829 (LDFLAGS-unload4mod2.so): Likewise.
29830 (LDFLAGS-tst-initorder): Likewise.
29831 (LDFLAGS-tst-initordera2.so): Likewise.
29832 (LDFLAGS-tst-initordera3.so): Likewise.
29833 (LDFLAGS-tst-initordera4.so): Likewise.
29834 (LDFLAGS-tst-initorderb2.so): Likewise.
29835 (LDFLAGS-noload): Likewise.
29836 (LDFLAGS-next): Likewise.
29837 (LDFLAGS-order2mod1.so): Likewise.
29838 (LDFLAGS-order2mod2.so): Likewise.
29839 (LDFLAGS-tst-initorder2): Likewise.
29840 (LDFLAGS-tst-initorder2a.so): Likewise.
29841 (LDFLAGS-tst-initorder2b.so): Likewise.
29842 (LDFLAGS-tst-initorder2c.so): Likewise.
29843 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29844
d77f993f
DM
298452012-05-02 David S. Miller <davem@davemloft.net>
29846
29847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29848
171a70b4
PP
298492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29850
29851 [BZ #14055]
29852 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29853
0be196ad
AJ
298542012-05-02 Andreas Jaeger <aj@suse.de>
29855
29856 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29857 since we manipulate rounding mode.
29858 (CPPFLAGS-test-idouble.c): Likewise.
29859 (CPPFLAGS-test-ifloat.c): Likewise.
29860 (CFLAGS-test-ldouble.c): Likewise.
29861 (CFLAGS-test-double.c): Likewise.
29862 (CFLAGS-test-float.c): Likewise.
29863 (CFLAGS-test-misc.c): Likewise.
29864 (CFLAGS-test-test-fenv.c): Likewise.
29865
4f9d04aa
AZ
298662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29867
2b942cb7
RM
29868 [BZ #2550]
29869 [BZ #2570]
29870 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29871 comparisons to determine direction to adjust input.
4f9d04aa 29872
82a79e7d
RM
298732012-05-01 Roland McGrath <roland@hack.frob.com>
29874
f5a01ca9
RM
29875 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29876 output to the target.
29877
90fe4186
RM
29878 * scripts/localplt.awk: New file.
29879 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29880 (check-localplt-CFLAGS): Variable removed.
29881 ($(all-built-dso:=.jmprel)): New static pattern rule.
29882 (generated): Add those targets.
29883 (localplt-built-dso): New variable.
29884 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29885
29886 * elf/check-localplt.c: File removed.
29887
82397ed6
RM
29888 * scripts/check-execstack.awk: New file.
29889 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29890 (check-execstack-CFLAGS): Variable removed.
29891 ($(objpfx)check-execstack.h): Target removed.
29892 ($(objpfx)execstack-default): New target.
29893 (generated): Add that instead of check-execstack.h.
29894 ($(all-built-dso:=.phdr)): New static pattern rule.
29895 (generated): Add those targets.
29896 * elf/check-execstack.c: File removed.
29897
82a79e7d
RM
29898 * scripts/check-textrel.awk: New file.
29899 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29900 (check-textrel-CFLAGS): Variable removed.
29901 (all-built-dso): Use := to define.o
29902 ($(all-built-dso:=.dyn)): New static pattern rule.
29903 (generated): Add those targets.
29904 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29905 * config.make.in (READELF): New substituted variable.
29906 * elf/check-textrel.c: File removed.
29907
62fde54f 299082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29909
615605c9
JM
29910 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29911 allow.
29912 * conform/data/ctype.h-data [C99-based standards] (isblank):
29913 Expect function.
29914 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29915 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29916 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29917 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29918 Specify type. Require positive value.
29919 (EILSEQ): Likewise.
29920 (ERANGE): Likewise.
29921 [ISO || POSIX] (EILSEQ): Do not expect.
29922 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29923 Specify type. Require positive value.
29924 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29925 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29926 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29927 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29928 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29929 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29930 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29931 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29932 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29933 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29934 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29935 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29936 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29937 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29938 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29939 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29940 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29941 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29942 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29943 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29944 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29945 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29946 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29947 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29948 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29949 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29950 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29951 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29952 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29953 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29954 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29955 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29956 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29957 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29958 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29959 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29960 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29961 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29962 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29963 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29964 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29965 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29966 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29967 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29968 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29969 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29970 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29971 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29972 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29973 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29974 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29975 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29976 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29977 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29978 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29979 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29980 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29981 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29982 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29983 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29984 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29985 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29986 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29987 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29988 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29989 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29990 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29991 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29992 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29993 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29994 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29995 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29996 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29997 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29998 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29999 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30000 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30001 Require >= 2.
30002 (FLT_ROUNDS): Expect as macro, not constant.
30003 (FLT_MANT_DIG): Use macro-int-constant.
30004 (DBL_MANT_DIG): Likewise.
30005 (LDBL_MANT_DIG): Likewise.
30006 (FLT_DIG): Likewise.
30007 (DBL_DIG): Likewise.
30008 (LDBL_DIG): Likewise.
30009 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30010 (DBL_MIN_EXP): Likewise.
30011 (LDBL_MIN_EXP): Likewise.
30012 (FLT_MAX_EXP): Use macro-int-constant.
30013 (DBL_MAX_EXP): Likewise.
30014 (LDBL_MAX_EXP): Likewise.
30015 (FLT_MAX_10_EXP): Likewise.
30016 (DBL_MAX_10_EXP): Likewise.
30017 (LDBL_MAX_10_EXP): Likewise.
30018 (FLT_MAX): Use macro-constant.
30019 (DBL_MAX): Likewise.
30020 (LDBL_MAX): Likewise.
30021 (FLT_EPSILON): Use macro-constant. Give upper bound.
30022 (DBL_EPSILON): Likewise.
30023 (LDBL_EPSILON): Likewise.
30024 (FLT_MIN): Likewise.
30025 (DBL_MIN): Likewise.
30026 (LDBL_MIN): Likewise.
30027 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30028 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30029 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30030 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30031 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30032 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30033 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30034 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30035 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30036 [ISO11] (FLT_TRUE_MIN): Likewise.
30037 [ISO11] (LDBL_TRUE_MIN): Likewise.
30038 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30039 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30040 (SCHAR_MIN): Use macro-int-constant. Specify type.
30041 (SCHAR_MAX): Likewise.
30042 (UCHAR_MAX): Likewise.
30043 (CHAR_MIN): Likewise.
30044 (CHAR_MAX): Likewise.
30045 (MB_LEN_MAX): Use macro-int-constant.
30046 (SHRT_MIN): Use macro-int-constant. Specify type.
30047 (SHRT_MAX): Likewise.
30048 (USHRT_MAX): Likewise.
30049 (INT_MAX): Likewise.
30050 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30051 bound negative.
30052 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30053 bound with "U".
30054 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30055 bound with "L".
30056 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30057 bound negative. Suffix upper bound with "L".
30058 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30059 bound with "UL".
30060 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30061 Specify type.
30062 [C99-based standards] (LLONG_MAX): Likewise.
30063 [C99-based standards] (ULLONG_MAX): Likewise.
30064 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30065 == 0.
30066 [ISO11] (max_align_t): Require type.
30067 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30068
c9140a62
JM
30069 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30070 from $CFLAGS, without defining away __attribute__ calls.
30071 (checknamespace): Use $CFLAGS_namespace.
30072
9af0bf29
JM
30073 * conform/conformtest.pl (@keywords): Only include C99 keywords
30074 for standards based on C99 or C11.
30075
343222a2
JM
30076 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30077 Disable tests.
30078 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30079 UNIX98]: Likewise.
30080
661f8cf0
JM
30081 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30082 usability of symbols in #if.
30083
ee74b9cb
JM
30084 * conform/conformtest.pl: If macro or constant types start
30085 "promoted:", expect the symbol to be of the following type
30086 promoted by the integer promotions.
62fde54f 30087
aafc49b3
JM
30088 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30089 in one place. Also handle "macro-constant".
30090
fefdf574
JM
30091 * conform/conformtest.pl: Only accept expected macro values with
30092 "==". Parse all "macro" lines in one place.
30093 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30094
f2d922fe
JM
30095 * conform/conformtest.pl: Handle braced types on "constant" lines
30096 instead of handling "typed-constant".
30097 * conform/data/signal.h-data: Use "constant" instead of
30098 "typed-constant".
30099
d22956c9
JM
30100 * conform/conformtest.pl: Handle "optional-" at start of lines in
30101 one place rather than duplicating several cases. Handle each
30102 format of "macro" line with initial "optional-".
30103
028e2e38
JM
30104 * conform/conformtest.pl: Only accept expected constant or
30105 optional-constant values with "==". Parse all "constant" lines in
30106 one place. Parse all "optional-constant" lines in one place.
30107 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30108 * conform/data/fmtmsg.h-data: Likewise.
30109 * conform/data/netinet/in.h-data: Likewise.
30110 * conform/data/tar.h-data: Likewise.
30111 * conform/data/limits.h-data: Use "==" form on "constant" and
30112 "optional-constant" lines.
30113
1b8f2850
JM
30114 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30115 Use -std=c99 for XOPEN2K.
30116 (@knownproblems): Remove.
30117 (newtoken): Don't check %isknown.
30118
a05a144b
JM
30119 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30120 Do not expect macro.
30121 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30123 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30124 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30128 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30129 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30130 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30131 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30132 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30133 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30134 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30135 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30136 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30137 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30138 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30139 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30140 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30151 [XPG3] (acosh): Likewise.
30152 [XPG3] (asinh): Likewise.
30153 [XPG3] (atanh): Likewise.
30154 [XPG3] (cbrt): Likewise.
30155 [XPG3] (expm1): Likewise.
30156 [XPG3] (ilogb): Likewise.
30157 [XPG3] (log1p): Likewise.
30158 [XPG3] (logb): Likewise.
30159 [XPG3] (nextafter): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30162 [XPG3] (remainder): Likewise.
30163 [XPG3] (rint): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30168 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30169 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30170 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30171 [UNIX98 || XOPEN2K] (scalb): Expect.
30172 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30173 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30174 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30175 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30176 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30177 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30178 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30179 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30180 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30181 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30182 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30183 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30184 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30185 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30186 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30187 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30188 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30189 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30190 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30191 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30192 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30193 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30194 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30195 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30196 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30197 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30198 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30199 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30200 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30201 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30202 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30203 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30204 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30205 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30206 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30207 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30208 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30209 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30210 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30211 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30212 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30213 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30214 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30215 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30216 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30217 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30218 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30219 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30220 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30221 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30222 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30223 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30224 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30225 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30226 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30227 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30228 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30229 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30230 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30231 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30232 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30233 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30234 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30235 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30236 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30237 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30238 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30239 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30240 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30241 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30242 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30243 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30244 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30245 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30246 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30247 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30248 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30249 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30250 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30251 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30252 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30253 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30254 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30255 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30256 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30257 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30258 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30259 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30260 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30261 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30262 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30263 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30264 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30265 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30266 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30267 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30268 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30269 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30270 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30271 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30272 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30273 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30274 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30275 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30276 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30277 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30278 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30279 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30280 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30281 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30282 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30283 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30284 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30285 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30286 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30287 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30288 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30289 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30290 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30291 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30292 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30293 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30294 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30295 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30296 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30297 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30298 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30299 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30300 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30301 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30302 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30303 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30304 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30305 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30306 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30307 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30308 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30309
73c5ebe3
JM
30310 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30311 _XOPEN_SOURCE_EXTENDED for XPG4.
30312
39c33b6c
JM
30313 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30314
62fde54f
JM
30315 * Makeconfig (localtime): Remove variable.
30316 (inst_localtime-file): Likewise.
30317
0741d64c
AS
303182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30319
30320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30321 Update.
30322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30323 Update.
30324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30325 Update.
30326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30327 Update.
30328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30329 Update.
30330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30331 Update.
30332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30333 Update.
30334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30335 Update.
30336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30337 Update.
30338
7cb029ee
JM
303392012-05-01 Joseph Myers <joseph@codesourcery.com>
30340
30341 [BZ #2550]
30342 [BZ #2570]
30343 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30344 comparisons to determine direction to adjust input.
30345 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30346 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30347 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30348 Likewise.
30349 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30350 Likewise.
30351 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30352 Likewise.
30353 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30354 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30355 Likewise.
30356 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30357 Likewise.
30358 * math/libm-test.inc (nexttoward_test): Add more tests.
30359
412bd966
AS
303602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30361
30362 [BZ #14040]
30363 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30364 in version GLIBC_2.1, not GLIBC_2.0.
30365 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30366 Likewise.
30367
9568c0c2
JM
303682012-04-30 Joseph Myers <joseph@codesourcery.com>
30369
adfbc8ac
JM
30370 [BZ #13942]
30371 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30372 (1 - x) * (1 + x).
30373 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30374 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30375 * math/libm-test.inc (acos_test): Add more tests.
30376 (asin_test): Likewise.
30377 * sysdeps/i386/fpu/libm-test-ulps: Update.
30378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30379
5ba3cc69
JM
30380 [BZ #14034]
30381 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30382 of square root.
30383 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30384 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30385 * math/libm-test.inc (acos_test_tonearest): New function.
30386 (acos_test_towardzero): Likewise.
30387 (acos_test_downward): Likewise.
30388 (acos_test_upward): Likewise.
30389 (asin_test_tonearest): Likewise.
30390 (asin_test_towardzero): Likewise.
30391 (asin_test_downward): Likewise.
30392 (asin_test_upward): Likewise.
30393 (main): Call the new functions.
30394 * sysdeps/i386/fpu/libm-test-ulps: Update.
30395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30396
9568c0c2
JM
30397 [BZ #13884]
30398 [BZ #13924]
30399 * math/e_exp10.c: Include <float.h>.
30400 (__ieee754_exp10): Handle underflow here rather than multiplying
30401 large negative argument by M_LN10.
30402 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30403 of __ieee754_expf.
30404 * math/e_exp10l.c: Include <float.h>.
30405 (__ieee754_exp10l): Handle underflow here rather than multiplying
30406 large negative argument by M_LN10l.
30407 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30408 spurious overflow exception on underflow.
30409
5ac3ea17
MP
304102012-04-29 Marek Polacek <polacek@redhat.com>
30411
30412 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30413 (__fortify_function): New macro.
30414 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30415 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30416 __extern_always_inline.
30417 * libio/bits/stdio2.h: Likewise.
30418 * libio/bits/stdio.h: Likewise.
30419 * string/string.h: Likewise.
30420 * string/bits/string3.h: Likewise.
30421 * include/stdio.h: Likewise.
30422 * stdlib/bits/stdlib.h: Likewise.
30423 * stdlib/stdlib.h: Likewise.
30424 * rt/bits/mqueue2.h: Likewise.
30425 * rt/mqueue.h: Likewise.
30426 * posix/bits/unistd.h: Likewise.
30427 * posix/unistd.h: Likewise.
30428 * io/bits/poll2.h: Likewise.
30429 * io/bits/fcntl2.h: Likewise.
30430 * io/fcntl.h: Likewise.
30431 * io/sys/poll.h: Likewise.
30432 * misc/bits/syslog.h: Likewise.
30433 * misc/bits/syslog-ldbl.h: Likewise.
30434 * misc/sys/syslog.h: Likewise.
30435 * socket/bits/socket2.h: Likewise.
30436 * socket/sys/socket.h: Likewise.
30437 * debug/tst-chk1.c: Likewise.
30438 * wcsmbs/bits/wchar2.h: Likewise.
30439 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30440 * wcsmbs/wchar.h: Likewise.
30441
ecf0ebfb
AJ
304422012-04-29 Andreas Jaeger <aj@suse.de>
30443
30444 * Makerules (tests): Remove enable-check-abi protection.
30445 (check-abi-warn): Remove.
30446 (check-abi-%): Remove check-abi-warn usage.
30447
30448 * configure.in: Remove check-abi configure option.
30449 * configure: Regenerated.
30450 * config.make.in (enable-check-abi): Remove.
30451
6d5c57fa
AS
304522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30453
24c5d07e 30454 [BZ #14033]
ded5180a
AS
30455 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30456 double functions to double *_finite functions.
30457
7e0d315d
AS
30458 [BZ #13941]
30459 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30460 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30461 LDBL_MIN_EXP.
30462 * stdio-common/Makefile (tests): Add tst-sprintf3.
30463 * stdio-common/tst-sprintf3.c: New file.
30464
6d5c57fa
AS
30465 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30466 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30467
0749ff8b
JM
304682012-04-28 Joseph Myers <joseph@codesourcery.com>
30469
30470 * conform/conformtest.pl: Remove duplicate typed-constant
30471 handling.
30472
8dbd5d7b
DM
304732012-04-28 David S. Miller <davem@davemloft.net>
30474
30475 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30476 (check-abi-%): Remove AWK script prerequisite and explicit
30477 abilist directory.
30478 (check-abi): Rewrite to just diff the symlist with the abilist.
30479 (config-tls, config-abi-config): Delete, no longer used.
30480 (update-abi-%): Remove AWK script and explicit abilist directory.
30481 (update-abi): Rewrite to simply compare and conditionally copy the
30482 symlist and the sysdep abilist file. Remove update-abi-config
30483 checks.
30484 * abilist/ld.abilist: Remove.
30485 * abilist/libBrokenLocale.abilist: Remove.
30486 * abilist/libanl.abilist: Remove.
30487 * abilist/libcrypt.abilist: Remove.
30488 * abilist/libdl.abilist: Remove.
30489 * abilist/librt.abilist: Remove.
30490 * abilist/libthread_db.abilist: Remove.
30491 * abilist/libutil.abilist: Remove.
30492 * scripts/extract-abilist.awk: Remove.
30493 * scripts/merge-abilist.awk: Remove.
30494 * sysdeps/generic/libcidn.abilist: New file.
30495 * sysdeps/generic/libnss_compat.abilist: New file.
30496 * sysdeps/generic/libnss_db.abilist: New file.
30497 * sysdeps/generic/libnss_dns.abilist: New file.
30498 * sysdeps/generic/libnss_files.abilist: New file.
30499 * sysdeps/generic/libnss_hesiod.abilist: New file.
30500 * sysdeps/generic/libnss_nis.abilist: New file.
30501 * sysdeps/generic/libnss_nisplus.abilist: New file.
30502 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30503 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30504 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30505 file.
30506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30507 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30508 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30509 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30510 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30511 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30512 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30513 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30514 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30515 file.
30516 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30517 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30518 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30519 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30520 file.
30521 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30522 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30523 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30524 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30525 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30526 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30527 file.
30528 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30529 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30530 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30531 file.
30532 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30534 New file.
30535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30536 New file.
30537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30538 New file.
30539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30540 New file.
30541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30542 New file.
30543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30544 New file.
30545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30546 New file.
30547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30548 New file.
30549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30550 New file.
30551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30552 New file.
30553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30554 New file.
30555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30556 New file.
30557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30558 New file.
30559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30560 file.
30561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30562 New file.
30563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30564 New file.
30565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30566 file.
30567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30568 New file.
30569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30570 New file.
30571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30572 file.
30573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30574 New file.
30575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30576 New file.
30577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30578 New file.
30579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30580 New file.
30581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30582 New file.
30583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30584 New file.
30585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30587 file.
30588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30589 New file.
30590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30591 file.
30592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30593 file.
30594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30595 file.
30596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30597 file.
30598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30599 file.
30600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30601 New file.
30602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30603 file.
30604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30605 file.
30606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30607 New file.
30608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30609 file.
30610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30612 file.
30613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30614 New file.
30615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30616 file.
30617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30618 file.
30619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30620 file.
30621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30622 file.
30623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30624 file.
30625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30626 New file.
30627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30628 file.
30629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30630 file.
30631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30632 New file.
30633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30634 file.
30635 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30636 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30637 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30638 file.
30639 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30640 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30641 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30642 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30643 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30644 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30645 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30646 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30647 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30648 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30651 file.
30652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30653 New file.
30654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30655 file.
30656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30657 file.
30658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30659 file.
30660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30661 file.
30662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30663 file.
30664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30665 New file.
30666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30667 New file.
30668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30669 file.
30670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30671 New file.
30672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30673 file.
30674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30676 file.
30677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30678 New file.
30679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30680 file.
30681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30682 file.
30683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30684 file.
30685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30686 file.
30687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30688 file.
30689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30690 New file.
30691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30692 New file.
30693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30694 file.
30695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30696 New file.
30697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30698 file.
30699
41d73a1b
JM
307002012-04-28 Joseph Myers <joseph@codesourcery.com>
30701
30702 * conform/conformtest.pl: Fix typo in handling typed-constant from
30703 allow-header.
30704
28aeeda4
JM
307052012-04-27 Joseph Myers <joseph@codesourcery.com>
30706
adae8f5e
JM
30707 * README: Cut down references to pre-2.6 Linux kernels and
30708 Linuxthreads. Update lists of configurations in libc and ports
30709 and sort alphabetically. Say "or newer" with Linux kernel version
30710 requirements.
30711
28aeeda4
JM
30712 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30713
a462cb63
RA
307142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30715
30716 [BZ #887]
30717 * math/libm-test.inc (logb_test_downward): New test to expose
30718 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30719 rounding mode.
30720
6ad3493e
JM
307212012-04-27 Joseph Myers <joseph@codesourcery.com>
30722
30723 [BZ #14027]
30724 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30725 to be done.
30726 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30727 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30728
2ce4f015
JM
307292012-04-26 Joseph Myers <joseph@codesourcery.com>
30730
5aeb141a
JM
30731 * sysdeps/unix/i386/brk.S: Remove file.
30732 * sysdeps/unix/i386/dl-brk.S: Likewise.
30733 * sysdeps/unix/i386/pipe.S: Likewise.
30734 * sysdeps/unix/i386/sigreturn.S: Likewise.
30735 * sysdeps/unix/i386/syscall.S: Likewise.
30736 * sysdeps/unix/i386/vfork.S: Likewise.
30737 * sysdeps/unix/i386/wait.S: Likewise.
30738
7143acae
JM
30739 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30740 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30741
2ce4f015
JM
30742 * configure.in (arm*-none*): Do not allow without
30743 --enable-hacker-mode.
30744 (netbsd*): Remove case setting base_os.
30745 (386bsd*): Likewise.
30746 (freebsd*): Likewise.
30747 (bsdi*): Likewise.
30748 (osf*): Likewise.
30749 (sunos*): Likewise.
30750 (ultrix*): Likewise.
30751 (newsos*): Likewise.
30752 (dynix*): Likewise.
30753 (*bsd*): Likewise.
30754 (sysv*): Likewise.
30755 (isc*): Likewise.
30756 (esix*): Likewise.
30757 (sco*): Likewise.
30758 (minix*): Likewise.
30759 (irix4*): Likewise.
30760 (irix6*): Likewise.
30761 (solaris[2-9]*): Likewise.
30762 (none): Likewise.
30763 * configure: Regenerated.
30764
0ac229c8
AZ
307652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30766
30767 [BZ #11521]
30768 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30769 overflow or cancellation in calculating denominator.
30770 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30772 down expression to avoid unexpected rounding in newer GCCs.
30773 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30774
33f244f4
DM
307752012-04-26 David S. Miller <davem@davemloft.net>
30776
30777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30778 long-double compat symbols.
30779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30792
cfa1f3e8
DM
307932012-04-25 David S. Miller <davem@davemloft.net>
30794
30795 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30796 HWCAP_* values only after the memory barriers have been defined.
30797 (atomic_full_barrier): Define.
30798 (atomic_read_barrier): Define.
30799 (atomic_write_barrier): Define.
30800
6e236b92
SP
308012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30802
30803 * shlib-versions: Add libgcc_s version information.
30804 * sysdeps/generic/libgcc_s.h: Remove.
30805 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30806 libgcc_s.h.
30807 * sysdeps/gnu/unwind-resume.c: Likewise.
30808 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30809
aab39a09
DM
308102012-04-25 David S. Miller <davem@davemloft.net>
30811
30812 * sysdeps/unix/sparc/brk.S: Delete.
30813 * sysdeps/unix/sparc/dl-brk.S: Delete.
30814 * sysdeps/unix/sparc/pipe.S: Delete.
30815 * sysdeps/unix/sparc/sysdep.S: Delete.
30816 * sysdeps/unix/sparc/sysdep.h: Delete.
30817 * sysdeps/unix/sparc/vfork.S: Delete.
30818 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30819 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30820 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30821 ret_ERRVAL, r0, r1, MOVE): Define.
30822 (JUMPTARGET): Remove.
30823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30824 sysdeps/unix/sparc/sysdep.h
30825 (ENTRY, END): Remove.
30826 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30827
a3cc4f48
JM
308282012-04-25 Joseph Myers <joseph@codesourcery.com>
30829
2ed8cda2
JM
30830 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30831 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30832 -DIS_IN_build.
30833
35d76d59
JM
30834 * timezone/README: Update upstream location and email address for
30835 tzcode and tzdata.
30836 * timezone/zdump.c: Update from tzcode 2012b.
30837 * timezone/zic.c: Likewise.
30838
a3cc4f48
JM
30839 * configure.in (libc_cv_as_needed): Remove test.
30840 * configure: Regenerated.
30841 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30842 conditional definition.
30843 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30844 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30845 * config.make.in (have-as-needed): Remove variable.
30846
ceab42c3
SP
308472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30848 Paul Pluzhnikov <ppluzhnikov@google.com>
30849
30850 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30851 strings correctly.
30852
3ce2865f
CLT
308532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30854
30855 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30856 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30857 * sysdeps/sh/strlen.S: Likewise.
30858
f37e0d68
JM
308592012-04-24 Joseph Myers <joseph@codesourcery.com>
30860
ae186e9a
JM
30861 * sysdeps/unix/fork.S: Remove file.
30862 * sysdeps/unix/i386/fork.S: Likewise.
30863 * sysdeps/unix/sparc/fork.S: Likewise.
30864
b96914af
JM
30865 * sysdeps/unix/system.c: Remove file.
30866 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30867
f37e0d68
JM
30868 * sysdeps/unix/getegid.S: Remove file.
30869 * sysdeps/unix/geteuid.S: Likewise.
30870
87ef29ca
RM
308712012-04-24 Roland McGrath <roland@hack.frob.com>
30872
83bcd236
RM
30873 * scripts/check-localplt.awk: New file.
30874 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30875 of diff.
30876 * scripts/data/localplt-generic.data: Add a comment.
30877
87ef29ca
RM
30878 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30879 NODE when __dir_mkfile failed.
30880 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30881 Reported by Ludovic Courtès <ludo@gnu.org>.
30882
e5a6e567
AJ
308832012-04-24 Andreas Jaeger <aj@suse.de>
30884
30885 * Makerules (common-clean): Also remove gen-as-const-headers
30886 files.
30887
c1820385
JM
308882012-04-24 Joseph Myers <joseph@codesourcery.com>
30889
30890 * Makerules (native-compile): Do not change working directory for
30891 build. Use $(OUTPUT_OPTION) in command.
30892 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30893
94e02fc4
AZ
308942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30895
30896 [BZ #13886]
30897 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30898 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30899 * math/libm-test.inc (floor_test): Add more tests.
30900 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30901
3a533ca3
JM
309022012-04-24 Joseph Myers <joseph@codesourcery.com>
30903
940ab4b3
JM
30904 * sysdeps/unix/getdents.c: Remove file.
30905 * sysdeps/unix/sysv/getdents.c: Likewise.
30906 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30907
90e037bd
JM
30908 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30909 sysdeps/unix/mman/syscalls.list.
30910 (mmap): Likewise.
30911 (mprotect): Likewise.
30912 (msync): Likewise.
30913 (munmap): Likewise.
30914 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30915 * sysdeps/unix/mman/syscalls.list: Remove.
30916 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30917
3a533ca3
JM
30918 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30919 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30920 * configure: Regenerated.
30921 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30922 $(libgcc_s_suffix).
30923 * config.make.in (libgcc_s_suffix): Remove variable.
30924
1ad743de
JM
309252012-04-23 Joseph Myers <joseph@codesourcery.com>
30926
4ad451e2
JM
30927 * sysdeps/unix/sysv/gethostname.c: Move to ...
30928 * sysdeps/posix/gethostname.c: ... here.
30929
5e37ce39
JM
30930 * sysdeps/unix/execve.S: Remove file.
30931
1ad743de
JM
30932 * sysdeps/unix/_exit.S: Remove file.
30933
4e681b5b
AJ
309342012-04-23 Andreas Jaeger <aj@suse.de>
30935
30936 [BZ #13739]
30937 * manual/Makefile: Remove make dist support, there's no
30938 need for a stand-alone documentation tar ball.
30939 (TEXI2DVI): Define always, it's not in Makeconfig.
30940 (dist): Removed.
30941 (tar-it): Removed.
30942 (edition): Removed.
30943 (glibc-doc-$(edition).tar): Removed
30944 (%.Z): Removed.
30945 (%.gz): Removed.
30946 (%.uu): Removed.
30947 (ETAGS): Remove, it's in Makeconfig.
30948 (move-if-change): Remove, it's in Makeconfig.
30949
38686a03 309502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30951
30952 [BZ #13970]
30953 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30954 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30955 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30956 (strtod_l, strtof_l, strtold_l): Remove __wur.
30957 It is not necessarily an error to ignore strtol's return value.
30958 One can reliably look at the stored endptr to decide whether
30959 the number had valid syntax.
30960
7c0616fa
AJ
309612012-04-21 Andreas Jaeger <aj@suse.de>
30962
803cb6b7 30963 [BZ #13739]
7c0616fa
AJ
30964 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30965
b0fe253f
JM
309662012-04-21 Joseph Myers <joseph@codesourcery.com>
30967
30968 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30969 * sysdeps/unix/sysv/Versions: Remove file.
30970
8280f22d
MT
309712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30972
30973 [BZ #13927]
30974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30975
75ce411f 309762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30977
30978 [BZ #7064]
30979 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30980 version from __vm86.
30981
097d59fa
JM
309822012-04-20 Joseph Myers <joseph@codesourcery.com>
30983
a90f3bcb
JM
30984 * sysdeps/unix/common/lxstat.c: Remove file.
30985 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30986
edc7ea78
JM
30987 * sysdeps/unix/sysv/Makefile: Remove file.
30988
cb78c221
JM
30989 * sysdeps/unix/sysv/direct.h: Remove file.
30990
efa6a45f
JM
30991 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30992 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30993 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30994 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30995 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30996 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30997 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30998
9c9f2d0c
JM
30999 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31000
4541c83b
JM
31001 * sysdeps/unix/xmknod.c: Remove file.
31002 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31003
f5d153a0
JM
31004 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31005
aa746595
JM
31006 * sysdeps/unix/sysv/i386/time.S: Remove file.
31007
cce5905e
JM
31008 * sysdeps/unix/fxstat.c: Remove file.
31009 * sysdeps/unix/xstat.c: Likewise.
31010 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31011
37fa3841
JM
31012 * sysdeps/unix/sysv/sigaction.c: Remove file.
31013
ff1962a3
JM
31014 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31015 (sysdep_headers): Remove variable.
31016 [termio.h not in sysdep_headers] (generated): Likewise.
31017 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31018 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31019 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31020 * sysdeps/unix/sysv/tcflow.c: Likewise.
31021 * sysdeps/unix/sysv/tcflush.c: Likewise.
31022 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31023 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31024 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31025 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31026 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31027
e7740d31
JM
31028 * sysdeps/unix/siglist.c: Remove file.
31029
ee06f18b
JM
31030 * sysdeps/unix/getppid.S: Remove file.
31031
097d59fa
JM
31032 * sysdeps/unix/mkdir.c: Remove file.
31033 * sysdeps/unix/rmdir.c: Likewise.
31034
ff3d51ec
AS
310352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31036
31037 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31038 ERR_MAX value.
31039 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31040 errlist-compat value.
31041
50f81fd7
DM
310422012-04-18 David S. Miller <davem@davemloft.net>
31043
31044 * sysdeps/generic/memcopy.h (reg_char): Delete.
31045 * debug/strcat_chk.c: Use char, not reg_char.
31046 * debug/strcpy_chk.c: Likewise.
31047 * debug/strncat_chk.c: Likewise.
31048 * debug/strncpy_chk.c: Likewise.
31049 * string/memchr.c: Likewise.
31050 * string/memrchr.c: Likewise.
31051 * string/rawmemchr.c: Likewise.
31052 * string/strcat.c: Likewise.
31053 * string/strchr.c: Likewise.
31054 * string/strchrnul.c: Likewise.
31055 * string/strcmp.c: Likewise.
31056 * string/strcpy.c: Likewise.
31057 * string/strncat.c: Likewise.
31058 * string/strncmp.c: Likewise.
31059 * string/strncpy.c: Likewise.
31060
8ff41c46
WS
310612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31062
31063 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31064 __builtin_memcopy is called when src and dest ranges are known to not
31065 overlap.
31066
6b652f46
WS
310672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31068
31069 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31070 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31071 fwd_align_merge macro call.
31072 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31073 bwd_align_merge macro call.
31074 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31075
b282631e
WS
310762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31077
31078 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31079 bwd_align_merge macros.
31080 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31081 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31082 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31083
95aa737c
DM
310842012-04-18 David S. Miller <davem@davemloft.net>
31085
31086 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31087
7a99a614
AJ
310882012-04-18 Andreas Jaeger <aj@suse.de>
31089
31090 [BZ# 6794]
31091 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31092 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31093 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31094
31095 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31096 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31097 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31098
31099 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31100 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31101 Adjust for changed ldbl-128 files.
31102
31103 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31104 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31105 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31106
e5270c23
DM
311072012-04-17 David S. Miller <davem@davemloft.net>
31108
31109 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31110
fb5e92c9
AS
311112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31112
31113 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31114 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31115 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31116 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31117 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31118 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31119
76da7265
AZ
311202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31121
31122 [BZ #6794]
31123 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31124 * math/libm-test.inc: Add ilogb errno and exception tests.
31125 * math/w_ilogb.c: New file: ilogb wrapper.
31126 * math/w_ilogbf.c: New file: ilogbf wrapper.
31127 * math/w_ilogbl.c: New file: ilogbl wrapper.
31128 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31129 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31130 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31131 exception being thrown with 0.0 as argument.
31132 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31133 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31134 exception being thrown with 0.0 as argument.
31135 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31136 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31137 exception being thrown with 0.0 as argument.
31138 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31139 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31140 exception being thrown with 0.0 as argument.
31141 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31142 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31143 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31144 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31145 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31146 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31147 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31148 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31149 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31150
0396e69d
PB
311512012-04-17 Petr Baudis <pasky@ucw.cz>
31152
31153 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31154 with altivec.
31155
750b5926
MP
311562012-04-16 Marek Polacek <polacek@redhat.com>
31157
31158 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31159
751728a1
MP
311602012-04-16 Marek Polacek <polacek@redhat.com>
31161
31162 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31163 operands of fdivp instruction.
31164
34a27407
L
311652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31166
31167 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31168 * elf/tst-auditmod3b.c: Likewise.
31169 * elf/tst-auditmod4b.c: Likewise.
31170 * elf/tst-auditmod5b.c: Likewise.
31171 * elf/tst-auditmod6b.c: Likewise.
31172 * elf/tst-auditmod6c.c: Likewise.
31173 * elf/tst-auditmod7b.c: Likewise.
31174 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31175 * sysdeps/x86_64/preconfigure.in: Likewise.
31176 * sysdeps/x86_64/preconfigure: Regenerated.
31177
7e73e17d
L
311782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31179
31180 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31181 __ILP32__.
31182
c7a6ab72
AB
311832012-04-13 Antoine Balestrat <merkil33@gmail.com>
31184
31185 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31186 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31187
a9e8e0e0
CL
311882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31189
31190 [BZ #13973]
31191 * locale/iso-639.def: Fix gl language name. Spotted by
31192 Yaron Shahrabani.
31193
ec98af7d
RM
311942012-04-12 Roland McGrath <roland@hack.frob.com>
31195
31196 [BZ #2074]
31197 * libio/libio.h (__io_write_fn): Update comment.
31198
247c3ede
PB
311992012-04-12 Petr Baudis <pasky@ucw.cz>
31200
31201 [BZ #2074]
31202 * stdio.texi (Hook Functions): The user provided writer function
31203 is not allowed to return -1.
31204
55939d6d
DM
312052012-04-11 David S. Miller <davem@davemloft.net>
31206
31207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31208
90020f5a
MF
312092012-04-11 Mike Frysinger <vapier@gentoo.org>
31210
31211 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31212 Add a leading slash to rtkaio.
31213
288f9098
JM
312142012-04-11 Jim Meyering <meyering@redhat.com>
31215
90020f5a
MF
31216 [BZ #11959]
31217 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31218 It is not necessarily an error to ignore fwrite's return
31219 value. One can reliably use ferror to test for errors after
31220 the fact.
288f9098 31221
4be2b570
L
312222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31223
31224 * bits/types.h (__snseconds_t): New type.
31225 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31226
31227 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31229 (__SNSECONDS_T_TYPE): Likewise.
31230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31231 (__SNSECONDS_T_TYPE): Likewise.
31232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31233 (__SNSECONDS_T_TYPE): Likewise.
31234
288f9098 312352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31236
31237 [BZ #2636]
31238 * manual/time.texi (Processor Time): Return type of times is
31239 elapsed real time since an arbitrary point in the past.
31240 (CPU Time): Move CLK_TCK from here...
31241 (Processor Time): ...to here. Correct description.
31242 * manual/conf.texi (Constants for Sysconf): Correct description of
31243 _SC_CLK_TCK.
31244
d7dd4413
DM
312452012-04-10 David S. Miller <davem@davemloft.net>
31246
31247 [BZ #13967]
31248 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31249 where the is a gap between DT_REL(A) and DT_JMPREL.
31250
b46068fc
L
312512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31252
31253 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31254 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31255 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31256
73d65cc3
SP
312572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31258
31259 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31260 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31261 (dl_main): Handle --inhibit-cache.
31262 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31263 _dl_inhibit_cache.
31264 * elf/dl-load.c (_dl_map_object): Use it.
31265 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31266
bcc8d661
JM
312672012-04-09 Joseph Myers <joseph@codesourcery.com>
31268
8f9a2fae
JM
31269 [BZ #13872]
31270 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31271 (__ieee754_powl): Saturate large exponents rather than testing for
31272 overflow of y*log2(x).
31273 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31274 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31275 exceptions.
31276
bcc8d661
JM
31277 [BZ #11521]
31278 * math/s_ctan.c: Include <float.h>.
31279 (__ctan): Avoid internal overflow or cancellation in calculating
31280 denominator.
31281 * math/s_ctanf.c: Likewise.
31282 * math/s_ctanl.c: Likewise.
31283 * math/s_ctanh.c: Likewise.
31284 * math/s_ctanhf.c: Likewise.
31285 * math/s_ctanhl.c: Likewise.
31286 * math/libm-test.inc (ctan_test): Add more tests.
31287 (ctanh_test): Likewise.
31288 * sysdeps/i386/fpu/libm-test-ulps: Update.
31289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31290
823fbbb4
AJ
312912012-04-09 Andreas Jaeger <aj@suse.de>
31292
03879793
AJ
31293 [BZ #6894]
31294 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31295 is an optional BSD extension.
31296
823fbbb4
AJ
31297 [BZ #10254]
31298 * manual/stdio.texi (Opening Streams): Document additional fopen
31299 parameters.
31300
8de131cb
RM
313012012-04-09 Roland McGrath <roland@hack.frob.com>
31302
31303 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31304 %eax without telling the compiler.
31305
c0ed9d7d
CD
313062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31307
31308 [BZ # 13963]
31309 * manual/install.texi: Use sourceware.org.
31310
c483f6b4
JM
313112012-04-09 Joseph Myers <joseph@codesourcery.com>
31312
d7dd9453
JM
31313 [BZ #13873]
31314 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31315 (__ieee754_pow): Generate overflow and underflow using huge*huge
31316 and tiny*tiny rather than just returning constant infinity or zero
31317 for large exponents.
31318 * math/libm-test.inc (pow_test): Require overflow exceptions for
31319 applicable cases of large exponents.
31320
c483f6b4
JM
31321 [BZ #706]
31322 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31323 (__ieee754_pow): Use iterative multiplication algorithm only for
31324 integer exponents with absolute value below 1024. Check for odd
31325 integer exponents when using algorithm for real exponents.
31326 * math/libm-test.inc (pow_test): Add more tests.
31327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31328
d2de7579
JM
313292012-04-08 Joseph Myers <joseph@codesourcery.com>
31330
31331 [BZ #13705]
31332 * math/libm-test.inc (exp_test): Do not allow overflow exception
31333 on underflow test.
31334
f77f1232
AJ
313352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31336
31337 [BZ #13705]
31338 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31339 instead of __kernel_standard_f.
31340
3884932b
MF
313412012-04-08 Mike Frysinger <vapier@gentoo.org>
31342
31343 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31344 * sysdeps/x86_64/memset_chk.S: Likewise.
31345
54472e9c
AJ
313462012-04-08 Andreas Jaeger <aj@suse.de>
31347
6ab0fbfc
AJ
31348 [BZ #10153]
31349 * manual/startup.texi (Environment Access): Describe return value
31350 for putenv and setenv.
31351
61efba8c
AJ
31352 [BZ #6895]
31353 * manual/filesys.texi (Directory Entries): Add description for
31354 DT_LNK.
31355
95c3f29a
AJ
31356 [BZ #6890]
31357 * manual/filesys.texi (Directory Entries): Clarify that it's file
31358 system not operating system in the description of DT_UNKNOWN.
31359
54472e9c
AJ
31360 [BZ #6578]
31361 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31362
624254b1
SC
313632012-04-08 Stephen Compall <s11@member.fsf.org>
31364
31365 [BZ #6649]
31366 * manual/llio.texi (Opening and Closing Files): Add cross
31367 reference to explain mode argument.
31368
1e4920e0
MF
313692012-04-07 Mike Frysinger <vapier@gentoo.org>
31370
31371 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31372 * sysdeps/x86_64/memset_chk.S: Likewise.
31373
5ed848f3
DM
313742012-04-07 David S. Miller <davem@davemloft.net>
31375
31376 * elf/elf.h (R_SPARC_WDISP10): Define.
31377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31378 R_SPARC_SIZE32.
31379 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31380 R_SPARC_SIZE64 and R_SPARC_H34.
31381
96154cd8
CD
313822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31383
31384 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31385 conditions and remove no longer applicable assertion.
31386
9904dc47
L
313872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31388
31389 * bits/byteswap.h: Include <features.h>.
31390 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31391 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31392
f8887d0a
L
313932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31394
31395 * bits/byteswap.h (__bswap_16): Removed.
31396 Include <bits/byteswap-16.h> to get __bswap_16.
31397 * sysdeps/i386/bits/byteswap.h: Likewise.
31398 * sysdeps/s390/bits/byteswap.h: Likewise.
31399 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31400 * bits/byteswap-16.h: New file.
31401 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31402 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31403 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31404 * string/Makefile (headers): Add bits/byteswap-16.h.
31405
62470f60
PP
314062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31407
31408 [BZ #13895]
31409 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31410 extra indirection.
31411 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31412 * nss/tst-nss-static.c: New.
31413
4dad7bab
RM
314142012-04-06 Robert Millan <rmh@gnu.org>
31415
31416 [BZ #6486]
31417 * manual/llio.texi (File Position Primitive): lseek
31418 refers to WHENCE when it really means OFFSET.
31419
e9142a17
AJ
314202012-04-06 Andreas Jaeger <aj@suse.de>
31421
2c040eff
AJ
31422 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31423 strncmp declarations.
31424
e9142a17
AJ
31425 * abilist/libc.abilist: Add __poll and __ppoll.
31426
ff9f1c5f
DM
314272012-04-05 David S. Miller <davem@davemloft.net>
31428
dcd2ae90
DM
31429 * scripts/check-local-headers.sh: Accept a host triplet in the
31430 path matched by the exclude regexp.
31431
993eb054
DM
31432 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31433 definition.
31434 * sysdeps/powerpc/powerpc32/dl-machine.h
31435 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31436 * sysdeps/s390/s390-32/dl-machine.h
31437 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31438 * sysdeps/sparc/sparc32/dl-machine.h
31439 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31440 * sysdeps/sparc/sparc64/dl-machine.h
31441 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31442
ff9f1c5f
DM
31443 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31444 lazy binding.
48e2e132 31445 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31446 undefined symbol errors.
31447
48e2e132 31448 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31449 DT_NEEDED entries.
31450
e80d6f94
MM
314512012-04-05 Michael Matz <matz@suse.de>
31452
31453 [BZ #13592]
31454 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31455
349fa79f
AJ
314562012-04-05 Andreas Jaeger <aj@suse.de>
31457
31458 [BZ #13908]
31459 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31460 comment.
31461
f402708f
KK
314622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31463
31464 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31465 which ROUND is no valid rounding mode.
31466
2ecccfc9
KK
314672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31468
31469 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31470 read again.
31471 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31472
8a53f50f
KK
314732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31474
31475 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31476 an exception using FPU order intentionally.
31477
314782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31479
31480 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31481 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31482 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31483 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31484
d653abb7
SJ
314852012-04-05 Simon Josefsson <simon@josefsson.org>
31486
31487 [BZ #12340]
31488 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31489 EINVAL when BUFLEN is too smal.
31490
c3b1bf7d
TS
314912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31492
31493 [BZ #13553]
31494 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31495 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31496
b1aa60f3
AJ
314972012-04-03 Andreas Jaeger <aj@suse.de>
31498
c3b1bf7d 31499 [BZ #13938]
67f60a26
AJ
31500 * manual/setjmp.texi (System V contexts): Fix sentence.
31501
b1aa60f3
AJ
31502 [BZ #13926]
31503 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31504 New macro for this case.
31505 [!__GNUC__] (__bswap_64): New inline function for this case.
31506 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31507 * bits/byteswap.h: Likewise.
31508 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31509 ull, guard with __GLIBC_HAVE_LONG_LONG.
31510
31511 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31512 __GLIBC_HAVE_LONG_LONG.
31513
31514 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31515 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31516
39c59c35
TMQMF
315172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31518
31519 [BZ #13691]
31520 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31521 inptr and inend, rather than using last_ch.
31522
135ffda8
DM
315232012-04-02 David S. Miller <davem@davemloft.net>
31524
31525 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31526 * stdio-common/printf-parse.h (read_int): Change return type to
31527 'int', return -1 on INT_MAX overflow.
31528 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31529 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31530 overflows INT_MAX. Check for overflow of in-format-string precision
31531 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31532 SIZE_MAX not INT_MAX for integer overflow test.
31533 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31534 skip the construct in the format string but do not record anything.
31535 * stdio-common/bug22.c: Adjust to test both width/prevision
31536 INT_MAX overflow as well as total length INT_MAX overflow. Check
31537 explicitly for proper errno values.
31538
228c019e
TS
315392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31540
302cadd3
TS
31541 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31542 CHAR_MAX.
31543 * string/test-strcmp.c [! WIDE]: Likewise.
31544 * time/tst-mktime2.c: Likewise for INT_MAX.
31545 * string/test-string.h: #include <sys/param.h> for MIN.
31546
228c019e
TS
31547 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31548 * sysdeps/i386/init-first.c (init): Likewise.
31549 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31550 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31551 * sysdeps/sh/init-first.c (init): Likewise.
31552
cfa633f5
UD
315532012-04-01 Ulrich Drepper <drepper@gmail.com>
31554
31555 * po/ru.po: Update from translation team.
d1635ef8 31556 * po/vi.po: Likewise.
cfa633f5 31557
6cd0a5ea
SP
315582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31559
31560 * resolv/nss_dns/dns-host.c: Merge copyright years.
31561
4b43400f
LD
315622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31563
31564 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31565 Optimize memcpy with prefetch if
31566 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31567 src, dst pointers have unequal 16 byte alignments.
31568
48c41d04
SP
315692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31570
31571 [BZ #13928]
31572 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31573 from a CNAME entry and return the minimum ttl for the query.
31574 (gaih_getanswer_slice): Likewise.
31575
b8dc394d
JL
315762012-03-30 Jeff Law <law@redhat.com>
31577
31578 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31579 due to long keys.
31580 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31581 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31582
2f5a5ed0
JL
31583 * resolv/nss_dns/dns-host.c: Update copyright year.
31584
1d39e359
UD
315852012-03-30 Ulrich Drepper <drepper@gmail.com>
31586
c030f70c 31587 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31588 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31589
1d39e359
UD
31590 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31591 comments for sendmmsg.
31592
315932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31594
31595 [BZ #13691]
31596 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31597 with only 1 character between 0x0041 and 0x01b0.
31598 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31599 * wcsmbs/tst-mbsnrtowcs.c: New file.
31600
20fde227
DM
316012012-03-29 David S. Miller <davem@davemloft.net>
31602
31603 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31604 small copies by hand.
31605
984a4237
JL
316062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31607
31608 [BZ #13761]
31609 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31610 _nss_compat_initgroups_dyn): Fall back to malloc/free
31611 for large group memberships.
31612
18c9d62b
DM
316132012-03-28 David S. Miller <davem@davemloft.net>
31614
88d85d4f
DM
31615 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31616 that branches into memcpy.
31617 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31618 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31619 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31620 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31621 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31622 bits.
31623 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31624 implementation too.
31625 * sysdeps/sparc/mempcpy.S: New file.
31626
e5aa83e1
DM
31627 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31628 the IFUNC routine in the libc case.
31629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31630
88570753
DM
31631 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31632 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31633 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31634 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31635 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31636 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31637 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31638 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31639
249d7567
DM
31640 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31641 loop to 256 bytes instead of 64 bytes and fix test signedness.
31642
18c9d62b
DM
31643 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31644 * sysdeps/sparc/sparc32/Makefile: rather than here...
31645 * sysdeps/sparc/sparc64/Makefile: and here.
31646
05f3d1f6
UD
316472012-03-28 Ulrich Drepper <drepper@gmail.com>
31648
31649 * malloc/mallocbug.c: Avoid warnings about unused variables.
31650
86ae07a8
JL
316512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31652
31653 [BZ #13760]
31654 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31655 in the right place. Discard and retry query if response is
31656 larger than input buffer size.
31657
41bf21a1
JM
316582012-03-28 Joseph Myers <joseph@codesourcery.com>
31659
d6270972
JM
31660 [BZ #369]
31661 [BZ #2678]
31662 [BZ #3866]
31663 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31664 x for large integer exponent.
31665 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31666 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31667 sign of result as needed afterwards.
31668 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31669 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31670 result for underflowing pow the same as for overflow.
31671 (__kernel_standard_l): Handle powl overflow and underflow here
31672 rather than calling __kernel_standard.
31673 * math/libm-test.inc (pow_test): Add more tests.
31674
414fca03 31675 [BZ #3868]
41bf21a1
JM
31676 [BZ #13879]
31677 [BZ #13910]
31678 [BZ #13911]
31679 [BZ #13912]
31680 [BZ #13913]
31681 [BZ #13915]
31682 [BZ #13916]
31683 [BZ #13917]
31684 [BZ #13918]
31685 [BZ #13919]
31686 [BZ #13920]
31687 [BZ #13921]
31688 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31689 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31690 (__kernel_standard_l): New function.
31691 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31692 __kernel_standard.
31693 * math/w_acosl.c (__acosl): Likewise.
31694 * math/w_asinl.c (__asinl): Likewise.
31695 * math/w_atan2l.c (__atan2l): Likewise.
31696 * math/w_atanhl.c (__atanhl): Likewise.
31697 * math/w_coshl.c (__coshl): Likewise.
31698 * math/w_exp10l.c (__exp10l): Likewise.
31699 * math/w_exp2l.c (__exp2l): Likewise.
31700 * math/w_fmodl.c (__fmodl): Likewise.
31701 * math/w_hypotl.c (__hypotl): Likewise.
31702 * math/w_j0l.c (__j0l, __y0l): Likewise.
31703 * math/w_j1l.c (__j1l, __y1l): Likewise.
31704 * math/w_jnl.c (__jnl, __ynl): Likewise.
31705 * math/w_lgammal.c (__lgammal): Likewise.
31706 * math/w_log10l.c (__log10l): Likewise.
31707 * math/w_log2l.c (__log2l): Likewise.
31708 * math/w_logl.c (__logl): Likewise.
31709 * math/w_powl.c (__powl): Likewise.
31710 * math/w_remainderl.c (__remainderl): Likewise.
31711 * math/w_scalbl.c (sysv_scalbl): Likewise.
31712 * math/w_sinhl.c (__sinhl): Likewise.
31713 * math/w_sqrtl.c (__sqrtl): Likewise.
31714 * math/w_tgammal.c (__tgammal): Likewise.
31715 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31716 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31717 * math/libm-test.inc (acos_test): Add more tests.
31718 (acosh_test): Likewise.
31719 (asin_test): Likewise.
31720 (atanh_test): Likewise.
31721 (exp_test): Likewise.
31722 (exp10_test): Likewise.
31723 (exp2_test): Likewise.
31724 (expm1_test): Likewise.
31725 (lgamma_test): Likewise.
31726 (log_test): Likewise.
31727 (log10_test): Likewise.
31728 (log1p_test): Likewise.
31729 (log2_test): Likewise.
31730 (pow_test): Do not allow some spurious overflow exceptions.
31731 (sqrt_test): Add more tests.
31732 (tgamma_test): Likewise.
31733 (y0_test): Likewise.
31734 (y1_test): Likewise.
31735 (yn_test): Likewise.
31736
dd62fda6
AB
317372012-03-27 Anton Blanchard <anton@samba.org>
31738
31739 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31740 MAP_HUGETLB.
31741 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31742 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31743 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31744
1e3cdfda
AJ
317452012-03-27 David S. Miller <davem@davemloft.net>
31746
b855ab85
DM
31747 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31748
1e3cdfda
AJ
31749 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31750 have-as-vis3 check.
31751
317522012-03-27 Andreas Jaeger <aj@suse.de>
31753
31754 * sysdeps/x86_64/elf/configure.in: Moved to ...
31755 * sysdeps/x86_64/configure.in: ... here.
31756 * sysdeps/x86_64/elf/start.S: Moved to ...
31757 * sysdeps/x86_64/start.S: ... here.
31758 * sysdeps/x86_64/elf/configure: Delete.
31759
31760 * sysdeps/x86_64/configure.in: Merge contents from
31761 sysdeps/i386/configure.in (without i686 check).
31762
31763 * sysdeps/i386/elf/Versions: Merge into ...
31764 * sysdeps/i386/Versions: ... this.
31765 * sysdeps/i386/elf/Versions: Delete file.
31766 * sysdeps/i386/elf/start.S: Moved to ...
31767 * sysdeps/i386/start.S: ...here.
31768 * sysdeps/i386/elf/configure.in: Merge into...
31769 * sysdeps/i386/configure.in: ...here.
31770 * sysdeps/i386/elf/configure.in: Delete file.
31771 * sysdeps/i386/elf/configure: Delete file.
31772
31773 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31774 * debug/backtracesyms.c: ... here.
31775 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31776 * debug/backtracesymsfd.c: ... here.
31777 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31778 * sysdeps/generic/ifunc-sel.h: ... here.
31779
31780 * sysdeps/unix/i386/start.c: Delete file.
31781 * sysdeps/unix/sparc/start.c: Delete file.
31782 * sysdeps/unix/start.c: Delete file.
31783
31784 * sysdeps/sh/elf/configure.in: Moved to ...
31785 * sysdeps/sh/configure.in: ... here.
31786 * sysdeps/sh/elf/start.S: Moved to ...
31787 * sysdeps/sh/start.S: ... here.
31788 * sysdeps/sh/elf/configure: Delete file.
31789
31790 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31791 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31792 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31793 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31794 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31795 * sysdeps/powerpc/powerpc64/start.S: here.
31796 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31797 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31798 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31799 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31800 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31801
31802 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31803 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31804 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31805 * sysdeps/powerpc/powerpc32/start.S: ... here.
31806 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31807 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31808 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31809
31810 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31811 * sysdeps/powerpc/ifunc-sel.h: ... here.
31812 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31813 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31814
31815 * sysdeps/sparc/elf/configure.in: Moved to ...
31816 * sysdeps/sparc/configure.in: ... here.
31817 * sysdeps/sparc/elf/configure: Delete file.
31818 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31819 * sysdeps/sparc/sparc32/start.S: ... here.
31820 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31821 * sysdeps/sparc/sparc64/start.S: ... here.
31822 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31823 * sysdeps/sparc/sparc32/Makefile: ... this.
31824 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31825 * sysdeps/sparc/sparc64/Makefile: ... this.
31826
31827 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31828 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31829 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31830 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31831 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31832 * sysdeps/s390/s390-32/setjmp.S: ... here.
31833 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31834 * sysdeps/s390/s390-32/configure.in: ... here.
31835 * sysdeps/s390/s390-32/elf/configure: Delete file.
31836 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31837 * sysdeps/s390/s390-32/start.S: ... here.
31838
31839 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31840 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31841 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31842 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31843 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31844 * sysdeps/s390/s390-64/setjmp.S: ... here.
31845 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31846 * sysdeps/s390/s390-64/configure.in: ... here
31847 * sysdeps/s390/s390-64/elf/configure: Delete file.
31848 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31849 * sysdeps/s390/s390-64/start.S: ... here.
31850 * sysdeps/s390/s390-64/elf/configure: Delete.
31851
31852 * configure.in: Remove support for elf directories in sysdeps.
31853
31854 * configure: Regenerated.
31855 * sysdeps/i386/configure: Regenerated.
31856 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31857 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31858 * sysdeps/s390/s390-32/configure: Regenerated.
31859 * sysdeps/s390/s390-64/configure: Regenerated.
31860 * sysdeps/sh/configure: Regenerated.
31861 * sysdeps/sparc/configure: Regenerated.
31862 * sysdeps/x86_64/configure: Regenerated.
31863
a3f61311
AS
318642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31865
c876e002
AS
31866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31867
a3f61311
AS
31868 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31869 denormal result into account.
31870
ac4c54f0
RM
318712012-03-25 Roland McGrath <roland@hack.frob.com>
31872
31873 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31874 Reported by Allan McRae <allan@archlinux.org>.
31875
6a9b9c02
JL
318762012-03-23 Jeff Law <law@redhat.com>
31877
31878 * nss/getnssent.c (__nss_getent): Fix typo.
31879
4c42a0c1
DM
318802012-03-23 David S. Miller <davem@davemloft.net>
31881
31882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31883
1532c7ac
L
318842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31885
31886 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31887 to pad to uint64_t for each field.
31888 (dl_tls_index): Replace unsigned long with uint64_t.
31889
3ff42526
PP
318902012-03-23 Daniel Jacobowitz <dmj@google.com>
31891 Paul Pluzhnikov <ppluzhnikov@google.com>
31892
31893 [BZ #6528]
31894 * grp/Makefile (otherlibs): Don't set it.
31895 * inet/Makefile (otherlibs): Likewise.
31896 * login/Makefile (otherlibs): Likewise.
31897 * nscd/Makefile (otherlibs): Likewise.
31898 * posix/Makefile (otherlibs): Likewise.
31899 * pwd/Makefile (otherlibs): Likewise.
31900 * rt/Makefile (otherlibs): Likewise.
31901 * sunrpc/Makefile (otherlibs): Likewise.
31902 * nss/Makefile (otherlibs): Likewise.
31903 Add libnss_files to routines and static-only-routines.
31904 ($(objpfx)getent): Remove rule.
31905 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31906 static-only-routines.
31907
7c69cd14
JM
319082012-03-22 Joseph Myers <joseph@codesourcery.com>
31909
31910 [BZ #13892]
31911 * math/s_cexp.c: Include <float.h>.
31912 (__cexp): Handle exp result overflowing not necessarily
31913 overflowing both real and imaginary parts of result.
31914 * math/s_cexpf.c: Likewise.
31915 * math/s_cexpl.c: Likewise.
31916 * math/libm-test.inc (cexp_test): Add more tests.
31917 * sysdeps/i386/fpu/libm-test-ulps: Update.
31918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31919
81b035fe
L
319202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31921
31922 * include/link.h (ELFW): New macro.
31923 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31924 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31925
1da7940c
L
319262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31927
31928 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31929 with uint64_t.
31930
b749dbb9
L
319312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31932
31933 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31934 declaration.
31935 (struct La_x32_retval): Likewise.
31936
2ff87f3f
L
319372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31938
31939 * sysdeps/x86_64/preconfigure.in: New file.
31940 * sysdeps/x86_64/preconfigure: New generated file.
31941
c0df8e69
JM
319422012-03-22 Joseph Myers <joseph@codesourcery.com>
31943
48e44791
JM
31944 [BZ #13824]
31945 * math/e_exp2l.c: Include <float.h>.
31946 (__ieee754_exp2l): Handle overflow and underflow cases
31947 separately. Only pass fractional part of argument to
31948 __ieee754_expl.
31949 * math/libm-test.inc (exp2_test): Add more tests.
31950
c0df8e69
JM
31951 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31952 negating x to take absolute value.
31953 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31954 Likewise.
31955 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31956 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31957 Likewise.
31958 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31959 computing low part if x was negated.
31960 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31961
c8e43ba7
L
319622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31963
31964 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31965 la_x32_gnu_pltexit.
31966 (pltexit): Cast int_retval to ptrdiff_t.
31967 * elf/tst-auditmod3b.c: Likewise.
31968 * elf/tst-auditmod4b.c: Likewise.
31969 * elf/tst-auditmod5b.c: Likewise.
31970 * elf/tst-auditmod6b.c: Likewise.
31971 * elf/tst-auditmod6c.c: Likewise.
31972 * elf/tst-auditmod7b.c: Likewise.
31973
31974 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31975 and x32_gnu_pltexit.
31976
31977 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31978 __ELF_NATIVE_CLASS.
31979 (La_x32_regs): New macro.
31980 (La_x32_retval): Likewise.
31981 (la_x32_gnu_pltenter): New function prototype.
31982 (la_x32_gnu_pltexit): Likewise.
31983
7998fa78
AS
319842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31985
dcb33988
AS
31986 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31987 exponent.
31988
233fc563
AS
31989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31990
7998fa78
AS
31991 * configure.in (libc_cv_cc_nofma): Check for option to disable
31992 generation of FMA instructions.
31993 * configure: Regenerate.
31994 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31995 * sysdeps/ieee754/dbl-64/Makefile: New file.
31996 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31997 Remove brandred-fma4.
31998 (CFLAGS-brandred-fma4.c): Remove.
31999 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32000 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32001 define.
32002 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32003 define.
32004
8e95c99a
L
320052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32006
32007 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32008 LLONG_MAX != LONG_MAX.
32009 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32010 (_fitoa_word): Likewise.
32011 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32012 LLONG_MAX != LONG_MAX.
32013 * stdio-common/_itowa.h: Include <_itoa.h>.
32014 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32015 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32016 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32017 only if not defined.
32018 (_ITOA_WORD_TYPE): Likewise.
32019 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32020 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32021
6f4db457
DM
320222012-03-21 David S. Miller <davem@davemloft.net>
32023
32024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32025
7785fe5a
L
320262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32027
32028 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32029 of x86_64 when setting libc_cv_slibdir, libdir and
32030 libc_cv_localedir.
32031 * sysdeps/unix/sysv/linux/configure: Regenerated.
32032
4535cd55
JM
320332012-03-21 Joseph Myers <joseph@codesourcery.com>
32034
32035 * manual/lang.texi (Old Varargs): Remove section.
32036 (How Variadic): Update menu.
32037 (va_start): Do not mention varargs.h.
32038
17228132
TS
320392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32040 Joseph Myers <joseph@codesourcery.com>
32041
32042 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32043 link test.
32044 * configure: Regenerated.
32045
8149f976
TS
320462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32047
05f3d1f6
UD
32048 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32049 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32050 conformtest.pl
8149f976 32051
1a4ac776
JM
320522012-03-21 Joseph Myers <joseph@codesourcery.com>
32053
be22ce65
JM
32054 * NOTES: Remove.
32055 * Makefile (files-for-dist): Remove NOTES.
32056 (NOTES): Remove rule.
32057 * README: Don't refer to NOTES.
32058 * manual/creature.texi: Don't include macros.texi.
32059 * manual/intro.texi (creature.texi): Remove comment referring to
32060 NOTES.
32061
40b601fb
JM
32062 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32063 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32064 * configure: Regenerated.
32065 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32066 LIBC_TRY_CC_OPTION.
32067 (libc_cv_as_i686): Likewise.
32068 (libc_cv_cc_avx): Likewise.
32069 (libc_cv_cc_sse2avx): Likewise.
32070 (libc_cv_cc_fma4): Likewise.
32071 (libc_cv_cc_novzeroupper): Likewise.
32072 * sysdeps/i386/configure: Regenerated.
32073
1a4ac776
JM
32074 [BZ #13883]
32075 * sysdeps/i386/fpu/s_cexp.S: Remove.
32076 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32077 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32078 * math/libm-test.inc (cexp_test): Add more tests.
32079 * sysdeps/i386/fpu/libm-test-ulps: Update.
32080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32081
a458e7fe
AM
320822012-03-21 Allan McRae <allan@archlinux.org>
32083
32084 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32085
0cb7efc5
JM
320862012-03-21 Joseph Myers <joseph@codesourcery.com>
32087
32088 [BZ #13871]
32089 * math/w_exp2.c: Do not include <float.h>.
32090 (o_threshold, u_threshold): Remove.
32091 (__exp2): Calculate result before checking finiteness and calling
32092 __kernel_standard.
32093 * math/w_exp2f.c: Likewise.
32094 * math/w_exp2l.c: Likewise.
32095 * math/libm-test.inc (exp2_test): Require overflow exception for
32096 1e6 input.
2460d3aa
JM
32097
32098 [BZ #3866]
32099 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32100 range of signed 64-bit integers before using fistpll. Remove
32101 checks for whether integers fit in mantissa bits.
32102 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32103 the range of signed 32-bit integers before using fistpl. Remove
32104 checks for whether integers fit in mantissa bits.
32105 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32106 (__ieee754_powl): Test for y outside the range of signed 64-bit
32107 integers before using fistpll. Reduce 64-bit values to 63-bit
32108 ones as needed.
32109 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32110 divide-by-zero is raised for zero to large negative powers.
32111 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32112 (__ieee754_powl): Test for y outside the range of signed 64-bit
32113 integers before using fistpll. Reduce 64-bit values to 63-bit
32114 ones as needed.
32115 * math/libm-test.inc (pow_test): Add more tests.
32116
eb96ffb0
L
321172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32118
32119 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32120 <stdio-common/_itoa.h>.
32121 * debug/segfault.c: Likewise.
32122 * elf/dl-cache.c: Likewise.
32123 * elf/dl-minimal.c: Likewise.
32124 * elf/dl-misc.c: Likewise.
32125 * elf/dl-sysdep.c: Likewise.
32126 * elf/dl-version.c: Likewise.
32127 * elf/rtld.c: Likewise.
32128 * hurd/hurdsock.c: Likewise.
32129 * hurd/lookup-retry.c: Likewise.
32130 * malloc/malloc.c: Likewise.
32131 * malloc/mtrace.c: Likewise.
32132 * nscd/nscd_getgr_r.c: Likewise.
32133 * nscd/nscd_getpw_r.c: Likewise.
32134 * nscd/nscd_getserv_r.c: Likewise.
32135 * posix/getopt_init.c: Likewise.
32136 * posix/wordexp.c: Likewise.
32137 * stdio-common/_itoa.c: Likewise.
32138 * stdio-common/printf_fphex.c: Likewise.
32139 * stdio-common/vfprintf.c: Likewise.
32140 * string/_strerror.c: Likewise.
32141 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32142 * sysdeps/i386/i686/hp-timing.h: Likewise.
32143 * sysdeps/mach/_strerror.c: Likewise.
32144 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32145 * sysdeps/mach/hurd/sethostid.c: Likewise.
32146 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32147 * sysdeps/mach/xpg-strerror.c: Likewise.
32148 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32149 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32150 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32151 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32152 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32153 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32154 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32155 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32156 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32157 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32158 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32159 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32160 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32161 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32162 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32163 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32164 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32165 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32166 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32167 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32168 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32169
32170 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32171
32172 * stdio-common/_itoa.h: Moved to ...
32173 * sysdeps/generic/_itoa.h: Here.
32174
32175 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32176
32177 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32178 instead of "_itoa.h" and "_itowa.h".
32179 * stdio-common/vfprintf.: Likewise.
32180
d1af992d
L
321812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32182
32183 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32184 <bits/wordsize.h>.
32185 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32186 (__signbit): Likwise.
32187 (llrintf): Likwise.
32188 (llrint): Likwise.
32189
114883e0
L
321902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32191
32192 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32193 __WORDSIZE != 64.
32194
c135cc1b
JM
321952012-03-20 Joseph Myers <joseph@codesourcery.com>
32196
32197 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32198 OVERFLOW_EXCEPTION_OK.
32199 * math/libm-test.inc ("Philosophy"): Update comment about
32200 exception testing.
32201 (OVERFLOW_EXCEPTION): Define.
32202 (OVERFLOW_EXCEPTION_OK): Likewise.
32203 (INVALID_EXCEPTION_OK): Renumber.
32204 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32205 (IGNORE_ZERO_INF_SIGN): Likewise.
32206 (test_exceptions): Handle FE_OVERFLOW.
32207 (exp10_test): Expect overflow exceptions.
32208 (exp2_test): Likewise.
32209 (expm1_test): Likewise.
32210 (nextafter_test): Likewise.
32211 (pow_test): Likewise.
32212 (scalbn_test): Likewise.
32213 (scalbln_test): Likewise.
32214
95443d88
L
322152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32216
32217 * sysdeps/x86_64/bits/atomic.h
32218 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32219 64bit integer.
32220 (atomic_exchange_acq): Likewise.
32221 (__arch_exchange_and_add_body): Likewise.
32222 (__arch_add_body): Likewise.
32223 (atomic_add_negative): Likewise.
32224 (atomic_add_zero): Likewise.
32225
490df6c4
L
322262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32227
c2722551 32228 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32229 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32230
5e52b189
L
322312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32232
32233 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32234 Check __x86_64__ instead of __WORDSIZE.
32235
a9879d4c
L
322362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32237
32238 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32239
5df98260
DM
322402012-03-19 David S. Miller <davem@davemloft.net>
32241
e1497744
DM
32242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32243
5df98260
DM
32244 * sysdeps/sparc/fpu/fenv_private.h: New file.
32245 * sysdeps/sparc/fpu/math_private.h: Use it.
32246 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32247 Remove.
32248 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32249 (libc_feholdexcept_setroundl): Remove.
32250 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32251 Remove.
32252 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32253 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32254
b4c35121
L
322552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32256
32257 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32258 int64_t instead of long int.
32259 (INSERT_WORDS64): Likwise.
32260
56965fd7
L
322612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32262
32263 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32264 _Unwind_GetCFA return to _Unwind_Ptr first.
32265
83d1aec8
JM
322662012-03-19 Joseph Myers <joseph@codesourcery.com>
32267
1897ad44
JM
32268 [BZ #13629]
32269 * math/s_clog.c: Include <float.h>.
32270 (__clog): Scale large or subnormal inputs.
32271 * math/s_clogf.c: Likewise.
32272 * math/s_clogl.c: Likewise.
32273 * math/s_clog10.c: Include <float.h>.
32274 (M_LOG10_2): Define.
32275 (__clog10): Scale large or subnormal inputs.
32276 * math/s_clog10f.c: Likewise.
32277 * math/s_clog10l.c: Likewise.
32278 * math/libm-test.inc (clog_test): Add more tests.
32279 (clog10_test): Likewise.
32280 * sysdeps/i386/fpu/libm-test-ulps: Update.
32281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32282
7726d6a9
JM
32283 [BZ #11451]
32284 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32285 x and y.
32286 * math/libm-test.inc (atan2_test): Add another test.
32287
83d1aec8
JM
32288 * Makerules (common-objdir-compile): Remove.
32289 * sysdeps/unix/Makefile (config-generated): Do not add
32290 $(unix-generated) to variable.
32291 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32292 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32293 Remove rule.
32294 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32295 Likewise.
32296 [generic bits/local_lim.h] (before-compile): Do not append to
32297 variable.
32298 [generic bits/local_lim.h] (common-generated): Likewise.
32299 [generic sys/param.h] (before-compile): Do not append to variable.
32300 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32301 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32302 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32303 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32304 include.
32305 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32306 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32307 [generic sys/param.h] ($(addprefix
32308 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32309 [generic sys/param.h] (common-generated): Do not append to
32310 variable.
32311 [generic sys/param.h] (sysdep_headers): Likewise.
32312 [generic bits/errno.h] (before-compile): Do not append to
32313 variable.
32314 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32315 rule.
32316 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32317 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32318 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32319 [generic bits/errno.h] (common-generated): Do not append to
32320 variable.
32321 [generic bits/ioctls.h] (before-compile): Do not append to
32322 variable.
32323 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32324 rule.
32325 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32326 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32327 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32328 rule.
32329 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32330 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32331 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32332 [generic bits/ioctls.h] (common-generated): Do not append to
32333 variable.
32334 [generic sys/syscall.h] (syscall.h): Remove variable.
32335 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32336 rule.
32337 [generic sys/syscall.h] (before-compile): Do not append to
32338 variable.
32339 [generic sys/syscall.h] (common-generated): Likewise.
32340 * sysdeps/unix/errnos-tmpl.c: Remove file.
32341 * sysdeps/unix/errnos.awk: Likewise.
32342 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32343 * sysdeps/unix/ioctls.awk: Likewise.
32344 * sysdeps/unix/mk-local_lim.c: Likewise.
32345 * sysdeps/unix/snarf-ioctls: Likewise.
32346
4851a949
RH
323472012-03-19 Richard Henderson <rth@twiddle.net>
32348
bd37f2ee
RH
32349 * sysdeps/i386/fpu/fenv_private.h: New file.
32350 * sysdeps/i386/fpu/math_private.h: Use it.
32351 (math_opt_barrier, math_force_eval): Remove.
32352 (libc_feholdexcept_setround_53bit): Remove.
32353 (libc_feupdateenv_53bit): Remove.
32354 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32355 (math_opt_barrier, math_force_eval): Remove.
32356 (libc_feholdexcept): Remove.
32357 (libc_feholdexcept_setround): Remove.
32358 (libc_fetestexcept, libc_fesetenv): Remove.
32359 (libc_feupdateenv_test): Remove.
32360 (libc_feupdateenv, libc_feholdsetround): Remove.
32361 (libc_feresetround): Remove.
32362
d0adc922
RH
32363 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32364 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32365
0fe0f1f8
RH
32366 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32367 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32368 (libc_feupdateenv_testl): New.
32369 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32370 (libc_feupdateenv_testf): New.
32371 (libc_feupdateenv): Use libc_feupdateenv_test.
32372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32373 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32374
eb92c487
RH
32375 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32376 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32377 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32378 (libc_feresetround_noex): New.
32379 (libc_feresetround_noexf): New.
32380 (libc_feresetround_noexl): New.
32381 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32382 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32383 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32384 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32385 SET_RESTORE_ROUND.
32386 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32387 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32388 (__cos): Likewise.
32389 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32390 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32391 SET_RESTORE_ROUND_NOEX.
32392 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32393 SET_RESTORE_ROUND_NOEXF.
32394 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32395 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32396 (libc_feholdsetroundf): New.
32397 (libc_feresetround, libc_feresetroundf): New.
32398
7d2e8012
RH
32399 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32400 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32401 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32402
b4dabbb4
RH
32403 * sysdeps/generic/math_private.h: Include <fenv.h>.
32404 (default_libc_feholdexcept): New.
32405 (default_libc_feholdexcept_setround): New.
32406 (default_libc_fesetenv, default_libc_feupdateenv): New.
32407 (libc_feholdexcept): Only define if undefined.
32408 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32409 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32410 (libc_feholdexcept_setroundl): Likewise.
32411 (libc_feholdexcept_setround_53bit): Likewise.
32412 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32413 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32414 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32415 (libc_feupdateenv_53bit): Likewise.
32416 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32417 (libc_feholdexcept): Convert from macro to inline function.
32418 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32419 (libc_fesetenv, libc_feupdateenv): Likewise.
32420
4851a949
RH
32421 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32422 not previously defined.
32423 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32424 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32425 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32426 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32427 * sysdeps/ieee754/flt-32/math_private.h: New file.
32428 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32429 math_private.h below SET_FLOAT_WORD.
32430 (__isnan, __isinf_ns, __finite): Remove.
32431 (__isnanf, __isinf_nsf, __finitef): Remove.
32432
e79d442e
AS
324332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32434
32435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32436
90b80344
DM
324372012-03-17 David S. Miller <davem@davemloft.net>
32438
32439 [BZ #6471]
32440 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32441 for 2.16.
32442
edc21804
DM
324432012-03-16 David S. Miller <davem@davemloft.net>
32444
77e927af
DM
32445 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32446 warnings.
32447
374976dd
DM
32448 [BZ #6471]
32449 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32450 properly.
32451 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32452 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32453 sysdep_routines when subdir is sysvipc.
32454 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32455 __getshmlba helper.
32456
edc21804
DM
32457 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32458
473c3ef3
L
324592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32460
32461 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32462 [__LP64__].
32463
eb0f39b6
L
324642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32465
32466 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32467 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32468 (__lround): Renamed to ...
32469 (__llround): This. Replace long int with long long int.
32470 Define lround functions as aliases of llround functions.
32471 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32472
6b6cd74b
L
324732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32474
32475 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32476 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32477 adresses to uintptr_t. Replace "long int" and "unsigned long
32478 int" with "greg_t" on va_arg.
32479
f1a77b01
L
324802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32481
32482 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32483 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32484
32485 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32486 Move e_machine check before EI_CLASS check. Handle x32
32487 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32488 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32489 SKIP_EM_IA_64 and include
32490 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32491
32492 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32493 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32494 (add_system_dir): New macro.
32495
32496 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32497 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32498
11b90b9f
JM
324992012-03-16 Joseph Myers <joseph@codesourcery.com>
32500
c36e1d23
JM
32501 [BZ #2551]
32502 [BZ #2552]
32503 [BZ #2553]
32504 [BZ #2554]
32505 [BZ #2562]
32506 [BZ #2563]
32507 [BZ #2565]
32508 [BZ #2566]
32509 [BZ #2576]
32510 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32511 (y0): Likewise.
32512 * math/w_j0f.c (j0f): Likewise.
32513 (y0f): Likewise.
32514 * math/w_j0l.c (__j0l): Likewise.
32515 (__y0l): Likewise.
32516 * math/w_j1.c (j1): Likewise.
32517 (y1): Likewise.
32518 * math/w_j1f.c (j1f): Likewise.
32519 (y1f): Likewise.
32520 * math/w_j1l.c (__j1l): Likewise.
32521 (__y1l): Likewise.
32522 * math/w_jn.c (jn): Likewise.
32523 (yn): Likewise.
32524 * math/w_jnf.c (jnf): Likewise.
32525 (ynf): Likewise.
32526 * math/w_jnl.c (__jnl): Likewise.
32527 (__ynl): Likewise.
32528 * math/libm-test.inc (j0_test): Add more tests.
32529 (j1_test): Likewise.
32530 (jn_test): Likewise. Add trailing semicolon to existing test.
32531 (y0_test): Likewise.
32532 (y1_test): Likewise.
32533 * sysdeps/i386/fpu/libm-test-ulps: Update.
32534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32535
11b90b9f
JM
32536 [BZ #13851]
32537 [BZ #13854]
32538 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32539 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32540 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32541 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32542 (__tanl): Set errno for infinite argument.
32543 * sysdeps/i386/fpu/mptan.c: Remove.
32544 * sysdeps/i386/fpu/s_tan.S: Likewise.
32545 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32546 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32547 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32548 * math/libm-test.inc (tan_test): Add more tests and enable more
32549 tests for double and long double.
32550 * sysdeps/i386/fpu/libm-test-ulps: Update.
32551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32552
6a1bd2a1
JK
325532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32554
32555 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32556 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32557
10a803e0
RM
325582012-03-16 Roland McGrath <roland@hack.frob.com>
32559
32560 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32561 * configure.in: Use it for both main tree and add-ons.
32562 * configure: Regenerated.
32563
f196c7f7
L
325642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32565
32566 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32567
8848d99d
JM
325682012-03-16 Joseph Myers <joseph@codesourcery.com>
32569
96cbe7f4
JM
32570 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32571 in comment.
32572
8848d99d
JM
32573 [BZ #13851]
32574 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32575 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32576 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32577 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32578 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32579 infinite argument.
32580 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32582 != 0 for prec == 2.
32583 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32584 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32585 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32586 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32587 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32588 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32589 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32590 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32591 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32592 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32593 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32594 * math/libm-test.inc (cos_test): Add more tests and enable more
32595 tests for long double.
32596 (sin_test): Likewise.
32597 (sincos_test): Likewise.
32598 * sysdeps/i386/fpu/libm-test-ulps: Update.
32599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32600
dd7f4703
DM
326012012-03-16 David S. Miller <davem@davemloft.net>
32602
32603 * sysdeps/sparc/fpu/math_private.h: New file.
32604
006f1daa
DM
326052012-03-15 David S. Miller <davem@davemloft.net>
32606
c0c83bc8
DM
32607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32608 file.
e6a62e18 32609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32611 file.
e6a62e18
DM
32612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32617 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32618 sysdep routines.
32619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32620
88cb87d9
DM
32621 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32622 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32623
006f1daa 32624 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32626 sparc-ifunc.h
006f1daa 32627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32629 Likewise.
32630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32631 Likewise.
006f1daa
DM
32632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32636 Likewise.
006f1daa
DM
32637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32642 Likewise.
32643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32644 Likewise.
006f1daa
DM
32645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32649 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32650 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32651 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32652 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32663 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32664 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32665 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32666 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32667 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32668 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32669
11e0098e
AS
326702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32671
32672 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32673 scaling.
32674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32675
e85b09d0
AJ
326762012-03-15 Andreas Jaeger <aj@suse.de>
32677
32678 [BZ #13852]
32679 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32680 ieee754/flt-32 implementation for sin, cos and sincos.
32681 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32682 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32683 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32684 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32685 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32686 ieee754/flt-32 implementation for tan.
32687
32688 * math/libm-test.inc (cos_test): Enable some large input tests for
32689 float as well
32690 (sin_test): Likewise.
32691 (sincos_test): Likewise.
32692 (tan_test): Add tests for large input.
32693
32694 * sysdeps/i386/fpu/libm-test-ulps: Update.
32695
81c64153
AJ
326962012-03-15 Andreas Jaeger <aj@suse.de>
32697
32698 [BZ #13658]
32699 * math/libm-test.inc (cos_test): Add more test cases.
32700 (sin_test): Likewise.
32701 (sincos_test): Likewise.
32702
7bbfa5c6
AJ
327032012-03-15 Andreas Jaeger <aj@suse.de>
32704
32705 [BZ #13837]
32706 * math/libm-test.inc (cos_test): Add a test case for large input
32707 value.
32708 (sin_test): Likewise.
32709 (sincos_test): Likewise.
32710
327112012-03-15 Andreas Jaeger <aj@suse.de>,
32712 Joseph Myers <joseph@codesourcery.com>
32713
32714 [BZ #13658]
0671f479 32715 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32716 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32717 * sysdeps/i386/fpu/branred.c: Likewise.
32718 * sysdeps/i386/fpu/dosincos.c: Likewise.
32719 * sysdeps/i386/fpu/mpa.c: Likewise.
32720 * sysdeps/i386/fpu/s_cos.S: Likewise.
32721 * sysdeps/i386/fpu/s_sin.S: Likewise.
32722 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32723 * sysdeps/i386/fpu/sincos32.c: Likewise.
32724
32725 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32726 Define.
32727 (libc_feupdateenv_53bit): Define.
32728 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32729 Define.
32730 (libc_feupdateenv_53bit): Define.
32731
32732 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32733 53 bit (without extend i386 double precision).
32734
32735 * math/libm-test.inc (sincos_test): Add tests for large input.
32736 (sin): Likewise.
32737 (cos): Likewise.
32738
32739 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32740
9cad04ea
AS
327412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32742
32743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32744
f7062b9a
DM
327452012-03-15 David S. Miller <davem@davemloft.net>
32746
32747 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32748 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32749 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32750 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32763 file.
f7062b9a 32764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32766 file.
f7062b9a 32767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32769 file.
f7062b9a 32770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32772 file.
f7062b9a
DM
32773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32775 fmin/fmax sysdep routines.
32776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32777
7bd951ff
DM
327782012-03-14 David S. Miller <davem@davemloft.net>
32779
559398ab
DM
32780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32783 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32785 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32786 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32787 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32800 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32801 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32802 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32803 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32804 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32805 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32806 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32807 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32809 routines.
32810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32811 file.
559398ab 32812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32814 file.
559398ab 32815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32817 file.
559398ab 32818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32820 file.
559398ab 32821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32823 file.
559398ab 32824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32826 file.
32827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32828 file.
32829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32830 file.
32831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32832 file.
32833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32834 New file.
32835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32836 file.
32837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32838 file.
559398ab 32839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32841 file.
559398ab 32842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32844 file.
559398ab 32845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32847 file.
559398ab 32848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32850 VIS3 routines.
559398ab
DM
32851
32852 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32853 New file.
32854
5a1c1e32
DM
32855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32856
eae47a36
DM
32857 * sysdeps/sparc/configure.in: New file.
32858 * sysdeps/sparc/configure: Generate.
32859 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32860 * configure: Regenerate.
32861 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32862 * config.make.in (have-as-vis3): New.
32863 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32864 available use -Av9d instead of -Av9a.
32865 * sysdeps/sparc/sparc64/Makefile: Likewise.
32866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32868 New file.
32869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32870 file.
32871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32872 New file.
32873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32874 file.
eae47a36
DM
32875 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32877 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32878 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32879 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32880
c0c83bc8
DM
32881 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32882 fzeros/fnegs to load 0x80000000 into a float register instead of
32883 using the stack.
7bd951ff
DM
32884 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32885
bd951ccb
JM
328862012-03-14 Joseph Myers <joseph@codesourcery.com>
32887
32888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32889 bits/syscall.h.
32890 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32891 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32892 ($(inst_includedir)/bits/syscall.h): Remove rule.
32893 ($(objpfx)bits/syscall.d): Include instead of
32894 $(objpfx)syscall-list.d.
32895 (generated): Change syscall-list.h and syscall-list.d to
32896 bits/syscall.h and bits/syscall.d.
32897
bb4e6db2
RM
328982012-03-14 Roland McGrath <roland@hack.frob.com>
32899
32900 [BZ #13846]
32901 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32902
aa4a2ae1
JM
329032012-03-14 Joseph Myers <joseph@codesourcery.com>
32904
e456826d
JM
32905 [BZ #13841]
32906 * math/s_csqrt.c: Include <float.h>.
32907 (__csqrt): Scale large or subnormal inputs.
32908 * math/s_csqrtf.c: Likewise.
32909 * math/s_csqrtl.c: Likewise.
32910 * math/libm-test.inc (csqrt_test): Add more tests.
32911 * sysdeps/i386/fpu/libm-test-ulps: Update.
32912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32913
aa4a2ae1
JM
32914 [BZ #13840]
32915 * math/libm-test.inc (hypot_test): Add more tests.
32916
7c10fd35
DM
329172012-03-13 David S. Miller <davem@davemloft.net>
32918
32919 [BZ #13840]
32920 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32921 double-precision for the calculation instead of scaling.
32922
f453b98b
JM
329232012-03-13 Joseph Myers <joseph@codesourcery.com>
32924
32925 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32926 manipulate bits before adding and subtracting TWO52[sx].
32927 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32928 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32929 Likewise.
32930 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32931
09a3453f
DM
329322012-03-13 David S. Miller <davem@davemloft.net>
32933
8e59da90
DM
32934 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32935 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32937 rtld-global-offsets.h
32938 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32939
2a8ab7f2
DM
32940 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32941 large parameters.
32942
10f62770
DM
32943 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32944
5f0bdb18
DM
32945 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32946 'err' in the ifdef scope in which it is actually used.
32947
09a3453f
DM
32948 * nss/nss_db/db-init.c: Include string.h
32949
b4b2eb5e
DM
329502012-03-12 David S. Miller <davem@davemloft.net>
32951
98bb2f1c
DM
32952 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32953 masking out of the most significant byte of random value used.
32954 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32955 Fix coding style in previous change.
32956
b4b2eb5e
DM
32957 * sysdeps/unix/sysv/linux/kernel-features.h
32958 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32959 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32960 expression.
32961 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32962 later.
32963
6e226b09
DM
329642012-03-11 David S. Miller <davem@davemloft.net>
32965
a1bcbd40
DM
32966 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32967 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32968 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32969 for 'resultvar' otherwise things get truncated on 64-bit.
32970
cb9d6174
DM
32971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32972 Fix masking out of the most significant byte of random value used.
32973
6e226b09
DM
32974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32975
058c132d
AS
329762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32977
32978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32979
2d2cd515
DM
329802012-03-09 David S. Miller <davem@davemloft.net>
32981
32982 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32983 variables with appropriate CPP guards.
32984 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32985 frame pointer, not the stack pointer. Correct layout comments. Fix test
32986 on resulting framesize and the management of the outregs buffer for pltexit.
32987 Preserve floating point return values across _dl_call_pltexit call.
32988 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32989 framesize and the management of the outregs buffer for pltexit.
32990 Preserve floating point return values across _dl_call_pltexit
32991 call.
32992 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32993 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32994 (print_exit): Fix format string for return register value.
32995
9a07f9d0
JM
329962012-03-10 Joseph Myers <joseph@codesourcery.com>
32997
32998 * sunrpc/Makefile (others): Add rpcgen.
32999 ($(objpfx)rpcgen): Remove special build rule and dependency on
33000 libc.
33001 * sunrpc/rpcgen.c: New file.
33002
547b5e30
PE
330032012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33004
c524201a
PE
33005 [BZ #13673]
33006 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33007 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33008 * sysdeps/i386/crti.S: Likewise.
33009 * sysdeps/i386/crtn.S: Likewise.
33010 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33011 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33012 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33013 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33014 * sysdeps/sh/crti.S: Likewise.
33015 * sysdeps/sh/crtn.S: Likewise.
33016 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33017
7b6235f2
PE
33018 [BZ #13673]
33019 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33020 with URL.
33021 * locale/programs/locfile-kw.gperf: Likewise.
33022 * locale/programs/charmap-kw.h: Regenerated.
33023 * locale/programs/locfile-kw.h: Likewise.
33024
547b5e30
PE
33025 [BZ #13673]
33026 * intl/plural.y: Replace FSF snail mail address with URL.
33027 * intl/plural.c: Regenerated.
33028
5f0a5dae
RH
330292012-03-09 Richard Henderson <rth@twiddle.net>
33030
33031 * include/math_private.h: Remove file.
33032 * math/math_private.h: Move file ...
33033 * sysdeps/generic/math_private.h: ... here.
33034
b8c03620
RH
33035 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33036 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33037 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33038
4e234f5d 33039 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33040 and <math_private.h>.
33041 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33042 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33043 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33044 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33045 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33046 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33047 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33048 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33049 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33050 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33061 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33062 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33063 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33064 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33065 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33066 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33067 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33068 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33069 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33070 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33071 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33073 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33074 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33075 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33076 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33077 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33078 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33079 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33081 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33082 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33083 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33084 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33085 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33086 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33087 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33088 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33089 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33090 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33091 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33092 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33093 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33094 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33095 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33096 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33097 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33098 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33099 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33100 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33101 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33102 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33103 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33104 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33105 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33106 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33107 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33108 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33109 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33110 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33111 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33112 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33113 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33114 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33115 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33116 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33117 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33118 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33119 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33120 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33121 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33122 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33123 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33124 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33125 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33126 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33127 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33128 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33129 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33130 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33131 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33132 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33133 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33134 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33135 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33136 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33137 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33138 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33139 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33140 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33141 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33142 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33143 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33144 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33145 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33146 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33147 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33148 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33149 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33150 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33151 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33152 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33153 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33154 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33155 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33156 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33157 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33158 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33159 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33160 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33161 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33162 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33163 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33164 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33165 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33166 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33167 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33168 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33169 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33170 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33171 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33172 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33173 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33174 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33175 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33176 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33177 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33178 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33179 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33180 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33181 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33182 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33183 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33184 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33185 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33186 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33187 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33188 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33189 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33190 * sysdeps/ieee754/k_standard.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33241 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33242 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33243 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33248 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33252 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33253 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33255 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33256 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33257 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33258 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33261 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33263 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33264 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33265 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33266 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33267 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33268 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33269 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33270 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33271 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33272 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33273 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33274 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33275 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33276 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33277 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33278 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33279 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33280 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33281 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33282 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33283 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33284 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33285 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33286 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33287 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33288 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33289 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33290 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33292 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33293 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33294 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33295 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33296 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33297 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33298 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33299 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33300 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33301 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33302 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33303 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33304 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33305 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33306 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33307 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33308 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33309 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33310 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33311 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33312 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33313 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33314 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33315 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33316 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33317 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33318 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33319 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33320 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33321 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33322 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33323 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33324 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33325 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33326 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33327 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33328 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33329 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33330 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33331 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33332 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33333 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33334 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33335 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33336 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33337 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33338 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33339 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33340 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33341 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33342 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33343 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33344 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33345 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33346 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33347 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33348 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33349 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33350 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33351 * sysdeps/ieee754/s_lib_version.c: Likewise.
33352 * sysdeps/ieee754/s_matherr.c: Likewise.
33353 * sysdeps/ieee754/s_signgam.c: Likewise.
33354 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33355 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33356 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33357 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33358 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33359 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33360 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33361 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33362 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33363 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33364 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33365 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33366 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33367 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33368 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33369 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33370 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33371 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33372 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33373 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33374 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33375
1991fa03
JM
333762012-03-09 Joseph Myers <joseph@codesourcery.com>
33377
33378 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33379 * sunrpc/rpc_main.c: Likewise.
33380 * sunrpc/rpc_svcout.c: Likewise.
33381
60d6f5a6
DM
333822012-03-09 David S. Miller <davem@davemloft.net>
33383
33384 * include/math_private.h: New file.
33385
4962050e
JM
333862012-03-09 Joseph Myers <joseph@codesourcery.com>
33387
02a6f887
JM
33388 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33389 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33390 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33391 from <bits/socket_type.h>.
33392 (enum __socket_type): Don't define here.
33393 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33394 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33395 bits/socket_type.h.
33396
c6e013c1
JM
33397 [BZ #13566]
33398 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33399 checking __USE_GNU.
33400
4962050e
JM
33401 * Makerules ($(inst_includedir)/%.h): New rule.
33402 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33403 (install-others): Remove variable setting.
33404 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33405
38842f45
RH
334062012-03-08 Richard Henderson <rth@twiddle.net>
33407
67bb6da6
RH
33408 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33409 from macro to inline function; merge with the
33410 !__LIBC_INTERNAL_MATH_INLINES version.
33411 (__ieee754_sqrtf): Likewise.
33412
15194b4b
RH
33413 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33414 to inline function.
33415 (__rintf, __floor, __floorf): Likewise.
33416
64e21ede
RH
33417 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33418 macro to inline function.
33419 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33420
38842f45
RH
33421 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33422 not <math/math_private.h>.
33423
c64bf5fe
DM
334242012-03-08 David S. Miller <davem@davemloft.net>
33425
33426 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33427 copyright year.
33428 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33429
82d86f28
TS
334302012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33431
33432 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33433 normalization.
33434 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33435 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33436
aea5d727
UD
334372012-03-08 Ulrich Drepper <drepper@gmail.com>
33438
33439 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33440 be defined individually, they must be defined as a block. Define
33441 S for printing a string instead of hidint the different by using a
33442 macro for adding the 'l'.
33443 * stdio-common/tst-fphex-wide.c: Adjust.
33444
70bca0a3
MP
334452012-03-07 Marek Polacek <polacek@redhat.com>
33446
33447 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33448
65b81130
MP
334492012-03-08 Marek Polacek <polacek@redhat.com>
33450
33451 [BZ #13806]
33452 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33453 * stdio-common/tst-fphex.c: Define a few macros to make the
33454 test reusable. Use them.
33455 * stdio-common/tst-fphex-wide.c: New file.
33456
07037eeb
JM
334572012-03-08 Joseph Myers <joseph@codesourcery.com>
33458
a7a93d50
JM
33459 [BZ #6911]
33460 * manual/macros.texi (gnusystems): New macro.
33461 (nongnusystems): Likewise.
33462 (gnulinuxhurdsystems): Likewise.
33463 (gnuhurdsystems): Likewise..
33464 (gnulinuxsystems): Likewise.
33465 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33466 variants of the GNU system, not "GNU system".
33467 * manual/conf.texi: Likewise.
33468 * manual/errno.texi: Likewise. Update example of errno macro
33469 expansion.
33470 * manual/filesys.texi: Likewise.
33471 (getumask): Document as specific to GNU/Hurd.
33472 * manual/install.texi: Likewise. Reword some references to
33473 GNU/Linux.
33474 * manual/intro.texi: Likewise.
33475 * manual/io.texi: Likewise.
33476 (File Name Portability): Detail which constraints are inapplicable
33477 to all GNU systems and which are only inapplicable to GNU/Hurd.
33478 * manual/job.texi: Likewise.
33479 * manual/llio.texi: Likewise.
33480 (O_NOCTTY): Document as present on GNU/Linux.
33481 * manual/maint.texi: Likewise.
33482 * manual/memory.texi: Likewise.
33483 * manual/pattern.texi: Likewise.
33484 * manual/pipe.texi: Likewise.
33485 * manual/process.texi: Likewise.
33486 * manual/resource.texi: Likewise.
33487 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33488 child on GNU/Hurd.
33489 * manual/setjmp.texi: Likewise.
33490 * manual/signal.texi: Likewise.
33491 * manual/startup.texi: Likewise.
33492 * manual/stdio.texi: Likewise.
33493 * manual/terminal.texi: Likewise.
33494 (ONLCR): Document as POSIX.
33495 (OXTABS): Document availability on GNU/Linux as XTABS.
33496 (ONOEOT): Document availability separately from other bits.
33497 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33498 * manual/time.texi: Likewise.
33499 * manual/users.texi: Likewise.
33500 * INSTALL: Regenerated.
33501 * sysdeps/gnu/errlist.c: Regenerated.
33502
07037eeb
JM
33503 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33504 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33505 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33506 puts.
33507 * configure: Regenerated.
33508
d1d3431a
JM
335092012-03-07 Joseph Myers <joseph@codesourcery.com>
33510
af6a1e37
JM
33511 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33512 default includes instead of AC_HEADER_CHECK.
33513 * sysdeps/i386/configure: Regenerated.
33514
d1d3431a
JM
33515 [BZ #10716]
33516 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33517 * math/s_cacoshf.c (__cacoshf): Likewise.
33518 * math/s_cacoshl.c (__cacoshl): Likewise.
33519 * math/s_casinh.c (__casinh): Set signs of result from argument.
33520 * math/s_casinhf.c (__casinhf): Likewise.
33521 * math/s_casinhl.c (__casinhl): Likewise.
33522 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33523 (casinh_test): Add more tests.
33524 * sysdeps/i386/fpu/libm-test-ulps: Update.
33525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33526
482ff4da
UD
335272012-03-07 Ulrich Drepper <drepper@gmail.com>
33528
872fda05
UD
33529 * po/zh_TW.po: Update from translation team.
33530
a4300c7a
UD
33531 * login/Makefile (distribute): Remove variable.
33532 * catgets/Makefile: Likewise.
33533 * mach/Makefile: Likewise.
33534 * malloc/Makefile: Likewise.
33535 * misc/Makefile: Likewise.
33536 * iconv/Makefile: Likewise.
33537 * nscd/Makefile: Likewise.
33538 * hurd/Makefile: Likewise.
33539 * manual/Makefile: Likewise.
33540 * locale/Makefile: Likewise.
33541 * intl/Makefile: Likewise.
33542 * conform/Makefile: Likewise.
33543 * nss/Makefile: Likewise.
33544 * time/Makefile: Likewise.
33545 * soft-fp/Makefile: Likewise.
33546 * dirent/Makefile: Likewise.
33547 * gmon/Makefile: Likewise.
33548 * po/Makefile: Likewise.
33549 * rt/Makefile: Likewise.
33550 * socket/Makefile: Likewise.
33551 * math/Makefile: Likewise.
33552 * signal/Makefile: Likewise.
33553 * debug/Makefile: Likewise.
33554 * elf/Makefile: Likewise.
33555 * timezone/Makefile: Likewise.
33556 * stdlib/Makefile: Likewise.
33557 * iconvdata/Makefile: Likewise.
33558 * sunrpc/Makefile: Likewise.
33559 * io/Makefile: Likewise.
33560 * argp/Makefile: Likewise.
33561 * inet/Makefile: Likewise.
33562 * hesiod/Makefile: Likewise.
33563 * grp/Makefile: Likewise.
33564 * csu/Makefile: Likewise.
33565 * wctype/Makefile: Likewise.
33566 * crypt/Makefile: Likewise.
33567 * libio/Makefile: Likewise.
33568 * string/Makefile: Likewise.
33569 * nis/Makefile: Likewise.
33570 * resolv/Makefile: Likewise.
33571 * stdio-common/Makefile: Likewise.
33572 * wcsmbs/Makefile: Likewise.
33573 * dlfcn/Makefile: Likewise.
33574 * posix/Makefile: Likewise.
33575
3b7c4e74 33576 [BZ #6959]
482ff4da
UD
33577 * timezone/Makefile: Don't install timezone files, just the programs
33578 and scripts.
33579
f72ed77d
UD
335802012-03-06 Ulrich Drepper <drepper@gmail.com>
33581
a000466f
UD
33582 * nss/databases.def: Add missing gshadow entry.
33583
f72ed77d
UD
33584 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33585
a53b7a4e
MP
335862012-03-06 Marek Polacek <polacek@redhat.com>
33587
33588 [BZ #13726]
33589 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33590 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33591 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33592 * stdio-common/tst-long-dbl-fphex.c: New file.
33593
e9258400
DM
335942012-03-06 David S. Miller <davem@davemloft.net>
33595
33596 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33597 (set_obp_int): New function.
33598 (get_obp_int): New function.
33599 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33600 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33601 Avoid unused variable warnings on 'val' and use builtin_expect.
33602 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33603 __builtin_expect.
e9258400
DM
33604 (INLINE_CLONE_SYSCALL): Likewise.
33605
3bd2c723
DM
336062012-03-05 David S. Miller <davem@davemloft.net>
33607
33608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33609
bbb78d03
AS
336102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33611
884c5db4
AS
33612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33613
bbb78d03
AS
33614 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33615 only for |x| >= 40.
33616 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33617
1c9f702a 336182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33619
33620 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33621 Replace gettimeofday with __vdso_gettimeofday.
33622
7be16f82
RM
33623 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33624 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33625 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33626
33627 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33628 time with __vdso_time.
33629
ed58a00f
JM
336302012-03-05 Joseph Myers <joseph@codesourcery.com>
33631
33632 * manual/lang.texi (size_t): Note types to which size_t may be
33633 equivalent with the GNU C Library, but do not describe when
33634 differences between them are significant.
33635
30ee4ced
AJ
336362012-03-05 Andreas Jaeger <aj@suse.de>
33637
33638 * sysdeps/i386/fpu/libm-test-ulps: Update.
33639
b7cd39e8
JM
336402012-03-05 Joseph Myers <joseph@codesourcery.com>
33641
33642 [BZ #3976]
33643 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33644 (__ieee754_pow): Save and restore rounding mode and use
33645 round-to-nearest for main computations.
33646 * math/libm-test.inc (pow_test_tonearest): New function.
33647 (pow_test_towardzero): Likewise.
33648 (pow_test_downward): Likewise.
33649 (pow_test_upward): Likewise.
33650 (main): Call the new functions.
33651 * sysdeps/i386/fpu/libm-test-ulps: Update.
33652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33653
33654 [BZ #3976]
33655 * math/libm-test.inc (cosh_test_tonearest): New function.
33656 (cosh_test_towardzero): Likewise.
33657 (cosh_test_downward): Likewise.
33658 (cosh_test_upward): Likewise.
33659 (sinh_test_tonearest): Likewise.
33660 (sinh_test_towardzero): Likewise.
33661 (sinh_test_downward): Likewise.
33662 (sinh_test_upward): Likewise.
33663 (main): Call the new functions.
33664 * sysdeps/i386/fpu/libm-test-ulps: Update.
33665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33666
6c6a98c9
TV
336672012-03-05 Tom de Vries <tom@codesourcery.com>
33668
33669 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33670 default stack guard is set in last bytes.
33671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33672
21bb2d2e 336732012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33674
21bb2d2e 33675 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33676
21bb2d2e
AJ
33677 [BZ #13656]
33678 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33679 possibly allocate from heap instead of stack.
33680 * stdio-common/bug-vfprintf-nargs.c: New file.
33681 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33682
c6922934
AS
336832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33684
33685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33686
bc957d53
MP
336872012-03-03 Marek Polacek <polacek@redhat.com>
33688
33689 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33690 * math/math_private.h: Likewise.
33691 * stdlib/tst-strtod.c: Likewise.
33692 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33693 * sysdeps/x86_64/bits/atomic.h: Likewise.
33694
6358490d
DM
336952012-03-02 David S. Miller <davem@davemloft.net>
33696
33697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33701 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33702 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33703 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33704 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33705
01ae168d
RM
337062012-03-02 Roland McGrath <roland@hack.frob.com>
33707
d9a17c07
RM
33708 [BZ #13792]
33709 * manual/examples/README: New file, says the example source files
33710 can be used under GPL>=2.
33711 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33712 line containing just "*/".
33713 * manual/examples/add.c: Add copyright header (GPL>=2).
33714 * manual/examples/argp-ex1.c: Likewise.
33715 * manual/examples/argp-ex2.c: Likewise.
33716 * manual/examples/argp-ex3.c: Likewise.
33717 * manual/examples/argp-ex4.c: Likewise.
33718 * manual/examples/atexit.c: Likewise.
33719 * manual/examples/db.c: Likewise.
33720 * manual/examples/dir.c: Likewise.
33721 * manual/examples/dir2.c: Likewise.
33722 * manual/examples/execinfo.c: Likewise.
33723 * manual/examples/filecli.c: Likewise.
33724 * manual/examples/filesrv.c: Likewise.
33725 * manual/examples/fmtmsgexpl.c: Likewise.
33726 * manual/examples/genpass.c: Likewise.
33727 * manual/examples/inetcli.c: Likewise.
33728 * manual/examples/inetsrv.c: Likewise.
33729 * manual/examples/isockad.c: Likewise.
33730 * manual/examples/longopt.c: Likewise.
33731 * manual/examples/memopen.c: Likewise.
33732 * manual/examples/memstrm.c: Likewise.
33733 * manual/examples/mkfsock.c: Likewise.
33734 * manual/examples/mkisock.c: Likewise.
33735 * manual/examples/mygetpass.c: Likewise.
33736 * manual/examples/pipe.c: Likewise.
33737 * manual/examples/popen.c: Likewise.
33738 * manual/examples/rprintf.c: Likewise.
33739 * manual/examples/search.c: Likewise.
33740 * manual/examples/select.c: Likewise.
33741 * manual/examples/setjmp.c: Likewise.
33742 * manual/examples/sigh1.c: Likewise.
33743 * manual/examples/sigusr.c: Likewise.
33744 * manual/examples/stpcpy.c: Likewise.
33745 * manual/examples/strdupa.c: Likewise.
33746 * manual/examples/strftim.c: Likewise.
33747 * manual/examples/strncat.c: Likewise.
33748 * manual/examples/subopt.c: Likewise.
33749 * manual/examples/swapcontext.c: Likewise.
33750 * manual/examples/termios.c: Likewise.
33751 * manual/examples/testopt.c: Likewise.
33752 * manual/examples/testpass.c: Likewise.
33753 * manual/examples/timeval_subtract.c: Likewise.
33754
01ae168d
RM
33755 [BZ #13792]
33756 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33757 function to ...
33758 * manual/timeval_subtract.c.texi: ... here, new file.
33759
49efa33d
DM
337602012-03-02 David S. Miller <davem@davemloft.net>
33761
33762 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33763
28afd92d
JM
337642012-03-02 Joseph Myers <joseph@codesourcery.com>
33765
804360ed
JM
33766 [BZ #3976]
33767 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33768 (__sin): Save and restore rounding mode and use round-to-nearest
33769 for all computations.
33770 (__cos): Save and restore rounding mode and use round-to-nearest
33771 for all computations.
33772 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33773 <fenv.h>.
33774 (tan): Save and restore rounding mode and use round-to-nearest for
33775 all computations.
33776 * math/libm-test.inc (cos_test_tonearest): New function.
33777 (cos_test_towardzero): Likewise.
33778 (cos_test_downward): Likewise.
33779 (cos_test_upward): Likewise.
33780 (sin_test_tonearest): Likewise.
33781 (sin_test_towardzero): Likewise.
33782 (sin_test_downward): Likewise.
33783 (sin_test_upward): Likewise.
33784 (tan_test_tonearest): Likewise.
33785 (tan_test_towardzero): Likewise.
33786 (tan_test_downward): Likewise.
33787 (tan_test_upward): Likewise.
33788 (main): Call the new functions.
33789 * sysdeps/i386/fpu/libm-test-ulps: Update.
33790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33791
a6d06d7b
JM
33792 [BZ #10135]
33793 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33794 small n, then large n, before computing and testing k+n.
33795 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33797 Likewise.
33798 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33799 Likewise.
33800 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33801 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33802 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33803 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33804 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33805 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33806 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33807 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33808 * math/libm-test.inc (scalbn_test): Add more tests.
33809 (scalbln_test): Likewise.
33810
07e12bb3
JM
33811 * manual/filesys.texi (mode_t): Describe constraints on size and
33812 signedness, not exact equivalence to a particular type.
33813 (ino_t): Likewise.
33814 (ino64_t): Likewise.
33815 (dev_t): Likewise.
33816 (nlink_t): Likewise.
33817 (blkcnt_t): Likewise.
33818 (blkcnt64_t): Likewise.
33819 * manual/llio.texi (off_t): Likewise.
33820
28afd92d
JM
33821 [BZ #3976]
33822 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33823 (__ieee754_exp): Save and restore rounding mode and use
33824 round-to-nearest for all computations.
33825 * math/libm-test.inc (exp_test_tonearest): New function.
33826 (exp_test_towardzero): Likewise.
33827 (exp_test_downward): Likewise.
33828 (exp_test_upward): Likewise.
33829 (main): Call the new functions.
33830 * sysdeps/i386/fpu/libm-test-ulps: Update.
33831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33832
b1eeb65d
CD
338332012-03-01 Chris Demetriou <cgd@google.com>
33834
33835 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33836 have predictable order.
33837
53362a4b
DM
338382012-03-01 David S. Miller <davem@davemloft.net>
33839
3c969083
DM
33840 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33841
759707de
DM
33842 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33843 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33844 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33845 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33846
dfdb8ff2
DM
33847 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33848 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33849 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33851 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33852 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33853 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33854 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33855 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33856
ead89f96
DM
33857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33858
7f66bd07
DM
33859 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33860 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33861 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33862
53362a4b
DM
33863 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33864 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33865 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33866 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33867 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33868 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33869 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33870 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33871 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33872 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33873 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33874 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33875 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33876 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33877 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33878 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33879 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33880 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33881 * sysdeps/sparc/elf/configure: Regenerated.
33882
7b1902cb
JM
338832012-03-01 Joseph Myers <joseph@codesourcery.com>
33884
bec039bc
JM
33885 * configure.in (AS, LD): Require binutils 2.20 or later.
33886 * configure: Regenerated.
33887 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33888 as required minimum version.
33889 * INSTALL: Regenerated.
33890
7b1902cb
JM
33891 [BZ #2541]
33892 [BZ #4108]
33893 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33894 before squaring exponent.
33895 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33896 bottom long double and 27 bits of top long double before squaring
33897 exponent.
33898 * math/libm-test.inc (erfc_test): Add more tests.
33899 * sysdeps/i386/fpu/libm-test-ulps: Update.
33900 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33902
f775c276
KT
339032012-03-01 Kai Tietz <ktietz@redhat.com>
33904
33905 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33906 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33907 containing bit-fields.
33908 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33909 * soft-fp/single.h (_FP_UNION_S): Likewise.
33910 * soft-fp/double.h (_FP_UNION_D): Likewise.
33911
5b8a4d4a
JM
339122012-02-29 Joseph Myers <joseph@codesourcery.com>
33913
0bab47b6
JM
33914 [BZ #13786]
33915 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33916 not include ../strcmp.S.
33917 [USE_AS_STRNCASECMP_L]: Likewise.
33918 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33919 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33920 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33921 (__strncasecmp_l_ia32): Define as alias to
33922 __strncasecmp_l_nonascii.
33923
0fcad3e2
JM
33924 [BZ #5794]
33925 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33926 * sysdeps/i386/fpu/libm-test-ulps: Update.
33927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33928
5b8a4d4a
JM
33929 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33931
8fdceb2e
JL
339322012-02-29 Jeff Law <law@redhat.com>
33933
33934 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33935 out of bounds read.
33936
1f393a11
MP
339372012-02-29 Marek Polacek <polacek@redhat.com>
33938
33939 [BZ #13706]
33940 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33941 * elf/Makefile: Add rules to run tst-unused-dep.out.
33942
8847f037
DM
339432012-02-28 David S. Miller <davem@davemloft.net>
33944
33945 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33946 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33947 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33948 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33949 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33950 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33951
169d7f11
JM
339522012-02-29 Joseph Myers <joseph@codesourcery.com>
33953
33954 * math/libm-test.inc (llround_test): Move one test from
33955 lround_test. Use TEST_f_L in moved test.
33956 (lround_test): Move misplaced test to llround_test. Add testcase
33957 from bug 2561.
33958
39adf059
UD
339592012-02-28 Ulrich Drepper <drepper@gmail.com>
33960
33961 * sysdeps/x86_64/fpu/e_expf.S: New file.
33962 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33963
71b5d1c5
SB
339642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33965
33966 [BZ #13637]
33967 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33968 of remain_len that may cause incomplete multi-byte character and
33969 false match.
33970 * posix/bug-regex33.c: New file.
33971 * posix/Makefile (tests): Add bug-regex33.
33972
1f77f049
JM
339732012-02-28 Joseph Myers <joseph@codesourcery.com>
33974
33975 * manual/macros.texi: New file.
33976 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33977 * manual/libc.texinfo: Include macros.texi.
33978 * manual/creatute.texi: Likewise.
33979 * manual/install.texi: Likewise.
33980 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33981 @glibcadj{} in references to the GNU C Library.
33982 * manual/charset.texi: Likewise.
33983 * manual/conf.texi: Likewise.
33984 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33985 when not using those macros.
33986 * manual/creature.texi: Likewise.
33987 * manual/crypt.texi: Likewise.
33988 * manual/errno.texi: Likewise.
33989 * manual/filesys.texi: Likewise.
33990 * manual/header.texi: Likewise.
33991 * manual/install.texi: Likewise.
33992 * manual/intro.texi: Likewise.
33993 * manual/io.texi: Likewise.
33994 * manual/job.texi: Likewise.
33995 * manual/lang.texi: Likewise.
33996 * manual/libc.texiinfo: Likewise.
33997 * manual/llio.texi: Likewise.
33998 * manual/locale.texi: Likewise.
33999 * manual/maint.texi: Likewise.
34000 * manual/math.texi: Likewise.
34001 * manual/memory.texi: Likewise.
34002 * manual/message.texi: Likewise.
34003 * manual/nss.texi: Likewise.
34004 * manual/pattern.texi: Likewise.
34005 * manual/process.texi: Likewise.
34006 * manual/resource.texi: Likewise.
34007 * manual/search.texi: Likewise.
34008 * manual/setjmp.texi: Likewise.
34009 * manual/signal.texi: Likewise.
34010 * manual/socket.texi: Likewise.
34011 * manual/startup.texi: Likewise.
34012 * manual/stdio.texi: Likewise.
34013 * manual/string.texi: Likewise.
34014 * manual/sysinfo.texi: Likewise.
34015 * manual/syslog.texi: Likewise.
34016 * manual/terminal.texi: Likewise.
34017 * manual/time.texi: Likewise.
34018 * manual/users.texi: Likewise.
34019 * INSTALL: Regenerated.
34020 * NOTES: Regenerated.
d40c5d54 34021 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34022
450bf206
AS
340232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34024
34025 * include/dirent.h: Include <dirstream.h> before
34026 <dirent/dirent.h>.
34027
741a235b
DM
340282012-02-28 David S. Miller <davem@davemloft.net>
34029
34030 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34031 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34032 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34033 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34034
d6b5aa58
DM
340352012-02-27 David S. Miller <davem@davemloft.net>
34036
1aff59a3
DM
34037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34039 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34040 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34041
d6b5aa58
DM
34042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34043 frame pointer instead of stack pointer relative arg slot.
34044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34045 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34046 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34047
433f48bf
CD
340482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34049
34050 [BZ #3992]
34051 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34052
d674b76d
DM
340532012-02-27 David S. Miller <davem@davemloft.net>
34054
34055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34059 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34060 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34061 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34062 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34063
0e7727f7
JM
340642012-02-27 Joseph Myers <joseph@codesourcery.com>
34065
34066 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34067 later. Allow versions 5-9.
43be4ca2 34068 * configure: Regenerated.
0e7727f7
JM
34069 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34070 required minimum version and 4.6 as recommended version. Do not
34071 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34072 * INSTALL: Regenerated.
0e7727f7 34073
a78bc654
DM
340742012-02-27 David S. Miller <davem@davemloft.net>
34075
428d5830
DM
34076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34080 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34081 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34082 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34083 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34084
a78bc654
DM
34085 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34086 manipulate bits before adding and subtracting TWO112[sx].
34087 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34088
4579f81c
RM
340892012-02-27 Roland McGrath <roland@hack.frob.com>
34090
36c8acb4
RM
34091 [BZ #13775]
34092 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34093 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34094 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34095 being in POSIX, because they are in 1003.1-2008.
34096
84ad622b
RM
34097 * rt/tst-aio.c: Include <fcntl.h>.
34098 * rt/tst-aio7.c: Likewise.
34099 * rt/tst-aio64.c: Likewise.
34100
4579f81c
RM
34101 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34102
abd923db
JM
341032012-02-27 Joseph Myers <joseph@codesourcery.com>
34104
34105 * manual/install.texi (--with-headers): Describe headers as
34106 interface headers, not private headers.
34107 (Specific advice for GNU/Linux systems): Describe use of headers
34108 from "make headers_install", not private headers from older
34109 kernels.
43be4ca2 34110 * INSTALL: Regenerated.
abd923db
JM
34111 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34112 Change to 2.6.19.
34113 * sysdeps/unix/sysv/linux/configure: Regenerated.
34114
6664049b
JM
34115 * manual/llio.texi (fclean): Remove documentation.
34116
bb8b6697
JM
34117 * manual/Makefile (libc-texi-generated): New variable. Include
34118 version.texi.
34119 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34120 $(libc-texi-generated), not duplicated list of files.
34121 (version.texi, stamp-version): New rules.
34122 (realclean): Remove $(libc-texi-generated), not individual files
34123 from that list. Do not remove dir-add.texinfo.
34124 * manual/libc.texinfo: Comment out uses of edition numbers and
34125 references to printed manual. Remove last-updated dates.
34126 (EDITION): Comment out.
34127 (ISBN): Likewise.
34128 (VERSION, UPDATED): Remove.
34129 (version.texi): Include.
34130
12e5c3b9
AS
341312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34132
34133 * sysdeps/posix/spawni.c: Include <signal.h>.
34134 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34135 * sysdeps/pthread/aio_fsync.c: Likewise.
34136
4efeffc1 341372012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34138
ba63ba08
UD
34139 * conform/Makefile (tests): Run only when not cross-compiling and
34140 when fast-check is not defined.
34141
d94a4670
UD
34142 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34143 * conform/data/limits.h-data: Fixes for POSIX2008.
34144 * conform/run-conformtest.sh: Run all tests.
34145 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34146 headers.
34147 * include/bits/dlfcn.h: Likewise.
34148 * include/langinfo.h: Likewise.
34149 * include/monetary.h: Likewise.
34150 * include/sys/poll.h: Likewise.
34151
34152 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34153 for __USE_GNU.
34154 * posix/spawn.h: Define __need_sigset_t.
34155 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34156 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34157 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34158 to get sigevent_t only.
34159 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34160 only for __USE_GNU.
34161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34162 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34163 process_vm_writev only for __USE_GNU.
34164 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34165
34166 * conform/Makefile: For now ignore errors from run-conformtest.
34167 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34168 POSIX to avoid namespace pollution. Don't prepend headers.
34169 * conform/data/aio.h-data: Fixes for POSIX testing.
34170 * conform/data/fcntl.h-data: Likewise.
34171 * conform/data/glob.h-data: Likewise.
34172 * conform/data/grp.h-data: Likewise.
34173 * conform/data/pthread.h-data: Likewise.
34174 * conform/data/pwd.h-data: Likewise.
34175 * conform/data/signal.h-data: Likewise.
34176 * conform/data/spawn.h-data: Likewise.
34177 * conform/data/stdio.h-data: Likewise.
34178 * conform/data/stdlib.h-data: Likewise.
34179 * conform/data/stropts.h-data: Likewise.
34180 * conform/data/sys/mman.h-data: Likewise.
34181 * conform/data/sys/stat.h-data: Likewise.
34182 * conform/data/sys/types.h-data: Likewise.
34183 * conform/data/sys/wait.h-data: Likewise.
34184 * conform/data/time.h-data: Likewise.
34185 * conform/data/unistd.h-data: Likewise.
34186 * conform/data/utime.h-data: Likewise.
34187
34188 * io/sys/stat.h: fchmod was always in POSIX.
34189 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34190 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34191 * rt/aio.h: Define __need_timespec before including <time.h>.
34192 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34193 struct. Add forward declaration of pthread_attr_t and use it in
34194 sigevent.
34195 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34196 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34197 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34198 always remove CLK_TCK definition.
34199
c20105c3
AS
342002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34201
34202 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34203
7a270350
UD
342042012-02-25 Ulrich Drepper <drepper@gmail.com>
34205
31341567
UD
34206 * conform/run-conformtest.sh: New file.
34207 * conform/Makefile: Run run-conformtest for tests.
34208 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34209 support.
34210
34211 * conform/data/uchar.h-data: New file.
34212 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34213 * conform/data/arpa/inet.h-data: Likewise.
34214 * conform/data/assert.h-data: Likewise.
34215 * conform/data/complex.h-data: Likewise.
34216 * conform/data/cpio.h-data: Likewise.
34217 * conform/data/ctype.h-data: Likewise.
34218 * conform/data/dirent.h-data: Likewise.
34219 * conform/data/dlfcn.h-data: Likewise.
34220 * conform/data/errno.h-data: Likewise.
34221 * conform/data/fcntl.h-data: Likewise.
34222 * conform/data/float.h-data: Likewise.
34223 * conform/data/fmtmsg.h-data: Likewise.
34224 * conform/data/fnmatch.h-data: Likewise.
34225 * conform/data/ftw.h-data: Likewise.
34226 * conform/data/glob.h-data: Likewise.
34227 * conform/data/grp.h-data: Likewise.
34228 * conform/data/iconv.h-data: Likewise.
34229 * conform/data/inttypes.h-data: Likewise.
34230 * conform/data/langinfo.h-data: Likewise.
34231 * conform/data/libgen.h-data: Likewise.
34232 * conform/data/limits.h-data: Likewise.
34233 * conform/data/locale.h-data: Likewise.
34234 * conform/data/math.h-data: Likewise.
34235 * conform/data/monetary.h-data: Likewise.
34236 * conform/data/mqueue.h-data: Likewise.
34237 * conform/data/ndbm.h-data: Likewise.
34238 * conform/data/net/if.h-data: Likewise.
34239 * conform/data/netdb.h-data: Likewise.
34240 * conform/data/netinet/in.h-data: Likewise.
34241 * conform/data/nl_types.h-data: Likewise.
34242 * conform/data/poll.h-data: Likewise.
34243 * conform/data/pthread.h-data: Likewise.
34244 * conform/data/pwd.h-data: Likewise.
34245 * conform/data/regex.h-data: Likewise.
34246 * conform/data/sched.h-data: Likewise.
34247 * conform/data/search.h-data: Likewise.
34248 * conform/data/semaphore.h-data: Likewise.
34249 * conform/data/setjmp.h-data: Likewise.
34250 * conform/data/signal.h-data: Likewise.
34251 * conform/data/spawn.h-data: Likewise.
34252 * conform/data/stdarg.h-data: Likewise.
34253 * conform/data/stdio.h-data: Likewise.
34254 * conform/data/stdlib.h-data: Likewise.
34255 * conform/data/string.h-data: Likewise.
34256 * conform/data/strings.h-data: Likewise.
34257 * conform/data/stropts.h-data: Likewise.
34258 * conform/data/sys/ipc.h-data: Likewise.
34259 * conform/data/sys/mman.h-data: Likewise.
34260 * conform/data/sys/msg.h-data: Likewise.
34261 * conform/data/sys/resource.h-data: Likewise.
34262 * conform/data/sys/select.h-data: Likewise.
34263 * conform/data/sys/sem.h-data: Likewise.
34264 * conform/data/sys/shm.h-data: Likewise.
34265 * conform/data/sys/socket.h-data: Likewise.
34266 * conform/data/sys/stat.h-data: Likewise.
34267 * conform/data/sys/statvfs.h-data: Likewise.
34268 * conform/data/sys/time.h-data: Likewise.
34269 * conform/data/sys/timeb.h-data: Likewise.
34270 * conform/data/sys/times.h-data: Likewise.
34271 * conform/data/sys/types.h-data: Likewise.
34272 * conform/data/sys/uio.h-data: Likewise.
34273 * conform/data/sys/un.h-data: Likewise.
34274 * conform/data/sys/utsname.h-data: Likewise.
34275 * conform/data/sys/wait.h-data: Likewise.
34276 * conform/data/syslog.h-data: Likewise.
34277 * conform/data/tar.h-data: Likewise.
34278 * conform/data/termios.h-data: Likewise.
34279 * conform/data/utime.h-data: Likewise.
34280 * conform/data/utmpx.h-data: Likewise.
34281 * conform/data/varargs.h-data: Likewise.
34282 * conform/data/wchar.h-data: Likewise.
34283 * conform/data/wctype.h-data: Likewise.
34284 * conform/data/wordexp.h-data: Likewise.
34285
34286 * include/stropts.h: New file.
34287 * include/uchar.h: New file.
34288 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34289 * include/assert.h: Likewise.
34290 * include/ctype.h: Likewise.
34291 * include/dirent.h: Likewise.
34292 * include/dlfcn.h: Likewise.
34293 * include/fcntl.h: Likewise.
34294 * include/fnmatch.h: Likewise.
34295 * include/glob.h: Likewise.
34296 * include/grp.h: Likewise.
34297 * include/libio.h: Likewise.
34298 * include/locale.h: Likewise.
34299 * include/math.h: Likewise.
34300 * include/net/if.h: Likewise.
34301 * include/netdb.h: Likewise.
34302 * include/netinet/in.h: Likewise.
34303 * include/pthread.h: Likewise.
34304 * include/pwd.h: Likewise.
34305 * include/regex.h: Likewise.
34306 * include/sched.h: Likewise.
34307 * include/search.h: Likewise.
34308 * include/setjmp.h: Likewise.
34309 * include/signal.h: Likewise.
34310 * include/stdio.h: Likewise.
34311 * include/stdlib.h: Likewise.
34312 * include/string.h: Likewise.
34313 * include/sys/cdefs.h: Likewise.
34314 * include/sys/mman.h: Likewise.
34315 * include/sys/msg.h: Likewise.
34316 * include/sys/resource.h: Likewise.
34317 * include/sys/select.h: Likewise.
34318 * include/sys/socket.h: Likewise.
34319 * include/sys/stat.h: Likewise.
34320 * include/sys/statvfs.h: Likewise.
34321 * include/sys/time.h: Likewise.
34322 * include/sys/times.h: Likewise.
34323 * include/sys/uio.h: Likewise.
34324 * include/sys/utsname.h: Likewise.
34325 * include/sys/wait.h: Likewise.
34326 * include/termios.h: Likewise.
34327 * include/time.h: Likewise.
34328 * include/ulimit.h: Likewise.
34329 * include/unistd.h: Likewise.
34330 * include/utime.h: Likewise.
34331 * include/wchar.h: Likewise.
34332 * include/wctype.h: Likewise.
34333 * include/wordexp.h: Likewise.
34334
34335 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34336
7a270350
UD
34337 * time/time.h: TIME_UTC must be a macro.
34338 Make timespec_get available for ISO C11 only as well.
34339
7724defc
UD
343402012-02-24 Ulrich Drepper <drepper@gmail.com>
34341
34342 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34343 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34344
6b1d1d46
JM
343452012-02-24 Joseph Myers <joseph@codesourcery.com>
34346
34347 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34348
0f8bbd69
JM
343492012-02-24 Joseph Myers <joseph@codesourcery.com>
34350
34351 * manual/texinfo.tex: Update to version 2012-01-19.16.
34352
66ab80bc
JM
343532012-02-24 Joseph Myers <joseph@codesourcery.com>
34354
34355 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34356
74981cc5
RM
343572012-02-24 Roland McGrath <roland@hack.frob.com>
34358
ee968201
RM
34359 [BZ #13738]
34360 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34361 * manual/fdl-1.3.texi: New file.
34362 * manual/fdl-1.1.texi: File removed.
34363
74981cc5
RM
34364 [BZ #13738]
34365 * manual/libc.texinfo (FDL_VERSION): New @set.
34366 Use it for mention of FDL in cover text.
34367 (Documentation License): Use it in @include file name.
34368
7bb764bc
JM
343692012-02-22 Joseph Myers <joseph@codesourcery.com>
34370 Roland McGrath <roland@hack.frob.com>
34371
34372 [BZ #5461]
34373 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34374 not LONG_LONG_MAX and LONG_LONG_MIN.
34375 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34376 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34377 name.
34378 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34379
6cbeae47
JM
343802012-02-22 Joseph Myers <joseph@codesourcery.com>
34381
34382 [BZ #2547]
34383 [BZ #11365]
34384 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34385 manipulate bits before adding and subtracting TWO23[sx].
34386 * math/libm-test.inc (nearbyint_test): Add more tests.
34387
fe45ce09
JM
343882012-02-22 Joseph Myers <joseph@codesourcery.com>
34389
34390 [BZ #2548]
34391 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34392 bits before adding and subtracting TWO23[sx].
34393 * math/libm-test.inc (rint_test): Add more tests.
34394 (rint_test_tonearest): Likewise.
34395 (rint_test_towardzero): Likewise.
34396 (rint_test_downward): Likewise.
34397 (rint_test_upward: Likewise.
34398
ff3b3d82
JM
343992012-02-22 Joseph Myers <joseph@codesourcery.com>
34400
34401 [BZ #10110]
34402 * include/stdc-predef.h: New file. Extracted from features.h.
34403 * include/features.h: Include stdc-predef.h.
34404 * Makefile (headers): Add stdc-predef.h.
34405 * CONFORMANCE (Compiler limitations): Update.
34406
ef0aab35
JM
344072012-02-22 Joseph Myers <joseph@codesourcery.com>
34408
34409 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34410
58639409
DM
344112012-02-21 David S. Miller <davem@davemloft.net>
34412
34413 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34414 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34415
c0e70b25
DM
344162012-02-20 David S. Miller <davem@davemloft.net>
34417
34418 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34419 using a normal save/restore sequence, rather than allocating a
34420 dummy stack frame just to store a frame pointer and restore.
34421 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34422
fb06851d
JM
344232012-02-21 Joseph Myers <joseph@codesourcery.com>
34424
34425 * manual/install.texi: Fix stray word in line-wrapped comment.
34426
7a8b71c3
DM
344272012-02-20 David S. Miller <davem@davemloft.net>
34428
d510c123
DM
34429 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34430 both binutils and gcc support GOTDATA.
34431
0722d7c2
DM
34432 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34433 "rd %pc" in the PIC register setup sequences.
34434
3d2b3019
DM
34435 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34436 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34437 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34438 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34439 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34440 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34441 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34442 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34443 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34444 (SYSCALL_ERROR_HANDLER): Likewise.
34445 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34446 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34448 (SYSCALL_ERROR_HANDLER): Likewise.
34449
c80098a9
DM
34450 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34451 (HAVE_GCC_GOTDATA): New.
34452 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34453 relocation support in both binutils and gcc.
34454 * sysdeps/sparc/elf/configure: Regenerate.
34455
3a2545a0
DM
34456 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34457 * sysdeps/sparc/sparc32/elf/configure: Delete.
34458 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34459 * sysdeps/sparc/sparc64/elf/configure: Delete.
34460 * sysdeps/sparc/elf/configure.in: New file.
34461 * sysdeps/sparc/elf/configure: Generate.
34462
7a8b71c3
DM
34463 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34464 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34465 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34466 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34467 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34468
f1e86fca
JM
344692012-02-21 Joseph Myers <joseph@codesourcery.com>
34470
34471 * manual/install.texi: Do not mention specific glibc version
34472 numbers.
34473 * manual/libc.texinfo (VERSION, UPDATED): Update.
34474 (@copying): Use @copyright{} and range of years.
34475
0e7dfaef
JM
344762012-02-21 Joseph Myers <joseph@codesourcery.com>
34477
34478 [BZ #13695]
34479 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34480 [crti.S not in sysdirs] (generated): Do not append.
34481 [crti.S not in sysdirs] (omit-deps): Likewise.
34482 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34483 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34484 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34485 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34486 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34487 Likewise.
34488 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34489 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34490 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34491 * csu/defs.awk: Remove file.
34492 * sysdeps/generic/initfini.c: Likewise.
34493 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34494 variable.
34495 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34496 Likewise.
34497
599af3ca
JM
344982012-02-20 Joseph Myers <joseph@codesourcery.com>
34499
34500 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34501 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34502 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34503 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34504 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34505 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34506 <bits/epoll.h>.
34507 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34508 (__EPOLL_PACKED): Define to empty if not defined by
34509 <bits/epoll.h>.
34510 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34512 bits/epoll.h.
34513
0e499750
JM
345142012-02-20 Joseph Myers <joseph@codesourcery.com>
34515
34516 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34517 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34518 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34519 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34520 <bits/timerfd.h>.
34521 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34523 bits/timerfd.h.
34524
5ad91f6e
JM
345252012-02-20 Joseph Myers <joseph@codesourcery.com>
34526
34527 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34528 in C locale.
34529 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34530 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34531 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34533
06b99b02
AJ
345342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34535
34536 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34537 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34538
7638c0fd
AS
345392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34540
34541 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34542 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34543 defined.
34544 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34545 Likewise.
34546 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34547 entry for 2.16.
34548
92221550
AJ
345492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34550
34551 * math/w_acos.c: Use non-signaling floating-point comparisons.
34552 * math/w_acosf.c: Likewise.
34553 * math/w_acosh.c: Likewise.
34554 * math/w_acoshf.c: Likewise.
34555 * math/w_acoshl.c: Likewise.
34556 * math/w_acosl.c: Likewise.
34557 * math/w_asin.c: Likewise.
34558 * math/w_asinf.c: Likewise.
34559 * math/w_asinl.c: Likewise.
34560 * math/w_atanh.c: Likewise.
34561 * math/w_atanhf.c: Likewise.
34562 * math/w_atanhl.c: Likewise.
34563 * math/w_exp2.c: Likewise.
34564 * math/w_exp2f.c: Likewise.
34565 * math/w_exp2l.c: Likewise.
34566 * math/w_j0.c: Likewise.
34567 * math/w_j0f.c: Likewise.
34568 * math/w_j0l.c: Likewise.
34569 * math/w_j1.c: Likewise.
34570 * math/w_j1f.c: Likewise.
34571 * math/w_j1l.c: Likewise.
34572 * math/w_jn.c: Likewise.
34573 * math/w_jnf.c: Likewise.
34574 * math/w_log.c: Likewise.
34575 * math/w_log10.c: Likewise.
34576 * math/w_log10f.c: Likewise.
34577 * math/w_log10l.c: Likewise.
34578 * math/w_log2.c: Likewise.
34579 * math/w_log2f.c: Likewise.
34580 * math/w_log2l.c: Likewise.
34581 * math/w_logf.c: Likewise.
34582 * math/w_logl.c: Likewise.
34583 * math/w_sqrt.c: Likewise.
34584 * math/w_sqrtf.c: Likewise.
34585 * math/w_sqrtl.c: Likewise.
34586 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34587 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34588 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34589 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34590 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34591
ebaf36eb
JM
345922012-02-19 Joseph Myers <joseph@codesourcery.com>
34593
34594 [BZ #9739]
34595 * manual/string.texi (strnlen): Use correct parameter name in
34596 equivalent expression.
34597
71c254a6
JM
345982012-02-19 Joseph Myers <joseph@codesourcery.com>
34599
34600 [BZ #11174]
34601 * manual/users.texi (seteuid): Consistently use neweuid for
34602 argument name.
34603
16d2c631
JM
346042012-02-19 Joseph Myers <joseph@codesourcery.com>
34605
34606 [BZ #13704]
34607 * manual/nss.texi (Services in the NSS configuration): Correct
34608 list of services in example configuration file.
34609
cd837b09
NB
346102012-02-19 Nick Bowler <nbowler@draconx.ca>
34611
34612 [BZ #11322]
34613 * manual/arith.texi: Remove statements about negative zero
34614 behaving identically to zero.
34615
02c4bbad
JM
346162012-02-18 Joseph Myers <joseph@codesourcery.com>
34617
34618 [BZ #5993]
34619 * manual/install.texi: Do not document upgrading from libc5.
34620
366842e7
JM
346212012-02-18 Joseph Myers <joseph@codesourcery.com>
34622
34623 [BZ #4596]
34624 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34625
dd54084d
DM
346262012-02-18 David S. Miller <davem@davemloft.net>
34627
34628 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34629 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34630 %o7 across the call.
34631 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34632 instead.
34633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34634 SETUP_PIC_REG_LEAF.
34635 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34636 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34637 * sysdeps/sparc/crtn.S: Likewise.
34638
2bcc53a3
UD
346392012-02-17 Ulrich Drepper <drepper@gmail.com>
34640
34641 * aout/Makefile: Remove.
34642
09c093b5
RK
346432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34644
34645 [BZ #13058]
34646 * manual/examples/argp-ex1.c (main): Format definition in GNU
34647 style.
34648 * manual/examples/argp-ex2.c (main): Likewise.
34649 * manual/examples/argp-ex3.c (main): Likewise.
34650 * manual/examples/argp-ex4.c (main): Likewise.
34651 * manual/examples/longopt.c (main): Use new-style prototype
34652 definition.
34653 * manual/examples/strncat.c (main): Specify return type and use
34654 (void) for arguments.
34655 * manual/examples/subopt.c (main): Use char **argv argument.
34656
2ee633a2
JM
346572012-02-17 Joseph Myers <joseph@codesourcery.com>
34658
34659 [BZ #5077]
34660 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34661 rounding modes.
34662
0520adde
FB
346632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34664
34665 [BZ #6907]
34666 * manual/string.texi (strchr): Change when strchrnul is
34667 recommended.
34668
3f4081cd
DGM
346692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34670
34671 [BZ #174]
34672 * manual/locale.texi (setlocale): Document LOCPATH.
34673
d1b10e78
JM
346742012-02-17 Joseph Myers <joseph@codesourcery.com>
34675
34676 [BZ #10210]
34677 * manual/process.texi (execle): Move @dots{} before last argument.
34678
79c6869c
PB
346792012-02-17 Paul Bolle <pebolle@tiscali.nl>
34680
34681 [BZ #12047]
34682 * manual/charset.texi (Generic Charset Conversion): Fix typo
34683 (LC_TYPE -> LC_CTYPE).
34684
cc6e48bc
NB
346852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34686
34687 [BZ #5805]
34688 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34689 (scalbnf): Likewise.
34690 (scalbnl): Likewise.
34691 (scalbln): Likewise.
34692 (scalblnf): Likewise.
34693 (scalblnl): Likewise.
34694 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34695 (vwarnx): Likewise.
34696 (verr): Likewise.
34697 (verrx): Likewise.
34698 * manual/filesys.texi (telldir): Use braces around return type.
34699 * manual/llio.texi (mmap): Add space after comma.
34700 (mmap64): Likewise.
34701 * manual/math.texi (jn): Use @var{} on parameter names.
34702 (jnf): Likewise.
34703 (jnl): Likewise.
34704 (yn): Likewise.
34705 (ynf): Likewise.
34706 (ynl): Likewise.
34707 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34708 line.
34709 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34710 "...".
34711 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34712 (sched_get_priority_max): Likewise.
34713 * manual/signal.texi (sigvec): Add space after comma.
34714 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34715 names.
34716 (if_indextoname): Likewise.
34717 (if_freenameindex): Likewise.
34718 (sendto): Use ',' instead of '.' in prototype.
34719 * manual/startup.texi (syscall): Use @dots{} instead of literal
34720 "...".
34721 * manual/stdio.texi (__fpending): Separate initial words of
34722 paragraph from @deftypefun line.
34723 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34724 "...".
34725 (vsyslog): Use @var{} on parameter names.
34726 * manual/terminal.texi (stty): Use @var{} on parameter names.
34727 * manual/users.texi (getutmp): Use @var{} on parameter names.
34728 (getutmpx): Likewise.
34729
5b23062f
JM
347302012-02-17 Joseph Myers <joseph@codesourcery.com>
34731
34732 [BZ #6884]
34733 * manual/stdio.texi (fopen): Fix typos in description of
34734 ",ccs=STRING".
34735
8dee4833
AJ
347362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34737
34738 [BZ #4026]
34739 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34740 get clock_id definition.
34741
9078ce93
TS
347422012-02-17 Thomas Schwinge <thomas@schwinge.name>
34743
34744 [BZ #4822]
34745 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34746 (madvise): Cast every argument to void on its own.
34747
3835c55f
JM
347482012-02-17 Joseph Myers <joseph@codesourcery.com>
34749
34750 [BZ #9902]
34751 * manual/startup.texi (Exit Status): Fix typo.
34752
35c47e37
JM
347532012-02-17 Joseph Myers <joseph@codesourcery.com>
34754
34755 [BZ #10140]
34756 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34757 * manual/examples/argp-ex2.c: Likewise.
34758 * manual/examples/argp-ex3.c: Likewise.
34759
e3b69ca7
RH
347602012-02-16 Richard Henderson <rth@redhat.com>
34761
34762 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34763 * sysdeps/s390/s390-32/initfini.c: Remove.
34764 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34765 * sysdeps/s390/s390-64/initfini.c: Remove.
34766
df83af67
KK
347672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34768
34769 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34770 compiler output for sysdeps/generic/initfini.c.
34771 * sysdeps/sh/elf/initfini.c: Remove file.
34772
f63f3380
DM
347732012-02-16 David S. Miller <davem@davemloft.net>
34774
fb59b3a4
DM
34775 [BZ #11494]
34776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34777
f63f3380
DM
34778 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34779 * sysdeps/sparc/crti.S: New file.
34780 * sysdeps/sparc/crtn.S: New file.
34781 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34782 * sysdeps/sparc/sparc64/Makefile: Likewise.
34783
df6a4a4a
MF
347842012-02-15 Mike Frysinger <vapier@gentoo.org>
34785
6dd8f3dc 34786 [BZ #3335]
df6a4a4a
MF
34787 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34788
1cac7236
RM
347892012-02-15 Roland McGrath <roland@hack.frob.com>
34790
d2c736f8
RM
34791 [BZ #4822]
34792 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34793
1cac7236
RM
34794 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34795 (write, read, close): Likewise.
34796 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34797
8e475601
JM
347982012-02-15 Joseph Myers <joseph@codesourcery.com>
34799
34800 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34801 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34802 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34803 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34804 <bits/signalfd.h>.
34805 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34807 bits/signalfd.h.
34808
ed656b40
MP
348092012-02-14 Marek Polacek <polacek@redhat.com>
34810
34811 * sysdeps/x86_64/crti.S: New file.
34812 * sysdeps/x86_64/crtn.S: New file.
34813 * sysdeps/x86_64/elf/initfini.c: Remove file.
34814
2a979d3a
JM
348152012-02-13 Joseph Myers <joseph@codesourcery.com>
34816
34817 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34818 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34819 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34820 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34821 <bits/inotify.h>.
34822 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34824 bits/inotify.h.
34825
2a418ac3
JM
348262012-02-13 Joseph Myers <joseph@codesourcery.com>
34827
34828 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34829 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34830 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34831 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34832 <bits/eventfd.h>.
34833 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34835 bits/eventfd.h.
34836
fb779be7
TS
348372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34838
e19e83c5
RM
34839 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34840 __feraiseexcept instead of feraiseexcept.
7c35ffed 34841
fb779be7
TS
34842 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34843 nanosleep invocations.
34844 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34845 strings, and add error checking for a nanosleep invocations.
34846
59ba27a6
PE
348472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34848
34849 Replace FSF snail mail address with URLs, as per GNU coding standards.
34850 Most of the snail mail addresses were wrong anyway, and omitting
34851 them makes the source code easier to maintain. Almost all of the
34852 changes are to license notices and to locale LC_IDENTIFICATION
34853 addresses, except for this one:
34854 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34855 not its snail mail address.
34856
57b957eb
RH
348572012-02-09 Richard Henderson <rth@twiddle.net>
34858
af850b1c
RH
34859 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34860 of kernel-features.h.
34861
57b957eb
RH
34862 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34863
6b73181a
MP
348642012-02-08 Marek Polacek <polacek@redhat.com>
34865
34866 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34867 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34868 * sysdeps/gnu/_G_config.h: Likewise.
34869 * sysdeps/generic/_G_config.h: Likewise.
34870
26ecc33a
AS
348712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34872
6c6dbc63
AS
34873 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34874 tests.
34875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34876
e216c012
AS
34877 * sysdeps/powerpc/powerpc32/crti.S: New file.
34878 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34879 * sysdeps/powerpc/powerpc64/crti.S: New file.
34880 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34881
26ecc33a
AS
34882 * Makeconfig (have-initfini): Don't set.
34883 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34884 * configure.in (nopic_initfini): Don't substitute.
34885 * config.h.in (HAVE_INITFINI): Don't #undef.
34886 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34887 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34888
3add8e13
JM
348892012-02-08 Joseph Myers <joseph@codesourcery.com>
34890
34891 Support crti.S and crtn.S provided directly by architectures.
34892 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34893 [crti.S in sysdirs] (omit-deps): Likewise.
34894 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34895 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34896 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34897 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34898 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34899 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34900 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34901 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34902 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34903 compiler output for sysdeps/generic/initfini.c.
34904 * sysdeps/i386/elf/Makefile: Remove file.
34905 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34906
a22f12b4
MP
349072012-02-07 Marek Polacek <polacek@redhat.com>
34908
34909 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34910 * sysdeps/gnu/_G_config.h: Likewise.
34911 * sysdeps/mach/hurd/_G_config.h: Likewise.
34912
148cf100
MP
349132012-02-07 Marek Polacek <polacek@redhat.com>
34914
34915 * math/Makefile (tests): Add tst-CMPLX2.
34916 * math/tst-CMPLX2.c: New file.
34917
cfdc0dd7
AS
349182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34919
84ba42c4
AS
34920 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34921
cfdc0dd7
AS
34922 * math/libm-test.inc (jn_test): Add missing L suffix.
34923
622c86f4
MP
349242012-02-06 Marek Polacek <polacek@redhat.com>
34925
34926 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34927 * sysdeps/i386/fpu/e_powf.S: Likewise.
34928 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34929 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34930 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34931 * sysdeps/i386/fpu/e_pow.S: Likewise.
34932 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34933 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34934 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34935 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34936 * sysdeps/i386/fpu/e_log2.S: Likewise.
34937 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34938 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34939 * sysdeps/i386/fpu/e_powl.S: Likewise.
34940 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34941 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34942 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34943 * sysdeps/i386/fpu/e_logl.S: Likewise.
34944 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34945 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34946 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34947 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34948 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34949 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34950 * sysdeps/i386/fpu/e_log.S: Likewise.
34951 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34952 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34953 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34954 * sysdeps/i386/fpu/e_logf.S: Likewise.
34955 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34956 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34957 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34958 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34959 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34960 * sysdeps/i386/fpu/e_log10.S: Likewise.
34961 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34962 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34963 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34964 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34965 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34966 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34967 * sysdeps/i386/asm-syntax.h: Likewise.
34968 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34969 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34970 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34971 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34972 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34973 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34974 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34975 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34976 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34977 * sysdeps/powerpc/sysdep.h: Likewise.
34978 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34979 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34980
d4a54ac6
JM
349812012-02-06 Joseph Myers <joseph@codesourcery.com>
34982
34983 [BZ #411]
34984 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34985
314054ea
JM
349862012-02-06 Joseph Myers <joseph@codesourcery.com>
34987
34988 * sysdeps/i386/sysdep.h: Include <features.h>.
34989 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34990 version.
34991
d8e0ca50
JM
349922012-02-05 Joseph Myers <joseph@codesourcery.com>
34993
34994 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34995 Define.
34996 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34997 LOAD_PIC_REG_STR.
34998
b1da7dd9
JM
349992012-02-03 Joseph Myers <joseph@codesourcery.com>
35000
35001 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35002 (SETUP_PIC_REG): Use GET_PC_THUNK.
35003 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35004 macro.
35005
9a1d9254
JM
350062012-02-03 Joseph Myers <joseph@codesourcery.com>
35007
35008 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35009 for non-PIC compilation.
35010 (SETUP_PIC_REG): Add .p2align directive.
35011 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35012 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35013 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35014 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35015 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35016 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35017 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35018 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35019 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35020 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35021 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35022 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35023 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35024 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35025 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35026 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35027 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35028 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35029 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35030 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35031 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35032 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35033 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35034 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35035 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35036 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35037 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35038 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35039 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35040 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35041 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35042 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35043 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35044 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35045 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35046 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35047 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35048 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35049 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35050 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35051 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35052
65dc3b75
JM
350532012-02-03 Joseph Myers <joseph@codesourcery.com>
35054
35055 * math/tst-CMPLX.c: Include <stdio.h>.
35056
d55bf177
JM
350572012-01-31 Joseph Myers <joseph@codesourcery.com>
35058
35059 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35060 float.
35061 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35062 * sysdeps/sparc/bits/mathdef.h: Likewise.
35063
69db4f8f
MP
350642012-01-31 Marek Polacek <polacek@redhat.com>
35065
35066 * libio/libio.h: Don't define _PARAMS.
35067 * locale/programs/config.h: Don't define PARAMS.
35068 * stdlib/strtol_l.c: Likewise.
35069 (__strtol_l): Remove PARAMS from the prototype.
35070
41b81892
UD
350712012-01-31 Ulrich Drepper <drepper@gmail.com>
35072
3b49edc0
UD
35073 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35074 names. Just use the correct names. Remove unnecessary wrapper
35075 functions.
35076 * malloc/arena.c: Likewise.
35077 * malloc/hooks.c: Likewise.
35078
41b81892
UD
35079 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35080 ARENA_TEST says not to. Simplify test for creation of a new arena.
35081 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35082
27a25b6e
UD
350832012-01-30 Ulrich Drepper <drepper@gmail.com>
35084
35085 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35086 into tail calls.
35087 (update_get_addr): New function.
35088 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35089 GET_ADDR_MODULE parameter.
35090
c8a89e7d
JM
350912012-01-30 Joseph Myers <joseph@codesourcery.com>
35092
35093 * crypt/cert.c: Remove __STDC__ conditionals.
35094 * crypt/crypt-entry.c: Likewise.
35095 * crypt/crypt_util.c: Likewise.
35096 * libio/filedoalloc.c: Likewise.
35097 * libio/fileops.c: Likewise.
35098 * libio/genops.c: Likewise.
35099 * libio/iofclose.c: Likewise.
35100 * libio/iofdopen.c: Likewise.
35101 * libio/iofopen.c: Likewise.
35102 * libio/iofopen64.c: Likewise.
35103 * libio/iogetdelim.c: Likewise.
35104 * libio/iopopen.c: Likewise.
35105 * libio/obprintf.c: Likewise.
35106 * libio/oldfileops.c: Likewise.
35107 * libio/oldiofclose.c: Likewise.
35108 * libio/oldiofdopen.c: Likewise.
35109 * libio/oldiofopen.c: Likewise.
35110 * libio/oldiopopen.c: Likewise.
35111 * libio/wfiledoalloc.c: Likewise.
35112 * libio/wgenops.c: Likewise.
35113 * locale/programs/xmalloc.c: Likewise.
35114 * misc/syslog.c: Likewise.
35115 * stdio-common/xbug.c: Likewise.
35116 * string/memchr.c: Likewise.
35117 * string/memcmp.c: Likewise.
35118 * string/memrchr.c: Likewise.
35119 * string/rawmemchr.c: Likewise.
35120 * sysdeps/posix/getcwd.c: Likewise.
35121 * time/strftime_l.c: Likewise.
35122
3b100462
JM
351232012-01-30 Joseph Myers <joseph@codesourcery.com>
35124
35125 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35126 * config.make.in (config-cflags-sse2avx): Define.
35127 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35128 Fix typo.
35129
607998af
CM
351302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35131
35132 * scripts/config.guess: Update from upstream config git repository.
35133 * scripts/config.sub: Likewise.
35134
3601428f
CM
351352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35136
3ac8b282
CM
35137 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35138 (EM_NUM): Update.
35139 (R_TILEPRO_*, R_TILEGX_*): New macros.
35140
e034841e
CM
35141 * scripts/firstversions.awk: Fix bug in version range handling.
35142
540d7568
CM
35143 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35144
3601428f
CM
35145 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35146
463de862
CM
35147 * include/sys/epoll.h: New file.
35148 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35149 libc_hidden_def.
35150
73139a76
UD
351512012-01-28 Ulrich Drepper <drepper@gmail.com>
35152
96bc5b45
UD
35153 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35154 Avoid unnecessary __WORDSIZE == 64 test.
35155 (fmaxf): Use VEX format if possible.
35156 (fmax): Likewise.
35157 (fminf): Likewise.
35158 (fmin): Likewise.
35159
56f6f6a2
UD
35160 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35161 * math/math_private.h: Remove libc_fegetround* and
35162 libc_fesetround*.
35163 * sysdeps/i386/configure.in: Check for -msse2avx.
35164 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35165 also if SSE2AVX is defined.
35166 Remove libc_fegetround* and libc_fesetround*.
35167 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35168 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35169 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35170 of HAS_YMM_USABLE.
35171 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35172 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35173 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35174 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35175 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35176
73139a76
UD
35177 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35178
d73f93a4
AZ
351792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35180
35181 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35182 size is not set.
35183 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35184
6ee65ed6
UD
351852012-01-27 Ulrich Drepper <drepper@gmail.com>
35186
35187 [BZ #13618]
35188 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35189 relocation.
35190 * Makeconfig (libm): Define.
35191 * elf/Makefile: Add rules to build and run tst-relsort1.
35192 * elf/tst-relsort1.c: New file.
35193 * elf/tst-relsort1mod1.c: New file.
35194 * elf/tst-relsort1mod2.c: New file.
35195
8db21882
JM
351962012-01-27 Joseph Myers <joseph@codesourcery.com>
35197
35198 * math/s_ldexp.c: Remove __STDC__ conditionals.
35199 * math/s_ldexpf.c: Likewise.
35200 * math/s_ldexpl.c: Likewise.
35201 * math/s_nextafter.c: Likewise.
35202 * math/s_nexttowardf.c: Likewise.
35203 * math/s_significand.c: Likewise.
35204 * math/s_significandf.c: Likewise.
35205 * math/s_significandl.c: Likewise.
35206 * math/w_jnl.c: Likewise.
35207 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35208 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35209 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35210 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35211 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35212 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35213 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35214 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35215 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35216 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35217 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35218 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35219 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35220 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35221 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35222 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35223 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35224 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35225 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35226 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35227 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35228 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35229 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35230 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35231 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35232 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35233 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35234 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35235 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35236 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35237 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35238 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35239 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35240 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35241 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35242 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35243 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35244 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35245 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35246 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35247 * sysdeps/ieee754/k_standard.c: Likewise.
35248 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35249 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35250 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35251 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35252 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35253 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35254 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35255 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35256 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35257 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35258 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35259 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35260 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35261 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35262 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35263 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35264 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35265 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35266 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35267 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35268 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35269 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35270 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35271 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35272 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35273 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35274 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35275 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35276 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35277 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35278 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35279 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35280 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35281 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35283 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35284 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35285 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35286 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35287 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35288 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35289 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35290 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35291 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35292 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35293 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35294 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35295 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35296 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35297 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35298 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35299 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35300 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35301 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35302 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35303 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35304 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35305 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35306 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35307 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35308 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35309 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35310 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35311 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35312 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35313 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35314 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35315 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35316 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35317 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35318 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35319 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35320 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35321 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35322 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35323 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35324 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35325 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35326 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35327 * sysdeps/ieee754/s_matherr.c: Likewise.
35328 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35329 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35330 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35331 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35332
965a54a4
JM
353332012-01-26 Joseph Myers <joseph@codesourcery.com>
35334
35335 * crypt/md5.h: Remove __STDC__ conditionals.
35336 * libio/libioP.h: Likewise.
35337 * locale/programs/config.h: Likewise.
35338 * sysdeps/generic/sysdep.h: Likewise.
35339 * sysdeps/i386/asm-syntax.h: Likewise.
35340 * sysdeps/s390/asm-syntax.h: Likewise.
35341 * sysdeps/unix/sysdep.h: Likewise.
35342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35344
7071ad79
JM
353452012-01-26 Joseph Myers <joseph@codesourcery.com>
35346
35347 * libio/libio.h: Remove __STDC__ conditionals.
35348 * malloc/obstack.h: Likewise.
35349 * math/complex.h: Likewise.
35350 * math/math.h: Likewise.
35351 * sysdeps/generic/_G_config.h: Likewise.
35352 * sysdeps/gnu/_G_config.h: Likewise.
35353 * sysdeps/mach/hurd/_G_config.h: Likewise.
35354 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35355 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35356 * sysdeps/sparc/bits/mathdef.h: Likewise.
35357
afc5ed09
UD
353582012-01-26 Ulrich Drepper <drepper@gmail.com>
35359
35360 [BZ #13583]
35361 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35362 Clean up HAS_* macros.
afc5ed09 35363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35364 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35365 possible.
35366 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35367 HAS_AVX.
35368 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35369 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35370 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35371 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35372 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35373
bdb6de1d
JM
353742012-01-25 Joseph Myers <joseph@codesourcery.com>
35375
35376 * elf/tst-unique3.cc (gets): Remove declaration.
35377 * elf/tst-unique3lib.cc (gets): Likewise.
35378 * elf/tst-unique3lib2.cc (gets): Likewise.
35379 * elf/tst-unique4.cc (gets): Likewise.
35380
b15549e6
UD
353812012-01-24 Ulrich Drepper <drepper@gmail.com>
35382
35383 * include/stdio.h: Add C++ protection. Add gets declarations and
35384 definitions.
35385 * debug/tst-chk1.c: Don't declare gets here.
35386 * stdio-common/tst-gets.c: Likewise.
35387
a037381f
JM
353882012-01-24 Joseph Myers <joseph@codesourcery.com>
35389
35390 * posix/glob: Remove directory.
35391
f1d4aa75
JM
353922012-01-24 Joseph Myers <joseph@codesourcery.com>
35393
35394 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35395
81c0c964
PT
353962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35397
35398 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35399 of the non-standard EPFNOSUPPORT.
35400
0ea698ae
ST
354012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35402
35403 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35404 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35405 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35406
d220b117
UD
354072012-01-21 Ulrich Drepper <drepper@gmail.com>
35408
35409 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35410
3e1aa84e
UD
354112012-01-20 Ulrich Drepper <drepper@gmail.com>
35412
35413 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35414 transient errors.
35415 * nscd/grpcache.c (cache_addgr): Likewise.
35416 * nscd/hstcache.c (cache_addhst): Likewise.
35417 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35418 * nscd/pwdcache.c (cache_addpw): Likewise.
35419 * nscd/servicescache.c (cache_addserv): Likewise.
35420
400aa020
UD
354212012-01-16 Ulrich Drepper <drepper@gmail.com>
35422
d77e7869
UD
35423 * malloc/malloc.c: Various cleanups.
35424 * malloc/hooks.c: Likewise.
35425
400aa020
UD
35426 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35427 * stdlib/bug-fmtmsg1.c: New file.
35428
35429 * stdlib/fmtmsg.c (init): Add missing unlock.
35430 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35431
e0a309cf
MP
354322012-01-12 Marek Polacek <polacek@redhat.com>
35433
35434 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35435 and _GNU_SOURCE.
35436
929d11c7
WS
354372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35438
35439 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35440 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35441 macro to ensure uniqueness of label name.
35442 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35443 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35444
41d0e869
UD
354452012-01-11 Ulrich Drepper <drepper@gmail.com>
35446
0cc5ed3b
UD
35447 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35448
41d0e869
UD
35449 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35450 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35451 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35452 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35453
a47a831a
UD
354542012-01-10 Ulrich Drepper <drepper@gmail.com>
35455
daa891c0
UD
35456 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35457
35458 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35459 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35460 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35461
e58ef0f2
UD
35462 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35463
a47a831a 35464 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35465 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35466 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35468
35469 * math/bits/math-finite.h: Add ldexp support.
35470
a0bfc9c7
MP
354712012-01-10 Marek Polacek <polacek@redhat.com>
35472
35473 * locale/programs/localedef.h (show_archive_content): Add noreturn
35474 attribute.
35475
d6e97a1d
UD
354762012-01-09 Ulrich Drepper <drepper@gmail.com>
35477
35478 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35479
d5835c26
UD
354802012-01-08 Ulrich Drepper <drepper@gmail.com>
35481
e5f484c6
UD
35482 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35483
d5835c26
UD
35484 * io/Makefile (headers): Add bits/poll2.h.
35485
d1f741e9
WS
354862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35487
35488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35489 typo #include statement.
35490
ec09c1c4
UD
354912012-01-08 Ulrich Drepper <drepper@gmail.com>
35492
35493 * include/sys/cdefs.h: Define __attribute_alloc_size.
35494 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35495 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35496 * elf/pldd.c: Likewise.
35497 * iconv/iconv_charmap.c: Likewise.
35498 * iconv/iconvconfig.c: Likewise.
35499 * iconv/strtab.c: Likewise.
35500 * locale/programs/locale.c: Likewise.
35501 * locale/programs/localedef.h: Likewise.
35502 * locale/programs/simple-hash.c: Likewise.
35503 * nscd/nscd.h: Likewise.
35504 * nss/makedb.c: Likewise.
35505 * sysdeps/generic/ldconfig.h: Likewise.
35506 * locale/programs/localedef.c: Remove xmalloc prototype.
35507 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35508
20b38e03
PP
355092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35510
35511 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35512 appropriate.
35513
a0da5fe1
UD
355142012-01-08 Ulrich Drepper <drepper@gmail.com>
35515
1d5a644a 35516 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35517 * math/tst-CMPLX.c: New file.
1d5a644a 35518
8784a6db
UD
35519 * math/complex.h (CMPLXL): Fix typo.
35520
d9a216c0
UD
35521 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35522 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35523 GLIBC_2.16.
35524 * debug/tst-chk1.c: Add poll and ppoll tests.
35525 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35526 * include/sys/poll.h: Add hidden proto for ppoll.
35527 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35528 * sysdeps/mach/hurd/ppoll.c: Likewise.
35529 * io/ppoll.c: Likewise.
35530 * debug/poll_chk.c: New file.
35531 * debug/ppoll_chk.c: New file.
35532 * include/bits/poll2.h: New file.
35533 * io/bits/poll2.h: New file.
35534
ac097f5c
UD
35535 [BZ #1350]
35536 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35537
2119dcfa
UD
35538 * configure.in: static is always set to yes. Remove.
35539 * config.make.in: Don't set build-static.
35540 * Makeconfig: Remove use of build-static.
35541 * dlfcn/Makefile: Likewise.
35542 * elf/Makefile: Likewise.
35543 * math/Makefile: Likewise.
35544 * misc/Makefile: Likewise.
35545 * nptl/Makefile: Likewise.
35546 * sysdeps/mach/hurd/Makefile: Likewise.
35547
121766a9
UD
35548 * configure.in: PWD_P is not used anymore.
35549 * config.make.in: Remove PWD_P entry.
35550
51a1d39c 35551 * configure.in: Remove last remnants of RANLIB.
8720d066 35552 No need to check for signed size_t anymore.
215f4bdc
UD
35553 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35554 and IA-64.
3857022a 35555 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35556 * aclocal.m4: Likewise.
35557
d3ed7225
UD
35558 * wcsmbs/mbrtoc16.c: Implement using towc function.
35559 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35560 * wcsmbs/wcsmbsload.c: Likewise.
35561 * iconv/gconv_simple.c: Likewise.
35562 * iconv/gconv_int.h: Likewise.
35563 * iconv/gconv_builtin.h: Likewise.
35564 * iconv/iconv_prog.c: Remove CHAR16 handling.
35565
35566 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35567
35568 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35569
a0da5fe1
UD
35570 * configure.in: Remove --with-elf and --enable-bounded options.
35571 Dont set base_machine for ia64. More non-ELF conditions removed.
35572 Remove testing and setting of leading underscore information.
35573 * config.make.in (build-bounded): Set to no.
35574 * config.h.in: Remove NO_UNDERSCORES entry.
35575 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35576 them.
35577 * csu/start.c: Remove !NO_UNDERSCORE code.
35578 * locale/localeinfo.h: Likewise.
35579 * sysdeps/generic/machine-gmon.h: Likewise.
35580 * sysdeps/generic/sysdep.h: Likewise.
35581 * sysdeps/i386/sysdep.h: Likewise.
35582 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35583 * sysdeps/mach/sysdep.h: Likewise.
35584 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35585 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35586 * sysdeps/sh/sysdep.h: Likewise.
35587 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35588 * sysdeps/unix/i386/sysdep.S: Likewise.
35589 * sysdeps/unix/sparc/start.c: Likewise.
35590 * sysdeps/unix/sparc/sysdep.S: Likewise.
35591 * sysdeps/unix/sparc/sysdep.h: Likewise.
35592 * sysdeps/unix/start.c: Likewise.
35593 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35594 * sysdeps/x86_64/sysdep.h: Likewise.
35595
df78418a
UD
355962012-01-07 Ulrich Drepper <drepper@gmail.com>
35597
a784e502
UD
35598 [BZ #13553]
35599 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35600 for non-gcc.
35601 * argp/argp-fmtstream.h: Use const instead __const.
35602 * argp/argp.h: Likewise.
35603 * assert/assert.h: Likewise.
35604 * bits/fenv.h: Likewise.
35605 * bits/sched.h: Likewise.
35606 * bits/sigset.h: Likewise.
35607 * bits/sigthread.h: Likewise.
35608 * catgets/nl_types.h: Likewise.
35609 * conform/data/pthread.h-data: Likewise.
35610 * crypt/crypt-private.h: Likewise.
35611 * crypt/crypt.h: Likewise.
35612 * crypt/crypt_util.c: Likewise.
35613 * ctype/ctype.h: Likewise.
35614 * debug/execinfo.h: Likewise.
35615 * debug/mbsnrtowcs_chk.c: Likewise.
35616 * debug/mbsrtowcs_chk.c: Likewise.
35617 * debug/wcsnrtombs_chk.c: Likewise.
35618 * debug/wcsrtombs_chk.c: Likewise.
35619 * debug/wcstombs_chk.c: Likewise.
35620 * dirent/dirent.h: Likewise.
35621 * dlfcn/dlfcn.h: Likewise.
35622 * elf/neededtest4.c: Likewise.
35623 * grp/grp.h: Likewise.
35624 * gshadow/gshadow.h: Likewise.
35625 * iconv/gconv.h: Likewise.
35626 * iconv/gconv_int.h: Likewise.
35627 * iconv/gconv_simple.c: Likewise.
35628 * iconv/iconv.h: Likewise.
35629 * iconv/loop.c: Likewise.
35630 * iconv/skeleton.c: Likewise.
35631 * include/aio.h: Likewise.
35632 * include/aliases.h: Likewise.
35633 * include/argz.h: Likewise.
35634 * include/arpa/inet.h: Likewise.
35635 * include/assert.h: Likewise.
35636 * include/dirent.h: Likewise.
35637 * include/dlfcn.h: Likewise.
35638 * include/execinfo.h: Likewise.
35639 * include/fcntl.h: Likewise.
35640 * include/fenv.h: Likewise.
35641 * include/glob.h: Likewise.
35642 * include/grp.h: Likewise.
35643 * include/libintl.h: Likewise.
35644 * include/mntent.h: Likewise.
35645 * include/netdb.h: Likewise.
35646 * include/pwd.h: Likewise.
35647 * include/rpc/netdb.h: Likewise.
35648 * include/sched.h: Likewise.
35649 * include/search.h: Likewise.
35650 * include/shadow.h: Likewise.
35651 * include/signal.h: Likewise.
35652 * include/stdio.h: Likewise.
35653 * include/stdlib.h: Likewise.
35654 * include/string.h: Likewise.
35655 * include/sys/socket.h: Likewise.
35656 * include/sys/stat.h: Likewise.
35657 * include/sys/statfs.h: Likewise.
35658 * include/sys/statvfs.h: Likewise.
35659 * include/sys/syslog.h: Likewise.
35660 * include/sys/time.h: Likewise.
35661 * include/sys/uio.h: Likewise.
35662 * include/time.h: Likewise.
35663 * include/unistd.h: Likewise.
35664 * include/utmp.h: Likewise.
35665 * include/wchar.h: Likewise.
35666 * include/wctype.h: Likewise.
35667 * inet/aliases.h: Likewise.
35668 * inet/arpa/inet.h: Likewise.
35669 * inet/netinet/ether.h: Likewise.
35670 * inet/netinet/in.h: Likewise.
35671 * intl/libintl.h: Likewise.
35672 * io/bits/fcntl2.h: Likewise.
35673 * io/fcntl.h: Likewise.
35674 * io/ftw.h: Likewise.
35675 * io/sys/poll.h: Likewise.
35676 * io/sys/stat.h: Likewise.
35677 * io/sys/statfs.h: Likewise.
35678 * io/sys/statvfs.h: Likewise.
35679 * io/utime.h: Likewise.
35680 * libio/bits/stdio.h: Likewise.
35681 * libio/bits/stdio2.h: Likewise.
35682 * libio/libio.h: Likewise.
35683 * libio/libioP.h: Likewise.
35684 * libio/stdio.h: Likewise.
35685 * locale/lc-ctype.c: Likewise.
35686 * locale/locale.h: Likewise.
35687 * login/utmp.h: Likewise.
35688 * malloc/arena.c: Likewise.
35689 * malloc/malloc.c: Likewise.
35690 * malloc/malloc.h: Likewise.
35691 * malloc/mcheck.c: Likewise.
35692 * malloc/mtrace.c: Likewise.
35693 * math/bits/mathcalls.h: Likewise.
35694 * math/fenv.h: Likewise.
35695 * math/math_private.h: Likewise.
35696 * misc/bits/error.h: Likewise.
35697 * misc/bits/syslog.h: Likewise.
35698 * misc/err.h: Likewise.
35699 * misc/error.h: Likewise.
35700 * misc/fstab.h: Likewise.
35701 * misc/mntent.h: Likewise.
35702 * misc/regexp.h: Likewise.
35703 * misc/search.h: Likewise.
35704 * misc/sgtty.h: Likewise.
35705 * misc/sys/mman.h: Likewise.
35706 * misc/sys/syslog.h: Likewise.
35707 * misc/sys/uio.h: Likewise.
35708 * misc/sys/xattr.h: Likewise.
35709 * misc/ttyent.h: Likewise.
35710 * nis/rpcsvc/ypclnt.h: Likewise.
35711 * nss/nss.h: Likewise.
35712 * posix/bits/unistd.h: Likewise.
35713 * posix/fnmatch.h: Likewise.
35714 * posix/glob.h: Likewise.
35715 * posix/sched.h: Likewise.
35716 * posix/spawn.h: Likewise.
35717 * posix/sys/wait.h: Likewise.
35718 * posix/unistd.h: Likewise.
35719 * posix/wordexp.h: Likewise.
35720 * pwd/pwd.h: Likewise.
35721 * resolv/netdb.h: Likewise.
35722 * resource/sys/resource.h: Likewise.
35723 * rt/aio.h: Likewise.
35724 * rt/bits/mqueue2.h: Likewise.
35725 * rt/mqueue.h: Likewise.
35726 * shadow/shadow.h: Likewise.
35727 * signal/signal.h: Likewise.
35728 * socket/send.c: Likewise.
35729 * socket/sendto.c: Likewise.
35730 * socket/sys/socket.h: Likewise.
35731 * stdio-common/printf.h: Likewise.
35732 * stdlib/bits/stdlib.h: Likewise.
35733 * stdlib/fmtmsg.h: Likewise.
35734 * stdlib/monetary.h: Likewise.
35735 * stdlib/stdlib.h: Likewise.
35736 * stdlib/ucontext.h: Likewise.
35737 * streams/stropts.h: Likewise.
35738 * string/argz.h: Likewise.
35739 * string/bits/string2.h: Likewise.
35740 * string/string.h: Likewise.
35741 * string/strings.h: Likewise.
35742 * sunrpc/rpc/auth.h: Likewise.
35743 * sunrpc/rpc/auth_des.h: Likewise.
35744 * sunrpc/rpc/clnt.h: Likewise.
35745 * sunrpc/rpc/netdb.h: Likewise.
35746 * sunrpc/rpc/pmap_clnt.h: Likewise.
35747 * sunrpc/rpc/xdr.h: Likewise.
35748 * sysdeps/generic/inttypes.h: Likewise.
35749 * sysdeps/generic/net/if.h: Likewise.
35750 * sysdeps/generic/sys/swap.h: Likewise.
35751 * sysdeps/gnu/net/if.h: Likewise.
35752 * sysdeps/gnu/utmpx.h: Likewise.
35753 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35754 * sysdeps/i386/i486/bits/string.h: Likewise.
35755 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35756 * sysdeps/s390/bits/string.h: Likewise.
35757 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35758 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35759 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35760 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35761 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35762 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35763 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35764 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35765 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35766 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35767 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35768 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35769 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35770 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35771 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35772 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35773 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35774 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35775 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35776 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35777 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35778 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35779 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35780 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35781 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35782 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35783 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35784 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35785 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35786 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35787 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35788 * sysvipc/sys/ipc.h: Likewise.
35789 * sysvipc/sys/msg.h: Likewise.
35790 * sysvipc/sys/sem.h: Likewise.
35791 * sysvipc/sys/shm.h: Likewise.
35792 * termios/termios.h: Likewise.
35793 * time/sys/time.h: Likewise.
35794 * time/time.h: Likewise.
35795 * wcsmbs/bits/wchar2.h: Likewise.
35796 * wcsmbs/uchar.h: Likewise.
35797 * wcsmbs/wchar.h: Likewise.
35798 * wctype/wctype.h: Likewise.
35799
0269750c
UD
35800 [BZ #13551]
35801 * Makeconfig: Remove all but ELF support including AIX support.
35802 * Makerules: Likewise.
35803 * config.h.in: Likewise.
35804 * config.make.in: Likewise.
35805 * configure: Likewise.
35806 * configure.in: Likewise.
35807 * csu/Makefile: Likewise.
35808 * csu/version.c: Likewise.
35809 * debug/Makefile: Likewise.
35810 * dlfcn/Makefile: Likewise.
35811 * elf/Makefile: Likewise.
35812 * extra-lib.mk: Likewise.
35813 * iconv/Makefile: Likewise.
35814 * include/libc-symbols.h: Likewise.
35815 * include/shlib-compat.h: Likewise.
35816 * resolv/Makefile: Likewise.
35817 * resolv/res_libc.c: Likewise.
35818 * rt/Makefile: Likewise.
35819 * sysdeps/i386/asm-syntax.h: Likewise.
35820 * sysdeps/i386/sysdep.h: Likewise.
35821 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35822 * sysdeps/mach/sysdep.h: Likewise.
35823 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35824 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35825 * sysdeps/s390/asm-syntax.h: Likewise.
35826 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35827 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35828 * sysdeps/sh/sysdep.h: Likewise.
35829 * sysdeps/unix/sparc/sysdep.h: Likewise.
35830 * sysdeps/wordsize-32/divdi3.c: Likewise.
35831 * sysdeps/x86_64/sysdep.h: Likewise.
35832
00bbd29b
UD
35833 * argp/Versions: Remove _argp_unlock_xxx.
35834
35835 [BZ #13559]
35836 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35837 * abilist/libBrokenLocale.abilist: Likewise.
35838 * abilist/libanl.abilist: Likewise.
35839 * abilist/libc.abilist: Likewise.
35840 * abilist/libcrypt.abilist: Likewise.
35841 * abilist/libdl.abilist: Likewise.
35842 * abilist/libm.abilist: Likewise.
35843 * abilist/libnsl.abilist: Likewise.
35844 * abilist/libpthread.abilist: Likewise.
35845 * abilist/libresolv.abilist: Likewise.
35846 * abilist/librt.abilist: Likewise.
35847 * abilist/libthread_db.abilist: Likewise.
35848 * abilist/libutil.abilist: Likewise.
35849 * abilist/libnss_db.abilist: New file.
35850
35851 * scripts/abilist.awk: Add support for indirect functions.
35852
a2693a0e
UD
35853 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35854
3f05895f
UD
35855 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35856
ecb6fb48
UD
35857 * shlib-versions: Remove entries for ports architectures.
35858
664f8cb9
UD
35859 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35860 files in ports.
35861 * elf/stackguard-macros.h: Remove support for IA-64.
35862 * elf/tst-auditmod1.c: Likewise.
35863 * sysdeps/generic/ldsodefs.h: Likewise.
35864
7ae81d88
UD
35865 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35866 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35867 configure files.
35868
bdeba135
UD
35869 [BZ #13552]
35870 * configure.in: Remove --enable-omitfp support.
35871 * FAQ.in: Adjust.
35872 * config.make.in: Likewise.
35873 * Makeconfig: Likewise.
35874 * manual/install.texi: Likewise.
35875
d75a0a62
UD
35876 In case anyone cares, the IA-64 architecture could move to ports.
35877 * sysdeps/ia64/*: Removed.
35878 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35879 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35880
dcc9756b
UD
35881 [BZ #13555]
35882 * configure.in: Remove entries for unsupported architectures.
35883
d3761ebc 35884 [BZ #13533]
9954432e
UD
35885 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35886 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35887 routines.
35888 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35889 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35890 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35891 fall back to using wcrtomb.
35892 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35893 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35894 renaming.
35895 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35896 * wcsmbs/tst-c16c32-1.c: New file.
35897
35898 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35899 local variable.
35900
c3a87236
UD
35901 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35902
28926a1b
UD
35903 * elf/tst-unique3.cc: Add explicit declaration of gets.
35904 * elf/tst-unique3lib.cc: Likewise.
35905 * elf/tst-unique3lib2.cc: Likewise.
35906 * elf/tst-unique4.cc: Likewise.
35907
df78418a
UD
35908 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35909
8ecd6b2a
JM
359102012-01-06 Joseph Myers <joseph@codesourcery.com>
35911
35912 [BZ #13566]
35913 * assert/assert.h (static_assert): Don't define for C++.
35914 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35915 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35916
9f115170
UD
359172012-01-03 Ulrich Drepper <drepper@gmail.com>
35918
5e0d0300
UD
35919 * iconv/loop.c (single loop): Fix assertion in storing of
35920 remaining bytes.
35921
9f115170
UD
35922 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35923
81fb02b0
UD
359242012-01-01 Ulrich Drepper <drepper@gmail.com>
35925
35926 * posix/getconf.c: Update copyright year.
35927 * nss/getent.c: Likewise.
a316c1f6 35928 * nss/makedb.c: Likewise.
81fb02b0
UD
35929 * iconv/iconvconfig.c: Likewise.
35930 * iconv/iconv_prog.c: Likewise.
35931 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35932 * elf/pldd.c: Likewise.
35933 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35934 * catgets/gencat.c: Likewise.
35935 * csu/version.c: Likewise.
35936 * elf/ldd.bash.in: Likewise.
35937 * elf/sprof.c (print_version): Likewise.
35938 * locale/programs/locale.c: Likewise.
35939 * locale/programs/localedef.c: Likewise.
a316c1f6 35940 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35941 * nscd/nscd.c (print_version): Likewise.
35942 * debug/xtrace.sh: Likewise.
35943 * malloc/memusage.sh: Likewise.
35944 * malloc/mtrace.pl: Likewise.
35945 * debug/catchsegv.sh: Likewise.
35946
2ba92745
JJ
359472011-12-30 Jakub Jelinek <jakub@redhat.com>
35948
35949 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35950 pure attribute.
35951
dadebdae
UD
359522011-12-24 Ulrich Drepper <drepper@gmail.com>
35953
d3761ebc 35954 [BZ #13533]
db6af3eb
UD
35955 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35956 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35957 transformations.
35958 * iconv/gconv_int.h: Likewise.
35959 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35960 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35961 from libc for GLIBC_2.16.
35962 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35963 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35964 * wcsmbs/uchar.h: Really define mbstate_t.
35965 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35966 * wcsmbs/c16rtomb.c: New file.
35967 * wcsmbs/mbrtoc16.c: New file.
35968 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35969 for C/POSIX locale.
35970 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35971 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35972
dadebdae
UD
35973 * wcsmbs/wchar.h: Add missing __restrict.
35974
67371b56
UD
359752011-12-23 Ulrich Drepper <drepper@gmail.com>
35976
74033a25
UD
35977 [BZ #13532]
35978 * time/Makefile (routines): Add timespec_get.
35979 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35980 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35981 timespec for ISO C11.
35982 * time/timespec_get.c: New file.
35983 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35984 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35985
380d7e87
UD
35986 [BZ #13531]
35987 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35988 * stdlib/stdlib.h: Declare aligned_alloc.
35989 * Versions.def: Add GLIBC_2.16 for libc.
35990 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35991
4e9e7a35
UD
35992 [BZ 13527]
35993 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35994 ISO C11.
35995
380d7e87 35996 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35997 code.
35998
03a71829
UD
35999 [BZ #13528]
36000 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36001
839e283e
UD
36002 [BZ #13529]
36003 * assert/assert.h (static_assert): Define.
36004
ce5294e2 36005 * version.h: Update for 2.16 development version.
90fa7312 36006
8d44e150 36007 [BZ #13526]
d7809905
UD
36008 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36009 _ISOC11_SOURCE.
36010
c0da14cd
UD
36011 * version.h (RELEASE): Bump for 2.15 release.
36012 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36013
530a3249
MP
36014 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36015 Patch by Marek Polacek <mpolacek@redhat.com>.
36016
67371b56
UD
36017 * bits/byteswap.h: Protect long long constants with __extension__.
36018 * sysdeps/i386/bits/byteswap.h: Likewise.
36019 * sysdeps/ia64/bits/byteswap.h: Likewise.
36020 * sysdeps/s390/bits/byteswap.h: Likewise.
36021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36022
15db4de1
LD
360232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36024
36025 [BZ #13540]
bbe315ea
LD
36026 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36027 destination buffer.
15db4de1
LD
36028 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36029
2b2596b1
MP
360302011-12-23 Marek Polacek <polacek@redhat.com>
36031
36032 * elf/dl-addr.c (determine_info): Add inline keyword.
36033 * elf/tst-auditmod4b.c (check_avx): Likewise.
36034 * elf/tst-auditmod6b.c (check_avx): Likewise.
36035 * elf/tst-auditmod6c.c (check_avx): Likewise.
36036 * elf/tst-auditmod7b.c (check_avx): Likewise.
36037
70c6c246
UD
360382011-12-23 Ulrich Drepper <drepper@gmail.com>
36039
36040 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36041 !__SSE_MATH__.
36042
c044cf14
LD
360432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36044
15db4de1 36045 [BZ #13540]
c044cf14
LD
36046 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36047 processing for last bytes.
36048
6b13d9d9
BH
360492011-08-06 Bruno Haible <bruno@clisp.org>
36050
d455f537
BH
36051 [BZ #13061]
36052 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36053 U+0385, not to U+1FEE.
36054
6b13d9d9
BH
36055 [BZ #13062]
36056 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36057 entry for U+00A5 U+0301.
36058
db910efd
UD
360592011-12-22 Ulrich Drepper <drepper@gmail.com>
36060
27deeafc
UD
36061 [BZ #13166]
36062 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36063 buffer for the output is too small.
36064
aed9d171
UD
36065 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36066 optimization.
36067
db910efd
UD
36068 [BZ #13185]
36069 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36070 SSE flags if possible.
36071
2bd779ae
LD
360722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36073
e7f9dac3 36074 [BZ #13540]
2bd779ae
LD
36075 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36076 processing for last bytes.
36077
154bfc16
JM
360782011-12-22 Joseph Myers <joseph@codesourcery.com>
36079
36080 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36081 (syscall-list-default-options, syscall-list-default-condition)
36082 (syscall-list-includes): Define.
36083 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36084 list of ABIs and options and #if conditions for each ABI. Do not
36085 handle common syscalls between ABIs specially.
36086 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36087 Remove.
36088 (syscall-list-variants, syscall-list-32bit-options)
36089 (syscall-list-32bit-condition, syscall-list-64bit-options)
36090 (syscall-list-64bit-condition): Define.
36091 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36092 (syscall-list-variants, syscall-list-32bit-options)
36093 (syscall-list-32bit-condition, syscall-list-64bit-options)
36094 (syscall-list-64bit-condition): Define.
36095 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36096 Remove.
36097 (syscall-list-variants, syscall-list-32bit-options)
36098 (syscall-list-32bit-condition, syscall-list-64bit-options)
36099 (syscall-list-64bit-condition): Define.
36100 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36101 Remove.
36102 (syscall-list-variants, syscall-list-32bit-options)
36103 (syscall-list-32bit-condition, syscall-list-64bit-options)
36104 (syscall-list-64bit-condition): Define.
36105
21eaf3a5
UD
361062011-12-22 Ulrich Drepper <drepper@gmail.com>
36107
16c6f992
UD
36108 * locale/iso-639.def: Add brx entry.
36109
41043168
UD
36110 [BZ #13328]
36111 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36112 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36113
21eaf3a5
UD
36114 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36115 __feraiseexcept_renamed.
36116
e3a851a2
UD
361172011-12-21 Ulrich Drepper <drepper@gmail.com>
36118
4920765e
UD
36119 [BZ #13538]
36120 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36121 EPOLLET with unsigned values.
36122 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36123 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36124
e3a851a2
UD
36125 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36126 to large cancellation.
36127 * math/s_cacoshf.c: Likewise.
36128 * math/s_cacoshl.c: Likewise.
36129
b27e24b8
RK
361302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36131
36132 [BZ #13305]
aebefeee 36133 [BZ #12786]
b27e24b8
RK
36134 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36135 * math/s_cacoshf.c: Likewise.
36136 * math/s_cacoshl.c: Likewise.
36137
ee190f67
UD
361382011-12-21 Ulrich Drepper <drepper@gmail.com>
36139
36140 [BZ #13439]
36141 * iconv/gconv.h: Define __GCONV_SWAP.
36142 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36143 * iconvdata/utf-16.c: Likewise.
36144 * iconvdata/utf-32.c: Likewise.
36145
707f25df
AS
361462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36147
36148 [BZ #13524]
36149 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36150 numerator after shifting it by one limb.
36151
d2daaa1e
RÁE
361522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36153
36154 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36155 under [__USE_EXTERN_INLINES].
36156
a4647e72
UD
361572011-12-17 Ulrich Drepper <drepper@gmail.com>
36158
36159 [BZ #13446]
36160 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36161
f0b264f1
AZ
361622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36163
36164 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36165 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36166 optimized code.
36167 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36168 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36169 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36170 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36171 for strncasecmp/strncasecmp_l compilation.
36172 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36173 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36174
8ef4f244
MP
361752011-12-08 Marek Polacek <mpolacek@redhat.com>
36176
36177 [BZ #13484]
36178 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36179 of __asm__.
36180
97ac2654
UD
361812011-12-17 Ulrich Drepper <drepper@gmail.com>
36182
36183 [BZ #13506]
36184 * time/tzfile.c (__tzfile_read): Check values from file header.
36185
91d2a845
WS
361862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36187
36188 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36189 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36190 * powerpc/powerpc32/dl-start.S: Likewise.
36191 * powerpc/powerpc32/elf/start.S: Likewise.
36192 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36193 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36194 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36195 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36196 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36197 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36198 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36199 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36200 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36201 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36202 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36203 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36204 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36205 * powerpc/powerpc32/memset.S: Likewise.
36206 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36207 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36208 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36209 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36210 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36211 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36212 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36213 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36214 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36215 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36216 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36217 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36218 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36219
a1267ba1
AZ
362202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36221
36222 * math/libm-test.inc: Added more nearbyint tests.
36223 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36224 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36225 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36226 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36227
ad8ac1bd
RL
362282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36229
36230 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36231 FD_CLOEXEC.
36232
1d3e4b61
UD
362332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36234
36235 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36236 Add wcscpy-ssse3 wcscpy-c.
36237 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36238 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36239 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36240 * sysdeps/x86_64/wcschr.S: New file.
36241 * sysdeps/x86_64/wcsrchr.S: New file.
36242 * string/test-strcmp.c: Remove checking of wcscmp function for
36243 wrong alignments.
36244 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36245 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36246 wcsrchr-sse2 wcsrchr-c.
36247 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36248 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36249 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36250 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36251 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36252 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36253 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36254 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36255 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36256 * wcsmbc/wcschr.c (WCSCHR): New macro.
36257
5b330a2d
UD
362582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36259
36260 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36261 * wcsmbs/test-wcsrchr.c: New file.
36262 * string/test-strrchr.c: Add wcsrchr support.
36263 (WIDE): New macro.
36264 * wcsmbs/test-wcscpy.c: New file.
36265 * string/test-strcpy.c: Add wcscpy support.
36266 (WIDE): New macro.
26428b7c 36267
f039c043
UD
362682011-12-10 Ulrich Drepper <drepper@gmail.com>
36269
36270 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36271 the inner loop.
36272
850fb039
AS
362732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36274
36275 [BZ #13472]
36276 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36277
4efbd5cb
UD
362782011-12-04 Ulrich Drepper <drepper@gmail.com>
36279
52ff5dd0 36280 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36281 Minor optimizations.
52ff5dd0 36282
4efbd5cb
UD
36283 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36284 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36285 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36286
8a426e12
UD
362872011-12-03 Ulrich Drepper <drepper@gmail.com>
36288
aff2453d
UD
36289 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36290 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36291 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36292 for gcc to avoid warnings.
36293 * inet/Makefile (tests): Add tst-checks.
36294 * inet/tst-checks.c: New file.
36295
36296 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36297 warning.
36298
36299 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36300 __wmemcmp_sse2.
36301
36302 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36303 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36304
8a426e12
UD
36305 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36306
9bea3473
UD
363072011-12-02 Ulrich Drepper <drepper@gmail.com>
36308
3a965496
UD
36309 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36310 problem.
36311
9bea3473
UD
36312 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36313
f101631b
UD
363142011-11-29 Joseph Myers <joseph@codesourcery.com>
36315
36316 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36317 conditional on GCC version.
36318 (__arch_compare_and_exchange_val_8_acq)
36319 (__arch_compare_and_exchange_val_16_acq)
36320 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36321 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36322 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36323
a98275aa
UD
363242011-12-02 Joseph Myers <joseph@codesourcery.com>
36325
36326 * sysdeps/sh/backtrace.c: New file.
36327
d4cc29a2
AS
363282011-12-02 Andreas Schwab <schwab@redhat.com>
36329
36330 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36331 parenthesis.
36332
6257af2d
AS
363332011-12-01 Andreas Schwab <schwab@redhat.com>
36334
36335 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36336 falling back to utime.
36337
b5f44c1a
AS
363382011-11-30 Andreas Schwab <schwab@redhat.com>
36339
36340 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36341 expectations for float.
36342
f3a6cc0a
AS
363432011-11-29 Andreas Schwab <schwab@redhat.com>
36344
36345 * locale/weight.h (findidx): Add parameter len.
36346 * locale/weightwc.h (findidx): Likewise.
36347 * posix/fnmatch_loop.c (FCT): Adjust caller.
36348 * posix/regcomp.c (build_equiv_class): Likewise.
36349 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36350 * posix/regexec.c (check_node_accept_bytes): Likewise.
36351 * string/strcoll_l.c (STRCOLL): Likewise.
36352 * string/strxfrm_l.c (STRXFRM): Likewise.
36353
9d65ea3a
UD
363542011-11-17 Ulrich Drepper <drepper@gmail.com>
36355
36356 * Makefile.in: Remove CVSOPT handling.
36357 * configure.in: Remove use of AC_REVISION.
36358 * iconvdata/Makefile (distribute): No need to filter out CVS.
36359 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36360 handling.
36361
5583a086
AS
363622011-11-16 Andreas Schwab <schwab@redhat.com>
36363
36364 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36365 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36366 [USE_AS_STRNCASECMP_L]: Likewise.
36367 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36368 NO_TLS_DIRECT_SEG_REFS.
36369 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36370 Fix argument offsets for non-PIC.
36371 [USE_AS_STRNCASECMP_L]: Likewise.
36372 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36373 NO_TLS_DIRECT_SEG_REFS.
36374
d62a8200
UD
363752011-11-15 Ulrich Drepper <drepper@gmail.com>
36376
9d65ea3a 36377 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36378 O_CLOEXEC.
36379 * locale/loadlocale.c (_nl_load_locale): Likewise.
36380
09f93bd3
AS
363812011-11-15 Andreas Schwab <schwab@redhat.com>
36382
446514f9
AS
36383 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36384 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36385 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36386 (SYSCALL_GETTIME): Set errno on error.
36387
09f93bd3
AS
36388 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36389 count references to noai6ai_cached.
36390
312be3f9
UD
363912011-11-15 Ulrich Drepper <drepper@gmail.com>
36392
36393 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36394
36395 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36396 FD_CLOEXEC for /proc/self/maps.
36397
36398 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36399 FD_CLOEXEC for /proc/meminfo.
36400
36401 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36402 gai.conf.
36403
36404 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36405 FD_CLOEXEC for given file.
36406
36407 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36408
36409 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36410 FD_CLOEXEC for /etc/hosts.
36411 (_gethtent): Likewise.
36412
36413 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36414
36415 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36416 cancellation and set FD_CLOEXEC for /etc/netgroup.
36417
36418 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36419 reading /etc/publickey.
36420
36421 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36422 allow cancellation when reading /etc/group.
36423
36424 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36425 cancellation.
36426 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36427
36428 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36429 when using data file.
36430
36431 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36432
36433 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36434 (write_nis_obj): Use "c" and "e" in fopen.
36435
36436 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36437
36438 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36439
36440 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36441
36442 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36443
36444 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36445 locale.alias.
36446
36447 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36448
36449 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36450
36451 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36452
36453 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36454 file parsing and set FD_CLOEXEC.
36455
82af0fa8
UD
364562011-11-14 Ulrich Drepper <drepper@gmail.com>
36457
36458 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36459
a5fb313c
AS
364602011-11-14 Andreas Schwab <schwab@redhat.com>
36461
36462 * malloc/arena.c (arena_get2): Don't call reused_arena when
36463 _int_new_arena failed.
36464
6abf3465
UD
364652011-11-14 Ulrich Drepper <drepper@gmail.com>
36466
36467 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36468 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36469 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36470 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36471 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36472 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36473 to compile strcasecmp and strncasecmp.
36474 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36475 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36476
36477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36478
76e3966e
UD
364792011-11-13 Ulrich Drepper <drepper@gmail.com>
36480
36481 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36482 locale-defines.sym to gen-as-const-headers.
36483 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36484 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36486 to compile strcasecmp and strncasecmp.
36487 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36488 strcasecmp_l and strncasecmp_l.
36489 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36490 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36491 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36492 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36493 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36494 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36495 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36496 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36497 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36498 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36499 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36500
ab26144e
UD
365012011-11-12 Ulrich Drepper <drepper@gmail.com>
36502
7edb22ef
UD
36503 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36504 result of SYSDEP_GETTIME_CPU to retval.
36505 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36506 parameter list to macro. Remove trailing semicolon. Adjust users.
36507
9694fc44
UD
36508 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36509 variable.
36510
8ad89ef8
UD
36511 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36512 mantissa words.
36513 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36514
0c822ef9
UD
36515 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36516 from unused variable.
36517
874e0564
UD
36518 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36519 DWARF definitions.
36520 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36521 for assembling.
36522
3a2edc79
UD
36523 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36524 over namespaces.
36525
f3c2577f
UD
36526 * sunrpc/rpc_prot.c (rejected): Fix case value.
36527
294ce126
UD
36528 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36529 unsigned long long int to avoid warnings in shift.
36530
5e2b63c6
UD
36531 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36532 of use of trans.
36533 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36534 variable tmp.
36535
e7f4b08e
UD
36536 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36537 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36538 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36539
ab26144e
UD
36540 * nis/nis_table.c (nis_list): Use variable of correct type for
36541 result of __follow_path call.
36542
8a6d5255
AZ
365432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36544
36545 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36546 of math functions ceil, trunc, floor, round, and sqrt, when
36547 avaliable on the platform.
36548 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36549 name clash.
36550 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36551 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36552 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36553
aaddc98c
MP
365542011-10-30 Marek Polacek <mpolacek@redhat.com>
36555
36556 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36557 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36558
95b7042b
RM
365592011-11-11 Roland McGrath <roland@hack.frob.com>
36560
36561 * include/unistd.h: Fix __readlink return type.
36562 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36563
57769839
UD
365642011-11-11 Ulrich Drepper <drepper@gmail.com>
36565
36566 * stdlib/ucontext.h: Undo last change for makecontext.
36567
edc5984d
AS
365682011-11-11 Andreas Schwab <schwab@redhat.com>
36569
98591e58
AS
36570 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36571
edc5984d
AS
36572 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36573 * setjmp/setjmp.h: Mark functions as non-leaf.
36574 * setjmp/bits/setjmp2.h: Likewise.
36575 * stdlib/ucontext.h: Likewise.
36576
77cdc054
AS
365772011-11-10 Andreas Schwab <schwab@redhat.com>
36578
36579 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36580 (reused_arena): Don't check arena limit.
36581 (arena_get2): Atomically check arena limit.
36582
fe72eebd
UD
365832011-11-08 Ulrich Drepper <drepper@gmail.com>
36584
5f078c32
UD
36585 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36586 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36587
fe72eebd
UD
36588 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36589 instructions.
36590
ae1bc2fa
AS
365912011-11-07 Andreas Schwab <schwab@redhat.com>
36592
7583a88d
AS
36593 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36594 handler when locking.
36595
ae1bc2fa
AS
36596 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36597 Fix size of allocated buffer.
36598
10fb0bfa
AS
365992011-11-04 Andreas Schwab <schwab@redhat.com>
36600
998832a4
AS
36601 [BZ #10103]
36602 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36603 declarations for long double functions.
36604 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36605
10fb0bfa
AS
36606 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36607
3d7ba52b
AS
366082011-11-03 Andreas Schwab <schwab@redhat.com>
36609
a9ae54a1
AS
36610 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36611 installed.
36612
3d7ba52b
AS
36613 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36614 is disabled.
36615
bc8db248
ST
366162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36617
36618 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36619
45b96dd6
AS
366202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36621
647776f6
AS
36622 * include/alloca.h (stackinfo_alloca_round): Define.
36623 (extend_alloca): Use it.
36624 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36625 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36626 here.
36627
d91a8b93
AS
36628 * scripts/check-local-headers.sh: Ignore libaudit.h.
36629
45b96dd6
AS
36630 * nscd/Makefile (extra-objs): Make recursively expanded.
36631
432d41ce
UD
366322011-11-01 Ulrich Drepper <drepper@gmail.com>
36633
34372fc6
UD
36634 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36635 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36636
fadb59f8
UD
36637 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36638 * posix/tst-rfc3484-2.c: Likewise.
36639 * posix/tst-rfc3484-3.c: Likewise.
36640
78239589
UD
36641 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36642 process_vm_writev.
36643 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36644 process_vm_writev.
36645 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36646 process_vm_writev from libc using GLIBC_2.15 version.
36647
432d41ce
UD
36648 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36649
02f9c6cf
PP
366502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36651
36652 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36653 stack usage.
36654
3a2c0242
UD
366552011-10-31 Ulrich Drepper <drepper@gmail.com>
36656
f4ec4833
UD
36657 [BZ #13367]
36658 * nss/getent.c (initgroups_keys): Show error message in case no group
36659 names are given.
36660
3a2c0242
UD
36661 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36662 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36663 __bump_nl_timestamp.
36664 * nscd/connections (nscd_init): When host database is served open
36665 netlink socket and request notification about configuration changes.
36666 (main_loop_poll): Track netlink file descriptor and bump timestamp
36667 in case data becomes available.
36668 (main_loop_epoll): Likewise.
36669 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36670 (database_pers_head): Add extra_data fileds.
36671 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36672 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36673 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36674 Adjust caller.
36675 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36676 in6ai data, call __free_in6ai.
36677 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36678 Add -DHAVE_NETLINK.
36679 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36680 interface information. Reuse previous data if netlink timestamp
36681 is not changed.
36682 (__bump_nl_timestamp): New function.
36683 (__free_in6ai): New function.
36684
636064eb
UD
366852011-10-30 Ulrich Drepper <drepper@gmail.com>
36686
36687 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36688 close_not_cancel_no_status here.
36689 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36690
9beb2334
UD
366912011-10-29 Ulrich Drepper <drepper@gmail.com>
36692
6ef76f3b
UD
36693 [BZ #13276]
36694 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36695 return value.
36696
0ffc4f3e 36697 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36698 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36699 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36700
cb95113e
UD
367012011-07-03 Andreas Jaeger <aj@suse.de>
36702
36703 [BZ #10709]
36704 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36705 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36706 * math/libm-test.inc (sin_test): Add test case.
36707
a1b560ff
UD
367082011-10-29 Ulrich Drepper <drepper@gmail.com>
36709
c9aaface
UD
36710 [BZ #13337]
36711 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36712 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36713
d272e7f1
UD
36714 * elf/chroot_canon.c (chroot_canon): Cleanups.
36715
1bc33071
UD
36716 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36717
1760874d
TJ
36718 [BZ #13335]
36719 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36720 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36721
51d91b18
UD
36722 * string/test-strchr.c: Make usable for strchrnul testing.
36723 * string/test-strchrnul.c: New file.
36724 * string/Makefile (strop-tests): Add strchrnul.
36725
a1b560ff 36726 * po/it.po: Update from translation team.
b611fb81 36727 * po/es.po: Likewise.
a1b560ff 36728
a5b81e1f
UD
367292011-10-28 Ulrich Drepper <drepper@gmail.com>
36730
fd52bc6d
UD
36731 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36732 the three constants needed as parameters. Drop the others.
36733 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36734 __m128i_strloadu_tolower.
52e4b9eb
UD
36735 Create and initialize variable zero and use it in all the places
36736 where _mm_setzero_si128 was used.
fd52bc6d 36737
a5b81e1f
UD
36738 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36739 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36740 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36741 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36742 anymore.
36743 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36744 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36745 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36746 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36747 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36748 __mpranred, __mptan.
36749 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36750 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36751 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36752 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36753 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36754 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36755 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36756 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36757 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36758
b4343346
AS
367592011-10-28 Andreas Schwab <schwab@redhat.com>
36760
0c92d8a8
AS
36761 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36762 redefine if SHARED.
36763 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36764
b4343346
AS
36765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36766 wide char related routines to wcsmbs subdir.
36767
3871f58f
AS
367682011-10-27 Andreas Schwab <schwab@redhat.com>
36769
36770 [BZ #13344]
36771 * misc/sys/cdefs.h (__THROWNL): Define.
36772 * posix/unistd.h: Use __THREADNL instead of __THREAD
36773 for memory synchronization functions.
36774
94d44d9f
RM
367752011-10-26 Roland McGrath <roland@hack.frob.com>
36776
21b64b15 36777 [BZ #13349]
94d44d9f
RM
36778 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36779 doesn't exist.
36780 * manual/stdio.texi (Obstack Streams): Node removed.
36781
f6ce9294
AS
367822011-10-26 Andreas Schwab <schwab@redhat.com>
36783
80479147
AS
36784 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36785 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36786 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36787
f6ce9294
AS
36788 * math/math_private.h (math_force_eval): Allow non-addressable
36789 arguments.
36790 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36791
618280a1
UD
367922011-10-25 Ulrich Drepper <drepper@gmail.com>
36793
e0016b11
UD
36794 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36795 file is not needed.
36796
36797 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36798 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36799 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36800 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36801 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36802 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36803 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36804 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36805 Add AVX variants.
36806 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36807 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36808 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36809 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36810 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36811 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36812 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36813 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36814 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36815 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36816 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36817 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36818 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36819 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36820 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36821 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36822 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36823 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36824 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36825
36826 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36827 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36828
618280a1
UD
36829 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36830 place. Use VEX encoding when compiling for AVX.
36831
37822576
AS
368322011-10-25 Andreas Schwab <schwab@redhat.com>
36833
1f1e1947
AS
36834 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36835 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36836
37822576
AS
36837 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36838
31ea014d
UD
368392011-10-25 Ulrich Drepper <drepper@gmail.com>
36840
d7826aa1 36841 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36842 useless if() expression.
d7826aa1
UD
36843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36844 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36845 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36846 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36847 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36848 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36849 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36850 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36851 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36852 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36853 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36854 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36855 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36856 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36857 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36858 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36859 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36860 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36861 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36862
31ea014d
UD
36863 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36864
16437fec
AS
368652011-10-25 Andreas Schwab <schwab@redhat.com>
36866
36867 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36868 condition.
36869 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36870
31d3cc00
UD
368712011-10-25 Ulrich Drepper <drepper@gmail.com>
36872
36873 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36874 .text section. Avoid duplicate constants.
36875 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36876 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36877 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36878 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36879 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36883 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36884 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36885 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36886 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36887 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36888 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36889 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36890 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36891 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36892 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36893 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36894 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36895 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36896 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36897 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36898 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36899 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36900 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36901 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36902 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36903 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36904 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36905 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36906 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36907 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36908 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36909 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36910 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36911 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36912 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36913 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36914 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36915 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36916 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36917 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36918 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36919 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36920
58985aa9
UD
369212011-10-24 Ulrich Drepper <drepper@gmail.com>
36922
202c9deb
UD
36923 * sysdeps/x86_64/dla.h: Move to ...
36924 * sysdeps/x86_64/fpu/dla.h: ...here.
36925 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36926 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36927
af968f62
UD
36928 * config.make.in: Add have-mfma4 entry.
36929 * configure.in: Substitute libc_cv_cc_fma4.
36930 * math/Makefile (dbl-only-routines): Add sincostab.
36931 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36932 Use __sincostab not sincos.
36933 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36934 name is a macro.
36935 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36937 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36939 using __copysign.
36940 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36941 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36942 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36943 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36944 and __inv.
36945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36946 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36947 __copysign.
36948 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36949 define aliases when function name is a macro.
36950 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36951 sysdeps/ieee754/dbl-64/sincos.tbl.
36952 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36953 fma4-enabled routines.
36954 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36955 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36956 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36957 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36958 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36959 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36960 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36961 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36962 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36963 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36964 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36965 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36966 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36967 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36968 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36969 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36970 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36971 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36972 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36973 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36974 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36975 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36976 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36977 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36978 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36979 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36980 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36981 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36982 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36983 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36984
58985aa9
UD
36985 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36986 rename.
36987 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36988 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36989 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36993 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36994 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36995
a201fbcf
AS
369962011-10-24 Andreas Schwab <schwab@redhat.com>
36997
36998 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36999
fc2ee42a
LD
370002011-10-23 Ulrich Drepper <drepper@gmail.com>
37001
bb3129bd
UD
37002 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37003
0275fff8
UD
37004 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37005 prediction.
37006 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37007
2fa2ae85
UD
37008 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37009 Remove unused variable magic_bits.
37010 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37011
fc2ee42a
LD
37012 * string/strnlen.c: Define and use STRNLEN macro.
37013 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37014 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37016 * wcsmbs/wcslen.c: Define and use WCSLEN.
37017 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37018 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37019 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37020 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37021 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37022 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37023 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37024
ce7dd29f
LD
370252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37026
37027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37028 strnlen-sse2-no-bsf.
37029 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37030 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37031 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37032 Add strnlen support.
37033 (USE_AS_STRNLEN): New macro.
37034 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37035 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37036 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37037 * sysdeps/x86_64/wcslen.S: New file.
37038
979c70a3
MZ
370392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37040
37041 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37042 XMM-moves are used for copying on small sizes.
37043
2d09f82f
LD
370442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37045
37046 * wcsmbs/Makefile (strop-tests): Add wcschr.
37047 * wcsmbs/test-wcschr.c: New file.
37048 * string/test-strchr.c: Update.
37049 Add wcschr support.
37050 (WIDE): New macro.
37051
619fccca
LD
370522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37053
2d09f82f 37054 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37055 * wcsmbs/test-wcslen.c: New file.
37056 * string/test-strlen.c: Update.
37057 Add wcslen support.
37058 (WIDE): New macro.
37059
09f699ea
UD
370602011-10-23 Ulrich Drepper <drepper@gmail.com>
37061
37062 * po/it.po: Update from translation team.
37063
95584d3b
LD
370642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37065
37066 * sysdeps/x86_64/wcscmp.S: Update.
37067 Fix wrong comparison semantics.
37068 wcscmp shall use signed comparison not unsigned.
37069 Don't use substraction to avoid overflow bug.
37070 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37071 * wcsmbc/wcscmp.c: Likewise.
37072 * string/test-strcmp.c: Likewise.
37073 Add new tests to check cases with negative values.
37074
c8b3296b
UD
370752011-10-23 Ulrich Drepper <drepper@gmail.com>
37076
37077 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37078 * sysdeps/x86_64/dla.h: ...here. New file.
37079 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37086 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37087 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37088
246ad57a
AS
370892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37090
37091 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37092 __ynl_finite aliases.
37093
a1a87169
UD
370942011-10-22 Ulrich Drepper <drepper@gmail.com>
37095
0d355eb7
UD
37096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37097
a1a87169
UD
37098 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37099 define DLA_FMA.
37100 [DLA_FMA] (EMULV): Use DLA_FMA.
37101 [DLA_FMA] (MUL12): Use EMULV.
37102 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37103 that are not needed.
37104 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37111
ee2aafe0
AS
371122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37113
37114 * math/s_nan.c: Undef __nan.
37115 * math/s_nanf.c: Undef __nanf.
37116 * math/s_nanl.c: Undef __nanl.
37117 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37118 "math_private.h".
37119
bc62c2fb
UD
371202011-10-22 Ulrich Drepper <drepper@gmail.com>
37121
77425c63
UD
37122 * math/s_catan.c: Add branch predictions.
37123 * math/s_catanf.c: Likewise.
37124 * math/s_catanh.c: Likewise.
37125 * math/s_catanhf.c: Likewise.
37126 * math/s_catanhl.c: Likewise.
37127 * math/s_catanl.c: Likewise.
37128 * math/s_cexp.c: Likewise.
37129 * math/s_cexpf.c: Likewise.
37130 * math/s_cexpl.c: Likewise.
37131 * math/s_clog.c: Likewise.
37132 * math/s_clog10.c: Likewise.
37133 * math/s_clog10f.c: Likewise.
37134 * math/s_clog10l.c: Likewise.
37135 * math/s_clogf.c: Likewise.
37136 * math/s_clogl.c: Likewise.
37137 * math/s_csqrt.c: Likewise.
37138 * math/s_csqrtf.c: Likewise.
37139 * math/s_csqrtl.c: Likewise.
37140 * math/s_ctanf.c: Likewise.
37141 * math/s_ctanh.c: Likewise.
37142 * math/s_ctanhf.c: Likewise.
37143 * math/s_ctanhl.c: Likewise.
37144 * math/s_ctanl.c: Likewise.
37145
bc62c2fb
UD
37146 * math/math_private.h: Define __nan, __nanf, __nanl.
37147 * math/s_cacosh.c: Include <math_private.h>.
37148 * math/s_cacoshl.c: Likewise.
37149 * math/s_casinh.c: Likewise.
37150 * math/s_casinhf.c: Likewise.
37151 * math/s_casinhl.c: Likewise.
37152 * math/s_ccos.c: Rely entire on ccosh.
37153 * math/s_ccosf.c: Rely entire on ccoshf.
37154 * math/s_ccosl.c: Rely entirely on ccoshl.
37155 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37156 Remove tests for FE_INVALID.
37157 * math/s_ccoshf.c: Likewise.
37158 * math/s_ccoshl.c: Likewise.
37159 * math/s_csin.c: Likewise.
37160 * math/s_csinf.c: Likewise.
37161 * math/s_csinh.c Likewise.
37162 * math/s_csinhf.c: Likewise.
37163 * math/s_csinhl.c: Likewise.
37164 * math/s_csinl.c: Likewise.
37165 * math/s_ctan.c: Likewise.
37166 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37167 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37168 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37169
8ec250a4
UD
371702011-10-21 Ulrich Drepper <drepper@gmail.com>
37171
c196fed8
UD
37172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37173 compilation problems.
37174
8ec250a4
UD
37175 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37176 __builtin_expect.
37177
8d4f46c6
UD
371782011-10-20 Ulrich Drepper <drepper@gmail.com>
37179
ed72b654
UD
37180 * sysdeps/i386/configure.in: Test for -mfma4 option.
37181 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37182 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37183 COMMON_CPUID_INDEX_80000001.
37184 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37185 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37186 use it if FMA3 is not supported.
37187 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37188
8d4f46c6
UD
37189 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37190 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37191
d45c60c2
AS
371922011-10-20 Andreas Schwab <schwab@redhat.com>
37193
37194 [BZ #12892]
37195 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37196 it would create a cycle with a link time dependency.
37197
d9a4d2ab
UD
371982011-10-19 Ulrich Drepper <drepper@gmail.com>
37199
855d1560
UD
37200 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37201 instruction.
37202 * string/Makefile (strop-tests): Add rawmemchr.
37203 * string/test-rawmemchr.c: New file.
37204
d9a4d2ab
UD
37205 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37206 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37207 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37208 when compiling str{,n}casecmp and when AVX is available. Hook up
37209 new optimized code in initializers.
37210
8f3b1ffe
AS
372112011-10-19 Andreas Schwab <schwab@redhat.com>
37212
37213 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37214 __feraiseexcept instead of feraiseexcept.
37215
d38f1dba
UD
372162011-10-18 Ulrich Drepper <drepper@gmail.com>
37217
d9a8d0ab
UD
37218 * math/math_private.h: Define defaults for libc_fetestexcept and
37219 libc_feupdateenv.
37220 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37221 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37222 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37223 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37224 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37225 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37226 libc_fetestexcept and libc_feupdateenv.
37227
4855e3dd
UD
37228 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37229 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37230 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37231 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37232 libc_feholdexcept_setround.
37233
581d30e3
UD
37234 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37235 Add s_nearbyint-c and s_nearbyintf-c.
37236 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37237 nearbyintf inlines.
37238 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37239 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37240 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37241 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37242
d38f1dba
UD
37243 * math/math_private.h: Define defaults for libc_fegetround,
37244 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37245 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37246 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37247 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37248 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37249 standard functions.
37250 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37251 Remove comments and hacks for old compiler versions.
37252 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37253 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37254 libc_feholdexceptl.
37255
caa6c9d8
AS
372562011-10-18 Andreas Schwab <schwab@redhat.com>
37257
37258 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37259 (__feraiseexcept_renamed): Add __NTH.
37260 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37261 namespace violations.
37262
97c066e6
UD
372632011-10-17 Ulrich Drepper <drepper@gmail.com>
37264
99ce7b04
UD
37265 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37266
1004d182
UD
37267 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37268
228a984d
UD
37269 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37270 recently added interfaces.
37271 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37272
c8553a6a
UD
37273 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37274 about macro parameter expansion.
37275
ed22dcf6
UD
37276 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37277 __NO_MATH_INLINES is defined. Cleanups.
37278
37279 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37280 and __floorf is target has SSE4.1.
37281 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37282 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37283 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37284 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37285
b171c137
UD
37286 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37287 name.
37288 (floorf): Likewise.
37289
97c066e6
UD
37290 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37291
629f62ef
AS
372922011-10-17 Andreas Schwab <schwab@redhat.com>
37293
49a43d80
AS
37294 * misc/sys/cdefs.h: Fix last change.
37295
629f62ef
AS
37296 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37297 database lookup.
37298
e453f6cd
UD
372992011-10-16 Ulrich Drepper <drepper@gmail.com>
37300
aa78043a
UD
37301 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37302
ad0f5cad
UD
37303 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37304 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37305 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37306 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37307 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37308 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37309 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37310 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37311 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37312 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37313 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37314 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37315 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37316 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37317 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37318 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37319 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37320 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37321 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37322 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37323 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37324 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37325
37326 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37327 ceil, ceilf, floor, floorf.
37328
37329 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37330 Perform IRELATIVE relocations last.
37331
e453f6cd
UD
37332 * elf/do-rel.h: Add another parameter nrelative, replacing the
37333 local variable with the same name. Change name of the function
37334 to end in Rel or Rela (uppercase).
37335 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37336 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37337 elf_dynamic_do_##reloc function.
37338
fd5bdc09
UD
373392011-10-15 Ulrich Drepper <drepper@gmail.com>
37340
79b195b5
UD
37341 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37342 is sufficient, at least on modern CPUs.
37343
d4a28569
UD
37344 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37345
b61099b5
UD
37346 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37347 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37348
bcf01e6d
UD
37349 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37350 __expl_finite.
37351 * math/bits/math-finite.h: Add entries for exp.
37352 * math/e_expl.c: Add __*_finite alias.
37353 * sysdeps/i386/fpu/e_exp.S: Likewise.
37354 * sysdeps/i386/fpu/e_expf.S: Likewise.
37355 * sysdeps/i386/fpu/e_expl.c: Likewise.
37356 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37357 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37358 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37360 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37361 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37362 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37363
ba1a0d59
UD
37364 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37365 is sufficient, at least on modern CPUs.
37366
fd5bdc09
UD
37367 * ctype/ctype-info.c (__ctype_init): Define.
37368 * include/ctype.h (__ctype_init): Declare.
37369 (__ctype_b_loc): The variable is always initialized.
37370 (__ctype_toupper_loc): Likewise.
37371 (__ctype_tolower_loc): Likewise.
37372 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37373 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37374
7872cfb0
AS
373752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37376
b468825a
AS
37377 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37378
7872cfb0
AS
37379 * configure.in: Also look in $cxxmachine/include for C++ system
37380 headers.
37381
be13f7bf
LD
373822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37383
37384 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37385 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37386 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37387 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37388 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37389 (USE_AS_WMEMCMP): New macro.
37390 Fixing indents.
37391 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37392 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37393 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37394 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37396 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37397 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37398 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37399 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37400 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37401 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37402 (USE_AS_WMEMCMP): New macro.
37403 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37404 * sysdeps/string/test-memcmp.c: Update.
37405 Fix simple_wmemcmp.
37406 Add new tests.
37407 * wcsmbs/wmemcmp.c: Update.
37408 (WMEMCMP): New macro.
37409 Fix overflow bug.
37410
556a2007
AJ
374112011-10-12 Andreas Jaeger <aj@suse.de>
37412
37413 [BZ #13268]
37414 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37415
538faaa7
UD
374162011-10-15 Ulrich Drepper <drepper@gmail.com>
37417
ab6737ff
UD
37418 * libio/iofwide.c (do_length): Avoid warning.
37419
538faaa7
UD
37420 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37421
396a21b1
UD
374222011-10-14 Ulrich Drepper <drepper@gmail.com>
37423
cdf2901f
UD
37424 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37425
38ad40ce
UD
37426 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37427 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37428 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37429 * sysdeps/i386/i686/fpu/e_log.S: New file.
37430 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37431 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37432
396a21b1
UD
37433 * ctype/ctype.h: Add support for inlined isXXX functions when
37434 compiling C++ code.
37435
6b1f68c9
AS
374362011-10-14 Andreas Schwab <schwab@redhat.com>
37437
349290c0
AS
37438 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37439
6b1f68c9
AS
37440 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37441
f2282d42
RM
374422011-10-13 Roland McGrath <roland@hack.frob.com>
37443
37444 [BZ #13291]
37445 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37446
5298ffa8
AS
374472011-10-13 Andreas Schwab <schwab@redhat.com>
37448
714fad23
AS
37449 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37450 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37451 feraiseexcept.
37452
81dcc7fb
AS
37453 * sysdeps/x86_64/memrchr.S: Check for zero size.
37454
5298ffa8
AS
37455 * string/stratcliff.c: Add memrchr tests.
37456
951fbcec
LD
374572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37458
37459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37460 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37461 rawmemchr-sse2 rawmemchr-sse2-bsf.
37462 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37463 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37464 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37465 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37466 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37467 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37468 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37469 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37470 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37471 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37472 * string/memrchr.c (MEMRCHR): New macro.
37473
0ac5ae23
UD
374742011-10-12 Ulrich Drepper <drepper@gmail.com>
37475
37476 Add integration with gcc's -ffinite-math-only and optimize wrapper
37477 functions in libm.
37478 * Versions.def: Define GLIBC_2.15 version for libm.
37479 * math/Makefile (headers): Add bits/math-finite.h.
37480 * math/bits/math-finite.h: New file.
37481 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37482 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37483 * math/e_acoshl.c: Add __*_finite alias.
37484 * math/e_acosl.c: Likewise.
37485 * math/e_asinl.c: Likewise.
37486 * math/e_atan2l.c: Likewise.
37487 * math/e_atanhl.c: Likewise.
37488 * math/e_coshl.c: Likewise.
37489 * math/e_exp10.c: Likewise.
37490 * math/e_exp10f.c: Likewise.
37491 * math/e_exp10l.c: Likewise.
37492 * math/e_exp2l.c: Likewise.
37493 * math/e_fmodl.c: Likewise.
37494 * math/e_gammal_r.c: Likewise.
37495 * math/e_hypotl.c: Likewise.
37496 * math/e_j0l.c: Likewise.
37497 * math/e_j1l.c: Likewise.
37498 * math/e_jnl.c: Likewise.
37499 * math/e_lgammal_r.c: Likewise.
37500 * math/e_log10l.c: Likewise.
37501 * math/e_log2l.c: Likewise.
37502 * math/e_logl.c: Likewise.
37503 * math/e_powl.c: Likewise.
37504 * math/e_sinhl.c: Likewise.
37505 * math/e_sqrtl.c: Likewise.
37506 * math/e_scalb.c: Completely rewritten and optimized.
37507 * math/e_scalbf.c: Likewise.
37508 * math/e_scalbl.c: Likewise.
37509 * math/w_acos.c: Likewise.
37510 * math/w_acosf.c: Likewise.
37511 * math/w_acosl.c: Likewise.
37512 * math/w_acosh.c: Likewise.
37513 * math/w_acoshf.c: Likewise.
37514 * math/w_acoshl.c: Likewise.
37515 * math/w_asin.c: Likewise.
37516 * math/w_asinf.c: Likewise.
37517 * math/w_asinl.c: Likewise.
37518 * math/w_atan2.c: Likewise.
37519 * math/w_atan2f.c: Likewise.
37520 * math/w_atan2l.c: Likewise.
37521 * math/w_atanh.c: Likewise.
37522 * math/w_atanhf.c: Likewise.
37523 * math/w_atanhl.c: Likewise.
37524 * math/w_exp10.c: Likewise.
37525 * math/w_exp10f.c: Likewise.
37526 * math/w_exp10l.c: Likewise.
37527 * math/w_fmod.c: Likewise.
37528 * math/w_fmodf.c: Likewise.
37529 * math/w_fmodl.c: Likewise.
37530 * math/w_j0.c: Likewise.
37531 * math/w_j0f.c: Likewise.
37532 * math/w_j0l.c: Likewise.
37533 * math/w_j1.c: Likewise.
37534 * math/w_j1f.c: Likewise.
37535 * math/w_j1l.c: Likewise.
37536 * math/w_jn.c: Likewise.
37537 * math/w_jnf.c: Likewise.
37538 * math/w_log.c: Likewise.
37539 * math/w_logf.c: Likewise.
37540 * math/w_logl.c: Likewise.
37541 * math/w_log10.c: Likewise.
37542 * math/w_log10f.c: Likewise.
37543 * math/w_log10l.c: Likewise.
37544 * math/w_log2.c: Likewise.
37545 * math/w_log2f.c: Likewise.
37546 * math/w_log2l.c: Likewise.
37547 * math/w_pow.c: Likewise.
37548 * math/w_powf.c: Likewise.
37549 * math/w_powl.c: Likewise.
37550 * math/w_remainder.c: Likewise.
37551 * math/w_remainderf.c: Likewise.
37552 * math/w_remainderl.c: Likewise.
37553 * math/w_scalb.c: Likewise.
37554 * math/w_scalbf.c: Likewise.
37555 * math/w_scalbl.c: Likewise.
37556 * math/w_sqrt.c: Likewise.
37557 * math/w_sqrtf.c: Likewise.
37558 * math/w_sqrtl.c: Likewise.
37559 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37560 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37561 used.
37562 * math/math_private.h: Declare __kernel_standard_f.
37563 * math/w_cosh.c: Remove cruft and optimize a bit.
37564 * math/w_coshf.c: Likewise.
37565 * math/w_coshl.c: Likewise.
37566 * math/w_exp2.c: Likewise.
37567 * math/w_exp2f.c: Likewise.
37568 * math/w_exp2l.c: Likewise.
37569 * math/w_hypot.c: Likewise.
37570 * math/w_hypotf.c: Likewise.
37571 * math/w_hypotl.c: Likewise.
37572 * math/w_lgamma.c: Likewise.
37573 * math/w_lgamma_r.c: Likewise.
37574 * math/w_lgammaf.c: Likewise.
37575 * math/w_lgammaf_r.c: Likewise.
37576 * math/w_lgammal.c: Likewise.
37577 * math/w_lgammal_r.c: Likewise.
37578 * math/w_sinh.c: Likewise.
37579 * math/w_sinhf.c: Likewise.
37580 * math/w_sinhl.c: Likewise.
37581 * math/w_tgamma.c: Likewise.
37582 * math/w_tgammaf.c: Likewise.
37583 * math/w_tgammal.c: Likewise.
37584 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37585 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37586 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37587 Minor optimizations. Pretty printing. Remove cruft.
37588 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37589 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37590 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37591 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37592 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37593 * sysdeps/i386/fpu/e_asin.S: Likewise.
37594 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37595 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37596 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37597 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37598 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37599 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37600 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37601 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37602 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37603 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37604 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37605 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37606 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37607 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37608 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37609 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37610 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37611 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37612 * sysdeps/i386/fpu/e_log.S: Likewise.
37613 * sysdeps/i386/fpu/e_log10.S: Likewise.
37614 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37615 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37616 * sysdeps/i386/fpu/e_log2.S: Likewise.
37617 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37618 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37619 * sysdeps/i386/fpu/e_logf.S: Likewise.
37620 * sysdeps/i386/fpu/e_logl.S: Likewise.
37621 * sysdeps/i386/fpu/e_pow.S: Likewise.
37622 * sysdeps/i386/fpu/e_powf.S: Likewise.
37623 * sysdeps/i386/fpu/e_powl.S: Likewise.
37624 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37625 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37626 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37627 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37628 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37629 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37630 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37631 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37632 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37637 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37638 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37639 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37640 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37641 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37642 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37643 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37644 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37646 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37647 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37649 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37650 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37651 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37653 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37654 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37655 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37656 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37657 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37658 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37659 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37660 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37661 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37662 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37663 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37664 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37665 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37666 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37667 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37668 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37669 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37670 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37671 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37672 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37673 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37674 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37675 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37677 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37678 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37679 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37680 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37681 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37682 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37683 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37684 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37685 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37686 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37687 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37688 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37689 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37690 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37691 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37692 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37693 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37694 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37696 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37697 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37698 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37699 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37700 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37702 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37703 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37704 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37705 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37706 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37707 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37708 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37709 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37710 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37711 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37713 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37714 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37715 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37716 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37718 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37719 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37720 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37721 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37724 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37725 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37726 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37727 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37728 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37729 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37730 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37731 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37732 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37733 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37734 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37735 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37736 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37737 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37738 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37739 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37740 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37741 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37742 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37743 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37744 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37745 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37746 (__isnanf): Likewise.
37747 (__isinf_ns): Likewise.
37748 (__isinf_nsf): Likewise.
37749 (__finite): Likewise.
37750 (__finitef): Likewise.
37751 (__ieee754_sqrt): Define as macro.
37752 (__ieee754_sqrtf): Define as macro.
37753 (__ieee754_sqrtl): Define as macro.
37754 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37755 inlined copy.
37756 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37757 __FINITE_MATH_ONLY__ consistent.
37758 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37759
12cc2fcd
AS
377602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37761
a843a204
AS
37762 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37763 of rawmemchr.
37764
12cc2fcd
AS
37765 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37766
c853acd5
UD
377672011-10-09 Ulrich Drepper <drepper@gmail.com>
37768
37769 * po/ja.po: Update from translation team.
37770
c658d255
RM
377712011-10-08 Roland McGrath <roland@hack.frob.com>
37772
110946e4
RM
37773 * locale/programs/locarchive.c (prepare_address_space): New function.
37774 (create_archive, enlarge_archive, open_archive): Use it.
37775
50604220
RM
37776 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37777 inside [SHARED], where it is used.
37778
c658d255
RM
37779 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37780
37781 * nss/getent.c (netgroup_keys): Remove unused variable.
37782 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37783
6a621eb7
UD
377842011-10-08 Ulrich Drepper <drepper@gmail.com>
37785
7edb55ce
UD
37786 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37787 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37788 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37789 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37790 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37791 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37792 * math/Makefile (libm-calls): Add s_isinf_ns.
37793 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37794 * math/multc3.c: Likewise.
37795 * math/s_casin.c: Likewise.
37796 * math/s_casinf.c: Likewise.
37797 * math/s_casinl.c: Likewise.
37798 * math/s_ccos.c: Likewise.
37799 * math/s_ccosf.c: Likewise.
37800 * math/s_ccosl.c: Likewise.
37801 * math/s_ctan.c: Likewise.
37802 * math/s_ctanf.c: Likewise.
37803 * math/s_ctanh.c: Likewise.
37804 * math/s_ctanhf.c: Likewise.
37805 * math/s_ctanhl.c: Likewise.
37806 * math/s_ctanl.c: Likewise.
37807 * math/w_fmod.c: Likewise.
37808 * math/w_fmodf.c: Likewise.
37809 * math/w_fmodl.c: Likewise.
37810 * math/w_remainder.c: Likewise.
37811 * math/w_remainderf.c: Likewise.
37812 * math/w_remainderl.c: Likewise.
37813 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37814 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37815 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37816 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37817 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37818 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37819 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37820 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37821
187da0ae
UD
37822 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37823 of the number.
37824 * stdio-common/printf_fphex.c: Likewise.
37825 * stdio-common/printf_size.c: Likewise.
37826
9277c064
UD
37827 * math/e_exp10.c: Include math_private.h using <...> not "...".
37828 * math/e_exp10f.c: Likewise.
37829 * math/e_exp10l.c: Likewise.
37830 * math/e_exp2l.c: Likewise.
37831 * math/e_j0l.c: Likewise.
37832 * math/e_j1l.c: Likewise.
37833 * math/e_jnl.c: Likewise.
37834 * math/e_lgammal_r.c: Likewise.
37835 * math/e_rem_pio2l.c: Likewise.
37836 * math/e_scalb.c: Likewise.
37837 * math/e_scalbf.c: Likewise.
37838 * math/e_scalbl.c: Likewise.
37839 * math/k_cosl.c: Likewise.
37840 * math/k_sinl.c: Likewise.
37841 * math/k_tanl.c: Likewise.
37842 * math/s_cacoshf.c: Likewise.
37843 * math/s_catan.c: Likewise.
37844 * math/s_catanf.c: Likewise.
37845 * math/s_catanh.c: Likewise.
37846 * math/s_catanhf.c: Likewise.
37847 * math/s_catanhl.c: Likewise.
37848 * math/s_catanl.c: Likewise.
37849 * math/s_ccosh.c: Likewise.
37850 * math/s_ccoshf.c: Likewise.
37851 * math/s_ccoshl.c: Likewise.
37852 * math/s_cexp.c: Likewise.
37853 * math/s_cexpf.c: Likewise.
37854 * math/s_cexpl.c: Likewise.
37855 * math/s_clog.c: Likewise.
37856 * math/s_clog10.c: Likewise.
37857 * math/s_clog10f.c: Likewise.
37858 * math/s_clog10l.c: Likewise.
37859 * math/s_clogf.c: Likewise.
37860 * math/s_clogl.c: Likewise.
37861 * math/s_csin.c: Likewise.
37862 * math/s_csinf.c: Likewise.
37863 * math/s_csinh.c: Likewise.
37864 * math/s_csinhf.c: Likewise.
37865 * math/s_csinhl.c: Likewise.
37866 * math/s_csinl.c: Likewise.
37867 * math/s_csqrt.c: Likewise.
37868 * math/s_csqrtf.c: Likewise.
37869 * math/s_csqrtl.c: Likewise.
37870 * math/s_ctan.c: Likewise.
37871 * math/s_ctanf.c: Likewise.
37872 * math/s_ctanh.c: Likewise.
37873 * math/s_ctanhf.c: Likewise.
37874 * math/s_ctanhl.c: Likewise.
37875 * math/s_ctanl.c: Likewise.
37876 * math/s_ldexp.c: Likewise.
37877 * math/s_ldexpf.c: Likewise.
37878 * math/s_ldexpl.c: Likewise.
37879 * math/s_significand.c: Likewise.
37880 * math/s_significandf.c: Likewise.
37881 * math/s_significandl.c: Likewise.
37882 * math/w_acos.c: Likewise.
37883 * math/w_acosf.c: Likewise.
37884 * math/w_acosh.c: Likewise.
37885 * math/w_acoshf.c: Likewise.
37886 * math/w_acoshl.c: Likewise.
37887 * math/w_acosl.c: Likewise.
37888 * math/w_asin.c: Likewise.
37889 * math/w_asinf.c: Likewise.
37890 * math/w_asinl.c: Likewise.
37891 * math/w_atan2.c: Likewise.
37892 * math/w_atan2f.c: Likewise.
37893 * math/w_atan2l.c: Likewise.
37894 * math/w_atanh.c: Likewise.
37895 * math/w_atanhf.c: Likewise.
37896 * math/w_atanhl.c: Likewise.
37897 * math/w_cosh.c: Likewise.
37898 * math/w_coshf.c: Likewise.
37899 * math/w_coshl.c: Likewise.
37900 * math/w_dremf.c: Likewise.
37901 * math/w_exp10.c: Likewise.
37902 * math/w_exp10f.c: Likewise.
37903 * math/w_exp10l.c: Likewise.
37904 * math/w_exp2.c: Likewise.
37905 * math/w_exp2f.c: Likewise.
37906 * math/w_fmod.c: Likewise.
37907 * math/w_fmodf.c: Likewise.
37908 * math/w_fmodl.c: Likewise.
37909 * math/w_hypot.c: Likewise.
37910 * math/w_hypotf.c: Likewise.
37911 * math/w_hypotl.c: Likewise.
37912 * math/w_j0.c: Likewise.
37913 * math/w_j0f.c: Likewise.
37914 * math/w_j0l.c: Likewise.
37915 * math/w_j1.c: Likewise.
37916 * math/w_j1f.c: Likewise.
37917 * math/w_j1l.c: Likewise.
37918 * math/w_jn.c: Likewise.
37919 * math/w_jnf.c: Likewise.
37920 * math/w_jnl.c: Likewise.
37921 * math/w_lgamma.c: Likewise.
37922 * math/w_lgamma_r.c: Likewise.
37923 * math/w_lgammaf.c: Likewise.
37924 * math/w_lgammaf_r.c: Likewise.
37925 * math/w_lgammal.c: Likewise.
37926 * math/w_lgammal_r.c: Likewise.
37927 * math/w_log.c: Likewise.
37928 * math/w_log10.c: Likewise.
37929 * math/w_log10f.c: Likewise.
37930 * math/w_log10l.c: Likewise.
37931 * math/w_log2.c: Likewise.
37932 * math/w_log2f.c: Likewise.
37933 * math/w_log2l.c: Likewise.
37934 * math/w_logf.c: Likewise.
37935 * math/w_logl.c: Likewise.
37936 * math/w_pow.c: Likewise.
37937 * math/w_powf.c: Likewise.
37938 * math/w_powl.c: Likewise.
37939 * math/w_remainder.c: Likewise.
37940 * math/w_remainderf.c: Likewise.
37941 * math/w_remainderl.c: Likewise.
37942 * math/w_scalb.c: Likewise.
37943 * math/w_scalbf.c: Likewise.
37944 * math/w_scalbl.c: Likewise.
37945 * math/w_sinh.c: Likewise.
37946 * math/w_sinhf.c: Likewise.
37947 * math/w_sinhl.c: Likewise.
37948 * math/w_sqrt.c: Likewise.
37949 * math/w_sqrtf.c: Likewise.
37950 * math/w_sqrtl.c: Likewise.
37951 * math/w_tgamma.c: Likewise.
37952 * math/w_tgammaf.c: Likewise.
37953 * math/w_tgammal.c: Likewise.
37954
6a621eb7
UD
37955 * po/ja.po: Update from translation team.
37956
bf582445
AJ
379572011-09-29 Andreas Jaeger <aj@suse.de>
37958
f9efbf3a
AJ
37959 [BZ #13179]
37960 * sunrpc/netname.c (netname2host): Fix logic.
37961
bf582445
AJ
37962 [BZ #6779]
37963 [BZ #6783]
37964 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37965 correctly.
37966 * math/w_remainder.c (__remainder): Likewise.
37967 * math/w_remainderf.c (__remainderf): Likewise.
37968 * math/libm-test.inc (remainder_test): Add test cases.
37969
48693bea
AK
379702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37971
37972 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37973 sdiv_qrnnd.
37974
42622229
LD
379752011-10-07 Ulrich Drepper <drepper@gmail.com>
37976
37977 * string/test-memcmp.c: Avoid unncessary #defines.
37978 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37979
093ecf92
LD
379802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37981
37982 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37983 Use new sse2 version for core i3 - i7 as it's faster
37984 than sse42 version.
37985 (bit_Prefer_PMINUB_for_stringop): New.
37986 * sysdeps/x86_64/rawmemchr.S: Update.
37987 Replace with faster SSE2 version.
37988 * sysdeps/x86_64/memrchr.S: New file.
37989 * sysdeps/x86_64/memchr.S: Update.
37990 Replace with faster SSE2 version.
37991
fde56e5c
MP
379922011-09-12 Marek Polacek <mpolacek@redhat.com>
37993
37994 * elf/dl-load.c (lose): Add cast to avoid warning.
37995
21fd49a9
UD
379962011-10-07 Ulrich Drepper <drepper@gmail.com>
37997
5a06e643
UD
37998 * po/ca.po: Update from translation team.
37999
684ae515
UD
38000 * inet/getnetgrent_r.c: Hook up nscd.
38001 * nscd/Makefile (routines): Add nscd_netgroup.
38002 (nscd-modules): Add netgroupcache.
38003 (CFLAGS-netgroupcache.c): Define.
38004 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38005 (cache_search): Add const to second parameter.
38006 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38007 INNETGR.
38008 (dbs): Add netgrdb entry.
38009 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38010 (verify_persistent_db): Handle netgrdb.
38011 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38012 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38013 GETFDNETGR.
38014 (netgroup_response_header): Define.
38015 (innetgroup_response_header): Define.
38016 (datahead): Add netgroup_response_header and innetgroup_response_header
38017 elements.
38018 * nscd/nscd.conf: Add entries for netgroup cache.
38019 * nscd/nscd.h (dbtype): Add netgrdb.
38020 (_PATH_NSCD_NETGROUP_DB): Define.
38021 (netgroup_iov_disabled): Declare.
38022 (xmalloc, xcalloc, xrealloc): Move declarations here.
38023 (cache_search): Adjust prototype.
38024 Add netgroup-related prototypes.
38025 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38026 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38027 (__nscd_innetgr): Declare.
38028 * nscd/selinux.c (perms): Use access_vector_t as element type and
38029 add netgroup-related initializers.
38030 * nscd/netgroupcache.c: New file.
38031 * nscd/nscd_netgroup.c: New file.
38032 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38033 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38034 For four parameters use innetgr.
38035 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38036 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38037 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38038 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38039
21fd49a9
UD
38040 * nscd/connections.c (register_traced_file): Don't register file
38041 for disabled databases.
38042
054c0457
UD
380432011-10-06 Ulrich Drepper <drepper@gmail.com>
38044
32b63198
UD
38045 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38046
054c0457
UD
38047 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38048 from tree and freeing node.
38049
64031225
JO
380502011-09-25 Jiri Olsa <jolsa@redhat.com>
38051
38052 * nss/nsswitch.c (__nss_database_lookup): Handle
38053 nss_parse_service_list out of memory case.
38054
0490345c
JO
380552011-09-15 Jiri Olsa <jolsa@redhat.com>
38056
38057 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38058 out of memory case.
38059
3a62d00d
AS
380602011-10-04 Andreas Schwab <schwab@redhat.com>
38061
38062 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38063 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38064 pass it down.
38065 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38066 elf_machine_rela, elf_machine_lazy_rel.
38067 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38068 (ELF_DYNAMIC_DO_REL): Likewise.
38069 (ELF_DYNAMIC_DO_RELA): Likewise.
38070 (ELF_DYNAMIC_RELOCATE): Likewise.
38071 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38072 to ELF_DYNAMIC_DO_REL.
38073 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38074 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38075 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38076 elf_machine_rela.
38077 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38078 skip_ifunc, don't call ifunc function if non-zero.
38079 (elf_machine_rela): Likewise.
38080 (elf_machine_lazy_rel): Likewise.
38081 (elf_machine_lazy_rela): Likewise.
38082 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38083 (elf_machine_lazy_rel): Likewise.
38084 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38085 Likewise.
38086 (elf_machine_lazy_rel): Likewise.
38087 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38088 Likewise.
38089 (elf_machine_lazy_rel): Likewise.
38090 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38091 (elf_machine_lazy_rel): Likewise.
38092 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38093 (elf_machine_lazy_rel): Likewise.
38094 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38095 (elf_machine_lazy_rel): Likewise.
38096 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38097 (elf_machine_lazy_rel): Likewise.
38098 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38099 (elf_machine_lazy_rel): Likewise.
38100 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38101 (elf_machine_lazy_rel): Likewise.
38102
68577918
UD
381032011-09-28 Ulrich Drepper <drepper@gmail.com>
38104
38105 * nss/nss_files/files-init.c (_nss_files_init): Use static
38106 initialization for all the *_traced_file variables.
38107
68822d74
AS
381082011-09-28 Andreas Schwab <schwab@redhat.com>
38109
38110 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38111
2056100b
RM
381122011-09-27 Roland McGrath <roland@hack.frob.com>
38113
38114 [BZ #13226]
38115 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38116
32c76b63
AS
381172011-09-27 Andreas Schwab <schwab@redhat.com>
38118
38119 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38120 Reread the line before reparsing it.
38121
bf972c9d
AS
381222011-09-26 Andreas Schwab <schwab@redhat.com>
38123
38124 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38125
e057a1b5
JM
381262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38127 Maxim Kuvyrkov <maxim@codesourcery.com>
38128 Joseph Myers <joseph@codesourcery.com>
38129
38130 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38131 if needed for __stack_chk_guard.
38132
bc7e1c36
RM
381332011-09-19 Roland McGrath <roland@hack.frob.com>
38134
ecb1482f
RM
38135 * sysdeps/posix/spawni.c (script_execute): Always define it.
38136 It will be optimized away if unused.
38137 (maybe_script_execute): New function.
38138 (__spawni): Call it.
38139
bc7e1c36
RM
38140 * Makerules: Don't include tls.make.
38141 (config-tls): Always set to thread.
38142 * tls.make.c: File removed.
38143
1c3b002b
MF
381442011-09-19 Mike Frysinger <vapier@gentoo.org>
38145
38146 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38147 * config.make.in (CPPFLAGS-config): New substituted variable.
38148
2840865d
UD
381492011-09-15 Ulrich Drepper <drepper@gmail.com>
38150
88738eb6
UD
38151 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38152
cbf645a6 38153 [BZ #13192]
2840865d
UD
38154 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38155 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38156
b402e91a
RM
381572011-09-15 Roland McGrath <roland@hack.frob.com>
38158
38159 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38160 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38162 (CALL_FAIL): Likewise.
38163 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38164 (CALL_FAIL): Macro removed.
38165 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38166
4c1a1f71
UD
381672011-09-15 Ulrich Drepper <drepper@gmail.com>
38168
38169 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38170 for __FINITE_MATH_ONLY__ == 1.
38171
edc121be
AS
381722011-09-15 Andreas Schwab <schwab@redhat.com>
38173
38174 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38175 __ieee754_sqrt instead of sqrt.
38176 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38177 __ieee754_sqrtf instead of sqrtf.
38178 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38179 __floorf instead of floorf.
38180 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38181 __floorf, __truncf instead of floorf, truncf.
38182
cd205654
UD
381832011-09-14 Ulrich Drepper <drepper@gmail.com>
38184
ee4d0315
UD
38185 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38186
cd205654
UD
38187 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38188 __extern_always_inline.
38189 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38190 32-bit.
38191
48b67d71
AS
381922011-09-14 Andreas Schwab <schwab@redhat.com>
38193
38194 * elf/rtld.c (dl_main): Also relocate in dependency order when
38195 doing symbol dependency testing.
38196
1ae12c75
AS
381972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38198
38199 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38200 Always define `refsym'.
38201
995a80df
AS
382022011-09-13 Andreas Schwab <schwab@redhat.com>
38203
e529793b
AS
38204 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38205 (__FD_ELT): Renamed from __FDELT.
38206 * misc/bits/select2.h (__FD_ELT): Likewise.
38207 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38208 __FD_MASK instead of __FDELT, __FDMASK.
38209 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38210 Likewise.
38211 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38212 Likewise.
38213
52d4fef8
AS
38214 * elf/Makefile (gen-ldd): Fix pattern.
38215
995a80df
AS
38216 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38217 (init_tls): Likewise.
38218
8682f8b0
UD
382192011-09-12 Ulrich Drepper <drepper@gmail.com>
38220
38221 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38222
de82006d
AS
382232011-09-12 Andreas Schwab <schwab@redhat.com>
38224
a7c8e6a1
AS
38225 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38226 `struct cmsghdr *' instead of `void *'.
38227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38228 Likewise.
38229
0f31fe77
AS
382302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38231
38232 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38233 if non-absolute.
38234 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38235 ldd_rewrite_script.
0f31fe77 38236
32b4c839
UD
382372011-09-11 Ulrich Drepper <drepper@gmail.com>
38238
83cd1420
UD
38239 * configure.in: Remove --with-tls option.
38240 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38241 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38242 out in case it is missing.
38243 * sysdeps/ia64/elf/configure.in: Likewise.
38244 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38245 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38246 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38247 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38248 * sysdeps/sh/elf/configure.in: Likewise.
38249 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38250 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38251 * sysdeps/x86_64/elf/configure.in: Likewise.
38252 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38253 * sysdeps/mach/hurd/tls.h: Likewise.
38254
633f745d
UD
38255 [BZ #13067]
38256 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38257
f318beb8
UD
38258 [BZ #13090]
38259 * configure.in: Fix use of AC_INIT.
38260
32b4c839
UD
38261 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38262
3ce1f295
UD
382632011-09-10 Ulrich Drepper <drepper@gmail.com>
38264
bb016596
UD
38265 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38266 __set_errno.
8e58439c
UD
38267 * malloc/hooks.c: Likewise.
38268
aebae053 38269 [BZ #11929]
02d46fc4
UD
38270 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38271 variables statically.
38272 (narenas): Initialize.
38273 (list_lock): Initialize.
bb016596
UD
38274 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38275 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38276 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38277 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38278 Add initializers to main_arena and mp_.
38279 (malloc_state): Remove pagesize member. Change all users to use
38280 GLRO(dl_pagesize).
38281
38282 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38283 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38284 is always initialized.
38285
22a89187
UD
38286 * malloc/malloc.c: Removed unused configurations and dead code.
38287 * malloc/arena.c: Likewise.
38288 * malloc/hooks.c: Likewise.
02d46fc4 38289 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38290
d063d164
UD
38291 * include/tls.h: Removed. USE___THREAD must always be defined.
38292 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38293 * elf/dl-libc.c: Likewise.
38294 * elf/dl-tsd.c: Likewise.
38295 * include/errno.h: Likewise.
38296 * include/netdb.h: Likewise.
38297 * include/resolv.h: Likewise.
38298 * inet/herrno-loc.c: Likewise.
38299 * inet/herrno.c: Likewise.
38300 * malloc/arena.c: Likewise.
38301 * malloc/hooks.c: Likewise.
38302 * malloc/malloc.c: Likewise.
38303 * resolv/res-state.c: Likewise.
38304 * resolv/res_libc.c: Likewise.
38305 * sysdeps/i386/dl-machine.h: Likewise.
38306 * sysdeps/ia64/dl-machine.h: Likewise.
38307 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38308 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38309 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38310 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38311 * sysdeps/sh/dl-machine.h: Likewise.
38312 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38313 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38314 * sysdeps/unix/i386/sysdep.S: Likewise.
38315 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38316 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38319 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38320 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38321 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38322 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38324 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38325 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38326 * sysdeps/x86_64/dl-machine.h: Likewise.
38327 * tls.make.c: Likewise.
38328
3ce1f295
UD
38329 * configure.in: Remove --with-__thread option. Make tests for
38330 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38331 tls_model attribute fail if no support is available. Remove
38332 USE_IN_LIBIO.
38333 * Makeconfig: Adjust for dropped configure option. All features are
38334 now mandatory.
38335 * Makerules: Likewise.
38336 * Versions.def: Likewise.
38337 * argp/argp-fmtstream.c: Likewise.
38338 * argp/argp-fmtstream.h: Likewise.
38339 * argp/argp-help.c: Likewise.
38340 * assert/assert.c: Likewise.
38341 * config.h.in: Likewise.
38342 * config.make.in: Likewise.
38343 * configure: Likewise.
38344 * configure.in: Likewise.
38345 * csu/Versions: Likewise.
38346 * csu/init.c: Likewise.
38347 * elf/tst-audit2.c: Likewise.
38348 * elf/tst-tls10.c: Likewise.
38349 * elf/tst-tls10.h: Likewise.
38350 * elf/tst-tls11.c: Likewise.
38351 * elf/tst-tls12.c: Likewise.
38352 * elf/tst-tls14.c: Likewise.
38353 * elf/tst-tlsmod11.c: Likewise.
38354 * elf/tst-tlsmod12.c: Likewise.
38355 * elf/tst-tlsmod13.c: Likewise.
38356 * elf/tst-tlsmod13a.c: Likewise.
38357 * elf/tst-tlsmod14a.c: Likewise.
38358 * elf/tst-tlsmod15b.c: Likewise.
38359 * elf/tst-tlsmod16a.c: Likewise.
38360 * elf/tst-tlsmod16b.c: Likewise.
38361 * elf/tst-tlsmod7.c: Likewise.
38362 * elf/tst-tlsmod8.c: Likewise.
38363 * elf/tst-tlsmod9.c: Likewise.
38364 * gmon/gmon.c: Likewise.
38365 * grp/fgetgrent_r.c: Likewise.
38366 * grp/putgrent.c: Likewise.
38367 * hurd/fopenport.c: Likewise.
38368 * include/libc-symbols.h: Likewise.
38369 * include/tls.h: Likewise.
38370 * intl/gettextP.h: Likewise.
38371 * intl/loadinfo.h: Likewise.
38372 * locale/global-locale.c: Likewise.
38373 * locale/localeinfo.h: Likewise.
38374 * mach/devstream.c: Likewise.
38375 * malloc/arena.c: Likewise.
38376 * malloc/set-freeres.c: Likewise.
38377 * misc/err.c: Likewise.
38378 * misc/getttyent.c: Likewise.
38379 * misc/mntent_r.c: Likewise.
38380 * posix/getopt.c: Likewise.
38381 * posix/wordexp.c: Likewise.
38382 * pwd/fgetpwent_r.c: Likewise.
38383 * resolv/Versions: Likewise.
38384 * resolv/res_hconf.c: Likewise.
38385 * shadow/fgetspent_r.c: Likewise.
38386 * shadow/putspent.c: Likewise.
38387 * stdio-common/printf_fphex.c: Likewise.
38388 * stdio-common/tmpfile.c: Likewise.
38389 * stdlib/abort.c: Likewise.
38390 * stdlib/fmtmsg.c: Likewise.
38391 * sunrpc/auth_unix.c: Likewise.
38392 * sunrpc/clnt_perr.c: Likewise.
38393 * sunrpc/clnt_tcp.c: Likewise.
38394 * sunrpc/clnt_udp.c: Likewise.
38395 * sunrpc/clnt_unix.c: Likewise.
38396 * sunrpc/openchild.c: Likewise.
38397 * sunrpc/svc_simple.c: Likewise.
38398 * sunrpc/svc_tcp.c: Likewise.
38399 * sunrpc/svc_udp.c: Likewise.
38400 * sunrpc/svc_unix.c: Likewise.
38401 * sunrpc/xdr.c: Likewise.
38402 * sunrpc/xdr_array.c: Likewise.
38403 * sunrpc/xdr_rec.c: Likewise.
38404 * sunrpc/xdr_ref.c: Likewise.
38405 * sunrpc/xdr_stdio.c: Likewise.
38406
1248c1c4
PB
384072011-09-09 Ulrich Drepper <drepper@gmail.com>
38408
38409 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38410
384112011-07-03 Andreas Jaeger <aj@suse.de>
38412
38413 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38414 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38415 regenerate with gen-libm-tests.pl.
38416
384172010-05-12 Petr Baudis <pasky@suse.cz>
38418
38419 [BZ #11589]
38420 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38421 around j0() zero points by switching to j1().
38422 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38423 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38425 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38426
f22e1074
UD
384272011-09-09 Ulrich Drepper <drepper@gmail.com>
38428
f19009c1
UD
38429 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38430 instead of 0.
38431 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38432 instead of 0.
f19009c1
UD
38433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38434 Patch in part by Pavel Roskin <proski@gnu.org>.
38435
3f8cc204
UD
38436 [BZ #13138]
38437 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38438 realloc.
38439 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38440 Free memory block if necessary.
38441
f22e1074
UD
38442 [BZ #12847]
38443 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38444 be NULL. Don't lock in this case.
38445
0a2349f9
RM
384462011-09-09 Roland McGrath <roland@hack.frob.com>
38447
38448 * elf/elf.h (ELFOSABI_GNU): New macro.
38449 (ELFOSABI_LINUX): Define to that.
38450
f3cdd467
DZ
384512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38452
38453 * string/strncat.c (strncat): Undef the symbol in case it has been
38454 defined in bits/string.h.
38455
74718d13
UD
384562011-09-09 Ulrich Drepper <drepper@gmail.com>
38457
633e9e0f
UD
38458 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38459
0a2349f9 38460 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38461 link map.
38462
f9924780
AJ
384632011-08-17 Andreas Jaeger <aj@suse.de>
38464
38465 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38466
7f5517aa
PP
384672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38468 Ian Lance Taylor <iant@google.com>
38469
38470 * math/libm-test.inc (lround_test): New testcase.
38471 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38472
762011fe
UD
384732011-09-08 Ulrich Drepper <drepper@gmail.com>
38474
92963737
UD
38475 * Makefile: Remove support for automatic cvs check-ins.
38476 * Makerules: Likewise.
38477 * config.make.in: Likewise.
38478 * configure.in: Likewise.
38479 * intl/Makefile: Likewise.
38480 * locale/Makefile: Likewise.
38481 * po/Makefile: Likewise.
38482 * posix/Makefile: Likewise.
38483 * sysdeps/gnu/Makefile: Likewise.
38484 * sysdeps/mach/hurd/Makefile: Likewise.
38485 * sysdeps/sparc/sparc32/Makefile: Likewise.
38486
b0727fd8
JS
38487 [BZ #13118]
38488 * posix/Makefile (bug-regex32-ENV): Define.
38489 Patch by John Stanley <jpsinthemix@verizon.net>.
38490
a0f33f99
UD
38491 * misc/Makefile (headers): Add bits/select2.h.
38492 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38493 * misc/bits/select2.h: New file.
38494 * include/bits/select2.h: New file.
38495 * debug/Makefile (routines): Add fdelt_chk.
38496 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38497 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38498 FD_ISSET.
38499 * debug/fdelt_chk.c: New file.
38500
762011fe
UD
38501 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38502 * wcsmbs/test-wmemcmp.c: Likewise.
38503 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38504 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38505
385062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38507
38508 * string/Makefile (strop-tests): Add memcmp.
38509 * string/test-wmemcmp.c: New file.
38510 * string/test-memcmp.c: Add wmemcmp support.
38511
7f513ec8
RM
385122011-09-08 Roland McGrath <roland@hack.frob.com>
38513
0442afb4
RM
38514 [BZ #13153]
38515 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38516 2011-07-19 change.
38517
7f513ec8
RM
38518 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38519 garbage value in a __mach_port_mod_refs call in the cases of the
38520 task-self and thread-self ports.
38521
a12b2239
ST
385222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38523
38524 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38525
610f9ab4
AS
385262011-09-08 Andreas Schwab <schwab@redhat.com>
38527
7f513ec8 38528 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38529
48882a1a
LD
385302011-09-07 Ulrich Drepper <drepper@gmail.com>
38531
b49865be
UD
38532 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38533
fdc86bc9
UD
38534 * elf/dl-libc.c (dlerror_run): Pass back error code from
38535 dl_catch_error.
38536
c966526a
UD
38537 [BZ #13123]
38538 * elf/dl-load.c (lose): Free l_origin if it is valid.
38539
48882a1a
LD
38540 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38541 names.
38542 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38543 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38544 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38545 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38546 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38547 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38548
77a2a8b4
AZ
385492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38550
38551 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38552 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38553 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38554 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38555 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38556 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38557 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38558 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38559 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38560 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38561
24f579d8
AM
385622011-08-15 Alan Modra <amodra@gmail.com>
38563
38564 [BZ #13092]
38565 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38566 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38567 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38568 ppc_mcount to static-only-routines.
38569 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38570 __mcount_internal.
38571 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38572 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38573
3d4837df
UD
385742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38575
38576 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38577 for finite and infinity parameters.
38578
22700377
WS
385792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38580
38581 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38582 and add nop instructions for throughput optimization.
38583 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38584
5025581e
WS
385852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38586
38587 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38588 aligned copy for power7 with vector-scalar instructions.
38589 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38590
08a300c9
L
385912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38592
38593 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38594 AVX check.
38595
59178ef9
AS
385962011-09-07 Andreas Schwab <schwab@redhat.com>
38597
38598 [BZ #13144]
38599 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38600 last change.
38601
e38ba7ab
UD
386022011-09-07 Ulrich Drepper <drepper@gmail.com>
38603
38604 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38605 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38606 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38607 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38608 clock_gettime.
38609
d53a73ac
UD
386102011-09-06 Ulrich Drepper <drepper@gmail.com>
38611
fc8bffcc
UD
38612 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38613 Forgot to demangle the pointer.
38614
ceaa0c5d
UD
38615 * sysdeps/i386/sysdep.h: Define atom_text_section.
38616 * sysdeps/x86_64/sysdep.h: Likewise.
38617 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38618 section with atom_text_section.
38619 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38620 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38621 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38622 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38623 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38624
a77d3c17
UD
38625 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38626 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38627 already be defined. Change to take two parameters and don't assign
38628 result to variable. Adjust all users.
38629 Define INTERNAL_GETTIME if not already defined.
38630 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38631 call.
38632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38633 HAVE_CLOCK_GETTIME_VSYSCALL.
38634 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38635
d53a73ac
UD
38636 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38637 gettimeofday vsyscall, just use time.
38638
a8f84144
AS
386392011-09-06 Andreas Schwab <schwab@redhat.com>
38640
38641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38642 <errno.h>.
38643
ef606249
UD
386442011-09-06 Ulrich Drepper <drepper@gmail.com>
38645
38646 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38647 syscall on x86-64.
38648 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38649 syscall.
38650 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38651 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38652 syscall if possible.
38653
6585cb60
UD
386542011-09-05 Ulrich Drepper <drepper@gmail.com>
38655
38656 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38657 e_ident. Don't pass to find_mapsXX.
38658 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38659
a5f524e4
LD
386602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38661
38662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38663 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38664 * sysdeps/x86_64/multiarch/strchr.S: Update.
38665 Check bit_slow_BSF bit.
38666 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38667 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38668 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38669
554881ef
UD
386702011-09-05 Ulrich Drepper <drepper@gmail.com>
38671
d96de963
UD
38672 [BZ #13134]
38673 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38674 before glibc 2.15.
38675 (tryshell): Define.
38676 (__spawni): Change last parameter to be flag. Test
38677 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38678 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38679 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38680 * posix/spawni.c: Likewise.
38681 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38682 * posix/spawnp.c: Likewise. Change normal version to use
38683 SPAWN_XFLAGS_USE_PATH.
38684 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38685 SPAWN_XFLAGS_TRY_SHELL.
38686
d48e5868
UD
38687 [BZ #13150]
38688 * posix/glob.h: Remove gcc 1.x support.
38689
554881ef
UD
38690 [BZ #13068]
38691 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38692
693fb948
LD
386932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38694
38695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38696 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38697 strrchr-sse2-bsf
38698 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38699 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38700 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38701 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38702 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38703 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38704
1b48c537
UD
387052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38706
49d42c37
UD
38707 * sysdeps/x86_64/wcscmp.S: New file.
38708
1b48c537
UD
38709 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38710 wcscmp-c wcscmp-sse2
38711 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38712 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38713 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38714 * wcsmbs/wcscmp.c: Allow renaming.
38715
15c95c5d
DM
387162011-09-05 David S. Miller <davem@davemloft.net>
38717
38718 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38719 stack slot, rather than the struct return pointer slot.
38720 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38721 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38723 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38724
2f0ad8f3
UD
387252011-09-05 Ulrich Drepper <drepper@gmail.com>
38726
d88ae418
UD
38727 * po/ja.po: Update from translation team.
38728
2f0ad8f3
UD
38729 [BZ #13144]
38730 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38731 kernel in 64-bit binaries.
38732
5f4318d1
DM
387332011-09-01 David S. Miller <davem@davemloft.net>
38734
38735 * elf/elf.h (HWCAP_SPARC_*): Move to..
38736 * sysdeps/sparc/sysdep.h: this new file and add new values.
38737 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38738 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38739 _DL_HWCAP_COUNT to 24.
38740 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38741 entries.
38742 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38743 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38744 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38746 instead of magic constants.
38747 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38748
3ba57516
DM
387492011-08-31 David S. Miller <davem@davemloft.net>
38750
38751 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38752 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38753 Reimplement to do errno handling inline.
38754 (SYSCALL_ERROR_HANDLER): New macro.
38755 (__SYSCALL_STRING): Do not do errno handling in asm.
38756 (__CLONE_SYSCALL_STRING): Delete.
38757 (__INTERNAL_SYSCALL_STRING): Delete.
38758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38759 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38760 (PSEUDO): Reimplement to do errno handling inline.
38761 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38762 (SYSCALL_ERROR_HANDLER): New macro.
38763 (__SYSCALL_STRING): Do not do errno handling in asm.
38764 (__CLONE_SYSCALL_STRING): Delete.
38765 (__INTERNAL_SYSCALL_STRING): Delete.
38766 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38767 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38768 i386.
38769 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38770 (inline_syscall*): Add 'err' argument.
38771 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38772 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38773 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38774 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38775
38776 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38777 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38778
2bc17433
AS
387792011-08-30 Andreas Schwab <schwab@redhat.com>
38780
38781 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38782
fbeb5f4d
JO
387832011-08-29 Jiri Olsa <jolsa@redhat.com>
38784
38785 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38786 directive.
38787
ad69cc26
DM
387882011-08-24 David S. Miller <davem@davemloft.net>
38789
38790 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38791
39dd69df
AS
387922011-08-24 Andreas Schwab <schwab@redhat.com>
38793
38794 * elf/Makefile: Add rules to build and run unload8 test.
38795 * elf/unload8.c: New file.
38796 * elf/unload8mod1.c: New file.
38797 * elf/unload8mod1x.c: New file.
38798 * elf/unload8mod2.c: New file.
38799 * elf/unload8mod3.c: New file.
38800
38801 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38802 it wasn't used.
38803
2c0b250a
DM
388042011-08-23 David S. Miller <davem@davemloft.net>
38805
38806 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38807 subtract stack bias.
38808 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38809 %sp not %fp in calculations.
38810 (_JMPBUF_UNWINDS_ADJ): Likewise.
38811
22044b48
DM
38812 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38813 (aio_suspend): Call it to force an exception region around the
38814 AIO_MISC_WAIT() invocation.
38815
2cae4995
AS
388162011-08-23 Andreas Schwab <schwab@redhat.com>
38817
38818 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38819 backslash.
38820
873a772e
AJ
388212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38822
38823 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38824 protection macro.
38825 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38826 and <dl-machine.h>.
38827 (Elf64_FuncDesc): Remove.
38828
25ad0df1
DM
388292011-08-22 David S. Miller <davem@davemloft.net>
38830
38831 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38832 sigaltstack check, add missing cfi directives.
38833 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38834 missing cfi directives, and sigaltstack handling.
38835
e888bcbe
AS
388362011-08-16 Andreas Schwab <schwab@redhat.com>
38837
38838 [BZ #11724]
38839 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38840 object is seen twice.
38841 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38842
38843 * elf/Makefile (distribute): Add tst-initorder2.c.
38844 (tests): Add tst-initorder2.
38845 (modules-names): Add tst-initorder2a tst-initorder2b
38846 tst-initorder2c tst-initorder2d. Add rules to build them.
38847 ($(objpfx)tst-initorder2.out): New rule.
38848 * elf/tst-initorder2.c: New file.
38849 * elf/tst-initorder2.exp: New file.
38850
87162f46
AS
388512011-08-22 Andreas Schwab <schwab@redhat.com>
38852
70538b7f
AS
38853 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38854
f55ffe58
AS
38855 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38856 dependencies back to end of function.
38857
87162f46
AS
38858 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38859 $(elfobjdir)/ld.so.
38860
91b392a4
UD
388612011-08-21 Ulrich Drepper <drepper@gmail.com>
38862
38863 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38864 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38865 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38866 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38867 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38868 of __vdso_gettimeofday.
38869 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38870 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38871 attribute_hidden.
38872 (_libc_vdso_platform_setup): Remove initialization of
38873 __vdso_gettimeofday and __vdso_time.
38874
5c43483f
UD
388752011-08-20 Ulrich Drepper <drepper@gmail.com>
38876
775a77e7
UD
38877 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38878 and fgetc_unlocked.
38879 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38880 getc_unlocked.
89f447ed 38881
49c74ba9
UD
38882 * elf/dl-open.c (add_to_global): Report additions to the global scope
38883 for LD_DEBUG=scopes.
38884 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38885 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38886
5c43483f
UD
38887 [BZ #13114]
38888 * stdio-common/Makefile (tests): Add bug24.
38889 * stdio-common/bug24.c: New file.
38890
a101b025
AJ
388912011-08-19 Andreas Jaeger <aj@suse.de>
38892
38893 [BZ #13114]
38894 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38895 non-existant file when using close-on-exec mode.
38896
c88f1766
UD
388972011-08-20 Ulrich Drepper <drepper@gmail.com>
38898
0276a718
UD
38899 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38900 the very first instruction.
38901
c88f1766
UD
38902 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38903 the CFI state in the end.
38904 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38905 inclusion of dl-trampoline.h.
38906 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38907
51ccffa0
AS
389082011-08-19 Andreas Schwab <schwab@redhat.com>
38909
94d7165f
AS
38910 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38911 expectations for long double.
38912
51ccffa0
AS
38913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38914 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38915
fd708658 389162011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38917
38918 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38919 artificual limit depends upon the system page size.
38920
44f0a71e
UD
389212011-08-17 Ulrich Drepper <drepper@gmail.com>
38922
38923 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38924 * resolv/Makefile: Define CFLAGS-libresolv.
38925
8de79a24
AS
389262011-08-17 Andreas Schwab <schwab@redhat.com>
38927
38928 * nss/makedb.c (compute_tables): Make variables used in nested
38929 function static.
38930
27724598
UD
389312011-08-17 Ulrich Drepper <drepper@gmail.com>
38932
c5305d88
UD
38933 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38934 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38935 if buffer was too small.
38936
27724598
UD
38937 * elf/pldd.c (main): Attach to all threads in the process.
38938 Rewrite /proc handling to use *at functions.
38939
076fe015
UD
389402011-08-16 Ulrich Drepper <drepper@gmail.com>
38941
174baab3
UD
38942 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38943 specifies first scope to show.
38944 (dl_open_worker): Update callers. Move printing scope of new
38945 object to before the relocation.
44f0a71e 38946 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38947 * sysdeps/generic/ldsodefs.h: Update declaration.
38948
076fe015
UD
38949 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38950 string for the scope number.
38951
a60df2c3
UD
389522011-08-14 Ulrich Drepper <drepper@gmail.com>
38953
38954 * nscd/servicescache.c (cache_addserv): Make sure written is always
38955 initialized.
38956
5e4287d1
RM
389572011-08-14 Roland McGrath <roland@hack.frob.com>
38958
85ae0589
RM
38959 * sysdeps/i386/i486/bits/atomic.h
38960 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38961 statement expression, so as to suppress "set but not used" warning.
38962 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38963
69f63097
RM
38964 * string/strncat.c (STRNCAT): Use prototype definition.
38965
675456ef
RM
38966 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38967 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38968 -Iprograms here.
38969 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38970 (localedef-modules): Add localedef.
38971 (locale-modules): Add locale.
38972
5e4287d1
RM
38973 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38974 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38975 to avoid a warning.
38976
9c96ff23
DM
389772011-08-14 David S. Miller <davem@davemloft.net>
38978
38979 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38980 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38981
f9ddf089
UD
389822011-08-13 Ulrich Drepper <drepper@gmail.com>
38983
44f0a71e 38984 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38985 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38986 * elf/rtld.c (dl_main): Set l_name of vDSO.
38987 Call _dl_show_scope when DL_DEBUG_SCOPES.
38988 (process_dl_debug): Recognize scopes flag and also set it for all.
38989 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38990 Declare _dl_show_scope.
38991
1dc27704
UD
38992 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38993 (do_dlopen): Pass caller_dlopen to dl_open.
38994 (__libc_dlopen_mode): Initialize caller_dlopen.
38995
f9ddf089
UD
38996 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38997 of libc. Make tolower call locale-independent. Optimize a bit by
38998 using isdigit instead of isalnum.
38999 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39000
9ac533d3
UD
390012011-08-12 Ulrich Drepper <drepper@gmail.com>
39002
39003 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39004 was a dependency or dynamically loaded.
39005
89edf2e9
UD
390062011-08-11 Ulrich Drepper <drepper@gmail.com>
39007
8e999d29
UD
39008 * intl/l10nflist.c: Allow architecture-specific pop function.
39009 * sysdeps/x86_64/l10nflist.c: New file.
39010
89edf2e9
UD
39011 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39012 classification.
39013
14d96785
AS
390142011-08-10 Andreas Schwab <schwab@redhat.com>
39015
39016 * include/dirent.h: Add libc_hidden_proto for scandirat and
39017 scandirat64. Don't declare __scandirat64.
39018 * dirent/scandirat.c: Add libc_hidden_def.
39019 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39020 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39021
6761ac04
DM
390222011-08-10 David S. Miller <davem@davemloft.net>
39023
39024 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39025 enum.
39026 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39027 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39028 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39029
c55fbd1e
UD
390302011-08-09 Ulrich Drepper <drepper@gmail.com>
39031
39032 * Versions.def [libc]: Add GLIBC_2.15.
39033 * dirent/Makefile (routines): Add scandirat and scandirat64.
39034 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39035 GLIBC_2.15.
39036 * dirent/dirent.h: Declare scandirat and scandirat64.
39037 * dirent/scandirat.c: New file.
39038 * dirent/scandirat64.c: New file.
39039 * sysdeps/wordsize-64/scandirat.c: New file.
39040 * sysdeps/wordsize-64/scandirat64.c: New file.
39041 * dirent/opendir.c: Define opendirat.
39042 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39043 using scandirat.
39044 * dirent/scandir64.c: Adjust for scandir.c change.
39045 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39046 __scandirat64, and __scandir_cancel_handler.
39047 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39048 additional parameter and use openat instead of open (outside of ld.so).
39049 Add new __opendir as wrapper around __opendirat.
39050 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39051 here without requiring old scandirat implementation.
39052
879165f2
UD
390532011-08-08 Ulrich Drepper <drepper@gmail.com>
39054
39055 * dirent/scandir.c (cancel_handler): Renamed to
39056 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39057 defined. Adjust users.
39058 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39059 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39060
cb7e923b
UD
390612011-08-04 Ulrich Drepper <drepper@gmail.com>
39062
16292edd
UD
39063 * string/test-string.h (IMPL): Use __STRING to expand name and then
39064 stringify it.
39065
cb7e923b
UD
39066 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39067 of cleanups.
39068
cff82933
LD
390692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39070
39071 * string/Makefile: Update.
39072 (strop-tests): Append strncat.
39073 * string/test-wcscmp.c: New file.
39074 New comprehensive test for wcscmp.
39075 * string/test-strcmp.c: Update.
39076 (WIDE): New define.
39077
9be9bfcc
AS
390782011-07-22 Andreas Schwab <schwab@redhat.com>
39079
39080 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39081 line.
39082
2e96f1c7
AS
390832011-07-26 Andreas Schwab <schwab@redhat.com>
39084
39085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39086 encoding to ACE if AI_IDN.
39087
85188888
JJ
390882011-08-01 Jakub Jelinek <jakub@redhat.com>
39089
39090 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39091 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39092
5fa16e9b
LD
390932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39094
39095 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39096 Fix overflow bug in strncat.
39097 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39098
39099 * string/test-strncat.c: Update.
39100 Add new tests for checking overflow bugs.
39101
391022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39103
39104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39105 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39106 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39107 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39108 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39109 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39110 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39111 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39112 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39113
39114 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39115 (USE_AS_STRCAT): Define.
39116 Add strcat and strncat support.
39117 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39118
8c1a459f
AS
391192011-07-25 Andreas Schwab <schwab@redhat.com>
39120
39121 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39122 __n bigger than INT_MAX+1.
39123 (__strncmp_g): Likewise.
39124
bba33c28
UD
391252011-07-23 Ulrich Drepper <drepper@gmail.com>
39126
798be72d
UD
39127 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39128 * libio/stido.h: Likewise.
39129
8accd4dc
UD
39130 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39131 (AF_NFC): Define.
39132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39133 (AF_NFC): Define.
39134
cbff0d96
UD
39135 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39136 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39137 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39138 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39139 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39140
9191c04a
UD
39141 [BZ #13021]
39142 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39143 installed.
39144
bba33c28
UD
39145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39146 typo.
39147 (_dl_x86_64_save_sse): Likewise.
39148
90f139dd
UD
391492011-07-22 Ulrich Drepper <drepper@gmail.com>
39150
1aae088a
UD
39151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39152 OSXSAVE.
39153 (_dl_x86_64_save_sse): Likewise.
39154
8e2045f5
UD
39155 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39156
90f139dd
UD
39157 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39158
1d002f25
AS
391592011-07-21 Andreas Schwab <schwab@redhat.com>
39160
39161 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39162 change.
39163 (_dl_x86_64_save_sse): Use correct AVX check.
39164
21137f89
UD
391652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39166
39167 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39168 bug in strncpy/strncat.
39169 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39170
a65c0b7a
UD
391712011-07-21 Ulrich Drepper <drepper@gmail.com>
39172
39173 * string/tester.c (test_strcat): Add tests for different alignments
39174 of source and destination.
39175 (test_strncat): Likewise.
39176
6986b98a
UD
391772011-07-20 Ulrich Drepper <drepper@gmail.com>
39178
90bb2039
UD
39179 [BZ #12852]
39180 * posix/glob.c (glob): Check passed in values before using them in
39181 expressions to avoid some overflows.
39182 (glob_in_dir): Likewise.
39183
5644ef54
UD
39184 [BZ #13007]
39185 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39186 check for AVX enablement so that we don't crash with old kernels and
39187 new hardware.
39188 * elf/tst-audit4.c: Add same checks here.
39189 * elf/tst-audit6.c: Likewise.
39190
39191 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39192
bfc9dc9b
AS
391932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39194
39195 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39196
702e64bb
UD
391972011-07-20 Ulrich Drepper <drepper@gmail.com>
39198
39199 * po/cs.po: Update from translation team.
39200 * po/bg.po: Likewise.
39201
295e904f
MP
392022011-07-12 Marek Polacek <mpolacek@redhat.com>
39203
39204 * misc/sys/cdefs.h: Add support for const attribute.
39205 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39206 to gnu_dev_{major,minor,makedev} functions.
39207
3ff94596
MP
392082011-07-20 Marek Polacek <mpolacek@redhat.com>
39209
39210 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39211
28b59fca
AS
392122011-07-20 Andreas Schwab <schwab@redhat.com>
39213
39214 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39215 strlen results.
39216
19df733e
AK
392172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39218
39219 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39220 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39221 register in order to avoid conflicts with the soft frame pointer
39222 being held in r11 when necessary.
39223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39224 (INTERNAL_VSYSCALL_NCS): Likewise.
39225
c8835729
MP
392262011-07-14 Marek Polacek <mpolacek@redhat.com>
39227
39228 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39229 * elf/dl-fini.c (_dl_fini): Adjust caller.
39230 * elf/dl-close.c (_dl_close_worker): Likewise.
39231 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39232
b902330c
MP
392332011-07-15 Marek Polacek <mpolacek@redhat.com>
39234
8991e135
MP
39235 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39236 "aux_cache->nlibs < 0".
39237
b902330c
MP
39238 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39239 in the reload-count case.
39240
99710781
LD
392412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39242
39243 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39244 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39245 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39246 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39247 * sysdeps/x86_64/multiarch/strcat.S: New file.
39248 * sysdeps/x86_64/multiarch/strncat.S: New file.
39249 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39250 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39251 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39252 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39253 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39254 (USE_AS_STRCAT): Define.
39255 Add strcat and strncat support.
39256 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39257 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39258 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39259 * string/strncat.c: Update.
39260 (USE_AS_STRNCAT): Define.
39261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39262 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39263 and i7.
39264 * sysdeps/x86_64/multiarch/init-arch.h
39265 (bit_Prefer_PMINUB_for_stringop): New.
39266 (index_Prefer_PMINUB_for_stringop): Likewise.
39267 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39268 bit_Prefer_PMINUB_for_stringop.
39269
7dc6bd90
UD
392702011-07-19 Ulrich Drepper <drepper@gmail.com>
39271
39272 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39273 buffer64.
39274 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39275 of casting of buffer.
39276 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39277 buffer32 and buffer64.
39278 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39279 writes instead of casting of buffer.
39280 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39281 buffer32.
39282 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39283 casting of buffer.
39284
e0e72284
AS
392852011-07-19 Andreas Schwab <schwab@redhat.com>
39286
39287 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39288
feb1eb0b
UD
392892011-07-19 Ulrich Drepper <drepper@gmail.com>
39290
39291 * nscd/nscd.c (termination_handler): Don't do anything for a database
39292 if it has not yet been initialized.
39293
298711ff
UD
392942011-07-18 Ulrich Drepper <drepper@gmail.com>
39295
39296 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39297
392982011-07-15 Marek Polacek <mpolacek@redhat.com>
39299
39300 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39301
f9d68389
UD
393022011-07-18 Ulrich Drepper <drepper@gmail.com>
39303
39304 * po/nl.po: Update from translation team.
39305 * po/sv.po: Likewise.
39306
db290cf5
RM
393072011-07-16 Roland McGrath <roland@hack.frob.com>
39308
39309 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39310 now disallowed by GCC.
5c550700 39311
fd5e21c7
RM
39312 * configure.in (use-default-link): Default to yes if a test -shared
39313 link meets our qualifications.
39314 * configure: Regenerated.
39315
5c550700
RM
39316 * config.make.in (output-format): New variable.
39317 * configure.in: Check for ld --print-output-format support.
39318 * configure: Regenerated.
39319 * Makerules ($(common-objpfx)format.lds)
39320 [$(output-format) != unknown]: Just use $(output-format),
39321 instead of the linker-script munging.
39322
9fa2c032
RM
393232011-07-14 Roland McGrath <roland@hack.frob.com>
39324
a6928d51
RM
39325 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39326 of $(common-objpfx)shlib.lds.
39327 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39328
661607b3
RM
39329 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39330 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39331
9fa2c032
RM
39332 * configure.in (-z relro check): Adjust test code to add a large
39333 writable data section after it.
39334 * configure: Regenerated.
39335
defe9061
RM
393362011-07-11 Roland McGrath <roland@hack.frob.com>
39337
39338 * configure.in (-z relro check): Fix test code to make the variable
39339 truly const.
39340 * configure: Regenerated.
39341
319b9ad4
UD
393422011-07-11 Ulrich Drepper <drepper@gmail.com>
39343
39344 * nscd/nscd.h (struct traced_file): Define.
39345 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39346 elements. Add traced_files.
39347 (inotify_fd): Declare.
39348 (register_traced_file): Declare.
39349 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39350 (inotify_fd): Export.
39351 (resolv_conf_descr): Remove.
39352 (nscd_init): Move inotify descriptor creation to main.
39353 Don't register files for notification here.
39354 (register_traced_file): New function.
39355 (invalidate_cache): Don't use reset_res to determine whether to call
39356 res_init, go through the list of registered files.
39357 (main_loop_poll): The inotify descriptors are now stored in the
39358 structures for the traced files.
39359 (main_loop_epoll): Likewise
39360 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39361 to __nss_disable_nscd.
39362 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39363 for a database anymore. Check the records for all the registered
39364 files instead.
39365 * nss/Makefile (libnss_files-routines): Add files-init.
39366 (libnss_db-routines): Add db-init.
39367 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39368 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39369 * nss/nss_db/db-init.c: New file.
39370 * nss/nss_files/files-init.c: New file.
39371 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39372 __nss_lookup_function.
39373 (__nss_lookup_function): Call nss_load_library.
39374 (nss_load_all_libraries): New function.
39375 (__nss_disable_nscd): Take parameter with callback function for files
39376 to register. Set is_nscd. Load all the DSOs for the NSS modules
39377 used for the cached services.
39378 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39379 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39380 options for features to all the files in nscd.
39381
39382 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39383
23bee3e8
RM
393842011-07-10 Roland McGrath <roland@hack.frob.com>
39385
39386 * csu/elf-init.c (__libc_csu_init): Comment typo.
39387
46a5b7f0
UD
393882011-07-09 Ulrich Drepper <drepper@gmail.com>
39389
39390 * po/pl.po: Update from translation team.
39391 * po/ja.po: Likewise.
39392 * po/ru.po: Likewise.
39393 * po/ko.po: Likewise.
39394 * po/fr.po: Likewise.
39395
d30cf5bb
RM
393962011-07-09 Roland McGrath <roland@hack.frob.com>
39397
113ddea4
RM
39398 * configure.in (.ctors/.dtors header and trailer check):
39399 Use an empirical test on a built program.
39400 * configure: Regenerated.
39401
574920b4
RM
39402 * configure.in (-z relro check): Use an empirical test on a built DSO.
39403 Detect, but do not require, on ia64.
39404 * configure: Regenerated.
39405
d30cf5bb
RM
39406 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39407 Update tests that use readelf to use $READELF instead.
39408 * configure: Regenerated.
39409
8538fdb3
UD
394102011-07-08 Ulrich Drepper <drepper@gmail.com>
39411
39412 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39413 if the result is not used.
39414
04d08991
AJ
394152011-07-05 Andreas Jaeger <aj@suse.de>
39416
39417 [BZ#9696]
39418 * stdlib/tst-strtod.c: Add testcase.
39419
de283087
AD
394202011-07-07 Ulrich Drepper <drepper@gmail.com>
39421
4e5f31c8 39422 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39423 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39424 The latter has a higher limit. Take additional parameter to pass to
39425 the new function.
39426 (__pathconf): Pass file to __statfs_link_max.
39427 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39428 __statfs_link_max.
39429 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39430 __statfs_link_max.
39431
de283087
AD
39432 [BZ #12868]
39433 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39434 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39435 Handle Lustre.
39436 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39437 (__statfs_filesize_max): Likewise.
39438 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39439
c75fa153
AJ
394402011-07-05 Andreas Jaeger <aj@suse.de>
39441
39442 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39443
1a544854
UD
394442011-07-06 Marek Polacek <mpolacek@redhat.com>
39445
39446 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39447 `status' variable.
39448 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39449 Likewise.
39450
6f0eec67
UD
394512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39452
39453 * Makefile (strop-tests): Add strncat.
39454 * string/test-strncat.c: New file.
39455
aae30307
UD
394562011-06-30 Marek Polacek <mpolacek@redhat.com>
39457
39458 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39459
c0cfb5eb
UD
394602011-06-21 Andreas Jaeger <aj@suse.de>
39461
39462 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39463 Copy rule from iconvdata/Makefile.
39464
01636b21
UD
394652011-07-06 Ulrich Drepper <drepper@gmail.com>
39466
39467 [BZ #12922]
39468 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39469 but no long options are defined, just return 'W'.
39470
9895c8bc
UD
394712011-06-22 Marek Polacek <mpolacek@redhat.com>
39472
39473 [BZ #9696]
39474 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39475
5d4cf042
UD
394762011-07-06 Ulrich Drepper <drepper@gmail.com>
39477
39478 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39479 netgroups to read.
960e5535 39480 (innetgr): Likewise.
5d4cf042 39481
751eb97e
RM
394822011-07-05 Roland McGrath <roland@hack.frob.com>
39483
39484 * config.make.in (install_root): Default to $(DESTDIR).
39485
f15f1e45
UD
394862011-07-05 Ulrich Drepper <drepper@gmail.com>
39487
39488 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39489
4e34ac6a
RM
394902011-07-02 Roland McGrath <roland@hack.frob.com>
39491
5e9b6af4
RM
39492 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39493
84f9ea0f
RM
39494 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39495 containing directory rather than embedding absolute directory names.
39496
ea5ee9f7
RM
39497 * scripts/check-local-headers.sh: Rewritten using awk.
39498 Match by word, not by line. Print error messages for matches.
39499 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39500
1b74661a
RM
39501 * Makerules [shlib-lds-flags empty]:
39502 ($(common-objpfx)libc_pic.opts): New target.
39503 ($(common-objpfx)libc_pic.os.clean): New target.
39504 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39505
39506 * config.make.in (OBJCOPY): New variable.
39507 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39508 * configure: Regenerated.
39509
f781ef40
RM
39510 * config.make.in (use-default-link): New variable.
39511 * configure.in (use_default_link): Grok --with-default-link to set it.
39512 * configure: Regenerated.
39513 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39514 (shlib-lds, shlib-lds-flags): Define to empty.
39515
2d4fa81e
RM
39516 * Makerules (shlib-lds): New variable.
39517 (shlib-lds-flags): New variable.
39518 (build-shlib, build-moduile, build-module-asneeded): Use it.
39519 ($(common-objpfx)libc.so): Use $(shlib-lds).
39520 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39521 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39522
31fffa6b
RM
39523 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39524 DT_FLAGS/DT_FLAGS_1 with zero flags.
39525
4e34ac6a
RM
39526 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39527 linker script munging.
39528
fcfc776b
UD
395292011-07-02 Ulrich Drepper <drepper@gmail.com>
39530
39531 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39532 as 128-bit value.
39533 * crypt/sha512.c (sha512_process_block): Perform total addition using
39534 128-bit if possible.
39535 (__sha512_finish_ctx): Likewise.
39536 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39537 as 64-bit value.
39538 * crypt/sha256.c (SWAP64): Define.
39539 (sha256_process_block): Perform total addition using 64-bit if
39540 possible.
39541 (__sha256_finish_ctx): Likewise.
39542
99231d9a
UD
395432011-07-01 Ulrich Drepper <drepper@gmail.com>
39544
39545 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39546 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39547 * nscd/hstcache.c (cache_addhst): Likewise.
39548 * nscd/grpcache.c (cache_addgr): Likewise.
39549 * nscd/aicache.c (addhstaiX): Likewise
39550 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39551
445b4a53
TK
395522011-07-01 Thorsten Kukuk <kukuk@suse.de>
39553
39554 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39555 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39556 * nscd/hstcache.c (cache_addhst): Likewise.
39557 * nscd/grpcache.c (cache_addgr): Likewise.
39558 * nscd/aicache.c (addhstaiX): Likewise
39559
6d4d8e8e
AS
395602011-07-01 Andreas Schwab <schwab@redhat.com>
39561
39562 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39563 domain only when needed.
39564
89f654c5
AS
395652011-06-30 Andreas Schwab <schwab@redhat.com>
39566
39567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39568 is always restored.
39569
cf3b23ff
UD
395702011-06-29 Ulrich Drepper <drepper@gmail.com>
39571
39572 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39573 are re-adding the entry.
39574 * nscd/servicescache.c (cache_addserv): Likewise.
39575
751626f9
AJ
395762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39577
39578 * sysdeps/generic/dl-irel.h: fix protection against multiple
39579 inclusions.
39580 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39581
9113ea1f
UD
395822011-06-28 Ulrich Drepper <drepper@gmail.com>
39583
5c0b8d90
UD
39584 [BZ #12935]
39585 * malloc/memusage.sh: Fix quoting in message.
39586 * debug/xtrace.sh: Likewise.
39587
9113ea1f
UD
39588 * configure.in: Remove support for --experimental-malloc option, make
39589 it the default.
39590 * config.make.in: Likewise.
39591 * malloc/Makefile: Likewise.
39592
a4172181
AS
395932011-06-27 Andreas Schwab <schwab@redhat.com>
39594
39595 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39596 two-byte characters.
39597
78a7eee7
RM
395982011-06-27 Roland McGrath <roland@hack.frob.com>
39599
62bede13
RM
39600 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39601 AC_CACHE_CHECK invocation.
39602 * configure: Regenerated.
39603
78a7eee7
RM
39604 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39605
5ce33a62
UD
396062011-06-27 Ulrich Drepper <drepper@gmail.com>
39607
034807a9
UD
39608 [BZ #12350]
39609 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39610 bit from old_res_options.
39611
4902da17
UD
39612 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39613
5ce33a62
UD
39614 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39615 value type for setfct.
39616
c2344f56
L
396172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39618
39619 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39620 __gettimeofday instead of gettimeofday.
39621
68468076
UD
396222011-06-26 Ulrich Drepper <drepper@gmail.com>
39623
39624 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39625
acb0d739
L
396262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39627
39628 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39629
39630 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39631 info.
39632
8912479f
L
396332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39634
39635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39636 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39637 strcpy-sse2-unaligned strncpy-sse2-unaligned
39638 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39639 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39640 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39641 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39642 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39643 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39644 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39645 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39646 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39647 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39648 (STRCPY): Support SSE2 and SSSE3 versions.
39649
d5495a11
UD
396502011-06-24 Ulrich Drepper <drepper@gmail.com>
39651
39652 [BZ #12874]
39653 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39654 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39655 kernels which artificially limit size of requests.
39656
0b1cbaae
L
396572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39658
39659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39660 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39661 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39662 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39663 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39664 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39665 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39666 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39667 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39668 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39669 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39670 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39671 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39672 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39673 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39675 Enable unaligned load optimization for Intel Core i3, i5 and i7
39676 processors.
39677 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39678 Define.
39679 (index_Fast_Unaligned_Load): Define.
39680 (HAS_FAST_UNALIGNED_LOAD): Define.
39681
07f494a0
MP
396822011-06-23 Marek Polacek <mpolacek@redhat.com>
39683
39684 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39685
fa3fc0fe
UD
396862011-06-22 Ulrich Drepper <drepper@gmail.com>
39687
39688 [BZ #12907]
39689 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39690 until it is clear that the information is realy needed.
39691 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39692
e12df166
AS
396932011-06-22 Andreas Schwab <schwab@redhat.com>
39694
39695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39696
852eb34d
UD
396972011-06-22 Ulrich Drepper <drepper@gmail.com>
39698
84e2a551
UD
39699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39700 /sys/devices/system/cpu/online if it is usable.
39701
852eb34d
UD
39702 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39703 reading the information from the /proc filesystem to once a second.
39704
6e502e19
UD
397052011-06-21 Andreas Jaeger <aj@suse.de>
39706
39707 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39708 NULL after inclusion of kernel headers.
39709
75d39ff2
UD
397102011-06-21 Ulrich Drepper <drepper@gmail.com>
39711
51f9aa6a
UD
39712 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39713 calls to internal_setent.
39714
c0244a9d
UD
39715 [BZ #12885]
39716 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39717 addresses using gethostbyname4_r ignore IPv4 addresses.
39718
c5e3c2ae
UD
39719 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39720 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39721
75d39ff2
UD
39722 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39723
42675c6f
DM
397242011-06-20 David S. Miller <davem@davemloft.net>
39725
39726 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39727 inclusions.
39728 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39729
39730 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39731 (elf_irel): Use it.
39732 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39733 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39734 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39735 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39736 * sysdeps/x86_64/dl-irel.h: Likewise.
39737
39738 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39739 * elf/dl-sym.c: Likewise.
39740
57912a71
UD
397412011-06-15 Ulrich Drepper <drepper@gmail.com>
39742
39743 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39744 need to dereference resplen2.
39745
ee22793d
AS
397462011-06-14 Andreas Schwab <schwab@redhat.com>
39747
39748 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39749
a9e836b0
UD
397502011-06-15 Ulrich Drepper <drepper@gmail.com>
39751
77fb9117
UD
39752 * Makeconfig: Define vardbdir and inst_vardbdir.
39753 * nss/Makefile: Add rules to install db-Makefile.
39754
40c1b22c
UD
39755 * nss/nss_db/db-XXX.c: Cleanup.
39756
9f2da732
UD
39757 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39758 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39759 GLIBC_PRIVATE.
39760 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39761 * nss/makedb.c: Implement -g option to specify that value strings
39762 are generated and should not be added to table iterated over for
39763 get*ent calls.
39764 * nss/nss_db/db-initgroups.c: New file.
39765
82e9a1f7
UD
39766 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39767 interface.
39768
c41af17e
UD
39769 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39770 (internal_getgrouplist): Adjust to name change.
39771 Update use_initgroups_entry if this is not the first call.
39772 * nss/databases.def: Add initgroups entry.
39773
a9e836b0
UD
39774 * nss/makedb.c (compute_tables): Check result of multiple hash table
39775 sizes to minimize maximum chain length.
39776
2666d441
UD
397772011-06-14 Ulrich Drepper <drepper@gmail.com>
39778
39779 * Versions.def: Add entry for libnss_db.
39780 * shlib-versions: Likewise.
39781 * nss/Makefile: Add rules to build libnss_db.
39782 * nss/Versions: Add libnss_db information. Organize libnss_files
39783 entries better.
39784 * nss/db-Makefile: Add gshadow support. Change rules for the new
39785 makedb progra. Some minor improvements to generate smaller files.
39786 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39787 here from...
39788 * nss/makedb.c: ...here.
39789 Improve database format to be smaller and require less memory at
39790 runtime.
39791 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39792 db anymore.
39793 * nss/nss_db/db-netgrp.c: Likewise.
39794 * nss/nss_db/db-open.c: Likewise.
39795 * nss/nss_files/flies-XXX.x: Adjust comments.
39796 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39797 * nss/nss_files/files-grp.c: Likewise.
39798 * nss/nss_files/files-hosts.c: Likewise.
39799 * nss/nss_files/files-network.c: Likewise.
39800 * nss/nss_files/files-proto.c: Likewise.
39801 * nss/nss_files/files-pwd.c: Likewise.
39802 * nss/nss_files/files-rpc.c: Likewise.
39803 * nss/nss_files/files-service.c: Likewise.
39804 * nss/nss_files/files-sgrp.c: Likewise.
39805 * nss/nss_files/files-spwd.c: Likewise.
39806 * nss/nss_db/db-alias.c: Removed.
39807 * nss/nss_db/dummy-db.h: Removed.
39808
9ee76b5a
UD
398092011-06-02 Ulrich Drepper <drepper@gmail.com>
39810
39811 * nss/makedb.c: Rewritten to not use database library.
39812 * nss/Makefile: Update to build new makedb program.
39813
c71ca1f8
AJ
398142011-06-14 Andreas Jaeger <aj@suse.de>
39815
39816 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39817 memset declaration.
39818
3154bfb8
UD
398192011-06-10 Andreas Schwab <schwab@redhat.com>
39820
39821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39822 tmpbuf.
39823
b350afab
RM
398242011-06-10 Roland McGrath <roland@hack.frob.com>
39825
decd4e50
RM
39826 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39827 * elf/Makefile ($(objpfx)ld.so): Likewise.
39828
5615eaf2
RM
39829 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39830 Don't list ld.so twice in dependencies.
39831
39832 * posix/bug-regex31.c: Include <stdlib.h>.
39833
39834 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39835
39836 * nis/nss_compat/compat-spwd.c
39837 (getspent_next_nss_netgr): Remove unused variable.
39838 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39839
39840 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39841 nonmembers" output to use the right array.
39842
39843 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39844
39845 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39846
39847 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39848 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39849 * catgets/gencat.c (read_input_file): Likewise.
39850 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39851
39852 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39853 variable definition inside #if's controlling its use.
39854
39855 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39856
39857 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39858
39859 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39860
39861 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39862 unreachable code.
39863
39864 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39865
b68e08db
RM
39866 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39867 * configure: Regenerated.
39868
b350afab
RM
39869 * Makerules: Revert last change.
39870 * elf/Makefile: Likewise.
39871
28368601
RM
398722011-06-09 Roland McGrath <roland@hack.frob.com>
39873
39874 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39875 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39876 (reloc-link): Likewise.
39877
11988f8f
UD
398782011-06-09 Ulrich Drepper <drepper@gmail.com>
39879
39880 * elf/Makefile: Add rules to build pldd.
39881 * elf/pldd.c: New file.
39882 * elf/pldd-xx.c: New file.
39883
e80fab37
UD
398842011-06-07 Ulrich Drepper <drepper@gmail.com>
39885
39886 * version.h: Update for 2.15 development version.
39887
9b849836
DM
398882011-06-07 David S. Miller <davem@davemloft.net>
39889
39890 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39891 ifuncs.
39892 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39893 elf_machine_lazy_rel): Likewise.
39894 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39895 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39896 elf_machine_lazy_rel): Likewise.
39897 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39898 dl_hwcap via passed in argument.
39899 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39900 Likewise.
39901
5a31b283
AK
399022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39903
39904 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39905
069e52f8
RM
399062011-06-06 Roland McGrath <roland@hack.frob.com>
39907
39908 [BZ #12849]
39909 * manual/fdl-1.1.texi: New file, verbatim from:
39910 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39911 * manual/lgpl-2.1.texi: New file, verbatim from:
39912 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39913 * manual/Makefile (licenses): New variable, list those new file names.
39914 (texis): Use it.
39915 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39916
39917 * manual/fdl.texi: File removed.
39918 * manual/lesser.texi: File removed.
39919 * manual/libc.texinfo (Copying, Documentation License):
39920 Use new @include file names, put @appendix directive before @include.
39921
f16846a5
JJ
399222011-06-04 Jakub Jelinek <jakub@redhat.com>
39923
39924 [BZ #12841]
39925 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39926 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39927 (mq_open): Add __NTH.
39928
3d29045b
L
399292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39930
39931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39932 Assume Intel Core i3/i5/i7 processor if AVX is available.
39933
8c297311
UD
399342011-05-31 Ulrich Drepper <drepper@gmail.com>
39935
39936 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39937 typo.
39938
c8fc0c91
UD
399392011-05-31 Andreas Schwab <schwab@redhat.com>
39940
39941 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39942 memory. Use alloca_account. Fix memory leak when retrying.
39943
5b27a807
UD
399442011-05-31 Ulrich Drepper <drepper@gmail.com>
39945
356f8bc6
UD
39946 * version.h (RELEASE): Bump for 2.14 release.
39947 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39948
5b27a807
UD
39949 * config.make.in (RANLIB): Remove entry.
39950
01f16ab0
UD
399512011-05-30 Ulrich Drepper <drepper@gmail.com>
39952
41fce8bd
UD
39953 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39954 (libc.pot): Work around missing support for .ksh extension in xgettext.
39955
4769ae77
UD
39956 [BZ #12684]
39957 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39958 if both request failed.
39959 (send_dg): In case of server errors clear resplen or *resplen2.
39960
6b1e7d19
UD
39961 [BZ #12454]
39962 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39963 when there are multiple maps.
39964 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39965 (_dl_fini): Remove test here.
39966
01f16ab0
UD
39967 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39968
b1ebd700
UD
399692011-05-29 Ulrich Drepper <drepper@gmail.com>
39970
7ae22829
UD
39971 [BZ #12350]
39972 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39973 bit from old_res_options.
39974 (gaih_inet): Likewise.
39975
553149f6 39976 [BZ #11099]
18a84741 39977 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39978 as signed.
39979
652ffab1
UD
39980 * resolv/res_init.c (res_setoptions): Make the code more compact.
39981
16985fd0
UD
39982 [BZ #11558]
39983 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39984 set RES_USEVC.
39985
0464f746
UD
39986 [BZ #11634]
39987 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39988
7d17596c
UD
39989 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39990
cf6bbbd7
UD
39991 [BZ #11781]
39992 * malloc/malloc.h: Declare malloc hook variables as volatile.
39993
13f1ab36
UD
39994 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39995 in last patch.
39996
b1ebd700
UD
39997 [BZ #11799]
39998 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39999 raise in the comment.
80e2212d
UD
40000 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40001 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40002 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40003
ce67228d
UD
400042011-05-28 Ulrich Drepper <drepper@gmail.com>
40005
8887a920
UD
40006 [BZ #12811]
40007 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40008 grow the buffers more if it already has to be sufficient.
40009 (build_wcs_upper_buffer): Likewise.
40010 * posix/regexec.c (check_matching): Likewise.
40011 (clean_state_log_if_needed): Likewise.
40012 (extend_buffers): Don't enlarge buffers beyond size of the input
40013 buffer.
40014 Patches mostly by Emil Wojak <emil@wojak.eu>.
40015 * posix/bug-regex32.c: New file.
40016 * posix/Makefile (tests): Add bug-regex32.
40017
4f031072
UD
40018 * locale/findlocale.c (_nl_find_locale): Return right away if
40019 _nl_explode_name failed.
40020 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40021
d0478f0c
UD
40022 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40023
de81b246
UD
40024 * debug/xtrace.sh: Unify messages.
40025 * malloc/memusage.sh: Likewise.
40026
c738465a
UD
40027 [BZ #12813]
40028 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40029 time symbol from vDSO. Substitute with vsyscall if not available.
40030 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40031 __vdso_time.
40032
f1f929d7
UD
40033 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40034 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40035 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40036 Add sendmmsg and internal_sendmmsg.
40037 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40038 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40039 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40040
ce67228d
UD
40041 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40042 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40043 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40044
e57420c6
UD
400452011-05-27 Ulrich Drepper <drepper@gmail.com>
40046
a8509ca5
UD
40047 [BZ #12813]
40048 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40049 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40050 available.
40051 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40052 __vdso_getcpu.
40053
e57420c6
UD
40054 [BZ #12814]
40055 * iconvdata/Makefile (tests): Add bug-iconv9.
40056 * iconvdata/bug-iconv9.c: New file.
40057
4d07db15
AS
400582011-05-27 Andreas Schwab <schwab@redhat.com>
40059
40060 [BZ #12814]
40061 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40062
ea486f69
JJ
400632011-05-25 Jakub Jelinek <jakub@redhat.com>
40064
40065 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40066 (struct user_regs_struct): Change intcs field back to cs.
40067
6f038433
UD
400682011-05-25 Ulrich Drepper <drepper@gmail.com>
40069
40070 * po/ja.po: Update from translation team.
40071
67f86a25
UD
400722011-05-23 Ulrich Drepper <drepper@gmail.com>
40073
40074 [BZ #12795]
40075 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40076 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40077
def7fbd6
AS
400782011-05-20 Andreas Schwab <schwab@redhat.com>
40079
40080 * stdlib/longlong.h: Update from GCC.
40081
f50ef8f1
AS
400822011-05-23 Andreas Schwab <schwab@redhat.com>
40083
40084 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40085 parameter name.
40086 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40087 Add parameter name.
40088 (__sysconf): Pass it down.
40089
de7ce8f1
UD
400902011-05-22 Ulrich Drepper <drepper@gmail.com>
40091
f2962a71
UD
40092 [BZ #12671]
40093 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40094 some situations.
40095 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40096 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40097 add in in __libc_use_alloca calls. Adjust callers.
40098 (glob): Use malloc in some situations.
40099
de7ce8f1
UD
40100 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40101 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40102 pltexit.
40103
aec84f53
UD
401042011-05-21 Ulrich Drepper <drepper@gmail.com>
40105
05bb4a68
UD
40106 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40107 and CLOCK_BOOTTIME_ALARM.
40108
7ea72f99
UD
40109 [BZ #12782]
40110 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40111 is returned.
40112
7e4afad5
UD
40113 * string/_strerror.c (__strerror_r): Print negative errors as signed
40114 numbers.
40115
8e211fec
UD
40116 [BZ #12777]
40117 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40118 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40119 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40120
f7d82dc9
UD
40121 * configure.in: Fix typo in redirection and correct removal of test
40122 files in two cases.
40123
cc9e536d
UD
40124 [BZ #12788]
40125 * locale/setlocale.c (new_composite_name): Fix test to check for
40126 identical name of all categories.
40127
aec84f53
UD
40128 [BZ #12792]
40129 * libio/filedoalloc.c (local_isatty): New function.
40130 (_IO_file_doallocate): Use local_isatty.
40131 * stdio-common/perror.c (perror): In case a new stream is used
40132 forward the stream error.
40133 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40134 error flag.
40135
78e64fdc
RT
401362011-05-20 Ulrich Drepper <drepper@gmail.com>
40137
34a9094f
UD
40138 [BZ #11869]
40139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40140 alloca.
40141 * include/alloca.h (extend_alloca_account): Define.
40142
78e64fdc
RT
40143 [BZ #11857]
40144 * posix/regex.h: Fix comments with documentation of user-accessible
40145 fields after compilation and describe correct free'ing of pattern
40146 after re_compile_pattern.
40147 Patch by Reuben Thomas <rrt@sc3d.org>.
40148
457bddfc
RA
401492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40150
40151 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40152 and -mno-altivec to prevent the compiler from using Altivec and/or
40153 VSX instructions when the corresponding registers are not available.
40154
a4527b51
AS
401552011-05-19 Andreas Schwab <schwab@redhat.com>
40156
40157 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40158
ed690b2f
UD
401592011-05-19 Ulrich Drepper <drepper@gmail.com>
40160
40161 * libio/freopen.c (freopen): Use __dup2, not dup2.
40162 * libio/freopen64.c (freopen64): Likewise.
40163
8db73634
L
401642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40165
40166 [BZ #12775]
40167 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40168 * math/Makefile (tests): Add test-powl.
40169 (CFLAGS-test-powl.c): Define.
40170 * math/test-powl.c: New file.
40171
0a197a9d
L
401722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40173
40174 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40175
ee30c380
UD
401762011-05-17 Ulrich Drepper <drepper@gmail.com>
40177
40178 [BZ #11837]
40179 * iconvdata/gb18030.c: Update to GB18020-2005.
40180
6ce75379
UD
401812011-05-16 Ulrich Drepper <drepper@gmail.com>
40182
a4b89fd8
AR
40183 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40184 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40185 Patch by Aharon Robbins <arnold@skeeve.com>.
40186
ea389b12
UD
40187 [BZ #11892]
40188 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40189 on the stack.
40190
68a3f91f
UD
40191 [BZ #11895]
40192 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40193 through underflows.
40194
15cc7dd1
UD
40195 [BZ #12766]
40196 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40197 point to strings before performing equality test for error_one_per_line
40198 mode.
40199
f3799213
UD
40200 [BZ #11697]
40201 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40202
d79a9c94
UD
40203 [BZ #11820]
40204 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40205 (struct user_fpregs_struct): Avoid __uint*_t types.
40206
56e5eb46
UD
40207 [BZ #6420]
40208 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40209 symbol info. Use it instead of calling _dl_addr locally.
40210 (lock_and_info): New function.
40211 (tr_freehook): Call lock_and_info and pass symbol info as additional
40212 parameter to tr_where.
40213 (tr_mallochook): Likewise.
40214 (tr_reallochook): Likewise.
40215 (tr_memalignhook): Likewise.
40216
6ce75379
UD
40217 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40218 used and couldn't be at all thread-safe.
40219
f8a3b5bf
UD
402202011-05-15 Ulrich Drepper <drepper@gmail.com>
40221
94b7cc37
UD
40222 * libio/freopen.c (freopen): Don't close old file descriptor
40223 before the new one is opened. Instead dup the new file descriptor
40224 to the old one after the new stream is created.
40225 * libio/freopen64.c (freopen64): Likewise.
40226 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40227 * libio/fileops.c (_IO_new_file_close_it): Handle new
40228 _IO_FLAGS2_NOCLOSE flag.
40229 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40230 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40231 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40232 _IO_FLAGS2_NOCLOSE flag.
40233 * include/unistd.h: Add hidden_proto for dup3.
40234 Define __have_dup3.
40235 * io/dup3.c: Define hidden symbol.
40236 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40237
bd25564e
UD
40238 [BZ #7101]
40239 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40240 when an incomplete long option is used.
40241 * posix/tst-getopt_long1.c: New file.
40242 * posix/Makefile (tests): Add tst-getopt_long1.
40243
c84cfef4
UD
40244 [BZ #10138]
40245 * scripts/config.guess: Update from autoconf-2.68.
40246 * scripts/config.sub: Likewise.
40247
3b85df27
UD
40248 [BZ #10157]
40249 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40250 tests into ...
40251 (has_cpuclock): ...this. New function.
40252 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40253 macro here based on has_cpuclock code.
40254
15a856b1
UD
40255 [BZ #10149]
40256 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40257 First byte (not low byte) is now always NUL.
40258 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40259
05f399e6
UD
40260 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40261 Use non-cancelable interfaces.
40262
10a52685 40263 [BZ #9809]
94ecc67d
UD
40264 * locale/iso-639.def: Add entry for Sorani.
40265
f8a3b5bf
UD
40266 [BZ #11901]
40267 * include/stdlib.h: Move include protection to the right place.
40268 Define abort_msg_s. Declare __abort_msg with it.
40269 * stdlib/abort.c (__abort_msg): Adjust type.
40270 * assert/assert.c (__assert_fail_base): New function. Majority
40271 of code from __assert_fail. Allocate memory for __abort_msg with
40272 mmap.
40273 (__assert_fail): Now call __assert_fail_base.
40274 * assert/assert-perr.c: Remove bulk of implementation. Use
40275 __assert_fail_base.
40276 * include/assert.hL Declare __assert_fail_base.
40277 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40278 mmap.
40279 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40280
1af4e298
UD
402812011-05-14 Ulrich Drepper <drepper@gmail.com>
40282
f8a3b5bf 40283 [BZ #11952]
d26dfc60
MG
40284 [BZ #12453]
40285 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40286 until all modules are registered in the DTV.
40287 * elf/Makefile: Add rules to build and run tst-tls19.
40288 * elf/tst-tls19.c: New file.
40289 * elf/tst-tls19mod1.c: New file.
40290 * elf/tst-tls19mod2.c: New file.
40291 * elf/tst-tls19mod3.c: New file.
40292 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40293
2fc54d6f
UD
40294 [BZ #12083]
40295 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40296 correctly.
40297
98d76b46
UD
40298 [BZ #12601]
40299 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40300 two-byte sequence errors.
40301 * iconvdata/Makefile (tests): Add bug-iconv8.
40302 * iconvdata/bug-iconv8.c: New file.
40303
da3c19ef
UD
40304 [BZ #12626]
40305 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40306 buf2 definition.
40307
ca408c15
UD
40308 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40309
d6f67f7d
UD
40310 [BZ #12432]
40311 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40312 (dummy_getcfa): New function.
40313 (init): Get _Unwind_GetCFA address, use dummy if not found.
40314 (backtrace_helper): In recursion check, also check whether CFA changes.
40315 (__backtrace): Completely initialize arg.
40316
1af4e298 40317 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40318 storing incomplete byte sequence in state object. Avoid testing for
40319 guaranteed too small input if we know there is enough data available.
1af4e298 40320
da62f81b
AS
403212011-05-11 Andreas Schwab <schwab@redhat.com>
40322
40323 * Makeconfig (+link-pie): Indent.
40324 * Rules (binaries-pie): Define if $(have-fpie) and
40325 $(build-shared).
40326 (binaries-shared): Also filter out $(binaries-pie).
40327 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40328 * nscd/Makefile (others-pie): Add nscd.
40329 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40330 ($(objpfx)nscd): Remove command override.
40331 * login/Makefile (others-pie): Add pt_chown.
40332 ($(objpfx)pt_chown): Remove command override.
40333 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40334 remove command overrides.
40335
fcabc0f8
UD
403362011-05-13 Ulrich Drepper <drepper@gmail.com>
40337
20030ae6
UD
40338 * libio/tst_putwc.c: Fix error messages.
40339
fcabc0f8
UD
40340 [BZ #12724]
40341 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40342 currently writing and seek to current position when not.
40343 * libio/Makefile (tests): Add bug-fclose1.
40344 * libio/bug-fclose1.c: New file.
40345
320a5dc0
PB
403462011-05-12 Ulrich Drepper <drepper@gmail.com>
40347
40348 [BZ #12511]
40349 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40350 don't set DF_1_NODELETE here.
40351 (do_lookup_x): When entering new entry test for copy relocation
40352 and if necessary set DF_1_NODELETE flag.
40353 * elf/tst-unique4.cc: New file.
40354 * elf/tst-unique4.h: New file.
40355 * elf/tst-unique4lib.cc: New file.
40356 * elf/Makefile: Add rules to build and run tst-unique4.
40357 Patch by Piotr Bury <pbury@goahead.com>.
40358
22836f52
UD
403592011-05-11 Ulrich Drepper <drepper@gmail.com>
40360
f574184a
UD
40361 [BZ #12052]
40362 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40363
e1fb097f
UD
40364 [BZ #12625]
40365 * misc/mntent_r.c (addmntent): Flush the stream after the output
40366
22836f52
UD
40367 [BZ #12393]
40368 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40369 (is_trusted_path_normalize): Skip initial colon. Append slash
40370 to empty buffer. Duplicate is_trusted_path code but allow
40371 constructed patch to be prefix.
40372 (is_dst): Allow $ORIGIN followed by /.
40373 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40374 Correct testing of result of is_trusted_path_normalize
40375 (decompose_rpath): Fix warning.
40376
7b3b0b2a
UD
403772011-05-10 Ulrich Drepper <drepper@gmail.com>
40378
40379 [BZ #11257]
40380 * grp/initgroups.c (internal_getgrouplist): When we found the service
40381 list through the initgroups entry in nsswitch.conf do not always
40382 continue on a successful lookup. Don't always use the
eac80ce2 40383 __nss_group_database value if it is set.
7b3b0b2a
UD
40384 * nss/nsswitch.conf (initgroups): Change action for successful db
40385 lookup to continue for compatibility.
40386
2a81eaa5
UD
403872011-05-09 Ulrich Drepper <drepper@gmail.com>
40388
be97a69e
UD
40389 [BZ #11532]
40390 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40391 and CP774 modules.
40392 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40393 and CP774 modules.
40394 * iconvdata/tst-tables.sh: Likewise.
40395 * iconvdata/cp770.c: New file.
40396 * iconvdata/cp771.c: New file.
40397 * iconvdata/cp772.c: New file.
40398 * iconvdata/cp773.c: New file.
40399 * iconvdata/cp774.c: New file.
40400 * iconvdata/testdata/CP770: New file.
40401 * iconvdata/testdata/CP770..UTF8: New file.
40402 * iconvdata/testdata/CP771: New file.
40403 * iconvdata/testdata/CP771..UTF8: New file.
40404 * iconvdata/testdata/CP772: New file.
40405 * iconvdata/testdata/CP772..UTF8: New file.
40406 * iconvdata/testdata/CP773: New file.
40407 * iconvdata/testdata/CP773..UTF8: New file.
40408 * iconvdata/testdata/CP774: New file.
40409 * iconvdata/testdata/CP774..UTF8: New file.
40410
40411 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40412 END CHARMAP line.
40413 * iconvdata/gen-8bit-gap.sh: Likewise.
40414 * iconvdata/gen-8bit.sh: Likewise.
40415
c1e9e399
UD
40416 * locale/iso-639.def: Add ary entry.
40417
24c55fb3 40418 [BZ #11258]
96b4b1b0
UD
40419 * locale/C-translit.h.in: Add U20A1 transliteration.
40420
bdc2f971
KB
40421 [BZ #12178]
40422 * locale/iso-639.def: Add wae entry.
40423 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40424
2952b117
UD
40425 [BZ #12545]
40426 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40427 for n.
40428
2a81eaa5
UD
40429 [BZ #12711]
40430 * locale/C-translit.h.in: Add entry for U20B9.
40431 Patch by pravin.d.s@gmail.com.
40432
28377d1b
UD
404332011-05-08 Ulrich Drepper <drepper@gmail.com>
40434
7fb90fb8
UD
40435 [BZ #12713]
40436 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40437 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40438 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40439 in rtld. Use *stat64.
7fb90fb8 40440 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40441 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40442 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40443 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40444 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40445 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40446 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40447 __fstatat64 macros.
7fb90fb8
UD
40448 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40449 * dirent/rewinddir.c: Add libc_hidden_def.
40450 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40451 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40452
28377d1b
UD
40453 * include/dirent.h (__alloc_dir): Add flags parameter.
40454 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40455 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40456 __alloc_dir.
40457 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40458 from fdopendir if O_CLOEXEC is already set.
40459
66bdbaa4
AM
404602011-03-15 Alan Modra <amodra@gmail.com>
40461
40462 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40463 l_tls_firstbyte_offset non-zero. Save padding offset in
40464 l_tls_firstbyte_offset for later use.
40465 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40466 freeing static tls block.
40467
95721191
JN
404682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40469
40470 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40471 where #ifdef was intended. The intent is to prevent ARG_MAX from
40472 being defined by the kernel headers.
40473
f87dfb1f
UD
404742011-05-07 Ulrich Drepper <drepper@gmail.com>
40475
40476 [BZ #12734]
40477 * resolv/resolv.h: Define RES_NOTLDQUERY.
40478 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40479 no-tld-query and set RES_NOTLDQUERY.
40480 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40481 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40482 modern BIND to search name as TLD unless forbidden.
40483
47c3cd7a
UD
404842011-05-07 Petr Baudis <pasky@suse.cz>
40485 Ulrich Drepper <drepper@gmail.com>
40486
40487 [BZ #12393]
40488 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40489 (is_trusted_path): ...to here.
c1e9ea35 40490 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40491 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40492 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40493
8a35c912
PP
404942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40495
40496 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40497 __BEGIN/__END_DECLS.
40498
acd41f47
UD
404992011-05-06 Ulrich Drepper <drepper@gmail.com>
40500
40501 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40502 NSS_STATUS_NOTFOUND if no record was found.
40503
597df647
AS
405042011-05-05 Andreas Schwab <schwab@redhat.com>
40505
40506 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40507 (headers-not-in-tirpc): Remove rpc/netdb.h
40508 * resolv/netdb.h: Revert last change.
40509
b9af1301
PP
405102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40511
40512 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40513 circular dependency between libgcc.a and libc.a.
40514
4e34d5f5
AS
405152011-05-05 Andreas Schwab <schwab@redhat.com>
40516
40517 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40518 * nis/Makefile: Don't install rpcsvc/*.
40519 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40520 instead of <rpc/types.h>.
40521 (MAXHOSTNAMELEN): Define.
40522
00ee369c
AS
405232011-05-03 Andreas Schwab <schwab@redhat.com>
40524
40525 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40526
0b592a30
MB
405272011-04-28 Maciej Babinski <mbabinski@google.com>
40528
40529 [BZ #12714]
40530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40531 gethostbyname4_r when IPv6 results are possible.
40532
6e04cbbe
UD
405332011-05-02 Ulrich Drepper <drepper@gmail.com>
40534
40535 [BZ #12723]
40536 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40537 _PC_PIPE_BUF handling.
40538
e4ecafe0
BH
405392011-04-30 Bruno Haible <bruno@clisp.org>
40540
40541 [BZ #12717]
40542 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40543 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40544 to 'int'.
40545 * inet/getnameinfo.c (getnameinfo): Likewise.
40546
125ee683
UD
405472011-04-29 Ulrich Drepper <drepper@gmail.com>
40548
40549 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40550 to groups setting in database lookup.
40551 * nss/nsswitch.conf: Add initgroups entry.
40552
b722481a
EB
405532011-04-22 Ulrich Drepper <drepper@gmail.com>
40554
40555 [BZ #12685]
40556 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40557 mode string.
40558 Patch by Eric Blake <eblake@redhat.com>.
40559
4df46dbd
L
405602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40561
40562 * sunrpc/Makefile (need-export-routines): Add svc_run.
40563 (routines): Remove svc_run.
40564 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40565 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40566 * sunrpc/svc_run.c (svc_run): Likewise.
40567 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40568
e84142d2
UD
405692011-04-21 Ulrich Drepper <drepper@gmail.com>
40570
40571 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40572 problem in reallocation in last patch.
40573
877175d8
UD
405742011-04-20 Ulrich Drepper <drepper@gmail.com>
40575
40576 * sunrpc/Makefile: Move inclusion of Rules.
40577
ab8eed78
UD
405782011-04-19 Ulrich Drepper <drepper@gmail.com>
40579
40580 * nss/nss_files/files-initgroups.c: New file.
40581 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40582 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40583 _nss_files_initgroups_dyn.
40584
e3d8f584
RS
405852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40586
40587 * elf/elf.h (R_ARM_IRELATIVE): Define.
40588
af190f45
UD
405892011-04-19 Ulrich Drepper <drepper@gmail.com>
40590
40591 * po/ru.po: Update from translation team.
40592
53cf59ef
UD
405932011-04-17 Ulrich Drepper <drepper@gmail.com>
40594
40595 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40596 dependencies.
40597
4c559bcd
MF
405982011-02-06 Mike Frysinger <vapier@gentoo.org>
40599
40600 [BZ #12653]
40601 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40602 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40603 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40604 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40605 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40606
4420675c
AS
406072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40608
40609 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40610 differing bytes.
40611 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40612 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40613 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40614
75ea32ab
UD
406152011-04-17 Ulrich Drepper <drepper@gmail.com>
40616
40617 [BZ #12420]
40618 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40619 storing it.
40620 * stdlib/bug-getcontext.c: New file.
40621 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40622
27390476
AK
406232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40624
40625 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40626 instructions into .machine "z9-109".
40627 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40628 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40629
10442705
AK
406302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40631
40632 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40633 between environment variables and auxiliary vector.
40634
7b57bfe5
UD
406352011-04-16 Ulrich Drepper <drepper@gmail.com>
40636
40637 * Makefile: Add rules to build linkobj/libc.so.
40638 * include/libc-symbols.h: Define libc_hidden_nolink.
40639 * include/rpc/auth.h: Mark functions which are to be hidden.
40640 * include/rpc/auth_des.h: Likewise.
40641 * include/rpc/auth_unix.h: Likewise.
40642 * include/rpc/clnt.h: Likewise.
40643 * include/rpc/des_crypt.h: Likewise.
40644 * include/rpc/key_prot.h: Likewise.
40645 * include/rpc/pmap_clnt.h: Likewise.
40646 * include/rpc/pmap_prot.h: Likewise.
40647 * include/rpc/pmap_rmt.h: Likewise.
40648 * include/rpc/rpc_msg.h: Likewise.
40649 * include/rpc/svc.h: Likewise.
40650 * include/rpc/svc_auth.h: Likewise.
40651 * include/rpc/xdr.h: Likewise.
40652 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40653 * nss/Makefile: Likewise.
40654 * sunrpc/Makefile: Don't install headers. Build library with normal
40655 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40656 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40657 for the compat linking library. Remove use of INTDEF/INTUSE.
40658 * sunrpc/auth_none.c: Likewise.
40659 * sunrpc/auth_unix.c: Likewise.
40660 * sunrpc/authdes_prot.c: Likewise.
40661 * sunrpc/authuxprot.c: Likewise.
40662 * sunrpc/clnt_gen.c: Likewise.
40663 * sunrpc/clnt_perr.c: Likewise.
40664 * sunrpc/clnt_raw.c: Likewise.
40665 * sunrpc/clnt_simp.c: Likewise.
40666 * sunrpc/clnt_tcp.c: Likewise.
40667 * sunrpc/clnt_udp.c: Likewise.
40668 * sunrpc/clnt_unix.c: Likewise.
40669 * sunrpc/des_crypt.c: Likewise.
40670 * sunrpc/des_soft.c: Likewise.
40671 * sunrpc/get_myaddr.c: Likewise.
40672 * sunrpc/key_call.c: Likewise.
40673 * sunrpc/key_prot.c: Likewise.
40674 * sunrpc/netname.c: Likewise.
40675 * sunrpc/pm_getmaps.c: Likewise.
40676 * sunrpc/pm_getport.c: Likewise.
40677 * sunrpc/pmap_clnt.c: Likewise.
40678 * sunrpc/pmap_prot.c: Likewise.
40679 * sunrpc/pmap_prot2.c: Likewise.
40680 * sunrpc/pmap_rmt.c: Likewise.
40681 * sunrpc/publickey.c: Likewise.
40682 * sunrpc/rpc_cmsg.c: Likewise.
40683 * sunrpc/rpc_common.c: Likewise.
40684 * sunrpc/rpc_dtable.c: Likewise.
40685 * sunrpc/rpc_prot.c: Likewise.
40686 * sunrpc/rpc_thread.c: Likewise.
40687 * sunrpc/rtime.c: Likewise.
40688 * sunrpc/svc.c: Likewise.
40689 * sunrpc/svc_auth.c: Likewise.
40690 * sunrpc/svc_authux.c: Likewise.
40691 * sunrpc/svc_raw.c: Likewise.
40692 * sunrpc/svc_run.c: Likewise.
40693 * sunrpc/svc_simple.c: Likewise.
40694 * sunrpc/svc_tcp.c: Likewise.
40695 * sunrpc/svc_udp.c: Likewise.
40696 * sunrpc/svc_unix.c: Likewise.
40697 * sunrpc/svcauth_des.c: Likewise.
40698 * sunrpc/xcrypt.c: Likewise.
40699 * sunrpc/xdr.c: Likewise.
40700 * sunrpc/xdr_array.c: Likewise.
40701 * sunrpc/xdr_float.c: Likewise.
40702 * sunrpc/xdr_intXX_t.c: Likewise.
40703 * sunrpc/xdr_mem.c: Likewise.
40704 * sunrpc/xdr_rec.c: Likewise.
40705 * sunrpc/xdr_ref.c: Likewise.
40706 * sunrpc/xdr_sizeof.c: Likewise.
40707 * sunrpc/xdr_stdio.c: Likewise.
40708
e6c61494
UD
407092011-04-10 Ulrich Drepper <drepper@gmail.com>
40710
40711 [BZ #12650]
40712 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40713 * sysdeps/ia64/dl-tls.h: Likewise.
40714 * sysdeps/powerpc/dl-tls.h: Likewise.
40715 * sysdeps/s390/dl-tls.h: Likewise.
40716 * sysdeps/sh/dl-tls.h: Likewise.
40717 * sysdeps/sparc/dl-tls.h: Likewise.
40718 * sysdeps/x86_64/dl-tls.h: Likewise.
40719 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40720
34fe483e
AS
407212011-03-14 Andreas Schwab <schwab@redhat.com>
40722
40723 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40724 rpath element also skip the following colon.
40725 (expand_dynamic_string_token): Add is_path parameter and pass
40726 down to DL_DST_REQUIRED and _dl_dst_substitute.
40727 (decompose_rpath): Call expand_dynamic_string_token with
40728 non-zero is_path. Ignore empty rpaths.
40729 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40730 with zero is_path.
40731
f12a32e6
AS
407322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40733
40734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40735 Make cancelable.
40736
38a7d692
UD
407372011-04-09 Ulrich Drepper <drepper@gmail.com>
40738
40739 [BZ #12655]
40740 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40741 Patch by Filipe David Manana <fdmanana@apache.org>.
40742
e451d22b
AS
407432011-04-07 Andreas Schwab <schwab@redhat.com>
40744
40745 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40746 Maintain aligned stack.
40747 (CHECK_RSP): Remove unused macro.
40748
dedc7c7b
UD
407492011-04-03 Ulrich Drepper <drepper@gmail.com>
40750
40751 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40752 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40753
94521213
UD
407542011-04-02 Ulrich Drepper <drepper@gmail.com>
40755
40756 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40757
8cb700c0 40758 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40759
0354e355
L
407602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40761
40762 [BZ #12518]
40763 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40764 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40765 * sysdeps/x86_64/memmove.c: New file.
40766 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40767 (memcpy): Renamed to ...
40768 (__new_memcpy): This.
40769 (memcpy): Provide GLIBC_2_14 memcpy.
40770 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40771 (memcpy): Provide GLIBC_2_2_5 memcpy.
40772
8593482f
UD
407732011-04-01 Ulrich Drepper <drepper@gmail.com>
40774
40775 [BZ #12631]
40776 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40777
81a5726b
AS
407782011-03-30 Andreas Schwab <schwab@redhat.com>
40779
40780 * misc/syncfs.c: New file.
40781 * misc/Makefile (routines): Add syncfs.
40782 * posix/unistd.h: Declare syncfs.
40783 * sysdeps/unix/syscalls.list: Add syncfs.
40784
00e5419f
AS
407852011-04-01 Andreas Schwab <schwab@redhat.com>
40786
40787 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40788 open_by_handle_at.
40789 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40790 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40791 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40792 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40793 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40794 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40796
748876bf
UD
407972011-04-01 Ulrich Drepper <drepper@gmail.com>
40798
658e451d
UD
40799 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40800 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40801 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40803 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40805 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40806
748876bf
UD
40807 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40808 sync_file_range.c with -fexceptions.
40809 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40810 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40811 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40812 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40813 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40814 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40815 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40816 sync_file_range as cancellation point
40817 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40818 now a wrapper around __call_sync_file_range with cancellation handling.
40819 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40820 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40821 function name to __call_sync_file_range.
40822 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40823 Add call_sync_file_range.
748876bf 40824
6e63d5e1
AS
408252011-04-01 Andreas Schwab <schwab@redhat.com>
40826
40827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40828 bits/timex.h.
6e63d5e1 40829
46998f74
UD
408302011-04-01 Ulrich Drepper <drepper@gmail.com>
40831
4c1423ed
UD
40832 * iconv/iconv.h: Fix typo in comment.
40833 * io/fcntl.h: Likewise.
40834 * libio/stdio.h: Likewise.
40835 * posix/spawn.h: Likewise.
40836 * posix/unistd.h: Likewise.
40837 * stdlib/stdlib.h: Likewise.
40838 * time/time.h: Likewise.
40839 * wcsmbs/wchar.h: Likewise.
40840
158648c0
UD
40841 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40842 open_by_handle): Add.
40843 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40844 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40845 Augment a few comments.
40846 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40848 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40851 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40852 open_by_handle.
40853
46998f74
UD
40854 * io/fcntl.h (AT_EMPTY_PATH): Define.
40855
83fe108b
UD
408562011-03-30 Ulrich Drepper <drepper@gmail.com>
40857
40858 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40859 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40860 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40861 to...
40862 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40863 * Versions.def: Add GLIBC_2.14.
40864 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40865 Export.
83fe108b 40866
bb242059
UD
408672011-03-22 Ulrich Drepper <drepper@gmail.com>
40868
40869 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40870 round counter.
40871 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40872
c97a1282
L
408732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40874
40875 [BZ #12597]
40876 * string/test-strncmp.c (do_page_test): New function.
40877 (check2): Likewise.
40878 (test_main): Call check2.
40879 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40880
2a115601
UD
408812011-03-20 Ulrich Drepper <drepper@gmail.com>
40882
40883 [BZ #12587]
40884 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40885 Handle cache information in CPU leaf 4.
40886 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40887
8126d904
UD
408882011-03-18 Ulrich Drepper <drepper@gmail.com>
40889
042c49c6 40890 [BZ #12583]
8126d904
UD
40891 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40892 character representation.
40893 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40894
ccfe366e
RA
408952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40896
40897 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40898 END(__isnan) to END(__isnanf) to match function entry point/label
40899 EALIGN(__isnanf,...).
40900
c6e13027
JJ
409012011-03-10 Jakub Jelinek <jakub@redhat.com>
40902
40903 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40904
33f85a3f
UD
409052011-03-10 Ulrich Drepper <drepper@gmail.com>
40906
028478fa
UD
40907 [BZ #12510]
40908 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40909 copy from the symbol referenced in the relocation to initialize the
40910 used variable.
40911 Patch by Piotr Bury <pbury@goahead.com>.
40912 * elf/Makefile: Add rules to build and tst-unique3.
40913 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40914 * elf/tst-unique3.cc: New file.
40915 * elf/tst-unique3.h: New file.
40916 * elf/tst-unique3lib.cc: New file.
40917 * elf/tst-unique3lib2.cc: New file.
40918
33f85a3f
UD
40919 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40920
03592fc7
MF
409212011-03-10 Mike Frysinger <vapier@gentoo.org>
40922
40923 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40924 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40925 to _start.
03592fc7 40926
6a5ee102
UD
409272011-03-06 Ulrich Drepper <drepper@gmail.com>
40928
40929 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40930 to-be-loaded object along a path to loader is ld.so.
40931
7e4ba49c
HJ
409322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40933 Ulrich Drepper <drepper@gmail.com>
40934
40935 * sysdeps/x86_64/memset.S: After aligning destination, code
40936 branches to different locations depending on the value of
40937 misalignment, when multiarch is enabled. Fix this.
40938
409392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40940
40941 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40942 Set _x86_64_preferred_memory_instruction for AMD processsors.
40943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40944 Set bit_Prefer_SSE_for_memop for AMD processors.
40945
13a804de
UD
409462011-03-04 Ulrich Drepper <drepper@gmail.com>
40947
40948 * libio/fmemopen.c (fmemopen): Optimize a bit.
40949
9d25c392
AS
409502011-03-03 Andreas Schwab <schwab@redhat.com>
40951
40952 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40953
a5543c6a
RM
409542011-03-03 Roland McGrath <roland@redhat.com>
40955
40956 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40957
012d35f7
DM
409582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40959
7e4ba49c 40960 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40961 __bzero_ultra1 instead of __memset_ultra1.
40962
4bff6e01
AS
409632011-02-23 Andreas Schwab <schwab@redhat.com>
40964 Ulrich Drepper <drepper@gmail.com>
40965
40966 [BZ #12509]
40967 * include/link.h (struct link_map): Add l_orig_initfini.
40968 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40969 returning unsuccessfully.
40970 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40971 close of a file loaded at startup, restore the original l_initfini
40972 list.
40973 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40974 list, store the pointer.
40975 * elf/Makefile ($(objpfx)noload-mem): New rule.
40976 (noload-ENV): Define.
40977 (tests): Add $(objpfx)noload-mem.
40978 * elf/noload.c: Include <memcheck.h>.
40979 (main): Call mtrace. Close all opened handles.
40980
f2092faf
AS
409812011-02-17 Andreas Schwab <schwab@redhat.com>
40982
40983 [BZ #12454]
40984 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40985 dependencies are missing.
40986
6c8a2e88
ST
409872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40988
f2092faf 40989 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40990 Hurd needs munmap.
40991 * sysdeps/mach/hurd/ifreq.h: New file.
40992
84a42118
PB
409932011-01-27 Petr Baudis <pasky@suse.cz>
40994 Ulrich Drepper <drepper@gmail.com>
40995
071f805e 40996 [BZ 12445]#
84a42118
PB
40997 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40998 to extend_alloca().
40999 * stdio-common/bug23.c: New file.
41000 * stdio-common/Makefile (tests): Add bug23.
41001
e23fe25b
AS
410022010-09-28 Andreas Schwab <schwab@redhat.com>
41003 Ulrich Drepper <drepper@gmail.com>
41004
41005 [BZ #12489]
41006 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41007 before performing relro protection. At old place add assertion
41008 to make sure nothing changed.
41009
d3f02e10
NS
410102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41011 Glauber de Oliveira Costa <glommer@gmail.com>
41012
41013 * elf/elf.h: Add new ARM TLS relocs.
41014
d55fd7a5
RA
410152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41016
41017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41018 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41019 cast from r3.
41020 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41021 'tests' variable.
41022 * sysdeps/wordsize-64/tst-writev.c: New file.
41023
2206397e
RA
410242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41025
41026 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41027 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41028 insns in _dl_start to prevent a TOC reference before relocs are
41029 resolved.
41030
e9433893
UD
410312011-02-15 Ulrich Drepper <drepper@gmail.com>
41032
41033 [BZ #12469]
41034 * Makeconfig: Remove RANLIB definition.
41035 * Makerules: Don't use RANLIB.
41036 * aclocal.m4: Remove ranlib test.
41037 * configure.in: No need to check for ranlib.
41038 * elf/rtld-Rules: Don't use RANLIB.
41039
f75286c6
ST
410402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41041
8e31c82d
ST
41042 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41043 protection macro.
41044 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41045 inclusion protection macro.
41046
f75286c6
ST
41047 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41048 SIGRTMIN and SIGRTMAX and print information in that case only when
41049 SIGRTMIN is defined.
41050
c1d0e639
JJ
410512011-02-11 Jakub Jelinek <jakub@redhat.com>
41052
41053 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41054 arginfo fn returning -1.
41055
41056 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41057 and thousands string is zero terminated.
41058
edf9294e
AS
410592011-02-03 Andreas Schwab <schwab@redhat.com>
41060
41061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41062 sysdeps/unix/sysv/linux/bits/socket.h.
41063
2b7e92df
ST
410642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41065
edf9294e
AS
41066 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41067 (__CPU_COUNT): Remove old macros.
41068 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41069 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41070 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41071 (__sched_cpualloc, __sched_cpufree): Add declarations.
41072
a4c7ea7b
UD
410732011-02-05 Ulrich Drepper <drepper@gmail.com>
41074
41075 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41076 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41077 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41078 (readdhstai): Return value of addhstaiX call.
41079 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41080 (addgrbyX): Return value returned by cache_addgr.
41081 (readdgrbyname): Return value returned by addgrbyX.
41082 (readdgrbygid): Likewise.
41083 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41084 (addpwbyX): Return value returned by cache_addpw.
41085 (readdpwbyname): Return value returned by addhstbyX.
41086 (readdpwbyuid): Likewise.
41087 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41088 (addservbyX): Return value returned by cache_addserv.
41089 (readdservbyname): Return value returned by addservbyX:
41090 (readdservbyport): Likewise.
41091 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41092 (addhstbyX): Return value returned by cache_addhst.
41093 (readdhstbyname): Return value returned by addhstbyX.
41094 (readdhstbyaddr): Likewise.
41095 (readdhstbynamev6): Likewise.
41096 (readdhstbyaddrv6): Likewise.
41097 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41098 (readdinitgroups): Return value returned by addinitgroupsX.
41099 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41100 (prune_cache): Keep track of timeout value of re-added entries.
41101 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41102 * nscd/nscd.h: Adjust prototypes of readd* functions.
41103
a0bf67cc
RM
411042011-02-04 Roland McGrath <roland@redhat.com>
41105
41106 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41107 (nis_stats): Likewise.
41108 * nis/nis_modify.c (nis_modify): Likewise.
41109 * nis/nis_remove.c (nis_remove): Likewise.
41110 * nis/nis_add.c (nis_add): Likewise.
41111
41112 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41113
41114 * posix/fnmatch_loop.c: Add some consts.
41115
41116 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41117
435b95eb
L
411182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41119
41120 [BZ #12460]
41121 * config.make.in (config-cflags-novzeroupper): Define.
41122 * configure.in: Substitute libc_cv_cc_novzeroupper.
41123 * elf/Makefile (AVX-CFLAGS): Define.
41124 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41125 (CFLAGS-tst-auditmod4a.c): Likewise.
41126 (CFLAGS-tst-auditmod4b.c): Likewise.
41127 (CFLAGS-tst-auditmod6b.c): Likewise.
41128 (CFLAGS-tst-auditmod6c.c): Likewise.
41129 (CFLAGS-tst-auditmod7b.c): Likewise.
41130 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41131
8517b15e
UD
411322011-02-02 Ulrich Drepper <drepper@gmail.com>
41133
41134 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41135 function to the callback.
41136 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41137
10a656fe
AS
411382011-02-02 Andreas Schwab <schwab@redhat.com>
41139
41140 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41141 of errno.
41142
968dad0a
UD
411432011-01-19 Ulrich Drepper <drepper@gmail.com>
41144
9f94d2ea 41145 [BZ #11724]
968dad0a
UD
41146 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41147 of constructors.
41148 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41149 of destructors.
41150 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41151
41152 [BZ #11724]
41153 * elf/Makefile: Add rules to build and run new test.
41154 * elf/tst-initorder.c: New file.
41155 * elf/tst-initorder.exp: New file.
41156 * elf/tst-initordera1.c: New file.
41157 * elf/tst-initordera2.c: New file.
41158 * elf/tst-initordera3.c: New file.
41159 * elf/tst-initordera4.c: New file.
41160 * elf/tst-initorderb1.c: New file.
41161 * elf/tst-initorderb2.c: New file.
41162 * elf/tst-order-a1.c: New file.
41163 * elf/tst-order-a2.c: New file.
41164 * elf/tst-order-a3.c: New file.
41165 * elf/tst-order-a4.c: New file.
41166 * elf/tst-order-b1.c: New file.
41167 * elf/tst-order-b2.c: New file.
41168 * elf/tst-order-main.c: New file.
41169 New test case by George Gensure <werkt0@gmail.com>.
41170
86e92359
UD
411712010-10-01 Andreas Schwab <schwab@redhat.com>
41172
41173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41174 decoding ACE if AI_CANONIDN.
41175
5d5732b0
UD
411762011-01-18 Ulrich Drepper <drepper@gmail.com>
41177
41178 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41179
a77e8cbc
UD
411802011-01-17 Ulrich Drepper <drepper@gmail.com>
41181
6392473f
UD
41182 * version.h (RELEASE): Bump for 2.13 release.
41183 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41184
620a0529
UD
41185 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41186
18ba70a5
UD
41187 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41188 MADV_NOHUGEPAGE.
32465c3e
UD
41189 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41190 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41191 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41192 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41193 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41194 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41195
c0dafcf1
UD
41196 * posix/getconf.c: Update copyright year.
41197 * catgets/gencat.c: Likewise.
41198 * csu/version.c: Likewise.
41199 * debug/catchsegv.sh: Likewise.
41200 * debug/xtrace.sh: Likewise.
41201 * elf/ldconfig.c: Likewise.
41202 * elf/ldd.bash.in: Likewise.
41203 * elf/sprof.c (print_version): Likewise.
41204 * iconv/iconv_prog.c: Likewise.
41205 * iconv/iconvconfig.c: Likewise.
41206 * locale/programs/locale.c: Likewise.
41207 * locale/programs/localedef.c: Likewise.
41208 * malloc/memusage.sh: Likewise.
41209 * malloc/mtrace.pl: Likewise.
41210 * nscd/nscd.c (print_version): Likewise.
41211 * nss/getent.c: Likewise.
41212
a77e8cbc
UD
41213 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41214 PF_CAIF, and PF_ALG.
41215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41216
77e8bddf
AS
412172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41218
1f20b93a
AS
41219 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41220 (modules-names): Use them.
41221 (ifunc-test-modules, ifunc-pie-tests): Define.
41222 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41223 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41224 (test-extras): Likewise.
41225 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41226 $(compile-command.c).
41227 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41228 (all-built-dso): Define.
41229 (check-textrel.out, check-execstack.out): Depend on it.
41230
77e8bddf
AS
41231 * configure.in: Don't override --enable-multi-arch.
41232
bc425b33
UD
412332011-01-15 Ulrich Drepper <drepper@gmail.com>
41234
41235 [BZ #6812]
41236 * nscd/hstcache.c (tryagain): Define.
41237 (cache_addhst): Return tryagain not notfound for temporary errors.
41238 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41239 failed.
41240
794c3ad3
UD
412412011-01-14 Ulrich Drepper <drepper@gmail.com>
41242
70181fdd
UD
41243 [BZ #10563]
41244 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41245 to make the syscall.
41246 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41247
794c3ad3
UD
41248 [BZ #12378]
41249 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41250 and fall back to matching as normal character if the string ends before
41251 the matching ']' is found. This is what POSIX requires.
41252 * posix/testfnm.c: Adjust test result.
41253 * posix/globtest.sh: Adjust test result. Add new test.
41254 * posix/tst-fnmatch.input: Likewise.
41255 * posix/tst-fnmatch2.c: Add new test.
41256
68dc9497
AS
412572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41258
41259 * elf/Makefile (check-execstack): Revert last change. Depend on
41260 check-execstack.h.
41261 (check-execstack.h): New target.
41262 (generated): Add check-execstack.h.
41263 * elf/check-execstack.c: Include "check-execstack.h".
41264 (main): Revert last change.
41265 (handle_file): Return zero if GNU_STACK is absent and
41266 DEFAULT_STACK_PERMS doesn't include PF_X.
41267
451f001b
UD
412682011-01-13 Ulrich Drepper <drepper@gmail.com>
41269
cfa28e56
UD
41270 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41271 in child fails because the descriptor is already closed.
8cf8ce17
UD
41272 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41273 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41274 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41275
1086d70d
UD
41276 [BZ #12397]
41277 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41278 syscall.
41279
451f001b
UD
41280 [BZ #10484]
41281 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41282 temporary buffer used to handle multi lookups locally.
a85b5cb4 41283 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41284
08769175
UD
412852011-01-12 Ulrich Drepper <drepper@gmail.com>
41286
41287 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41288 loader is ld.so.
41289
5e49c52e
UD
412902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41291
41292 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41293 alignment for SSE2.
41294
60522a5f
UD
412952011-01-12 Ulrich Drepper <drepper@gmail.com>
41296
41297 [BZ #12394]
41298 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41299 characters. When rounding increased number of integer digits recompute
41300 number of groups.
41301 * stdio-common/tst-grouping.c: New file.
41302 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41303
f257bbd7
UD
413042011-01-09 Ulrich Drepper <drepper@gmail.com>
41305
41306 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41307 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41308
41309 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41310 void.
41311 * bits/select.h: Likewise.
41312
fa9c15cb
UD
413132011-01-08 Ulrich Drepper <drepper@gmail.com>
41314
41315 * po/ja.po: Update from translation team.
41316
16c2895f
DM
413172011-01-04 David S. Miller <davem@sunset.davemloft.net>
41318
41319 [BZ #11155]
41320 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41321 implementation just like for lxstat, fxstatat, et al.
41322
2543fef2
JM
413232010-12-27 Jim Meyering <meyering@redhat.com>
41324
41325 [BZ #12348]
41326 * posix/regexec.c (build_trtable): Return failure indication upon
41327 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41328
98727dbe
UD
413292010-12-25 Ulrich Drepper <drepper@gmail.com>
41330
5bd6dc5c
UD
41331 [BZ #12201]
41332 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41333 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41334 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41335 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41336
97983464
UD
41337 [BZ #12207]
41338 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41339
98727dbe
UD
41340 [BZ #12204]
41341 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41342 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41343
4a531bb0
L
413442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41345
41346 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41347 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41348 script has SORT_BY_INIT_PRIORITY.
41349 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41350 NO_CTORS_DTORS_SECTIONS is defined.
41351 * elf/soinit.c: Likewise.
41352 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41353 NO_CTORS_DTORS_SECTIONS is defined.
41354 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41355 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41356 * sysdeps/sh/init-first.c: Likewise.
41357 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41358
07eb4b71
UD
413592010-12-24 Ulrich Drepper <drepper@gmail.com>
41360
41361 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41362 always use the slow path.
41363
30950a5f
RA
413642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41365
41366 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41367 similar rule which adds the sysdep directories to the header search in
41368 order to pick up the correct platform stackinfo.h.
41369 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41370 perform test if it is, otherwise return successfully without testing.
41371 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41372 DEFAULT_STACK_PERMS define in stackinfo.h.
41373 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41374 defined in stackinfo.h.
41375 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41376 DEFAULT_STACK_PERMS defined in stackinfo.h.
41377 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41378 * sysdeps/ia64/stackinfo.h: Likewise.
41379 * sysdeps/s390/stackinfo.h: Likewise.
41380 * sysdeps/sh/stackinfo.h: Likewise.
41381 * sysdeps/sparc/stackinfo.h: Likewise.
41382 * sysdeps/x86_64/stackinfo.h: Likewise.
41383 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41384 PF_X for powerpc64. Retain PF_X for powerpc32.
41385
db753e2c
UD
413862010-12-19 Ulrich Drepper <drepper@gmail.com>
41387
14b697f7
UD
41388 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41389 accurately.
db753e2c
UD
41390 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41391 GETDENTS_64BIT_ALIGNED.
41392
28300719
UD
413932010-12-14 Ulrich Drepper <dreper@gmail.com>
41394
14b697f7 41395 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41396
4f197237
AS
413972010-12-10 Andreas Schwab <schwab@redhat.com>
41398
dbb0472f
AS
41399 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41400 _GNU_SOURCE.
41401
4f197237
AS
41402 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41403 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41404 Remove __restrict.
41405 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41406 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41407
fb88ac72
UD
414082010-12-09 Ulrich Drepper <drepper@gmail.com>
41409
41410 [BZ #11655]
41411 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41412 are initialized.
41413
42acbb92
JJ
414142010-12-09 Jakub Jelinek <jakub@redhat.com>
41415
41416 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41417
c038d98d
UD
414182010-12-03 Ulrich Drepper <drepper@gmail.com>
41419
41420 * po/it.po: Update from translation team.
41421
3a4a2499
L
414222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41423
41424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41425 unused codes.
41426
1e24cf6e
UD
414272010-11-30 Ulrich Drepper <drepper@gmail.com>
41428
41429 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41430
a7690819
AS
414312010-11-24 Andreas Schwab <schwab@redhat.com>
41432
41433 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41434 specially.
41435 (gaih_getanswer_slice): Likewise.
41436
3bf8d1b1
JJ
414372010-10-20 Jakub Jelinek <jakub@redhat.com>
41438
41439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41440
6db52fbb
PB
414412010-05-31 Petr Baudis <pasky@suse.cz>
41442
41443 [BZ #11149]
41444 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41445 silently even in the chroot mode.
41446
eaca7569
UD
414472010-11-22 Ulrich Drepper <drepper@gmail.com>
41448
41449 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41450 last patch a bit. Pretty printing
41451
3056dcdb
UD
414522010-05-31 Petr Baudis <pasky@suse.cz>
41453
41454 [BZ #10085]
41455 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41456 initialization of skip_initgroups_dyn.
41457
cf7c9078
UD
414582010-11-19 Ulrich Drepper <drepper@gmail.com>
41459
41460 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41461 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41462
a1fb5e3e
UD
414632010-11-16 Ulrich Drepper <drepper@gmail.com>
41464
41465 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41466
3540d66b
AS
414672010-11-11 Andreas Schwab <schwab@redhat.com>
41468
41469 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41470 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41471 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41472 ($(objpfx)tst-fnmatch-mem): New rule.
41473 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41474 * posix/tst-fnmatch.c (main): Call mtrace.
41475
13b69574
L
414762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41477
41478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41479 Support Intel processor model 6 and model 0x2c.
41480
da93d214
LM
414812010-11-10 Luis Machado <luisgpm@br.ibm.com>
41482
41483 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41484 signed comparison.
41485
8ca52c6e
L
414862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41487
41488 [BZ #12205]
41489 * string/test-strncasecmp.c (check_result): New function.
41490 (do_one_test): Use it.
41491 (check1): New function.
41492 (test_main): Use it.
41493 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41494 Support strcasecmp and strncasecmp.
41495
69da074d
UD
414962010-11-08 Ulrich Drepper <drepper@gmail.com>
41497
41498 [BZ #12194]
41499 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41500 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41501
ff02d528
L
415022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41503
41504 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41505 IFUNC support.
41506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41507 memset-x86-64.
41508 * sysdeps/x86_64/multiarch/bzero.S: New file.
41509 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41510 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41511 * sysdeps/x86_64/multiarch/memset.S: New file.
41512 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41514 Set bit_Prefer_SSE_for_memop for Intel processors.
41515 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41516 Define.
41517 (index_Prefer_SSE_for_memop): Define.
41518 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41519
344d0b54
LM
415202010-11-04 Luis Machado <luisgpm@br.ibm.com>
41521
41522 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41523 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41524
c0dde15b
UD
415252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41526
41527 [BZ #12191]
41528 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41529 (__x86_64_raw_data_cache_size_half): Likewise.
41530 (__x86_64_raw_shared_cache_size): Likewise.
41531 (__x86_64_raw_shared_cache_size_half): Likewise.
41532
41533 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41534 (__x86_64_raw_data_cache_size_half): Likewise.
41535 (__x86_64_raw_shared_cache_size): Likewise.
41536 (__x86_64_raw_shared_cache_size_half): Likewise.
41537 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41538 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41539 and __x86_64_raw_shared_cache_size_half. Round
41540 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41541 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41542 to multiple of 256 bytes.
41543
0e516e0e
MS
415442010-11-03 Ulrich Drepper <drepper@gmail.com>
41545
41546 [BZ #12167]
41547 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41548 of inacessible symlinks. Verify result of symlink before returning it.
41549 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41550 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41551
0e012e87
ER
415522010-10-28 Erich Ritz <erichritz@gmail.com>
41553
41554 * math/math.h (isinf): Fix typo in comment.
41555
de0ff7bc
UD
415562010-11-01 Ulrich Drepper <drepper@gmail.com>
41557
41558 * po/da.po: Update from translation team.
41559
fa41c84d
UD
415602010-10-26 Ulrich Drepper <drepper@gmail.com>
41561
41562 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41563 is added to the list.
41564
f0967738
AK
415652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41566 Ulrich Drepper <drepper@gmail.com>
41567
41568 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41569 the global list here. Move code to...
41570 (_dl_add_to_namespace_list): ...here. New function.
41571 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41572 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41573 * elf/dl-load.c (lose): Don't remove the element from the list.
41574 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41575 (_dl_map_object): Likewise.
41576
415772010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41578
41579 [BZ #12159]
41580 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41581 into all bytes of SSE register.
41582 Patch by Richard Li <richardpku@gmail.com>.
41583
f0967738 415842010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41585
41586 [BZ #12140]
41587 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41588 perturbing.
41589
d0b9e94f
MB
415902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41591
41592 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41593 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41594 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41595 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41597 submachine.
41598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41599
8e9f92e9
AS
416002010-10-22 Andreas Schwab <schwab@redhat.com>
41601
41602 * include/dlfcn.h (__RTLD_SECURE): Define.
41603 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41604 mode & __RTLD_SECURE instead.
41605 (open_path): Rename preloaded parameter to secure.
41606 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41607 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41608 * elf/dl-deps.c (openaux): Likewise.
41609 * elf/rtld.c (struct map_args): Remove is_preloaded.
41610 (map_doit): Don't use it.
41611 (dl_main): Likewise.
41612 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41613 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41614
bc96fbda
AS
416152010-09-09 Andreas Schwab <schwab@redhat.com>
41616
41617 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41618 (sysd-rules-targets): Remove duplicates.
41619 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41620 rtld-%.$o dependency.
41621
22cd1c9b
AS
416222010-10-18 Andreas Schwab <schwab@redhat.com>
41623
41624 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41625 _dl_map_object do it.
41626
18edac48
UD
416272010-10-19 Ulrich Drepper <drepper@gmail.com>
41628
41629 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41630 fast fma builtins, define the macros in the C99 standard.
41631 (FP_FAST_FMAF): Likewise.
41632 (FP_FAST_FMAL): Likewise.
41633 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41634
41635 * bits/mathdef.h: Update copyright year.
41636 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41637
d2050124
MM
416382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41639
41640 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41641 builtins, define the macros in the C99 standard.
41642 (FP_FAST_FMAF): Likewise.
41643 (FP_FAST_FMAL): Likewise.
41644 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41645 multiply/add.
41646 (FP_FAST_FMAF): Likewise.
41647
475facd1
JJ
416482010-10-15 Jakub Jelinek <jakub@redhat.com>
41649
41650 [BZ #3268]
41651 * math/libm-test.inc (fma_test): Some new testcases.
41652 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41653 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41654 y and infinite z. Do multiplication by C already in long double.
41655 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41657 y and infinite z. Do bitwise or of inexact bit into u.d.
41658 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41659 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41660 * sysdeps/i386/fpu/s_fma.S: Removed.
41661 * sysdeps/i386/fpu/s_fmal.S: Removed.
41662
7c08a05c
JJ
416632010-10-16 Jakub Jelinek <jakub@redhat.com>
41664
41665 [BZ #3268]
41666 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41667 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41668 computation is not scheduled after fetestexcept. Fix value
41669 of minimum denormal long double.
41670
f3f7372d
JJ
416712010-10-14 Jakub Jelinek <jakub@redhat.com>
41672
41673 [BZ #3268]
41674 * math/libm-test.inc (fma_test): Add some more tests.
41675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41676 correctly.
41677
14d43591
AS
416782010-10-15 Andreas Schwab <schwab@redhat.com>
41679
41680 * scripts/data/localplt-s390-linux-gnu.data: New file.
41681 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41682
5e908464
JJ
416832010-10-13 Jakub Jelinek <jakub@redhat.com>
41684
41685 [BZ #3268]
41686 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41687 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41688 instead of dbl-64.
41689 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41690 inlines.
41691 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41693 if one of x and y is very large and the other is subnormal.
41694 * sysdeps/s390/fpu/s_fmaf.c: New file.
41695 * sysdeps/s390/fpu/s_fma.c: New file.
41696 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41697 * sysdeps/powerpc/fpu/s_fma.S: New file.
41698 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41699 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41700 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41701
417022010-10-12 Jakub Jelinek <jakub@redhat.com>
41703
41704 [BZ #3268]
41705 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41706 fma tests.
41707 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41708 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41709 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41710 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41711 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41712 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41713 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41714
b833d51f
UD
417152010-10-12 Ulrich Drepper <drepper@redhat.com>
41716
41717 [BZ #12078]
41718 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41719 * posix/bug-regex31.input: Add test case.
41720
1751705d
UD
417212010-10-11 Ulrich Drepper <drepper@gmail.com>
41722
e9b9cbf5
UD
41723 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41724 * posix/bug-regex31.input: New file.
41725
41726 [BZ #12078]
41727 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41728 (parse_sub_exp): Fix last change, use postorder.
41729
ef06edbe
UD
41730 * posix/bug-regex31.c: New file.
41731 * posix/Makefile: Add rules to build and run bug-regex31.
41732
a129c80d
UD
41733 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41734
41735 [BZ #12078]
41736 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41737
b76b818e
UD
41738 [BZ #12108]
41739 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41740 to have entries in sys_siglist.
41741
1751705d
UD
41742 [BZ #12093]
41743 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41744 be NULL.
41745
9ff8d36f
JJ
417462010-10-07 Jakub Jelinek <jakub@redhat.com>
41747
41748 [BZ #3268]
41749 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41750 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41751 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41752 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41753 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41754 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41755 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41756 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41757 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41758 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41759 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41760 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41761 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41762 * math/ftestexcept.c (fetestexcept): Likewise.
41763 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41764 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41765 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41766 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41767 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41768 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41769 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41770
af325969
UD
417712010-10-11 Ulrich Drepper <drepper@gmail.com>
41772
c579b202 41773 [BZ #12107]
af325969
UD
41774 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41775 newline.
41776
67a67b95
UD
417772010-10-06 Ulrich Drepper <drepper@gmail.com>
41778
41779 * string/bug-strstr1.c: New file.
41780 * string/Makefile: Add rules to build and run bug-strstr1.
41781
5fb308bc
EB
417822010-10-05 Eric Blake <eblake@redhat.com>
41783
41784 [BZ #12092]
41785 * string/str-two-way.h (two_way_long_needle): Always clear memory
41786 when skipping input due to the shift table.
41787
45db99c7
UD
417882010-10-03 Ulrich Drepper <drepper@gmail.com>
41789
3b111893
UD
41790 [BZ #12005]
41791 * malloc/mcheck.c: Handle large requests.
41792
45db99c7
UD
41793 [BZ #12077]
41794 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41795 for strncmp and strncasecmp.
41796 * string/stratcliff.c: Add tests for strcmp and strncmp.
41797 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41798
cf7a1eb8
NI
417992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41800
41801 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41802 __set_fpscr.
41803
6484ba5e
AJ
418042010-09-30 Andreas Jaeger <aj@suse.de>
41805
41806 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41807 (CGROUP_SUPER_MAGIC): Define.
41808 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41809 Handle btrfs and cgroup file systems.
41810 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41811 Likewise.
41812
91c42559
LM
418132010-09-27 Luis Machado <luisgpm@br.ibm.com>
41814
41815 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41816 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41817
87a97932
AK
418182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41819
41820 [BZ #12067]
41821 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41822 trying to locate the ELF header.
41823
c21cc9bc
AS
418242010-09-27 Andreas Schwab <schwab@redhat.com>
41825
41826 [BZ #11611]
41827 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41828 Mask out sign-bit copies when constructing f_fsid.
41829
315970f6
PB
418302010-09-24 Petr Baudis <pasky@suse.cz>
41831
41832 * debug/stack_chk_fail_local.c: Add missing licence exception.
41833 * debug/warning-nop.c: Likewise.
41834
1ac7a2c7
JM
418352010-09-15 Joseph Myers <joseph@codesourcery.com>
41836
41837 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41838 implementing getdents64 using getdents syscall, set d_type if
41839 __ASSUME_GETDENTS32_D_TYPE.
41840
56801c50
AS
418412010-09-16 Andreas Schwab <schwab@redhat.com>
41842
41843 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41844 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41845
dda51327
UD
418462010-09-21 Ulrich Drepper <drepper@redhat.com>
41847
41848 [BZ #12037]
41849 * posix/unistd.h: Undo change of feature selection for ftruncate from
41850 2010-01-11.
41851
8ffcee4a
UD
418522010-09-20 Ulrich Drepper <drepper@redhat.com>
41853
a545ecd9 41854 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41855 detection.
41856
e24f0a8b
AS
418572010-09-20 Andreas Schwab <schwab@redhat.com>
41858
41859 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41860 fanotify_mark.
41861 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41862
7291c56f
AS
418632010-09-14 Andreas Schwab <schwab@redhat.com>
41864
41865 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41866 variables after CHECK_SP call.
41867 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41868
bc5fb037
AS
418692010-09-13 Andreas Schwab <schwab@redhat.com>
41870 Ulrich Drepper <drepper@redhat.com>
41871
41872 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41873 re-relocationg ld.so.
41874 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41875 _dl_init_paths call.
41876 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41877 here anymore.
41878
e66e7419
UD
418792010-09-14 Ulrich Drepper <drepper@redhat.com>
41880
41881 * resolv/res_init.c (__res_vinit): Count the default server we added.
41882
c044aa75
CLT
418832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41884 Ulrich Drepper <drepper@redhat.com>
41885
41886 [BZ #11968]
41887 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41888 (____longjmp_chk): Use %ebx for saving value across system call.
41889 Add unwind info.
41890
32cf4069
AS
418912010-09-06 Andreas Schwab <schwab@redhat.com>
41892
41893 * manual/Makefile: Don't mix pattern rules with normal rules.
41894
817328ee
AS
418952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41896
41897 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41898 operation.
41899 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41900 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41901 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41902 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41903 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41904 Likewise.
41905
29fddf61
UD
419062010-09-04 Ulrich Drepper <drepper@redhat.com>
41907
41908 [BZ #11979]
41909 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41910 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41911
0959ffc9
UD
419122010-09-02 Ulrich Drepper <drepper@redhat.com>
41913
41914 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41915 * sysdeps/x86_64/addmul_1.S: Likewise.
41916 * sysdeps/x86_64/lshift.S: Likewise.
41917 * sysdeps/x86_64/mul_1.S: Likewise.
41918 * sysdeps/x86_64/rshift.S: Likewise.
41919 * sysdeps/x86_64/sub_n.S: Likewise.
41920 * sysdeps/x86_64/submul_1.S: Likewise.
41921
ece29840
ST
419222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41923
0959ffc9
UD
41924 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41925 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41926 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41927 * bits/sched.h [__need_schedparam]
ece29840 41928 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41929 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41930 (__defined_schedparam): Define to 1.
ece29840
ST
41931 (__sched_param): New structure, identical to sched_param.
41932 (__need_schedparam): Undefine.
41933
e53a31fe
MF
419342010-08-31 Mike Frysinger <vapier@gentoo.org>
41935
fdc0c10d
MF
41936 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41937 (epoll_create1): Declare.
41938
e53a31fe
MF
41939 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41940
a726d796
AS
419412010-08-31 Andreas Schwab <schwab@redhat.com>
41942
41943 [BZ #7066]
41944 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41945 shifting retval into place.
41946
2f3e3dc7
UD
419472010-09-01 Ulrich Drepper <drepper@redhat.com>
41948
f2933da9
UD
41949 * nis/rpcsvc/nis.h: Update copyright notice.
41950 * nis/rpcsvc/nis.x: Likewise.
41951 * nis/rpcsvc/nis_callback.h: Likewise.
41952 * nis/rpcsvc/nis_callback.x: Likewise.
41953 * nis/rpcsvc/nis_object.x: Likewise.
41954 * nis/rpcsvc/nis_tags.h: Likewise.
41955 * nis/rpcsvc/yp.h: Likewise.
41956 * nis/rpcsvc/yp.x: Likewise.
41957 * nis/rpcsvc/ypupd.h: Likewise.
41958 * nis/yp_xdr.c: Likewise.
41959 * nis/ypupdate_xdr.c: Likewise.
41960
2f3e3dc7
UD
41961 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41962 mainly the body of pmap_getport. Add parameters to specify timeouts.
41963 (pmap_getport): Use __libc_rpc_getport.
41964 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41965 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41966 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41967
f3dcc2f9
AS
419682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41969
41970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41971 fanotify_mark.
41972
6d34eb5b
RM
419732010-08-27 Roland McGrath <roland@redhat.com>
41974
41975 * sysdeps/i386/i686/multiarch/Makefile
41976 (CFLAGS-varshift.c): New variable.
41977
9ea3de11
UD
419782010-08-27 Ulrich Drepper <drepper@redhat.com>
41979
c96d23fc
UD
41980 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41981 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41982
9ea3de11
UD
41983 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41984
41985 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41986
623aac7f
L
419872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41988
41989 * sysdeps/x86_64/strlen.S: Unroll the loop.
41990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41991 strlen-sse2 strlen-sse2-bsf.
41992 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41993 __strlen_no_bsf if bit_Slow_BSF is set.
41994 (__strlen_sse42): Removed.
41995 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41996 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41997
8b2b7715
RM
419982010-08-25 Roland McGrath <roland@redhat.com>
41999
42000 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42001 * sysdeps/x86_64/multiarch/varshift.c: New file.
42002 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42003 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42004 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42005 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42006
e73015f2
L
420072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42008
42009 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42010 strlen-sse2 strlen-sse2-bsf.
42011 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42012 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42013 (__strlen_sse2): Removed.
42014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42017 bit_Slow_BSF for Atom.
42018 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42019 (index_Slow_BSF): Define.
42020 (HAS_SLOW_BSF): Define.
42021
df24a73e
UD
420222010-08-25 Ulrich Drepper <drepper@redhat.com>
42023
42024 [BZ #10851]
42025 * resolv/res_init.c (__res_vinit): When no server address at all
42026 is given default to loopback.
42027
f2ac4868
RM
420282010-08-24 Roland McGrath <roland@redhat.com>
42029
09055553
RM
42030 * configure.in: Remove config-name.h generation.
42031 * configure: Regenerated.
42032 * config-name.in: File removed.
42033 * scripts/config-uname.sh: New file.
42034 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42035 ($(objdir)config-name.h): New target.
42036
f2ac4868
RM
42037 * sunrpc/rpc_parse.h: Avoid nested comment.
42038
73f27d5e
RH
420392010-08-24 Richard Henderson <rth@redhat.com>
42040 Ulrich Drepper <drepper@redhat.com>
42041 H.J. Lu <hongjiu.lu@intel.com>
42042
42043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42045 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42046 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42047 _mm_alignr_epi8 with _mm_loadu_si128.
42048 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42049 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42050 (__m128i_shift_right): Removed.
42051 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42052 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42053 * sysdeps/x86_64/multiarch/varshift.h: New file.
42054 * sysdeps/x86_64/multiarch/varshift.S: New file.
42055
84b9230c
MF
420562010-08-21 Mike Frysinger <vapier@gentoo.org>
42057
42058 * configure.in: Move assembler checks to before sysdep dir checking.
42059
9bbd0ddc
PB
420602010-08-20 Petr Baudis <pasky@suse.cz>
42061
42062 * LICENSES: Sync the sunrpc license.
42063
9da4bb31
UD
420642010-08-19 Ulrich Drepper <drepper@redhat.com>
42065
a7ab6ec8
UD
42066 * sunrpc/auth_des.c: Update copyright notice once again.
42067 * sunrpc/auth_none.c: Likewise.
42068 * sunrpc/auth_unix.c: Likewise.
42069 * sunrpc/authdes_prot.c: Likewise.
42070 * sunrpc/authuxprot.c: Likewise.
42071 * sunrpc/bindrsvprt.c: Likewise.
42072 * sunrpc/clnt_gen.c: Likewise.
42073 * sunrpc/clnt_perr.c: Likewise.
42074 * sunrpc/clnt_raw.c: Likewise.
42075 * sunrpc/clnt_simp.c: Likewise.
42076 * sunrpc/clnt_tcp.c: Likewise.
42077 * sunrpc/clnt_udp.c: Likewise.
42078 * sunrpc/clnt_unix.c: Likewise.
42079 * sunrpc/des_crypt.c: Likewise.
42080 * sunrpc/des_soft.c: Likewise.
42081 * sunrpc/get_myaddr.c: Likewise.
42082 * sunrpc/getrpcport.c: Likewise.
42083 * sunrpc/key_call.c: Likewise.
42084 * sunrpc/key_prot.c: Likewise.
42085 * sunrpc/openchild.c: Likewise.
42086 * sunrpc/pm_getmaps.c: Likewise.
42087 * sunrpc/pm_getport.c: Likewise.
42088 * sunrpc/pmap_clnt.c: Likewise.
42089 * sunrpc/pmap_prot.c: Likewise.
42090 * sunrpc/pmap_prot2.c: Likewise.
42091 * sunrpc/pmap_rmt.c: Likewise.
42092 * sunrpc/rpc/auth.h: Likewise.
42093 * sunrpc/rpc/auth_unix.h: Likewise.
42094 * sunrpc/rpc/clnt.h: Likewise.
42095 * sunrpc/rpc/des_crypt.h: Likewise.
42096 * sunrpc/rpc/key_prot.h: Likewise.
42097 * sunrpc/rpc/netdb.h: Likewise.
42098 * sunrpc/rpc/pmap_clnt.h: Likewise.
42099 * sunrpc/rpc/pmap_prot.h: Likewise.
42100 * sunrpc/rpc/pmap_rmt.h: Likewise.
42101 * sunrpc/rpc/rpc.h: Likewise.
42102 * sunrpc/rpc/rpc_des.h: Likewise.
42103 * sunrpc/rpc/rpc_msg.h: Likewise.
42104 * sunrpc/rpc/svc.h: Likewise.
42105 * sunrpc/rpc/svc_auth.h: Likewise.
42106 * sunrpc/rpc/types.h: Likewise.
42107 * sunrpc/rpc/xdr.h: Likewise.
42108 * sunrpc/rpc_clntout.c: Likewise.
42109 * sunrpc/rpc_cmsg.c: Likewise.
42110 * sunrpc/rpc_common.c: Likewise.
42111 * sunrpc/rpc_cout.c: Likewise.
42112 * sunrpc/rpc_dtable.c: Likewise.
42113 * sunrpc/rpc_hout.c: Likewise.
42114 * sunrpc/rpc_main.c: Likewise.
42115 * sunrpc/rpc_parse.c: Likewise.
42116 * sunrpc/rpc_parse.h: Likewise.
42117 * sunrpc/rpc_prot.c: Likewise.
42118 * sunrpc/rpc_sample.c: Likewise.
42119 * sunrpc/rpc_scan.c: Likewise.
42120 * sunrpc/rpc_scan.h: Likewise.
42121 * sunrpc/rpc_svcout.c: Likewise.
42122 * sunrpc/rpc_tblout.c: Likewise.
42123 * sunrpc/rpc_util.c: Likewise.
42124 * sunrpc/rpc_util.h: Likewise.
42125 * sunrpc/rpcinfo.c: Likewise.
42126 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42127 * sunrpc/rpcsvc/key_prot.x: Likewise.
42128 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42129 * sunrpc/rpcsvc/mount.x: Likewise.
42130 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42131 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42132 * sunrpc/rpcsvc/rex.x: Likewise.
42133 * sunrpc/rpcsvc/rstat.x: Likewise.
42134 * sunrpc/rpcsvc/rusers.x: Likewise.
42135 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42136 * sunrpc/rpcsvc/spray.x: Likewise.
42137 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42138 * sunrpc/rtime.c: Likewise.
42139 * sunrpc/svc.c: Likewise.
42140 * sunrpc/svc_auth.c: Likewise.
42141 * sunrpc/svc_authux.c: Likewise.
42142 * sunrpc/svc_raw.c: Likewise.
42143 * sunrpc/svc_run.c: Likewise.
42144 * sunrpc/svc_simple.c: Likewise.
42145 * sunrpc/svc_tcp.c: Likewise.
42146 * sunrpc/svc_udp.c: Likewise.
42147 * sunrpc/svc_unix.c: Likewise.
42148 * sunrpc/svcauth_des.c: Likewise.
42149 * sunrpc/xcrypt.c: Likewise.
42150 * sunrpc/xdr.c: Likewise.
42151 * sunrpc/xdr_array.c: Likewise.
42152 * sunrpc/xdr_float.c: Likewise.
42153 * sunrpc/xdr_mem.c: Likewise.
42154 * sunrpc/xdr_rec.c: Likewise.
42155 * sunrpc/xdr_ref.c: Likewise.
42156 * sunrpc/xdr_sizeof.c: Likewise.
42157 * sunrpc/xdr_stdio.c: Likewise.
42158
9da4bb31
UD
42159 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42160 handling.
42161
bdaa77bc
AS
421622010-08-19 Andreas Schwab <schwab@redhat.com>
42163
42164 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42165
fe2f79db
LM
421662010-08-19 Luis Machado <luisgpm@br.ibm.com>
42167
42168 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42169 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42170 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42171 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42172 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42173 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42174 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42175 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42176 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42177 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42178 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42179 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42180 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42181 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42182
b9b42ee0
AB
421832010-07-26 Anton Blanchard <anton@samba.org>
42184
42185 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42186 * malloc/arena.c (heap_trim): Likewise.
42187
1c06ba31
UD
421882010-08-16 Ulrich Drepper <drepper@redhat.com>
42189
42190 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42191 here. Not...
42192 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42193 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42194
f8392f40
L
421952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42196
42197 * sysdeps/i386/elf/Makefile: New file.
42198
3162f12e
AS
421992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42200
42201 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42202 from fanotify_init.
42203 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42204 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42205
28c90b2c
UD
422062010-08-15 Ulrich Drepper <drepper@redhat.com>
42207
42208 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42209 of strncasecmp_l.
1feccb6c 42210 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42211
ca6bb004
UD
422122010-08-14 Ulrich Drepper <drepper@redhat.com>
42213
e9f82e0d
UD
42214 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42215 strncase_l-nonascii.
42216 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42217 Add strncase_l-ssse3.
42218 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42219 * sysdeps/x86_64/strcmp.S: Likewise.
42220 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42221 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42222 * sysdeps/x86_64/strncase.S: New file.
42223 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42224 * sysdeps/x86_64/strncase_l.S: New file.
42225 * string/Makefile (strop-tests): Add strncasecmp.
42226 * string/test-strncasecmp.c: New file.
42227
42228 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42229 warning.
42230
ca6bb004
UD
42231 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42232 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42233
052fa7b3
AS
422342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42235
42236 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42237
962dba78
UD
422382010-08-12 Ulrich Drepper <drepper@redhat.com>
42239
42240 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42241 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42242 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42243
bebff237
AM
422442010-05-01 Alan Modra <amodra@gmail.com>
42245
42246 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42247 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42248 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42249 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42250 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42251 tidying. Don't tail-call __sigjmp_save for static lib.
42252 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42253 save location.
42254 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42255 (CALL_MCOUNT): Add eh info, and nop after bl.
42256 (TAIL_CALL_SYSCALL_ERROR): New macro.
42257 (PSEUDO_RET): Use it.
42258 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42259 Correct save location of integer regs and cr.
42260 (_dl_profile_resolve): Correct cr save location. Delete nops
42261 after bl when SHARED. Reduce cfi size a little by better
42262 placement of cfi directives.
42263 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42264 make a stack frame. Instead use parm save area as a temp.
42265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42266 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42268 Don't make a stack frame for parent, use parm save area.
42269 Increase child stack frame to 112 bytes. Don't save unused reg,
42270 and adjust reg usage. Set up cfi on error recovery and
42271 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42273 (__makecontext): Add dummy nop after jump to exit.
42274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42275 Use correct parm save area and cr save, reduce stack frame.
42276 Correct cfi for possible PSEUDO_RET frame setup.
42277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42278 Branch to local label emitted by PSEUDO_RET rather than
42279 __syscall_error.
42280
02637374
AS
422812010-08-12 Andreas Schwab <schwab@redhat.com>
42282
42283 [BZ #11904]
42284 * locale/programs/locale.c (print_assignment): New function.
42285 (show_locale_vars): Use it.
42286
c3e2f19b
UD
422872010-08-11 Ulrich Drepper <drepper@redhat.com>
42288
3cdaa6ad
UD
42289 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42290 field.
42291 (struct statfs64): Likewise.
42292 (_STATFS_F_FLAGS): Define.
42293 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42294 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42295 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42296 (ST_VALID): Define locally.
42297 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42298 __statvfs_getflags, use the provided value.
42299 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42300 __ASSUME_STATFS_F_FLAGS.
42301
754f7da3
UD
42302 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42303
10b3bedc
UD
42304 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42305 Add sys/fanotify.h.
42306 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42307 fanotify_mask for GLIBC_2.13.
42308 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42309 fanotify_init and fanotify_mark.
42310 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42311 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42312
c08fb0d7
UD
42313 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42314 Add prlimit.
42315 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42316 prlimit64 for GLIBC_2.13.
42317 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42318 prlimit64.
42319 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42320 syscall.
42321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42322 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42323 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42324 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42325 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42326 add prlimit alias.
42327 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42328
15bac72b
UD
42329 [BZ #11903]
42330 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42331 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42332
c3e2f19b
UD
42333 * nss/Makefile: Add rules to build and run tst-nss-test1.
42334 * shlib-versions: Add entry for libnss_test1.
42335 * nss/nss_test1.c: New file.
42336 * nss/tst-nss-test1.c: New file.
42337
42338 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42339 (__nss_configure_lookup): Set appropriate entry in
42340 __nss_configure_lookup to true.
42341 * nss/nsswitch.h: Define enum with indeces of databases in
42342 databases and __nss_database_custom arrays. Declare
42343 __nss_database_custom.
42344 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42345 to avoid using nscd when custom rules are installed.
42346 * nss/getXXbyYY_r.c: Likewise.
42347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42348
42349 * nss/nss_files/files-parse.c: Whitespace fixes.
42350
f15ce4d8
UD
423512010-08-09 Ulrich Drepper <drepper@redhat.com>
42352
42353 [BZ #11883]
42354 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42355 * posix/fnmatch_loop.c: Likewise.
42356
d22e4cc9
AK
423572010-07-17 Andi Kleen <ak@linux.intel.com>
42358
42359 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42360 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42361 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42362 * Versions.def [GLIBC_2.13]: Add.
42363
805bc17d
UD
423642010-08-06 Ulrich Drepper <drepper@redhat.com>
42365
42366 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42367 Also fail if tpwd after pwuid call is NULL.
42368
5a42321d
ST
423692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42370
42371 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42372 when converting to ms.
42373
fd3ebeda
ST
423742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42375
42376 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42377 EOPNOTSUPP errors with ENOTTY.
42378 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42379 EOPNOTSUPP errors with ENOTTY.
42380
73507d3a
UD
423812010-07-31 Ulrich Drepper <drepper@redhat.com>
42382
42383 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42384 Add strcasecmp_l-ssse3.
42385 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42386 strcasecmp.
42387 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42388 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42389 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42390
fe36dd02
UD
423912010-07-30 Ulrich Drepper <drepper@redhat.com>
42392
66f6765a
UD
42393 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42394
42e08a54
UD
42395 * string/Makefile (strop-tests): Add strcasecmp.
42396 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42397 strcasecmp_l-nonascii.
42398 (gen-as-const-headers): Add locale-defines.sym.
42399 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42400 * sysdeps/x86_64/strcasecmp.S: New file.
42401 * sysdeps/x86_64/strcasecmp_l.S: New file.
42402 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42403 * sysdeps/x86_64/locale-defines.sym: New file.
42404 * string/test-strcasecmp.c: New file.
42405
fe36dd02
UD
42406 * string/test-strcasestr.c: Test both ends of the range of characters.
42407 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42408
48cbc0d6
RM
424092010-07-29 Roland McGrath <roland@redhat.com>
42410
76e6d6bc 42411 [BZ #11856]
48cbc0d6
RM
42412 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42413
880113d9
UD
424142010-07-27 Ulrich Drepper <drepper@redhat.com>
42415
42416 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42417 for ld.so.
42418
deb9cabb
AS
424192010-07-27 Andreas Schwab <schwab@redhat.com>
42420
42421 * manual/memory.texi (Malloc Tunable Parameters): Document
42422 M_PERTURB.
42423
1c7570ff
RM
424242010-07-26 Roland McGrath <roland@redhat.com>
42425
42426 [BZ #11840]
42427 * configure.in (-fgnu89-inline check): Set and substitute
42428 gnu89_inline, not libc_cv_gnu89_inline.
42429 * configure: Regenerated.
42430 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42431
24fb0f88
UD
424322010-07-26 Ulrich Drepper <drepper@redhat.com>
42433
42434 * string/test-strnlen.c: New file.
42435 * string/Makefile (strop-tests): Add strnlen.
42436 * string/tester.c (test_strnlen): Add a few more test cases.
42437 * string/tst-strlen.c: Better error reporting.
42438
42439 * sysdeps/x86_64/strnlen.S: New file.
42440
8e96b93a
UD
424412010-07-24 Ulrich Drepper <drepper@redhat.com>
42442
42443 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42444 lower-latency instructions.
42445
dbc676d4
UD
424462010-07-23 Ulrich Drepper <drepper@redhat.com>
42447
42448 * string/test-strcasestr.c: New file.
42449 * string/test-strstr.c: New file.
42450 * string/Makefile (strop-tests): Add strstr and strcasestr.
42451 * string/str-two-way.h: Don't undefine MAX.
42452 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42453
f6a31e0e
AS
424542010-07-21 Andreas Schwab <schwab@redhat.com>
42455
42456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42457 strcasestr-nonascii.
42458 (CFLAGS-strcasestr-nonascii.c): Define.
42459 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42460 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42461 Remove unused attribute.
42462
5dbc3b6c
RM
424632010-07-20 Roland McGrath <roland@redhat.com>
42464
42465 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42466 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42467 ld.so.cache was broken. With it, there is no way to disable dsocaps
42468 like LD_HWCAP_MASK can disable hwcaps.
42469
23d101d8
EPM
424702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42471
42472 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42473
cc9f2e47
UD
424742010-07-16 Ulrich Drepper <drepper@redhat.com>
42475
42476 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42477 call in strcasestr.
42478 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42479 __strcasestr_sse42_nonascii.
42480 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42481 strcasestr-nonascii.c.
42482 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42483
77c1b069
LM
424842010-06-15 Luis Machado <luisgpm@br.ibm.com>
42485
42486 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42487 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42488 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42489 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42490
440566c3
UD
424912010-07-09 Ulrich Drepper <drepper@redhat.com>
42492
42493 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42494 fcntl.
42495
5be9d05d
AS
424962010-07-06 Andreas Schwab <schwab@redhat.com>
42497
c30b7ee2 42498 [BZ #11577]
5be9d05d
AS
42499 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42500 dl_signal_cerror.
42501
8a492a67
UD
425022010-07-06 Ulrich Drepper <drepper@redhat.com>
42503
42504 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42505 _PC_PIPE_BUF using F_GETPIPE_SZ.
42506
713df3d5
RM
425072010-07-05 Roland McGrath <roland@redhat.com>
42508
42509 * manual/arith.texi (Rounding Functions): Fix rint description
42510 implicit in round description.
42511
702e8f14
UD
425122010-07-02 Ulrich Drepper <drepper@redhat.com>
42513
42514 * elf/Makefile: Fix linking for a few tests to make recent linker
42515 happy.
42516
52ed8be9
AS
425172010-06-30 Andreas Schwab <schwab@redhat.com>
42518
42519 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42520 $(common-objpfx)libc_nonshared.a.
42521
f47c9a11
LM
425222010-06-21 Luis Machado <luisgpm@br.ibm.com>
42523
42524 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42525 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42526 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42527 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42528 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42529 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42530 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42531 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42546 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42547 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42548 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42549 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42550 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42551 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42552 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42553 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42554 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42555 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42556 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42557 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42572
6fb8cbcb
L
425732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42574
42575 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42576 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42577 * string/memmove.c (memmove): Renamed to ...
42578 (MEMMOVE): ...this. Default to memmove.
42579 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42580 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42581 (END_CHK): Define.
42582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42583 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42584 mempcpy-ssse3-back memmove-ssse3-back.
42585 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42586 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42587 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42588 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42589 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42590 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42591 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42592 * sysdeps/x86_64/multiarch/memmove.c: New file.
42593 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42594 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42595 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42596 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42597 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42598 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42599 Define.
42600 (index_Fast_Copy_Backward): Define.
42601 (HAS_ARCH_FEATURE): Define.
42602 (HAS_FAST_REP_STRING): Define.
42603 (HAS_FAST_COPY_BACKWARD): Define.
42604
4e733bac 426052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42606
42607 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42608 Restore proper fallback handling.
42609
63c4ed22
UD
426102010-06-19 Ulrich Drepper <drepper@redhat.com>
42611
ac2b484c
UD
42612 [BZ #11701]
42613 * posix/group_member.c (__group_member): Correct checking loop.
42614
63c4ed22
UD
42615 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42616 OOM in getpwuid_r correctly. Return error number when the caller
42617 should return, otherwise -1.
42618 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42619 call returning > 0 value.
42620 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42621
765ade4b
AS
426222010-06-07 Andreas Schwab <schwab@redhat.com>
42623
42624 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42625 libc_nonshared.a from targets in modules-names.
42626
80da2e09
KS
426272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42628
42629 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42630 requires it.
42631
158db122
LM
426322010-06-10 Luis Machado <luisgpm@br.ibm.com>
42633
42634 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42635 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42636 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42637 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42638
caa78cf8
AS
426392010-06-02 Andreas Schwab <schwab@redhat.com>
42640
42641 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42642
b2ef2c01
UD
426432010-06-14 Ulrich Drepper <drepper@redhat.com>
42644
42645 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42646 and F_GETPIPE_SZ.
42647 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42649 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42651 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42652 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42653
fbd643b6
RM
426542010-06-14 Roland McGrath <roland@redhat.com>
42655
42656 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42657
f32f2869
JJ
426582010-06-07 Jakub Jelinek <jakub@redhat.com>
42659
42660 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42661 __REDIRECT followed by __THROW.
42662 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42663 * posix/getopt.h (getopt): Likewise.
42664
2a50c078
EPM
426652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42666
42667 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42668 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42669 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42670 in AT_FLAGS.
42671 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42672 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42673
eb5ad2eb
LM
426742010-05-28 Luis Machado <luisgpm@br.ibm.com>
42675
42676 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42677
3c88fe1e
L
426782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42679
42680 [BZ #11640]
42681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42682 Properly check family and model.
42683
d2f73151
TY
426842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42685
42686 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42687
ebd2e13d
LM
426882010-05-24 Luis Machado <luisgpm@br.ibm.com>
42689
42690 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42691
b32b8b45
UD
426922010-05-21 Ulrich Drepper <drepper@redhat.com>
42693
42694 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42695 symbol reference.
42696
9acbe24d
AS
426972010-05-19 Andreas Schwab <schwab@redhat.com>
42698
42699 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42700 symbol reference.
42701
f0ccf6ea
AS
427022010-05-21 Andreas Schwab <schwab@redhat.com>
42703
3d04ff3a
AS
42704 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42705 and internal_recvmmsg.
42706 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42707 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42708 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42709 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42710
f0ccf6ea
AS
42711 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42712 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42713 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42714
5b08ac57
AS
427152010-05-20 Andreas Schwab <schwab@redhat.com>
42716
42717 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42718
4828935d
LM
427192010-05-17 Luis Machado <luisgpm@br.ibm.com>
42720
42721 POWER7 optimizations.
42722 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42723 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42724
373d545e
UD
427252010-05-19 Ulrich Drepper <drepper@redhat.com>
42726
42727 * version.h: Update for 2.13 development version.
42728
21a2b1ae
AS
427292010-05-12 Andrew Stubbs <ams@codesourcery.com>
42730
42731 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42732 exceptions. Return 0.
42733
3f7dcb2b
RM
427342010-05-07 Roland McGrath <roland@redhat.com>
42735
42736 * elf/ldconfig.c (main): Add a const.
42737
5f24d53a 427382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42739
a160f8d8
UD
42740 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42741 (args_options): Add no-idn option.
42742 (ahosts_keys_int): Add idn_flags to ai_flags.
42743 (parse_option): Handle 'i' option to clear idn_flags.
42744
5f24d53a
UD
42745 * malloc/malloc.c (_int_free): Possible race in the most recently
42746 added check. Only act on the data if no current modification
42747 happened.
265bb1ce
UD
42748
42749See ChangeLog.17 for earlier changes.